/* Núcleo IA — landing demo
   Línea gráfica: blanco, verde oscuro y lima de acento. Jost (≈ Futura). */

:root {
  --white: #FFFFFF;
  --ink: #14340E;
  --lime: #C8FF00;
  --soft: #F1FAE2;
  --muted: #5F6E5A;
  --line: #E2E8DE;
  --ink-2: #1E4616;
  --radius: 36px;
  --radius-sm: 22px;
  --shadow: 0 24px 60px -28px rgba(20, 52, 14, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Jost", "Futura", "Futura PT", system-ui, sans-serif;
  font-weight: 450;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.6vw, 54px); }
h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

/* El lima nunca como color de texto sobre blanco: siempre caja detrás de la palabra clave */
.hl {
  background: var(--lime);
  color: var(--ink);
  padding: 0 .16em;
  border-radius: .2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--soft { background: var(--soft); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.center { text-align: center; margin-inline: auto; }
.stack-s > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Componentes ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__pill {
  background: var(--lime); color: var(--ink); font-weight: 700; font-size: 20px;
  padding: 6px 18px 7px; border-radius: 999px; letter-spacing: -.01em;
}
.brand__star {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center;
}
.brand__star svg { width: 20px; height: 20px; fill: var(--lime); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 19px; letter-spacing: -.005em;
  padding: 18px 34px; border-radius: 999px; border: 0;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 34px -12px rgba(150, 200, 0, .75), inset 0 -3px 0 rgba(20, 52, 14, .12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(150, 200, 0, .85), inset 0 -3px 0 rgba(20, 52, 14, .12); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 21px; padding: 21px 40px; }
.btn--block { width: 100%; }
.btn--sm { font-size: 16px; padding: 11px 20px; box-shadow: none; }
.btn--ghost { background: transparent; border: 2px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid var(--line); border-radius: 999px;
  padding: 8px 18px 8px 9px; font-weight: 600; font-size: 16px;
}
.chip__check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--lime);
  display: grid; place-items: center; flex: none;
}
.chip__check svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 3; fill: none; }

.card {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(26px, 3.4vw, 40px);
}
.dark {
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: clamp(30px, 4.6vw, 56px);
}
.dark .muted, .dark p { color: rgba(255, 255, 255, .78); }

.dot { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; font-weight: 500; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4FA21B; }

/* Íconos 3D en negro y lima */
.ico {
  width: 64px; height: 64px; border-radius: 20px; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 28% 18%, #3B3F38 0%, #121410 55%, #050604 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .18), inset 0 -6px 12px rgba(0, 0, 0, .55), 0 14px 26px -10px rgba(20, 52, 14, .55);
}
.ico svg {
  width: 30px; height: 30px; fill: none; stroke: var(--lime); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(200, 255, 0, .45));
}

/* ---------- Barra de oferta + header ---------- */
.topbar {
  background: var(--ink); color: var(--white); font-size: 15px; font-weight: 500;
  text-align: center; padding: 9px var(--gutter);
}
.topbar a { color: var(--lime); font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar strong { color: var(--white); font-weight: 700; }
.topbar .cd-inline { font-variant-numeric: tabular-nums; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.header__nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.header__nav a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .2s; }
.header__nav a:not(.btn):hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); text-align: center;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(200, 255, 0, .22), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(200, 255, 0, .12), transparent 70%);
}
.hero h1 { max-width: 15.5em; margin: 22px auto 0; }
.hero__video { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 980px; }
.hero__copy { margin: clamp(26px, 3.4vw, 40px) auto 0; max-width: 700px; }
.hero__price { margin-top: 26px; display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__price b { font-size: 34px; letter-spacing: -.02em; }
.hero__price s { color: var(--muted); font-size: 20px; }
.save { background: var(--soft); border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; padding: 4px 12px; }
.hero__cta { margin-top: 18px; }
.meta { margin-top: 18px; color: var(--muted); font-size: 16px; font-weight: 500; }
.meta span + span::before { content: "·"; margin: 0 10px; }

/* Reproductor */
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #0d1a0a; box-shadow: 0 40px 80px -36px rgba(20, 52, 14, .55); border: 2px solid var(--line);
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__cover {
  position: absolute; inset: 0; border: 0; padding: 0; background: transparent;
  display: grid; place-items: center;
}
.player__cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 26, 7, .55));
}
.player__play {
  position: relative; width: clamp(76px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--lime); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(200, 255, 0, .55); animation: pulse 2.4s var(--ease) infinite;
  transition: transform .4s var(--ease);
}
.player__play svg { width: 36%; height: 36%; fill: var(--ink); margin-left: 7%; }
.player__cover:hover .player__play { transform: scale(1.07); }
.player__label {
  position: absolute; left: 50%; bottom: clamp(14px, 3vw, 28px); transform: translateX(-50%);
  background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px;
  padding: 7px 16px; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.player.is-playing .player__cover { display: none; }
.player__end {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center;
  background: rgba(20, 52, 14, .9); color: var(--white); padding: 24px;
}
.player__end p { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin-bottom: 18px; color: var(--white); }
.player__end .replay { margin-top: 14px; background: none; border: 0; color: rgba(255, 255, 255, .8); text-decoration: underline; font-size: 15px; }
.player.is-ended .player__end { display: grid; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 0, .6); }
  70% { box-shadow: 0 0 0 26px rgba(200, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 0, 0); }
}

