*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Manejo de SVG's */
.svg,
.svg-largo {
  width: 3rem;
  height: 5rem;
}

.svg-largo {
  width: 5rem;
  height: 7rem;
}

.svg-nave {
  margin-top: 2rem;
  height: 10rem;
}

/* Navbar contenedor */
.navbar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  /* Espacio entre botones */
  z-index: 200;
  position: relative;
  padding-top: 4rem;
}

/* Estilo de botones Navbar*/
.nav-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #ecebe6;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  /* Quitar subrayado */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;

  /* Vidrio líquido */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);

  /* Sombra/glow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Hover */
.nav-btn:hover {
  background-color: #e3e3d9;
  color: #161616;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* --- TEXTOS --- */
.hero-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ecebe6;
  user-select: none;
  z-index: 100;
}

.title,
.p-title {
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 0;
  opacity: 0.9;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  text-align: center;
  justify-content: center;
}

.title {
  font-size: 6rem;
  color: #fff;
}

.p-title {
  font-size: 3rem;
}

.flex-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.subtitle {
  font-size: 24px;
  margin: 0.5rem 0;
  opacity: 0.8;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}

.tagline {
  font-size: 28px;
  font-weight: 500;
  opacity: 0.85;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
}

.tagline-section {
  display: flex;
  justify-items: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  color: #ecebe6;
}

/* --- COLORES Y VARIABLES --- */
:root {
  --color-bg1: #3B5566;
  --color-bg2: #161616;
  --color1: 85, 121, 77;
  /* #E0DED2 */
  --color2: 22, 22, 22;
  /* #161616 */
  --color3: 39, 46, 80;
  /* #8F9B72 */
  --color4: 22, 22, 22;
  /* #161616 */
  --color6: 59, 85, 102;
  --color-interactive: 85, 121, 77;
  /* #D2D0C1 */
  --circle-size: 80%;
  --blending: hard-light;
}

/* --- GRADIENTES --- */
/* Gradientes de Inicio */
.gradient-bg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(-40deg,
      var(--color-bg1) 5%,
      var(--color-bg2) 95%);
  top: 0;
  left: 0;
}

.gradient-bg svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.gradient-bg .gradients-container {
  filter: blur(50px);
  width: 100%;
  height: 100%;
}

/* Gradientes de Quienes Somos */

.franja-somos {
  width: 100%;
  height: 8rem;
  background: #030607;
  background: linear-gradient(90deg,rgba(3, 6, 7, 1) 0%, rgba(22, 37, 44, 1) 50%, rgba(48, 73, 88, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecebe6;
}

/* Gradientes de Quienes Somos */

.franja-servicios {
  width: 100%;
  height: 90px;
  background: #657883;
  background: linear-gradient(90deg,rgba(101, 120, 131, 1) 0%, rgba(156, 167, 169, 1) 50%, rgba(236, 235, 230, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}


/* --- BURBUJAS --- */
/* Barra inclinada tipo "/" con glow */
.g1 {
  /* parámetros fáciles de tocar */
  --g1-angle: -55deg;
  /* inclinación: negativo = sube a la derecha (/) */
  --g1-length: 2000px;
  /* largo de la barra (responsive) */
  --g1-thickness: 150px;
  /* grosor de la barra (responsive) */

  position: absolute;
  width: var(--g1-length);
  height: var(--g1-thickness);

  /* posición centrada horizontalmente donde antes la tenías */
  top: calc(5% - (var(--g1-thickness) / 2));
  left: calc(45% - (var(--g1-length) / 2));

  transform: rotate(var(--g1-angle));
  transform-origin: center center;

  /* apariencia */
  background: linear-gradient(90deg,
      rgba(var(--color1), 0.95) 0%,
      rgba(var(--color1), 0.8) 40%,
      rgba(var(--color1), 0.35) 100%);
  border-radius: 999px;
  /* pill */
  mix-blend-mode: var(--blending);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 1;
  z-index: 120;
}

.g6 {
  /* parámetros fáciles de tocar */
  --g1-angle: -55deg;
  /* inclinación: negativo = sube a la derecha (/) */
  --g1-length: 2000px;
  /* largo de la barra (responsive) */
  --g1-thickness: 150px;
  /* grosor de la barra (responsive) */

  position: absolute;
  width: var(--g1-length);
  height: var(--g1-thickness);

  /* posición centrada horizontalmente donde antes la tenías */
  top: calc(5% - (var(--g1-thickness) / 2));
  left: calc(43% - (var(--g1-length) / 2));

  transform: rotate(var(--g1-angle));
  transform-origin: center center;

  /* apariencia */
  background: linear-gradient(90deg,
      rgba(var(--color6), 0.95) 0%,
      rgba(var(--color6), 0.8) 40%,
      rgba(var(--color6), 0.35) 100%);
  border-radius: 999px;
  /* pill */
  mix-blend-mode: var(--blending);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 1;
  z-index: 100;
}

.g2 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 40%;
  height: 40%;
  top: calc(50% - var(--circle-size) / 2 + 400px);
  left: calc(50% - var(--circle-size) / 2 - 50px);
  transform-origin: calc(50% - 400px);
  opacity: 1;
  z-index: 200;
}

.g3 {
  position: absolute;
  width: 0;
  height: 0;

  /* Triángulo rectángulo */
  border-style: solid;
  border-width: 60rem 90rem 0 0;
  /* tamaño del triángulo */
  border-color: rgba(var(--color3), 0.8) transparent transparent transparent;

  /* Posición */
  top: calc(50% - var(--circle-size) / 2 + 700px);
  left: calc(50% - var(--circle-size) / 2 - 100px);

  /* Rotación opcional */
  transform: rotate(15deg);

  /* Efectos */
  mix-blend-mode: var(--blending);
  opacity: 1;
  z-index: 200;
}

.g4 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 50%;
  height: 60%;
  top: calc(50% - var(--circle-size) / 2 + 100px);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 200px);
  opacity: 0.7;
  z-index: 300;
}

.g5 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 80%;
  height: 80%;
  top: calc(50% - var(--circle-size) / 2 + 150px);
  left: calc(50% - var(--circle-size) / 2 + 150px);
  transform-origin: calc(50% - 200px);
  opacity: 0.7;
  z-index: 300;
}

