/* ==========================================================================
   KLINBIT · Hoja de estilos (v2, rediseño premium)
   --------------------------------------------------------------------------
   01 Fuentes y tokens        06 Acto I · Apertura
   02 Base                    07 Acto II · Problema y método
   03 Layout y utilidades     08 Acto III · Entregable, equipo, pruebas
   04 Componentes             09 Cierre: contacto + FAQ
   05 Cabecera y menú         10 Pie · 11 Movimiento · 12 Responsive

   Sistema:
   · Dos familias, tres registros con función
       Archivo Black ........ solo H1 y cifras protagonistas
       Bricolage (contraste) . titulares y texto
       Bricolage (fino) ..... etiquetas, datos, firmas
   · Paleta: papel, tinta cálida, turquesa y UN solo rojo.
       Rojo = "lo que reducimos". Turquesa = lo medido / el método.
   ========================================================================== */

/* ---------- 01. Fuentes y tokens ---------- */
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap;
  src: url("../fonts/archivo-black-latin.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); }

/* Permite animar el avance de las "máscaras de dibujo" de las ilustraciones */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  /* Color */
  --paper: #f0ece5;
  --paper-2: #e6e0d6;
  --ink: #14120f;
  --ink-2: #1e1b17;
  --teal: #5bc4c1;
  --red: #e0574d;
  --muted: rgba(20, 18, 15, .66);
  --muted-inv: rgba(240, 236, 229, .7);
  --line: rgba(20, 18, 15, .16);
  --line-inv: rgba(240, 236, 229, .2);

  /* Tipografía */
  --f-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --f-text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: var(--f-text); /* etiquetas: Bricolage en peso fino, en mayúsculas pequeñas */

  /* Layout */
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --title: clamp(2rem, min(5vw, 7.5svh), 5rem);   /* tamaño único de los títulos de sección */

  /* Movimiento */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 02. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html:not(.has-pin) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
sub { font-size: .62em; line-height: 0; }
::selection { background: var(--teal); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
[data-tone="dark"] :focus-visible, .tone-dark :focus-visible { outline-color: var(--teal); }

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

/* Grano de papel: sutil pero perceptible, sobre toda la página */
.grain-fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .5; 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' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .18  0 0 0 0 .15  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px; }

/* ---------- 03. Layout y utilidades ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }

/* Etiqueta (usada con variaciones de posición en cada sección) */
.label { font-family: var(--f-label); font-weight: 400; font-size: .72rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tone-dark .label { color: var(--muted-inv); }

.h2 { font-family: var(--f-text); font-weight: 800; font-size: var(--title); line-height: .98;
  letter-spacing: -.032em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.lead { font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.4; letter-spacing: -.012em; max-width: 34ch; text-wrap: pretty; }
.body { max-width: 52ch; color: var(--muted); text-wrap: pretty; }
.tone-dark .body { color: var(--muted-inv); }

/* Tramas de revelado de palabras en titulares (JS divide el texto en palabras) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.split.is-in .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

/* ---------- 04. Componentes ---------- */

/* Botón: contorno que se rellena; flecha de texto que avanza */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: var(--ink);
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; overflow: hidden;
  isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.975); }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--red); }
