/* ==========================================================================
   IA PARA MAESTROS DE PRIMARIA — Landing page premium
   Design tokens + sistema visual completo
   ========================================================================== */

:root {
  /* --- Superficies neutras --- */
  --bg: oklch(99% 0.004 250);
  --surface: oklch(100% 0 0);
  --surface-alt: oklch(96.5% 0.008 250);
  --fg: oklch(21% 0.035 262);
  --muted: oklch(47% 0.025 260);
  --border: oklch(90% 0.012 255);

  /* --- Identidad de marca (familia azul / morado / turquesa) --- */
  --brand-navy: oklch(20% 0.075 265);
  --brand-navy-2: oklch(27% 0.09 266);
  --brand-blue: oklch(56% 0.18 253);
  --brand-purple: oklch(50% 0.185 302);
  --brand-turquoise: oklch(74% 0.125 196);

  /* --- Acento único de acción (CTA / oferta) --- */
  --accent: oklch(71% 0.185 55);
  --accent-strong: oklch(63% 0.19 48);
  --accent-text: oklch(45% 0.16 42);

  /* --- Superficies oscuras (hero / oferta) --- */
  --dark-bg: oklch(16% 0.035 264);
  --dark-surface: oklch(21% 0.045 264);
  --dark-fg: oklch(96% 0.008 250);
  --dark-muted: oklch(76% 0.02 255);
  --dark-border: oklch(100% 0 0 / 0.09);

  /* --- Semántico --- */
  --success: oklch(64% 0.15 149);
  --danger: oklch(58% 0.19 25);

  /* --- Tipografía --- */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- Radios / sombras --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px oklch(20% 0.05 260 / 0.06);
  --shadow-md: 0 12px 32px oklch(20% 0.06 260 / 0.10);
  --shadow-lg: 0 24px 64px oklch(18% 0.07 262 / 0.18);
  --shadow-glow: 0 0 0 1px oklch(71% 0.185 55 / 0.35), 0 12px 28px oklch(63% 0.19 48 / 0.35);

  --container: 1180px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

[id] { scroll-margin-top: 96px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   Media frame — contenedor de imagen con marcador editable
   Cuando la imagen real (images/*.jpg) no existe todavía, se muestra un
   marcador con degradado de marca + icono + nombre de archivo esperado,
   para que sea evidente dónde añadir la captura definitiva.
   ========================================================================== */
.media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--brand-navy), var(--brand-blue) 45%, var(--brand-purple) 85%);
}
.media-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media-frame__placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: oklch(100% 0 0 / 0.88); text-align: center; padding: 20px;
}
.media-frame__placeholder svg { width: 34px; height: 34px; opacity: 0.85; }
.media-frame__placeholder span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
  background: oklch(10% 0.02 260 / 0.35); padding: 4px 10px; border-radius: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section { position: relative; }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg { padding: 21px 44px; font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--brand-navy);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px oklch(71% 0.185 55 / 0.5), 0 20px 40px oklch(63% 0.19 48 / 0.45);
  background: linear-gradient(135deg, oklch(75% 0.185 55), var(--accent-strong));
}
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand-blue);
  background: oklch(56% 0.18 253 / 0.06);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: oklch(100% 0 0 / 0.06);
  color: var(--dark-fg);
  border: 1.5px solid var(--dark-border);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover {
  background: oklch(100% 0 0 / 0.12);
  border-color: oklch(100% 0 0 / 0.24);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ==========================================================================
   Header / navegación
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding: 16px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  /* Por defecto el header flota sobre el hero oscuro: tokens claros. */
  --hdr-fg: var(--dark-fg);
  --hdr-muted: var(--dark-muted);
  --hdr-border: var(--dark-border);
  --hdr-surface: oklch(100% 0 0 / 0.08);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(99% 0.004 250 / 0);
  backdrop-filter: blur(0px);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
  z-index: -1;
}
.site-header.is-scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  /* Tras desplazarse, el fondo pasa a claro: tokens oscuros para contraste. */
  --hdr-fg: var(--fg);
  --hdr-muted: var(--muted);
  --hdr-border: var(--border);
  --hdr-surface: var(--surface);
}
.site-header.is-scrolled::before {
  background: oklch(99% 0.004 250 / 0.86);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--hdr-fg); transition: color 0.25s ease; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple) 55%, var(--brand-turquoise));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--hdr-muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--brand-turquoise); }
