/* ============================================================
   Registro Electrónico de Jornada Laboral — prueba temprana
   Sistema: tinta #08090C · marfil #F4F1EA · ámbar #F0A868
           papel #F7F4ED · tinta clara #14161C · óxido #B4470A
   Tipos:  Fraunces (display) · Schibsted Grotesk (texto)
           Fragment Mono (datos y etiquetas)
   ============================================================ */

:root {
  --ink: #08090C;
  --ink-2: #0C0E13;
  --ivory: #F4F1EA;
  --amber: #F0A868;
  --paper: #F7F4ED;
  --ink-l: #14161C;
  --rust: #B4470A;
  --ochre: #8A5A12;

  --iv-90: rgba(244, 241, 234, .9);
  --iv-72: rgba(244, 241, 234, .72);
  --iv-62: rgba(244, 241, 234, .62);
  --iv-28: rgba(244, 241, 234, .28);
  --iv-14: rgba(244, 241, 234, .14);
  --iv-10: rgba(244, 241, 234, .10);

  --il-72: rgba(20, 22, 28, .72);
  --il-65: rgba(20, 22, 28, .65);
  --il-62: rgba(20, 22, 28, .62);
  --il-35: rgba(20, 22, 28, .35);
  --il-14: rgba(20, 22, 28, .14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad-x: clamp(20px, 6.5vw, 100px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--ink); }

a { color: var(--amber); text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
.light :focus-visible { outline-color: var(--rust); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 20px; background: var(--amber); color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- utilidades tipográficas ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  letter-spacing: -0.018em;
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  color: var(--amber);
}
.light .display em { color: var(--rust); }

.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- grano de película ---------- */

.grain {
  position: fixed; inset: -50%; z-index: 90;
  pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .038;
  animation: grain-shift 1.1s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(1.2%, -0.8%); }
  100% { transform: translate(-0.6%, 1%); }
}

/* ---------- barra de progreso ---------- */

.progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  width: 100%; height: 2px;
  background: transparent;
}
.progress i {
  display: block; height: 100%; width: 100%;
  background: var(--amber);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- navegación ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: rgba(8, 9, 12, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--iv-10);
  transition: transform .5s var(--ease-out);
}
.nav.hidden { transform: translateY(-110%); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand-mark {
  width: 30px; height: 30px; border: 1px solid var(--ivory);
  border-radius: 50%; position: relative; flex: none;
}
.brand-mark::before {
  content: ""; position: absolute; left: 14px; top: 7px;
  width: 1px; height: 8px; background: var(--ivory);
}
.brand-mark::after {
  content: ""; position: absolute; left: 14px; top: 14px;
  width: 8px; height: 1px; background: var(--amber);
  transform-origin: 0 50%;
}
.brand:hover .brand-mark::after { animation: tick 1.4s steps(6) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.brand-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 40;
  font-size: 22px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--iv-62);
  transition: color .25s;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--amber); }

