/* =========================================================
   MUJERES DE PROFESIÓN — hoja de estilos principal
   Lenguaje visual tomado del fotolibro: blanco, líneas finas,
   esquinas rectas, Raleway, retratos en B/N, verde bosque para
   la investigación y una línea dorada como detalle.
   ========================================================= */

:root {
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --paper-3: #efede8;
  --ink: #2a2a2c;
  --ink-2: #555659;
  --muted: #8b8c8f;
  --line: #e3e1dc;
  --line-2: #cdcac3;
  --gold: #8a7a45;
  --gold-2: #b7a66e;
  --gold-ink: #5e5226;
  --forest: #0a2316;
  --forest-2: #123322;
  --forest-3: #1d4631;
  --cream: #e8dec4;
  --cream-2: #bfb698;

  --ff: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; }
input, select, textarea { font: inherit; border-radius: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em, i { font-style: italic; }
strong, b { font-weight: 600; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.no-rule::before { display: none; }
.en { color: var(--muted); font-weight: 300; }
.bracket { color: var(--muted); font-weight: 300; }
.bracket::before { content: "[ "; }
.bracket::after { content: " ]"; }
.display {
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 300; letter-spacing: -.025em; line-height: 1.02;
}
.h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 300; letter-spacing: -.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); font-weight: 300; }
.quote {
  font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -.01em;
}
.small { font-size: 14px; }
.muted { color: var(--muted); }
.caps { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 500; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Motivos del libro ---------- */
/* Línea escalonada (cabezote de cada capítulo del libro) */
.stepline { display: block; width: 100%; height: 64px; overflow: visible; }
.stepline path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stepline.draw path { stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 2.2s var(--ease); }
.stepline.draw.in path { stroke-dashoffset: 0; }
.on-dark .stepline path, .stepline.light path { stroke: rgba(232, 222, 196, .28); }

/* Llave del folio (número de página del libro) */
.folio { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: lining-nums; }
.folio svg { width: 9px; height: 34px; }
.folio path { fill: none; stroke: currentColor; stroke-width: 1; }

/* Marcas de corte en esquinas */
.crop { position: relative; }
.crop::before, .crop::after,
.crop > .crop-b::before, .crop > .crop-b::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--line-2); border-style: solid; border-width: 0;
}
.crop > .crop-b { position: absolute; inset: 0; pointer-events: none; }
.crop::before { top: -8px; left: -8px; border-top-width: 1px; border-left-width: 1px; }
.crop::after { top: -8px; right: -8px; border-top-width: 1px; border-right-width: 1px; }
.crop > .crop-b::before { bottom: -8px; left: -8px; border-bottom-width: 1px; border-left-width: 1px; }
.crop > .crop-b::after { bottom: -8px; right: -8px; border-bottom-width: 1px; border-right-width: 1px; }

.gold-rule { height: 1px; background: var(--gold); opacity: .7; border: 0; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--ink);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  background: transparent; color: var(--ink); position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid::before { background: var(--gold-ink); }
.btn.light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.light::before { background: #fff; }
.btn.light:hover { color: var(--ink); }
.btn.cream { border-color: var(--cream-2); color: var(--cream); }
.btn.cream::before { background: var(--cream); }
.btn.cream:hover { color: var(--forest); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arr { width: 14px; height: 14px; }

.xlink { /* enlace cruzado dentro de un texto (orgánico) */
  border-bottom: 1px dashed var(--gold-2); color: var(--ink); transition: background .3s, color .3s;
}
.xlink:hover { background: var(--paper-3); color: var(--gold-ink); }
.on-dark .xlink { color: var(--cream); border-color: var(--cream-2); }
.on-dark .xlink:hover { background: rgba(232,222,196,.08); color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.site-header.solid, .site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 50px; width: auto; }
.brand .w { display: none; }
.site-header.invert:not(.scrolled) .brand .d { display: none; }
.site-header.invert:not(.scrolled) .brand .w { display: block; }
.site-header.invert:not(.scrolled) { color: #fff; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.album-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 10px;
  border: 1px solid currentColor; font-size: 12px; letter-spacing: .12em; font-weight: 600;
  font-variant-numeric: tabular-nums; transition: background .3s, color .3s;
}
.album-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.album-pill svg { width: 18px; height: 18px; }
.album-pill.bump { animation: bump .7s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.14)} 100%{transform:scale(1)} }

.burger { width: 42px; height: 42px; display: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
.burger span { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; }
.burger span:nth-child(3) { width: 22px; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 24px; }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--ink) !important; background: transparent; border-color: transparent; }
.menu-open .site-header .brand .d { display: block !important; }
.menu-open .site-header .brand .w { display: none !important; }
.mobile-menu a.mm {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(30px, 8vw, 46px); font-weight: 300; letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease);
}
.mobile-menu a.mm small { font-size: 12px; color: var(--muted); letter-spacing: .2em; font-weight: 500; }
.menu-open .mobile-menu a.mm { opacity: 1; transform: none; }
.menu-open .mobile-menu a.mm:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu a.mm:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a.mm:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu a.mm:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a.mm:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu a.mm:nth-child(6) { transition-delay: .4s; }
.mobile-menu .mm-foot { margin-top: 32px; color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .brand img { height: 36px; }
  .album-pill .lbl { display: none; }
}

/* =========================================================
   REVEAL / MOTION
   ========================================================= */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rv-img, .split-line > span { opacity: 1; transform: none; clip-path: none; }
}

/* =========================================================
   SECCIONES GENÉRICAS
   ========================================================= */
