/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: #ffffff;
  color: #345474;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 100vh;
  padding: 80px 20px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 84, 116, 0.5);
  z-index: 1;
}

.hero-container {
  z-index: 2;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero-text .destacado {
  color: #f47e20;
  font-weight: bold;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-text h1,
.hero-text h2 {
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-text li {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.hero-text h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.3em;
  color: #e0e0e0;
  font-weight: bold;
}

.hero-form {
  flex: 1 1 400px;
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px;
}



.hero-form iframe {
  width: 100%;
  height: 1170px;
  border: none;
  border-radius: 12px;
}

.hero-logo {
  width: 240px;
  margin-bottom: 20px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;

}

#particles-js {
  width: 100%;
  height: 100%;
  display: block;
  align-items: center;
}

.ListasInformacion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 20px 20px;
  color: #345474;
  line-height: 1.6;
  font-size: 1.1em;
}

.ListasInformacion p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Beneficios */
.beneficios,
.que-es,
.testimonio,
.urgencia,
.cta-final,
.confianza {
  text-align: center;
  padding: 10px;
}

.beneficios h2,
.que-es h2,
.testimonio h2,
.urgencia h2,
.cta-final h2,
.confianza h2,
.logos h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #345474;
}

.cta-final {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 20px;
  color: #345474;
  line-height: 1.6;
  font-size: 1.3em;
}

.cta-final p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  line-height: 1.5;
  padding: 10px;
  font-weight: bold;
}

.icono-inline {
  width: 25px;
  height: 25px;
  margin-right: 0px;
  vertical-align: middle;
}

.icono-inline-acceso {
  width: 25px;
  height: 25px;
  margin-right: 2px;
  vertical-align: middle;
}

.beneficios-lista {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.beneficios-lista li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.beneficios-lista img {
  width: 30px;
  margin-right: 15px;
}

/* Carrusel 3D */
#slideshow {
  margin: 0 auto;
  padding: 80px 0;
  height: 500px;
  width: 100%;
  background-color: #ffffff;
  box-sizing: border-box;
  text-align: center;
}

.entire-content {
  margin: auto;
  width: 190px;
  perspective: 1000px;
  position: relative;
}

.content-carrousel {
  width: 100%;
  position: absolute;
  animation: rotar 25s infinite linear;
  transform-style: preserve-3d;
}

