@font-face {
  font-family: "Glancyr-Medium";
  src: url("../fonts/Glancyr-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Glancyr-Regular";
  src: url("../fonts/Glancyr-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  width: 100%;
  max-width: 100vw; /* Nunca más ancho que la pantalla */
  overflow-x: hidden; /* Evita desplazamiento horizontal */
/* screen - index */
}
@media (max-width: 1024px) {
  html, body {
    height: 100%;
    width: 100%;
    max-width: 100vw; /* Nunca más ancho que la pantalla */
        height: auto !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        overflow-y: scroll !important;
        min-height: 100vh;
  


}
}
/* ========== 🖥️ NAVBAR - DESKTOP ========== */
.nav-bar {
    background-color: var(--blanco);
    border-bottom: 1px solid #00000033;
    min-height: 88px;
    padding: 0 7%;
    width: 100%;
    display: flex;
    align-items: center; /* 🔹 Asegura alineación vertical */
  }


/* Contenedor de la navbar */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 88px;
}

/* Logo alineado a la izquierda */
.logo-nav_-resulthree {
  min-height: 36px;
  width: 180px;
  align-items: center;
}

/* Menú centrado en Desktop */
.navigation {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex: 1; /* Ocupa el espacio central */
}

.navigation-item {
  letter-spacing: 0;
  line-height: normal;
  width: fit-content;
  text-decoration: none;
  color: #000;
}

/* Botón CTA a la derecha en Desktop */
.cta-button {
  align-items: flex-start;
  background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
  border-radius: 70px;
  cursor: pointer;
  display: inline-flex;
  padding: 16px 24px;
  transition: all 1s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: scale(1.05);
}
.llamada-gratuita {
  color: var(--blanco);
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-m);
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}
/* 🍔 BOTÓN HAMBURGUESA */
.mobile-menu{
  display: none;
}

.menu-toggle {
  display: none; /* Oculto en Desktop */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  margin:20px 0;
  gap: 5px;
  position: absolute;
  right: 7%;
  height: 100%;
  align-items: center; /* 🔹 Centra el botón verticalmente */
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  /* Ocultar navegación y CTA en mobile */
  .navigation,
  .cta-button {
    display: none;
  }

  /* Contenedor principal del navbar */
  .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Logo a la izquierda, menú hamburguesa a la derecha */
    align-items: center;
    padding: 10px 0;
    position: relative; /* Esto permite que el menú hamburguesa se posicione correctamente */
  }

  /* Ajuste del logo */
  .logo-nav_-resulthree {
    display: flex;
    align-items: center;
    width: auto;
    height: 40px;
    margin-left: 0;
  }

  /* Ajuste del botón de menú hamburguesa */
  .menu-toggle {
    right: 0;
    top: 30%;
    position: relative; /* 🔹 Cambiado de absolute a relative */
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* Menú móvil oculto por defecto */
  .mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 88px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: var(--font-family-dm_sans);
  }

  /* Mostrar menú móvil cuando está activo */
  .mobile-menu.active {
    display: block;
    padding-bottom: 20px;
  }

  .mobile-menu a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    padding: 16px 0;
    display: block;
  }
}
@media (min-width: 1025px) {
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: var(--blanco); /* Asegurate de tener fondo */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* Opcional */
  }
}


.hero {
  width: 100%;
  background-color: var(--blanco);
  padding: 1% 7% 2% 7%;
  display: flex;
  flex-direction: column;
  align-items: center;        /* ✅ Centra todo horizontalmente */
  justify-content: center;    /* ✅ Centra verticalmente (si aplica altura) */
  text-align: center;         /* ✅ Centra el texto */
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-subtitle {
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-xl);
  color: #7f8889; /* Mismo gris que el otro texto */
  margin-bottom: 1.5rem; /* Separación del título */     /* Lo acerca más a la navbar */
  font-weight: 500;
  text-align: center;
}

/* ===== Columna de texto (hero-title) ===== */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0rem; /* espacio entre el título, párrafo y campos */
  flex: 1 1 45%; 
  /* Evita "inline-flex" y "width" fijos. Deja que crezca naturalmente. */

}
.frame-104 {
  align-items: center; /* 🔄 Cambiamos de flex-start a center */
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%; /* Asegura que tenga todo el ancho disponible */
}



.title--main {
  font-family: var(--font-family-glancyr-medium);
  font-size: var(--font-size-xxxxl);
  color: var(--azul-oscuro);
  line-height: 55px;
  font-weight: 500;
}
.que-te-vean-no-es-su {
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-xl);
  color: #7f8889;
  align-items: center;        /* ✅ Centra todo horizontalmente */
  justify-content: center;    /* ✅ Centra verticalmente (si aplica altura) */
  text-align: center;         /* ✅ Centra el texto */
  line-height: 32px;
  width: 90%;
  max-width: 800px;
}

.frame-55 {
  display: flex; /* 🔹 Asegura que los elementos estén en línea */
  flex-direction: row; /* 🔹 Asegura que estén uno al lado del otro */
  align-items: center; /* 🔹 Centra verticalmente */
  justify-content: center; /* 🔹 Centra los elementos en la fila */
  gap: 10px; /* 🔹 Espaciado entre input y botón */
  width: 100%;
}