[id] { scroll-margin-top: 96px; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px;
  border-radius: 100px; border: 0;
  font-size: 16px; font-weight: 600;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #F6BB84; }
.btn-ivory { background: var(--ivory); color: var(--ink); height: 44px; padding: 0 22px; font-size: 14px; }
.btn-ghost {
  background: transparent; color: var(--ivory);
  border: 1px solid var(--iv-28); font-weight: 400;
}
.btn-ghost:hover { border-color: var(--ivory); }
.btn-ink { background: var(--ink-l); color: var(--paper); }
.btn-ink:hover { background: #262a35; }

/* ---------- secciones ---------- */

main { display: block; }

.section {
  position: relative;
  padding: clamp(80px, 10vw, 130px) var(--pad-x);
}
.section.dark { background: var(--ink); color: var(--ivory); border-top: 1px solid var(--iv-10); }
.section.light { background: var(--paper); color: var(--ink-l); }

.sec-head { display: flex; align-items: baseline; gap: 24px; }
.sec-head .idx { color: var(--amber); }
.light .sec-head .idx { color: var(--rust); }
.sec-head .rule { flex: 1; height: 1px; background: var(--iv-14); }
.light .sec-head .rule { background: var(--il-14); }
.sec-head .tag { color: var(--iv-62); }
.light .sec-head .tag { color: var(--il-62); }

.h2 {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  color: #fff;
}
.light .h2 { color: var(--ink-l); }

.hair { height: 1px; background: var(--iv-14); }
.light .hair { background: var(--il-14); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}

/* ---------- revelado por scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); }
.in .reveal, .reveal.in {
  opacity: 1; transform: none; filter: none;
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out),
    filter .9s var(--ease-out);
}
.in .reveal:nth-child(2) { transition-delay: .08s; }
.in .reveal:nth-child(3) { transition-delay: .16s; }
.in .reveal:nth-child(4) { transition-delay: .24s; }
.in .reveal:nth-child(5) { transition-delay: .32s; }
.in .reveal:nth-child(6) { transition-delay: .4s; }

.lines .line {
  display: block; overflow: hidden;
  /* aire para descendentes (g, j, y) y acentos con line-height apretado */
  padding-bottom: .16em; margin-bottom: -.16em;
  padding-top: .08em; margin-top: -.08em;
}
.lines .line > span {
  display: block;
  transform: translateY(135%);
  transition: transform 1.05s var(--ease-out);
}
.lines.in .line:nth-child(1) > span { transition-delay: .05s; }
.lines.in .line:nth-child(2) > span { transition-delay: .14s; }
.lines.in .line:nth-child(3) > span { transition-delay: .23s; }
.lines.in .line:nth-child(4) > span { transition-delay: .32s; }
.lines.in .line > span { transform: translateY(0); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--pad-x) 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -38%; left: 40%;
  width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(240, 168, 104, .14) 0%,
    rgba(240, 168, 104, .04) 42%,
    rgba(8, 9, 12, 0) 68%);
  pointer-events: none;
}
.hero-clock {
  position: absolute; right: -1.5vw; bottom: -3vw;
  font-family: var(--font-mono);
  font-size: clamp(120px, 21vw, 330px);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, .17);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.hero-clock b { font-weight: 400; -webkit-text-stroke-color: rgba(240, 168, 104, .34); }
.hero-clock-label {
  position: absolute; right: var(--pad-x); bottom: 30px;
  color: var(--iv-62);
}

.hero-inner { position: relative; max-width: 1060px; }

.hero-eyebrow { color: var(--amber); }

.hero .h1 {
  margin-top: clamp(22px, 3vw, 36px);
  font-size: clamp(52px, 9.4vw, 138px);
  line-height: .94;
  color: #fff;
}

.hero-sub {
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 600px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--iv-72);
}

.hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: clamp(30px, 3.4vw, 46px);
}

.hero-meta {
  margin-top: 26px;
  font-size: 12px; letter-spacing: .06em;
  color: var(--iv-62);
}

/* ---------- manifiesto ---------- */

.statement { text-align: left; }
.statement-h {
  margin-top: clamp(36px, 6vw, 72px);
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: .98;
  color: #fff;
  max-width: 1200px;
}
.statement-sub {
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 640px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 300;
  color: var(--iv-72);
}
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* la bitacora que crece sola */
.ticker {
  border: 1px solid var(--iv-14); border-radius: 6px;
  background: linear-gradient(180deg, rgba(244, 241, 234, .05) 0%, rgba(244, 241, 234, .012) 100%);
  overflow: hidden;
}
.ticker-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--iv-14);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--iv-62);
}
.ticker-head b { font-weight: 400; color: var(--amber); }
.ticker-rows { position: relative; padding: 12px 20px 16px; min-height: 300px; }
.ticker-rows::before {
  content: ""; position: absolute; left: 23px; top: 22px; bottom: 22px;
  width: 1px; background: rgba(244, 241, 234, .12);
}
.trow {
  position: relative;
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0 12px 20px;
  border-top: 1px solid rgba(244, 241, 234, .08);
  font-size: 14px;
}
.trow:first-child { border-top: 0; }
.trow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(244, 241, 234, .38);
}
.trow.amber::before { background: var(--amber); box-shadow: 0 0 10px rgba(240, 168, 104, .6); }
.trow .tt { font-family: var(--font-mono); font-size: 12px; color: var(--iv-62); flex: none; }
.trow .td { flex: 1; color: rgba(244, 241, 234, .85); }
.trow.amber .td { color: var(--amber); }
.trow .th { font-family: var(--font-mono); font-size: 11px; color: var(--iv-62); flex: none; }
.trow.enter { animation: trow-in .6s var(--ease-out); }
@keyframes trow-in { from { opacity: 0; transform: translateY(16px); } }
.trow.leave { opacity: 0; transform: translateY(-10px); transition: opacity .45s, transform .45s; }