.btn--solid:hover { border-color: var(--red); }
.btn--teal { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.btn--teal::before { background: var(--paper); }
.btn--teal:hover { color: var(--ink); border-color: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.tone-dark .btn:not(.btn--teal):not(.btn--solid) { color: var(--paper); }
.tone-dark .btn:not(.btn--teal):not(.btn--solid)::before { background: var(--paper); }
.tone-dark .btn:not(.btn--teal):not(.btn--solid):hover { color: var(--ink); }

/* Enlace de texto con subrayado que se dibuja */
.link { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-block: 6px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor;
  transform-origin: left; transition: transform .5s var(--ease-out); }
.link:hover::after { transform: scaleX(.0); transform-origin: right; }
.link__ico { display: inline-block; transition: transform .45s var(--ease-out); }
.link:hover .link__ico { transform: translateY(4px); }

/* Ilustración que se "dibuja": máscara de barrido controlada por --p */
.wipe { --p: 0; -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) * 135% - 35%), transparent calc(var(--p) * 135%));
  mask-image: linear-gradient(100deg, #000 calc(var(--p) * 135% - 35%), transparent calc(var(--p) * 135%)); }
.wipe.is-in { --p: 1; transition: --p 1.7s cubic-bezier(.45, .05, .25, 1); }
html:not(.js) .wipe { --p: 1; }

/* ---------- 05. Cabecera y menú ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--ink);
  transition: color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease-out); }
.hdr[data-tone="dark"] { color: var(--paper); }
.hdr.is-solid { background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.hdr.is-solid[data-tone="dark"] { background: color-mix(in srgb, var(--ink) 78%, transparent); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo { display: block; width: 104px; flex: none; }
.hdr__logo img { width: 100%; height: auto; }
.hdr__nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.hdr__link { font-family: var(--f-label); font-weight: 400; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; position: relative; padding: 8px 0; opacity: .78; transition: opacity .25s; }
.hdr__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.hdr__link:hover, .hdr__link[aria-current="true"] { opacity: 1; }
.hdr__link:hover::after, .hdr__link[aria-current="true"]::after { transform: scaleX(1); }
.hdr__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.hdr[data-tone="dark"] .btn:not(.btn--solid) { color: var(--paper); }
.hdr[data-tone="dark"] .btn:not(.btn--solid)::before { background: var(--paper); }
.hdr[data-tone="dark"] .btn:not(.btn--solid):hover { color: var(--ink); }
.hdr.is-hidden { transform: translateY(-100%); }
html.menu-open .hdr, html.menu-open .hdr[data-tone] { color: var(--paper); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.burger { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px; background: transparent; cursor: pointer;
  border: 1.5px solid currentColor; border-radius: 999px; font-family: var(--f-label); font-weight: 400; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.burger i { position: relative; width: 16px; height: 10px; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger i::before { top: 1px; } .burger i::after { top: 8px; }
.burger[aria-expanded="true"] i::before { top: 4.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after { top: 4.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 95; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) 36px; clip-path: inset(0 0 100% 0); visibility: hidden; overflow-y: auto;
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.menu__links { display: grid; }
.menu__links a { font-family: var(--f-display); font-size: clamp(2.2rem, 11vw, 4rem); letter-spacing: -.04em; line-height: 1.1; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-inv); }
.menu__foot { display: grid; gap: 14px; font-family: var(--f-label); font-weight: 400; font-size: .8rem; }
.menu__foot a { text-decoration: none; }

/* Botón flotante discreto (móvil): aparece tras el hero, se esconde al bajar */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: none;
  transform: translateY(160%); transition: transform .5s var(--ease-out); }
.fab .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); min-height: 46px; box-shadow: 0 12px 30px -10px rgba(20, 18, 15, .55); }
.fab.is-on { transform: none; }

/* ---------- 06. Acto I · Apertura ---------- */
.act1 { position: relative; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 640px; max-height: 1100px; overflow: clip; z-index: 1; background: var(--paper); }
.hero__inner { position: relative; z-index: 3; height: 100%; padding-top: calc(var(--header-h) + clamp(12px, 3.5vh, 48px)); will-change: transform, opacity;
  transform: translate3d(0, calc(var(--hp, 0) * -7vh), 0) scale(calc(1 - var(--hp, 0) * .05)); opacity: calc(1 - var(--hp, 0) * .55); transform-origin: 50% 0; }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, min(8vw, 15.5svh), 7.9rem); line-height: .88; letter-spacing: -.055em; text-wrap: balance; }
