/* ════════════════════════════════════════════════════
   META VITAL - LANDING PAGE STYLES (v2 mejorada)
   Paleta inspirada en el branding del producto:
   verde oliva natural, fondos verde-charcoal, dorado sutil.

   Todas las variables de color y tipografía están en :root
   para que puedas ajustarlas fácilmente en un solo lugar.
   ════════════════════════════════════════════════════ */

:root {
  --color-bg: #0F1410;
  --color-bg-alt: #161C18;
  --color-bg-card: #1C2320;
  --color-accent: #8FA876;
  --color-accent-hover: #A8C190;
  --color-accent-glow: rgba(143, 168, 118, 0.25);
  --color-gold: #C9A84C;
  --color-gold-glow: rgba(201, 168, 76, 0.35);
  --color-text: #E8E4DC;
  --color-text-muted: #9A958C;
  --color-text-heading: #FFFFFF;
  --color-danger: #D94F4F;
  --color-success: #6B9A4C;
  --color-border: rgba(143, 168, 118, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --section-padding: clamp(3rem, 8vw, 6rem);

  /* Duración/curva base de las animaciones de scroll-reveal */
  --reveal-duration: 0.8s;
  --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ─── BARRA DE PROGRESO DE LECTURA ───
   Línea dorada fija arriba de todo. JS actualiza su ancho
   según el porcentaje de scroll de la página. */
.progreso-lectura {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  box-shadow: 0 0 8px var(--color-gold-glow);
  z-index: 300;
  pointer-events: none;
  transition: width 0.15s linear;
}

/* ─── TOPBAR ─── */
.topbar {
  background: linear-gradient(90deg, var(--color-accent), var(--color-success));
  color: #fff;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(15, 20, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-heading);
  letter-spacing: 0.05em;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 100vw;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Entrada escalonada del hero: badge → título → texto → CTA */
.hero-badge,
.hero h1,
.hero-sub,
.hero .scroll-link {
  animation: fadeInUp 0.8s var(--reveal-ease) both;
}
.hero h1          { animation-delay: 0.12s; }
.hero-sub         { animation-delay: 0.24s; }
.hero .scroll-link { animation-delay: 0.38s; }

.hero-badge {
  display: inline-block;
  background: rgba(143, 168, 118, 0.12);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 0 2rem;
  font-weight: 300;
  line-height: 1.75;
}
.hero-sub strong { color: var(--color-text); font-weight: 500; }

.hero-image {
  position: relative;
  animation: fadeInUp 1s var(--reveal-ease) 0.2s both;
}
.hero-image img {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 80px var(--color-accent-glow));
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

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

/* ─── SCROLL LINK ─── */
.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-accent);
  transition: all 0.3s;
}
.scroll-link:hover {
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(2px);
}

/* ─── CTA BUTTON ─── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-accent);
  color: #0F1410;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2.4rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px var(--color-accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.cta-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--color-accent-glow);
}
.cta-btn:active { transform: translateY(-1px) scale(0.98); }
.cta-btn:hover::before { left: 100%; }
.cta-btn-large {
  font-size: 1.1rem;
  padding: 1.3rem 3rem;
}
.cta-btn-sub {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Pulso dorado que "despierta" los CTAs cuando el usuario
   llega a la sección de oferta (body.oferta-desbloqueada). */
@keyframes pulsoDorado {
  0%   { box-shadow: 0 4px 25px var(--color-accent-glow), 0 0 0 0 var(--color-gold-glow); }
  70%  { box-shadow: 0 4px 25px var(--color-accent-glow), 0 0 0 22px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 4px 25px var(--color-accent-glow), 0 0 0 0 rgba(201, 168, 76, 0); }
}
.oferta-desbloqueada .cta-btn {
  animation: pulsoDorado 1.4s ease-out 2;
}

/* ─── PACKAGE SECTION ─── */
.package-section {
  padding: var(--section-padding) 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.package-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  max-width: 100vw;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.package-section .container { position: relative; z-index: 1; }

.package-mockup-image {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px var(--color-accent-glow);
  transition: transform 0.5s ease;
}
.package-mockup-image:hover {
  transform: scale(1.01);
}
.package-mockup-image img {
  width: 100%;
  height: auto;
}

.value-stack {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.value-item {
  padding: 0 2rem;
}
.value-divider {
  width: 1px;
  background: var(--color-border);
  align-self: stretch;
}
.value-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.old-price-big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
}
.new-price-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}
/* El precio nuevo hace un pequeño "pop" cuando la sección entra en pantalla */
.package-section.visible .new-price-big {
  animation: popPrecio 0.7s var(--reveal-ease) 0.4s both;
}
@keyframes popPrecio {
  0%   { opacity: 0; transform: scale(0.7); }
  60%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── SECTION TITLES ─── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 0.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* ─── FOR YOU ─── */
.for-you { padding: var(--section-padding) 0; }
.for-you-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.for-you-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.for-you-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}
.for-you-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}
.for-you-item:hover::before { transform: scaleY(1); }
.for-you-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.for-you-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.for-you-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── PAIN SECTION (logros) ─── */
.pain-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.pain-list {
  max-width: 680px;
  margin: 0 auto;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pain-item:last-child { border-bottom: none; }
.pain-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  font-size: 0.85rem;
  font-weight: 700;
}
/* El check hace un pequeño rebote al aparecer */
.stagger.visible .pain-check {
  animation: checkPop 0.5s var(--reveal-ease) both;
  animation-delay: inherit;
}
@keyframes checkPop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.pain-item p {
  font-size: 1.02rem;
  color: var(--color-text);
  line-height: 1.65;
}