.frame-7 {
  flex: 1; /* 🔹 Permite que el input crezca */
  min-width: 65%; /* 🔹 Controla el tamaño mínimo */
  padding: 14px 20px;
  border-radius: 30px;
  align-items: center;
  background-color: var(--gris-muy-claro);
  border: 1px solid var(--gris-claro);
  box-sizing: border-box;
  position: relative;
  }

  .unmute-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    z-index: 5;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
  }

  .unmute-content {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 600; /* ⬅️ Más grosor */
    font-family: "DM Sans", sans-serif;
    line-height: 1.4;
  }
  
  .unmute-content .mute-icon {
    width: 64px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1); /* Esto lo vuelve blanco */
  }
  
  
.frame-8 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 1%;
    white-space: NOWRAP ;
    width: auto;
    height: 64px;
    padding: 20px 24px;
    border-radius: 30px;
    background: linear-gradient(
      180deg,
      rgb(21.29, 195.7, 219.12) 0%,
      rgb(26.1, 216.11, 89.17) 100%
    );
    cursor: pointer;
    position: relative;
    transition: all 1s ease;
  }
.frame-8:hover {
    transform: scale(1.05);
  }



/* Quita estilo nativo del botón */
.frame-8 button {
  border: none;
  background: transparent;
  font: inherit;       /* usa la misma fuente del contenedor */
  color: inherit;      /* hereda el color blanco del contenedor */
  cursor: pointer;
  padding: 0;          /* elimina padding nativo */
  margin: 0;
}

/* Texto “Hablemos” */
.hablemos.hablemos-2 {
  color: var(--blanco);
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-l);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}


.group-2186 {
  flex: 1 1 55%;  /* ocupa el resto del espacio */
  position: relative;
  box-sizing: border-box;
}

/* Contenedor general con aspect-ratio */
.overlap-group {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  background-color: #d9d9d9;
  overflow: visible;
}

/* Contenedor del video */
.video-container {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

/* El video ocupa todo el contenedor */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.play-button {
  display:none !important;
  position: absolute;        /* Posicionado respecto al .overlap-group */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%); /* Para Safari */
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;

  /* Agregamos position: relative para que los ::before/::after
     se ubiquen dentro del botón en lugar de la superposición absoluta. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estado por defecto: ícono PLAY (triángulo) */
.play-button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  transform: translateX(3px);
}
/* Al entrar en modo "playing": eliminamos el triángulo y dibujamos las barras */
.play-button.playing::before,
.play-button.playing::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background: #fff;
  /* Quita las propiedades de las flechas del estado por defecto */
  border: none;
  border-left: none;
  border-top: none;
  border-bottom: none;
}
/* Primera barra */
.play-button.playing::before {
  left: 33%; /* Ajusta para separarlas */
  width:12%
}

/* Segunda barra */
.play-button.playing::after {
  left: 53%; /* Ajusta para separarlas */
  width:12%
}
/* Estado oculto para íconos (usado para desvanecerlos) */
.hidden-icon {
  opacity: 0;
  pointer-events: none;
}

/* Estado oculto */
/* Los íconos flotantes */
.floating-icon {
  position: absolute;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.rectangle-204 {
  position: absolute;
  top: 85%;           /* 70% de la altura del contenedor */
  left:7.5%;          /* 10% desde la izquierda */
  width: 13%;         /* ancho relativo al contenedor */
  aspect-ratio: 1 / 1.1;
  border-radius: 80%;
  background-color: #1ad859;
}

/* Ícono dentro del círculo verde */
.image-36 {
  position: absolute;
  top: 97%;
  left: 10.5%;
  width: 7%;          /* la mitad del círculo (ajusta a gusto) */
  height: auto;
  transform: translate(0, -50%); 
  /* en este caso, ajustamos top al 70% y subimos la mitad de su altura 
     para que quede centrado verticalmente dentro del círculo */
}

/* ===== Círculo azul ===== */
.rectangle-205 {
  position: absolute;
  top: 85%;
  left: 20.1%;
  width: 13%;
  aspect-ratio: 1 / 1.1;
  border-radius: 80%;
  background-color: #15c4db;
}

/* Ícono dentro del círculo azul */
.image-39 {
  position: absolute;
  top: 97%;
  left: 22.5%;
  width: 7%; 
  height: auto;
  transform: translate(0, -50%);
}
/* ===== Figura superior (group-2187) ===== */
.group-2187 {
  position: absolute;
  top: -20%;
  left: 80%;
  width: 20%;
  aspect-ratio: 4 / 3; /* Ajusta según la forma */
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../img/union-1.svg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ícono dentro de group-2187 */
.image-38 {
  width: 50%;
  top: 10%;
  height: auto;
}
.call-to-action-below-video {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 60px;
}


@media (max-width: 1024px) {
  .hero {
    flex-direction: column; /* 🔹 Cambia de diseño horizontal a vertical */
    text-align: center; /* 🔹 Centra el texto */
    padding: 5% 5%; /* 🔹 Ajusta el espaciado */
    gap: 0rem; /* 🔹 Espacio entre bloques */
  }

  /* Contenedor del título */
  .hero-title {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔹 Centra elementos */
    text-align: center;
    gap: 0rem;
  }

  /* Tamaño del texto */
  .title--main {
    font-size: 1.5rem; /* 🔹 Reduce el tamaño del título */
    line-height: 1.5rem;
    letter-spacing: -1px;
    padding-top: 10px;
  }
  .hero-subtitle {
    margin: 0;
    font-size: 1rem;
  }
  .que-te-vean-no-es-su {
    font-size: 0.85rem; /* 🔹 Reduce tamaño del texto */
    line-height: 1rem;
    width: 100%;
  }

  /* Contenedor del formulario */
  .frame-55 {
    flex-wrap: nowrap; /* 🔹 Asegura que el botón no baje */
    justify-content: center; /* 🔹 Mantiene alineación en mobile */
  }

  .frame-7 {
    min-width: 65%; /* 🔹 Ajusta tamaño del input en mobile */
  }
  .email-input {
    text-align: left; /* 🔹 Asegurar que el placeholder quede alineado */
    width: 100%;
  }



  .frame-8 {
    width: auto;  /* 🔹 Para que el botón solo ocupe lo necesario */
  }
  .hablemos.hablemos-2{
    align-items: center;
  }
  .group-2187{
    display: none;
  }

  /* Video */
  .group-2186 {
    width: 100%;
  }

  /* Ajustar el video */
  .hero-video {
    width: 100%;
    border-radius: 20px;
  }
  .unmute-overlay {
    width: 70%;
    height: 70%;
    max-width: 320px;
    padding: 1.5rem;
    max-width: 100%;            /* ✅ evita que se pase del contenedor */
    word-wrap: break-word;      /* ✅ corta palabras largas si hace falta */
    overflow-wrap: break-word;
  }

  .unmute-content {
    font-size: 10px;
    padding: 0 8px;
  }

  .unmute-content .mute-icon {
    width: 40px;
  }
}

/* Contenedor principal del carrusel */
.partners {
  width: 100%;
  overflow: hidden;       /* Oculta el contenido que se desborda horizontalmente */
  padding: 20px 0;
  background: #fff;
  box-sizing: border-box;
}

/* Contenedor que asegura que no se muestre scroll horizontal */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  width: max-content; /* Se ajusta al ancho del contenido */
  animation: marquee 30s linear infinite;
}


/* Estilos para cada logo */
.company-logo {
  width: 150px;           /* Ajusta el tamaño deseado */
  margin: 0 20px;         /* Espacio entre logos */
  object-fit: contain;    /* Asegura que se mantenga la proporción */
}

/* Animación que desplaza la pista */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}