/* ---------- cinta / marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--iv-10);
  border-bottom: 1px solid var(--iv-10);
  padding: 14px 0;
  background: var(--ink-2);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--iv-62);
  white-space: nowrap;
  padding-right: 18px;
}
.marquee-track span i { font-style: normal; color: var(--amber); padding-right: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 · la ley ---------- */

.law-article {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 60, "SOFT" 40;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: #fff;
}
.law-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: .14em;
  color: var(--amber);
}
.uma {
  font-family: var(--font-mono);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400; line-height: 1;
  color: #fff;
}
.uma-cap { margin-top: 8px; font-size: 14px; letter-spacing: .1em; color: var(--iv-62); }
.uma-note { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: #fff; }
.uma-note b { font-weight: 400; color: var(--amber); }

.ramp {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px; margin-top: 30px;
  background: var(--iv-14);
}
.ramp-cell { padding: clamp(20px, 2.6vw, 34px) clamp(14px, 2vw, 26px) 28px; background: var(--ink); }
.ramp-cell .val {
  font-family: var(--font-mono);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
  color: rgba(244, 241, 234, .38);
  transition: color .6s var(--ease-out), transform .6s var(--ease-out);
  display: inline-block;
}
.ramp-cell .yr {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .12em;
  color: rgba(244, 241, 234, .55);
}
.ramp-cell.lit .val { color: rgba(244, 241, 234, .88); transform: translateY(-4px); }
.ramp-cell.lit:first-child .val { color: var(--amber); }
.ramp-note { margin-top: 28px; max-width: 860px; font-size: 17px; color: var(--iv-62); }

/* ---------- 02 · canales ---------- */

.chan-intro { align-items: end; margin-top: clamp(28px, 4vw, 44px); }
.chan-intro p { font-size: 18px; color: var(--il-62); }
.chan-intro p b { font-weight: 600; color: var(--ink-l); }

.chan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(44px, 6vw, 72px);
  background: var(--il-14);
}
.chan-card {
  padding: 34px 28px 38px;
  background: var(--paper);
  transition: background .4s;
  position: relative;
}
.chan-card:hover { background: #FFFDF6; }

.chan-when {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--il-62);
}
.chan-when.nov { color: var(--rust); }
.chan-when.dic { color: var(--ochre); }
.chan-card h3 { margin-top: 12px; font-size: 21px; font-weight: 600; }
.chan-card p { margin-top: 8px; font-size: 16px; color: var(--il-62); }

.chan-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--il-62);
}

.chan-foot { margin-top: clamp(44px, 6vw, 72px); }
.chan-claim { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500; }
.chan-kicker {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust);
}
.chan-foot p.body { margin-top: 10px; font-size: 16px; color: var(--il-72); }

/* ---------- figuras ilustrativas ---------- */

.figure { position: relative; overflow: hidden; border-radius: 6px; }
.figure img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}
.in .figure img, .figure.in img { transform: scale(1); }
.figure figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244, 241, 234, .92);
  background: rgba(8, 9, 12, .58);
  padding: 7px 14px; border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fig-band { margin-top: clamp(44px, 6vw, 72px); aspect-ratio: 5 / 2; }
.fig-full { aspect-ratio: auto; }
.fig-wide { margin-top: clamp(44px, 6vw, 72px); aspect-ratio: 2 / 1; }
.fig-wide.pos-b img { object-position: center bottom; }
.fig-tall { margin-top: 44px; aspect-ratio: 4 / 5; }