.hero__title .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero__title .ln > span { display: block; animation: rise 1.1s var(--ease-out) both; }
.hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .24s; }
.hero__title .soft { font-family: var(--f-text); font-weight: 200; letter-spacing: -.06em; font-variation-settings: "opsz" 96; color: var(--muted); }
.hero__side { position: absolute; z-index: 4; right: var(--gutter); top: calc(var(--header-h) + clamp(12px, 3.5vh, 48px) + 6.4vw); width: min(34ch, 36vw);
  display: grid; gap: 22px; animation: fade-up 1s var(--ease-out) .6s both; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__art { position: absolute; z-index: 2; left: 0; right: 0; bottom: 56px; will-change: transform; transform: translate3d(0, calc(24% + var(--hp, 0) * 10vh), 0) scale(calc(1 + var(--hp, 0) * .06)); transform-origin: 50% 100%; }
.hero__art img { width: min(100%, 150svh); margin-inline: auto; height: auto; }
.hero__art.wipe { animation: draw 2.2s cubic-bezier(.45, .05, .25, 1) .35s both; }
.hero__foot { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 56px; border-top: 1px solid var(--line); background: var(--paper); }
.hero__foot .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sign { display: flex; align-items: center; gap: 14px; font-family: var(--f-label); font-weight: 400; font-size: .72rem; letter-spacing: .02em; }
.sign b { font-weight: 500; text-transform: uppercase; }
.sign span { color: var(--muted); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 2px; background: var(--ink); height: 100%; transform-origin: 50% 100%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2n) { animation-duration: 1.4s; } .eq i:nth-child(3n) { animation-duration: .9s; animation-delay: -.3s; } .eq i:nth-child(4n) { animation-delay: -.6s; }
.creds { display: flex; align-items: center; gap: 14px; font-family: var(--f-label); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.creds img { height: 15px; width: auto; filter: brightness(0); opacity: .75; }
.creds__logo { display: inline-flex; transition: opacity .3s; }
.creds__logo:hover img { opacity: 1; }
.creds .sep { width: 1px; height: 14px; background: var(--line); }

/* ---------- 07. Acto II · Problema ---------- */
.problem { position: relative; z-index: 2; background: var(--ink); color: var(--paper); border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; margin-top: -2px; }
.problem__pin { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 20px) 0 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: clip; }
.problem__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: start; row-gap: 16px; }
.problem__top .label { grid-column: 1 / -1; }
.problem__top .h2 { grid-column: 1 / span 6; }
.problem__top .lead { grid-column: 8 / span 5; align-self: end; color: var(--muted-inv); }
.problem__stage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: end; }
.stat53 { grid-column: 1 / span 7; display: flex; align-items: flex-start; line-height: .78; color: var(--red); font-family: var(--f-display); letter-spacing: -.07em; margin-left: -.04em; }
.stat53 .n { font-size: max(6rem, min(30vw, 38svh)); font-variant-numeric: tabular-nums; }
.stat53 .u { font-size: max(2.6rem, min(10vw, 13svh)); margin-top: .12em; margin-left: .02em; }
.problem__read { grid-column: 9 / span 4; display: grid; gap: clamp(16px, 3vh, 40px); padding-bottom: .6rem; }
.problem__read p.big { font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.28; font-weight: 400; letter-spacing: -.015em; max-width: 24ch; }
.stat40 { display: flex; align-items: baseline; gap: 14px; transition: opacity .8s var(--ease), transform .8s var(--ease-out); }
.stat40 .n { white-space: nowrap; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 6rem); line-height: .85; letter-spacing: -.06em; color: var(--teal); font-variant-numeric: tabular-nums; }
.stat40 p { max-width: 22ch; font-size: 1rem; line-height: 1.3; color: var(--muted-inv); }
.problem__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: end; padding-top: 28px; border-top: 1px solid var(--line-inv); row-gap: 18px; }
.stamp { grid-column: 1 / span 2; position: relative; width: min(clamp(84px, 11vw, 150px), 17svh); aspect-ratio: 1; }
.stamp svg { width: 100%; height: 100%; overflow: visible; transform: rotate(calc(var(--sp, 0) * 360deg)); }
.stamp text { font-family: var(--f-label); font-weight: 400; font-size: 10.4px; letter-spacing: .1em; text-transform: uppercase; fill: var(--paper); }
.stamp .core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(1rem, 1.4vw, 1.4rem); color: var(--teal); letter-spacing: -.04em; }
.problem__dir { grid-column: 3 / span 4; font-size: 1rem; line-height: 1.4; max-width: 38ch; }
.problem__dir b { font-weight: 600; color: var(--paper); }
.problem__law { grid-column: 8 / span 5; font-size: .875rem; line-height: 1.45; color: var(--muted-inv); max-width: 52ch; }
.problem__law .label { display: block; margin-bottom: 8px; }
.problem__out { font-family: var(--f-text); font-weight: 300; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.25; letter-spacing: -.02em; color: var(--paper); max-width: 22ch; }
.problem__out em { font-style: normal; color: var(--teal); font-weight: 500; }

/* ---------- 07b. Acto II · Método (escenario fijado de 4 pasos) ---------- */
.method { position: relative; z-index: 3; background: var(--teal); color: var(--ink); }
.method__stage { position: relative; display: block; padding-top: calc(var(--header-h) + 40px); padding-bottom: 24px; }
.m-title { margin-bottom: 8px; }
.roll, .index { display: none; }               /* solo existen con el escenario fijado */
.steps { display: grid; gap: 0; }
.step { display: grid; gap: 28px; padding: 44px 0 52px; border-top: 1.5px solid rgba(20, 18, 15, .3); }
.step__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 14.5vw, 7rem); line-height: .9; letter-spacing: -.06em; }
.step__text { display: grid; gap: 14px; align-content: start; }
.step__text .body { color: rgba(20, 18, 15, .8); font-size: 1.05rem; max-width: 46ch; }
.gain { display: grid; gap: 6px; max-width: 46ch; margin-top: 10px; font-size: 1.02rem; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.gain .label { color: rgba(20, 18, 15, .7); }
.step__plate { position: relative; width: min(74%, 340px); aspect-ratio: 4 / 5; background: var(--paper); border-radius: 999px 999px 0 0; overflow: hidden; }
.step__plate img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 94%; max-height: 92%; object-fit: contain; object-position: 50% 100%; }