.site-header.is-scrolled .nav-links a:hover { color: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta.btn-nav {
  padding: 12px 24px;
  font-size: 14.5px;
  background: var(--hdr-surface);
  color: var(--hdr-fg);
  border: 1.5px solid var(--hdr-border);
  backdrop-filter: blur(6px);
}
.nav-cta.btn-nav:hover { border-color: var(--brand-turquoise); transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--hdr-border);
  background: var(--hdr-surface);
  color: var(--hdr-fg);
  align-items: center; justify-content: center;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--dark-bg);
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-close {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--dark-border); background: transparent; color: var(--dark-fg);
  display: grid; place-items: center;
}
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.mobile-nav-links a {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--dark-fg); padding: 14px 4px; border-bottom: 1px solid var(--dark-border);
}
.mobile-nav-cta { margin-top: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-fg);
  padding: 168px 0 108px;
  overflow: hidden;
  isolation: isolate;
}
.hero-aurora {
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(38% 45% at 18% 20%, oklch(56% 0.18 253 / 0.55), transparent 70%),
    radial-gradient(42% 50% at 85% 12%, oklch(50% 0.185 302 / 0.45), transparent 70%),
    radial-gradient(45% 55% at 70% 90%, oklch(74% 0.125 196 / 0.28), transparent 70%),
    var(--dark-bg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent);
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: float-particle 9s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes float-particle {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -22px); }
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-badge {
  color: var(--accent);
  background: oklch(71% 0.185 55 / 0.12);
  border: 1px solid oklch(71% 0.185 55 / 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.hero-badge svg { width: 15px; height: 15px; }

.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  margin-top: 22px;
  letter-spacing: -0.025em;
  background: linear-gradient(100deg, #fff 30%, oklch(85% 0.05 220) 65%, oklch(80% 0.09 200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--dark-muted);
  margin-top: 22px;
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-secure {
  display: flex; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 13.5px; color: var(--dark-muted);
}
.hero-secure svg { width: 16px; height: 16px; color: var(--brand-turquoise); }

.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--dark-border);
  aspect-ratio: 3 / 2;
}
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: oklch(21% 0.045 264 / 0.85);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-fg);
  animation: float-card 6s ease-in-out infinite;
}
.hero-float-card svg { width: 20px; height: 20px; color: var(--brand-turquoise); flex-shrink: 0; }
.hero-float-card.card-a { top: 8%; left: -7%; animation-delay: 0s; }
.hero-float-card.card-b { bottom: 10%; right: -6%; animation-delay: 1.4s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Barra de confianza
   ========================================================================== */
.trust-bar { background: var(--surface); padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.trust-item.is-visible { opacity: 1; transform: translateY(0); }
.trust-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: oklch(56% 0.18 253 / 0.1); color: var(--brand-blue);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item span { font-weight: 600; font-size: 14.5px; }

/* ==========================================================================
   Encabezados de sección reutilizables
   ========================================================================== */
.section-pad { padding: 108px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { color: var(--brand-blue); justify-content: center; width: 100%; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 16px; }
.section-head p { font-size: 17.5px; color: var(--muted); margin-top: 16px; }
.on-dark .section-head p { color: var(--dark-muted); }
.on-dark .section-head .eyebrow { color: var(--brand-turquoise); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Problema
   ========================================================================== */
.problem { background: var(--surface-alt); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.problem-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.problem-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.problem-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, oklch(56% 0.18 253 / 0.14), oklch(50% 0.185 302 / 0.14));
  color: var(--brand-purple);
}
.problem-icon svg { width: 26px; height: 26px; }
.problem-card h3 { font-size: 17px; margin-bottom: 8px; }
.problem-card p { font-size: 14.5px; color: var(--muted); }
.problem-closing {
  text-align: center; margin-top: 48px; font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; max-width: 720px; margin-inline: auto;
}

/* ==========================================================================
   Transformación (antes / después)
   ========================================================================== */
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.transform-col {
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
}
.transform-col.before { background: var(--surface-alt); border: 1px solid var(--border); }
.transform-col.after {
  background: linear-gradient(160deg, var(--brand-navy), var(--brand-navy-2) 60%, oklch(30% 0.09 280));
  color: var(--dark-fg);
}
.transform-label {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
}
.transform-col.before .transform-label { background: oklch(58% 0.19 25 / 0.12); color: var(--danger); }
.transform-col.after .transform-label { background: oklch(71% 0.185 55 / 0.16); color: var(--accent); }
.transform-col ul { display: flex; flex-direction: column; gap: 16px; }
.transform-col li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.transform-col li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.transform-col.before li svg { color: var(--danger); }
.transform-col.after li svg { color: var(--brand-turquoise); }
.transform-arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--brand-blue); z-index: 2;
}
.transform-arrow svg { width: 26px; height: 26px; }

/* ==========================================================================
   Presentación del producto
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.product-copy p.lead { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 50ch; }
.product-points { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.product-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 500; }
.product-points li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }
.product-mockup { position: relative; perspective: 1400px; }
.mockup-stage { position: relative; transform-style: preserve-3d; }
.mockup-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(2deg);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
  max-width: 340px;
  margin-inline: auto;
}
.mockup-primary img { width: 100%; height: 100%; object-fit: cover; }
.mockup-pages {
  position: absolute; inset: 0; z-index: -1;
}
.mockup-pages span {
  position: absolute; top: 14px; left: 50%; width: 100%; max-width: 340px; height: 100%;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mockup-pages span:nth-child(1) { transform: translateX(-50%) rotate(-6deg); opacity: 0.7; }
.mockup-pages span:nth-child(2) { transform: translateX(-50%) rotate(4deg); opacity: 0.85; top: 8px; }
.mockup-badge {
  position: absolute; top: 20px; right: 6%;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px;
}
.mockup-badge svg { width: 20px; height: 20px; color: var(--brand-purple); }

/* ==========================================================================
   Carrusel
   ========================================================================== */
.carousel-section { background: var(--surface-alt); }
.carousel { position: relative; max-width: 920px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); touch-action: pan-y; }
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: contain; background: var(--surface);
  transition: transform 0.45s ease;
}
.carousel-slide:hover img { transform: scale(1.05); }
.carousel-caption {
  position: absolute; left: 20px; bottom: 20px;
  background: oklch(16% 0.035 264 / 0.72); color: #fff; backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--fg); z-index: 5; transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrow svg { width: 24px; height: 24px; }
.carousel-arrow:hover { background: var(--brand-blue); color: #fff; }
.carousel-arrow.prev { left: -26px; }
.carousel-arrow.next { right: -26px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dot.is-active { background: var(--brand-blue); transform: scale(1.3); }

/* ==========================================================================
   Galería "Mira lo que puedes crear"
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-card .gcard-bg {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, var(--g1), var(--g2));
}
.gallery-card .gcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, oklch(16% 0.035 264 / 0.75) 0%, transparent 55%);
}
.gallery-card .gcard-icon {
  position: absolute; top: 20px; left: 20px; width: 46px; height: 46px;
  border-radius: 12px; background: oklch(100% 0 0 / 0.16); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff;
}
.gallery-card .gcard-icon svg { width: 24px; height: 24px; }
.gallery-card .gcard-label {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.gallery-card .gcard-zoom {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: oklch(100% 0 0 / 0.16); backdrop-filter: blur(6px); display: grid; place-items: center;
  opacity: 0; transform: scale(0.7); transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-card:hover .gcard-zoom { opacity: 1; transform: scale(1); }
.gallery-card .gcard-zoom svg { width: 16px; height: 16px; color: #fff; }

/* ==========================================================================
   Beneficios
   ========================================================================== */
.benefits { background: var(--dark-bg); color: var(--dark-fg); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: var(--radius-md); padding: 28px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.benefit-card:hover { transform: translateY(-6px); border-color: oklch(74% 0.125 196 / 0.4); }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, oklch(56% 0.18 253 / 0.25), oklch(74% 0.125 196 / 0.25));
  color: var(--brand-turquoise);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h3 { font-size: 15.5px; font-weight: 600; }

/* ==========================================================================
   Bonos
   ========================================================================== */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bonus-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; text-align: center; position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bonus-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.bonus-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--accent); color: var(--brand-navy);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.bonus-cover {
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 2/3; max-width: 200px; margin: 18px auto 22px;
}
.bonus-cover img { width: 100%; height: 100%; object-fit: cover; }
.bonus-card h3 { font-size: 17px; margin-bottom: 8px; }
.bonus-card p { font-size: 14px; color: var(--muted); }
.bonus-number { font-family: var(--font-mono); font-size: 12px; color: var(--brand-purple); font-weight: 600; letter-spacing: 0.08em; }

/* ==========================================================================
   Valor del producto
   ========================================================================== */
.value-card {
  max-width: 640px; margin-inline: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.value-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 34px; border-bottom: 1px dashed var(--border); font-size: 16px;
}
.value-row .value-name { color: var(--muted); font-weight: 500; }
.value-row .value-amount { font-family: var(--font-mono); font-weight: 600; font-size: 17px; }
.value-row.total { background: var(--surface-alt); font-size: 18px; }
.value-row.total .value-name { color: var(--fg); font-weight: 600; }
.value-row.total .value-amount { text-decoration: line-through; color: var(--muted); }
.value-row.offer {
  padding: 32px 34px; flex-direction: column; align-items: center; gap: 6px;
  border-bottom: none; background: linear-gradient(160deg, var(--brand-navy), var(--brand-navy-2));
}
.value-row.offer .value-name { color: var(--dark-muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.value-row.offer .value-amount {
  font-size: clamp(40px, 6vw, 56px); color: var(--accent); font-family: var(--font-display); font-weight: 700;
}
.value-placeholder { border: 1.5px dashed oklch(71% 0.185 55 / 0.6); border-radius: var(--radius-sm); padding: 6px 16px; font-size: 14px; color: var(--accent); }

/* ==========================================================================
   Oferta premium
   ========================================================================== */
.offer {
  background: radial-gradient(90% 120% at 50% 0%, var(--brand-navy-2), var(--dark-bg) 65%);
  color: var(--dark-fg); text-align: center; overflow: hidden; position: relative;
}
.offer::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 60%;
  background: radial-gradient(50% 100% at 50% 0%, oklch(56% 0.18 253 / 0.35), transparent 70%);
  z-index: 0;
}
.offer-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.offer h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 18px; }
.offer p.offer-text { font-size: 17.5px; color: var(--dark-muted); margin-top: 18px; max-width: 56ch; margin-inline: auto; }
.offer-checklist { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 34px 0; }
.offer-checklist li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.offer-checklist li svg { width: 18px; height: 18px; color: var(--brand-turquoise); }
.offer-secure { margin-top: 20px; font-size: 13.5px; color: var(--dark-muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.offer-secure svg { width: 16px; height: 16px; color: var(--brand-turquoise); }

/* ==========================================================================
   Contador
   ========================================================================== */
.countdown-wrap { margin-top: 40px; }
.countdown-label {
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.countdown { display: flex; justify-content: center; gap: 14px; }
.countdown-unit {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm); padding: 16px 6px; min-width: 78px;
}
.countdown-unit strong {
  display: block; font-family: var(--font-mono); font-size: 32px; font-weight: 700; color: var(--dark-fg);
  font-variant-numeric: tabular-nums;
}
.countdown-unit span { display: block; font-size: 11px; color: var(--dark-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface); border: 1.5px dashed var(--border); border-radius: var(--radius-md);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--accent); }
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-quote { font-size: 15px; color: var(--muted); font-style: italic; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-alt); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--muted);
}
.testimonial-avatar svg { width: 18px; height: 18px; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-note { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; padding: 22px 26px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--fg);
}
.faq-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-alt); flex-shrink: 0; display: grid; place-items: center; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; color: var(--fg); }
.faq-icon svg { width: 15px; height: 15px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--brand-blue); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 26px 24px; font-size: 15px; color: var(--muted); max-width: 65ch; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.final-cta {
  background: linear-gradient(150deg, var(--brand-navy) 0%, var(--brand-navy-2) 45%, oklch(32% 0.1 285) 100%);
  color: var(--dark-fg); text-align: center; overflow: hidden; position: relative;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.final-cta h2 { font-size: clamp(28px, 4.2vw, 46px); }
.final-cta p { font-size: 18px; color: var(--dark-muted); margin-top: 18px; }
.final-cta .btn { margin-top: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark-bg); color: var(--dark-muted); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--dark-border); }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: var(--dark-fg); }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; color: var(--dark-fg); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 10px; color: var(--dark-muted); }
.footer-col a:hover { color: var(--dark-fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; }
.footer-hotmart { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dark-fg); }
.footer-hotmart svg { width: 16px; height: 16px; color: var(--brand-turquoise); }