/* fundir la fotografia con el fondo de su seccion */
.fig-blend { border-radius: 0; }
.fig-blend::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 clamp(50px, 9vw, 120px) clamp(26px, 5vw, 64px) var(--blend);
}
.fig-blend { --blend: var(--ink); }
.light .fig-blend, .fig-blend.on-paper { --blend: var(--paper); }

/* fondo del acuerdo */
.pact { position: relative; overflow: hidden; }
.pact-bg { position: absolute; inset: 0; z-index: 0; }
.pact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.pact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 9, 12, .92) 30%, rgba(8, 9, 12, .55) 100%);
}
.pact > :not(.pact-bg) { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .fig-band { aspect-ratio: 4 / 3; }
}

/* ---------- 03 · ventana ---------- */

.pilot-list { margin-top: 24px; }
.pilot-row { display: flex; gap: 24px; padding: 19px 0; }
.pilot-row .n { font-family: var(--font-mono); font-size: 13px; color: var(--amber); flex: none; padding-top: 3px; }
.pilot-row .txt { font-size: 18px; color: rgba(244, 241, 234, .85); }
.pilot-row.last .txt { color: #fff; font-weight: 500; }

/* ---------- 04 · corrección (scrollytelling) ---------- */

.scrolly { position: relative; height: 340vh; }
.scrolly-sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 0 var(--pad-x);
}
.scrolly-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.scrolly-copy .step { margin-top: 34px; position: relative; padding-left: 26px; }
.scrolly-copy .step::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(20, 22, 28, .4);
  transition: background .4s, border-color .4s;
}
.scrolly-copy .step h3 { font-size: 21px; font-weight: 600; color: rgba(20, 22, 28, .52); transition: color .4s; }
.scrolly-copy .step p { margin-top: 6px; font-size: 16px; color: rgba(20, 22, 28, .52); transition: color .4s; max-width: 380px; }
.scrolly-copy .step.on::before { background: var(--rust); border-color: var(--rust); }
.scrolly-copy .step.on h3 { color: var(--ink-l); }
.scrolly-copy .step.on p { color: var(--il-65); }

.ledger {
  border: 1px solid rgba(20, 22, 28, .2);
  border-radius: 6px;
  background: #FFFDF6;
  box-shadow: 0 30px 80px rgba(20, 22, 28, .12);
  overflow: hidden;
}
.ledger-head {
  display: flex; justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(20, 22, 28, .16);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--il-62);
}
.ledger-head b { font-weight: 400; color: var(--rust); }
.ledger-body { padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 34px); }

.ledger-time { display: flex; align-items: baseline; gap: 18px; }
.ledger-time .tt {
  font-family: var(--font-mono);
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1.1;
  color: var(--ink-l);
  position: relative;
}
.ledger-time .cap { font-size: 15px; color: var(--il-62); }

.t-orig .tt { transition: color .5s; }
.t-orig .tt::after {
  content: ""; position: absolute; left: -2%; top: 54%;
  width: 104%; height: 2px; background: var(--rust);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease-out);
}
.ledger.struck .t-orig .tt { color: rgba(20, 22, 28, .52); }
.ledger.struck .t-orig .tt::after { transform: scaleX(1); }

.t-fix { margin-top: 8px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.t-fix .tt { color: var(--rust); font-weight: 400; }
.ledger.fixed .t-fix { opacity: 1; transform: none; }

.ledger-reason {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--ochre);
  background: rgba(138, 90, 18, .06);
  font-size: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.ledger.asked .ledger-reason { opacity: 1; transform: none; }
.ledger-reason .who { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--il-62); }

.ledger-rows { margin-top: 26px; }
.ledger-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(20, 22, 28, .14);
  font-size: 15px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.ledger-row .k {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--il-62); padding-top: 2px;
}
.ledger-row .v { color: var(--ink-l); text-align: right; }
.ledger.kept .ledger-row { opacity: 1; transform: none; }
.ledger.kept .ledger-row:nth-child(2) { transition-delay: .1s; }
.ledger.kept .ledger-row:nth-child(3) { transition-delay: .2s; }
.ledger.kept .ledger-row:nth-child(4) { transition-delay: .3s; }

