:root {
  --accent: #ff4081;
  --resaltar: #ffae00;
  --dark: #fff; /* ahora el texto es blanco */
  --muted: #ccc; /* texto secundario más claro para buen contraste */
  --max-width: 1100px;
}

/* Reset básico */
* {
  box-sizing: border-box;
}
html,
body {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;

  height: 100%;
  margin: 0;
  background-color: #000; /* fondo negro */
  color: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.resaltar{
  color: var(--resaltar);
   font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: normal;
}
h2 {
  font-size: 3rem;
}

/* Contenedor central */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* --- HERO --- */
.hero {
  height: 100vh;         /* altura 100% de la ventana */
  width: 100vw;          /* ancho 100% de la ventana */
  background-image: url("img/hero.jpg");
  background-size: cover;      /* cubre todo el área sin estirar */
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;       /* para que no quede pegado a los bordes */
  box-sizing: border-box;
}

.hero-text {
  position: absolute;
  top: 10%;    /* más arriba, ajusta según quieras */
  left: 5%;    /* más a la izquierda */
  max-width: 1200px; /* controla el ancho máximo */
  background: rgba(0, 0, 0, 0.35); /* para que el texto resalte */
  padding: 10px;
  border-radius: 8px;
  color: white;
  text-align: left;
}


.hero-text h1 {
    font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;

  font-size: 4.5rem;
  margin: 0 0 12px;
  line-height: 1.05;
  color: var(--dark);
}
.hero-text h1 span {
     font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.hero-text p {
 font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;

  margin: 0 0 18px;
  font-size: 3.05rem;
}

@media (max-width: 768px) {
  .hero {
    background-image: url("img/heromobil.jpg");
    /* misma altura y ancho para móvil */
    height: 100vh;
    width: 100vw;
    background-position: center;
  }
 .hero-text h1 {
  font-size: 3.5rem;
  margin: 0 0 30px;
}
.hero-text p {
  font-size: 2.05rem;
}

}

/* Estilos generales */
.why-me {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.why-me p {
  font-size: 2rem;   /* tamaño base en escritorio */
  line-height: 1.3;
  max-width: 900px;
  margin: 0;
  font-weight: 400;
}

.why-me span {
  color: #d81b60; /* resalta palabras clave */
  font-weight: 600;
}

/* Media queries */
@media (max-width: 1024px) {
  .why-me p {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .why-me p {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .why-me p {
    font-size: 2.2rem;
  }
}


.btn,
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* --- INFO --- */
.info {
  padding: 40px 20px;
  text-align: center;
}

.info h2 {
  font-size: 3.6rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.info p {
  font-size: 2.6rem;
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--muted);
}

/* Galería pequeña en la sección info */
/* Galería */
.info-img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}

.info-img img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s;
}

.info-img img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .info {
    padding: 28px 12px;
  }
  .info-img {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas */
  }
  .info-img img {
    width: 100%;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* evita que bloquee la imagen */
}

.prev, .next {
  cursor: pointer;
  font-size: 40px;
  font-weight: bold;
  color: white;
  padding: 20px;
  user-select: none;
  pointer-events: auto; /* vuelve clickeables */
}

.prev:hover, .next:hover {
  color: #ccc;
}

/* --- PAQUETES --- */
.paquetes {
  background: #111; /* fondo oscuro más suave para separar */
  padding: 40px 20px;
  text-align: center;
}

.paquetes h2 {
  margin-bottom: 16px;
  color: var(--dark);
}

.cards {
  display: grid;
  gap: 20px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Pantallas grandes (desktop) */
@media (min-width: 769px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: space-between;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1rem;
  }

  .card ul li {
    font-size: 0.95rem;
  }
}

/* Pantallas pequeñas (móviles y tablets) */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr; /* una sola columna */
  }

  .card h3 {
    font-size: 3rem;
  }

  .card p {
    font-size: 1.5rem;
  }

  .card ul li {
    font-size: 1.4rem;
  }
}

.card {
  background: #222;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: left;
  color: var(--dark);
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  margin: 6px 0 12px;
  color: var(--accent);
  font-weight: 700;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.card ul li {
  margin-bottom: 6px;
}



/* --- FOOTER --- */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.95rem;
}


/* === BOTÓN DE SONIDO (ESCRITORIO) === */
#soundToggle {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
  font-size: 1.2rem;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Estado OFF */
#soundToggle.off {
  background: rgba(255,0,0,0.7);
}

/* Estado ON */
#soundToggle.on {
  background: rgba(0,128,0,0.7);
}

#soundToggle:hover {
  transform: scale(1.05);
  background: rgba(0,0,0,0.8);
}

/* === MÓVILES === */
@media (max-width: 768px) {
  #soundToggle {
    position: absolute !important;
    top: 10px !important;       /* arriba */
    right: 10px !important;     /* derecha */
    bottom: auto !important;    /* quitar posición inferior */
    font-size: 0.7rem !important; 
    padding: 0 !important;      /* sin espacio extra */
    border-radius: 4px !important;
    width: auto !important;     /* solo ocupa el texto */
    height: auto !important;
    line-height: 1 !important;  /* compactar */
    background: rgba(0,0,0,0.5) !important;
  }

  #soundToggle.off {
    background: rgba(255,0,0,0.6) !important;
  }

  #soundToggle.on {
    background: rgba(0,128,0,0.6) !important;
  }

  #soundToggle:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.7) !important;
  }
}