/* ---------- Problema ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pain { border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 16px; background: var(--white); }
.pain::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 700; vertical-align: 1px; }
.statement { margin-top: clamp(40px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.statement h3 { font-size: clamp(26px, 3.4vw, 40px); color: var(--white); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); margin: clamp(36px, 5vw, 56px) auto 0; max-width: 920px; }
.reel { margin: 0; }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--ink);
  border: 2px solid var(--line); box-shadow: var(--shadow);
}
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel__tag {
  position: absolute; top: 14px; left: 14px; background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 15px; padding: 5px 13px; border-radius: 999px;
}
.reel figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; padding-inline: 6px; }
.reel figcaption b { color: var(--ink); display: block; font-size: 18px; }
.after-gallery { margin-top: clamp(32px, 5vw, 52px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 56px); counter-reset: step; }
.step { position: relative; padding: 30px 26px 30px; }
.step__n { position: absolute; top: 26px; right: 26px; font-weight: 700; color: var(--line); font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.step h3 { margin-top: 26px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Para quién ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; font-weight: 500;
}
.checklist .chip__check { margin-top: 1px; }
.who-note { margin-top: 0; }
.who-note h3 { color: var(--white); font-size: clamp(24px, 2.8vw, 32px); }
.who-note p { margin-top: 14px; }

/* ---------- Oferta ---------- */
.offer { display: grid; grid-template-columns: 1fr 460px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.includes li { display: flex; gap: 18px; align-items: flex-start; }
.includes .ico { width: 54px; height: 54px; border-radius: 17px; }
.includes .ico svg { width: 25px; height: 25px; }
.includes b { display: block; font-size: 19px; line-height: 1.3; }
.includes span { color: var(--muted); font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.fact { background: var(--soft); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.fact small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.fact b { font-size: 17px; line-height: 1.35; display: block; margin-top: 2px; }

.price-card { position: sticky; top: 96px; padding: clamp(26px, 3vw, 36px); }
.price-card__regular { color: rgba(255, 255, 255, .7); font-weight: 500; }
.price-card__regular s { color: rgba(255, 255, 255, .7); }
.price-card__now { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price-card__now b { font-size: clamp(64px, 7vw, 84px); line-height: 1; letter-spacing: -.04em; color: var(--white); }
.price-card__now span { color: rgba(255, 255, 255, .78); font-weight: 500; white-space: nowrap; }
.price-card .badge { display: inline-block; margin-top: 14px; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 16px; }
.price-card__until { margin-top: 18px; font-size: 16px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.countdown div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; text-align: center; padding: 10px 4px 8px; }
.countdown b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--white); }
.countdown small { font-size: 13px; color: rgba(255, 255, 255, .7); }

.groups { border: 0; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.groups legend { font-weight: 600; font-size: 16px; margin-bottom: 10px; color: var(--white); padding: 0; }
.group { position: relative; display: block; cursor: pointer; }
.group input { position: absolute; opacity: 0; pointer-events: none; }
.group__box {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  border: 2px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 14px 16px;
  transition: border-color .25s, background .25s;
}
.group__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); margin-top: 3px; display: grid; place-items: center; }
.group__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.group__box b { display: block; color: var(--white); font-size: 18px; line-height: 1.3; }
.group__box span { font-size: 15px; color: rgba(255, 255, 255, .72); }
.group input:checked + .group__box { border-color: var(--lime); background: rgba(200, 255, 0, .08); }
.group input:checked + .group__box .group__radio { background: var(--lime); border-color: var(--lime); }
.group input:checked + .group__box .group__radio::after { transform: scale(1); }
.group input:focus-visible + .group__box { outline: 3px solid var(--lime); outline-offset: 3px; }
.group input:disabled + .group__box { opacity: .45; cursor: not-allowed; }
.group__closed { display: none; margin-left: 6px; font-weight: 600; color: var(--lime) !important; }
.group input:disabled + .group__box .group__closed { display: inline; }

.price-card .btn { margin-top: 20px; }
.price-card__fine { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); text-align: center; }
.pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.pay span { font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 4px 11px; color: rgba(255, 255, 255, .86); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: clamp(32px, 5vw, 52px) auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 2px solid var(--line); border-radius: 26px; transition: border-color .25s; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314340E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease), background-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq details > div { padding: 0 26px 24px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }
.faq a { color: var(--ink); font-weight: 600; }

