/* ==========================================================================
   estímul(ads) · v2 — papel, tinta y subrayador
   ========================================================================== */

:root {
  /* Color */
  --paper: #eeebe3;
  --paper-2: #f8f6f0;
  --card: #faf8f3;
  --line: #d6d2c7;
  --ink: #161514;
  --ink-2: #3a3835;
  --muted: #5f5b54;          /* texto secundario: 5,3:1 sobre --paper */
  --muted-2: #8a867e;        /* solo texto grande o decorativo */
  --lime: #dff04f;
  --red: #e2382f;
  --error: #b42318;
  --photo-bg: #2b2927;

  /* Tipografía */
  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  /* Layout */
  --pad-x: clamp(20px, 6vw, 96px);
  --nav-h: 64px;

  /* Movimiento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-write: cubic-bezier(.45, .05, .35, 1);

  /* Sombras */
  --shadow-paper: 0 1px 2px rgba(0,0,0,.06), 0 24px 44px -24px rgba(0,0,0,.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ol, ul { list-style: none; padding: 0; }
h1, h2, h3, legend { font-weight: inherit; font-size: inherit; line-height: inherit; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
main:focus, section:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0; line-height: 1; }
.muted { color: var(--muted-2); }
.red { color: var(--red); }

.grain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Cursor (solo ratón; lo activa JS) ---------- */
.cursor-dot, .cursor-label { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink); }
.cursor-label { font-size: 24px; white-space: nowrap; opacity: 0; transition: opacity .35s ease; }
.has-cursor .cursor-dot, .has-cursor .cursor-label { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 120; background: var(--paper); overflow: hidden; }
.intro__chaos { position: absolute; inset: 0; }
.intro__q {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 0 20px; text-align: center; pointer-events: none;
}
.intro__q1 { font-size: clamp(34px, 3.6vw, 48px); padding: 0 .2em; opacity: 0; }
.intro__q2 { font-size: clamp(26px, 2.5vw, 34px); color: var(--ink-2); padding: 0 .2em; opacity: 0; }
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 32px); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 5; min-height: 44px; padding: 6px 14px; font-size: 26px; background: var(--paper); border-radius: 999px;
}
.intro__skip:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: -2px; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 14px 30px -10px rgba(0,0,0,.22); overflow: hidden; }
.c-photo { position: absolute; inset: 0; background: var(--photo-bg) center / cover no-repeat; filter: grayscale(1) contrast(1.06); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: var(--nav-h); padding: 0 clamp(18px, 4vw, 48px);
  background: var(--paper);
  transition: opacity 1.6s ease, box-shadow .4s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.is-intro .nav { opacity: 0; pointer-events: none; }
.logo { font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1; padding: 8px 0; white-space: nowrap; }
.logo__ads { font-weight: 400; }
.nav__links { display: none; align-items: center; gap: clamp(12px, 2vw, 30px); font-size: 14px; }
.u-link {
  text-decoration-line: underline; text-decoration-color: transparent;
  text-decoration-thickness: 7px; text-underline-offset: -1px; text-decoration-skip-ink: none;
  transition: text-decoration-color .25s ease;
}
.u-link:hover, .u-link[aria-current="page"] { text-decoration-color: var(--lime); }
.nav__links .u-link { padding: 8px 0; white-space: nowrap; }
.nav__cta { font-size: 26px; padding: 6px 0; white-space: nowrap; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; }
.burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: calc(var(--nav-h) + 20px) 28px 40px; background: var(--paper); overflow-y: auto;
  opacity: 0; transition: opacity .3s ease;
}
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; gap: 2px; }
.menu a { font-size: clamp(32px, 9vw, 46px); font-weight: 700; letter-spacing: -.045em; line-height: 1.2; width: fit-content; }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 10px; text-underline-offset: -4px; text-decoration-skip-ink: none; }
.menu a.hand { font-weight: 400; letter-spacing: 0; font-size: clamp(40px, 11vw, 54px); margin-top: 8px; }
.menu__note { font-size: 26px; color: var(--muted); }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .burger, .menu { display: none !important; }
}

/* ---------- Revelados (motion B: calma) ---------- */
.js [data-r="up"] { opacity: 0; transform: translateY(30px); }
.js [data-r="fade"] { opacity: 0; }
/* "Escritura": máscara que avanza de izquierda a derecha.
   (Con clip-path el propio IntersectionObserver no detecta el elemento.) */