.content-carrousel:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.content-carrousel figure {
  width: 100%;
  height: 160px;
  position: absolute;
  overflow: hidden;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.content-carrousel img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.content-carrousel figcaption {
  font-size: 0.9em;
  padding: 8px 10px;
  color: #345474;
  background-color: #ffffff;
  width: 100%;
}

.shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.content-carrousel figure:nth-child(1) {
  transform: rotateY(0deg) translateZ(300px);
}

.content-carrousel figure:nth-child(2) {
  transform: rotateY(40deg) translateZ(300px);
}

.content-carrousel figure:nth-child(3) {
  transform: rotateY(80deg) translateZ(300px);
}

.content-carrousel figure:nth-child(4) {
  transform: rotateY(120deg) translateZ(300px);
}

.content-carrousel figure:nth-child(5) {
  transform: rotateY(160deg) translateZ(300px);
}

.content-carrousel figure:nth-child(6) {
  transform: rotateY(200deg) translateZ(300px);
}

.content-carrousel figure:nth-child(7) {
  transform: rotateY(240deg) translateZ(300px);
}

.content-carrousel figure:nth-child(8) {
  transform: rotateY(280deg) translateZ(300px);
}

.content-carrousel figure:nth-child(9) {
  transform: rotateY(320deg) translateZ(300px);
}

@keyframes rotar {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

/* Testimonio */
.testimonio-card {
  max-width: 700px;
  margin: auto;
  font-style: italic;
  font-size: 1.2em;
}

/* Urgencia - Reloj */
.countdown {
  margin-top: 20px;
  font-size: 1.5em;
  color: #f47e20;
  font-weight: bold;
}

/* CTA */
.cta-button {
  background: #f47e20;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover {
  background: #e56710;
  transform: scale(1.05);
}


.cta-button-acceso {
  background: #20f420;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.cta-button-acceso:hover {
  background: #e56710;
  transform: scale(1.05);
}


/* Logos */
.logos-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.logos-grid img {
  width: 150px;
  object-fit: contain;
}

/* Footer */
.footer {
  background: #345474;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.redes-sociales {
  margin-top: 15px;
}

.redes-sociales a img {
  width: 30px;
  margin: 0 10px;
}

/* Sticky countdown mini */
.sticky-countdown {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #f47e20;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  z-index: 99;
  font-size: 0.9em;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

/* WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.whatsapp-float img {
  height: 30px;
}

/* Popup Modal */
#popupModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#popupModal.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Animaciones entrada */
.animated {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}



#countdown-flip {
  width: 100%;
  max-width: 460px;
  margin: 40px auto 0;
  background: #fff;
  border: 2px solid #f47e20;
  border-radius: 10px;
  padding: 20px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

#countdown-flip #tiles {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#countdown-flip #tiles span {
  background: linear-gradient(to bottom, #eee, #ddd);
  color: #345474;
  font: bold 40px 'Quicksand', sans-serif;
  padding: 20px 15px;
  border-radius: 5px;
  box-shadow: inset 0 -4px 0 #ccc;
  position: relative;
  width: 90px;
}

#countdown-flip #tiles span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ccc;
  top: 50%;
  left: 0;
}

#countdown-flip .labels {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
  gap: 10px;
  padding: 0;
}

#countdown-flip .labels li {
  width: 90px;
  font-size: 14px;
  font-weight: bold;
  color: #f47e20;
  text-transform: uppercase;
}

.que-es-experiencia {
  background: #ffffff;
  position: relative;
  text-align: center;
}