/* Con escenario fijado (escritorio) */
html.has-pin .method__pin { position: sticky; top: 0; height: 100svh; overflow: clip; }
html.has-pin .method__stage { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr) auto; column-gap: clamp(12px, 2vw, 28px); padding-top: calc(var(--header-h) + 18px); padding-bottom: 26px; --rs: min(8.6vw, 15.5svh, 9.2rem); }
html.has-pin .m-title { grid-column: 1 / span 8; grid-row: 1; margin-bottom: 0; }
html.has-pin .roll { display: block; grid-column: 1 / span 8; grid-row: 2; height: calc(var(--rs) * .92); overflow: hidden; margin-top: 8px; }
html.has-pin .roll__track { transform: translateY(calc(var(--i, 0) * var(--rs) * -.92)); transition: transform .95s var(--ease-out); }
html.has-pin .roll span { display: block; height: calc(var(--rs) * .92); font-family: var(--f-display); font-size: var(--rs); line-height: .92; letter-spacing: -.06em; white-space: nowrap; }
html.has-pin .steps, html.has-pin .step { display: contents; }
html.has-pin .step__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.has-pin .step__text { grid-column: 1 / span 6; grid-row: 3; align-self: end; padding-bottom: clamp(18px, 4svh, 40px); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .45s var(--ease), transform .8s var(--ease-out); }
html.has-pin .step.is-on .step__text { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
html.has-pin .step__text { gap: clamp(8px, 1.6svh, 16px); }
html.has-pin .step__text .body { font-size: clamp(1.02rem, 1.5vw, 1.34rem); line-height: 1.38; max-width: 42ch; color: rgba(20, 18, 15, .88); }
html.has-pin .gain { font-size: clamp(.95rem, 1.2vw, 1.08rem); padding-top: 14px; margin-top: 6px; border-top: 1.5px solid rgba(20, 18, 15, .3); max-width: 42ch; }
html.has-pin .step__plate { grid-column: 9 / span 4; grid-row: 1 / span 4; align-self: end; justify-self: end; width: min(100%, calc((100svh - var(--header-h) - 70px) * .8)); aspect-ratio: 4 / 5; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out); }
html.has-pin .step.is-on .step__plate { clip-path: inset(0); }
html.has-pin .index { display: grid; grid-column: 1 / span 7; grid-row: 4; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.index button { position: relative; text-align: left; padding: 14px 0 0; background: none; border: 0; cursor: pointer; font-family: var(--f-label); font-weight: 400; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(20, 18, 15, .5); transition: color .3s; }
.index button i { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: rgba(20, 18, 15, .25); }
.index button i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 0)); }
.index button.on { color: var(--ink); font-weight: 500; }
.index button:hover { color: var(--ink); }

/* ---------- 08. Acto III · Entregable ---------- */
.deliver { position: relative; background: var(--paper); padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); overflow: clip; }
.deliver__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: start; }
.deliver__copy { grid-column: 1 / span 4; display: grid; gap: 28px; position: relative; z-index: 3; }
.deliver__copy .h2 { max-width: 9ch; }
.parts { display: grid; border-top: 1px solid var(--line); }
.parts li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.3; }
.parts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-1px); }
.docs { grid-column: 5 / span 8; position: relative; height: clamp(440px, 46vw, 680px); perspective: 1600px; margin-right: calc(var(--gutter) * -1); }
.doc { position: absolute; width: clamp(220px, 24vw, 350px); aspect-ratio: 1 / 1.38; background: #fbfaf7; border-radius: 6px; padding: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; gap: 14px; color: var(--ink);
  box-shadow: 0 1px 0 rgba(20, 18, 15, .06), 0 30px 60px -28px rgba(20, 18, 15, .45), 0 8px 20px -12px rgba(20, 18, 15, .3);
  transform-style: preserve-3d; transition: box-shadow .5s var(--ease); will-change: transform; }