.correction-after { padding-top: 0; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(40px, 6vw, 64px);
  background: var(--il-14);
}
.pillar { padding: 36px 30px 40px; background: var(--paper); }
.pillar h3 { font-size: 23px; font-weight: 600; line-height: 1.2; }
.pillar p { margin-top: 12px; font-size: 16px; color: var(--il-65); }

/* ---------- 05 · olvido ---------- */

.forget-grid { margin-top: clamp(40px, 6vw, 64px); }
.forget-item h3 { margin-top: 22px; font-size: 23px; font-weight: 500; color: #fff; }
.forget-item p { margin-top: 12px; font-size: 16px; color: rgba(244, 241, 234, .65); }

/* ---------- 06 · acuerdo ---------- */

.pact {
  padding: clamp(36px, 5vw, 68px) clamp(24px, 4.4vw, 64px);
  border: 1px solid rgba(244, 241, 234, .16);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(244, 241, 234, .05) 0%, rgba(244, 241, 234, .01) 100%);
}
.pact h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; color: #fff; }
.pact-col { display: flex; flex-direction: column; gap: 20px; }
.pact-col p { font-size: 17px; color: var(--iv-72); }

/* ---------- 07 · recorrido ---------- */

.route-grid { margin-top: clamp(40px, 6vw, 64px); }
.route-step .k {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .14em;
  color: var(--rust);
}
.route-step h3 { margin-top: 14px; font-size: 25px; font-weight: 600; }
.route-step p { margin-top: 12px; font-size: 16px; color: var(--il-65); }
.route-line { position: relative; height: 1px; margin-top: 44px; background: var(--il-14); overflow: hidden; }
.route-line i {
  position: absolute; inset: 0;
  background: var(--rust);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.6s var(--ease-out);
}
.in .route-line i { transform: scaleX(1); }

.avail-note {
  margin-top: 44px; padding: 24px 28px;
  border-left: 2px solid var(--ochre);
  background: rgba(20, 22, 28, .04);
  font-size: 16px;
}

/* ---------- 08 · alcance honesto ---------- */

.scope-rows { margin-top: clamp(40px, 6vw, 64px); max-width: 1120px; }
.scope-row { padding: 28px 0; }
.scope-row h3 { font-size: 21px; font-weight: 500; color: #fff; }
.scope-row p { font-size: 16px; color: rgba(244, 241, 234, .65); }
@media (min-width: 860px) {
  .scope-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
  .scope-row p { margin-top: 0; }
}

/* ---------- 09 · confianza ---------- */

.trust-grid { margin-top: clamp(40px, 6vw, 64px); }
.trust-item h3 { font-size: 25px; font-weight: 600; }
.trust-item p { margin-top: 12px; font-size: 16px; color: var(--il-65); }

.docs-box { margin-top: clamp(36px, 5vw, 56px); padding: clamp(26px, 3.4vw, 44px); border: 1px solid rgba(20, 22, 28, .16); }
.docs-box h3 { font-size: 25px; font-weight: 600; }
.docs-box > p { margin-top: 12px; font-size: 16px; color: var(--il-65); }
.warn {
  margin-top: 26px; padding: 22px 26px;
  border-left: 2px solid var(--ochre);
  background: rgba(138, 90, 18, .06);
  font-size: 15px;
}
.warn b { color: var(--ochre); }
.warn p + p { margin-top: 10px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.doc-links a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border: 1px solid rgba(20, 22, 28, .3); border-radius: 100px;
  color: var(--ink-l); font-size: 15px;
  transition: border-color .3s, background .3s;
}
.doc-links a:hover { border-color: var(--ink-l); background: rgba(20, 22, 28, .04); }
.doc-chip {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border: 1px dashed rgba(20, 22, 28, .3); border-radius: 100px;
  color: var(--il-72); font-size: 15px;
}

/* ---------- 10 · preguntas ---------- */

.faq-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 4.4vw, 64px);
}
.faq { border-top: 1px solid var(--iv-14); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px; font-weight: 500; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  font-family: var(--font-mono); font-size: 18px; color: var(--amber);
  transition: transform .4s var(--ease-out);
}
.faq[open] summary .plus { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; max-width: 560px; font-size: 16px; color: var(--iv-62); }
.faq[open] .a { animation: faq-in .45s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA final + formulario ---------- */

.final { position: relative; overflow: hidden; }
.final-glow {
  position: absolute; bottom: -46%; left: 4%;
  width: 76vw; height: 76vw; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(240, 168, 104, .12) 0%,
    rgba(240, 168, 104, .03) 45%,
    rgba(8, 9, 12, 0) 70%);
  pointer-events: none;
}
.final-grid { position: relative; align-items: start; }
.final .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.final-sub { margin-top: 26px; font-size: 18px; font-weight: 300; color: var(--iv-72); }