.frame-125 {
  min-height: 760px;
  width: 100%;
  max-width: 1500px;
  align-items: center;
  display: inline-flex;
  gap: 111px;
  padding: 2% 7% 0 7%
}

.frame-124 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.frame-111 {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  width: 100%;
}

.title {
  align-self: stretch;
  letter-spacing: -1.00px;
  line-height: normal;
  position: relative;
  color: var(--azul-oscuro);
  font-family: var(--font-family-glancyr-medium);
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-size-xxxxl);
}

.impulsamos-marcas-co {
  color: var(--gris-oscuro);
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-l);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
  position: relative;
  width: 100%;
}

.frame-24 {
  align-items: flex-start;
  background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
  border-radius: 69px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1rem;
  padding: 16px 48px;
  position: relative;
  transition: all 1s ease;
  
}

.frame-24:hover {
  transform: scale(1.05);
}

.agendar-llamada {
  letter-spacing: -0.70px;
  line-height: normal;
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
}

.frame-245 {
  display: none;}


.frame-110 {
  display: flex;           /* en lugar de inline-flex */
  flex-direction: column;
  gap: 4.2rem;
  width: 100%;             /* para ocupar todo el ancho disponible del contenedor padre */
  max-width: 600px;        /* opcional: límite de ancho si quieres */
  margin: 0 auto;          /* opcional: centra horizontalmente si hay max-width */
  box-sizing: border-box;
}


.frame-10 {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 2.2rem;
  justify-content: center;
  position: relative;
  width: 100%;
}

.majesticonsdollar-circle {
  flex: 0 0 auto;
}

.frame-105 {
  align-items: flex-start;
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-grow: 1;
  gap: 4px;
}

.produccin-contenido {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
}

.creacin-de-contenid {
  align-self: stretch;
  letter-spacing: 0;
  line-height: 23px;
}

.gestin-presencia-digital {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -1.00px;

}

.estrategias-para-red {
  align-self: stretch;
  letter-spacing: 0;
  line-height: 23px;
}

.optimizacin-digital {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -1.00px;
}