.doc--1 { left: 0; top: 8%; z-index: 1; transform: translate3d(calc(var(--dp, 0) * 0px), calc((1 - var(--dp, 0)) * 90px), 0) rotate(calc(-9deg + var(--dp, 0) * 3deg)) rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); }
.doc--2 { left: 31%; top: 0; z-index: 2; transform: translate3d(0, calc((1 - var(--dp, 0)) * 120px), 0) rotate(calc(-1deg + var(--dp, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1.4deg)) rotateX(calc(var(--rx, 0) * 1.4deg)); }
.doc--3 { left: 62%; top: 12%; z-index: 3; transform: translate3d(calc((1 - var(--dp, 0)) * -30px), calc((1 - var(--dp, 0)) * 150px), 0) rotate(calc(8deg - var(--dp, 0) * 2deg)) rotateY(calc(var(--ry, 0) * 1.9deg)) rotateX(calc(var(--rx, 0) * 1.9deg)); }
.doc__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-label); font-weight: 400; font-size: .56rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(20, 18, 15, .55); }
.doc__meta img { width: 54px; }
.doc__title { font-family: var(--f-display); font-size: clamp(1.2rem, 2.1vw, 1.9rem); line-height: .96; letter-spacing: -.045em; }
.doc__rule { height: 1px; background: rgba(20, 18, 15, .16); }
.doc__skel { display: grid; gap: 7px; }
.doc__skel i { display: block; height: 5px; border-radius: 3px; background: rgba(20, 18, 15, .11); }
.doc__skel i:nth-child(3n) { width: 72%; } .doc__skel i:nth-child(4n) { width: 88%; }
.doc__foot { margin-top: auto; font-family: var(--f-label); font-weight: 400; font-size: .56rem; letter-spacing: .03em; text-transform: uppercase; color: rgba(20, 18, 15, .55); display: flex; justify-content: space-between; }
.bars { display: grid; gap: 9px; margin-top: 4px; }
.bars div { display: grid; gap: 4px; font-family: var(--f-label); font-weight: 400; font-size: .54rem; text-transform: uppercase; color: rgba(20, 18, 15, .6); }
.bars b { display: block; height: 10px; border-radius: 2px; background: var(--teal); width: var(--w); transform-origin: left; transform: scaleX(var(--dp, 1)); position: relative; }
.bars b::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28%; background: var(--red); border-radius: 0 2px 2px 0; opacity: .9; }
.doc__legend { display: flex; gap: 12px; font-family: var(--f-label); font-weight: 400; font-size: .54rem; text-transform: uppercase; color: rgba(20, 18, 15, .6); }
.doc__legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--teal); }
.doc__legend span:last-child::before { background: var(--red); }
.doc__ticks { display: grid; gap: 9px; }
.doc__ticks div { display: flex; gap: 8px; align-items: center; }
.doc__ticks div::before { content: ""; width: 9px; height: 9px; border-radius: 2px; border: 1.5px solid var(--ink); flex: none; }
.doc__ticks div:nth-child(-n+2)::before { background: var(--teal); border-color: var(--teal); }
.doc__ticks i { height: 5px; border-radius: 3px; background: rgba(20, 18, 15, .12); flex: 1; display: block; }
.doc__ticks i:nth-child(odd) { max-width: 82%; }
.docs__cap { position: absolute; left: 0; bottom: 0; z-index: 4; max-width: 46ch; }
@media (max-width: 960px) { .docs__cap { bottom: -36px; } .deliver { padding-bottom: 120px; } }

/* ---------- 08b. Quiénes somos ---------- */
.about { position: relative; background: var(--paper-2); padding: clamp(64px, 8vw, 120px) 0; overflow: clip; }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 40px; align-items: start; }
.about__stmt { grid-column: 1 / span 8; }
.about .about__stmt .soft { color: var(--muted); }
.about__side { grid-column: 9 / span 4; display: grid; gap: 22px; padding-top: 10px; }
.partner { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 28px; align-items: start; margin-top: clamp(8px, 2vw, 32px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.partner__id { grid-column: 1 / span 3; display: grid; gap: 18px; align-content: start; }
.partner__logo { display: inline-flex; width: fit-content; padding-block: 2px; transition: transform .45s var(--ease-out), opacity .3s; }
.partner__logo img { height: 30px; width: auto; filter: brightness(0); }
.partner__logo:hover { transform: translateY(-2px); opacity: .65; }
.partner__fig { grid-column: 4 / span 4; display: grid; gap: 10px; }
.partner__fig strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 6.4vw, 6rem); line-height: .84; letter-spacing: -.055em; color: var(--red); font-variant-numeric: tabular-nums; }
.partner__fig span { max-width: 26ch; font-size: 1rem; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.partner__txt { grid-column: 8 / span 5; display: grid; gap: 16px; }
.partner__txt > p { color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 52ch; }
.partner__facts { display: grid; border-top: 1px solid var(--line); }
.partner__facts li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.35; }
.partner__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-1px); }
.partner .link { width: fit-content; font-size: .95rem; }
.clicklink { color: var(--ink); font-weight: 300; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--red), var(--red)) 0 94% / 100% .05em no-repeat; transition: color .3s var(--ease), background-size .5s var(--ease-out); }
.clicklink:hover { color: var(--red); background-size: 100% .12em; }

