/* =====================================================
   MAGIA SONORA – EMBUDO CINEMATOGRÁFICO GAMIFICADO
   LeinaD Flautas Nativas – Identidad Corporativa Oficial
   
   Paleta extraída de flautasnativasleinad.mitiendanube.com
   Fuentes: Montserrat (UI/body) + Muli (títulos)
   ===================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta Oficial LeinaD */
  --primary:       #34495e;   /* Azul pizarra – color principal */
  --primary-dark:  #2c3e50;   /* Versión más oscura del primario */
  --primary-light: #3d566e;   /* Versión más clara */
  --primary-muted: rgba(52,73,94,0.12); /* Transparente para fondos */
  --bg-main:       #ecf0f1;   /* Gris claro – fondo principal tienda */
  --bg-mid:        #dde4e6;   /* Gris medio */
  --bg-dark:       #2c3e50;   /* Sección oscura */
  --bg-deeper:     #1e2d3a;   /* Más profundo para hero */
  --text-dark:     #1a2532;   /* Texto oscuro */
  --text-body:     #2c3e50;   /* Texto cuerpo principal */
  --text-muted:    #6b7c93;   /* Texto secundario */
  --text-light:    #ecf0f1;   /* Texto sobre fondo oscuro */
  --white:         #ffffff;
  --accent:        #34495e;   /* Mismo primario como acento */
  --accent-warm:   #5b7a9d;   /* Variante cálida */
  --green-wa:      #25D366;   /* WhatsApp */
  --green:         #3caf65;
  --border:        rgba(0,0,0,0.1);
  --border-primary: rgba(52,73,94,0.3);

  /* Gradientes de marca */
  --gradient-brand: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3d566e 100%);
  --gradient-deep:  linear-gradient(160deg, #1e2d3a 0%, #2c3e50 100%);
  --gradient-warm:  linear-gradient(135deg, #34495e 0%, #5b7a9d 100%);

  /* Sombras */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
  --shadow-brand: 0 8px 32px rgba(44,62,80,0.35);

  /* Tipografía */
  --font-title: 'Muli', 'Montserrat', sans-serif;
  --font-body:  'Montserrat', 'Muli', sans-serif;

  /* Radios */
  --radius-btn: 40px;   /* Botones – igual que tienda */
  --radius:     10px;   /* Tarjetas – igual que tienda */
  --radius-lg:  20px;   /* Secciones grandes */

  --transition: 0.4s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Evita scroll horizontal en todo el documento */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 14px;
  /* Evita que elementos con transform rompan el layout en móvil */
  -webkit-text-size-adjust: 100%;
}

/* Garantiza que imágenes y videos no desborden */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Particle canvas */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  margin-top: 0;
  color: var(--text-dark);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-title.light { color: var(--text-light); }

.section-tag {
  display: inline-block;
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(236,240,241,0.15);
  border-color: rgba(236,240,241,0.35);
  color: var(--text-light);
}

.gradient-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Frase hero principal – dorado cobre #D78F5B, mismo tono identidad de marca */
.gradient-text-hero {
  -webkit-text-fill-color: #D78F5B;
  color: #D78F5B;
  filter: drop-shadow(0 2px 14px rgba(215,143,91,0.5));
  font-weight: 900;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ── TOP BAR ── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--primary-dark);
  padding: 8px 16px;
  border-bottom: 1px solid rgba(236,240,241,0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}
.top-bar-icon { font-size: 0.9rem; }
.top-bar-divider { opacity: 0.3; margin: 0 4px; }

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Soporte iOS Safari – evita el salto de barra URL */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
  /* Imagen de fondo cinematográfica */
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax en desktop */
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  /* Overlay cinematográfico: permite ver los colores del atardecer
     pero garantiza legibilidad del texto en la parte superior e inferior */
  background:
    linear-gradient(180deg,
      rgba(5,10,18,0.60) 0%,
      rgba(8,14,26,0.30) 35%,
      rgba(8,14,26,0.28) 55%,
      rgba(5,10,18,0.78) 80%,
      rgba(5,10,18,0.96) 100%
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Refuerza el tono cálido dorado-cobre que armoniza con la marca */
  background:
    radial-gradient(
      ellipse 80% 45% at 50% 55%,
      rgba(215,143,91,0.10) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 60% 30% at 50% 48%,
      rgba(255,180,80,0.06) 0%,
      transparent 60%
    );
}

.light-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle 8s ease-in-out infinite;
}
.p1 { width: 5px; height: 5px; background: rgba(236,240,241,0.4); top: 20%; left: 10%; animation-delay: 0s; }
.p2 { width: 3px; height: 3px; background: rgba(91,122,157,0.5); top: 60%; left: 85%; animation-delay: 1.5s; }
.p3 { width: 6px; height: 6px; background: rgba(236,240,241,0.2); top: 80%; left: 20%; animation-delay: 3s; }
.p4 { width: 4px; height: 4px; background: rgba(52,73,94,0.6); top: 30%; left: 70%; animation-delay: 4.5s; }
.p5 { width: 3px; height: 3px; background: rgba(236,240,241,0.3); top: 50%; left: 50%; animation-delay: 2s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-28px) scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 40px 24px;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.logo-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-icon-placeholder {
  width: 110px;
  height: 110px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon-placeholder svg { fill: var(--text-light); width: 26px; height: 26px; }

.logo-text { text-align: left; }
.logo-brand {
  display: block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236,240,241,0.6);
  margin-top: 3px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  color: rgba(236,240,241,0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-light);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: rgba(236,240,241,0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
  font-family: var(--font-body);
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(236,240,241,0.08);
  border: 1px solid rgba(236,240,241,0.18);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  color: rgba(236,240,241,0.9);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero CTA */
.hero-cta-wrap { margin-bottom: 32px; }

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--primary);
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  cursor: pointer;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
  transition: all var(--transition);
  max-width: 420px;
  width: 100%;
}

.btn-primary-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(44,62,80,0.5);
}

.btn-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(236,240,241,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon-wrap svg { width: 20px; height: 20px; fill: var(--text-light); }

.btn-text { text-align: left; flex: 1; }
.btn-text strong { display: block; font-size: 0.9rem; }
.btn-text small { display: block; font-size: 0.72rem; opacity: 0.75; font-weight: 400; margin-top: 2px; text-transform: none; letter-spacing: 0; }

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-brand); }
  50% { box-shadow: 0 8px 48px rgba(44,62,80,0.55), 0 0 0 8px rgba(52,73,94,0.12); }
}

.hero-micro-copy {
  margin-top: 14px;
  font-size: 0.76rem;
  color: rgba(236,240,241,0.5);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero-micro-copy svg { width: 12px; height: 12px; fill: rgba(236,240,241,0.4); }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 38px;
  border: 1.5px solid rgba(236,240,241,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px; height: 8px;
  background: rgba(236,240,241,0.5);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(11px); opacity: 0.3; }
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 1;
}
.hero-wave svg { display: block; width: 100%; }

/* ── SECCIÓN DOLOR ── */
.pain-section {
  padding: 100px 0;
  background: var(--bg-main);
  position: relative;
  z-index: 1;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pain-intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.symptom-list { display: flex; flex-direction: column; gap: 12px; }

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.symptom-item.active,
.symptom-item:hover {
  background: var(--bg-main);
  border-color: var(--border-primary);
  border-left: 3px solid var(--primary);
}

.symptom-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--primary-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.symptom-icon-wrap svg { width: 20px; height: 20px; fill: var(--primary); }

.symptom-item strong { display: block; color: var(--text-dark); font-size: 0.88rem; margin-bottom: 3px; }
.symptom-item p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* Stats */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}

.stat-number {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 0.9rem; color: var(--text-body); margin-bottom: 6px; font-weight: 600; }
.stat-source { font-size: 0.72rem; color: var(--text-muted); }