.js [data-r="write"], .write-mask {
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 60%);
          mask-image: linear-gradient(90deg, #000 50%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.js [data-r="write"].is-written, .write-mask.is-written { -webkit-mask-position: 0 0; mask-position: 0 0; }
.write-mask { transition: -webkit-mask-position .9s var(--ease-write), mask-position .9s var(--ease-write); }
[data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Tipos de texto ---------- */
.label { display: inline-block; font-size: 28px; color: var(--muted); padding-right: .2em; }
.note { font-size: 28px; }
.note--muted { color: var(--muted); }
.lead-in { font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; width: fit-content; padding-right: .3em; }
.shout { font-size: clamp(34px, 6.2vw, 108px); font-weight: 900; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.mega { font-size: clamp(54px, 10vw, 168px); font-weight: 900; line-height: .9; letter-spacing: -.055em; }
.mega--hl { position: relative; width: fit-content; padding-right: .15em; isolation: isolate; }
.big { font-size: clamp(42px, 7vw, 116px); font-weight: 900; line-height: .92; letter-spacing: -.055em; }
.big--xl { font-size: clamp(48px, 8.4vw, 140px); }
.big .muted { color: var(--muted-2); }
.medium { font-size: clamp(26px, 3.4vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.statement { font-size: clamp(32px, 5.4vw, 86px); font-weight: 700; line-height: 1; letter-spacing: -.045em; margin-left: var(--ml, 0); }
.body-l { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); max-width: 52ch; }

.spacer--xl { height: 50vh; }
.spacer--lg { height: 40vh; }
.spacer--md { height: 26vh; }

/* Subrayador */
.marker { position: absolute; left: -3%; bottom: 4%; width: 106%; height: .32em; z-index: -1; overflow: visible; }
.marker path { fill: none; stroke: var(--lime); stroke-width: 22; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.marker--thick path { stroke-width: 26; }
.hl { background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%); padding: 0 .1em; }
.hl-block { position: relative; isolation: isolate; }
.hl-block::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: .06em; bottom: .04em; height: .3em; background: var(--lime); transform: rotate(-1.2deg); }

/* Flechas dibujadas */
.arrow { width: 52px; height: 52px; flex: none; overflow: visible; }
.arrow--sm { width: 38px; height: 38px; }
.arrow path, .case__note path, .cycle path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cinta adhesiva y papel */
.tape { position: absolute; top: -12px; left: var(--tl, 30%); width: 76px; height: 24px; background: rgba(221,215,199,.78); transform: rotate(var(--tr, 4deg)); pointer-events: none; z-index: 1; }
.paper-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-paper); }

/* ==========================================================================
   PORTADA
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) 20px 80px; text-align: center;
}
.hero__logo { position: relative; isolation: isolate; font-size: clamp(60px, 14vw, 220px); font-weight: 900; line-height: .85; letter-spacing: -.065em; }
.hero__ads { position: relative; display: inline-block; font-weight: 400; letter-spacing: -.05em; }
.hero__ads .marker { bottom: 0; }
.hero__tag { margin-top: 30px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.hero__sub { margin-top: 12px; font-size: clamp(24px, 2.2vw, 30px); color: var(--muted); }
.hero__scroll { position: absolute; bottom: 6vh; font-size: 26px; color: var(--muted); padding: 8px; }
.js .hero [data-hero] { opacity: 0; transform: translateY(10px); }
.hero [data-hero].is-in { opacity: 1; transform: none; transition: opacity 1.2s ease, transform 1.2s var(--ease-out); }

.s-attention { padding: 24vh var(--pad-x) 26vh; }
.s-attention .lead-in { margin-left: clamp(0px, 8vw, 140px); }
.s-attention__big { position: relative; margin-left: auto; width: fit-content; max-width: 100%; text-align: right; }
.s-attention__big .note--rot { position: absolute; right: 100%; margin-right: -.4em; top: -40px; color: var(--muted); transform: rotate(-4deg); white-space: nowrap; }

.s-better { padding: 12vh var(--pad-x) 26vh; }
.mega__line { display: block; }
.strike { position: relative; display: inline-block; color: var(--muted-2); }
.strike svg { position: absolute; left: -6%; top: 22%; width: 112%; height: 52%; overflow: visible; }
.strike path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.s-better__better { display: flex; align-items: flex-start; gap: 10px; margin: 2vh 0 0 clamp(16px, 30vw, 520px); }
.s-better__better .arrow { margin-top: -8px; }
.s-better > .note { margin: 7vh 0 0 clamp(0px, 8vw, 140px); }

.s-count { min-height: 100svh; padding: 12vh var(--pad-x); display: flex; flex-direction: column; justify-content: center; }
.s-count__wrap { position: relative; width: fit-content; max-width: 100%; }
.s-count__num { font-size: clamp(120px, 29vw, 440px); font-weight: 900; line-height: .8; letter-spacing: -.07em; font-variant-numeric: tabular-nums; padding-right: .05em; }
.s-count__after { position: absolute; left: 4%; top: 30%; font-size: clamp(46px, 6vw, 86px); white-space: nowrap; opacity: 0; }
.s-count__aprox { position: absolute; right: -2%; top: -34px; font-size: 30px; transform: rotate(-7deg); }
.s-count__text { margin: 6vh 0 0 clamp(0px, 34vw, 620px); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; font-weight: 500; }

/* Palabras (servicios en portada y página de servicios) */
.s-words { padding: 20vh var(--pad-x) 22vh; }
.s-words > .label { margin-bottom: 8vh; }
.words { display: flex; flex-direction: column; gap: clamp(18px, 3.4vh, 36px); }
.word { position: relative; margin-left: var(--ml, 0); width: fit-content; max-width: 100%; isolation: isolate; }
.word__row { position: relative; display: inline-flex; align-items: baseline; font-size: clamp(46px, 10.5vw, 176px); font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.word__p { font-family: var(--hand); font-weight: 400; letter-spacing: 0; opacity: 0; transition: opacity .6s ease; }
.word__p:first-child { position: absolute; left: -.32em; top: .06em; }
.word__p:nth-child(3) { margin-left: .05em; }
.word__t { position: relative; display: inline-block; transition: transform .8s var(--ease-out); }
.word__u { position: absolute; left: -2%; bottom: .06em; width: 104%; height: .2em; z-index: -1; overflow: visible; transform-origin: left center; transform: scaleX(0); transition: transform .7s var(--ease-out); }
.word__u path { fill: none; stroke: var(--lime); stroke-width: 18; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.word__n { position: absolute; left: 100%; top: .1em; margin-left: .35em; font-size: 28px; color: var(--muted); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .8s var(--ease-out); }
.word__d { display: block; max-width: 40ch; margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.word.is-on .word__p { opacity: 1; }
.word.is-on .word__t { transform: translateX(.08em); }
.word.is-on .word__u { transform: scaleX(1); }
.word.is-on .word__n { opacity: 1; transform: none; }
.words__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-top: 10vh; }
@media (min-width: 1000px) and (hover: hover) {
  .word__d { position: absolute; left: 0; top: 100%; margin-top: 2px; white-space: nowrap; max-width: none; opacity: 0; transform: translateY(-4px); transition: opacity .6s ease, transform .6s var(--ease-out); }
  .word.is-on .word__d { opacity: 1; transform: none; }
  .words { gap: clamp(26px, 4.4vh, 48px); }
}
@media (max-width: 640px) {
  .word { margin-left: 0; }
  .word__row { flex-wrap: wrap; }
  .word__n { position: static; flex-basis: 100%; margin: 6px 0 0; font-size: 24px; }
  .word__p { display: none; }
}

.s-idea { padding: 20vh var(--pad-x) 26vh; }
.s-idea > .shout { margin-left: clamp(0px, 5vw, 90px); }
.s-idea__us { margin-left: clamp(0px, 32vw, 600px); }
.s-idea__idea { font-size: clamp(84px, 13vw, 214px); margin-top: 1vh; }
.s-idea__idea .marker { bottom: 10%; height: .42em; }

.s-whatever { padding: 10vh var(--pad-x) 26vh; }
.s-whatever__step { min-height: 60vh; display: flex; align-items: center; }
.s-whatever__end { display: flex; align-items: flex-end; gap: 12px; margin-left: clamp(0px, calc(50vw - 160px), 900px); }
.s-whatever__end .arrow { margin-bottom: 18px; }
.s-whatever__end .mega { font-size: clamp(76px, 11vw, 176px); }

.s-about { padding: 18vh var(--pad-x) 24vh; }
.s-about .label { margin-bottom: 6vh; }
.s-about__body { margin-left: clamp(0px, calc(34vw - 60px), 620px); }
.arrows { display: flex; align-items: center; gap: 22px; margin: 6vh 0 0 4px; }
.arrows__col { height: 230px; width: 44px; overflow: hidden; position: relative; }
.arrows__col > div { display: flex; flex-direction: column; align-items: center; font-size: 40px; line-height: 46px; }
.arrows__stop { opacity: 0; transition: opacity .9s ease; }
.arrows__stop.is-on { opacity: 1; }
.arrows__after { margin-top: 6vh; }
.js .arrows__after { opacity: 0; transform: translateY(16px); transition: opacity 1.6s ease, transform 1.6s var(--ease-out); }
.js .arrows__after.is-on { opacity: 1; transform: none; }

/* Índice de apartados */
.s-index { padding: 16vh var(--pad-x) 18vh; }
.s-index__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 8vh; }
.s-index__head .hand:last-child { font-size: 26px; }
.index { border-top: 1.5px solid var(--ink); }
.index li { border-bottom: 1.5px solid var(--ink); }
.index a {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px clamp(16px, 3vw, 40px);
  padding: clamp(18px, 3vh, 30px) 0;
}
.index__n { font-size: 12px; letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }
.index__t { position: relative; width: fit-content; font-size: clamp(34px, 6vw, 96px); font-weight: 900; line-height: .95; letter-spacing: -.055em; isolation: isolate; }
.index__t::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: .06em; height: .28em; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease-out); }
.index__s { grid-column: 2; font-size: 26px; color: var(--muted); }
.index__arrow { grid-row: 1 / span 2; grid-column: 3; font-family: var(--hand); font-size: clamp(34px, 4vw, 54px); transition: transform .5s var(--ease-out); }
.index a:hover .index__t::after, .index a:focus-visible .index__t::after { transform: scaleX(1); }
.index a:hover .index__arrow, .index a:focus-visible .index__arrow { transform: translateX(8px); }
.index__preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 170px; padding: 7px 7px 24px; background: var(--paper-2);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(.9);
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.index__preview.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg) scale(1); }
.index__preview span { display: block; aspect-ratio: 3 / 4; background: var(--photo-bg) center / cover; filter: grayscale(1) contrast(1.06); }
@media (max-width: 640px) { .index a { grid-template-columns: auto 1fr; } .index__arrow { display: none; } .index__s { font-size: 22px; } }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.page-head { position: relative; padding: calc(var(--nav-h) + 14vh) var(--pad-x) 12vh; }
.page-head__crumb { display: inline-flex; gap: 8px; margin-bottom: 4vh; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-head__crumb a:hover { color: var(--ink); }
.page-head .label { display: block; margin-bottom: 3vh; }
.page-title { font-size: clamp(46px, 8.4vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -.06em; max-width: 14ch; }
.page-title .muted { color: var(--muted-2); }
.page-lead { margin-top: 5vh; margin-left: clamp(0px, 30vw, 560px); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; font-weight: 500; max-width: 38ch; }
.page-note { margin-top: 3vh; margin-left: clamp(0px, 30vw, 560px); font-size: 28px; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4vh; margin-left: clamp(0px, 30vw, 560px); }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 500; }
.tag--lime { background: var(--lime); border-color: var(--lime); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.2s infinite; }

.sec { padding: 14vh var(--pad-x); }
.sec--tight { padding-top: 6vh; }
.sec__head { margin-bottom: 8vh; }
.sec__head .label { display: block; margin-bottom: 3vh; }

/* Servicios: tarjetas */
.services { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { padding: clamp(24px, 3vw, 36px); transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--ease-out); }
.service:hover { transform: rotate(0deg) translateY(-4px); }
.service__n { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.service h3 { margin-top: 14px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.service__verb { margin-top: 6px; font-size: 26px; color: var(--muted); }
.service p.body { margin-top: 14px; color: var(--muted); }
.ticks { display: grid; gap: 8px; margin-top: 18px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23161514' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 21 C 11 24, 14 28, 16 31 C 21 20, 27 12, 35 6'/></svg>") center / contain no-repeat; }
.mini-dash { display: grid; gap: 10px; margin-top: 18px; padding: 14px; background: var(--paper-2); border: 1px dashed var(--line); }
.mini-dash__row { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.mini-dash__row b { margin-left: auto; font-size: 20px; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mini-dash__row em { font-style: normal; font-family: var(--hand); font-size: 22px; color: var(--ink); background: var(--lime); padding: 0 6px; }
.mini-dash__bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.mini-dash__bars i { flex: 1; height: var(--h); background: var(--ink); opacity: .85; transform-origin: bottom; transform: scaleY(.08); transition: transform .9s var(--ease-out); }
.mini-dash__bars i:last-child { background: var(--lime); opacity: 1; }
.is-visible .mini-dash__bars i, .mini-dash.is-visible .mini-dash__bars i { transform: none; }
.funnel { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; }
.funnel li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1.5px solid var(--ink); }
.funnel li:nth-child(2) { margin-inline: 5%; }
.funnel li:nth-child(3) { margin-inline: 10%; background: var(--ink); color: var(--paper); }
.funnel span { color: var(--muted); }
.funnel li:nth-child(3) span { color: #c9c5bb; }

/* Método */
.cycle-wrap { display: grid; gap: 6vh; align-items: center; }
@media (min-width: 960px) { .cycle-wrap { grid-template-columns: 1fr 1fr; } }
.cycle { position: relative; width: min(460px, 82%); aspect-ratio: 1; margin-inline: auto; }
.cycle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle__w { position: absolute; font-size: clamp(30px, 3vw, 40px); transform: translate(-50%, -50%); white-space: nowrap; }
.cycle__c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-weight: 900; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.03em; line-height: 1.1; }
@media (min-width: 1024px) {
  .method { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; }
  .method__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.method__bar { position: relative; height: 3px; margin-top: 5vh; max-width: 320px; background: var(--line); overflow: hidden; }
.method__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* KPI */
.kpis { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 5vh clamp(28px, 5vw, 90px); }
.kpi { display: flex; flex-direction: column; }
.kpi dd { font-size: clamp(56px, 7.4vw, 128px); font-weight: 700; line-height: .86; letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi dt { order: 2; margin-top: 14px; max-width: 15ch; font-family: var(--hand); font-size: 27px; line-height: 1.05; }
.kpi dd.kpi__more { order: 3; margin-top: 10px; max-width: 34ch; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; white-space: normal; color: var(--muted); }
@media (max-width: 560px) { .chart__axis span:nth-child(2) { display: none; } }
.kpi__more summary { width: fit-content; min-height: 44px; display: flex; align-items: center; cursor: pointer; list-style: none; font-family: var(--hand); font-size: 24px; color: var(--ink); }
.kpi__more summary::-webkit-details-marker { display: none; }
.kpi__more summary:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: -2px; }
.kpi__more ul { display: grid; gap: 4px; padding-left: 0; }
.kpi__more li::before { content: "· "; }
@media (min-width: 1100px) { .kpis { flex-wrap: nowrap; align-items: flex-start; } }
@media (max-width: 640px) { .kpis { flex-direction: column; align-items: flex-start; } }

/* Gráfico */
.chart-card { max-width: 1100px; padding: clamp(20px, 3vw, 36px); }
.chart-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 24px; }
.chart-card__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chart-card__value { margin-top: 6px; font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-card__value em { font-style: normal; font-size: 30px; letter-spacing: 0; vertical-align: middle; margin-left: 6px; background: var(--lime); padding: 0 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tabs button {
  min-height: 44px; padding: 4px 2px; font-size: 28px; color: var(--muted);
  text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 8px;
  text-underline-offset: -4px; text-decoration-skip-ink: none;
  transition: color .2s ease, text-decoration-color .25s ease;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); text-decoration-color: var(--lime); }
.chart { position: relative; }
.chart svg { width: 100%; height: clamp(200px, 26vw, 300px); overflow: visible; }
.chart [data-chart-grid] line { stroke: var(--line); stroke-dasharray: 2 6; }
.chart [data-chart-line], .chart [data-chart-area] { transition: d .8s var(--ease-out), clip-path 1.4s var(--ease-out); }
.chart [data-chart-cursor] { opacity: 0; transition: opacity .2s; }
.chart.is-hover [data-chart-cursor] { opacity: .5; }
.chart__dot { position: absolute; left: var(--x, 100%); top: var(--y, 0); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--lime); transition: left .25s var(--ease-out), top .25s var(--ease-out); pointer-events: none; }
.chart__tip { position: absolute; left: var(--x, 100%); top: var(--y, 0); transform: translate(var(--tx, -50%), calc(-100% - 18px)); padding: 6px 10px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; white-space: nowrap; border-radius: 2px; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s, left .25s var(--ease-out), top .25s var(--ease-out); pointer-events: none; }
.chart.is-hover .chart__tip { opacity: 1; }
.chart__months { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .chart__months span:nth-child(even) { visibility: hidden; } .tabs button { font-size: 25px; } }

.measure { display: grid; gap: 20px; }
@media (min-width: 760px) { .measure { grid-template-columns: repeat(3, 1fr); } }
.measure li { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.measure b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.035em; }
.measure span { display: block; margin-top: 6px; color: var(--muted); }

/* Casos */
.cases { display: flex; flex-direction: column; gap: clamp(80px, 16vh, 180px); }
.case { margin-left: var(--ml, 0); width: fit-content; max-width: 100%; }
.case__btn { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(22px, 3.4vw, 56px); text-align: left; }
.case--rev .case__btn { flex-wrap: wrap-reverse; }
.polaroid { position: relative; display: block; flex: none; width: var(--w, 240px); padding: 9px 9px 30px; background: var(--paper-2); transform: rotate(var(--rot, 0deg)); box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 18px 34px -16px rgba(0,0,0,.28); transition: transform 1.1s var(--ease-out); }
.polaroid__img { display: block; aspect-ratio: var(--ar, 3 / 4); background: var(--photo-bg) center / cover no-repeat; filter: grayscale(1) contrast(1.06); }
.case__btn:hover .polaroid, .case__btn:focus-visible .polaroid { transform: rotate(0deg) scale(1.02); }
.case__info { display: block; padding-bottom: 14px; }
.case__n { display: block; font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.case__big { display: block; margin-top: 14px; font-size: clamp(60px, 8vw, 132px); font-weight: 700; line-height: .86; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.case__k { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .16em; }
.case__note { display: flex; align-items: flex-start; gap: 4px; margin-top: 20px; }
.case__note svg { width: 58px; height: 40px; flex: none; overflow: visible; }
.case__note .hand { font-size: 30px; padding-top: 18px; }
.case--rev .case__note .hand { padding-top: 4px; }
.cases__hint { margin: 10vh 0 0 clamp(0px, 5vw, 90px); }

.brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; color: var(--ink); font-size: clamp(24px, 3vw, 44px); font-weight: 900; letter-spacing: -.045em; line-height: 1.1; }
.brands li:not(:last-child)::after { content: "·"; margin: 0 .35em; color: var(--muted-2); font-weight: 400; }

.quotes { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1.3fr 1fr 1fr; } }
.quote { padding: clamp(24px, 3vw, 34px); transform: rotate(var(--rot, 0deg)); }
.quote blockquote { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; font-weight: 500; }
.quote--big blockquote { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.025em; }
.quote__mark { font-family: var(--hand); font-size: 64px; line-height: .5; display: block; margin-bottom: 10px; }
.quote figcaption { margin-top: 22px; font-size: 14px; color: var(--muted); }
.quote figcaption b { display: block; font-size: 15px; color: var(--ink); }

/* Comparativa */
.compare { max-width: 1100px; overflow-x: auto; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare__note { display: block; margin-top: 4px; font-family: var(--hand); font-size: 19px; line-height: 1; color: var(--muted); }
.compare th, .compare td { padding: 16px clamp(12px, 2vw, 24px); text-align: center; border-bottom: 1px dashed var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.compare thead .compare__us { color: var(--ink); font-size: 18px; letter-spacing: -.03em; text-transform: none; font-weight: 700; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare .compare__us { background: rgba(223,240,79,.32); }
.compare td::before { content: ""; display: inline-block; width: 28px; height: 28px; vertical-align: middle; background: center / contain no-repeat; }
.compare td[data-v="yes"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23161514' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 21 C 11 24, 14 28, 16 31 C 21 20, 27 12, 35 6'/></svg>"); }
.compare td[data-v="partial"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%235f5b54' stroke-width='3' stroke-linecap='round'><path d='M8 22 C 13 15, 18 25, 23 19 S 30 16, 33 19'/></svg>"); }
.compare td[data-v="no"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%238a867e' stroke-width='2.6' stroke-linecap='round'><path d='M11 10 C 18 18, 23 24, 30 31 M29 9 C 22 17, 17 24, 10 30'/></svg>"); }
.compare__legend { margin-top: 18px; font-size: 24px; color: var(--muted); }

.notes { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.sticky { position: relative; padding: 28px 24px 30px; background: var(--paper-2); box-shadow: 0 16px 30px -18px rgba(0,0,0,.35); transform: rotate(var(--rot, 0deg)); }
.sticky--lime { background: var(--lime); }
.sticky h3 { font-size: 26px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.sticky p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.sticky .hand { display: block; margin-top: 14px; font-size: 26px; }

/* FAQ */
.faq { max-width: 980px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 18px 0; list-style: none; cursor: pointer; font-size: clamp(19px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--hand); font-size: 44px; line-height: 1; transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover span { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 8px; text-underline-offset: -2px; text-decoration-skip-ink: none; }
.faq details > div { padding: 0 48px 26px 0; color: var(--muted); max-width: 64ch; font-size: 17px; }
.faq details[open] > div { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-group { margin-top: 10vh; }
.faq-group:first-child { margin-top: 0; }
.faq-group > .hand { display: block; margin-bottom: 16px; font-size: 28px; color: var(--muted); }

/* Contacto (página) */
.contact-info { display: grid; gap: 28px; }
@media (min-width: 760px) { .contact-info { grid-template-columns: repeat(3, 1fr); } }
.contact-info li { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.contact-info .hand { display: block; font-size: 26px; color: var(--muted); }
.contact-info b, .contact-info a, .contact-info button { display: inline-block; margin-top: 8px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.03em; }

/* Siguiente apartado */
.next-page { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding: 6vh 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.next-page .hand { font-size: 28px; color: var(--muted); }
.next-page__t { position: relative; font-size: clamp(36px, 6vw, 96px); font-weight: 900; letter-spacing: -.055em; line-height: .95; isolation: isolate; }
.next-page__t::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .06em; height: .28em; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease-out); }
.next-page:hover .next-page__t::after, .next-page:focus-visible .next-page__t::after { transform: scaleX(1); }

/* ==========================================================================
   HABLEMOS + FORMULARIO INTERACTIVO
   ========================================================================== */
.s-contact { position: relative; padding: 12vh var(--pad-x) 14vh; overflow: hidden; overflow: clip; }
.s-contact { --band: clamp(300px, 36vh, 380px); }
.edges { position: absolute; inset: var(--edges-top, 0px) 0 auto; height: var(--band); pointer-events: none; }
.edge {
  position: absolute; display: flex; align-items: center; gap: 7px; padding: 8px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 3px;
  font-size: 12px; font-weight: 600; line-height: 1.35; box-shadow: 0 10px 24px -12px rgba(0,0,0,.22);
  transform: rotate(var(--r, 0deg)); opacity: 0; translate: 0 10px;
  transition: opacity 1.4s ease, translate 1.4s var(--ease-out);
}
.edge.is-on { opacity: 1; translate: 0 0; }
.edge b { font-weight: 600; }
.edge .muted { color: var(--muted); font-weight: 400; }
.edge--notif { gap: 10px; padding: 10px 14px 10px 10px; font-weight: 400; }
.edge__app { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 13px; }
.edge--sticker { background: var(--lime); border: 0; font-weight: 800; font-size: 13px; letter-spacing: .06em; padding: 6px 12px; box-shadow: none; }
.edge--product { display: block; width: 120px; padding: 0; overflow: hidden; }
.edge__img { display: block; aspect-ratio: 1; background: var(--photo-bg) center / cover; filter: grayscale(1); }
.edge__row { display: flex; justify-content: space-between; padding: 7px 8px; font-size: 11px; font-weight: 700; }
.edge--stat { display: block; padding: 10px 14px; }
.edge__k { display: block; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 400; }
.edge--stat b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.edge--dark { gap: 14px; background: var(--ink); color: var(--paper); border: 0; border-radius: 2px; font-weight: 400; }
.edge--dark .muted { color: #a9a59c; }
.dot-red { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink .8s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.s-contact.is-quiet .edge { opacity: 0 !important; translate: 0 10px; transition-duration: .5s; }
@media (max-width: 760px) {
  .edge:not(.edge--keep) { display: none; }
  .s-contact { --band: 380px; }
  .edge--u { top: 0% !important; left: 6% !important; }
  .edge--v { top: 27% !important; left: 2% !important; }
  .edge--m { top: 58% !important; left: auto !important; right: 4% !important; }
}

.s-contact__head { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--band) 0 8vh; }
.s-contact__head .label { margin-bottom: 3vh; }
.s-contact__head .big { font-size: clamp(42px, 6.4vw, 104px); }
.s-contact__lead { margin-top: 3vh; max-width: 46ch; color: var(--muted); font-size: 17px; }

.lead { position: relative; display: grid; gap: 40px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 980px) { .lead { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; } }
.lead__main { position: relative; padding: clamp(24px, 4vw, 52px); min-height: 520px; display: flex; flex-direction: column; }
.lead__top { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(28px, 5vh, 48px); }
.lead__count { flex: none; font-size: 26px; color: var(--muted); min-width: 7.5ch; }
.lead__bar { position: relative; flex: 1; height: 3px; background: var(--line); }
.lead__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease-out); }
.lead__bar span::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.lead__form { flex: 1; display: flex; flex-direction: column; }
.q { flex: 1; }
.q.is-entering { animation: q-in .55s var(--ease-out) both; }
.q.is-back { animation: q-back .55s var(--ease-out) both; }
@keyframes q-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes q-back { from { opacity: 0; transform: translateX(-28px); } }
.q__title { display: block; font-size: clamp(32px, 4.4vw, 62px); font-weight: 900; line-height: .98; letter-spacing: -.05em; }
.q__title .muted { color: var(--muted-2); }
.q__hint { display: block; margin-top: 12px; font-size: 26px; color: var(--muted); }
.q__body { margin-top: clamp(28px, 5vh, 44px); }
.q__input {
  width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent;
  font-size: clamp(24px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.035em; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 0% 10px; background-position: 0 calc(100% - 2px);
  transition: background-size .5s var(--ease-out);
}
.q__input::placeholder { color: #a39f96; font-weight: 500; }
.q__input:focus { outline: none; background-size: 100% 10px; }
.q__input[aria-invalid="true"] { border-bottom-color: var(--error); }
.q__sub { display: block; margin: 28px 0 6px; font-size: 14px; font-weight: 500; }
.q__sub span { color: var(--muted); font-weight: 400; }
.q__err { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--error); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; letter-spacing: -.01em;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.chip span::before { content: attr(data-k); font-family: var(--hand); font-size: 22px; color: var(--muted); line-height: 1; }
.chip:hover span { background: rgba(22,21,20,.06); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:checked + span::before { color: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime); }
.chip input:active + span { transform: scale(.97); }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.check input { flex: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper-2); -webkit-appearance: none; appearance: none; cursor: pointer; }
.check input:checked { background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23161514' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M8 21 C 12 24, 15 28, 17 31 C 22 20, 27 12, 34 6'/></svg>") center / 16px no-repeat; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.review { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.review > div { display: grid; grid-template-columns: 8.5em 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.review dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review dd { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.review button { font-family: var(--hand); font-size: 24px; min-height: 44px; padding: 0 4px; color: var(--muted); }
.review button:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: -2px; }
@media (max-width: 560px) { .review > div { grid-template-columns: 1fr auto; } .review dt { grid-column: 1 / -1; } }

.lead__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(32px, 6vh, 56px); }
.lead__back { min-height: 44px; padding: 4px 6px; font-size: 26px; color: var(--muted); }
.lead__back:hover { color: var(--ink); }
.lead__kbd { margin-left: auto; font-size: 24px; color: var(--muted); }
@media (hover: none) { .lead__kbd { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px;
  background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 16px; font-weight: 500;
  touch-action: manipulation; transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.btn:hover { background: #000; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 4px var(--lime); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--lime:hover { background: #d3e639; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Brief manuscrito */
.brief { position: sticky; top: calc(var(--nav-h) + 30px); display: none; padding: 30px 26px 34px; background: var(--paper-2); box-shadow: 0 20px 40px -22px rgba(0,0,0,.4); transform: rotate(1.6deg); }
@media (min-width: 980px) { .brief { display: block; } }
.brief__t { font-size: 30px; }
.brief__s { margin-top: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brief ul { display: grid; gap: 14px; margin-top: 22px; }
.brief li { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.brief li > span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brief li > b { display: block; min-height: 30px; font-family: var(--hand); font-weight: 400; font-size: 27px; line-height: 1.1; overflow-wrap: anywhere; }
.brief li > b:empty::before { content: "…"; color: var(--line); }
.brief li > b.is-new { animation: write-in .8s var(--ease-write) both; }
@keyframes write-in { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.brief li > b.is-new { -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 60%); mask-image: linear-gradient(90deg, #000 50%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.brief__sign { margin-top: 22px; font-size: 26px; text-align: right; color: var(--muted); }
.brief__stamp { position: absolute; right: -14px; bottom: -14px; padding: 6px 12px; background: var(--lime); font-weight: 900; font-size: 13px; letter-spacing: .08em; transform: rotate(-8deg) scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.2,1.6,.4,1), opacity .3s; }
.brief.is-complete .brief__stamp { transform: rotate(-8deg) scale(1); opacity: 1; }

.lead__done { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.lead__done:focus { outline: none; }
.lead__done .hand { font-size: 34px; color: var(--muted); }
.lead__done h3 { font-size: clamp(44px, 6vw, 88px); font-weight: 900; letter-spacing: -.055em; line-height: .95; }
.lead__done p:not(.hand) { color: var(--muted); max-width: 44ch; font-size: 17px; }
.lead__done p.lead__thanks { max-width: 18ch; color: var(--ink); font-size: clamp(34px, 4.6vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.045em; }
/* Trampa antispam: fuera de la vista y del tabulador */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lead__fallback { text-align: center; font-size: 18px; }
.lead__fallback a { text-decoration: underline; }
.link-hand { min-height: 44px; padding: 4px 6px; font-size: 26px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 6px; text-underline-offset: -2px; text-decoration-skip-ink: none; transition: text-decoration-color .25s; }
.link-hand:hover { text-decoration-color: var(--lime); }

/* ---------- Footer ---------- */
.footer { padding: 10vh var(--pad-x) 5vh; }
.footer .next-page { margin-bottom: 10vh; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 40px; font-size: 14px; line-height: 1.8; }
.footer__grid .muted { color: var(--muted); }
.footer__logo { font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.footer__logo span { font-weight: 400; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 12vh; }
.footer__thanks { font-size: clamp(30px, 3vw, 40px); color: var(--ink-2); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 13px; color: var(--muted); }
.footer__legal .link-hand { font-size: 22px; color: var(--muted); }

/* ---------- Modal de caso ---------- */
.case-modal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.case-modal::backdrop { background: var(--paper); }
.case-modal[open] { animation: fade-in .8s ease both; }
@keyframes fade-in { from { opacity: 0; } }
.case-modal__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(18px, 4vw, 48px); background: var(--paper); }
.case-modal__id { font-size: 12px; letter-spacing: .16em; }
.case-modal__close { min-height: 44px; font-size: 28px; padding: 4px 6px; }
.case-modal__body { max-width: 1180px; margin: 0 auto; padding: 8vh var(--pad-x) 16vh; }
.case-modal__stim { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(28px, 5vw, 80px); }
.case-modal__stim > div { max-width: 420px; padding-bottom: 20px; }
.case-modal .label { font-size: 30px; }
.case-modal__text { margin-top: 14px; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.case-modal__react { max-width: 820px; margin: 18vh 0 0 clamp(0px, 14vw, 240px); }
.case-modal__big { margin-top: 14px; font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.comments { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.comments li { padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; font-size: 14px; }
.comments li span { color: var(--muted); margin-right: 6px; }
.case-modal__result { margin-top: 18vh; }
.case-modal__nums { display: flex; flex-wrap: wrap; gap: 4vh clamp(40px, 8vw, 140px); margin-top: 20px; }
.case-modal__nums div { display: flex; flex-direction: column-reverse; }
.case-modal__nums dd { font-size: clamp(76px, 14vw, 220px); font-weight: 700; line-height: .82; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.case-modal__nums div:nth-child(2) dd { color: var(--muted-2); }
.case-modal__nums dt { margin-top: 14px; font-size: 13px; letter-spacing: .16em; }
.case-modal__next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16vh; }
.case-modal__next .link-hand { font-size: 30px; }
.js .case-modal [data-m] { opacity: 0; transform: translateY(24px); }
.case-modal [data-m].is-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }

/* ---------- Módulos de contenido v3 ---------- */
/* Servicios: tres formas de entrar */
.ways { display: grid; gap: 0; max-width: 760px; margin-top: 5vh; margin-left: clamp(0px, 30vw, 560px); border-top: 1.5px solid var(--ink); }
.ways li { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.ways b { font-size: clamp(20px, 1.8vw, 24px); font-weight: 900; letter-spacing: -.035em; }
.ways span { color: var(--muted); }
.platform-note { margin-top: 18px; margin-left: clamp(0px, 30vw, 560px); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 640px) { .ways, .platform-note { margin-left: 0; } .ways li { grid-template-columns: 1fr; } }

/* Servicios: cuatro decisiones (ficha 06) */
.decisions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.decisions li { padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 500; }
.decisions li.is-hl { background: var(--lime); border-color: var(--lime); }
.decisions__note { margin-top: 10px; font-size: 22px; color: var(--muted); }

/* Gráfico didáctico: eje de inversión */
.chart__axis { position: relative; height: 18px; margin-top: 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.chart__axis span:first-child { transform: none; }
.chart__axis span:last-child { transform: translateX(-100%); }
.chart__axis-t { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.chart-explain { max-width: 62ch; margin-top: 4vh; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; }
.chart-foot { max-width: 62ch; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Casos: cifra grande que es una palabra */
.case__big--word { font-size: clamp(44px, 5.6vw, 96px); letter-spacing: -.05em; overflow-wrap: anywhere; }
.case-modal__result .case-modal__text { max-width: 40ch; margin-top: 18px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }

/* Casos: lo que solemos oír */
.say blockquote { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.say figcaption { display: flex; gap: 10px; margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.say figcaption::before { content: "→"; flex: none; font-family: var(--hand); font-size: 26px; line-height: .8; }

/* Stickers de urgencia que se delatan */
.edge--flip { pointer-events: auto; }
.edge--flip .flip__a { display: inline-flex; align-items: center; gap: 7px; }
.edge--flip .flip__b { display: none; max-width: min(240px, 62vw); font-family: var(--hand); font-weight: 400; font-size: 20px; line-height: 1.05; letter-spacing: 0; white-space: normal; }
.edge--flip.is-flipped .flip__a { display: none; }
.edge--flip.is-flipped .flip__b { display: block; }
.edge--flip.is-flipped { padding: 10px 14px; }

/* ==========================================================================
   VERSIÓN DE DOS PÁGINAS
   ========================================================================== */
/* Bloqueo de la pantalla de entrada (solo con JS; el zoom sigue funcionando) */
html.is-locked, html.is-locked body { overflow: hidden; }
html.menu-open { overflow: hidden; }

/* Botón destacado del menú */
.nav__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.nav__btn:hover { background: #000; }
.nav__btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--lime); }

/* 1 · Pantalla de entrada */
.gate {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 4vh) var(--pad-x) 6vh;
}
.gate__title { position: relative; isolation: isolate; width: fit-content; font-size: clamp(54px, 11vw, 190px); font-weight: 900; line-height: .88; letter-spacing: -.06em; }
.gate__title .hero__ads { font-weight: 900; letter-spacing: -.06em; }
.gate__sub { margin-top: 3vh; font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.gate__text { margin-top: 1.6vh; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.gate__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3.4vh; }
.gate__chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; }
.gate__chips b { font-weight: 900; letter-spacing: -.02em; }
.gate__chips span { color: var(--muted); }
.gate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4.5vh; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.js .gate [data-hero] { opacity: 0; transform: translateY(10px); }
.gate [data-hero].is-in { opacity: 1; transform: none; transition: opacity 1s ease, transform 1s var(--ease-out); }
@media (max-height: 640px) { .gate { justify-content: flex-start; } .gate__chips { margin-top: 2vh; } .gate__actions { margin-top: 2.6vh; } }
/* Móviles bajos: todo debe caber en una pantalla, porque el scroll está bloqueado */
@media (max-width: 760px) and (max-height: 760px) {
  .gate { padding-top: calc(var(--nav-h) + 2vh); padding-bottom: 3vh; }
  .gate__title { font-size: clamp(40px, 12vw, 52px); }
  .gate__sub { margin-top: 12px; font-size: 18px; }
  .gate__text { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .gate__chips { margin-top: 14px; gap: 6px; }
  .gate__chips li { padding: 5px 12px; font-size: 13px; }
  .gate__actions { margin-top: 18px; gap: 10px; }
  .gate .btn { min-height: 50px; padding: 0 22px; }
}

/* Panel del formulario a pantalla completa */
.lead-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.lead-dialog::backdrop { background: var(--paper); }
.lead-dialog[open] { animation: fade-in .5s ease both; }
.lead-dialog__bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 12px clamp(18px, 4vw, 48px); background: var(--paper); }
.lead-dialog__close { min-height: 44px; padding: 4px 6px; font-size: 28px; }
.lead-dialog .s-contact { padding-top: 0; }
.lead-dialog .s-contact__head { padding-top: 2vh; }

/* 2 · Pantallas 4 y 5 (mismo estilo que «es lo que tienes…») */
.s-stop { position: relative; min-height: 70svh; display: flex; align-items: center; padding: 10vh var(--pad-x); }
.s-stop p { margin-left: clamp(0px, 34vw, 620px); }
.s-stop--end { min-height: 80svh; }
.stickers { position: absolute; inset: 0; pointer-events: none; }
.stickers .edge--u { top: 14%; left: 8%; }
.stickers .edge--v { top: 46%; left: 4%; }
.stickers .edge--m { top: 22%; right: 6%; }
@media (max-width: 760px) {
  .s-stop p { margin-left: 0; }
  .s-stop { align-items: flex-end; padding-bottom: 14vh; }
  .stickers .edge--u { top: 6% !important; left: 6% !important; }
  .stickers .edge--v { top: 24% !important; left: 2% !important; }
  .stickers .edge--m { top: 44% !important; right: 4% !important; left: auto !important; }
}

/* Bloques genéricos de Inicio */
.block { padding: 16vh var(--pad-x); }
.block__head { max-width: 1000px; margin-bottom: 7vh; }
.block__head .label { display: block; margin-bottom: 3vh; }
.block__text { margin-top: 3vh; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); }

/* 4 · Cómo trabajamos */
.cycle-wrap--home { margin-bottom: 10vh; }
.method__bar--solo { margin-top: 0; }
.howto-note { max-width: 62ch; margin-top: 6vh; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.howto-note::before { content: "→ "; font-family: var(--hand); font-size: 1.3em; }

/* 5 · Cómo piensa el algoritmo */
.algo { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .algo { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.algo__card { padding: clamp(24px, 3vw, 36px); transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--ease-out); }
.algo__card:hover { transform: rotate(0deg) translateY(-4px); }
.algo__n { font-size: clamp(54px, 6vw, 84px); font-weight: 900; line-height: .85; letter-spacing: -.06em; }
.algo__card h3 { margin-top: 16px; font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.algo__card p { margin-top: 12px; color: var(--muted); }
.algo__close { max-width: 30ch; margin-top: 9vh; font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.algo__cta { margin-top: 4vh; }

/* 6 · Lo que medimos */
.reads { display: grid; gap: 0; max-width: 1100px; border-top: 1.5px solid var(--ink); }
.reads li { display: grid; gap: 6px 40px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
@media (min-width: 760px) { .reads li { grid-template-columns: 2fr 3fr; align-items: baseline; } }
.reads b { font-size: clamp(22px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.reads span { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.reads__close { max-width: 34ch; margin-top: 7vh; font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }

/* 7 · Frente a las alternativas (texto, no ✓/✕) */
.vs { max-width: 1200px; }
.vs table { width: 100%; border-collapse: collapse; }
.vs th, .vs td { padding: 18px clamp(12px, 1.6vw, 22px); text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.45; }
.vs thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.vs tbody th { font-weight: 900; font-size: 17px; letter-spacing: -.02em; width: 22%; }
.vs td { color: var(--ink-2); }
.vs .vs__us { background: rgba(223,240,79,.38); color: var(--ink); font-weight: 700; }
.vs thead .vs__us { color: var(--ink); font-size: 16px; letter-spacing: -.02em; text-transform: none; font-weight: 900; }
.vs tbody tr:last-child > * { border-bottom: 0; }
.vs__foot { max-width: 70ch; margin-top: 3vh; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .vs.paper-card { background: none; border: 0; box-shadow: none; }
  .vs table, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: auto; }
  .vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs tr { margin-bottom: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-paper); overflow: hidden; }
  .vs tbody th { width: auto; padding: 18px 18px 8px; border: 0; font-size: 20px; }
  .vs td { padding: 10px 18px; border-bottom: 1px dashed var(--line); }
  .vs td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
  .vs .vs__us { padding-bottom: 16px; }
  .vs tbody tr:last-child > * { border-bottom: 1px dashed var(--line); }
  .vs tbody tr > :last-child { border-bottom: 0; }
}

/* 8 · Preguntas bajo el formulario */
.faq--home { max-width: 980px; margin: 12vh auto 0; }
.faq--home > .label { display: block; margin-bottom: 2vh; }

/* ==========================================================================
   PRESENTACIÓN · «primero, cuéntame qué hacéis»
   Bloque fijo de la página, justo después de la entrada. Solo la pantalla, con
   sombra suave. Escritorio y tablet: el diseño 720×517 se escala (--s).
   Móvil: la pantalla llena el bloque y el contenido se compone en vertical.
   Estado previo «CLICA» (no cuenta como pantalla) + 8 pantallas.
   ========================================================================== */
.gate [data-hero].is-lifted { opacity: 0; transform: translateY(-170px); transition: opacity .55s var(--ease-out), transform .75s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }

.tv { --io: cubic-bezier(.65,0,.35,1); position: relative; height: max(520px, calc(100svh - var(--nav-h))); overflow: hidden; overflow: clip; background: var(--paper); }
.tv:focus { outline: none; }
.tv__skip { position: absolute; z-index: 3; right: clamp(18px, 4vw, 48px); top: 8px; min-height: 44px; padding: 4px 6px; font-size: 26px; line-height: 1.05; text-align: right; color: var(--muted); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.tv.is-chrome .tv__skip { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.tv__skip:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: -2px; }
.tv__cam, .tv__rig { position: absolute; inset: 0; }

/* La pantalla: superficie con profundidad (sin marco) */
.tv__screen {
  position: absolute; overflow: hidden; border-radius: calc(22px * var(--s, 1));
  background: radial-gradient(ellipse at 50% 45%, #dcd8ce 55%, #cbc7bd 100%);
  box-shadow: 0 0 0 1px rgba(22,21,20,.07), 0 2px 6px rgba(22,21,20,.06), 0 30px 70px -30px rgba(22,21,20,.36), 0 70px 120px -70px rgba(22,21,20,.24);
}
.tv__lit { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, var(--card) 62%, #efebe2 100%); transform: scaleY(.004); opacity: 0; }
.tv__screen.is-power .tv__lit { opacity: 1; }
.tv__screen.is-lit .tv__lit { transform: none; }
.tv__glass { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), inset 0 0 70px rgba(70,58,36,.06); background: linear-gradient(150deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 24%); }
.tv__bloom { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

/* Interfaz dentro de la pantalla (medidas de diseño, escaladas con --s) */
.tv__ui {
  position: absolute; left: 0; top: 0; width: 720px; height: 517px; padding: 27px 42px 23px;
  display: flex; flex-direction: column; transform-origin: 0 0; transform: scale(var(--s, 1));
  color: var(--ink); opacity: 0; visibility: hidden;
}
.tv__screen.is-lit .tv__ui { opacity: 1; visibility: visible; }
.tv__head { display: flex; align-items: center; gap: 18px; height: 30px; flex: none; }
.tv__logo { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.tv__logo-ads { font-weight: 400; }
.tv__bar { position: relative; flex: 1; height: 3px; background: var(--line); }
.tv__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .125)); transition: transform .6s var(--io); }
.tv__bar i { position: absolute; top: -5px; left: calc(var(--p, .125) * 100% - 6px); width: 9px; height: 9px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); transition: left .6s var(--io); }
.tv__count { min-width: 3.6ch; margin: 0; font-size: 25px; color: var(--muted); text-align: right; }
[data-tv-chrome] { opacity: 0; transition: opacity .45s var(--ease-out); }
.tv.is-chrome [data-tv-chrome] { opacity: 1; }

.tv__body { position: relative; flex: 1; min-height: 0; }
.tv__s { position: absolute; inset: 0; padding-top: 22px; }
.tv__wipe { position: absolute; left: -8px; right: -8px; top: -4px; bottom: -4px; z-index: 3; background: var(--lime); transform: scaleX(0); pointer-events: none; }

.tv__foot { display: flex; align-items: center; gap: 18px; flex: none; padding-top: 12px; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s; }
.tv.is-foot .tv__foot { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.tv__spacer { flex: 1; }
.tv__back { white-space: nowrap; min-height: 44px; padding: 6px 4px; font-size: 28px; color: var(--muted); }
.tv__back:hover:not(:disabled) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 6px; text-underline-offset: -2px; }
.tv__back:disabled { opacity: .32; cursor: default; }
.tv__hint { font-size: 23px; color: var(--muted); }
.tv__next { white-space: nowrap; min-height: 46px; padding: 0 22px; font-size: 15px; gap: 10px; }
.tv__next.is-ready { animation: tv-ready 1.3s ease-out infinite; }
@keyframes tv-ready { from { box-shadow: 0 0 0 3px rgba(223,240,79,.95); } to { box-shadow: 0 0 0 15px rgba(223,240,79,0); } }

/* «CLICA»: toda la pantalla es el botón; parpadea suave y se detiene al pasar por encima */
.tv__clica {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; width: 100%; padding: 0; border: 0; border-radius: inherit;
  background: transparent; color: var(--ink); font: inherit; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.tv.is-idle .tv__clica { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.tv__clica:focus-visible { outline: 3px solid var(--ink); outline-offset: calc(-14px * var(--s, 1)); }
.tv__clica-word { position: relative; isolation: isolate; display: inline-block; padding: 0 .1em 0 .03em; font-size: calc(200px * var(--s, 1)); font-weight: 900; line-height: .85; letter-spacing: -.065em; }
.tv__clica-word::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .04em; height: .2em; background: var(--lime); transform: scaleX(0); transform-origin: left center; animation: tv-clica 2.6s var(--io) infinite; }
.tv__clica:hover .tv__clica-word::after, .tv__clica:focus-visible .tv__clica-word::after { animation: none; transform: none; }
@keyframes tv-clica {
  0% { transform: scaleX(0); transform-origin: left center; }
  38%, 62% { transform: scaleX(1); transform-origin: left center; }
  62.1% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}
@media (prefers-reduced-motion: reduce) { .tv__clica-word::after { animation: none !important; transform: none !important; } }

/* Contenido de las pantallas */
.tv__s p, .tv__s h2, .tv__s ol { margin: 0; }
.tv__h { margin-top: 12px !important; font-size: 68px; font-weight: 900; line-height: .92; letter-spacing: -.055em; }
.tv__muted { color: var(--muted-2); }
.tv__m { font-size: 28px; font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.tv__m--sm { font-size: 26px; line-height: 1.3; }
/* 01 · un feed de reels que no para de bajar */
.tv__s--1 { padding-top: 0; }
.tv__s1-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; height: 100%; }
.tv__s1-m { margin-top: 30px !important; }
.reels { position: relative; height: 300px; aspect-ratio: 9 / 16; margin-right: 18px; overflow: hidden; border-radius: 20px; background: var(--ink); box-shadow: 0 0 0 4px var(--ink), 0 22px 40px -22px rgba(22,21,20,.55); }
.reels::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 7px; width: 34px; height: 5px; border-radius: 3px; background: rgba(238,235,227,.4); transform: translateX(-50%); }
.reels__track { position: absolute; left: 0; right: 0; top: 0; height: 500%; display: grid; grid-template-rows: repeat(5, 1fr); animation: reels-feed 5.2s infinite; }
.reel { position: relative; overflow: hidden; }
.reel--ink { background: linear-gradient(160deg, #3a3835, #161514); }
.reel--lime { background: var(--lime); }
.reel--paper { background: var(--paper-2); }
.reel--red { background: var(--red); }
.reel__play { position: absolute; left: 50%; top: 44%; border-left: 26px solid var(--paper); border-top: 16px solid transparent; border-bottom: 16px solid transparent; transform: translate(-35%, -50%); }
.reel__dot { position: absolute; left: 50%; top: 42%; width: 48%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.reel__quote { position: absolute; left: 14px; top: 28px; font-size: 72px; font-weight: 900; line-height: 1; color: var(--ink); }
.reel__side { position: absolute; right: 9px; bottom: 54px; display: grid; gap: 9px; }
.reel__side i { display: block; width: 14px; height: 14px; border-radius: 50%; background: rgba(238,235,227,.8); }
.reel__lines { position: absolute; left: 12px; right: 36px; bottom: 16px; display: grid; gap: 6px; }
.reel__lines i { display: block; height: 6px; border-radius: 3px; background: rgba(238,235,227,.85); }
.reel__lines i + i { width: 60%; }
.reel--lime .reel__side i, .reel--paper .reel__side i, .reel--lime .reel__lines i, .reel--paper .reel__lines i { background: rgba(22,21,20,.72); }
@keyframes reels-feed {
  0%, 17% { transform: translateY(0); animation-timing-function: cubic-bezier(.7,0,.25,1); }
  25%, 42% { transform: translateY(-20%); animation-timing-function: cubic-bezier(.7,0,.25,1); }
  50%, 67% { transform: translateY(-40%); animation-timing-function: cubic-bezier(.7,0,.25,1); }
  75%, 92% { transform: translateY(-60%); animation-timing-function: cubic-bezier(.7,0,.25,1); }
  100% { transform: translateY(-80%); }
}

/* 02 · cuenta atrás de 1.7 a 0.0, en bucle */
.tv__s--2 { display: flex; flex-direction: column; justify-content: center; padding-bottom: 10px; }
.tv__s2-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: end; }
.tv__big { font-size: 208px; font-weight: 900; line-height: .8; letter-spacing: -.07em; font-variant-numeric: tabular-nums; padding-right: .05em; white-space: nowrap; }
[data-tv-countdown] { transition: color .2s ease; }
[data-tv-countdown].is-zero { color: var(--red); }

/* 03 · el «2» en amarillo; match vídeo ↔ persona y un feed que se para */
.tv__s--3 { padding-top: 16px; }
.tv__s--3 .tv__h { margin-top: 0 !important; font-size: 58px; }
.tv__s3-intro { margin-top: 16px !important; }
.tv__two { display: inline-block; padding: 0 .04em; font-size: 1.3em; font-weight: 900; line-height: .8; color: var(--lime); -webkit-text-stroke: 1.6px var(--ink); paint-order: stroke fill; }
.tv__s3-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 18px; }
.tv__s3-m { margin-top: 10px !important; font-size: 23px; line-height: 1.15; }
.match { --u: 1px; position: relative; height: calc(var(--u) * 92); }
.match__video, .match__person { position: absolute; top: 50%; width: calc(var(--u) * 56); height: calc(var(--u) * 80); margin-top: calc(var(--u) * -40); opacity: 0; transition: transform .7s var(--io), opacity .35s ease; }
.match__video { left: 0; border-radius: calc(var(--u) * 9); background: linear-gradient(160deg, #3a3835, #161514); transform: translateX(calc(var(--u) * -24)); }
.match__video::after { content: ""; position: absolute; left: 50%; top: 50%; border-left: calc(var(--u) * 16) solid var(--paper); border-top: calc(var(--u) * 10) solid transparent; border-bottom: calc(var(--u) * 10) solid transparent; transform: translate(-35%, -50%); }
.match__person { left: calc(var(--u) * 200); transform: translateX(calc(var(--u) * 24)); }
.match__person::before { content: ""; position: absolute; left: 50%; top: calc(var(--u) * 8); width: calc(var(--u) * 28); height: calc(var(--u) * 28); border: calc(var(--u) * 3) solid var(--ink); border-radius: 50%; transform: translateX(-50%); }
.match__person::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--u) * 6); width: calc(var(--u) * 50); height: calc(var(--u) * 30); border: calc(var(--u) * 3) solid var(--ink); border-bottom: 0; border-radius: calc(var(--u) * 26) calc(var(--u) * 26) 0 0; transform: translateX(-50%); }
.match__line { position: absolute; top: 50%; left: calc(var(--u) * 56); width: calc(var(--u) * 144); border-top: calc(var(--u) * 2) dashed var(--muted-2); opacity: 0; transition: opacity .3s ease, left .7s var(--io), width .7s var(--io); }
.match__ok { position: absolute; left: calc(var(--u) * 128); top: 50%; display: grid; place-items: center; width: calc(var(--u) * 34); height: calc(var(--u) * 34); margin: calc(var(--u) * -17) 0 0 calc(var(--u) * -17); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 calc(var(--u) * 2) var(--ink); opacity: 0; transform: scale(.4); transition: opacity .25s ease .55s, transform .45s cubic-bezier(.34,1.56,.64,1) .55s; }
.match__ok svg { width: 70%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.match.is-in .match__video, .match.is-in .match__person { opacity: 1; transform: none; }
.match.is-in .match__line { opacity: 1; }
.match.is-match .match__video { transform: translateX(calc(var(--u) * 34)); }
.match.is-match .match__person { transform: translateX(calc(var(--u) * -34)); }
.match.is-match .match__line { left: calc(var(--u) * 90); width: calc(var(--u) * 76); border-top-style: solid; border-top-color: var(--ink); }
.match.is-match .match__ok { opacity: 1; transform: none; }
.halt { --u: 1px; position: relative; height: calc(var(--u) * 92); opacity: 0; transition: opacity .35s ease; }
.halt.is-in { opacity: 1; }
.halt__phone { position: absolute; left: 0; top: 0; width: calc(var(--u) * 54); height: calc(var(--u) * 92); overflow: hidden; border-radius: calc(var(--u) * 10); background: var(--paper-2); box-shadow: 0 0 0 calc(var(--u) * 3) var(--ink); transition: box-shadow .3s ease; }
.halt__feed { position: absolute; left: calc(var(--u) * 6); right: calc(var(--u) * 6); top: 0; display: grid; gap: calc(var(--u) * 6); padding-top: calc(var(--u) * 6); }
.halt__feed i { display: block; height: calc(var(--u) * 34); border-radius: calc(var(--u) * 5); background: var(--ink); }
.halt__feed i:nth-child(even) { background: var(--lime); }
.halt.is-scroll .halt__feed { animation: halt-feed .7s linear infinite; }
.halt.is-stop .halt__feed { animation-play-state: paused; }
.halt.is-stop .halt__phone { box-shadow: 0 0 0 calc(var(--u) * 3) var(--ink), 0 0 0 calc(var(--u) * 8) var(--lime); }
.halt__pause { position: absolute; left: calc(var(--u) * 78); top: 50%; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 6); width: calc(var(--u) * 44); height: calc(var(--u) * 44); margin-top: calc(var(--u) * -22); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 calc(var(--u) * 2) var(--ink); opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.halt__pause i { width: calc(var(--u) * 6); height: calc(var(--u) * 18); border-radius: calc(var(--u) * 2); background: var(--ink); }
.halt.is-stop .halt__pause { opacity: 1; transform: none; }
@keyframes halt-feed { to { transform: translateY(calc(var(--u) * -80)); } }

/* Pantallas 04–08: titulares y textos */
.tv__h--caps { font-size: 52px; letter-spacing: -.045em; }
.tv__h--xs { font-size: 38px; line-height: .98; letter-spacing: -.045em; }
.tv__m--xs { margin-top: 10px !important; max-width: 600px; font-size: 18px; line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); }

/* 04 · la bola de cristal aparece, se agrieta y se rompe; deja paso al titular */
.tv__s--4 { display: grid; place-items: center; padding: 0 0 6px; }
.tv__s--4 > * { grid-area: 1 / 1; }
.tv__s4-text { text-align: center; }
.tv__s4-text .tv__h { margin-top: 0 !important; }
.tv__s4-text .tv__m { margin-top: 18px; }
.ball { width: 196px; opacity: 0; transform: translateY(24px) scale(.6); }
.ball svg { display: block; width: 100%; height: auto; overflow: visible; }
.ball.is-in { opacity: 1; transform: none; transition: opacity .3s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.ball.is-crack { animation: ball-shake .14s linear 3; }
.ball__base { fill: var(--ink); transition: opacity .25s ease; }
.ball__glow { fill: var(--lime); opacity: .55; }
.ball__shine { fill: #fff; opacity: .9; }
.ball__rim { fill: none; stroke: var(--ink); stroke-width: 3; }
.ball__crack { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ball.is-crack .ball__crack { stroke-dashoffset: 0; transition: stroke-dashoffset .3s ease-out; }
.ball__shards path { fill: url(#tv-ball); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ball.is-broken .ball__whole { opacity: 0; }
.ball.is-broken .ball__base { opacity: 0; }
.ball.is-broken .ball__shards path { animation: ball-shard .55s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes ball-shake { 0%, 100% { translate: 0 0; } 25% { translate: -3px 0; } 75% { translate: 3px 0; } }
@keyframes ball-shard { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.7); } }

/* 05 · 06 · 07: los tres anuncios (hipótesis) comparten escena; el texto va arriba */
.tv__s--ads { padding-top: 14px; padding-bottom: 232px; }
.ads { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 222px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.ads.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.ad {
  --x: 0%; --w: 17%; --k: 1; --o: 0; --y: 26px;
  position: absolute; bottom: 0; left: var(--x); width: var(--w); transform-origin: 50% 100%;
  transform: translateY(var(--y)) scale(var(--k)); opacity: var(--o);
  transition: left .7s var(--io), width .7s var(--io), transform .7s var(--io), opacity .45s ease; transition-delay: calc(var(--i) * 90ms);
}
.ad__art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--ink), 0 10px 20px -12px rgba(22,21,20,.35); }
.ad__chip { position: absolute; left: 7px; top: 7px; z-index: 1; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 900; line-height: 20px; text-align: center; }
.ad__art--video { background: linear-gradient(160deg, #3a3835, #161514); }
.ad__play { position: absolute; left: 50%; top: 46%; border-left: 22px solid var(--paper); border-top: 14px solid transparent; border-bottom: 14px solid transparent; transform: translate(-35%, -50%); }
.ad__progress { position: absolute; left: 8px; right: 8px; bottom: 9px; height: 3px; background: rgba(238,235,227,.25); }
.ad__progress::after { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--lime); }
.ad__art--quote { background: var(--paper-2); }
.ad__quote { position: absolute; left: 10px; top: 24px; font-size: 64px; font-weight: 900; line-height: 1; }
.ad__lines { position: absolute; left: 10px; right: 10px; bottom: 14px; display: grid; gap: 6px; }
.ad__lines i { height: 6px; border-radius: 3px; background: var(--ink); }
.ad__lines i:nth-child(2) { width: 80%; }
.ad__lines i:nth-child(3) { width: 55%; background: var(--muted-2); }
.ad__art--product { background: var(--lime); }
.ad__dot { position: absolute; left: 50%; top: 42%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.ad__dot::after { content: ""; position: absolute; left: 22%; top: 18%; width: 22%; height: 14%; border-radius: 50%; background: rgba(255,255,255,.55); transform: rotate(-30deg); }
.ad__shelf { position: absolute; left: 14%; right: 14%; bottom: 16%; height: 5px; border-radius: 3px; background: var(--ink); }
.ad--n .ad__art { box-shadow: none; outline: 2px dashed var(--ink); outline-offset: -2px; }
.ad--n .ad__quote { color: var(--red); }
.ad__bars { display: grid; gap: 5px; margin-top: 8px; opacity: 0; transition: opacity .3s ease; }
.ad__bar { position: relative; height: 9px; overflow: hidden; border-radius: 4px; background: rgba(22,21,20,.08); }
.ad__bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease-out) calc(.35s + var(--i) * .2s); }
.ad__bar--v i { background: var(--muted-2); }
.ad__bar--m i { background: var(--ink); }
.ad--n .ad__bar { background: none; outline: 1px dashed var(--line); outline-offset: -1px; }
.ad__tag { position: absolute; left: 50%; bottom: calc(100% + 4px); margin: 0; font-size: 19px; line-height: 1; white-space: nowrap; color: var(--ink); opacity: 0; transform: translateX(-50%) rotate(-3deg); transition: opacity .35s ease; }
.ads__legend { position: absolute; left: 81%; right: 0; bottom: 4px; display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .4s ease .4s, transform .4s var(--ease-out) .4s; }
.ads__legend span { display: flex; align-items: center; gap: 6px; }
.ads__key { flex: none; width: 16px; height: 7px; border-radius: 4px; }
.ads__key--v { background: var(--muted-2); }
.ads__key--m { background: var(--ink); }
.ads__note { font-size: 17px; font-weight: 400; color: var(--muted); }
/* 05 · hipótesis: entran los tres */
.ads[data-state="hyp"] .ad:not(.ad--n), .ads[data-state="sig"] .ad:not(.ad--n), .ads[data-state="dec"] .ad { --o: 1; --y: 0px; }
.ad--b { --x: 20.5%; }
.ad--c { --x: 41%; }
.ad--n { --x: 61.5%; }
/* 06 · señales: los mismos anuncios, con sus datos (atención no es lo mismo que acción) */
.ads[data-state="sig"] .ad__bars, .ads[data-state="dec"] .ad__bars, .ads[data-state="sig"] .ads__legend, .ads[data-state="dec"] .ads__legend { opacity: 1; transform: none; }
.ads[data-state="sig"] .ad__bar i, .ads[data-state="dec"] .ad__bar i { transform: scaleX(var(--v)); }
/* 07 · decisiones: gana el que más mensajes trae (no el de más vistas), el resto pierde peso y entra una nueva variante */
.ads[data-state="dec"] .ad--b { --x: 1.5%; --k: 1.06; }
.ads[data-state="dec"] .ad--a { --x: 22%; --k: .84; --o: .55; }
.ads[data-state="dec"] .ad--c { --x: 41%; --k: .84; --o: .35; }
.ads[data-state="dec"] .ad--n { --x: 61.5%; transition-delay: .55s; }
.ads[data-state="dec"] .ad--b .ad__bar--m i { background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ads[data-state="dec"] .ad--b .ad__art { box-shadow: 0 0 0 3px var(--ink), 0 14px 26px -12px rgba(22,21,20,.45); }
.ads[data-state="dec"] .ad__tag { opacity: 1; transition-delay: .9s; }

/* 08 · el ciclo y el cierre */
.tv__s--8 { display: flex; flex-direction: column; padding-top: 14px; }
.tv__s--8 .tv__h--xs { font-size: 34px; }
.tv__s8-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; align-items: center; flex: 1; min-height: 0; }
.cycle { position: relative; width: 270px; height: 232px; }
.cycle svg { position: absolute; left: 50%; top: 50%; width: 176px; height: 176px; overflow: visible; transform: translate(-50%, -50%); }
.cycle__ring { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cycle.is-draw .cycle__ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out); }
.cycle__arrow { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.cycle.is-draw .cycle__arrow { opacity: 1; transition: opacity .3s ease .7s; }
.cycle__orbit { transform-box: view-box; transform-origin: 88px 88px; opacity: 0; }
.cycle__dot { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.cycle.is-spin .cycle__orbit { opacity: 1; animation: cycle-orbit 4.8s linear infinite; }
@keyframes cycle-orbit { to { transform: rotate(360deg); } }
.cycle__steps { list-style: none; padding: 0; }
.cycle__steps li { position: absolute; left: 50%; top: 50%; padding: 5px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); font-size: 12px; font-weight: 900; letter-spacing: .04em; line-height: 1.1; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .3s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.cycle__steps li:nth-child(1) { top: calc(50% - 70px); background: var(--lime); }
.cycle__steps li:nth-child(2) { left: calc(50% + 70px); }
.cycle__steps li:nth-child(3) { top: calc(50% + 70px); }
.cycle__steps li:nth-child(4) { left: calc(50% - 70px); }
.cycle.is-n1 li:nth-child(1), .cycle.is-n2 li:nth-child(2), .cycle.is-n3 li:nth-child(3), .cycle.is-n4 li:nth-child(4) { opacity: 1; transform: translate(-50%, -50%); }
.tv__close { flex: none; margin-top: 14px !important; padding-top: 12px; border-top: 1.5px solid var(--ink); font-size: 22px; font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.tv__close mark { padding: 0 .04em; color: inherit; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 0% 42%; }
.tv__close.is-lit mark { background-size: 100% 42%; transition: background-size .7s var(--ease-out); }

/* Pantalla completada (o revisitada): las animaciones de 04–08 van directas a su estado final */
.tv__s.is-done .ball, .tv__s.is-done .ball *, .tv__s.is-done .match *, .tv__s.is-done .halt, .tv__s.is-done .halt *, .tv__s.is-done .cycle__ring, .tv__s.is-done .cycle__arrow, .tv__s.is-done .cycle__steps li, .tv__s.is-done .tv__close mark {
  animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; transition-delay: 0s !important;
}
/* Fuera de pantalla, nada se anima en bucle */
.tv.is-away .tv__clica-word::after, .tv.is-away .cycle__orbit, .tv.is-away .tv__next, .tv.is-away .reels__track, .tv.is-away .halt__feed { animation-play-state: paused; }

/* Escritura en directo: los caracteres reservan su sitio (sin saltos) */
.tv .ch { visibility: hidden; }
.tv .ch.on { visibility: visible; }
.tv .ch.caret::after { content: ""; display: inline-block; width: max(2px, .06em); height: .8em; margin-left: .03em; vertical-align: -.04em; background: var(--ink); }
.tv .ch.caret.blink::after { animation: blink 1s step-end infinite; }
.tv-mask { -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 60%); mask-image: linear-gradient(90deg, #000 50%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }

/* Móvil: la pantalla llena el bloque; contenido en vertical y a tamaño legible */
.tv.is-compact .tv__skip { display: none; }
.tv.is-compact .tv__screen { border-radius: 20px; }
.tv.is-compact .tv__ui { width: 100%; height: 100%; padding: 18px 18px 14px; transform: none; }
.tv.is-compact .tv__s { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 12px; }
.tv.is-compact .tv__hint { display: none; }
.tv.is-compact .tv__count { font-size: 21px; }
.tv.is-compact .tv__h { font-size: clamp(32px, 9.4vw, 44px); }
.tv.is-compact .tv__m { font-size: clamp(19px, 5.2vw, 24px); }
.tv.is-compact .tv__s1-grid { grid-template-columns: 1fr; gap: 16px; align-content: start; height: auto; }
.tv.is-compact .tv__s1-m { margin-top: 14px !important; }
.tv.is-compact .reels { justify-self: center; height: min(250px, 36svh); margin: 0; border-radius: 16px; }
.tv.is-compact .reel__quote { font-size: 54px; top: 22px; }
.tv.is-compact .tv__s2-grid { grid-template-columns: 1fr; gap: 22px; }
.tv.is-compact .tv__big { font-size: clamp(96px, 30vw, 140px); }
.tv.is-compact .tv__s--3 { padding-top: 6px; }
.tv.is-compact .tv__s--3 .tv__h { font-size: clamp(30px, 9vw, 40px); }
.tv.is-compact .tv__s3-grid { gap: 14px; margin-top: 14px; }
.tv.is-compact .tv__s3-m { font-size: 16px; }
.tv.is-compact .match, .tv.is-compact .halt { --u: .58px; }
.tv.is-compact .tv__two { -webkit-text-stroke-width: 1.2px; }
.tv.is-compact .tv__next { min-height: 48px; padding: 0 18px; }
.tv.is-compact .tv__back { font-size: 24px; }
.tv.is-compact .tv__clica-word { font-size: clamp(88px, 29vw, 150px); }
.tv.is-compact .tv__clica:focus-visible { outline-offset: -12px; }
.tv.is-compact .tv__h--caps { font-size: clamp(28px, 8.6vw, 38px); }
.tv.is-compact .tv__h--xs, .tv.is-compact .tv__s--8 .tv__h--xs { font-size: clamp(26px, 7.4vw, 32px); }
.tv.is-compact .tv__m--xs { font-size: 16px; }
.tv.is-compact .ball { width: 160px; }
.tv.is-compact .tv__s--ads { padding-top: 10px; padding-bottom: 250px; }
.tv.is-compact .ads { height: 240px; }
.tv.is-compact .ad { --w: 27%; }
.tv.is-compact .ad--b { --x: 36.5%; }
.tv.is-compact .ad--c { --x: 73%; }
.tv.is-compact .ad--n { --x: 78%; }
.tv.is-compact .ads[data-state="dec"] .ad { --w: 21%; }
.tv.is-compact .ads[data-state="dec"] .ad--b { --x: 1.5%; }
.tv.is-compact .ads[data-state="dec"] .ad--a { --x: 26.5%; }
.tv.is-compact .ads[data-state="dec"] .ad--c { --x: 53%; }
.tv.is-compact .ads[data-state="dec"] .ad--n { --x: 79%; }
.tv.is-compact .ad__quote { font-size: 48px; top: 20px; }
.tv.is-compact .ad__play { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
.tv.is-compact .ad__tag { width: 120%; font-size: 15px; line-height: .95; text-align: center; white-space: normal; }
.tv.is-compact .ads__legend { left: 0; right: 0; top: 0; bottom: auto; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tv.is-compact .tv__s--8 { padding-top: 8px; }
.tv.is-compact .tv__s8-grid { grid-template-columns: 1fr; gap: 8px; align-items: start; flex: none; }
.tv.is-compact .cycle { width: 100%; max-width: 300px; height: 206px; margin: 0 auto; }
.tv.is-compact .tv__close { font-size: 18px; }

/* Aviso del segundo bloqueo: se puede bajar hasta aquí, no más; desaparece al clicar «CLICA» */
.tv-wall { display: grid; justify-items: center; align-content: center; gap: 3vh; min-height: 62svh; padding: 8vh var(--pad-x) 10vh; text-align: center; background: var(--paper); }
.tv-wall__t { max-width: 13ch; font-size: clamp(40px, 7.4vw, 112px); font-weight: 900; line-height: .92; letter-spacing: -.055em; }
.tv-wall__btn { min-height: 48px; padding: 4px 10px; border: 0; background: none; color: var(--ink); font-family: var(--hand); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; cursor: pointer; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .22em; text-underline-offset: -.02em; text-decoration-skip-ink: none; }
.tv-wall__btn span { display: inline-block; animation: tv-wall-up 1.4s var(--ease-out) infinite; }
.tv-wall.is-nudge .tv-wall__t { animation: tv-wall-nudge .5s var(--ease-out); }
@keyframes tv-wall-up { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
@keyframes tv-wall-nudge { 0%, 100% { transform: none; } 20% { transform: translateX(-10px) rotate(-1deg); } 40% { transform: translateX(9px) rotate(1deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* ==========================================================================
   ¿CÓMO TRABAJAMOS CONTIGO? · 8 pasos en 3 momentos + la ficha del paso elegido
   Acento (lima) solo en «tu sí», el botón final y, suave, en la línea del paso 05.
   ========================================================================== */
.steps__bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.steps__group { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 14px; border-top: 2px solid var(--ink); }
.steps__group--1 { flex: 5 1 520px; }
.steps__group--2 { flex: 2 1 240px; }
.steps__group--3 { flex: 1 1 140px; }
.steps__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; line-height: 1.3; }
.steps__head span:first-child { font-weight: 700; }
.steps__head span:last-child { color: var(--muted); }
.steps__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; }
.steps__btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 76px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 14px; background: transparent; color: var(--ink); text-align: left;
  font: inherit; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.steps__btn span { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps__btn b { font-size: 17px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.steps__btn:hover { border-color: var(--ink); }
.steps__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps__btn[aria-pressed="true"] span { color: #cfcabe; }
.steps__btn:focus-visible, .step__prev:focus-visible, .steps__cta .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.steps__yes {
  flex: 0 0 auto; align-self: flex-end; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 76px; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
  font-size: 15px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap;
}
.steps__yes svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* La ficha */
.steps__card { display: grid; gap: 24px; margin-top: 56px; }
.js .step:not(.is-active) { display: none; }
.step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-paper);
}
.step__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.step__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.step__num { font-size: clamp(72px, 8vw, 96px); font-weight: 900; line-height: .85; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.step__phase { font-size: 26px; color: var(--muted); }
.step__title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.step__idea { max-width: 52ch; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.step__gate { font-size: 15px; font-weight: 700; }
.step__gate span { padding: 2px 6px; border-radius: 4px; background: rgba(223, 240, 79, .55); }
.step__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step__gets { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 16px; background: var(--ink); color: var(--paper); }
.step__lbl { font-size: 24px; line-height: 1; }
.step__gets .step__lbl { color: #cfcabe; }
.step__gets-t { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.step__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 4px 0 0; list-style: none; }
.step__chips li { padding: 4px 12px; border: 1.5px solid var(--paper); border-radius: 999px; font-size: 14px; font-weight: 500; }
.step__asks { display: flex; flex-direction: column; gap: 8px; padding: 18px 24px; border: 1.5px dashed var(--muted-2); border-radius: 16px; font-size: 17px; line-height: 1.45; }
.step__asks .step__lbl { color: var(--muted); }
.step__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.step__prev { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.step__prev:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.step__next { min-height: 44px; padding: 0 18px; font-size: 15px; }
.step__prev:disabled, .step__next:disabled { opacity: .35; cursor: default; pointer-events: none; }
.step__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.steps__cta { margin-top: 56px; }
.block.steps { padding-bottom: 8vh; }
#hablemos > .s-contact { padding-top: 4vh; }
#hablemos > .s-contact .s-contact__head { padding-top: 0; }
.steps__cta .btn { min-height: 52px; padding: 0 28px; font-size: 17px; font-weight: 700; }
@media (min-width: 861px) { .steps__head { font-size: 18px; } }
/* Sin JavaScript: las 8 fichas seguidas, sin botones de navegación */
html:not(.js) .steps__bar, html:not(.js) .step__nav { display: none; }

@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .steps__group, .steps__group--1, .steps__group--2, .steps__group--3 { flex-basis: 100%; }
  .steps__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__yes { align-self: flex-start; flex-direction: row; gap: 8px; min-height: 48px; }
  .steps__card { margin-top: 36px; }
  .step { padding: 22px 18px; border-radius: 18px; }
  .step__idea { font-size: 17px; }
  .step__gets, .step__asks { padding: 18px; }
  .step__gets-t { font-size: 19px; }
  .step__asks { font-size: 16px; }
  .step__prev, .step__next { padding: 0 14px; font-size: 14px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 160; padding: 10px 18px; background: var(--ink); color: var(--paper); font-size: 14px; border-radius: 999px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease-out), opacity .35s; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Móvil: ritmo más corto ---------- */
@media (max-width: 640px) {
  .s-attention { padding: 16vh var(--pad-x) 18vh; }
  .s-attention__big .note--rot { right: auto; left: 0; top: -38px; }
  .spacer--xl { height: 28vh; }
  .spacer--lg { height: 22vh; }
  .spacer--md { height: 14vh; }
  .s-whatever__step { min-height: 42vh; }
  .s-count { min-height: 80svh; }
  .s-count__text { margin-left: 0; }
  .s-count__aprox { top: -40px; right: 0; font-size: 26px; }
  .s-better__better { margin-left: 8px; }
  .s-better__better .arrow { width: 36px; height: 36px; }
  .s-idea__us { margin-left: 0; }
  .case__big { font-size: 64px; }
  .page-lead, .page-note, .chip-row { margin-left: 0; }
  .page-head { padding-top: calc(var(--nav-h) + 9vh); }
  .lead__main { min-height: 0; padding: 22px 18px 26px; }
  .chip span { min-height: 48px; padding: 8px 16px; }
  .s-contact { padding-inline: 12px; }
  .s-contact__head { padding-inline: 8px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-r] { opacity: 1 !important; transform: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
  [data-draw] { stroke-dashoffset: 0 !important; }
  .js .hero [data-hero] { opacity: 1; transform: none; }
  .word__d { opacity: 1 !important; transform: none !important; }
}