/* Mecanismos de prueba social (se activan con js/script.js (módulo 1/4, «Pruebas reales»)) */
.proof-case { position: relative; background: var(--ink); color: var(--paper); overflow: clip; }
.proof-case__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; filter: grayscale(1) contrast(1.1); }
.proof-case__in { position: relative; padding: clamp(100px, 14vw, 220px) 0; display: grid; gap: clamp(36px, 5vw, 72px); }
.proof-case h2 { max-width: 16ch; }
.proof-case__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 80px); max-width: 880px; }
.proof-case__nums div { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-inv); }
.proof-case__nums strong { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 8rem); line-height: .9; letter-spacing: -.06em; }
.proof-case__nums div:last-child strong { color: var(--teal); }
.proof-case blockquote { max-width: 34ch; font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; }
.proof-case cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--f-label); font-weight: 400; font-size: .76rem; text-transform: uppercase; color: var(--muted-inv); }
.proof-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 280px)); justify-content: end; gap: 28px; margin-top: 56px; }
.proof-team figure:nth-child(even) { transform: translateY(clamp(0px, 4vw, 56px)); }
.proof-team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); border-radius: 2px; }
.proof-team figure:hover img { filter: none; }
.proof-team figcaption { padding-top: 10px; display: grid; gap: 4px; }
.proof-team b { font-weight: 700; letter-spacing: -.02em; }
.proof-team span { font-family: var(--f-label); font-weight: 400; font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.proof-team q { font-weight: 300; line-height: 1.3; margin-top: 6px; quotes: none; }
.proof-logos { display: flex; align-items: center; gap: 22px; }
.proof-logos img { height: 18px; width: auto; filter: brightness(0); opacity: .7; }

/* ---------- 09. Cierre ---------- */
.close { position: relative; background: var(--ink); color: var(--paper); padding: clamp(100px, 13vw, 200px) 0 clamp(60px, 8vw, 120px); border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; margin-top: calc(clamp(24px, 4vw, 56px) * -1); z-index: 4; overflow: clip; }
.close__title { max-width: 16ch; }
.close__title .soft, .about__stmt .soft { font-weight: 200; color: var(--muted-inv); }
.close__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 48px; margin-top: clamp(48px, 7vw, 100px); align-items: start; }
.close__intro { grid-column: 1 / span 4; display: grid; gap: 28px; }
.form { grid-column: 6 / span 7; display: grid; gap: 26px; }
.field { position: relative; display: grid; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line-inv); border-radius: 0; padding: 26px 0 12px; font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; color: var(--paper); transition: border-color .3s; }
.field textarea { min-height: 96px; resize: vertical; }
.field label { position: absolute; left: 0; top: 24px; font-size: 1.15rem; color: var(--muted-inv); pointer-events: none; transition: transform .35s var(--ease-out), color .3s, font-size .35s var(--ease-out); transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px); font-size: .72rem; font-family: var(--f-label); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); }
.field input:user-invalid { border-color: var(--red); }
.more { border-top: 1px solid var(--line-inv); }
.more summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-family: var(--f-label); font-weight: 400; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-inv); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.1rem; line-height: .8; transition: transform .4s var(--ease-out); }
.more[open] summary::after { transform: rotate(45deg); }
.more__in { display: grid; gap: 26px; padding-bottom: 8px; }
.legal { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .86rem; color: var(--muted-inv); line-height: 1.45; }
.legal input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.legal a { color: var(--paper); }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__status { font-size: .95rem; min-height: 1.4em; }
.form__status a { color: inherit; text-underline-offset: 3px; }
.form__status.is-ok { color: var(--teal); } .form__status.is-err { color: #ff8f86; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.faq { margin-top: clamp(80px, 11vw, 180px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 28px; }
.faq > .h2 { grid-column: 1 / span 4; }
.faq__list { grid-column: 5 / span 8; display: grid; }
.faq details { border-top: 1px solid var(--line-inv); }
.faq details:last-child { border-bottom: 1px solid var(--line-inv); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.02em; line-height: 1.2; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--teal); }
.faq__a { padding: 0 48px 24px 0; max-width: 58ch; color: var(--muted-inv); }

/* ---------- 09b. Aviso de cookies ---------- */
.cookie { position: fixed; z-index: 120; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 32px));
  display: grid; gap: 12px; padding: 20px 22px 18px; background: var(--paper); color: var(--ink); border-radius: 22px;
  box-shadow: 0 1px 0 rgba(20, 18, 15, .06), 0 28px 60px -20px rgba(0, 0, 0, .55), 0 6px 16px -8px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(24px); visibility: hidden; transition: opacity .5s var(--ease), transform .8s var(--ease-out), visibility 0s linear .8s; }