.stat-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-mini-num {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-mini-label { font-size: 0.72rem; color: var(--text-muted); }

.science-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(60,175,101,0.06);
  border: 1px solid rgba(60,175,101,0.2);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.science-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(60,175,101,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.science-badge-icon svg { width: 18px; height: 18px; fill: var(--green); }
.science-badge strong { display: block; color: var(--text-dark); font-size: 0.85rem; margin-bottom: 4px; }
.science-badge p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* ── SOLUCIÓN ── */
.solution-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.solution-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--primary-dark) 40%, var(--bg-dark) 100%);
}

.solution-header { text-align: center; margin-bottom: 56px; }
.solution-desc { color: rgba(236,240,241,0.7); font-size: 1rem; max-width: 560px; margin: 0 auto; }

.how-it-works {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 220px;
  background: rgba(236,240,241,0.05);
  border: 1px solid rgba(236,240,241,0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  background: rgba(236,240,241,0.09);
  border-color: rgba(236,240,241,0.25);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 16px auto 16px;
  background: rgba(236,240,241,0.08);
  border: 1px solid rgba(236,240,241,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon-wrap svg { width: 28px; height: 28px; fill: var(--text-light); }
.step-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.step-card h3 { font-family: var(--font-title); font-size: 1.05rem; color: var(--text-light); margin-bottom: 10px; }
.step-card p { color: rgba(236,240,241,0.65); font-size: 0.85rem; margin-bottom: 14px; }
.step-result { font-size: 0.8rem; color: var(--green); font-weight: 600; font-family: var(--font-body); }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  color: rgba(236,240,241,0.3);
}
.step-connector svg { width: 16px; height: 16px; fill: rgba(236,240,241,0.3); }

/* Video */
.video-section { max-width: 680px; margin: 0 auto; }
.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(236,240,241,0.12);
  min-height: 360px;
  background: var(--primary-dark);
  cursor: pointer;
}

.video-bg-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.video-icon-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(236,240,241,0.06);
  border: 1px solid rgba(236,240,241,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.video-icon-placeholder svg { width: 40px; height: 40px; fill: rgba(236,240,241,0.25); }

.video-label { font-family: var(--font-title); font-size: 1.1rem; color: rgba(236,240,241,0.55); }

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
  background: rgba(44,62,80,0.3);
  transition: background var(--transition);
}
.video-play-overlay:hover { background: rgba(44,62,80,0.5); }

.play-btn-large {
  width: 72px; height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  transition: transform var(--transition);
}
.play-btn-large svg { width: 28px; height: 28px; fill: var(--text-light); margin-left: 4px; }
.video-play-overlay:hover .play-btn-large { transform: scale(1.08); }
.video-play-overlay p { color: rgba(236,240,241,0.8); font-size: 0.85rem; }

.btn-video-yt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #cc0000;
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.btn-video-yt svg { width: 16px; height: 16px; fill: white; }
.btn-video-yt:hover { background: #aa0000; transform: scale(1.03); }

/* ── QUIZ ── */
.quiz-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: var(--bg-main);
}

.quiz-header { text-align: center; margin-bottom: 44px; }
.quiz-header p { color: var(--text-muted); font-size: 0.95rem; }

/* Barra de progreso */
.quiz-progress-wrap { max-width: 700px; margin: 0 auto 36px; }

.quiz-progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.quiz-progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.qs {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-body);
  transition: all var(--transition);
}
.qs.active { background: var(--primary); border-color: var(--primary); color: var(--text-light); }
.qs.completed { background: rgba(60,175,101,0.1); border-color: var(--green); color: var(--green); }

.quiz-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

#quizXP { color: var(--primary); font-weight: 700; }

/* Tarjetas quiz */
.quiz-card-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 400px;
}