/*whatapp*/
.btn-whatsapp-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.btn-whatsapp {
  background-color: #FF6600; /* naranja brillante */
  color: white;
  padding: 15px 30px;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 0 15px #FF6600AA;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  box-shadow: 0 0 25px #FF6600FF;
}

/* Animación pulsante */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px #FF6600AA;
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 30px #FF6600FF;
  }
}


.presentacion {
  margin: 0 auto 50px auto;
  color: #eee;
  font-family: 'Georgia', serif;
  line-height: 1.7;
  text-align: justify;
}

.presentacion p {
    font-size: 2rem;   /* tamaño base en escritorio */
  line-height: 1.3;
  max-width: 900px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 1024px) {
  .presentacion p {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .presentacion p {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .presentacion p {
    font-size: 1.4rem;
  }
}

.presentacion h2 {
  text-align: center;
    font-size: 2.8rem;   /* tamaño base en escritorio */
  line-height: 1.3;
  max-width: 900px;
  margin: 0;
  font-weight: 400;
  color: #f5a623;
}


/*testimonios*/

.testimonios {
  max-width: 80%;
  margin: 0 auto 60px auto;
  color: #eee;
  font-family: 'Georgia', serif;
  text-align: center;
}

.testimonios h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #f5a623;
}

.video-testimonio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  margin-bottom: 35px;
}

.video-testimonio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
} 

.opiniones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.opinion {
  background: #222;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  align-items: center;
  text-align: center;
  color: #ddd;
}
.opinion-img {
  width: 100%;
  height: auto;
  max-width: 400px; /* limita el tamaño máximo en desktop */
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: contain;
}
/* 📱 Para pantallas pequeñas */
@media (max-width: 768px) {
  .opiniones {
    grid-template-columns: 1fr;
  }
}

/*comparacion de fotos*/
.comparacion {
  padding: 50px 0;
}

.container-comparacion {
  max-width: 900px;
  margin: auto;
}

.wrapper-comparacion {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.img-comparacion {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.handle-comparacion {
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: orange;
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle-icon {
  background: orange; /* mismo color que la línea */
  color: white;
  font-size: 18px;
  padding: 6px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  pointer-events: none; /* para que no interfiera con el arrastre */
}

.label-comparacion {
  position: absolute;
  top: 10px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-weight: bold;
  z-index: 20;
  font-size: 14px;
}

.label-before {
  left: 10px;
}

.label-after {
  right: 10px;
}


/*youtube*/

.video-youtube {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Mantener proporción 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#btnYoutubeSonido {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 12px 18px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#btnYoutubeSonido:hover {
  background: rgba(255,165,0,0.85);
}

/*book*/

/* Contenedor del libro */
.libro-panoramico {
  position: relative;
  width: 100%;
  height: 100vh; /* Pantalla completa */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #222; /* Fondo oscuro para que resalten las fotos */
  overflow: hidden;
}

#flipbook {
  width: 90%;
  height: 90%;
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Evita distorsión */
  background-color: #000;
}

/* Botones de navegación */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prev-page {
  left: 20px;
}

#next-page {
  right: 20px;
}

@media (max-width: 768px) {
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}


.nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}



.promocion {
  text-align: center;
  border-radius: 12px;
  margin: 10px auto;
  max-width: 800px;
}

.promocion h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #d9534f;
}

.promocion p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#contador {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#contador div {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#contador span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

#contador small {
  font-size: 0.9rem;
  color: #666;
}

/* 📱 Responsividad */
@media (max-width: 768px) {
  #contador {
    gap: 12px;
  }

  #contador div {
    padding: 15px;
    min-width: 80px;
  }

  #contador span {
    font-size: 1.5rem;
  }

  .promocion h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 480px) {
  #contador {
    gap: 8px;
  }

  #contador div {
    padding: 10px;
    min-width: 70px;
  }

  #contador span {
    font-size: 1.2rem;
  }

  .promocion h2 {
    font-size: 2.4rem;
  }
}

/*credibilidad*/
.credibilidad {
  padding: 60px 20px;
  background: #fafafa;
  font-family: 'Arial', sans-serif;
}

.credibilidad .contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.credibilidad h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 20px;
}

.credibilidad p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.credibilidad .cualidades {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.credibilidad .cualidades li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
}

.credibilidad .cierre {
  margin-top: 20px;
  font-weight: bold;
  color: #000;
}

.credibilidad .imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .credibilidad .contenedor {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .credibilidad .imagen {
    margin-top: 30px;
  }
}


/* Bonus */
.bonus {
  background: #111;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.bonus h2 {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #ffcc00;
}

.bonus p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color:#ffffff
}

.bonus-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.bonus-item {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.bonus-item:hover {
  transform: translateY(-5px);
}

.bonus-item h3 {
  color: #ffcc00;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.bonus-item p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .bonus h2 {
    font-size: 3.5rem;
  }
  .bonus p {
    font-size: 2rem;
  }
  .bonus-item {
    padding: 15px;
  }
  .bonus-item h3 {
    font-size: 3rem;
  }
  .bonus-item p {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .bonus-items {
    grid-template-columns: 1fr; /* Fuerza una sola columna */
  }
}