.cookie.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.cookie__t { font-family: var(--f-text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1; font-variation-settings: "opsz" 48; }
.cookie__d { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.cookie__d a { color: var(--ink); text-underline-offset: 3px; }
.cookie__a { display: flex; gap: 10px; padding-top: 4px; }
.cookie__a .btn { flex: 1; justify-content: center; }
html.cookie-open .fab { transform: translateY(160%) !important; }
.foot__btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; transition: color .25s; }
.foot__btn:hover { color: var(--teal); }

/* ---------- 10. Pie ---------- */
.foot { position: relative; background: var(--ink); color: var(--paper); overflow: clip; z-index: 5; }
.foot__mark { display: block; width: 100%; max-width: none; padding: clamp(40px, 6vw, 90px) var(--gutter) 0; margin-bottom: -2.2vw; }
.foot__mark img { width: 100%; height: auto; opacity: .96; transition: filter .6s var(--ease); }
.foot__mark:hover img { filter: hue-rotate(-12deg) saturate(1.15); }
.foot__bar { position: relative; z-index: 2; background: var(--ink); border-top: 1px solid var(--line-inv); }
.foot__bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 20px; font-family: var(--f-label); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; color: var(--muted-inv); }
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__bar a { text-decoration: none; transition: color .25s; }
.foot__bar a:hover { color: var(--teal); }
.totop { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.totop:hover { background: var(--paper); color: var(--ink) !important; transform: translateY(-3px); }

/* ---------- 11. Movimiento ---------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { --p: 0; } to { --p: 1; } }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Sin pin (móvil, movimiento reducido, sin JS): todo visible y en flujo normal */
html:not(.has-pin) .problem__pin { min-height: 0; }
html.has-pin .problem { height: 320svh; }
html.has-pin .problem__pin { position: sticky; top: 0; height: 100svh; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .rv { opacity: 1; transform: none; } .split .w > span { transform: none; } .wipe { --p: 1; } .eq i { animation: none; transform: scaleY(.6); }
  .hero__inner, .hero__art { transform: none !important; opacity: 1 !important; }
  .loader__logo, .loader__bar i { animation: none; }
}

/* ---------- 11b. Pantalla de carga ---------- */
.loader { display: none; }
.is-loading .loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--ink);
  transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.is-loading.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.is-loading:not(.is-loaded) body { overflow: hidden; }