.implementacin-de-so {
  align-self: stretch;
  letter-spacing: 0;
  line-height: 23px;

}
@media (max-width: 1024px) {
  .frame-125 {
    flex-direction: column; /* 🔹 Asegura que los elementos se apilen en mobile */
    align-items: center; /* 🔹 Centra los elementos */
    gap: 2rem; /* 🔹 Espacio entre secciones */
    padding: 5% 10%; /* 🔹 Ajusta el espaciado */
  }
  .frame-245 {
      align-items: flex-start;
      background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
      border-radius: 69px;
      cursor: pointer;
      display: inline-flex;
      flex: 0 0 auto;
      gap: 1rem;
      padding: 16px 48px;
      position: relative;
      transition: all 1s ease;
      margin-top: 8%;
    }
    
    .frame-24:hover {
      transform: scale(1.05);
    }
    
  .frame-245-wrapper {
    display: flex;
    justify-content: center;

  }
  
  .frame-245:hover {
    transform: scale(1.05);
  }
  .frame-124 {
    text-align: center; /* 🔹 Asegura que el texto quede centrado */
    width: 100%;
  }

  .title {
    font-size: 2.25rem; /* 🔹 Reduce el tamaño del título */
    text-align: center;
  }

  .impulsamos-marcas-co {
    font-size: 1rem;
    text-align: center;
    line-height: 1.6rem;
  }

  .frame-24 {
    display: flex;
    justify-content: center; /* 🔹 Centra el botón */
    align-items: center;
    width: 100%; /* 🔹 Asegura que se mantenga dentro del contenedor */
    max-width: 300px; /* 🔹 Controla su tamaño máximo */
    margin: 0 auto; /* 🔹 Centra horizontalmente */
  }
  .frame-110 {
    flex-direction: column; /* 🔹 Apila los elementos */
    align-items: center; /* 🔹 Centra en pantalla */
    width: 100%;
    max-width: 100%;
    gap: 2rem;
  }

  .frame-10 {
    flex-direction: row; /* 🔹 Mantiene el ícono y texto en fila */
    align-items: center;
    justify-content: flex-start; /* 🔹 Asegura que el texto quede alineado a la izquierda */
    width: 100%;
    max-width: 500px;
  }

  .majesticonsdollar-circle {
    width: 150pxpx; /* 🔹 Ajusta el tamaño del ícono en mobile */
    height: auto;
  }

  .frame-105 {
    text-align: left; /* 🔹 Mantiene el texto alineado a la izquierda */
  }
}

/* Sección principal: elimina min-height y usa padding para separar verticalmente */
.our-work {
  max-width: 1500px;
  width: 100%;
  padding: 0;           /* Espacio arriba y abajo; ajusta si deseas */
  box-sizing: border-box;
}

.row2 {
  max-height: 0;
  opacity: 0;
  padding: 3% 0 0 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
}

/* Cuando se muestra */
.row2.show {
  max-height: 500px; /* Ajusta este valor según la altura de la fila */
  opacity: 1;
  visibility: visible;
}


/* Contenedor interno: centrado y con algo de gap */
.frame-121 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;               /* Espacio entre el título/párrafo y el resto */
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 8% 5% 0 5%;          /* Espacio lateral para que no pegue al borde */
}
/* Contenedor general */
.frame-120 {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* Permite que row-top esté arriba y el párrafo debajo */
  gap: 1rem;              /* Espacio vertical entre row-top y el párrafo */
}

/* Fila que contiene el título y el botón */
.row-top {
  display: flex;
  align-items: center;         /* Centra verticalmente ambos elementos */
  justify-content: space-between; /* Título a la izquierda, botón a la derecha */
  width: 100%;
}

/* Estilos del título */
.nuestro-trabajo-en-accin {
  letter-spacing: -1px;
  margin: 0;               /* Quita márgenes por defecto de h1 */
  /* Otros estilos que ya tenías */
}

/* Botón */
.frame-3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgb(21.29,195.7,219.12) 0%, rgb(26.1,216.11,89.17) 100%);
  border-radius: 70px;
  cursor: pointer;
  padding: 16px 24px;
  transition: all 1s ease;
  box-shadow: 0 0 0 rgba(21,195,219);
  /* Elimina width: 25%; para que se ajuste al contenido */
  width: auto;
}

/* Texto interno del botón */
.agendar-llamada-1 a {
  text-decoration: none;
  /* Tus estilos para la tipografía, tamaño, etc. */
}

/* Párrafo debajo */
.proyectos-que-combin {
  align-self: stretch;
  color: var(--gris-oscuro);
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-l);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 27px;
  margin: 0; /* Ajusta si quieres espacio extra */
  width: 70%; /* O 100%, ajusta según tu diseño */
}



.frame-3:hover {
  /* Menos desenfoque, menos expansión y menor opacidad */
  transform: scale(1.05);
}


.agendar-llamada-1 {
  letter-spacing: -0.70px;
  line-height: normal;
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
}

.frame-119 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10vh 0%; /* Agrega padding lateral para evitar que quede pegado */
}

.frame-118 {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3% 5% 2% 5%;  /* Ajuste del padding */
  box-sizing: border-box;
}

.frame-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Se adapta al tamaño de pantalla */
  gap: 1rem; 
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 3vh;
  justify-content: center;
}

.frame-6-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  gap: 1rem;
  width: 100%;
}

.flip-card {
  position: relative;
  width: 100%;
  aspect-ratio: 285/300; /* Mantiene cuadrado */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* Gira la tarjeta al hacer hover sobre la misma */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  border-radius: 15px;
  overflow: hidden;
}
/* Cara trasera: se muestra al girar la tarjeta */
.flip-card-back {
  transform: rotateY(180deg);
  background: #f0f0f0;   /* Ajusta color de fondo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  background-size: cover;   /* Ajusta la imagen para que cubra toda la tarjeta */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita repeticiones */

}
.flip-card-back::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Cambia el último valor para hacerla más oscura */
  border-radius: 15px;
}
/* Estilizado del título */
.flip-card-back h3 {
  color:#ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem; /* Espaciado entre el título y el párrafo */
  position: relative;
  z-index: 2;
}

/* Estilizado del párrafo */
.flip-card-back p {
  color:#ffffff;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 80%;
  position: relative;
  z-index: 2;
}

.rectangle-161 {
  width: 100%;
  height: auto;
  object-fit: cover;       /* Ajusta cómo recorta la imagen */
  aspect-ratio: 300/300;       /* Si quieres mantener proporción 4:3 */
  border-radius: 15px;  
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Mantiene la proporción y cubre el área */
  border-radius: 15px;    /* Opcional, si quieres esquinas redondeadas */
}
/* Contenedor del texto "Trabajo 1" (frame-63) */
.frame-63 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.trabajo-1 {
align-self: stretch;
color: var(--azul-oscuro);
font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-xl);
  font-weight: 500;
}

 .trabajo {
  width: fit-content;
}