main { display: block; }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .h2 { max-width: 16ch; }
.section-head.split { grid-template-columns: 1fr 1fr; align-items: end; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

.on-dark { background: var(--forest); color: var(--cream); }
.on-dark .eyebrow, .on-dark .muted, .on-dark .en { color: var(--cream-2); }
.on-dark .lead { color: var(--cream); opacity: .9; }
.on-dark strong { color: #fff; }

.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 140px)) 0 clamp(50px, 7vw, 100px); position: relative; }
.page-hero .display { max-width: 14ch; }
.page-hero .lead { max-width: 58ch; margin-top: 28px; }
.page-hero .stepline { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 18px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.bilingual > :last-child { color: var(--muted); font-weight: 300; }
@media (max-width: 760px) { .bilingual { grid-template-columns: 1fr; } }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; background: var(--paper-2);
  overflow: hidden; display: flex; flex-direction: column;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-frame {
  position: relative; flex: 1; margin: calc(var(--header-h) + 6px) var(--gutter) 0;
  border: 1px solid var(--line-2); border-bottom: 0;
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}
.hero-frame .guide-v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.hero-frame .guide-h { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }

.hero-stage { position: relative; min-height: 520px; }
.hero-photo {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); filter: grayscale(.25) contrast(1.03);
  transition: opacity 1.4s var(--ease), transform 7s linear, clip-path 1.4s var(--ease-in-out), filter 1.2s;
  clip-path: inset(0 0 0 100%);
}
.hero-photo img.on { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); z-index: 2; }
.hero-photo img.off { opacity: 1; z-index: 1; clip-path: inset(0 0 0 0); transform: scale(1.02); filter: grayscale(1) contrast(1.05); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 55%, rgba(0,0,0,.35));
}

.hero-pill {
  position: absolute; z-index: 6; left: 8%; right: 8%; top: 46%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0,0,0,.08); color: var(--ink);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.hero-pill.swap { opacity: 0; transform: translateY(8px); }
.hero-pill .dot { width: 38px; height: 38px; display: grid; place-items: center; flex: none; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hero-pill .lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.hero-pill .val { font-size: 14px; font-weight: 600; line-height: 1.2; }
.hero-pill .side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hero-pill .side.r { text-align: right; flex-direction: row-reverse; }
.hero-pill .dash { flex: 1; min-width: 20px; height: 1px; background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%); background-size: 6px 1px; position: relative; }
.hero-pill .dash::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--ink); }