/* ─── VIDEO SECTION (David Giraldo) ─── */
.video-section {
  padding: var(--section-padding) 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.video-badge {
  display: inline-block;
  background: rgba(143, 168, 118, 0.12);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.video-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* Marco "cinematográfico": doble borde con degradado dorado/oliva,
   glow amplio y chip de autenticidad flotando sobre la esquina. */
.video-cinema {
  position: relative;
  padding-top: 1rem;
}
.video-chip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: linear-gradient(90deg, var(--color-gold), #E0C36E);
  color: #1a1508;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 25px var(--color-gold-glow);
  white-space: nowrap;
}
.video-frame {
  position: relative;
  padding-bottom: 56.25%; /* aspect ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  outline: 1px solid var(--color-border);
  outline-offset: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 60px var(--color-accent-glow), 0 0 30px var(--color-gold-glow);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Facade: miniatura + botón de play. El iframe real se inyecta al clic. */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #000;
  display: block;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.5s ease;
}
.video-facade:hover img {
  opacity: 1;
  transform: scale(1.03);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 35px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s;
}
/* Anillo pulsante alrededor del play para invitar al clic */
.video-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  opacity: 0.6;
  animation: anilloPlay 2s ease-out infinite;
}
@keyframes anilloPlay {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}
.video-facade:hover .video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-gold);
}
.video-play-triangle {
  width: 0;
  height: 0;
  border-left: 22px solid #1a1508;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.video-caption {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ─── TESTIMONIOS (6 piezas individuales) ─── */
.testimonials { padding: var(--section-padding) 0; }

/* Móvil (base): carrusel horizontal deslizable con scroll-snap */
.testimonios-carrusel {
  display: flex;
  align-items: flex-start; /* evita que las tarjetas se estiren a la altura del testimonio más alto */
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.3rem 0.2rem 1rem;
  scrollbar-width: none; /* Firefox: oculta la barra de scroll */
}
.testimonios-carrusel::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.testimonio-item {
  flex: 0 0 84%;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.testimonio-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 30px var(--color-accent-glow);
}
.testimonio-item img { width: 100%; }

/* Puntos indicadores del carrusel (móvil) */
.testimonios-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.testimonios-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.testimonios-dots button.activo {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* Desktop: grid de 3 columnas, sin carrusel ni puntos */
@media (min-width: 768px) {
  .testimonios-carrusel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start; /* cada tarjeta con la altura de su propia imagen */
    gap: 1.2rem;
    overflow: visible;
    padding: 0;
  }
  .testimonio-item { flex: none; }
  .testimonios-dots { display: none; }
}

.testimonials-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: var(--section-padding) 0;
  text-align: center;
}
.cta-section .container { text-align: center; }
.cta-final {
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.cta-final-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 2rem;
}