.quiz-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  animation: slideIn 0.4s ease;
  box-shadow: var(--shadow-md);
}
.quiz-card.active { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-card-header { margin-bottom: 28px; }

.quiz-level-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: var(--radius-btn);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.quiz-question {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
  font-weight: 700;
}

.quiz-sub { color: var(--text-muted); font-size: 0.82rem; font-style: italic; }

/* Opciones del quiz */
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-options.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  text-align: left;
  color: var(--text-body);
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.quiz-option.selected {
  background: var(--white);
  border-color: var(--primary);
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}

/* Placeholder imagen en opción */
.opt-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.opt-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.opt-img-wrap svg { width: 22px; height: 22px; fill: var(--primary); }

.opt-content { flex: 1; }
.opt-content strong { display: block; font-size: 0.9rem; color: var(--text-dark); font-weight: 700; }
.opt-content small { font-size: 0.76rem; color: var(--text-muted); }

.opt-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.opt-check svg { width: 12px; height: 12px; fill: transparent; }
.quiz-option.selected .opt-check {
  background: var(--green);
  border-color: var(--green);
}
.quiz-option.selected .opt-check svg { fill: white; }

/* Estilo tarjeta (grid 2x2) */
.quiz-option.card-style {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  gap: 10px;
}
.quiz-option.card-style:hover { transform: translateY(-4px); }

.opt-img-wrap-big {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.opt-img-wrap-big img { width: 100%; height: 100%; object-fit: cover; }
.opt-img-wrap-big svg { width: 32px; height: 32px; fill: var(--primary); }
.quiz-option.card-style strong { font-size: 0.88rem; }
.quiz-option.card-style small { font-size: 0.74rem; display: block; }

/* Nav del quiz */
.quiz-nav {
  max-width: 700px;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-back svg { width: 14px; height: 14px; fill: var(--text-muted); }
.btn-back:hover { border-color: var(--primary); color: var(--primary); }

.btn-next {
  background: var(--primary);
  border: none;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-next svg { width: 14px; height: 14px; fill: var(--text-light); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-next:not(:disabled):hover { background: var(--primary-dark); transform: scale(1.03); }

/* Captura de lead */
.lead-capture { text-align: center; }

.magic-reveal { margin: 20px 0; }
.magic-orb {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--primary-muted);
  border: 2px solid var(--border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbFloat 3s ease-in-out infinite;
}
.magic-orb svg { width: 40px; height: 40px; fill: var(--primary); }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.lead-form { text-align: left; max-width: 400px; margin: 0 auto; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-body); margin-bottom: 6px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.form-group input {
  width: 100%;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--primary); }
.form-group input:hover { border-color: var(--primary); }
.form-group input::placeholder { color: var(--text-muted); }

.input-with-flag { display: flex; align-items: center; gap: 8px; }
.flag {
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--text-body);
  font-family: var(--font-body);
}
.input-with-flag input { flex: 1; }

.form-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.form-hint svg { width: 11px; height: 11px; fill: var(--green); }

.btn-submit-lead {
  width: 100%;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 24px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-submit-lead:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.btn-submit-lead svg { width: 16px; height: 16px; fill: var(--text-light); }

/* Resultado */
.result-card { text-align: center; }

.result-fireworks-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.result-fireworks-img {
  width: 64px;
  height: 64px;
  background: rgba(60,175,101,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 0.5s ease;
}
.result-fireworks-img svg { width: 32px; height: 32px; fill: var(--green); }

@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.result-header { margin-bottom: 20px; }
.result-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.result-title { font-family: var(--font-title); font-size: 1.4rem; color: var(--text-dark); margin-bottom: 12px; }

.result-product-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 4px;
  background: var(--primary-muted);
  border: 2px solid var(--border-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.result-product-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.result-product-icon-wrap svg { width: 40px; height: 40px; fill: var(--primary); }

.result-card-body { text-align: left; }
.result-product-name { font-family: var(--font-title); font-size: 1.2rem; color: var(--primary); text-align: center; margin-bottom: 10px; font-weight: 700; }
.result-description { color: var(--text-muted); text-align: center; margin-bottom: 20px; font-size: 0.9rem; }

.result-benefits { margin-bottom: 20px; }
.result-benefits h4 { color: var(--text-dark); font-size: 0.88rem; margin-bottom: 12px; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.result-benefits ul { list-style: none; }
.result-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.87rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.result-benefits li:last-child { border-bottom: none; }
.result-benefits li svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; }

.result-price-box {
  text-align: center;
  background: var(--bg-main);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}
.price-from { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-body); }
.price-main { font-family: var(--font-title); font-size: 2rem; color: var(--primary); font-weight: 700; }
.price-note { font-size: 0.74rem; color: var(--text-muted); margin-top: 4px; }

.result-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.btn-whatsapp-primary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--green-wa);
  color: white;
  padding: 16px 22px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp-primary:hover { transform: translateY(-2px); background: #1fb855; }
.btn-whatsapp-primary svg { width: 28px; height: 28px; fill: white; flex-shrink: 0; }
.btn-whatsapp-primary strong { display: block; font-size: 0.88rem; font-family: var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; }
.btn-whatsapp-primary small { display: block; font-size: 0.74rem; opacity: 0.85; font-weight: 400; text-transform: none; }

.btn-store-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-store-secondary svg { width: 16px; height: 16px; fill: var(--primary); }
.btn-store-secondary:hover { background: var(--primary); color: var(--text-light); }
.btn-store-secondary:hover svg { fill: var(--text-light); }

.result-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-main);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.result-guarantee-icon { width: 32px; height: 32px; background: var(--primary-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.result-guarantee-icon svg { width: 16px; height: 16px; fill: var(--primary); }
.result-guarantee p { font-size: 0.76rem; color: var(--text-muted); margin: 0; }

/* ── TESTIMONIOS ── */
.testimonials-section {
  padding: 100px 0;
  text-align: center;
  background: var(--white);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-slider { max-width: 760px; margin: 0 auto 28px; position: relative; }

.testimonial-card {
  display: none;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  animation: fadeIn 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.testimonial-card.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.testimonial-stars { margin-bottom: 14px; display: flex; gap: 3px; }
.star-icon { width: 16px; height: 16px; fill: #f4a62a; }

.testimonial-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-result {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.82rem;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: rgba(60,175,101,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(60,175,101,0.15);
}
.testimonial-result svg { width: 14px; height: 14px; fill: var(--green); flex-shrink: 0; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--text-dark); font-size: 0.88rem; }
.author-location { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }

.verified-badge {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}
.verified-badge svg { width: 13px; height: 13px; fill: var(--green); }

.slider-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

.btn-yt-playlist {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(204,0,0,0.3);
  color: #cc0000;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-yt-playlist svg { width: 16px; height: 16px; fill: #cc0000; }
.btn-yt-playlist:hover { background: rgba(204,0,0,0.06); }
.yt-testimonials { margin-top: 20px; }

/* ── PRODUCTOS ── */
.products-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--bg-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  border-color: var(--primary);
  border-width: 2px;
}

.product-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-badge.premium { background: var(--primary-dark); }
.product-badge.therapeutic { background: var(--accent-warm); }
.product-badge.starter { background: var(--green); }

/* Imagen del producto – placeholder */
.product-img-wrap {
  width: 80px;
  height: 80px;
  margin: 18px auto 14px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-img-wrap svg { width: 38px; height: 38px; fill: var(--primary); }

.product-name { font-family: var(--font-title); font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; font-weight: 700; }
.product-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }

.product-features { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; text-align: left; }
.product-features span { font-size: 0.77rem; color: var(--text-body); display: flex; align-items: center; gap: 7px; }
.product-features svg { width: 13px; height: 13px; fill: var(--green); flex-shrink: 0; }

.product-price { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-bottom: 16px; }
.price-from { font-size: 0.72rem; color: var(--text-muted); }
.price-value { font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.price-currency { font-size: 0.72rem; color: var(--text-muted); }

.btn-product {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-product svg { width: 14px; height: 14px; fill: var(--primary); }
.btn-product:hover { background: var(--primary); color: var(--text-light); }
.btn-product:hover svg { fill: var(--text-light); }

.btn-product-wa {
  background: rgba(37,211,102,0.06);
  border-color: rgba(37,211,102,0.3);
  color: #1a9e4a;
}
.btn-product-wa svg { fill: #1a9e4a; }
.btn-product-wa:hover { background: var(--green-wa); color: white; border-color: transparent; }
.btn-product-wa:hover svg { fill: white; }

.catalog-cta { margin-top: 16px; }
.btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-catalog svg { width: 15px; height: 15px; fill: var(--text-muted); }
.btn-catalog:hover { border-color: var(--primary); color: var(--primary); }
.btn-catalog:hover svg { fill: var(--primary); }

/* ── SOBRE LEINAD ── */
.about-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap { position: relative; }
.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.about-placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
}
.about-placeholder-img svg { width: 60px; height: 60px; fill: rgba(52,73,94,0.15); }
.about-placeholder-img p { font-family: var(--font-title); font-size: 1rem; opacity: 0.35; color: var(--primary); }

.about-badge-float {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-years { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.about-years-label { font-size: 0.68rem; color: var(--text-muted); max-width: 80px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

.about-text { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }

.about-achievements { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.achievement {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.achievement-icon { width: 36px; height: 36px; background: var(--primary-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.achievement-icon svg { width: 18px; height: 18px; fill: var(--primary); }
.achievement strong { display: block; color: var(--text-dark); font-size: 0.88rem; }
.achievement span { font-size: 0.76rem; color: var(--text-muted); }

.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-yt-about, .btn-ig-about {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-yt-about svg { width: 15px; height: 15px; }
.btn-ig-about svg { width: 15px; height: 15px; }
.btn-yt-about { background: rgba(204,0,0,0.06); border: 1.5px solid rgba(204,0,0,0.2); color: #cc0000; fill: #cc0000; }
.btn-yt-about svg { fill: #cc0000; }
.btn-yt-about:hover { background: #cc0000; color: white; }
.btn-yt-about:hover svg { fill: white; }
.btn-ig-about { background: rgba(225,48,108,0.06); border: 1.5px solid rgba(225,48,108,0.2); color: #e1306c; }
.btn-ig-about svg { fill: #e1306c; }
.btn-ig-about:hover { background: #e1306c; color: white; }
.btn-ig-about:hover svg { fill: white; }

/* ── FAQ ── */
.faq-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--bg-main);
}

.faq-list { max-width: 720px; margin: 0 auto; text-align: left; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { border-color: var(--primary); }

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-main); }
.faq-question.open { background: var(--bg-main); }
.faq-question-icon { width: 20px; height: 20px; background: var(--primary-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s; }
.faq-question-icon svg { width: 12px; height: 12px; fill: var(--primary); }
.faq-question.open .faq-question-icon { transform: rotate(45deg); background: var(--primary); }
.faq-question.open .faq-question-icon svg { fill: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--bg-main);
}
.faq-answer.open { max-height: 300px; padding: 14px 22px 18px; }
.faq-answer p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; }

/* ── CTA FINAL ── */
.final-cta-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-deep);
}

.final-cta-content { position: relative; z-index: 1; }

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.25);
  color: #ff6b6b;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 22px;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.urgency-badge svg { width: 14px; height: 14px; fill: #ff6b6b; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.final-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  color: var(--text-light);
}

.gradient-slate {
  color: var(--bg-main);
}

.final-desc {
  color: rgba(236,240,241,0.65);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* Countdown */
.countdown-wrap { margin-bottom: 44px; }
.countdown-label {
  font-size: 0.78rem;
  color: rgba(236,240,241,0.55);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.count-unit {
  background: rgba(236,240,241,0.06);
  border: 1px solid rgba(236,240,241,0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  min-width: 75px;
}
.count-num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}
.count-label { font-size: 0.68rem; color: rgba(236,240,241,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; font-family: var(--font-body); }
.count-sep { font-size: 1.8rem; color: rgba(236,240,241,0.35); font-family: var(--font-title); margin: 0 2px; margin-bottom: 14px; }

.final-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-final-wa, .btn-final-store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition);
  min-width: 280px;
  font-family: var(--font-body);
}

.btn-final-wa {
  background: var(--green-wa);
  color: white;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}
.btn-final-wa:hover { transform: translateY(-3px); background: #1fb855; }
.btn-final-wa svg { width: 28px; height: 28px; fill: white; flex-shrink: 0; }
.btn-final-wa strong { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-final-wa small { display: block; font-size: 0.72rem; opacity: 0.8; font-weight: 400; text-transform: none; }

.btn-final-store {
  background: rgba(236,240,241,0.08);
  border: 1.5px solid rgba(236,240,241,0.2);
  color: var(--text-light);
}
.btn-final-store:hover { background: rgba(236,240,241,0.14); border-color: var(--text-light); transform: translateY(-3px); }
.btn-final-store svg { width: 22px; height: 22px; fill: rgba(236,240,241,0.8); flex-shrink: 0; }
.btn-final-store strong { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-final-store small { display: block; font-size: 0.72rem; opacity: 0.6; font-weight: 400; text-transform: none; }

/* Social proof final */
.final-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.proof-avatars { display: flex; }
.avatar-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin-left: -8px;
  font-family: var(--font-title);
}
.avatar-circle:first-child { margin-left: 0; }
.final-social-proof p { font-size: 0.82rem; color: rgba(236,240,241,0.55); }

/* ── FOOTER ── */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(236,240,241,0.08);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon { width: 32px; height: 32px; background: rgba(236,240,241,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-logo-icon svg { width: 18px; height: 18px; fill: var(--text-light); }
.footer-logo-name { font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; }

.footer-tagline { font-size: 0.8rem; color: rgba(236,240,241,0.5); margin-bottom: 14px; font-style: italic; }
.footer-copy { font-size: 0.72rem; color: rgba(236,240,241,0.28); }

.footer-links, .footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-social h4 {
  font-family: var(--font-title);
  font-size: 0.72rem;
  color: rgba(236,240,241,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-links a {
  color: rgba(236,240,241,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-light); }

.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(236,240,241,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 5px 0;
  transition: color var(--transition);
}
.social-link svg { width: 15px; height: 15px; fill: rgba(236,240,241,0.5); transition: fill var(--transition); }
.social-link:hover { color: var(--text-light); }
.social-link:hover svg { fill: var(--text-light); }
.social-link.yt:hover svg { fill: #ff4444; }
.social-link.ig:hover svg { fill: #e1306c; }
.social-link.fb:hover svg { fill: #4267B2; }
.social-link.wa:hover svg { fill: var(--green-wa); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: all var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

.wa-float-tooltip {
  position: absolute;
  right: 66px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
}
.whatsapp-float:hover .wa-float-tooltip { opacity: 1; }

/* ── XP TOAST ── */
.xp-toast {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 1000;
  transform: translateX(130%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.xp-toast.show { transform: translateX(0); }
.xp-toast-inner {
  background: var(--white);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.xp-icon svg { width: 18px; height: 18px; fill: var(--primary); }
.xp-message { font-size: 0.82rem; color: var(--primary); font-weight: 700; font-family: var(--font-body); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE – Sistema completo multi-dispositivo
   Breakpoints: 1200 · 1024 · 900 · 768 · 600 · 480 · 375
   ══════════════════════════════════════════════════════ */

/* ─ 1200px: Large tablet / small laptop ─ */
@media (max-width: 1200px) {
  .container { max-width: 95%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
}

/* ─ 1024px: Tablet landscape ─ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { max-width: 380px; margin: 0 auto; }
  .about-badge-float { right: 0; }
  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works { gap: 16px; }
  .step-card { padding: 28px 20px; }
  .stat-mini-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─ 900px: Tablet portrait ─ */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-visual { max-width: 500px; margin: 0 auto; }
  .how-it-works { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); width: auto; height: 28px; }
  .step-card { max-width: 380px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ─ 768px: Tablet / large phone landscape ─ */
@media (max-width: 768px) {
  /* Global */
  .container { padding: 0 16px; }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section-subtitle { font-size: 0.9rem; }

  /* Top bar */
  .top-bar { padding: 6px 0; }
  .top-bar-inner {
    font-size: 0.68rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
  }
  .top-bar-sep { display: none; }

  /* Hero */
  .hero-section {
    padding-top: 60px;
    min-height: 100svh;
    background-attachment: scroll; /* Fix iOS parallax freeze */
  }
  .hero-content { padding: 32px 16px 40px; }
  .logo-container { gap: 12px; margin-bottom: 20px; }
  .logo-img { width: 80px; height: 80px; }
  .logo-brand { font-size: 1.3rem; }
  .logo-sub { font-size: 0.62rem; }
  .hero-eyebrow { font-size: 0.75rem; margin-bottom: 10px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.15; }
  .hero-subtitle { font-size: 0.92rem; line-height: 1.6; margin-top: 14px; }

  /* Trust badges – wrap en móvil */
  .trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .badge { font-size: 0.7rem; padding: 6px 12px; gap: 5px; }

  /* CTA hero */
  .hero-cta-wrap { margin-top: 24px; }
  .btn-primary-hero {
    padding: 16px 22px;
    font-size: 0.85rem;
    width: 100%;
    max-width: 380px;
    text-align: left;
  }
  .btn-text strong { font-size: 0.85rem; }
  .btn-text small { font-size: 0.7rem; }
  .hero-micro-copy { font-size: 0.72rem; }

  /* Pain section */
  .pain-section { padding: 60px 0; }
  .stat-mini-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card.main-stat { padding: 24px 20px; }
  .stat-number { font-size: 2.2rem; }
  .science-badge { padding: 14px 16px; }

  /* Solution */
  .solution-section { padding: 60px 0; }
  .solution-header { margin-bottom: 36px; }
  .how-it-works { flex-direction: column; align-items: center; gap: 8px; }
  .step-connector { transform: rotate(90deg); width: auto; }
  .step-card { max-width: 340px; width: 100%; }
  .video-section { margin-top: 36px; }

  /* Quiz */
  .quiz-section { padding: 60px 0; }
  .quiz-card { padding: 24px 18px; min-height: auto; }
  .quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quiz-option.card-style { padding: 14px 10px; }
  .opt-img-wrap-big { width: 48px; height: 48px; font-size: 1.1rem; }
  .quiz-question { font-size: 1.15rem; }
  .btn-next, .btn-back { padding: 13px 20px; font-size: 0.88rem; }
  .quiz-nav { gap: 10px; }

  /* Lead form */
  .lead-form { gap: 14px; }
  .magic-orb { width: 64px; height: 64px; font-size: 1.4rem; }
  .btn-submit-lead { padding: 15px 20px; font-size: 0.88rem; }
  .input-with-flag .flag { padding: 0 10px; font-size: 0.8rem; }

  /* Result card */
  .result-ctas { flex-direction: column; gap: 12px; }
  .btn-whatsapp-primary, .btn-store-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Testimonials */
  .testimonials-section { padding: 60px 0; }
  .testimonial-card { padding: 24px 18px; }
  .testimonial-text { font-size: 0.9rem; }

  /* Products */
  .products-section { padding: 60px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card { padding: 20px 16px; }
  .product-img-wrap { height: 160px; }
  .product-name { font-size: 1rem; }
  .product-features { gap: 4px; }
  .product-features span { font-size: 0.72rem; }

  /* About */
  .about-section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap { max-width: 320px; margin: 0 auto; }
  .about-cta { flex-direction: column; gap: 10px; }
  .btn-yt-about, .btn-ig-about { width: 100%; text-align: center; justify-content: center; }

  /* FAQ */
  .faq-section { padding: 60px 0; }
  .faq-question { font-size: 0.9rem; padding: 16px 14px; }
  .faq-answer p { font-size: 0.88rem; }

  /* Final CTA */
  .final-cta-section { padding: 60px 0; }
  .final-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .final-cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-final-wa, .btn-final-store {
    min-width: auto;
    width: 100%;
    justify-content: center;
  }
  .countdown-timer { gap: 4px; }
  .count-unit { min-width: 64px; padding: 12px 10px; }
  .count-num { font-size: 1.6rem; }
  .count-label { font-size: 0.65rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-links, .footer-social { text-align: center; }
  .footer-links a, .footer-social .social-link {
    display: block;
    text-align: center;
  }

  /* WhatsApp float – evita cubrir botones CTA */
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float i { font-size: 1.4rem; }
  .wa-float-tooltip { display: none; }

  /* XP Toast */
  .xp-toast { right: 8px; bottom: 80px; }
}

/* ─ 600px: Large phone ─ */
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about-achievements { gap: 14px; }
  .proof-avatars { gap: 4px; }
  .final-social-proof p { font-size: 0.82rem; }
}

/* ─ 480px: Phone portrait ─ */
@media (max-width: 480px) {
  /* Hero */
  .hero-title { font-size: 1.75rem; line-height: 1.15; }
  .hero-subtitle { font-size: 0.88rem; }
  .logo-img { width: 70px; height: 70px; }
  .logo-brand { font-size: 1.2rem; }
  .logo-container { gap: 10px; }
  .trust-badges { gap: 6px; }
  .badge { font-size: 0.65rem; padding: 5px 10px; }
  .btn-primary-hero { font-size: 0.8rem; padding: 14px 18px; }
  .btn-text strong { font-size: 0.8rem; letter-spacing: 0.04em; }

  /* Secciones */
  .pain-section, .solution-section, .quiz-section,
  .testimonials-section, .products-section, .about-section,
  .faq-section, .final-cta-section { padding: 48px 0; }

  /* Pain stats */
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.82rem; }
  .stat-mini-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-mini-num { font-size: 1.5rem; }
  .stat-mini-label { font-size: 0.68rem; }

  /* Quiz */
  .quiz-card { padding: 20px 14px; border-radius: 12px; }
  .quiz-question { font-size: 1.05rem; }
  .quiz-sub { font-size: 0.8rem; }
  .quiz-level-badge { font-size: 0.7rem; }
  .quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quiz-option { padding: 12px 10px; gap: 10px; }
  .quiz-option.card-style { padding: 12px 8px; }
  .opt-img-wrap { width: 36px; height: 36px; font-size: 0.85rem; }
  .opt-img-wrap-big { width: 42px; height: 42px; font-size: 1rem; }
  .quiz-option strong { font-size: 0.82rem; }
  .quiz-option small { font-size: 0.7rem; }
  .opt-check { width: 18px; height: 18px; }
  .magic-orb { width: 56px; height: 56px; font-size: 1.2rem; }

  /* Lead form */
  .form-group label { font-size: 0.82rem; }
  .lead-form input { font-size: 0.9rem; padding: 12px 14px; }
  .input-with-flag { flex-direction: row; }
  .btn-submit-lead { font-size: 0.85rem; padding: 14px 16px; }

  /* Result */
  .result-title { font-size: 1.2rem; }
  .result-product-name { font-size: 1rem; }
  .result-description { font-size: 0.85rem; }
  .price-main { font-size: 1.6rem; }
  .result-benefits li { font-size: 0.82rem; }

  /* Testimonials */
  .testimonial-card { padding: 20px 14px; }
  .testimonial-text { font-size: 0.85rem; }
  .testimonial-result { font-size: 0.78rem; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .product-img-wrap { height: 180px; }
  .product-name { font-size: 1.1rem; }
  .price-value { font-size: 1.4rem; }

  /* Countdown */
  .countdown-timer { gap: 2px; }
  .count-unit { min-width: 54px; padding: 10px 8px; border-radius: 8px; }
  .count-num { font-size: 1.4rem; }
  .count-sep { font-size: 1.4rem; }
  .count-label { font-size: 0.6rem; }

  /* Final CTA */
  .final-title { font-size: 1.6rem; }
  .urgency-badge { font-size: 0.78rem; padding: 6px 12px; }
  .btn-final-wa strong, .btn-final-store strong { font-size: 0.85rem; letter-spacing: 0.02em; }
  .btn-final-wa small, .btn-final-store small { font-size: 0.68rem; }

  /* WhatsApp float */
  .whatsapp-float { width: 50px; height: 50px; bottom: 14px; right: 14px; }
  .whatsapp-float i { font-size: 1.3rem; }

  /* FAQ */
  .faq-question { font-size: 0.85rem; }
  .faq-answer p { font-size: 0.84rem; }
}

/* ─ 375px: iPhone SE / smallest phones ─ */
@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 1.55rem; }
  .hero-subtitle { font-size: 0.82rem; }
  .logo-img { width: 60px; height: 60px; }
  .logo-brand { font-size: 1.1rem; }
  .badge { font-size: 0.6rem; padding: 4px 8px; }
  .btn-primary-hero { font-size: 0.75rem; padding: 13px 14px; }
  .btn-text strong { font-size: 0.75rem; }
  .btn-text small { font-size: 0.65rem; }
  .quiz-card { padding: 16px 12px; }
  .quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .opt-img-wrap-big { width: 38px; height: 38px; font-size: 0.9rem; }
  .count-unit { min-width: 46px; padding: 8px 6px; }
  .count-num { font-size: 1.25rem; }
  .section-title { font-size: 1.3rem; }
  .hero-cta-wrap { margin-top: 20px; }
  .trust-badges { gap: 5px; }
}

/* ══════════════════════════════════════════════════════
   MEJORAS TÁCTILES – Dispositivos touch
   ══════════════════════════════════════════════════════ */

/* Área mínima táctil de 44px para todos los botones e interactivos */
button, a, .quiz-option, .slider-dot, .faq-question,
.btn-back, .btn-next, .btn-submit-lead,
.btn-whatsapp-primary, .btn-store-secondary,
.btn-final-wa, .btn-final-store, .btn-product {
  min-height: 44px;
  -webkit-tap-highlight-color: transparent; /* Quita el flash azul en Android */
  touch-action: manipulation; /* Evita el doble-tap zoom en iOS */
}

/* Evita que el texto sea seleccionado accidentalmente al tocar */
.quiz-option, .btn-primary-hero, .badge {
  -webkit-user-select: none;
  user-select: none;
}

/* Scroll suave en iOS para contenedores con overflow */
.quiz-card-container, .testimonials-slider {
  -webkit-overflow-scrolling: touch;
}

/* Asegura que el botón flotante WA no tape contenido crítico en iPhone */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .xp-toast {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ESTILOS COMPLEMENTARIOS – Sin emojis, con iconos FA/imágenes
   ============================================================ */

/* Top bar FA icons */
.top-bar-icon-fa {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Logo imagen – tamaño legible, recorte circular limpio */
.logo-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.15);
}

/* Symptom icon wrapper con icono FA */
.symptom-icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Step icon – imagen miniatura con fallback FA */
.step-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 18px auto 14px;
  background: rgba(236,240,241,0.08);
  border: 1px solid rgba(236,240,241,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-img-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(236,240,241,0.7);
  font-size: 1.4rem;
}

/* Quiz option icon wrap (FA) – reemplaza .opt-icon */
.opt-img-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
  overflow: hidden;
}
.opt-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Quiz option card-style icon wrap (FA, grande) – reemplaza .opt-icon-big */
.opt-img-wrap-big {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  color: var(--primary);
  font-size: 1.4rem;
  overflow: hidden;
}
.opt-img-wrap-big img { width: 100%; height: 100%; object-fit: cover; }

/* Magic orb FA icon */
.magic-orb {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--primary-muted);
  border: 2px solid var(--border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbFloat 3s ease-in-out infinite;
  font-size: 1.6rem;
  color: var(--primary);
}

/* Result fireworks wrap */
.result-fireworks-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.result-fireworks-img {
  width: 64px;
  height: 64px;
  background: rgba(60,175,101,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 0.5s ease;
}

/* Result product icon wrap – imagen miniatura del producto */
.result-product-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  background: var(--primary-muted);
  border: 2px solid var(--border-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.result-product-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.result-icon-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  width: 100%;
  height: 100%;
}

/* Testimonial stars FA */
.star-icon {
  color: #f4a62a;
  font-size: 0.9rem;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

/* Verified badge */
.verified-badge {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Product image wrap – imagen miniatura del producto */
.product-img-wrap {
  width: 90px;
  height: 90px;
  margin: 16px auto 14px;
  border-radius: var(--radius);
  background: var(--primary-muted);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  width: 100%;
  height: 100%;
}

/* About photo real */
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Achievement icon wrap */
.achievement-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--primary-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.9rem;
}

/* FAQ icon FA */
.faq-icon {
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
  background: var(--primary-muted);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--text-light);
}

/* Footer logo FA icon */
.footer-logo-icon-fa {
  width: 32px;
  height: 32px;
  background: rgba(236,240,241,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 7px;
}

/* XP Toast FA icon */
.xp-icon-fa {
  font-size: 1rem;
  color: var(--primary);
}

/* Hero CTA button */
.btn-arrow-icon {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: auto;
}
.btn-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(236,240,241,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-light);
}

/* Gradient para CTA final */
.gradient-gold {
  background: linear-gradient(135deg, #ecf0f1 0%, #c0d0d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Highlight en sección solución */
.highlight-gold {
  color: rgba(236,240,241,0.95);
}

/* Science badge icon FA */
.science-badge-icon-fa {
  font-size: 1.2rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Urgency badge icon FA */
.urgency-badge .fa-fire {
  animation: pulse 1.5s ease-in-out infinite;
  font-size: 0.85rem;
}

/* Social link FA icons */
.social-link .fab,
.social-link .fas {
  font-size: 0.95rem;
  transition: color var(--transition);
}
.social-link.yt:hover .fab { color: #ff4444; }
.social-link.ig:hover .fab { color: #e1306c; }
.social-link.fb:hover .fab { color: #4267B2; }
.social-link.wa:hover .fab { color: var(--green-wa); }

/* WhatsApp float FA icon */
.whatsapp-float .fab {
  font-size: 1.6rem;
  color: white;
}

/* Form hint icon */
.form-hint .fas { color: var(--green); font-size: 0.7rem; }

/* Opt-check icon */
.opt-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 0.65rem;
  color: transparent;
}
.quiz-option.selected .opt-check {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

/* ══════════════════════════════════════════════════════════════════
   DARK MODE – prefers-color-scheme: dark
   Se activa automáticamente cuando el sistema del usuario usa tema oscuro.
   Objetivo: más vida, más contraste, colores vibrantes sobre fondos profundos.
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {

  /* ─ Variables redefinidas para dark mode ─ */
  :root {
    --primary:         #7aafd4;   /* Azul más claro y luminoso */
    --primary-dark:    #5b8ebd;
    --primary-light:   #9dc5e4;
    --primary-muted:   rgba(122,175,212,0.15);
    --bg-main:         #0f1923;   /* Fondo principal muy profundo */
    --bg-mid:          #162130;   /* Fondo medio */
    --bg-dark:         #0a1018;   /* Fondo más oscuro */
    --bg-deeper:       #070d14;
    --text-dark:       #e8f0f7;   /* Texto principal – casi blanco */
    --text-body:       #c8d8e8;   /* Texto cuerpo – azul perlado */
    --text-muted:      #7a9bb8;   /* Texto secundario */
    --text-light:      #f0f6fc;
    --white:           #1a2840;   /* "Blanco" de tarjetas = azul oscuro */
    --accent-warm:     #7aafd4;
    --green:           #3dce72;   /* Verde más vivo */
    --green-wa:        #25D366;
    --border:          rgba(122,175,212,0.15);
    --border-primary:  rgba(122,175,212,0.28);
    --shadow-sm:       0 2px 8px rgba(0,0,0,0.5);
    --shadow-md:       0 4px 20px rgba(0,0,0,0.6);
    --shadow-lg:       0 8px 40px rgba(0,0,0,0.7);
    --shadow-brand:    0 8px 32px rgba(122,175,212,0.25);
    --gradient-warm:   linear-gradient(135deg, #7aafd4 0%, #9dc5e4 100%);
    --gradient-brand:  linear-gradient(135deg, #0a1018 0%, #162130 50%, #1e2d3a 100%);
    --gradient-deep:   linear-gradient(160deg, #070d14 0%, #0f1923 100%);
  }

  /* ─ Base ─ */
  body {
    background-color: var(--bg-main);
    color: var(--text-body);
  }

  /* ─ Top Bar ─ */
  .top-bar {
    background: #07111a;
    border-bottom-color: rgba(122,175,212,0.12);
  }

  /* ─ Hero ─ */
  .hero-bg-gradient {
    background:
      linear-gradient(180deg,
        rgba(4,9,16,0.62) 0%,
        rgba(8,14,24,0.48) 40%,
        rgba(4,9,16,0.78) 75%,
        rgba(4,9,16,0.96) 100%
      );
  }
  .hero-overlay {
    background: radial-gradient(
      ellipse 70% 50% at 50% 60%,
      rgba(215,143,91,0.12) 0%,
      transparent 70%
    );
  }

  /* ─ Sección Pain ─ */
  .pain-section {
    background: var(--bg-mid);
  }
  .stat-card {
    background: #1a2d42;
    border-color: rgba(122,175,212,0.18);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  }
  .stat-number { color: #7aafd4; }
  .stat-label  { color: var(--text-body); }
  .stat-source { color: var(--text-muted); }
  .stat-mini {
    background: #182638;
    border-color: rgba(122,175,212,0.15);
  }
  .stat-mini-num { color: #7aafd4; }
  .stat-mini-label { color: var(--text-muted); }
  .science-badge {
    background: rgba(61,206,114,0.08);
    border-color: rgba(61,206,114,0.2);
  }
  .symptom-item {
    border-color: rgba(122,175,212,0.12);
  }
  .symptom-item.active,
  .symptom-item:hover {
    background: rgba(122,175,212,0.08);
    border-color: rgba(122,175,212,0.25);
  }
  .symptom-icon-wrap {
    background: rgba(122,175,212,0.12);
    color: #7aafd4;
  }

  /* ─ Sección Solution ─ */
  .step-card {
    background: rgba(122,175,212,0.06);
    border-color: rgba(122,175,212,0.18);
  }
  .step-card:hover {
    background: rgba(122,175,212,0.12);
    border-color: rgba(122,175,212,0.32);
  }
  .step-card h3, .step-card p { color: var(--text-light); }
  .step-result {
    background: rgba(122,175,212,0.1);
    border-color: rgba(122,175,212,0.2);
    color: #9dc5e4;
  }
  .step-number { background: #7aafd4; color: #0f1923; }
  .video-wrapper {
    background: #0a1520;
    border-color: rgba(122,175,212,0.15);
  }

  /* ─ Quiz ─ */
  .quiz-section { background: var(--bg-mid); }
  .quiz-card {
    background: #152030;
    border-color: rgba(122,175,212,0.18);
    box-shadow: 0 4px 28px rgba(0,0,0,0.55);
  }
  .quiz-level-badge {
    background: #7aafd4;
    color: #0f1923;
  }
  .quiz-question { color: var(--text-dark); }
  .quiz-option {
    background: #0f1923;
    border-color: rgba(122,175,212,0.18);
    color: var(--text-body);
  }
  .quiz-option:hover {
    background: #1a2d42;
    border-color: #7aafd4;
    box-shadow: 0 2px 12px rgba(122,175,212,0.12);
  }
  .quiz-option.selected {
    background: #1a2d42;
    border-color: #7aafd4;
    border-left-color: #7aafd4;
    box-shadow: 0 4px 18px rgba(122,175,212,0.15);
  }
  .opt-content strong { color: var(--text-dark); }
  .opt-content small  { color: var(--text-muted); }
  .opt-img-wrap,
  .opt-img-wrap-big {
    background: rgba(122,175,212,0.1);
    border-color: rgba(122,175,212,0.22);
    color: #7aafd4;
  }
  .quiz-option.card-style strong,
  .quiz-option.card-style small { color: var(--text-light); }
  .qs {
    background: #152030;
    border-color: rgba(122,175,212,0.2);
    color: var(--text-muted);
  }
  .quiz-progress-bar { background: rgba(122,175,212,0.15); }

  /* Lead form */
  .lead-capture.quiz-card { background: #152030; }
  .gold-badge { background: #D78F5B !important; color: #0f1923 !important; }
  .magic-orb {
    background: rgba(122,175,212,0.1);
    border-color: rgba(122,175,212,0.25);
    color: #7aafd4;
  }
  .lead-form input {
    background: #0f1923;
    border-color: rgba(122,175,212,0.25);
    color: var(--text-dark);
  }
  .lead-form input:focus {
    border-color: #7aafd4;
    box-shadow: 0 0 0 3px rgba(122,175,212,0.12);
  }
  .lead-form input::placeholder { color: rgba(122,175,212,0.4); }
  .input-with-flag {
    background: #0f1923;
    border-color: rgba(122,175,212,0.25);
  }
  .input-with-flag .flag {
    background: rgba(122,175,212,0.08);
    border-right-color: rgba(122,175,212,0.2);
    color: #7aafd4;
  }
  .form-group label { color: var(--text-body); }
  .form-hint { color: var(--text-muted); }

  /* Result card */
  .result-card { background: #152030; }
  .result-badge { background: #7aafd4; color: #0f1923; }
  .result-title { color: var(--text-dark); }
  .result-product-name { color: #7aafd4; }
  .result-description { color: var(--text-muted); }
  .result-product-icon-wrap,
  .result-benefits {
    border-color: rgba(122,175,212,0.18);
  }
  .result-benefits li { border-bottom-color: rgba(122,175,212,0.1); }
  .result-benefits li { color: var(--text-body); }
  .result-price-box {
    background: #0f1923;
    border-color: rgba(122,175,212,0.22);
  }
  .price-from, .price-note { color: var(--text-muted); }
  .price-main { color: #7aafd4; }
  .result-guarantee {
    background: rgba(122,175,212,0.06);
    border-color: rgba(122,175,212,0.15);
  }
  .result-guarantee p { color: var(--text-muted); }
  .btn-store-secondary {
    border-color: rgba(122,175,212,0.35);
    color: #9dc5e4;
  }
  .btn-store-secondary:hover {
    background: #7aafd4;
    color: #0f1923;
  }

  /* Quiz nav */
  .btn-back {
    background: rgba(122,175,212,0.08);
    border-color: rgba(122,175,212,0.2);
    color: #7aafd4;
  }
  .btn-next {
    background: #7aafd4;
    color: #0f1923;
    border-color: #7aafd4;
  }
  .btn-next:hover { background: #9dc5e4; }
  .btn-next:disabled {
    background: rgba(122,175,212,0.15);
    color: rgba(122,175,212,0.3);
    border-color: transparent;
  }

  /* ─ Testimonios ─ */
  .testimonials-section {
    background: #0a1520;
    border-color: rgba(122,175,212,0.1);
  }
  .testimonial-card {
    background: #152030;
    border-color: rgba(122,175,212,0.18);
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  }
  .testimonial-text { color: var(--text-body); }
  .testimonial-result {
    background: rgba(61,206,114,0.08);
    border-color: rgba(61,206,114,0.18);
    color: #3dce72;
  }
  .author-avatar {
    background: #7aafd4;
    color: #0f1923;
  }
  .author-name { color: var(--text-dark); }
  .author-location { color: var(--text-muted); }
  .slider-dot { background: rgba(122,175,212,0.25); }
  .slider-dot.active { background: #7aafd4; }
  .btn-yt-playlist {
    color: #ff6b6b;
    border-color: rgba(255,107,107,0.3);
  }
  .btn-yt-playlist:hover { background: rgba(255,107,107,0.08); }

  /* ─ Productos ─ */
  .products-section { background: var(--bg-mid); }
  .product-card {
    background: #152030;
    border-color: rgba(122,175,212,0.18);
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  }
  .product-card:hover {
    border-color: #7aafd4;
    box-shadow: 0 8px 36px rgba(122,175,212,0.15);
  }
  .product-card.featured { border-color: #7aafd4; }
  .product-badge         { background: #7aafd4; color: #0f1923; }
  .product-badge.premium { background: #5b8ebd; color: #f0f6fc; }
  .product-badge.therapeutic { background: #9dc5e4; color: #0f1923; }
  .product-badge.starter { background: #3dce72; color: #0f1923; }
  .product-name { color: var(--text-dark); }
  .product-desc { color: var(--text-muted); }
  .product-features span { color: var(--text-body); }
  .price-value { color: #7aafd4; }
  .product-img-wrap {
    background: rgba(122,175,212,0.08);
    border-color: rgba(122,175,212,0.15);
  }
  .btn-product {
    border-color: rgba(122,175,212,0.35);
    color: #9dc5e4;
  }
  .btn-product:hover { background: #7aafd4; color: #0f1923; }
  .btn-product-wa {
    background: rgba(37,211,102,0.07);
    border-color: rgba(37,211,102,0.25);
    color: #3dce72;
  }
  .btn-product-wa:hover { background: var(--green-wa); color: white; border-color: transparent; }
  .btn-catalog {
    border-color: rgba(122,175,212,0.25);
    color: var(--text-muted);
  }
  .btn-catalog:hover { border-color: #7aafd4; color: #7aafd4; }

  /* ─ Sobre LeinaD ─ */
  .about-section {
    background: #0a1520;
    border-top-color: rgba(122,175,212,0.1);
  }
  .about-image-frame { border-color: rgba(122,175,212,0.18); }
  .about-badge-float {
    background: #152030;
    border-color: rgba(122,175,212,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.55);
  }
  .about-years { color: #7aafd4; }
  .about-years-label { color: var(--text-muted); }
  .about-text { color: var(--text-body); }
  .about-placeholder-img { background: #152030; }
  .achievement {
    border-color: rgba(122,175,212,0.12);
  }
  .achievement-icon-wrap {
    background: rgba(122,175,212,0.1);
    color: #7aafd4;
  }
  .achievement strong { color: var(--text-dark); }
  .achievement span   { color: var(--text-muted); }
  .btn-yt-about {
    background: rgba(255,77,77,0.08);
    border-color: rgba(255,77,77,0.3);
    color: #ff6b6b;
  }
  .btn-ig-about {
    background: rgba(225,48,108,0.08);
    border-color: rgba(225,48,108,0.3);
    color: #f06292;
  }

  /* ─ FAQ ─ */
  .faq-section { background: var(--bg-mid); }
  .faq-item { border-color: rgba(122,175,212,0.12); }
  .faq-question {
    color: var(--text-dark);
    background: transparent;
  }
  .faq-question:hover,
  .faq-question.open { background: rgba(122,175,212,0.06); }
  .faq-icon {
    background: rgba(122,175,212,0.1);
    color: #7aafd4;
  }
  .faq-question.open .faq-icon {
    background: #7aafd4;
    color: #0f1923;
  }
  .faq-answer {
    background: rgba(122,175,212,0.04);
  }
  .faq-answer p { color: var(--text-muted); }

  /* ─ CTA Final ─ */
  .final-cta-bg {
    background: linear-gradient(160deg, #07111a 0%, #0d1e2e 50%, #0a1520 100%);
  }
  .gradient-gold {
    background: linear-gradient(135deg, #D78F5B 0%, #f0c070 50%, #D78F5B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .countdown-wrap .countdown-label { color: rgba(200,216,232,0.55); }
  .count-unit {
    background: rgba(122,175,212,0.08);
    border-color: rgba(122,175,212,0.18);
  }
  .count-num   { color: var(--text-light); }
  .count-label { color: rgba(200,216,232,0.45); }
  .count-sep   { color: rgba(122,175,212,0.35); }
  .avatar-circle {
    background: #7aafd4;
    color: #0f1923;
    border-color: #0f1923;
  }
  .final-social-proof p { color: rgba(200,216,232,0.5); }
  .urgency-badge {
    background: rgba(255,100,100,0.1);
    border-color: rgba(255,100,100,0.25);
    color: #ff7070;
  }

  /* ─ Footer ─ */
  .footer {
    background: #07111a;
    border-top: 1px solid rgba(122,175,212,0.1);
  }
  .footer-tagline, .footer-copy { color: var(--text-muted); }
  .footer-links h4, .footer-social h4 { color: var(--text-dark); }
  .footer-links a {
    color: var(--text-muted);
  }
  .footer-links a:hover { color: #7aafd4; }
  .social-link {
    color: var(--text-muted);
    border-color: rgba(122,175,212,0.15);
  }
  .social-link:hover { color: #7aafd4; border-color: rgba(122,175,212,0.35); }
  .social-link.yt:hover  { color: #ff6b6b; }
  .social-link.ig:hover  { color: #f06292; }
  .social-link.fb:hover  { color: #7eb3ff; }
  .social-link.wa:hover  { color: #3dce72; }
  .footer-logo-icon-fa   { color: #7aafd4; }
  .footer-logo-name      { color: var(--text-light); }

  /* ─ Section tags & títulos ─ */
  .section-tag {
    background: rgba(122,175,212,0.1);
    border-color: rgba(122,175,212,0.25);
    color: #9dc5e4;
  }
  .section-tag.light {
    background: rgba(122,175,212,0.12);
    border-color: rgba(122,175,212,0.28);
    color: #c8e0f4;
  }
  .section-title { color: var(--text-dark); }
  .section-title.light { color: var(--text-light); }
  .section-subtitle { color: var(--text-muted); }
  .gradient-text {
    background: linear-gradient(135deg, #7aafd4 0%, #b8daef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* ─ WhatsApp float ─ */
  .whatsapp-float {
    box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  }

  /* ─ XP Toast ─ */
  .xp-toast-inner {
    background: #152030;
    border-color: rgba(122,175,212,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.55);
  }
  .xp-message { color: #7aafd4; }
  .xp-icon-fa { color: #7aafd4; }

  /* ─ Scrollbar ─ */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0a1520; }
  ::-webkit-scrollbar-thumb {
    background: rgba(122,175,212,0.25);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover { background: rgba(122,175,212,0.45); }

  /* ─ Selection ─ */
  ::selection {
    background: rgba(122,175,212,0.3);
    color: #e8f0f7;
  }
}


/* =====================================================
   OPTIMIZACIÓN DE LEGIBILIDAD · PC + móviles
   ===================================================== */
:root {
  --text-muted: #536273;
  --reading-max: 68ch;
  --section-padding-fluid: clamp(56px, 8vw, 104px);
}

html {
  font-size: 16px;
  scroll-padding-top: 84px;
}

body {
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--text-body);
}

section {
  scroll-margin-top: 84px;
}

.container {
  max-width: 1200px;
  padding-inline: clamp(18px, 3vw, 32px);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  transform: translateY(0);
}

.top-bar {
  backdrop-filter: blur(10px);
  background: rgba(44, 62, 80, 0.92);
}

.top-bar-inner {
  line-height: 1.45;
}

.section-tag {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  text-wrap: balance;
}

.section-subtitle,
.hero-subtitle,
.pain-intro,
.solution-desc,
.about-text,
.final-desc,
.testimonial-text,
.faq-answer p,
.result-description {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.8;
}

.pain-intro,
.solution-desc,
.about-text,
.final-desc,
.result-description {
  max-width: var(--reading-max);
}

.hero-section {
  background-position: center center;
}

.hero-content {
  max-width: 920px;
  padding: clamp(28px, 5vw, 56px) 0 clamp(34px, 6vw, 64px);
}

.hero-title {
  text-wrap: balance;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 62ch;
}

.trust-badges {
  max-width: 820px;
  margin-inline: auto;
}

.badge {
  font-size: 0.86rem;
  padding: 10px 16px;
  min-height: 44px;
}

.btn-primary-hero,
.btn-next,
.btn-back,
.btn-submit-lead,
.btn-whatsapp-primary,
.btn-store-secondary,
.btn-final-wa,
.btn-final-store,
.btn-product {
  min-height: 50px;
}

.pain-section,
.solution-section,
.quiz-section,
.testimonials-section,
.products-section,
.about-section,
.faq-section,
.final-cta-section {
  padding: var(--section-padding-fluid) 0;
}

.pain-grid,
.about-grid {
  align-items: start;
}

.stat-card.main-stat,
.testimonial-card,
.product-card,
.quiz-card,
.faq-item,
.result-price-box {
  border-radius: 16px;
}

.solution-desc,
.quiz-header p,
.result-description,
.footer-copy,
.footer-tagline,
.result-guarantee p,
.author-location,
.form-hint,
.hero-micro-copy {
  color: var(--text-muted);
}

.quiz-card {
  max-width: 780px;
  padding: 32px 28px;
}

.quiz-card-header,
.result-header,
.quiz-header {
  max-width: 64ch;
  margin-inline: auto;
}

.quiz-question {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  text-wrap: balance;
}

.quiz-sub,
.quiz-header p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.quiz-option {
  align-items: flex-start;
  padding: 16px 18px;
}

.opt-content strong {
  font-size: 1rem;
  line-height: 1.4;
}

.opt-content small,
.quiz-option.card-style small {
  font-size: 0.86rem;
  line-height: 1.5;
}

.result-card-body,
.faq-list {
  max-width: 72ch;
  margin-inline: auto;
}

.result-benefits li,
.result-guarantee {
  align-items: flex-start;
}

.testimonial-card {
  padding: 30px 26px;
}

.testimonial-text {
  font-size: 1rem;
}

.product-card {
  padding: 26px 22px;
}

.product-features span,
.result-benefits li,
.faq-question,
.footer-links a,
.social-link,
.final-social-proof p {
  font-size: 0.92rem;
}

.faq-question {
  line-height: 1.45;
}

.final-title {
  text-wrap: balance;
}

.footer-copy,
.footer-tagline {
  font-size: 0.84rem;
}

@media (max-width: 1024px) {
  .hero-section {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  html,
  section {
    scroll-padding-top: 74px;
    scroll-margin-top: 74px;
  }

  body {
    padding-bottom: 78px;
  }

  .top-bar {
    padding: 8px 12px;
  }

  .top-bar-inner {
    font-size: 0.78rem;
    gap: 6px 10px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 48px;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-text {
    text-align: center;
  }

  .trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .badge {
    justify-content: center;
    min-height: 52px;
  }

  .btn-primary-hero {
    max-width: none;
    width: 100%;
  }

  .pain-grid,
  .about-grid,
  .footer-grid {
    gap: 28px;
  }

  .video-wrapper {
    min-height: 260px;
  }

  .quiz-card,
  .testimonial-card,
  .product-card {
    padding: 24px 18px;
  }

  .quiz-options.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .input-with-flag {
    flex-direction: column;
    align-items: stretch;
  }

  .input-with-flag .flag {
    justify-content: center;
    min-height: 48px;
    border-radius: 12px 12px 0 0;
  }

  .input-with-flag input {
    border-left: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
  }

  .btn-whatsapp-primary,
  .btn-store-secondary,
  .btn-final-wa,
  .btn-final-store {
    min-height: 56px;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .section-subtitle {
    margin-bottom: 32px;
  }

  .trust-badges,
  .quiz-options.grid-2,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stat-mini-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .badge {
    width: 100%;
  }

  .quiz-option.card-style {
    text-align: left;
    align-items: center;
  }

  .opt-img-wrap-big {
    width: 52px;
    height: 52px;
  }

  .quiz-progress-wrap {
    margin-bottom: 24px;
  }

  .quiz-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .btn-next,
  .btn-back {
    width: 100%;
    justify-content: center;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .countdown-timer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .count-sep {
    display: none;
  }

  .count-unit {
    min-width: 0;
  }

  .whatsapp-float {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #particleCanvas,
  .light-particles,
  .scroll-indicator {
    display: none !important;
  }
}