.is-loading:not(.is-loaded) .hero * { animation-play-state: paused !important; }
.loader__in { display: grid; justify-items: center; gap: 28px; width: min(220px, 56vw); }
.loader__logo { width: 100%; height: auto; animation: loader-pulse 1.6s ease-in-out infinite; }
.loader__bar { display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--line-inv); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--red); animation: loader-slide 1.1s var(--ease) infinite; }
@keyframes loader-pulse { 0%, 100% { opacity: .75; transform: scale(.98); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loader-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- 12. Responsive ---------- */

/* Pantallas bajas (portátiles): todo el contenido fijado debe caber sin solaparse con la banda de progreso */
@media (min-width: 961px) and (max-height: 800px) {
  .panel__word { font-size: clamp(3.4rem, min(17vw, 21svh), 18rem); }
  .gain p { font-size: .95rem; line-height: 1.35; }
  .problem__read p.big { font-size: 1.05rem; } .stat40 .n { font-size: clamp(2.4rem, 4.4vw, 4rem); }
  .problem__dir { font-size: .92rem; } .problem__law { font-size: .8rem; } .problem__out { font-size: 1rem; }
  .problem__top .lead { font-size: 1.05rem; }
  .hero__art img { width: min(66vw, 130svh); margin-left: 0; }
  html.has-pin .step__text .body { font-size: 1rem; line-height: 1.36; }
  html.has-pin .gain { font-size: .94rem; padding-top: 10px; }
}
/* Pantallas muy bajas (portátiles con escala alta): el método fijado se compacta para que quepa */
@media (min-width: 961px) and (max-height: 640px) {
  html.has-pin .method__stage { --rs: min(8.6vw, 13svh, 9.2rem); padding-top: calc(var(--header-h) + 8px); padding-bottom: 14px; }
  html.has-pin .step__text { padding-bottom: 8px; gap: 6px; }
  html.has-pin .step__text .body { font-size: .92rem; line-height: 1.3; }
  html.has-pin .gain { font-size: .86rem; margin-top: 2px; padding-top: 8px; }
  html.has-pin .step__plate { width: min(100%, calc((100svh - var(--header-h) - 40px) * .8)); }
}
@media (max-width: 1100px) {
  .hero__side { position: relative; right: auto; top: auto; width: auto; max-width: 44ch; margin-top: 28px; padding-inline: 0; }
  .p2__art { width: 80vw; opacity: .9; }
}
@media (max-width: 960px) {
  .hero__title { font-size: clamp(3rem, 11.5vw, 7rem); }
  .hdr__nav .hdr__link { display: none; }
  .hdr__nav .btn { display: none; }
  .burger { display: inline-flex; }
  .fab { display: block; }
  .problem__top .h2, .problem__top .lead { grid-column: 1 / -1; }
  .stat53 { grid-column: 1 / -1; }
  .problem__read { grid-column: 1 / -1; margin-top: 28px; }
  .stamp { grid-column: 1 / span 3; } .problem__dir { grid-column: 4 / -1; } .problem__law { grid-column: 1 / -1; }
  .p3__art { grid-column: 1 / -1; grid-row: auto; order: 5; width: min(72%, 360px); margin: 28px 0 0; }
  .deliver__copy { grid-column: 1 / -1; } .deliver__copy .h2 { max-width: 14ch; }
  .docs { grid-column: 1 / -1; margin: 40px 0 0; height: clamp(420px, 92vw, 560px); }
  .doc { width: clamp(180px, 46vw, 300px); } .doc--1 { left: 0; top: 10%; } .doc--2 { left: 26%; } .doc--3 { left: 52%; top: 14%; }
  .about__stmt, .about__side { grid-column: 1 / -1; }
  .partner__id, .partner__fig, .partner__txt { grid-column: 1 / -1; }
  .close__intro, .form { grid-column: 1 / -1; }
  .faq > .h2, .faq__list { grid-column: 1 / -1; }
  .hero__foot .creds .hide-s { display: none; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(200px, 320px); align-items: end; column-gap: 40px; }
  .step__name { grid-column: 1 / -1; font-size: clamp(3.4rem, 11.5vw, 6rem); }
  .step__text { grid-column: 1; } .step__plate { grid-column: 2; width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hdr__logo { width: 92px; }
  .hero { min-height: 720px; }
  .hero__title { font-size: clamp(2.9rem, 15.4vw, 5rem); }
  .hero__art img { max-height: 42svh; }
  .hero__foot .creds { display: none; }
  .p3__art { grid-column: 1 / -1; max-width: 70%; }
  .proof-case__nums { grid-template-columns: 1fr; }
}

/* ---------- 13. Páginas legales (aviso-legal, privacidad, cookies) ---------- */
.legal-page { min-height: 100svh; background: var(--paper); }
.legal-page__in { max-width: 760px; margin-inline: auto; padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(60px, 10vw, 140px); display: grid; gap: clamp(28px, 5vw, 56px); }
.legal-page__logo { width: 104px; }
.legal-page h1 { font-family: var(--f-text); font-weight: 800; font-size: var(--title); line-height: .98; letter-spacing: -.032em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.legal-page p { color: var(--muted); max-width: 52ch; }
.legal-page a:not(.legal-page__logo):not(.btn) { color: var(--ink); text-underline-offset: 3px; }

/* ---------- 14. Páginas de servicio (huella, estrategia, comunicación) ----------
   Reutilizan los mismos tokens, tipografías y botones que la home. */
.svc { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px)); background: var(--paper); }
.svc__in { max-width: 820px; display: grid; gap: clamp(28px, 4vw, 48px); padding-bottom: clamp(60px, 9vw, 120px); }
.svc__crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.svc__crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.svc__crumbs a { text-decoration: none; }
.svc__crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.svc__h1 { font-family: var(--f-text); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.svc__lead { font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -.012em; max-width: 46ch; text-wrap: pretty; }
.svc__sec { display: grid; gap: 16px; padding-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--line); }
.svc__sec h2 { font-family: var(--f-text); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.svc__sec p, .svc__list, .svc__steps { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.svc__sec a { color: var(--ink); text-underline-offset: 3px; }
.svc__list { display: grid; gap: 10px; }
.svc__list li { position: relative; padding-left: 22px; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.svc__list strong, .svc__steps strong { color: var(--ink); font-weight: 600; }
.svc__steps { display: grid; gap: 14px; counter-reset: s; }
.svc__steps li { position: relative; padding-left: 40px; counter-increment: s; }
.svc__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font-family: var(--f-label); font-size: .8rem; color: var(--red); line-height: 1.9; }
.svc__faq details { border-top: 1px solid var(--line); }
.svc__faq details:last-child { border-bottom: 1px solid var(--line); }
.svc__faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.svc__faq summary::-webkit-details-marker { display: none; }
.svc__faq summary::after { content: "+"; flex: none; font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .35s var(--ease-out); }
.svc__faq details[open] summary::after { transform: rotate(45deg); }
.svc__faq summary:hover { color: var(--red); }
.svc__a { padding: 0 40px 20px 0; }
.svc__more { display: grid; gap: 12px; }
.svc__more ul { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.svc__more a { font-weight: 600; text-underline-offset: 3px; }
.svc__cta { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 9vw, 120px); }
.svc__cta .wrap { display: grid; gap: 20px; justify-items: start; }
.svc__cta h2 { font-family: var(--f-text); font-weight: 800; font-size: var(--title); line-height: .98; letter-spacing: -.032em; text-wrap: balance; }
.svc__cta p { color: var(--muted-inv); max-width: 52ch; }

/* Textos legales largos (aviso legal, privacidad, cookies) */
.legal-page--doc .legal-page__in { max-width: 900px; }
.legal-doc { display: grid; gap: 14px; }
.legal-doc h2 { font-family: var(--f-text); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 18px; }
.legal-page .legal-doc p { max-width: 74ch; }
.legal-doc ul { display: grid; gap: 8px; color: var(--muted); max-width: 74ch; padding-left: 20px; list-style: disc; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .82rem; color: var(--muted); }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