.ver-ms {
  letter-spacing: -0.70px;
  line-height: normal;
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
}

@media (max-width: 1024px) {
  .row-top {
    flex-direction: column; /* 🔹 Hace que el título y botón estén en columna */
    align-items: center;    /* 🔹 Centra los elementos */
    text-align: center;     /* 🔹 Asegura que el texto se vea bien */
    gap: 1rem;              /* 🔹 Espacio entre título y botón */
  }
  .frame-119, .frame-118 {
    padding: 5% 0% 10% 0%;  /* Más padding para no quedar pegado */
  }
  .frame-3 {
    width: auto;           /* 🔹 Permite que el botón tome su tamaño natural */
  }
    .frame-6 {
      display: grid;
      grid-template-columns: repeat(2, minmax(45%, 1fr)); /* 🔹 Hace las imágenes más grandes en mobile */
      gap: 1rem;
      justify-content: center;
    }
  
    .frame-6-1 {
      width: 100%;
      max-width: 220px; /* 🔹 Ajusta el tamaño máximo */
    }
  .flip-card {
    aspect-ratio: 1/1; /* Mantener cuadrado */
  }
  .proyectos-que-combin {
    text-align: center; /* 🔹 Centra el texto */
    display: block;
    margin: 0 auto; /* 🔹 Asegura que no tenga margen lateral que lo desplace */
    width: 100%;
  }
  /* Estilizado del título */
  .flip-card-back h3 {
    font-size: 0.9rem;
  }

  .flip-card-back p {
    font-size: 0.8rem;
  }
}
@supports (-webkit-touch-callout: none) { /* Solo se aplica en Safari */
  .frame-6 {
    display: flex; /* 🔹 Cambia a flex para que no se rompa en Safari */
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .frame-6-1 {
    width: calc(50% - 1rem); /* 🔹 Hace que haya 2 columnas en iPhone */
    max-width: 250px;
  }
}


/* Contenedor interno centrado */
.frame-128 {
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-height:721px;
  padding: 8% 7%;
  width: 100%;
  box-sizing: border-box;
}

/* Título y flechas */
.frame-127 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


.historias-que-hablan-por-s-solas {
  width: auto;
  margin-top: 0;  /* elimina el margin-top extra */
}

.frame-126 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* ========== Círculos base ========== */
.circle {
  width: 85px;               /* Ajusta el tamaño del círculo */
  height: 85px;
  border-radius: 50%;        /* Círculo */
  background: #f5f5f5;       /* Color base (gris muy claro o blanco) */
  display: flex;             /* Para centrar el SVG */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Si quieres un sutil efecto de zoom al hacer hover */
.circle:hover {
  transform: scale(1.05);
}

/* ====== Flechas (SVG) ====== */
.arrow-icon {
  width: 24px;      /* Ajusta el tamaño de la flecha */
  height: 24px;
  color: #80898a;   /* Flecha gris por defecto */
  transition: color 0.3s ease;
}

/* ========== Hover: círculo gradiente + flecha blanca ========== */
.circle:hover {
  background: linear-gradient(180deg, #15c4db 0%, #1ad859 100%);
}

.circle:hover .arrow-icon {
  color: #fff; /* Flecha se pone blanca */
}





/* Contenedor de los videos */
.frame-79 {
  display: flex;
  gap: 2rem;       /* espacio entre videos */
  flex-wrap: wrap; /* para que en pantallas pequeñas hagan salto */
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start; /* videos alineados a la izquierda */
}
/* Contenedor del carrusel */
.carousel {
  width: 100%;
  max-width: 1200px; /* Ajusta según el diseño */
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

/* Pista del carrusel (todas las imágenes) */
.carousel-track {
  display: flex;
  gap: 1rem; /* Espacio entre imágenes */
  transition: transform 0.5s ease-in-out;
}

/* Cada ítem del carrusel */
.carousel-item {
  flex: 0 0 calc(33.33% - 1rem); /* Ocupa un tercio del carrusel */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item video {
  width: 100%;
  max-width: 400px; /* o el valor que desees */
 aspect-ratio: 9/12;
  border-radius: 15px;
  object-fit: cover;
}
/* Contenedor del video (dentro del ítem del carrusel) */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12; /* Ajusta este valor si es necesario */
  overflow: hidden;
  border-radius: 15px; /* Aplica bordes redondeados */
}

/* Ajusta el video y el poster para que cubran todo el espacio */
.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta el video para llenar el contenedor */
  display: block;
}

/* Asegura que el poster también se vea correctamente */
.carousel-video::poster {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Overlay que cubre el video */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.play--button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2; /* Asegúrate de que esté por encima del video */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Ocultar el botón por defecto */
}

/* Mostrar el botón cuando el video está pausado o con hover */
.video-container:hover .play--button,
.video-container video.paused + .play--button {
  opacity: 1;
}

/* Ocultar el botón cuando el video está en reproducción */
.video-container video.playing + .play--button {
  opacity: 0;
}

/* Estado por defecto: ícono PLAY (triángulo) */
.play--button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  transform: translateX(3px);
}

/* Estado "playing": ícono PAUSE (dos barras) */
.play--button.playing::before,
.play--button.playing::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background: #fff;
  border: none;
}
.play--button.playing::before {
  left: 33%;
  width: 12%;
}
.play--button.playing::after {
  left: 53%;
  width: 12%;
}


/* Deshabilitar flechas cuando no hay más imágenes */
.circle.disabled {
  opacity: 0.5;
  cursor: default
}


  @media (max-width: 1024px) {
    body, html {
      width: 100%;
      overflow-x: hidden; /* 🔹 Evita el scroll horizontal */
    }
    /* Oculta el frame-127 en mobile */
    .frame-127 {
      display: flex;
      flex-direction: column; /* Apila los elementos en columna */
      align-items: center; /* Centra el título */
      gap: 1rem; /* Espacio entre el título y las flechas */
    }
    .frame-128 {
      margin-top: 3rem; /* 🔹 Aumenta la separación con la parte superior */
      padding-top: 3rem; /* 🔹 Ajusta el espacio dentro del contenedor */
    }
  
    /* Centra el título */
    .historias-que-hablan-por-s-solas {
      font-size: 20px; /* Tamaño reducido */
      line-height: 55px; /* Ajuste del interlineado */
      text-align: center; /* Mantiene el texto centrado */
      width: 100%; /* Asegura que el texto no se desborde */
      margin: 0 auto; /* Centra el texto dentro del contenedor */
    }
  
    /* Asegura que las flechas estén separadas y centradas */
    .frame-126 {
      display: flex;
      justify-content: space-between;
      width: 100%; /* Ajusta el ancho según necesites */
      max-width: none;
      margin: 0 2px; /* Centra las flechas horizontalmente */
      gap:10rem;
    }
  
  /* Aumentar tamaño de los círculos */
  .circle {
    width: 70px;  /* Ajusta el tamaño según necesites */
    height: 70px;
  }

  /* Aumentar tamaño de las flechas */
  .arrow-icon {
    width: 40px;  /* Ajusta el tamaño de la flecha */
    height: 40px;
  }
  /* Ajusta el tamaño del carrusel */
  .carousel {
    width: 100%;
    max-width: none; /* Elimina cualquier limitación de ancho */
  }

  /* Modifica el track del carrusel */
  .carousel-track {
    gap: 1rem; /* Espacio entre videos */
    scroll-snap-type: x mandatory;
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* Optimiza el rendimiento */
  }
  

  /* Ajusta el tamaño de los videos */
  .carousel-item {
    flex: 0 0 100%; /* Ocupa más ancho de la pantalla */
    max-width: none;
  }

  .carousel-item video {
    width: 100%;
    max-width: none;
    aspect-ratio: 9 / 16; /* Mantiene la proporción */
    scroll-snap-align: center;
  }

  /* Ajusta el video-container para que se expanda */
  .video-container {
    width: 100%;
    max-width: none;
    aspect-ratio: 9 / 12;
  }
  .play-button{
    display: none;
  }
}



.cta-banner-2 {
  max-width: 1500px;
  padding-top:5vh;
  background-color: var(--blanco);
  min-height: 629px;
  padding: 0px 5% 0px 5%;
  width: 100%;
}

.cta-banner-2-1 {
  position: relative;
  align-items: flex-end;
  background-color: var(--azul-oscuro);
  background-size: 100% 100%;
  border-radius: 56px;
  display: flex;
  min-height: 455px;
  width: 100%;
  padding: 8% 0px 3% 8.62%;
  overflow-x: hidden;
  overflow-y: auto;
}
/* Imagen de fondo agregada en HTML */
.cta-background {
  position: absolute; /* Hace que la imagen se coloque detrás del contenido */
  top: 0;
  left: 0;
  width: 100%; /* Hace que la imagen ocupe todo el ancho */
  height: 100%; /* Hace que la imagen ocupe toda la altura */
  object-fit: cover; /* Ajusta la imagen sin distorsionarse */
  z-index: 1; /* Envía la imagen al fondo */
}
.frame-130 {
  WIDTH:100%;
  align-items: center;
  display: inline-flex;
  gap: 75px;
}

.frame-129 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 50%;
}