/* ─── PRODUCT DETAIL ─── */
.product-detail {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.product-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
}
.product-mock-wrap {
  display: flex;
  justify-content: center;
}
.product-mock-wrap img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5)) drop-shadow(0 0 40px var(--color-accent-glow));
  transition: transform 0.5s ease;
}
.product-mock-wrap img:hover { transform: scale(1.03); }
.product-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-tagline {
  color: var(--color-accent);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
}
.product-info p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.product-features { list-style: none; }
.product-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.product-features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ─── BONUSES ─── */
.bonuses { padding: var(--section-padding) 0; }
.bonus-tag-wrap {
  text-align: center;
  margin-bottom: 1rem;
}
.bonus-tag-header {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bonus-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  transition: all 0.3s;
}
.bonus-card:hover {
  border-color: var(--color-accent);
  transform: translateX(5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}
.bonus-image {
  display: flex;
  justify-content: center;
}
.bonus-image img {
  max-height: 200px;
  width: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
  transition: transform 0.3s;
}
.bonus-card:hover .bonus-image img { transform: scale(1.05); }
.bonus-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.bonus-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.bonus-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.bonus-value {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.bonus-value .strike {
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.bonus-value .free {
  background: var(--color-success);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

/* ─── ORDER BUMPS ─── */
.order-bumps {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.bump-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--color-bg-card);
  border: 2px dashed var(--color-accent);
  border-radius: 16px;
  padding: 2rem;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bump-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}
.bump-card::after {
  content: 'OFERTA';
  position: absolute;
  top: 15px;
  right: -38px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 3rem;
  transform: rotate(45deg);
  letter-spacing: 0.15em;
}
.bump-image img {
  max-height: 180px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.4));
}
.bump-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.bump-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.bump-price-block { text-align: center; }
.bump-original {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  display: block;
}
.bump-current {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin: 0.3rem 0;
}
.bump-save {
  background: rgba(107, 154, 76, 0.15);
  color: var(--color-success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── RECAP / OFERTA (#oferta — punto de desbloqueo) ─── */
.recap { padding: var(--section-padding) 0; }
.recap-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.recap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}
.recap-item:last-of-type { border-bottom: none; }
.recap-item-name {
  font-size: 0.95rem;
  color: var(--color-text);
}
.recap-item-value {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  flex-shrink: 0;
}
.recap-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 0.5rem;
  border-top: 2px solid var(--color-accent);
  margin-top: 1rem;
  gap: 1rem;
}
.recap-total-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading);
}
.recap-total-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-block;
}
/* El total hace "pop" cuando la lista termina de aparecer */
.recap .stagger.visible .recap-total-price {
  animation: popPrecio 0.7s var(--reveal-ease) 0.7s both;
}
.recap-savings {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-success);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ─── GUARANTEE ─── */
.guarantee {
  padding: var(--section-padding) 0;
  text-align: center;
}
.guarantee-box {
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 40px var(--color-accent-glow);
}
.guarantee-shield {
  width: 90px;
  height: 90px;
  background: var(--color-accent);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 10px 30px var(--color-accent-glow);
}
.guarantee-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-heading);
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.guarantee-time {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.guarantee-box p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── SCARCITY ─── */
.scarcity {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.scarcity-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.scarcity-counter {
  max-width: 550px;
  margin: 2rem auto 0;
}
.scarcity-bar-bg {
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  height: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
}
.scarcity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-danger));
  border-radius: 50px;
  width: 0;
  transition: width 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.scarcity-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