/* ---------- Cierre ---------- */
.final { text-align: center; padding: clamp(48px, 8vw, 96px) clamp(22px, 5vw, 64px); position: relative; overflow: hidden; }
.final::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(200, 255, 0, .28), transparent 65%);
}
.final > * { position: relative; }
.final h2 { color: var(--white); max-width: 14em; margin-inline: auto; }
.final h2 .hl { color: var(--ink); }
.final p { max-width: 600px; margin: 20px auto 0; font-size: clamp(18px, 1.6vw, 21px); }
.final .brand { margin-top: 32px; }
.final .btn { margin-top: 26px; }
.final .meta { color: rgba(255, 255, 255, .72); }
.final__ask { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.final__ask a { color: var(--lime); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.final__ask a svg { width: 20px; height: 20px; fill: var(--lime); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 2px solid var(--line); font-size: 16px; color: var(--muted); }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; font-weight: 500; }
.footer a:hover { color: var(--ink); }
.footer .brand__pill { font-size: 17px; }
.footer .brand__star { width: 32px; height: 32px; }
.footer .brand__star svg { width: 17px; height: 17px; }
.footer__legal { margin-top: 18px; font-size: 14px; }

/* ---------- CTA fija en móvil ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--white); border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: 0 18px 40px -12px rgba(20, 52, 14, .6);
  transform: translateY(165%); transition: transform .5s var(--ease);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta__price { line-height: 1.1; }
.sticky-cta__price b { font-size: 22px; display: block; }
.sticky-cta__price s { font-size: 14px; color: rgba(255, 255, 255, .7); }
.sticky-cta .btn { padding: 13px 20px; font-size: 16px; box-shadow: none; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px;
  background: var(--white); border: 2px solid var(--line); border-radius: 26px; box-shadow: var(--shadow);
  padding: 20px 22px; font-size: 15px; color: var(--muted); display: none;
}
.cookies.is-on { display: block; }
.cookies p a { color: var(--ink); font-weight: 600; }
.cookies__btns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Páginas legales ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.legal__head { max-width: 760px; }
.legal__head p { margin-top: 16px; color: var(--muted); }
.legal__body { max-width: 760px; margin-top: 40px; }
.legal__body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 44px; letter-spacing: -.015em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #354631; }
.legal__body p { margin-top: 14px; }
.legal__body ul { padding-left: 22px; margin: 14px 0 0; }
.legal__body li + li { margin-top: 8px; }
.legal__body strong { color: var(--ink); }
.legal__body a { font-weight: 600; }
.legal__box { margin-top: 28px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--muted); font-size: 16px; }
.back:hover { color: var(--ink); }

/* ---------- Reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; }
  .price-card { position: relative; top: 0; max-width: 560px; width: 100%; margin-inline: auto; }
  .offer__price { order: -1; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .header__nav a:not(.btn) { display: none; }
  .split { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: center; }
  .facts { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .cookies { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; padding: 14px 16px; font-size: 14px; border-radius: 22px; }
  .cookies__btns { margin-top: 10px; }
  .topbar { font-size: 14px; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .header__in { height: 64px; }
  .brand__pill { font-size: 18px; padding: 5px 15px 6px; }
  .brand__star { width: 34px; height: 34px; }
  .header .btn--sm { font-size: 15px; padding: 10px 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 24px 22px; }
  .step .ico { grid-row: span 2; }
  .step h3 { margin-top: 2px; }
  .step__n { display: none; }
  .player { border-radius: 24px; }
  .player__label { font-size: 14px; }
  .hero .btn--lg { width: 100%; }
  .meta { font-size: 15px; }
  .meta span { display: block; }
  .meta span + span::before { content: none; }
  .hero .meta span:first-child { color: var(--ink); font-weight: 600; }
  .faq summary { padding: 18px 20px; font-size: 18px; }
  .faq details > div { padding: 0 20px 20px; }
  .btn--lg { font-size: 19px; padding: 19px 28px; }
  .final .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Capa visual y de animación
   ===================================================================== */

/* Barra de progreso de lectura */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Títulos que entran palabra por palabra */
.w { position: relative; z-index: 1; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .32em; margin-bottom: -.32em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(165%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-split].reveal { opacity: 1; transform: none; }

/* La caja lima se pinta de izquierda a derecha */
.js .reveal .hl, .js [data-split] .hl {
  background-color: transparent;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat; background-position: 0 50%; background-size: 0% 100%;
  transition: background-size 1s var(--ease) .45s;
}
.js .reveal.is-in .hl, .js [data-split].is-in .hl { background-size: 100% 100%; }

/* Brillo que recorre los botones grandes */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--lg::after, .price-card .btn::after {
  content: ""; position: absolute; inset: -20% auto -20% -40%; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg) translateX(-120%); animation: shine 4.2s var(--ease) infinite 1.2s;
}
@keyframes shine { 0%, 55% { transform: skewX(-20deg) translateX(-160%); } 85%, 100% { transform: skewX(-20deg) translateX(560%); } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(20, 52, 14, .13) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.blob--a { width: 460px; height: 460px; background: rgba(200, 255, 0, .45); top: -140px; right: -120px; animation: drift-a 16s ease-in-out infinite alternate; }
.blob--b { width: 380px; height: 380px; background: rgba(200, 255, 0, .28); top: 260px; left: -180px; animation: drift-b 19s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-120px, 120px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(140px, -60px) scale(.9); } }
.hero .wrap { position: relative; z-index: 1; }

.spark { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; z-index: 1; pointer-events: none; box-shadow: 0 12px 24px -8px rgba(20, 52, 14, .5); }
.spark svg { width: 24px; height: 24px; fill: var(--lime); animation: spin 9s linear infinite; }
.spark--1 { top: 118px; left: 7%; animation: bob 5s ease-in-out infinite; }
.spark--2 { top: 210px; right: 6%; width: 34px; height: 34px; animation: bob 6s ease-in-out infinite -2s; }
.spark--2 svg { width: 17px; height: 17px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__video { position: relative; perspective: 1400px; }
.player { transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1)); transform-origin: 50% 0; will-change: transform; transition: box-shadow .4s; }
.player.is-playing { transform: none; }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 7px; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(20, 52, 14, .35);
  translate: var(--px, 0) var(--py, 0);
  animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s);
}
.float-chip .ico { width: 36px; height: 36px; border-radius: 12px; }
.float-chip .ico svg { width: 18px; height: 18px; stroke-width: 2.4; }
.float-chip--1 { top: 9%; left: -7%; --bd: 0s; }
.float-chip--2 { top: 52%; left: -10%; --bd: -1.5s; }
.float-chip--3 { top: 14%; right: -8%; --bd: -3s; }
.float-chip--4 { bottom: 16%; right: -9%; --bd: -4.5s; }
.js .float-chip { opacity: 0; scale: .6; transition: opacity .7s var(--ease), scale .9s cubic-bezier(.34, 1.56, .64, 1); }
.js .hero__video.is-in .float-chip { opacity: 1; scale: 1; }
.hero__video.is-in .float-chip--1 { transition-delay: .5s; }
.hero__video.is-in .float-chip--2 { transition-delay: .65s; }
.hero__video.is-in .float-chip--3 { transition-delay: .8s; }
.hero__video.is-in .float-chip--4 { transition-delay: .95s; }