.agend-una-llamada-con-nuestro-equipo {
  z-index: 2;
  align-self: stretch;
  color: var(--blanco);
  font-family: var(--font-family-glancyr-medium);
  font-size: var(--font-size-xxxxl);
  font-weight: 500;
  letter-spacing: -1.00px;
  line-height: 63px;
  margin-top: -1.00px;
  position: relative;
}

.frame-24-1 {
  z-index: 2;
  align-items: flex-start;
  background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
  border-radius: 70px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  padding: 16px 24px;
  transition: all 1s ease;


}

.frame-24-1:hover{
  transform: scale(1.05);
}

.hablemos-1 {
  letter-spacing: -0.70px;
  line-height: normal;
  margin-top: -1.00px;
}

.group {
  z-index: 3;
  height: 328.04px;
  width: 850;
}
@media (max-width: 1024px) {
  .cta-banner-2 {
   /* Ajusta la altura automáticamente */
    min-height: auto !important; /* Reducir la altura mínima */
    padding-bottom: 0 !important; /* Elimina padding extra */
  }

  .cta-banner-2-1 {
    height: auto;
    padding: 10% 5% 10% 8%; /* Reduce espacio arriba y abajo */
    background-color: #002D34;
    background-image: url("img/mask-group-1ng");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px; /* Ajuste de bordes */
    flex-direction: column;
    align-items: flex-start; /* Alineado a la izquierda */
    justify-content: center;
    min-height: auto; /* Reducción de altura */
  }


  .frame-130 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea el contenido a la izquierda */
    width: 100%;
    padding-left: 6%; /* Ajuste del margen izquierdo */
    gap: 15px; /* Reduce el espacio entre elementos */
  }

  .frame-129 {
    flex-direction: column;
    gap: 10px; /* Reduce la separación */
    width: 100%;
    text-align: left; /* Alinea el texto a la izquierda */
  }

  .agend-una-llamada-con-nuestro-equipo {
    font-size: 28px; /* Tamaño ajustado */
    line-height: 32px; /* Espaciado de líneas */
    letter-spacing: 1px;
    font-family: var(--font-family-glancyr-medium);
    text-align: left;
    width: 75%;
  }

  .frame-24-1 {
    background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px; /* Ajusta el tamaño del botón */
    font-size: 16px;
    width: auto; /* Ajusta el ancho automáticamente */
    max-width: 60%; /* Limita el tamaño del botón */
    text-align: center;
    transition: all 0.3s ease-in-out;
  }

  .frame-24-1:hover {
    transform: scale(1.05);
  }

  /* Cambia el texto del botón solo en mobile */
  .hablemos-1 {
    font-size: 14px;
    text-align: center;
    visibility: visible; /* Se asegura que el texto sea visible */
  }
  

  .group {
    display: none !important; /* Oculta la imagen en mobile */
  }
}


  