/* Etiqueta "78%" dentro de la barra; aparece cuando la barra ya se llenó */
.scarcity-bar-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  padding-right: 0.8rem;
  opacity: 0;
  transition: opacity 0.5s ease 2s;
  position: relative;
  z-index: 1;
}
.scarcity.visible .scarcity-bar-label { opacity: 1; }
/* Marcas de referencia debajo de la barra */
.scarcity-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  padding: 0 0.4rem;
}
.scarcity-text {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.scarcity-text strong { color: var(--color-danger); font-weight: 700; }
.scarcity-cta { margin-top: 2.5rem; }

/* ─── FAQ ─── */
.faq { padding: var(--section-padding) 0; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  background: var(--color-bg-card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--color-accent); }
.faq-item.active { border-color: var(--color-accent); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 1.3rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-icon {
  font-size: 1.6rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.35s var(--reveal-ease);
  font-weight: 300;
}
/* La altura real la calcula JS (scrollHeight) para una
   transición fluida sin cortes en respuestas largas. */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--reveal-ease);
}
.faq-answer p {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ─── FOOTER ─── */
.footer {
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 50px;
  width: auto;
  margin: 0 auto;
}
.footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}
.footer a {
  color: var(--color-accent);
  text-decoration: none;
}
.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── STICKY CTA (móvil, aparece tras el desbloqueo de la oferta) ─── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 20, 16, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  border-top: 1px solid var(--color-border);
  z-index: 100;
  text-align: center;
  display: none;
  transition: transform 0.35s var(--reveal-ease);
  transform: translateY(100%);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .cta-btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

/* ─── ANIMACIONES DE SCROLL-REVEAL ───
   Los elementos solo se ocultan si <html> tiene la clase "js"
   (la agrega un script inline en el head). Sin JavaScript,
   todo el contenido es visible desde el inicio. */
.js .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}
.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: los hijos del contenedor entran uno tras otro.
   JS agrega .visible al contenedor; el retraso lo da nth-child. */
.js .stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--reveal-ease),
              transform 0.6s var(--reveal-ease);
}
.js .stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.js .stagger.visible > *:nth-child(1) { transition-delay: 0s;    animation-delay: 0s; }
.js .stagger.visible > *:nth-child(2) { transition-delay: 0.08s; animation-delay: 0.08s; }
.js .stagger.visible > *:nth-child(3) { transition-delay: 0.16s; animation-delay: 0.16s; }
.js .stagger.visible > *:nth-child(4) { transition-delay: 0.24s; animation-delay: 0.24s; }
.js .stagger.visible > *:nth-child(5) { transition-delay: 0.32s; animation-delay: 0.32s; }
.js .stagger.visible > *:nth-child(6) { transition-delay: 0.40s; animation-delay: 0.40s; }
.js .stagger.visible > *:nth-child(7) { transition-delay: 0.48s; animation-delay: 0.48s; }
.js .stagger.visible > *:nth-child(8) { transition-delay: 0.56s; animation-delay: 0.56s; }

/* Entradas laterales (producto principal y bonos en zigzag) */
.js .slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}
.js .slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}
.js .slide-left.visible,
.js .slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE - MOBILE FIRST ADJUSTMENTS
   ════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .for-you-grid { grid-template-columns: 1fr; }
  .product-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 1rem;
  }
  .product-features li { text-align: left; }
  .guarantee-box { padding: 2rem 1.5rem; }
  .bonus-card { padding: 1.5rem; }
  .bump-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .value-divider { display: none; }
  .value-stack { gap: 1.5rem; }
  .value-item { padding: 0; }
  .video-chip { font-size: 0.62rem; padding: 0.4rem 0.8rem; }
  .video-play { width: 64px; height: 64px; }
  .video-play-triangle {
    border-left-width: 18px;
    border-top-width: 11px;
    border-bottom-width: 11px;
  }
}

/* Small mobile */
@media (max-width: 640px) {
  .bonus-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-logo-text { font-size: 1.2rem; }
  .topbar { font-size: 0.7rem; }
}

/* Print styles - por si alguien la imprime */
@media print {
  .sticky-cta, .topbar, .nav, .progreso-lectura { display: none; }
  body { background: #fff; color: #000; }
}

/* Reduce motion para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
}