.experiencia-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.experiencia-bg {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.experiencia-frase {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.2em;
  color: #345474;
  animation: fadein 1s ease-in-out;
}

.experiencia-frase span {
  display: block;
  font-weight: bold;
  color: #f47e20;
  margin-top: 15px;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.logos {
  background: #f7f9fb;
  padding: 60px 20px;
  text-align: center;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.logo-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.logo-card p {
  font-weight: bold;
  font-size: 1em;
  color: #345474;
}

.logo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonios-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.testimonio-imagen {
  flex: 0 0 280px;
  text-align: center;
}

.testimonio-imagen img {
  width: 100%;
  max-width: 280px;
}

.testimonio-texto {
  flex: 1;
  max-width: 600px;
  text-align: left;
  font-size: 1.2em;
  color: #333;
  font-style: italic;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.testimonio-texto span {
  display: block;
  font-weight: bold;
  font-style: normal;
  color: #345474;
  margin-top: 15px;
  font-size: 0.95em;
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
  .testimonios-box {
    flex-direction: column;
    text-align: center;
  }

  .testimonio-texto {
    text-align: center;
  }

  .cta-final p img {
    width: 24px;
    height: 24px;
  }

  .hero-text ul {
    padding-left: 1.5em;
  }

  .hero-text li {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .hero-text li::marker {
    font-size: 1.5em;
  }

  .hero-text li::marker {
    font-size: 1.5em;
  }

  .post-text-centered h2 {
    font-size: 1.5em;
  }

  .post-text-centered p {
    font-size: 1em;
  }

  .correo-box {
    width: 110px;
    padding: 15px;
  }

  .correo-box img {
    width: 40px;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hero-form {
    width: 100%;
  }
  .hero-form iframe {
    height: 1320px; /* Ajusta este valor según cuánto se corta */
  }

  .beneficios-lista {
    text-align: left;
  }

  .cta-final p img {
    width: 24px;
    height: 24px;
  }

}

@media (max-width: 600px) {
  .correo-grid {
    gap: 15px;
  }

  .correo-box {
    width: 100px;
    padding: 16px 8px;
  }

  .correo-box img {
    width: 36px;
    height: 36px;
  }

  .correo-box span {
    font-size: 0.8em;
  }
}

@media (max-width: 1024px) {
  .hero-form iframe {
    height: 1350px; /* tablets horizontales como iPad Pro */
  }
}

@media (max-width: 900px) {
  .hero-form iframe {
    height: 1150px; /* tablets verticales o pantallas medianas */
  }
}


@media (max-width: 480px) {
  .hero-form iframe {
    height: 1350px; /* móviles pequeños */
  }
}

.testimonio-frase {
  font-size: 1.1em;
  color: #333;
  position: relative;
}

.testimonio-frase .estrellas {
  color: #f5a623;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.testimonio-frase p {
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.testimonio-frase .comilla {
  font-size: 2em;
  color: #345474;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

.testimonio-frase .autor {
  margin-top: 15px;
  font-style: normal;
  font-size: 0.95em;
  color: #345474;
}



/* === AJUSTES PROFESIONALES === */

/* === CORREGIDO: HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 100vh;
  padding: 60px 20px;
  position: relative;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 84, 116, 0.5);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}



/* === CORREGIDO: TESTIMONIOS === */
.testimonios-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 60px 20px;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.testimonio-imagen img {
  max-width: 280px;
  width: 100%;
}

.testimonio-texto {
  flex: 1;
  max-width: 600px;
  font-size: 1.1em;
  font-style: italic;
  color: #333;
  text-align: left;
}

.testimonio-frase .estrellas {
  color: #f5a623;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.testimonio-frase p {
  line-height: 1.6;
  font-style: italic;
}

.testimonio-frase .comilla {
  font-size: 2em;
  color: #345474;
  margin-right: 6px;
  vertical-align: middle;
}

.testimonio-frase .autor {
  margin-top: 15px;
  font-style: normal;
  font-weight: bold;
  color: #345474;
}

/* === CORREGIDO: CARRUSEL 3D TEXTO === */
.content-carrousel figcaption {
  font-size: 0.85em;
  text-align: center;
  padding-top: 6px;
  color: #345474;
  background-color: #fff;
}


.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.persona-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  width: 300px;
  max-width: 90%;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.persona-card h3 {
  font-size: 1.2em;
  color: #f47e20;
  margin-bottom: 10px;
}

.persona-card p {
  font-size: 1em;
  color: #345474;
  line-height: 1.5;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: center;
  font-size: 1.1em;
  color: #345474;
}

.floating-logo {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 10000;
  width: 100px;
  /* background: white; */
  padding: 6px;
  border-radius: 8px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.floating-logo img {
  width: 100%;
  height: auto;

}

/* Página post-registro */
.post-registro-body {
  background: #f5f5f5;
}

.post-registro-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
  position: relative;
}

.post-registro-container {
  z-index: 2;
  max-width: 800px;
  margin: auto;
  background: rgba(0, 0, 0, 0.55);
  padding: 30px;
  border-radius: 20px;
}

.alerta {
  color: #f47e20;
  font-weight: bold;
  font-size: 1.5em;
}

.subtitulo-destacado {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.subtitulo-alerta {
  margin-top: 30px;
  color: #f47e20;
  font-weight: bold;
  font-size: 1.3em;
}

.correo-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.correo-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 120px;
  padding: 20px 10px;
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.correo-box:hover {
  transform: scale(1.05);
}

.correo-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.correo-box span {
  display: block;
  font-size: 0.9em;
  font-weight: bold;
  color: #345474;
  text-align: center;
}

.logo-centrado {
  text-align: center;
  margin-bottom: 20px;
  z-index: 10;
  top: 20px;
}

.logo-centrado img {
  width: 200px;
  height: auto;
}