.frame-132 {
  background-color: var(--azul-oscuro);
  min-height: 392px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;               /* Usa rem, variable según la fuente */
  width: 100%;             /* Se adapta a todo el ancho del contenedor padre */
  padding: 8% 0 8% 8%;         /* Espacio interno lateral para evitar que toque los bordes */
  box-sizing: border-box;
}

.redes-sociales {
  display: flex;
  gap: 15px; /* Espacio entre los íconos */
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.redes-sociales a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.redes-sociales a:hover {
  transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.icono-red {
  width: 32px; /* Tamaño del icono */
  height: 32px;
  object-fit: contain;
}


.frame-123 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 54px;
  position: relative;
  width: 259px;
}

.logo-nav_-resulthree-1 {
  height: 48px;
  position: relative;
  width: 258.95px;
}

.frame-122 {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 14px;
  position: relative;
  width: 100%;
}

.frame-115 {
  flex: 0 0 auto;
  position: relative;
}

.Derechos {
  align-self: stretch;
  color: var(--blanco);
  font-family: var(--font-family-dm_sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
  position: relative;
}

.frame-101 {
  display: flex;           /* en lugar de inline-flex */
  flex-direction: column;
  gap: 54px;
  justify-content: center;
  align-items: flex-end;   /* o 'center' o 'flex-start', según necesites */
  width: 100%;             /* ocupa todo el ancho del contenedor padre */
  max-width: 600px;        /* opcional: define un límite de ancho */
  margin: 0 auto;          /* centra horizontalmente si usas max-width */
  box-sizing: border-box;
  /* Elimina flex: 0 0 auto; y position: relative si no son estrictamente necesarios */
}


.frame-131 {
  display: flex;           /* en lugar de inline-flex */
  align-items: center;
  gap: 48px;
  /* Elimina flex: 0 0 auto; y position: relative si no son imprescindibles */
  width: 100%;             /* ocupa todo el ancho disponible del contenedor padre */
  max-width: 600px;        /* opcional: para limitar el ancho en pantallas grandes */
  margin: 0 auto;          /* centra el contenido si usas max-width */
  box-sizing: border-box;
}


.frame-131-item {
  letter-spacing: 0;
  line-height: 20px;
  margin-top: -1.00px;
  position: relative;
  white-space: nowrap;
  width: fit-content;
}
.nav-link {
  color: #fff;             /* Siempre blanco */
  text-decoration: none;   /* Sin subrayado */
  font-family: var(--font-family-dm_sans);
  font-size: 16px;         /* Ajusta según tu diseño */
  /* Puedes agregar padding o margin si lo necesitas */
}

/* Aseguramos que en todos los estados el color siga siendo blanco */
.nav-link:link,
.nav-link:visited,
.nav-link:hover,
.nav-link:active {
  color: #fff !important;
  text-decoration: none;

}

.frame-24-2 {
  align-items: flex-start;
  background: #ffffff;
  border-radius: 70px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  padding: 16px 24px;
  transition: box-shadow 0.5s ease;
  /* Estado inicial sin glow */
  box-shadow: 0 0 0 rgba(21, 195, 219);
}

.frame-24-2:hover {
  /* Menos desenfoque, menos expansión y menor opacidad */
  background: linear-gradient(180deg, rgb(21.29, 195.7, 219.12) 0%, rgb(26.1, 216.11, 89.17) 100%);
} 
.contctanos {
  color: var(--azul-oscuro);
  font-family: var(--font-family-dm_sans);
  font-size: var(--font-size-xxl);
  font-weight: 600;
  letter-spacing: -0.70px;
  line-height: normal;
  margin-left: -11.50px;
  margin-right: -11.50px;
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
}

.company-logo-7 {
  height: 48px;
  position: relative;
}

.frame-24-3 {
  
  border-radius: 69px;
  flex: 0 0 auto;
  gap: 10px;
  padding: 16px 48px;
  position: relative;
}

.hablemos-2 {
  position: relative;
  width: fit-content;
}

.majesticonsdollar-circle-3 {
  flex: 0 0 auto;
  position: relative;
}

.trabajo-2 {
  letter-spacing: 0;
  line-height: normal;
  margin-top: -0.71px;
  position: relative;
  text-align: center;
}


@media (max-width: 1024px) {
  /* Se asegura que el footer esté en columna */
  .frame-132 {
    min-height: auto !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 5vh;
    padding: 5vh 0; /* Ajusta el padding */
    position: relative;
}

  /* SEPARAR EL LOGO del resto del `frame-123` */
  .frame-123 {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 15px;
  }

  /* Hacemos que el logo esté solo en la parte superior */
  .logo-nav_-resulthree-1 {
      height: 80px;
      width: auto;
      margin-bottom: 10px; /* Espaciado con el resto */
      order: 1;
  }

  /* Sección del menú */
  .frame-101 {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10vh;
      order: 2; /* Mantiene los links en el medio */
  }

  .frame-131 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3vh;
  }

  /* Botón deontacto */
  .frame-24-2 {
      display: flex;
      justify-content: center;
      align-items: center;
      background: white;
      border-radius: 50px;
      padding: 12px 24px;
      font-size: 16px;
      font-weight: bold;
      color: var(--azul-oscuro);
      text-decoration: none;
      transition: all 0.3s ease-in-out;
      order: 3; /* Mantiene el botón en su lugar */
  }

  .frame-24-2:hover {
      background: linear-gradient(180deg, rgb(21, 195, 219) 0%, rgb(26, 216, 89) 100%);
      color: white;
  }
      /* Asegurar orden correcto en mobile */
      .frame-123 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px; /* Espaciado */
    }

 /* Hacemos que el logo esté solo en la parte superior */
 .logo-nav_-resulthree-1 {
  height: 80px;
  width: auto;
  margin-bottom: 10px; /* Espaciado con el resto */
  order: 1;
}

    /* REDES SOCIALES ABAJO DEL LOGO */
    .redes-sociales {
        order: 2;
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .icono-red {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }


  /* Redes sociales y derechos reservados AL FINAL */
  .Derechos {
    display: none !important;
  }

  .frame-115 {
      display: flex;
      justify-content: center;
      gap: 12px;
  }

  .frame-115 img {
      width: 24px;
      height: 24px;
  }

  .Derechos {
      font-size: 12px;
      text-align: center;
  }
}


/*css llamada*/
.calendar-title {
    font-size: 14px;
    font-weight: 700;
    color: rgb(24.1, 205.11, 150);
    font-family: var(--font-family-glancyr-regular);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    padding-top: 5vh; /* 🔹 Reduce el espacio debajo de "CALENDARIO" */
}

.titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2% 5% 0 5%;
    min-height: 20vh;
    margin-top: 0px; /* 🔹 Elimina el margen superior extra */
}