/* ==========================================================================
   CTA flotante móvil
   ========================================================================== */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: oklch(99% 0.004 250 / 0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(120%); transition: transform 0.3s ease;
  display: none;
}
.floating-cta.is-visible { transform: translateY(0); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: oklch(10% 0.02 260 / 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 900px); max-height: 85vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox-custom {
  display: none; flex-direction: column; align-items: center; gap: 22px;
  width: min(90vw, 420px); aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--g1, var(--brand-blue)), var(--g2, var(--brand-purple)));
  box-shadow: var(--shadow-lg); justify-content: center; padding: 40px;
}
.lightbox-custom-icon {
  width: 84px; height: 84px; border-radius: 22px; background: oklch(100% 0 0 / 0.16);
  backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff;
}
.lightbox-custom-icon svg { width: 42px; height: 42px; }
.lightbox-custom-label { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff; text-align: center; }
.lightbox-close {
  position: absolute; top: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: oklch(100% 0 0 / 0.1); border: 1px solid oklch(100% 0 0 / 0.2); color: #fff;
  display: grid; place-items: center;
}
.lightbox-close svg { width: 22px; height: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: 1fr; }
  .transform-arrow { top: 0; left: 50%; transform: translate(-50%, -50%) rotate(90deg); }
  .product-grid { grid-template-columns: 1fr; }
  .product-mockup { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions .nav-cta { display: none; }
  .menu-toggle { display: grid; }
  .section-pad { padding: 76px 0; }
  .hero { padding: 128px 0 88px; }
  .hero-actions .btn { width: 100%; }
  .hero-float-card { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .carousel-arrow { display: none; }
  .value-row { padding: 18px 22px; }
  .offer-checklist { flex-direction: column; align-items: flex-start; padding-left: 24px; }
  .countdown-unit { min-width: 62px; padding: 12px 4px; }
  .countdown-unit strong { font-size: 24px; }
  .floating-cta { display: block; }
  body { padding-bottom: 78px; }
  .footer-cols { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