/* ---------- Bandas en movimiento ---------- */
.bands { position: relative; overflow: hidden; padding: 64px 0; margin-top: -44px; z-index: 2; }
.marquee { display: flex; overflow: hidden; padding: 16px 0; width: 104%; margin-left: -2%; }
.marquee--dark { background: var(--ink); color: var(--white); transform: rotate(-3deg); position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(20, 52, 14, .6); }
.marquee--lime { background: var(--lime); color: var(--ink); transform: rotate(3.2deg); position: absolute; left: 0; top: 50%; translate: 0 -50%; z-index: 1; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; animation: marquee 32s linear infinite; }
.marquee--lime .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee__track span { font-weight: 700; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__track svg { width: 22px; height: 22px; flex: none; }
.marquee--dark svg { fill: var(--lime); }
.marquee--lime svg { fill: var(--ink); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Problema ---------- */
.js .pain { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .6s var(--ease), transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.js .is-in .pain { opacity: 1; transform: none; }
.js .is-in .pain:nth-child(1) { transition-delay: .35s; }
.js .is-in .pain:nth-child(2) { transition-delay: .5s; }
.js .is-in .pain:nth-child(3) { transition-delay: .65s; }
.pain { display: inline-block; }
.is-in .pain:nth-child(1) { animation: wobble 5s ease-in-out infinite 1.4s; }
.is-in .pain:nth-child(2) { animation: wobble 5.6s ease-in-out infinite 2s; }
.is-in .pain:nth-child(3) { animation: wobble 6s ease-in-out infinite 2.6s; }
@keyframes wobble { 0%, 100% { rotate: 0deg; translate: 0 0; } 30% { rotate: -1.5deg; translate: 0 -4px; } 60% { rotate: 1.2deg; translate: 0 2px; } }

.statement { position: relative; overflow: hidden; }
.statement .spark { position: relative; top: auto; left: auto; right: auto; width: 54px; height: 54px; background: var(--lime); flex: none; animation: none; }
.statement .spark svg { fill: var(--ink); width: 26px; height: 26px; }
.statement__l { display: flex; align-items: center; gap: 18px; }

/* Brillo que sigue al cursor en los bloques oscuros */
.dark { position: relative; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 0%), rgba(200, 255, 0, .16), transparent 60%);
  transition: opacity .4s;
}

/* ---------- Galería en abanico (desktop) ---------- */
.reel__frame { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.reel__badge {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 52, 14, .82); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 5px 11px 5px 7px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.reel__badge svg { width: 14px; height: 14px; fill: var(--lime); animation: spin 6s linear infinite; }
@media (min-width: 821px) {
  .gallery { perspective: 1600px; }
  .reel { transform: translateY(var(--ry, 0px)); }
  .reel:nth-child(1) .reel__frame { transform: rotate(-5deg) translateY(28px); }
  .reel:nth-child(3) .reel__frame { transform: rotate(5deg) translateY(28px); }
  .reel:nth-child(2) .reel__frame { transform: scale(1.04); box-shadow: 0 40px 80px -30px rgba(20, 52, 14, .45); }
  .reel:hover .reel__frame { transform: rotate(0) translateY(-8px) scale(1.03); box-shadow: 0 40px 80px -30px rgba(20, 52, 14, .5); }
  .reel figcaption { margin-top: 46px; text-align: center; }
}

/* ---------- Proceso: línea de tiempo ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 56px); }
.timeline::before, .timeline__fill { content: ""; position: absolute; top: 50%; left: 12.5%; right: 12.5%; height: 3px; translate: 0 -50%; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline__fill { background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); }
.timeline__node {
  position: relative; justify-self: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line); display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: var(--muted); transition: background .4s, color .4s, border-color .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.timeline__node.is-on { background: var(--lime); border-color: var(--ink); color: var(--ink); transform: scale(1.12); }
.timeline + .steps { margin-top: 22px; }

.js .step .ico { transform: scale(.4) rotate(-25deg); opacity: 0; transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + .2s), opacity .5s calc(var(--d, 0s) + .2s); }
.js .step.is-in .ico { transform: none; opacity: 1; }
.step { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; transform-style: preserve-3d; }
.step:hover { border-color: var(--ink); box-shadow: 0 34px 60px -30px rgba(20, 52, 14, .35); }
.step:hover .ico { animation: bob 1.6s ease-in-out infinite; }

/* Cifras */
.stats { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: clamp(26px, 3.6vw, 44px); }
.stat { text-align: center; padding: 6px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat b { display: block; font-size: clamp(42px, 5.6vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .8); }

/* ---------- Para quién ---------- */
.js .checklist li.reveal { transform: translateX(40px); }
.js .checklist li.reveal.is-in { transform: none; }
.js .checklist .chip__check { transform: scale(0); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + .35s); }
.js .checklist .is-in .chip__check { transform: scale(1); }
.checklist li { transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .4s; }
.checklist li:hover { border-color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Oferta ---------- */
.js .includes li { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .is-in .includes li { opacity: 1; transform: none; }
.is-in .includes li:nth-child(2) { transition-delay: .1s; }
.is-in .includes li:nth-child(3) { transition-delay: .2s; }
.is-in .includes li:nth-child(4) { transition-delay: .3s; }
.is-in .includes li:nth-child(5) { transition-delay: .4s; }
.price-card__now b { font-variant-numeric: tabular-nums; }
.price-card .badge { position: relative; overflow: hidden; }
.price-card .badge::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: shine 3.6s var(--ease) infinite;
}
.countdown b { transition: transform .3s var(--ease); }
.countdown b.tick { animation: tick .5s var(--ease); }
@keyframes tick { 0% { transform: translateY(-30%); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* ---------- Cierre ---------- */
.final .spark { position: absolute; background: var(--lime); }
.final .spark svg { fill: var(--ink); }
.final .spark--1 { top: 12%; left: 8%; }
.final .spark--2 { top: auto; bottom: 18%; right: 9%; }
.final .spark--3 { top: 46%; left: 4%; width: 26px; height: 26px; animation: bob 7s ease-in-out infinite -3s; }
.final .spark--3 svg { width: 13px; height: 13px; }

/* ---------- Responsive de la capa visual ---------- */
@media (max-width: 1100px) {
  .float-chip--2, .float-chip--3 { display: none; }
  .float-chip--1 { top: -18px; left: 12px; }
  .float-chip--4 { bottom: -20px; right: 12px; }
}
@media (max-width: 820px) {
  .spark--1 { top: 96px; left: 4%; width: 36px; height: 36px; }
  .spark--1 svg { width: 18px; height: 18px; }
  .spark--2 { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .timeline { display: none; }
  .timeline + .steps { margin-top: clamp(36px, 5vw, 56px); }
  .final .spark--3 { display: none; }
}
@media (max-width: 560px) {
  .float-chip { font-size: 13px; padding: 5px 12px 5px 5px; gap: 8px; }
  .float-chip .ico { width: 28px; height: 28px; border-radius: 9px; }
  .float-chip .ico svg { width: 14px; height: 14px; }
  .player__label { bottom: 30px; }
  .bands { padding: 34px 0; margin-top: -24px; }
  .marquee { padding: 12px 0; }
  .marquee__track { gap: 18px; padding-right: 18px; }
  .marquee__track svg { width: 16px; height: 16px; }
  .statement__l { gap: 14px; }
  .hero > .spark--1 { display: none; }
  .statement .spark { width: 44px; height: 44px; }
  .final .spark--1 { top: 18px; left: 18px; width: 32px; height: 32px; }
  .final .spark--2 { width: 26px; height: 26px; right: 18px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-split] .w > span, .js .float-chip, .js .pain, .js .step .ico, .js .includes li, .js .checklist .chip__check { transform: none !important; opacity: 1 !important; scale: 1 !important; }
  .js .reveal .hl, .js [data-split] .hl { background-size: 100% 100%; }
  .player { transform: none !important; }
}