.title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #002F34;
    margin-bottom: 10px;
    letter-spacing: -1px;
    color: var(--azul-oscuro);
    font-family: var(--font-family-glancyr-medium);
    font-size: var(--font-size-xxxxl);
}

.description {
    font-size: 1.2rem;
    color: #6B6B6B;
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--azul-oscuro);
    font-family: var(--font-family-glancyr-regular);
    font-size: var(--font-size-xl);
}

@media (max-width: 1024px) {
    .titulo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 90%; /* Reducimos el ancho en móviles */
        margin: 0 auto;
        padding: 20px 5%;
    }

    .calendar-title {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .description {
        font-size: 1rem; /* Ajustamos tamaño de fuente */
        max-width: 90%;
        text-align: center;
        margin: 10px auto;
        line-height: 1.5;
    }
}

/* Ajuste del Calendly */
.agendar-llamada {
    width: 100%;
    height: auto;
}




@media (max-width: 1024px) {
  html, body {
    height: 100%;
    /* ... otros estilos ... */
    overflow-y: scroll !important;
    min-height: 100vh;
    /* 🔑 FIX DE SCROLL CHAINING (Permite que el scroll salte del iframe a la página) */
    overscroll-behavior-y: contain; 
  }
}



.calendly-iframe {
  width: 100%;
  border: none;
}

/* ===== FIX DEFINITIVO PARA CALENDLY EN IPHONE ===== */





/* Permite que cuando el iframe llega al final, el scroll siga por la página */
html, body {
  overscroll-behavior-y: auto !important;
}

.calendly-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.calendly-inline-widget {
  width: 100% !important;
  height: auto !important;
  min-height: 650px !important;
  overflow: visible !important;
}

.calendly-inline-widget iframe {
  width: 100% !important;
  height: auto !important;
  min-height: 650px !important;
  border: none !important;
  display: block;
}

/* ===== Calendly sin scroll interno ===== */
.calendly-inline-widget {
  min-width: 100% !important;
  height: 950px !important;      /* Ajustá este valor si hace falta */
  overflow: visible !important;
}

.calendly-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  overflow: visible !important;
}
@media (max-width: 768px) {
  .calendly-inline-widget {
    height: 1650px !important;   /* Más alto para que no aparezca scrollbar interno */
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
  z-index: 99999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.25);
}

/* Animación suave */
@keyframes whatsapp-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.whatsapp-float {
  animation: whatsapp-pop 2.8s ease-in-out infinite;
}

/* Mobile ajustado */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
}