.timeline { margin-top: 40px; }
.timeline-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--iv-14); }
.timeline-row:last-child { border-bottom: 1px solid var(--iv-14); }
.timeline-row .d { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--iv-62); }
.timeline-row.now .d { color: var(--amber); }
.timeline-row .e { font-size: 15px; color: rgba(244, 241, 234, .75); text-align: right; }

.form-card {
  padding: clamp(26px, 3.4vw, 46px);
  background: var(--paper); color: var(--ink-l);
  border-radius: 6px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  color: var(--ink-l);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--il-35);
  padding: 10px 2px;
  border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 84px; resize: vertical; border: 1px solid var(--il-35); padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rust);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(20, 22, 28, .38); }

.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rust); }

.form-notes { margin-top: 18px; font-size: 14px; color: var(--il-62); }
.form-notes p + p { margin-top: 8px; }
.form-notes a { color: var(--rust); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-status { font-size: 14px; color: var(--ochre); min-height: 1.4em; }

/* ---------- pie ---------- */

.footer { padding: 64px var(--pad-x) 72px; border-top: 1px solid var(--iv-10); }
.footer-about { margin-top: 24px; max-width: 880px; font-size: 16px; color: rgba(244, 241, 234, .62); }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; font-size: 15px; }
.footer-links a { color: rgba(244, 241, 234, .7); transition: color .25s; }
.footer-links a:hover { color: var(--ivory); }
.footer-fine { margin-top: 24px; font-size: 14px; color: var(--iv-62); }
.footer-fine p + p { margin-top: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .statement-grid { grid-template-columns: 1fr; }
  .grid-12 > [class*="span-"] { grid-column: 1 / -1 !important; }
  .chan-grid { grid-template-columns: 1fr 1fr; }
  .pillars, .forget-grid, .route-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .scrolly { height: auto; }
  .scrolly-sticky { position: static; height: auto; padding-top: 0; padding-bottom: 0; }
  .scrolly-grid { grid-template-columns: 1fr; }
  .scrolly-copy .step h3, .scrolly-copy .step p { color: inherit; }
  .scrolly-copy .step p { color: var(--il-65); }
  .scrolly-copy .step::before { background: var(--rust); border-color: var(--rust); }
  .ledger .t-fix, .ledger .ledger-reason, .ledger .ledger-row { opacity: 1; transform: none; }
  .ledger .t-orig .tt { color: rgba(20, 22, 28, .52); }
  .ledger .t-orig .tt::after { transform: scaleX(1); }
  .hero-clock { display: none; }
  .hero-clock-label { display: none; }
}

@media (max-width: 640px) {
  .chan-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .scope-row h3 + p { margin-top: 8px; }
}

/* columnas del grid de 12 */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }

/* ---------- movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .marquee-track { animation: none; }
  .reveal, .lines .line > span, .route-line i {
    opacity: 1 !important; transform: none !important; filter: none !important;
    transition: none !important;
  }
  .ledger .t-fix, .ledger .ledger-reason, .ledger .ledger-row { opacity: 1; transform: none; transition: none; }
  .ledger .t-orig .tt { color: rgba(20, 22, 28, .52); }
  .ledger .t-orig .tt::after { transform: scaleX(1); transition: none; }
  .scrolly { height: auto; }
  .scrolly-sticky { position: static; height: auto; }
  .btn, .nav { transition: none; }
  .trow.enter { animation: none; }
  .faq[open] .a { animation: none; }
}