.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px) clamp(24px, 4vw, 70px) clamp(24px, 3vw, 40px); }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-kicker .who { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; transition: opacity .5s; }
.hero-hook {
  font-size: clamp(34px, 4.6vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em;
  min-height: 3.2em; cursor: pointer;
}
.hero-hook .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-hook .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.hero-hook.show .w > span { transform: none; }
.hero-hook.hide .w > span { transform: translateY(-110%); transition: transform .55s var(--ease-in-out); }
.hero-hook em { font-weight: 300; font-style: italic; color: var(--gold-ink); }
.hero-sub { max-width: 44ch; margin-top: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.hero-progress { display: flex; gap: 6px; margin-top: 30px; }
.hero-progress button { flex: 1; max-width: 46px; height: 18px; position: relative; }
.hero-progress button::before, .hero-progress button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.hero-progress button::after { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-progress button.done::after { transform: scaleX(1); }
.hero-progress button.active::after { animation: prog var(--dur, 6.5s) linear forwards; }
.hero.paused .hero-progress button.active::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

.hero-tiles { display: grid; grid-template-columns: 1fr 1fr 1.4fr; margin: 0 var(--gutter); border: 1px solid var(--line-2); border-top: 1px solid var(--line-2); position: relative; z-index: 4; background: var(--paper-2); }
.tile { padding: 22px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-2); position: relative; }
.tile:last-child { border-right: 0; }
.tile .big { font-size: clamp(40px, 4vw, 60px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.tile .big sup { font-size: .45em; vertical-align: top; margin-left: 2px; position: relative; top: .15em; }
.tile .t { font-size: 13px; line-height: 1.4; color: var(--ink-2); max-width: 24ch; }
.tile.glass { background: rgba(255,255,255,.5); }
.tile.cta { background: var(--ink); color: #fff; transition: background .5s var(--ease); overflow: hidden; }
.tile.cta:hover { background: var(--gold-ink); }
.tile.cta .t { color: rgba(255,255,255,.72); }
.tile.cta .go { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.tile.cta .arr { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; transition: transform .5s var(--ease); }
.tile.cta:hover .arr { transform: translate(4px, -4px); }
.tile.cta .mini-album { display: flex; gap: 4px; margin: 10px 0 14px; }
.tile.cta .mini-album i { width: 12px; height: 16px; border: 1px solid rgba(255,255,255,.35); display: block; }
.tile.cta .mini-album i.got { background: var(--gold-2); border-color: var(--gold-2); }

.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5; display: none; }

@media (max-width: 960px) {
  .hero-frame { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; border-left: 0; border-right: 0; }
  .hero-stage { min-height: 58vh; }
  .hero-copy { padding: 34px var(--gutter) 30px; }
  .hero-hook { font-size: clamp(32px, 9vw, 52px); min-height: 3.3em; }
  .hero-tiles { grid-template-columns: 1fr 1fr; margin: 0; border-left: 0; border-right: 0; }
  .tile.cta { grid-column: 1 / -1; min-height: 120px; }
  .tile:nth-child(2) { border-right: 0; }
  .tile { border-bottom: 1px solid var(--line-2); min-height: 130px; }
  .hero-pill { left: 12px; right: 12px; top: auto; bottom: 12px; padding: 8px 10px; gap: 8px; }
  .hero-pill .dot { width: 30px; height: 30px; font-size: 11px; }
  .hero-pill .lbl { font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
  .hero-pill .val { font-size: 12.5px; }
  .hero-pill .side { gap: 8px; }
  .hero-pill .dash { min-width: 12px; }
  .hero-frame .guide-v, .hero-frame .guide-h { display: none; }
}

/* =========================================================
   HOME — pregunta urgente
   ========================================================= */
.urgent { text-align: left; }
.urgent .question { font-size: clamp(28px, 3.8vw, 56px); font-weight: 300; font-style: italic; line-height: 1.18; letter-spacing: -.02em; max-width: 22ch; }
.urgent .question b { font-style: normal; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(50px, 7vw, 90px); }
.stat { padding: 30px 28px 10px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat .n { font-size: clamp(48px, 6vw, 92px); font-weight: 200; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.stat .n small { font-size: .4em; font-weight: 300; margin-left: 4px; }
.stat p { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 30ch; }
.on-dark .stat { border-color: rgba(232,222,196,.18); }
.on-dark .stats { border-color: rgba(232,222,196,.18); }
.on-dark .stat p { color: var(--cream-2); }
.stats.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .stats.four { grid-template-columns: 1fr 1fr; }
  .stats.four .stat:nth-child(2) { border-right: 0; }
  .stats.four .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 760px) {
  .stats, .stats.four { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
}

/* =========================================================
   HOME — tres puertas (columnas que se expanden)
   ========================================================= */
.doors { display: flex; height: min(78vh, 720px); min-height: 520px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.door {
  position: relative; flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px clamp(22px, 2.6vw, 40px); border-right: 1px solid var(--line);
  transition: flex 1s var(--ease-in-out), background .6s; color: var(--ink);
}
.door:last-child { border-right: 0; }
.doors:hover .door { flex: .7; }
.doors .door:hover, .doors .door:focus-within { flex: 2.2; }
.door .idx { font-size: 13px; letter-spacing: .2em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.door h3 { font-size: clamp(36px, 4vw, 64px); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.door .more { max-width: 36ch; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--ease); margin-top: 18px; }
.door:hover .more, .door:focus-within .more { opacity: 1; transform: none; transition-delay: .35s; }
.door .more p { font-size: 16px; line-height: 1.6; }
.door .bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s var(--ease), transform 1.5s var(--ease); transform: scale(1.06); }
.door .bg img { width: 100%; height: 100%; object-fit: cover; }
.door:hover .bg { opacity: 1; transform: scale(1); }
.door { isolation: isolate; }
.door.d-inv:hover { color: var(--cream); }
.door.d-inv .bg { background: var(--forest); }
.door.d-inv:hover .idx { color: var(--cream-2); }
.door.d-img:hover { color: #fff; }
.door.d-img .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.65)); }
.door.d-img:hover .idx { color: rgba(255,255,255,.8); }
.door.d-pod .bg { background: var(--ink); }
.door.d-pod:hover { color: #fff; }
.door.d-pod:hover .idx { color: rgba(255,255,255,.6); }
.door .wave { display: flex; gap: 3px; align-items: center; height: 40px; margin-top: 12px; }
.door .wave i { width: 2px; background: currentColor; opacity: .7; height: 20%; animation: wave 1.2s ease-in-out infinite; animation-play-state: paused; }
.door:hover .wave i { animation-play-state: running; }
@keyframes wave { 0%,100%{height:15%} 50%{height:95%} }
@media (max-width: 860px) {
  .doors { flex-direction: column; height: auto; min-height: 0; }
  .door, .doors:hover .door, .doors .door:hover { flex: none; min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .door .more { opacity: 1; transform: none; }
  .door .bg { opacity: 1; transform: none; }
  .door.d-inv { color: var(--cream); } .door.d-inv .idx { color: var(--cream-2); }
  .door.d-img, .door.d-pod { color: #fff; } .door.d-img .idx, .door.d-pod .idx { color: rgba(255,255,255,.75); }
  .door h3 { font-size: 40px; }
}

/* =========================================================
   TARJETAS DE MUJERES (volteables)
   ========================================================= */
.women-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wcard { position: relative; background: var(--paper); perspective: 1200px; aspect-ratio: 3 / 4; display: block; }
.wcard .inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.wcard:hover .inner, .wcard:focus-visible .inner, .wcard.flipped .inner { transform: rotateY(180deg); }
.wcard .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.wcard .front img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s, transform 1.4s var(--ease); }
.wcard .front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.wcard .front .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.wcard .front .cap .n { font-size: 20px; font-weight: 400; line-height: 1.15; }
.wcard .front .cap .p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.wcard .front .no { position: absolute; top: 14px; left: 16px; z-index: 2; color: #fff; font-size: 12px; letter-spacing: .2em; }
.wcard .back { transform: rotateY(180deg); background: var(--c, var(--ink)); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px; }
.wcard .back .word { font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.wcard .back .q { font-style: italic; font-weight: 300; font-size: 15px; line-height: 1.45; opacity: .92; }
.wcard .back .go { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.35); padding-top: 12px; }
.wcard .back .go svg { width: 16px; height: 16px; }
.wcard.hidden-f { display: none; }
@media (max-width: 1000px) { .women-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .wcard .front .cap .n { font-size: 17px; } }

/* =========================================================
   MUJERES — portada y exploración
   ========================================================= */
.m-cover { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 60px; }
.m-cover .big8 {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
  font-size: min(78vw, 820px); font-weight: 100; line-height: .8; color: transparent;
  -webkit-text-stroke: 1px var(--line-2); pointer-events: none; user-select: none; letter-spacing: -.05em;
}
.m-cover .display { max-width: 11ch; position: relative; }
.m-cover .display em { color: var(--gold-ink); }
.m-cover .lead { position: relative; max-width: 50ch; margin: 28px 0 38px; }
.m-cover blockquote { margin: 0 0 34px; position: relative; font-style: italic; font-weight: 300; font-size: 20px; color: var(--ink-2); border-left: 1px solid var(--gold); padding-left: 18px; max-width: 46ch; }

.explore-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.explore-bar .lab { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 13px; transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.explore-tabs { display: flex; gap: 0; }
.explore-tabs button { padding: 8px 0; margin-right: 22px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); border-bottom: 1px solid transparent; }
.explore-tabs button.on { color: var(--ink); border-color: var(--ink); }

/* La red */
.network { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; }
.network svg { width: 100%; height: 100%; overflow: visible; }
.network .edge { stroke: var(--cream-2); stroke-width: 1; fill: none; opacity: .35; stroke-dasharray: 4 5; transition: opacity .4s, stroke .4s; }
.network .edge.hot { opacity: 1; stroke: var(--cream); stroke-dasharray: none; stroke-width: 1.4; }
.network .node { cursor: pointer; }
.network .node circle.ring { fill: none; stroke: var(--cream-2); stroke-width: 1; opacity: .5; transition: r .5s var(--ease), opacity .4s; }
.network .node:hover circle.ring, .network .node.hot circle.ring { opacity: 1; }
.network .node text { fill: var(--cream); font-family: var(--ff); font-size: 15px; }
.network .node text.w { font-size: 10px; letter-spacing: .2em; fill: var(--cream-2); text-transform: uppercase; }
.network-note { min-height: 5.5em; margin-top: 18px; max-width: 70ch; font-style: italic; font-weight: 300; font-size: 19px; color: var(--cream); transition: opacity .4s; }

/* =========================================================
   PERFIL INDIVIDUAL
   ========================================================= */
.p-hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.p-hero .ph-img { position: relative; overflow: hidden; min-height: 60vh; }
.p-hero .ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero .ph-copy { padding: calc(var(--header-h) + 70px) var(--gutter) 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.p-hero .no { font-size: 13px; letter-spacing: .24em; color: var(--muted); }
.p-hero h1 { font-size: clamp(40px, 5vw, 78px); font-weight: 300; letter-spacing: -.025em; line-height: 1.03; margin-top: 18px; }
.p-hero .prof { margin-top: 14px; font-size: 18px; }
.p-hero .word { margin-top: 40px; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--c); }
.p-hero .word::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.p-hero .intro { margin-top: 36px; max-width: 48ch; color: var(--ink-2); font-weight: 300; font-size: 18px; }
.p-hero .intro em { color: var(--ink); }
.p-hero .acts-nav { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.p-hero .acts-nav a { flex: 1; min-width: 120px; padding: 14px 12px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.p-hero .acts-nav a b { display: block; font-size: 22px; font-weight: 300; letter-spacing: 0; color: var(--ink); margin-bottom: 4px; }
.p-hero .acts-nav a:hover { color: var(--ink); }
.p-hero .stepline { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 14px); }
@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; }
  .p-hero .ph-img { min-height: 68vh; order: -1; }
  .p-hero .ph-copy { padding-top: 40px; }
  .p-hero .stepline { display: none; }
}

.act { padding: clamp(80px, 10vw, 150px) 0; position: relative; border-top: 1px solid var(--line); }
.act-head { display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.act-head .roman { font-size: clamp(56px, 7vw, 110px); font-weight: 200; line-height: .85; color: var(--c, var(--ink)); letter-spacing: -.04em; }
.act-head .t { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.act-head h2 { font-size: clamp(30px, 3.8vw, 56px); font-weight: 300; letter-spacing: -.02em; max-width: 20ch; }
@media (max-width: 760px) { .act-head { grid-template-columns: 1fr; gap: 6px; } }

.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.5vw, 36px); align-items: start; }
.story .blk { grid-column: span 12; }
.story .txt { grid-column: 2 / span 5; }
.story .txt.r { grid-column: 7 / span 5; }
.story .ph { position: relative; cursor: zoom-in; overflow: hidden; background: var(--paper-3); }
.story .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.story .ph:hover img { transform: scale(1.035); }
.story .ph.s-a { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.story .ph.s-b { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: 18%; }
.story .ph.s-c { grid-column: 3 / span 4; aspect-ratio: 4 / 5; }
.story .ph.s-d { grid-column: 7 / span 6; aspect-ratio: 3 / 2; margin-top: 12%; }
.story .ph.s-e { grid-column: 2 / span 10; aspect-ratio: 16 / 9; }
.story figcaption, .ph-cap { font-size: 14px; color: var(--ink-2); font-style: italic; font-weight: 300; margin-top: 12px; line-height: 1.5; }
.story figure { margin: 0; }
.story figure.s-a { grid-column: 1 / span 7; } .story figure.s-b { grid-column: 8 / span 5; margin-top: 16%; }
.story figure.s-c { grid-column: 2 / span 5; } .story figure.s-d { grid-column: 7 / span 6; margin-top: 12%; }
.story figure.s-e { grid-column: 2 / span 10; }
.story figure .ph { aspect-ratio: auto; }
.story figure.s-a .ph, .story figure.s-d .ph, .story figure.s-e .ph { aspect-ratio: 3 / 2; }
.story figure.s-b .ph, .story figure.s-c .ph { aspect-ratio: 4 / 5; }
.story .pull { grid-column: 2 / span 10; font-size: clamp(26px, 3.4vw, 50px); font-weight: 300; font-style: italic; line-height: 1.2; letter-spacing: -.015em; padding: clamp(30px, 5vw, 70px) 0; }
.story .pull::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--c, var(--gold)); font-style: normal; }
.story .label { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--c, var(--gold-ink)); margin-bottom: 14px; display: block; }
.story .txt p { font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--ink-2); }
.story .txt p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .story > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Retrato velado (vive en el libro) */
.veiled { position: relative; aspect-ratio: 1; background: #0e0e0e; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; }
.veiled img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.1); }
.veiled .v-in { position: relative; z-index: 2; padding: 30px; max-width: 36ch; }
.veiled .lock { width: 34px; height: 34px; margin: 0 auto 18px; opacity: .85; }
.veiled .v-t { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.veiled .v-q { font-size: 20px; font-weight: 300; font-style: italic; line-height: 1.4; margin-bottom: 24px; }
.veiled::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }

/* Hilo */
.thread { background: var(--forest); color: var(--cream); }
.thread .act-head .t { color: var(--cream-2); }
.thread .act-head .roman { color: var(--cream); }
.thread .frase { font-size: clamp(26px, 3.2vw, 46px); font-weight: 300; font-style: italic; line-height: 1.25; max-width: 30ch; letter-spacing: -.01em; }
.thread .frase::before { content: "“"; } .thread .frase::after { content: "”"; }
.thread-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(232,222,196,.16); border: 1px solid rgba(232,222,196,.16); margin-top: clamp(50px, 7vw, 90px); }
.thread-grid > * { background: var(--forest); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: background .5s; }
.thread-grid > a:hover { background: var(--forest-2); }
.thread-grid .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-2); font-weight: 600; }
.thread-grid h4 { font-size: 24px; font-weight: 300; color: #fff; }
.thread-grid p { font-size: 15px; line-height: 1.6; color: var(--cream); opacity: .85; margin: 0; flex: 1; }
.thread-grid .go { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; color: var(--cream); }
.thread-grid .go svg { width: 16px; height: 16px; }
.thread-grid .conn-img { display: flex; align-items: center; gap: 12px; }
.thread-grid .conn-img img { width: 52px; height: 52px; object-fit: cover; filter: grayscale(1); }
@media (max-width: 860px) { .thread-grid { grid-template-columns: 1fr; } .thread-grid > * { min-height: 0; } }

.p-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.p-nav a { padding: 36px var(--gutter); display: flex; flex-direction: column; gap: 6px; transition: background .4s; }
.p-nav a:hover { background: var(--paper-2); }
.p-nav a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.p-nav .k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.p-nav .n { font-size: clamp(20px, 2.4vw, 32px); font-weight: 300; }

/* Galería */
.gallery-tabs { display: flex; gap: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.gallery-tabs button { padding: 12px 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.gallery-tabs button.on { color: var(--ink); border-color: var(--ink); }
.gallery { columns: 4 200px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; position: relative; overflow: hidden; background: var(--paper-3); }
.gallery button img { width: 100%; transition: transform 1.2s var(--ease), filter .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button::after { content: attr(data-n); position: absolute; left: 10px; bottom: 8px; color: #fff; font-size: 11px; letter-spacing: .2em; opacity: 0; transition: opacity .3s; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.gallery button:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(250,249,247,.97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lightbox .lb-stage { position: relative; display: grid; place-items: center; padding: 0 70px; min-height: 0; }
.lightbox .lb-stage img { max-height: min(72vh, 820px); max-width: min(100%, 900px); width: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.12); transition: opacity .35s, transform .5s var(--ease); }
.lightbox .lb-stage img.swap { opacity: 0; transform: scale(.98); }
.lightbox .lb-cap { padding: 16px var(--gutter) 26px; text-align: center; font-style: italic; font-weight: 300; color: var(--ink-2); min-height: 60px; }
.lightbox .lb-cap .lb-note { display: block; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.lb-btn { width: 48px; height: 48px; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--paper); transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--ink); color: #fff; }
.lb-btn svg { width: 18px; height: 18px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: var(--gutter); } .lightbox .lb-next { right: var(--gutter); }
@media (max-width: 700px) { .lightbox .lb-stage { padding: 0 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: -56px; transform: none; } .lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; } }

/* =========================================================
   COLECCIONABLES (momentos)
   ========================================================= */
.collect {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; margin: 6px 0;
  border: 1px dashed var(--c, var(--gold)); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); background: var(--paper); position: relative; transition: background .35s, color .35s, border-style .2s;
}
.collect .spark { width: 16px; height: 16px; color: var(--c, var(--gold)); animation: twinkle 2.4s ease-in-out infinite; }
.collect::after { content: ""; position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; background: var(--c, var(--gold)); border-radius: 50%; animation: ping 2s var(--ease) infinite; }
.collect:hover { background: var(--c, var(--gold)); color: #fff; border-style: solid; }
.collect:hover .spark { color: #fff; }
.collect.got { border-style: solid; background: var(--paper-2); color: var(--muted); }
.collect.got::after { display: none; }
.collect.got .spark { animation: none; }
.collect .st { font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: 13px; }
.on-dark .collect { background: transparent; color: var(--cream); border-color: var(--cream-2); }
@keyframes twinkle { 0%,100%{transform:scale(1) rotate(0)} 50%{transform:scale(1.25) rotate(20deg)} }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(138,122,69,.45)} 80%,100%{box-shadow:0 0 0 10px rgba(138,122,69,0)} }
.collect-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* =========================================================
   MODAL + RETOS
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; background: rgba(20,20,22,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal .box { width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: var(--paper); position: relative; padding: clamp(26px, 4vw, 40px); transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); border-top: 3px solid var(--c, var(--ink)); }
.modal.open .box { transform: none; }
.modal .x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; }
.modal .x svg { width: 18px; height: 18px; }
.modal h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 300; margin: 10px 0 12px; }
.modal .m-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.modal .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.opts { display: grid; gap: 8px; }
.opt { text-align: left; padding: 14px 16px; border: 1px solid var(--line-2); font-size: 16px; transition: border-color .25s, background .25s; display: flex; justify-content: space-between; gap: 10px; }
.opt:hover { border-color: var(--ink); }
.opt.ok { border-color: #3d6b4b; background: #eef4ef; }
.opt.bad { border-color: #9b4a4a; background: #f7eeee; animation: shake .45s; }
@keyframes shake { 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }

.blank-s { font-size: 20px; font-weight: 300; line-height: 1.6; margin-bottom: 18px; font-style: italic; }
.blank-s .slot { display: inline-block; min-width: 130px; border-bottom: 1px solid var(--ink); text-align: center; font-style: normal; font-weight: 600; padding: 0 6px; transition: background .3s; }
.blank-s .slot.over { background: var(--paper-3); }
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.word-chip { padding: 10px 16px; border: 1px solid var(--ink); font-size: 15px; cursor: grab; user-select: none; touch-action: none; background: var(--paper); }
.word-chip.dragging { opacity: .6; cursor: grabbing; }
.word-chip.bad { animation: shake .45s; border-color: #9b4a4a; }

.timing { position: relative; height: 56px; border: 1px solid var(--line-2); margin: 10px 0 18px; overflow: hidden; background: var(--paper-2); }
.timing .zone { position: absolute; top: 0; bottom: 0; background: var(--c, var(--gold)); opacity: .28; }
.timing .zone::before, .timing .zone::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--c, var(--gold)); }
.timing .zone::before { left: 0; } .timing .zone::after { right: 0; }
.timing .needle { position: absolute; top: 6px; bottom: 6px; width: 3px; background: var(--ink); left: 0; }
.timing-tries { display: flex; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .12em; align-items: center; }
.timing-tries i { width: 8px; height: 8px; border: 1px solid var(--ink); display: inline-block; }
.timing-tries i.used { background: var(--ink); }

.puzzle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: min(100%, 360px); aspect-ratio: 1; margin: 6px auto 16px; background: var(--line); }
.puzzle button { background-size: 300% 300%; position: relative; transition: outline .2s, filter .3s; }
.puzzle button.sel { outline: 3px solid var(--c, var(--gold)); outline-offset: -3px; z-index: 2; filter: brightness(1.08); }
.puzzle.solved { gap: 0; transition: gap .5s; }

.success { text-align: center; padding: 10px 0; }
.success .sticker-big { width: 150px; margin: 6px auto 20px; }
.burst { position: fixed; pointer-events: none; z-index: 200; width: 8px; height: 8px; }

/* =========================================================
   ÁLBUM
   ========================================================= */
.album-hero { padding: calc(var(--header-h) + 70px) 0 50px; }
.album-meter { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.album-meter .bar { flex: 1; min-width: 200px; height: 2px; background: var(--line); position: relative; }
.album-meter .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 0; transition: width 1.2s var(--ease); }
.album-meter .count { font-size: clamp(38px, 4.6vw, 64px); font-weight: 200; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.album-meter .count small { font-size: .4em; color: var(--muted); }

.album-book { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.a-page { border: 1px solid var(--line-2); background: var(--paper); padding: clamp(20px, 2.6vw, 34px); position: relative; }
.a-page::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); transform: scaleY(var(--p, 0)); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.a-page .a-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.a-page .a-head h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.a-page .a-head .p { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.a-page .a-head .c { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-page .a-head .c b { color: var(--c); font-size: 26px; font-weight: 300; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.slot-card { aspect-ratio: 3 / 4; border: 1px dashed var(--line-2); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; overflow: hidden; text-align: left; background: var(--paper-2); }
.slot-card .no { position: absolute; top: 6px; left: 8px; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.slot-card .tt { font-size: 11px; line-height: 1.25; color: var(--muted); }
.slot-card.got { border: 0; background: var(--c); color: #fff; animation: stick .8s var(--ease); cursor: pointer; }
.slot-card.got .no, .slot-card.got .tt { color: rgba(255,255,255,.92); }
.slot-card.got img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; mix-blend-mode: luminosity; }
.slot-card.got .tt { position: relative; font-weight: 600; }
.slot-card.got::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.slot-card:not(.got) { cursor: pointer; }
.slot-card:not(.got):hover { border-color: var(--c); }
@keyframes stick { 0%{transform:scale(1.3) rotate(-6deg);opacity:0} 60%{transform:scale(.95) rotate(1deg);opacity:1} 100%{transform:none} }
.a-page .reward { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.a-page .reward.locked { color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.a-page .reward.locked svg { width: 16px; height: 16px; flex: none; }
.a-page .reward.open h4 { font-size: 18px; font-weight: 500; margin-bottom: 8px; color: var(--c); }
.a-page .reward.open p { font-size: 15px; color: var(--ink-2); margin-bottom: .6em; }
@media (max-width: 960px) { .album-book { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .slots { gap: 6px; } .slot-card .tt { font-size: 9.5px; } }

.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.stamp { aspect-ratio: 1; border: 1px dashed var(--line-2); display: grid; place-items: center; text-align: center; padding: 8px; font-size: 11px; color: var(--muted); position: relative; }
.stamp.got { border: 1px solid var(--gold); color: var(--gold-ink); background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(138,122,69,.06) 6px 7px); }
.stamp.got::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--gold-2); }
.stamp b { display: block; font-size: 20px; font-weight: 300; }

.final-reward { border: 1px solid var(--line-2); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.final-reward.locked .fr-body { filter: blur(5px); user-select: none; pointer-events: none; opacity: .6; }
.final-reward .fr-lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(255,255,255,.4); }
.final-reward:not(.locked) .fr-lock { display: none; }

/* =========================================================
   INVESTIGACIÓN
   ========================================================= */
.r-hero { background: var(--forest); color: var(--cream); padding: calc(var(--header-h) + clamp(70px, 10vw, 150px)) 0 clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.r-hero .display { color: #fff; max-width: 15ch; }
.r-hero .lead { color: var(--cream); max-width: 56ch; margin-top: 30px; }
.r-hero .stepline { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 18px); }
.research-dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: rgba(232,222,196,.3); }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--cream-2) transparent; }
.tl-track::-webkit-scrollbar { height: 3px; }
.tl-track::-webkit-scrollbar-thumb { background: var(--cream-2); }
.tl-item { scroll-snap-align: start; padding: 0 26px 0 0; position: relative; }
.tl-item .y { font-size: 13px; letter-spacing: .2em; color: var(--cream-2); height: 22px; }
.tl-item .d { width: 9px; height: 9px; background: var(--forest); border: 1px solid var(--cream); margin: 3px 0 22px; transition: background .3s, transform .3s; }
.tl-item:hover .d { background: var(--cream); transform: scale(1.3); }
.tl-item .big { font-size: 40px; font-weight: 200; color: #fff; line-height: 1; margin-bottom: 10px; }
.tl-item p { font-size: 15px; color: var(--cream); opacity: .88; max-width: 30ch; }

/* gráfico dumbbell */
.chart-card { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--ink-2); margin: 8px 0 22px; align-items: center; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-start { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #7d8c84; background: var(--paper); }
.lg-end { width: 12px; height: 12px; border-radius: 50%; background: var(--forest-3); }
.lg-range { width: 22px; height: 8px; background: rgba(29,70,49,.22); border-radius: 4px; }
.lg-parity { width: 1px; height: 14px; background: var(--gold); }
.dumbbell { width: 100%; }
.dumbbell svg { width: 100%; height: auto; overflow: visible; display: block; }
.dumbbell .row-bg { fill: transparent; cursor: pointer; }
.dumbbell .row:hover .row-bg, .dumbbell .row.on .row-bg { fill: var(--paper-2); }
.dumbbell .lab { font-family: var(--ff); font-size: 14px; fill: var(--ink); }
.dumbbell .lab2 { font-family: var(--ff); font-size: 11px; fill: var(--muted); letter-spacing: .08em; }
.dumbbell .val { font-family: var(--ff); font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.dumbbell svg.compact .lab { font-size: 17px; }
.dumbbell svg.compact .lab2 { font-size: 12px; }
.dumbbell svg.compact .val, .dumbbell svg.compact .axis { font-size: 14px; }
.dumbbell .grid { stroke: var(--line); stroke-width: 1; }
.dumbbell .axis { font-family: var(--ff); font-size: 11px; fill: var(--muted); }
.dumbbell .conn { stroke: #9aa8a0; stroke-width: 2; }
.dumbbell .p-start { fill: var(--paper); stroke: #7d8c84; stroke-width: 2; }
.dumbbell .p-end { fill: var(--forest-3); stroke: var(--paper); stroke-width: 2; }
.dumbbell .rng { fill: rgba(29,70,49,.22); }
.dumbbell .parity { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 4; }
.dumbbell .parity-t { font-family: var(--ff); font-size: 11px; fill: var(--gold-ink); letter-spacing: .1em; }
.chart-tip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 12px; font-size: 13px; line-height: 1.45; max-width: 260px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.chart-tip.on { opacity: 1; transform: none; }
.chart-tip b { font-weight: 600; }
.spec-detail { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; min-height: 180px; }
.spec-detail h4 { font-size: 26px; font-weight: 300; margin-bottom: 10px; }
.spec-detail p { font-size: 16px; color: var(--ink-2); }
.spec-detail .who { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--paper-2); }
.spec-detail .who img { width: 84px; height: 104px; object-fit: cover; filter: grayscale(1); flex: none; }
.spec-detail .who p { font-size: 15px; margin-bottom: 10px; }
@media (max-width: 760px) { .spec-detail { grid-template-columns: 1fr; } }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.data-table th, .data-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
details.table-view { margin-top: 18px; }
details.table-view summary { cursor: pointer; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Mecanismos de brecha */
.mech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(232,222,196,.16); border: 1px solid rgba(232,222,196,.16); }
.mech { background: var(--forest); padding: 30px 26px; min-height: 320px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background .5s; }
.mech:hover { background: var(--forest-2); }
.mech .ico { width: 64px; height: 64px; margin-bottom: 30px; color: var(--cream); }
.mech .ico * { vector-effect: non-scaling-stroke; }
.mech h4 { font-size: 24px; font-weight: 300; color: #fff; font-style: italic; margin-bottom: 4px; }
.mech .en { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.mech p { font-size: 15px; color: var(--cream); opacity: .85; line-height: 1.6; flex: 1; }
.mech .hear { margin-top: 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); display: inline-flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.mech:hover .hear, .mech:focus-within .hear { opacity: 1; transform: none; }
.mech .hear svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .mech-grid { grid-template-columns: 1fr 1fr; } .mech .hear { opacity: 1; transform: none; } }
@media (max-width: 560px) { .mech-grid { grid-template-columns: 1fr; } .mech { min-height: 0; } }

.pioneers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pioneer { background: var(--paper); padding: clamp(26px, 3.4vw, 46px); }
.pioneer .y { font-size: clamp(56px, 7vw, 100px); font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--gold-ink); }
.pioneer h4 { font-size: 26px; font-weight: 400; margin: 16px 0 8px; }
@media (max-width: 700px) { .pioneers { grid-template-columns: 1fr; } }

/* =========================================================
   PODCAST
   ========================================================= */
.pod-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.pod-hero .display { max-width: 12ch; }
.pod-hero .lead { color: rgba(255,255,255,.78); max-width: 54ch; margin-top: 28px; }
.pod-hero .eyebrow { color: rgba(255,255,255,.6); }
.bigwave { position: absolute; right: -2%; bottom: 0; width: 60%; height: 55%; display: flex; align-items: flex-end; gap: 4px; opacity: .22; pointer-events: none; }
.bigwave i { flex: 1; height: 100%; background: #fff; animation: wave2 2.8s ease-in-out infinite; transform-origin: bottom; }
@keyframes wave2 { 0%,100% { transform: scaleY(var(--a, .3)); } 50% { transform: scaleY(var(--b, .8)); } }

.episodes { border-top: 1px solid var(--line); }
[data-table] { overflow-x: auto; }
.ep > div { min-width: 0; }
.ep .soon .ws { min-width: 0; }
.ep { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ep .no { font-size: clamp(40px, 4vw, 60px); font-weight: 200; line-height: .9; color: var(--muted); letter-spacing: -.03em; }
.ep h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; margin-bottom: 8px; }
.ep .theme { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-bottom: 12px; display: block; }
.ep p { color: var(--ink-2); max-width: 62ch; }
.ep .player { margin-top: 18px; max-width: 720px; }
.ep .player iframe { width: 100%; border: 0; display: block; }
.ep .soon { display: flex; align-items: center; gap: 16px; height: 80px; padding: 0 18px; background: var(--paper-2); border: 1px solid var(--line); }
.ep .soon .pbtn { width: 44px; height: 44px; border: 1px solid var(--ink); display: grid; place-items: center; flex: none; }
.ep .soon .pbtn svg { width: 14px; height: 14px; }
.ep .soon .ws { flex: 1; display: flex; align-items: center; gap: 2px; height: 34px; overflow: hidden; }
.ep .soon .ws i { flex: 1; background: var(--line-2); min-width: 2px; }
.ep .soon .s-t { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ep .transcript { margin-top: 16px; }
.ep .transcript summary { cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); list-style: none; display: inline-flex; gap: 10px; align-items: center; }
.ep .transcript summary::-webkit-details-marker { display: none; }
.ep .transcript summary::after { content: "+"; font-size: 18px; font-weight: 300; }
.ep .transcript[open] summary::after { content: "–"; }
.ep .transcript .tx { margin-top: 14px; padding: 18px 20px; border-left: 1px solid var(--gold); background: var(--paper-2); font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.ep .voices { display: flex; margin-top: 16px; }
.ep .voices img { width: 34px; height: 34px; object-fit: cover; border: 2px solid var(--paper); margin-left: -8px; filter: grayscale(1); }
.ep .voices img:first-child { margin-left: 0; }
.ep.locked { opacity: .9; }
.ep.locked .no { color: var(--gold); }
@media (max-width: 700px) { .ep { grid-template-columns: minmax(0, 1fr); gap: 8px; } .ep .side { display: none; } }

/* =========================================================
   LIBRO
   ========================================================= */
.book-hero { padding: calc(var(--header-h) + 60px) 0 80px; background: var(--paper-2); overflow: hidden; }
.book-hero .grid-2 { align-items: center; }
.book3d { perspective: 1800px; display: grid; place-items: center; padding: 30px 0; }
.book3d .bk { width: min(78%, 440px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); transition: transform 1.2s var(--ease); }
.book3d:hover .bk { transform: rotateY(-8deg) rotateX(2deg); }
.book3d .cover { position: absolute; inset: 0; background: #fff; box-shadow: 30px 30px 60px rgba(0,0,0,.18), 2px 0 0 #ddd inset; display: grid; place-items: center; }
.book3d .cover img { width: 70%; }
.book3d .cover .sub { position: absolute; bottom: 16%; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.book3d .cover .sub hr { width: 56%; margin: 6px auto; border: 0; border-top: 1px solid var(--gold); }
.book3d .cover .sub span { color: var(--muted); font-weight: 400; font-size: 9px; letter-spacing: .08em; }
.book3d .spine { position: absolute; top: 0; bottom: 0; left: 0; width: 26px; background: #f0efec; transform: rotateY(-90deg); transform-origin: left; }
.book3d .pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 24px; background: repeating-linear-gradient(90deg, #fbfaf8 0 1px, #e9e7e2 1px 2px); transform: rotateY(90deg) translateZ(0); transform-origin: right; }
.book-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0; }
.book-facts div { padding: 16px 12px 16px 0; }
.book-facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.book-facts b { display: block; font-size: 26px; font-weight: 300; }
.book-facts span { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.spreads { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; scrollbar-width: thin; }
.spread { flex: none; display: flex; scroll-snap-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.1); background: #fff; position: relative; }
.spread img { width: min(38vw, 360px); height: auto; }
.spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 30px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0,0,0,.08) 45%, rgba(0,0,0,.14) 50%, rgba(0,0,0,.08) 55%, transparent); pointer-events: none; }
.spread figcaption { position: absolute; bottom: -26px; left: 0; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 700px) { .spread img { width: 44vw; } }
.toc { border-left: 1px solid var(--ink); padding-left: 22px; }
.toc a { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
.toc a .n { font-size: 17px; }
.toc a .p { font-size: 13px; color: var(--muted); }
.toc a .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.toc a .pg { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.toc a:hover .n { color: var(--gold-ink); }

/* =========================================================
   QR — página puente
   ========================================================= */
.qr-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: var(--paper-2); position: relative; overflow: hidden; }
.qr-card { width: min(980px, 100%); background: var(--paper); display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line-2); position: relative; z-index: 2; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.qr-card.in { opacity: 1; transform: none; }
.qr-card .qi { position: relative; min-height: 360px; background: var(--paper-3); overflow: hidden; }
.qr-card .qi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qr-card .qc { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; }
.qr-card .qc .logo { width: 150px; margin-bottom: 30px; }
.qr-card .qc h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; }
.qr-card .qc .prof { margin-top: 10px; color: var(--ink-2); }
.qr-card .qc .word { margin-top: 20px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--c); display: flex; align-items: center; gap: 12px; }
.qr-card .qc .word::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.qr-card .qc .sum { margin: 22px 0 0; color: var(--ink-2); font-weight: 300; font-size: 17px; line-height: 1.65; }
.qr-card .qc .sum em { color: var(--ink); }
.qr-card .qc .actions { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.qr-card .qc .actions .btn { width: 100%; }
.qr-card .stamp-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--gold); font-size: 14px; color: var(--gold-ink); }
.qr-card .stamp-note svg { width: 22px; height: 22px; flex: none; }
.qr-code-no { position: absolute; top: 14px; right: 16px; font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.qr-bg-word { position: absolute; bottom: -4vw; left: -2vw; font-size: 22vw; font-weight: 100; color: transparent; -webkit-text-stroke: 1px var(--line-2); line-height: 1; pointer-events: none; white-space: nowrap; }
@media (max-width: 760px) { .qr-card { grid-template-columns: 1fr; } .qr-card .qi { min-height: 46vh; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 110px) 0 30px; position: relative; }
.site-footer .f-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.site-footer .f-logo img { width: 190px; }
.site-footer .f-logo p { margin-top: 20px; font-size: 14px; color: var(--ink-2); max-width: 30ch; }
.site-footer h5 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer li a:hover { color: var(--gold-ink); }
.site-footer .credit { font-size: 13px; line-height: 1.5; margin-bottom: 12px; color: var(--ink-2); }
.site-footer .credit b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; }
.site-footer .credit span { color: var(--muted); font-size: 12px; }
.site-footer .supporters { margin-top: clamp(40px, 6vw, 70px); padding-top: 28px; border-top: 1px solid var(--gold); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer .supporters img { width: min(100%, 900px); opacity: .85; filter: grayscale(1); }
.site-footer .f-bottom { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12px; color: var(--muted); }
.site-footer .f-legal { font-size: 11.5px; color: var(--muted); max-width: 90ch; margin-top: 16px; line-height: 1.55; }
@media (max-width: 900px) { .site-footer .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .f-top { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 150; background: var(--ink); color: #fff; padding: 14px 18px; display: flex; gap: 14px; align-items: center; font-size: 14px; opacity: 0; transition: opacity .4s, transform .5s var(--ease); max-width: calc(100% - 32px); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .sw { width: 26px; height: 34px; flex: none; }
.toast a { text-decoration: underline; text-underline-offset: 3px; }

/* Aviso de cookies/almacenamiento local (mínimo) */
.note-bar { font-size: 12px; color: var(--muted); }