.g7 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 80%;
  height: 80%;
  top: calc(50% - var(--circle-size) / 2 + 300px);
  left: calc(50% - var(--circle-size) / 2 + 300px);
  transform-origin: calc(50% - 200px);
  opacity: 0.7;
  z-index: 300;
}


.interactive {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.5) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
  z-index: 100;
}

/* Responsive */
@media (max-width: 768px) {
  .title {
    font-size: 3rem;
  }

  .flex-title {
    margin-top: 2rem;
  }

  .p-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 18px;
  }

  .tagline {
    font-size: 20px;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .svg,
  .svg-largo {
    width: 3rem;
    height: 3rem;
  }

  .svg-largo {
    display: none;
  }

  .svg-nave {
    height: 5rem;
    margin-top: 0 !important;
  }

  .plans {
    grid-template-columns: 1fr; /* una sola columna */
  }

  .plan:nth-child(3) {
    grid-column: span 1; /* vuelve a ocupar solo 1 */
  }

  .fondo-somos {
    height: auto;             
  }

  .img-somos {
    gap: 1.5rem;
    padding: 1rem;
  }

  .img-perfiles {
    max-width: 200px;
  }

  .somos-texto h1 {
    font-size: 1.8rem;
  }

  .somos-texto p {
    font-size: 1rem;
  }

  .plans {
    grid-template-columns: 1fr !important; 
    padding: 1rem !important;
  }

  .plan:nth-child(3) {
    grid-column: span 1 !important; /* ya no hace falta que ocupe dos columnas */
  }

  .fondo-somos {
    opacity: 0 ;       /* la oculta visualmente pero conserva el espacio */
    pointer-events: none;
  }
  
  .img-somos {
    flex-direction: column;  /* en columna */
    align-items: center;
    gap: 2rem !important; 
    padding: 1rem;
    padding-top: 2rem !important;
  }

  .img-perfiles {
    width: 150px;
    height: 150px;
  }

  .nombres-somos {
    width: 100%;
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  /* Texto y logo */
  .somos-container {
    flex-direction: column;   /* de fila a columna */
    text-align: center;
    padding: 0;
    gap: 1.5rem;
    padding-left: 0 !important;
  }

  .somos-texto h1 {
    font-size: 1.8rem; /* más chico */
  }

  .somos-texto p {
    font-size: 1rem;
  }

  .somos-logo img {
    width: 100vw !important; /* achicar logo */
  }

  /* Títulos superiores */
  .franja-somos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 5rem !important;
  }

  .title-somos {
    font-size: 1.8rem;
  }
  
  .contacto{
    padding: 1rem 0.75rem !important;
  }
}

@media (max-width: 400px) {
  .title {
    font-size: 2.2rem; /* más reducido */
  }

  .p-title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 16px;
  }

  .tagline {
    font-size: 18px;
  }

  .navbar {
    gap: 0.5rem;
  }

  .svg,
  .svg-largo,
  .svg-nave {
    width: 2.5rem;
    height: 2.5rem;
  }

  .svg-nave {
    height: 4rem;
  }

  .plans {
    width: 100%; /* ocupa todo el ancho en pantallas muy chicas */
  }

  .img-perfiles {
    width: 120px;
    height: 120px;
  }

  .nombres-somos {
    font-size: 1rem;
  }

  .somos-texto h1 {
    font-size: 1.5rem;
  }

  .somos-texto p {
    font-size: 0.9rem;
  }

  .somos-logo img {
    width: 90%; /* que no desborde */
  }

  .title-somos {
    font-size: 1.5rem;
  }
}








.wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
}

.franja-servicios {
  display: flex;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
}

.scroll {
  white-space: nowrap;
  margin: 0 2em;
}

.scroll div {
  display: flex;
  gap: 1rem;
}

.scroll p {
  font-size: 60px;
  color: #161616;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 10px;

  animation: scroll 10s infinite linear;
}

.scroll:hover p{
  animation-play-state: paused;
}

@keyframes  scroll {
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

/* PAGINA SOMOS */

.franja-somos{
  padding-top: 1rem;
}

.somos{
  background-color: #f1f0e6;
}

.portada-somos{
  position: relative;
}

.fondo-somos{
  display: block;
  width: 100%;
  height: 35rem;  
  box-shadow: 2px 3px 71px 2px rgba(0,0,0,0.61) inset;
  -webkit-box-shadow: 2px 3px 71px 2px rgba(0,0,0,0.61) inset;
  -moz-box-shadow: 2px 3px 71px 2px rgba(0,0,0,0.61) inset;
}

.img-somos{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  padding: 2rem;
  padding-top: 7rem;
  gap: 15rem;
}

.nombres-somos{
  width: 25%;
  text-align: center !important;
}

.span-somos{
  text-align: center;
}

.img-perfiles{
  border-radius: 16px;
  max-width: 400px;
  height: auto;
  -webkit-box-shadow: 5px 14px 19px 7px rgba(27,42,56,0.34); 
  box-shadow: 5px 14px 19px 7px rgba(27,42,56,0.34);
}

.somos-container {
  display: flex;
  align-items: center;     /* Centra verticalmente el texto con el logo */
  justify-content: space-between;
  gap: 2rem;               /* Espacio entre texto y logo */
  padding-left: 2rem;           /* Márgenes internos */
}

.somos-texto {
  flex: 1;                 /* Ocupa más espacio */
}

.somos-texto h1 {
  font-size: 2.5rem;       /* Ajusta según tu diseño */
  margin-bottom: 1rem;
}

.somos-texto p {
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 1.5rem;
}

.somos-logo img {
  max-width: 300rem;        /* Ajusta tamaño del logo */
  height: auto;
}



/* PLANES */

.wrapper #servicios{
  height: 400px;
  display: flex;              
  justify-content: center;
  padding: 4rem 0;
}

.plans {
  background-image: url('grid-png-43569.png');
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dos columnas */
  gap: 2rem;
  width: 100%;                /* Ocupa el 80% del ancho de la pantalla */
  margin: 90px auto 0;
  align-items: stretch;
  padding: 6rem;
}

.plan{
  display: flex;
  flex-direction: column;
}

/* El tercer plan ocupa las dos columnas */
.plan:nth-child(3) {
  grid-column: span 2;
}

/* Encabezado gris */
.plan-header {
  background: #d1d5d8; /* gris claro */
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.5rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.plan-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.plan-header .icon {
  font-size: 1.5rem;
}

/* Cuerpo azul */
.plan-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1b2a38; /* azul oscuro */
  color: #fff;
  padding: 1.5rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.plan-body ul {
  list-style-type: disc;
  margin: 0;
  padding-left: 1.2rem;
}

.plan-body li {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.oscuro{
  background-color: #152127;
}

.mas-oscuro{
  background-color: #080e0b;
}

.svg-servicios{
  max-width: 5rem;
  max-height: 5rem;
}

/* CONTACTO */
.contacto-section{
  width: 100%;
  height: 100%;
  background: #030607;
  background: linear-gradient(90deg,rgba(3, 6, 7, 1) 0%, rgba(22, 37, 44, 1) 50%, rgba(48, 73, 88, 1) 100%);
}

.contacto {
  width: 90%;
  max-width: 500px;
  margin: auto;
  background: #d1d5d8;
  padding: 3rem 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  background: #030607;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #3b5566;
}

.error {
  color: red;
  font-size: 0.9rem;
}

.success {
  color: green;
  margin-top: 1rem;
}

.logo-contacto{
  padding-bottom: 2rem;
}



.footer {
  background: #657883;
  color: #fff;
  padding: 2rem;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-logo h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links div {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ddd;
}

.footer hr {
  border: 0;
  height: 1px;
  background-color: #333;
  margin: 1rem 0;
}

.footer-bottom {
  text-align: center;
}

.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  display: inline-block;
  margin: 0 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #ddd;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #aaa;
}
