/* =============================================================
   Proyecto Carayá — narrativa editorial de conservación
   Paleta "monte nocturno": carbón, verde profundo, hueso, óxido
   ============================================================= */

:root {
  --bg: oklch(15% 0.018 152);
  --bg-deep: oklch(9.5% 0.014 150);
  --surface: oklch(20% 0.03 150);
  --surface-2: oklch(25% 0.035 148);
  --bone: oklch(93% 0.02 80);
  --bone-soft: oklch(85% 0.022 78);
  --muted: oklch(75% 0.02 95);
  --border: oklch(34% 0.03 140);
  --border-soft: oklch(28% 0.025 145);
  --accent: oklch(64% 0.17 45);
  --accent-strong: oklch(58% 0.18 40);
  --accent-dim: oklch(46% 0.12 42);
  --warm-card: oklch(91% 0.028 78);
  --warm-card-fg: oklch(18% 0.02 60);
  --warm-card-muted: oklch(40% 0.03 60);
  --warm-card-border: oklch(76% 0.03 70);

  --font-display: 'Instrument Serif', Georgia, 'Iowan Old Style', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --container: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- focus & skip link ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ethics strip + header ---------- */
.site-topbar {
  position: relative;
  top: auto;
  z-index: 20;
}

.ethics-strip {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.6vw, 12.5px);
  letter-spacing: .01em;
  color: var(--muted);
}
.ethics-strip__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ethics-strip__icon { color: var(--accent); flex: none; }
.ethics-strip strong { color: var(--bone-soft); font-weight: 600; }

.site-header {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 3px 8px;
  transform: translateY(-2px);
}
.site-nav {
  display: none;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.site-nav a { text-decoration: none; transition: color .15s var(--ease); }
.site-nav a:hover { color: var(--bone); }
.site-header .header-cta { display: none; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header .header-cta { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--accent-dim); background: color-mix(in oklch, var(--surface) 60%, transparent); }
.btn--on-warm {
  background: var(--warm-card-fg);
  color: var(--warm-card);
}
.btn--on-warm:hover { background: color-mix(in oklch, var(--warm-card-fg) 85%, black); }
.btn--ghost-warm {
  background: transparent;
  border: 1px solid var(--warm-card-border);
  color: var(--warm-card-fg);
}
.btn--sm { padding: 9px 18px; font-size: 13.5px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.official-note {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.5;
}
.official-note--warm { color: var(--warm-card-muted); }

/* ---------- shared type ---------- */
.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 18ch;
}
.section-body {
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
}
.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 148px);
  scroll-margin-top: 148px;
}
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--accent);
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 10px;
}

/* ---------- photo credit (shared across real photographs) ---------- */
.photo-credit {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--bone-soft);
  background: linear-gradient(0deg, color-mix(in oklch, var(--bg-deep) 85%, transparent) 0%, transparent 100%);
  z-index: 1;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 8%, oklch(24% 0.04 145 / .55), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 70%, var(--bg) 100%);
}
.hero__foliage {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .9;
  pointer-events: none;
  transform: translateY(var(--foliage-shift-y, 0px));
  will-change: transform;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 40%, var(--bg-deep) 100%);
  pointer-events: none;
}
.hero__eyes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(
    calc(-50% + var(--eyes-pointer-x, 0px)),
    calc(-58% + var(--eyes-base-y, 0px) + var(--eyes-shift-y, 0px) + var(--eyes-pointer-y, 0px))
  );
  z-index: 2;
  width: min(70vw, 520px);
  pointer-events: none;
  will-change: transform;
}
.hero__eyes svg { width: 100%; height: auto; }
.eye-glow { animation: eye-breathe 6s ease-in-out infinite; transform-origin: center; }
.hero__pupils {
  transform: translate(
    var(--pupils-shift-x, 0px),
    var(--pupils-shift-y, 0px)
  );
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}
@keyframes eye-breathe {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(100px, 16vw, 160px) var(--pad) clamp(60px, 8vw, 96px);
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero__title-line { display: block; }
.hero__title-line--quiet {
  font-size: clamp(22px, 3.4vw, 34px);
  color: var(--bone-soft);
  font-style: italic;
}
.hero__title-line--bold {
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.02;
  color: var(--bone);
  margin-top: 6px;
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 56ch;
}
.hero__cta { margin-top: 36px; }
.hero__cta .official-note { margin-top: 14px; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--muted);
  font-size: 20px;
  text-decoration: none;
  animation: scroll-bob 2.4s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* =============================================================
   ORGANIC DIVIDERS (sierras / vegetación)
   ============================================================= */
.divider {
  position: relative;
  line-height: 0;
  z-index: 2;
}
.divider svg { width: 100%; height: clamp(48px, 9vw, 110px); display: block; }

/* =============================================================
   MASCOTISMO (section 2)
   ============================================================= */
.mascotismo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.mascotismo__cage {
  position: absolute;
  z-index: 0;
  top: clamp(32px, 8vw, 90px);
  bottom: clamp(28px, 7vw, 76px);
  left: max(28px, calc((100vw - var(--container)) / 2 + 36px));
  width: min(54vw, 650px);
  pointer-events: none;
  opacity: .52;
  transform: perspective(720px) rotateY(-10deg) rotateZ(-2.4deg);
  transform-origin: 18% 48%;
}
.mascotismo__cage::before,
.mascotismo__cage::after {
  content: '';
  position: absolute;
  inset: 0;
}
.mascotismo__cage::before {
  background:
    linear-gradient(180deg, oklch(4% 0.006 80 / .05), oklch(2% 0 0 / .54) 18%, oklch(2% 0 0 / .62) 82%, oklch(4% 0.006 80 / .08)) 4% 0 / 10px 100% no-repeat,
    linear-gradient(180deg, oklch(4% 0.006 80 / .04), oklch(2% 0 0 / .50) 12%, oklch(41% 0.11 42 / .18) 54%, oklch(2% 0 0 / .56) 92%) 19% 0 / 8px 100% no-repeat,
    linear-gradient(180deg, oklch(2% 0 0 / .52), oklch(2% 0 0 / .64)) 35% 0 / 12px 100% no-repeat,
    linear-gradient(180deg, oklch(2% 0 0 / .42), oklch(43% 0.12 42 / .15) 42%, oklch(2% 0 0 / .55)) 52% 0 / 9px 100% no-repeat,
    linear-gradient(180deg, oklch(2% 0 0 / .58), oklch(2% 0 0 / .66)) 69% 0 / 11px 100% no-repeat,
    linear-gradient(180deg, oklch(3% 0.006 80 / .05), oklch(2% 0 0 / .44) 16%, oklch(2% 0 0 / .54) 88%, oklch(3% 0.006 80 / .08)) 87% 0 / 8px 100% no-repeat;
  filter: blur(.15px);
}
.mascotismo__cage::after {
  background:
    linear-gradient(96deg, transparent 0%, oklch(2% 0 0 / .30) 9%, oklch(2% 0 0 / .48) 52%, oklch(43% 0.12 42 / .18) 76%, transparent 100%) 0 31% / 100% 8px no-repeat,
    linear-gradient(87deg, transparent 0%, oklch(45% 0.13 42 / .17) 5%, oklch(2% 0 0 / .45) 45%, oklch(2% 0 0 / .34) 91%, transparent 100%) 0 64% / 100% 6px no-repeat;
  transform: rotate(3deg);
}
.mascotismo__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .mascotismo__grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
.damage-list { display: grid; gap: 18px; }
.damage-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  background: color-mix(in oklch, var(--surface) 55%, transparent);
}
.damage-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.damage-card h3::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}
.damage-card p { font-size: 14px; color: var(--muted); }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--bone-soft);
  border-left: 2px solid var(--accent-dim);
  padding-left: 20px;
  margin-top: 32px;
  max-width: 44ch;
}

/* =============================================================
   PROCESO (section 3) — timeline
   ============================================================= */
.proceso { background: var(--bg-deep); }
.timeline {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline__item {
  position: relative;
  padding: 0 0 40px 44px;
  border-left: 1px dashed var(--border);
}
.timeline__item:last-child { border-left-color: transparent; padding-bottom: 4px; }
.timeline__num {
  position: absolute;
  left: -19px;
  top: 0;
  width: 37px; height: 37px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.timeline__item h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 6px;
}
.timeline__item p { font-size: 14.5px; color: var(--muted); max-width: 56ch; }

@media (min-width: 940px) {
  .timeline { flex-direction: row; gap: 0; }
  .timeline__item {
    flex: 1;
    padding: 44px 20px 0 0;
    border-left: none;
    border-top: 1px dashed var(--border);
  }
  .timeline__item:last-child { padding-right: 0; }
  .timeline__num {
    left: 0; top: -19px;
  }
}

/* =============================================================
   LAS PERSONAS (section 3B) — manifiesto tipográfico sin retrato
   ============================================================= */
.personas {
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--surface) 28%, transparent) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in oklch, var(--bg-deep) 28%, var(--bg)) 100%);
  background-size: clamp(42px, 5vw, 72px) 100%, auto;
}
.personas__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .personas__grid { grid-template-columns: 1.08fr .92fr; }
}
.personas__manifesto {
  position: relative;
  min-height: clamp(320px, 38vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 44px) 0;
  isolation: isolate;
}
.personas__manifesto::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -4%;
  top: 1%;
  width: min(96%, 540px);
  height: 96%;
  background: radial-gradient(
    ellipse at 48% 48%,
    oklch(56% 0.09 132 / .78) 0%,
    oklch(45% 0.075 130 / .56) 38%,
    transparent 78%
  );
  filter: blur(18px);
  transform: none;
}
.personas__manifesto > :not(.personas__silhouette) {
  position: relative;
  z-index: 2;
}
.personas__silhouette {
  position: absolute;
  z-index: 1;
  left: clamp(34px, 7vw, 108px);
  top: clamp(16px, 4vw, 50px);
  width: clamp(160px, 23vw, 300px);
  height: min(88%, 510px);
  object-fit: contain;
  opacity: .94;
  filter: brightness(0) contrast(1.3);
  mix-blend-mode: normal;
  transform: rotate(-5deg);
  pointer-events: none;
}
.personas__overline,
.personas__names {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-size: 12px;
}
.personas__statement {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.7vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--bone);
  max-width: 13ch;
}
.personas__names {
  color: var(--bone-soft);
  max-width: 20ch;
}

/* =============================================================
   TRANSICIÓN FULL-BLEED (fotografía + sierras + texto en negativo)
   ============================================================= */
.dexpo {
  position: relative;
  min-height: clamp(620px, 86vh, 900px);
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  padding-block: clamp(86px, 12vw, 150px);
  overflow: hidden;
  isolation: isolate;
}
.dexpo__photo,
.dexpo__shade,
.dexpo__ridgeback {
  position: absolute;
  inset: 0;
}
.dexpo__photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 43%;
  filter: saturate(.78) contrast(1.18) brightness(.68);
  z-index: -4;
}
.dexpo__shade {
  background:
    linear-gradient(90deg, oklch(0% 0 0 / .82) 0%, oklch(0% 0 0 / .58) 34%, oklch(0% 0 0 / .22) 58%, oklch(0% 0 0 / .62) 100%),
    linear-gradient(180deg, oklch(0% 0 0 / .46) 0%, transparent 38%, oklch(0% 0 0 / .24) 68%, var(--bg-deep) 100%);
  mix-blend-mode: multiply;
  z-index: -3;
}
.dexpo__ridgeback {
  inset: auto 0 0;
  height: 46%;
  z-index: -2;
  pointer-events: none;
}
.dexpo__ridge {
  position: absolute;
  left: -4%;
  right: -4%;
  height: 70%;
  opacity: .92;
  filter: blur(.1px);
}
.dexpo__ridge--1 { bottom: 5%; background: oklch(43% 0.08 68 / .78); clip-path: polygon(0 55%, 8% 40%, 18% 58%, 30% 30%, 42% 52%, 55% 22%, 68% 48%, 80% 34%, 92% 56%, 100% 42%, 100% 100%, 0 100%); mix-blend-mode: multiply; }
.dexpo__ridge--2 { bottom: -5%; background: oklch(26% 0.055 118 / .9); clip-path: polygon(0 70%, 12% 50%, 24% 68%, 36% 44%, 50% 66%, 64% 38%, 78% 62%, 90% 46%, 100% 64%, 100% 100%, 0 100%); }
.dexpo__ridge--3 { bottom: -16%; background: var(--bg-deep); clip-path: polygon(0 84%, 10% 66%, 22% 82%, 34% 60%, 48% 80%, 60% 58%, 74% 78%, 86% 62%, 100% 80%, 100% 100%, 0 100%); }
.dexpo__inner {
  width: 100%;
  position: relative;
  z-index: 1;
}
.dexpo__copy {
  max-width: min(760px, 78vw);
  color: var(--bone);
  text-shadow: 0 2px 24px oklch(0% 0 0 / .72);
}
.dexpo__copy .kicker { color: var(--bone-soft); }
.dexpo__copy .section-title {
  max-width: 13ch;
  color: var(--bone);
  font-size: clamp(46px, 7.8vw, 104px);
  line-height: .94;
}
.dexpo__copy .section-body {
  margin-top: 24px;
  color: var(--bone-soft);
  max-width: 48ch;
}
.dexpo__credit {
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(18px, 3vw, 34px);
  background: none;
  text-shadow: 0 1px 8px oklch(0% 0 0 / .9);
}

/* =============================================================
   PROYECTO CARAYÁ — momento de letras gigantes (section 4)
   ============================================================= */
.proyecto {
  background: var(--bg-deep);
  overflow: hidden;
}
.letters-stage {
  position: relative;
  isolation: isolate;
  margin-top: clamp(24px, 4vw, 40px);
  min-height: clamp(430px, 58vw, 720px);
  padding-block: clamp(36px, 8vw, 88px);
  display: flex;
  align-items: center;
}
.letters-text {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(52px, 12vw, 164px);
  line-height: .88;
  color: var(--bone);
  position: relative;
  z-index: auto;
  text-shadow: 0 4px 28px oklch(0% 0 0 / .65);
}
.letters-text span {
  display: block;
  position: relative;
}
.letters-text__front {
  z-index: 4;
}
.letters-text__behind {
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklch, var(--bone-soft) 76%, transparent);
  text-stroke: 1px color-mix(in oklch, var(--bone-soft) 76%, transparent);
  z-index: 2;
}
.letters-text__front-high {
  z-index: 5;
}

.letters-photo {
  position: absolute;
  z-index: 3;
  right: clamp(-78px, -6vw, -18px);
  top: 50%;
  width: clamp(520px, 58vw, 860px);
  height: clamp(360px, 45vw, 640px);
  transform: translateY(-48%);
  pointer-events: none;
  isolation: isolate;
}
.letters-photo::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 8% 8% 6% 3%;
  background:
    repeating-linear-gradient(108deg, oklch(64% 0.15 43 / .22) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, oklch(32% 0.06 70 / .58), oklch(18% 0.04 145 / .18));
  clip-path: polygon(2% 10%, 92% 1%, 98% 22%, 88% 35%, 96% 68%, 83% 92%, 11% 98%, 0 76%, 7% 54%, 0 31%);
  opacity: .54;
  transform: rotate(-3deg);
}
.letters-photo::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("assets/mono-recorte-negro-deploy.webp") center / contain no-repeat;
  filter: sepia(1) saturate(2.1) hue-rotate(-18deg) brightness(.72) contrast(1.1);
  opacity: .34;
  transform: translate(14px, 10px);
  pointer-events: none;
}
.letters-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(.92) contrast(1.16) brightness(1.04);
}
.letters-photo .photo-credit {
  position: absolute;
  left: clamp(112px, 19vw, 230px);
  bottom: clamp(18px, 3.4vw, 38px);
  right: auto;
  background: none;
  padding: 0;
  z-index: 3;
  text-shadow: 0 1px 6px oklch(0% 0 0 / .85);
}

.proyecto__body { margin-top: clamp(28px, 5vw, 44px); }

@media (max-width: 640px) {
  .letters-stage {
    min-height: 430px;
    padding-block: 44px;
  }
  .letters-photo {
    right: -40vw;
    width: 122vw;
    height: 390px;
    opacity: .92;
  }
  .letters-photo .photo-credit {
    left: 40vw;
    bottom: 12px;
    max-width: 48vw;
  }
}

/* =============================================================
   PALABRA-MÁSCARA (section 4B)
   ============================================================= */
.silvestres {
  background:
    linear-gradient(115deg, transparent 0 48%, oklch(23% 0.04 145 / .46) 48% 50%, transparent 50% 100%),
    repeating-linear-gradient(0deg, transparent 0 13px, oklch(91% 0.03 80 / .035) 13px 14px),
    var(--bg);
  overflow: hidden;
}
.wildword {
  position: relative;
  min-height: clamp(360px, 48vw, 620px);
  display: grid;
  align-items: center;
  isolation: isolate;
}
.wildword__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(58px, 15.2vw, 218px);
  line-height: .78;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: oklch(91% 0.022 80);
  -webkit-text-stroke: 1px color-mix(in oklch, var(--accent) 22%, var(--bone));
  text-stroke: 1px color-mix(in oklch, var(--accent) 22%, var(--bone));
  text-shadow: 0 26px 36px oklch(0% 0 0 / .34);
  position: relative;
  z-index: 2;
  isolation: isolate;
}
.wildword__word::before {
  content: 'SILVESTRES';
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px oklch(60% 0.16 42 / .75);
  text-stroke: 1px oklch(60% 0.16 42 / .75);
  transform: translate(.035em, .055em);
  pointer-events: none;
}
.wildword__animal {
  position: absolute;
  z-index: 3;
  right: clamp(-28px, -2vw, 8px);
  top: 50%;
  width: clamp(300px, 38vw, 560px);
  height: clamp(330px, 43vw, 620px);
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: translateY(-48%);
  filter: saturate(.9) contrast(1.08) brightness(.96) drop-shadow(-18px 22px 0 oklch(50% 0.12 42 / .18));
  pointer-events: none;
}
.wildword__copy {
  position: relative;
  z-index: 4;
  margin-top: clamp(-26px, -2vw, -10px);
  margin-left: auto;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.06;
  color: var(--bone);
  text-align: right;
  text-shadow: 0 2px 20px oklch(0% 0 0 / .55);
}
.wildword__credit {
  left: auto;
  right: 0;
  bottom: clamp(8px, 2vw, 22px);
  background: none;
  padding: 0;
  text-shadow: 0 1px 8px oklch(0% 0 0 / .85);
}

/* =============================================================
   CARRUSEL DOCUMENTAL ÚNICO (section 4C)
   ============================================================= */
.documental {
  background: var(--bg-deep);
  overflow: hidden;
}
.documental-carousel {
  position: relative;
  outline: none;
}
.carousel__viewport {
  position: relative;
  height: clamp(300px, 55vw, 640px);
  max-height: 72vh;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(.85) contrast(1.08);
}
.carousel__slide:nth-child(2) img { object-position: 50% 48%; }
.carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(16px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.35vw, 13px);
  color: var(--bone-soft);
  background: linear-gradient(0deg, oklch(0% 0 0 / .78) 0%, transparent 100%);
  z-index: 2;
}
.carousel__controls {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.carousel__button {
  justify-self: start;
  min-height: 44px;
  border: 1px solid var(--border);
  padding: 10px 16px;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.carousel__button--next { justify-self: end; }
.carousel__button:hover,
.carousel__button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel__dot {
  width: 34px;
  height: 44px;
  position: relative;
}
.carousel__dot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--border);
  transition: background .18s var(--ease), height .18s var(--ease);
}
.carousel__dot.is-active::before {
  background: var(--accent);
  height: 4px;
}

@media (max-width: 700px) {
  .mascotismo__cage {
    top: 9%;
    bottom: 5%;
    left: auto;
    right: -42%;
    width: 92%;
    opacity: .36;
    transform: perspective(620px) rotateY(-14deg) rotateZ(-6deg) scale(.86);
  }
  .personas__manifesto {
    min-height: clamp(390px, 118vw, 520px);
    padding-block: 26px 34px;
  }
  .personas__manifesto::before {
    left: 7%;
    top: 36px;
    width: min(86vw, 336px);
    height: 68%;
    opacity: .92;
    filter: blur(15px);
    transform: none;
  }
  .personas__silhouette {
    left: 50%;
    top: 60px;
    width: min(50vw, 188px);
    height: 58%;
    opacity: .86;
    filter: brightness(0) contrast(1.3);
    mix-blend-mode: normal;
    transform: translateX(-18%) rotate(-4deg);
  }
  .personas__statement {
    max-width: 16ch;
  }
  .dexpo__photo {
    object-position: 56% 44%;
    filter: saturate(.84) contrast(1.14) brightness(.74);
  }
  .dexpo__shade {
    background:
      linear-gradient(90deg, oklch(0% 0 0 / .78) 0%, oklch(0% 0 0 / .54) 62%, oklch(0% 0 0 / .66) 100%),
      linear-gradient(180deg, oklch(0% 0 0 / .34) 0%, transparent 42%, var(--bg-deep) 100%);
  }
  .wildword {
    min-height: 440px;
  }
  .wildword__word {
    font-size: clamp(56px, 17vw, 86px);
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }
  .wildword__animal {
    right: -70px;
    top: 48%;
    width: 360px;
    height: 390px;
    opacity: .9;
  }
  .wildword__copy {
    margin-top: 12px;
    max-width: 24ch;
    text-align: left;
    margin-left: 0;
  }
  .wildword__credit {
    left: 0;
    right: 0;
    bottom: 0;
  }
  .carousel__viewport {
    height: clamp(280px, 74vw, 390px);
    min-height: 280px;
  }
  .carousel__controls {
    grid-template-columns: 1fr 1fr;
  }
  .carousel__dots {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }
  .carousel__button { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__slide { transition: none; }
}

/* =============================================================
   IMPACTO (section 5)
   ============================================================= */
.impacto { background: var(--bg); }
.impacto__grid {
  margin-top: clamp(36px, 6vw, 56px);
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .impacto__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .impacto__grid { grid-template-columns: repeat(4, 1fr); }
}
.impacto__card {
  background: var(--bg);
  padding: 26px 24px;
}
.impacto__card .stat {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--bone);
  line-height: 1.15;
}
.impacto__card .label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.impacto__footnote {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- evidence / transparency table (shared: impacto + diaria) ---------- */
.evidence, .financiamiento { margin-top: clamp(48px, 7vw, 72px); }
.evidence__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--bone);
}
.evidence__note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  max-width: 66ch;
}
.evidence__table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.evidence__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.evidence__table th, .evidence__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.evidence__table thead th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
  color: var(--accent);
  background: color-mix(in oklch, var(--surface) 70%, transparent);
}
.evidence__table thead th:not(:last-child) { white-space: nowrap; }
.evidence__table td:last-child, .evidence__table th:last-child { min-width: 220px; }
.evidence__table tbody td { color: var(--muted); font-variant-numeric: tabular-nums; }
.evidence__table tbody tr:last-child td { border-bottom: 0; }
.evidence__source { display: block; font-weight: 700; color: var(--bone); }
.evidence__date { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 2px; white-space: nowrap; }

/* =============================================================
   HISTORIAS VERIFICABLES (section 5B)
   ============================================================= */
.historias { background: var(--bg-deep); }
.historias__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) {
  .historias__grid { grid-template-columns: .82fr 1.18fr; }
}
.historias__type {
  position: relative;
  display: grid;
  gap: clamp(4px, 1vw, 10px);
  padding-block: clamp(10px, 2vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: .82;
  letter-spacing: -0.035em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklch, var(--bone-soft) 62%, transparent);
  text-stroke: 1px color-mix(in oklch, var(--bone-soft) 62%, transparent);
  text-transform: uppercase;
  isolation: isolate;
}
.historias__type span {
  position: relative;
  z-index: 2;
}
.historias__silhouette {
  position: absolute;
  z-index: 1;
  right: clamp(8px, 3vw, 42px);
  top: clamp(-52px, -4vw, -24px);
  width: clamp(150px, 24vw, 310px);
  height: 116%;
  object-fit: contain;
  opacity: .22;
  filter: grayscale(1) invert(1) contrast(2.8) sepia(.42) saturate(1.7) hue-rotate(335deg);
  mix-blend-mode: screen;
  transform: rotate(3deg);
  pointer-events: none;
}
.historias__list { margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 24px; }
.historias__list h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 6px;
}
.historias__list p { font-size: 14.5px; color: var(--muted); max-width: 58ch; }
@media (max-width: 700px) {
  .historias__type {
    padding-right: min(28vw, 104px);
  }
  .historias__silhouette {
    right: 0;
    top: -22px;
    width: min(42vw, 170px);
    height: 106%;
    opacity: .18;
  }
}

/* =============================================================
   DONACIÓN DIARIA (section 6)
   ============================================================= */
.diaria { background: var(--bg-deep); }
.diaria__grid {
  margin-top: clamp(32px, 6vw, 52px);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .diaria__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .diaria__grid { grid-template-columns: repeat(3, 1fr); } }
.diaria__card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  background: color-mix(in oklch, var(--surface) 45%, transparent);
}
.diaria__icon { color: var(--accent); margin-bottom: 14px; }
.diaria__card h3 { font-size: 16px; font-weight: 700; color: var(--bone); margin-bottom: 8px; }
.diaria__card p { font-size: 14px; color: var(--muted); }

.financiamiento__grid {
  margin-top: 24px;
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .financiamiento__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .financiamiento__grid { grid-template-columns: repeat(4, 1fr); } }
.financiamiento__card { background: var(--bg-deep); padding: 22px 20px; }
.financiamiento__stat {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--bone);
  line-height: 1.2;
}
.financiamiento__label { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* =============================================================
   BLOQUE MENSUAL DOMINANTE (section 7)
   ============================================================= */
.mensual { background: var(--bg); }
.mensual__card {
  background: linear-gradient(155deg, var(--warm-card) 0%, oklch(88% 0.03 72) 100%);
  color: var(--warm-card-fg);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  min-height: clamp(520px, 56vw, 620px);
  isolation: isolate;
}
.mensual__card::before {
  content: '';
  position: absolute;
  right: 24%;
  top: -22%;
  width: 58%;
  height: 140%;
  background: radial-gradient(ellipse at center, oklch(70% 0.14 45 / .22), transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.mensual__content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: clamp(36px, 6vw, 72px) clamp(30px, 5vw, 64px);
}
.mensual__media {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  align-self: stretch;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 2% 100%, 8% 78%, 3% 48%, 10% 24%);
  background: var(--warm-card);
  isolation: isolate;
}
.mensual__media::before,
.mensual__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mensual__media::before {
  z-index: 1;
  background:
    linear-gradient(96deg, var(--warm-card) 0%, oklch(91% 0.028 78 / .76) 16%, transparent 42%),
    linear-gradient(180deg, transparent 48%, oklch(12% 0.02 60 / .42) 100%);
}
.mensual__media::after {
  z-index: 2;
  width: 22%;
  right: auto;
  background:
    linear-gradient(110deg, oklch(90% 0.03 75 / .80) 0 22%, transparent 23% 100%),
    linear-gradient(73deg, transparent 0 48%, oklch(91% 0.028 78 / .52) 49% 57%, transparent 58% 100%);
  mix-blend-mode: multiply;
  opacity: .86;
}
.mensual__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 66% 46%;
  filter: saturate(.82) contrast(1.1) brightness(.82);
}
.mensual__media figcaption {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 24px);
  max-width: min(32ch, calc(100% - 36px));
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  color: oklch(94% 0.018 78);
  background: oklch(8% 0.012 70 / .54);
  border: 1px solid oklch(95% 0.02 80 / .18);
  text-wrap: pretty;
}
.mensual__kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--warm-card-muted);
  margin-bottom: 18px;
}
.mensual__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.12;
  max-width: 20ch;
  position: relative;
  z-index: 1;
}
.mensual__sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--warm-card-muted);
  max-width: 58ch;
  position: relative;
  z-index: 1;
}
.mensual__amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}
.amount-chip {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--warm-card-fg);
  color: var(--warm-card);
}
.amount-chip--muted {
  background: transparent;
  border: 1px solid var(--warm-card-border);
  color: var(--warm-card-muted);
  font-weight: 500;
}
.mensual__freq {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.freq-chip {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--warm-card-border);
  color: var(--warm-card-muted);
}
.freq-chip--active {
  background: var(--warm-card-fg);
  color: var(--warm-card);
  border-color: transparent;
  font-weight: 600;
}
.mensual__cta {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
.mensual__cta .official-note { margin-top: 14px; }

@media (max-width: 700px) {
  .mensual__card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mensual__content {
    grid-row: 2;
    padding: 30px 22px 34px;
  }
  .mensual__media {
    grid-row: 1;
    min-height: clamp(196px, 56vw, 270px);
    height: clamp(196px, 56vw, 270px);
    clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 92%, 63% 86%, 42% 96%, 20% 89%, 0 96%);
  }
  .mensual__media::before {
    background:
      linear-gradient(180deg, transparent 28%, oklch(91% 0.028 78 / .36) 70%, var(--warm-card) 100%),
      linear-gradient(90deg, oklch(12% 0.02 60 / .18), transparent 32%, transparent 68%, oklch(12% 0.02 60 / .16));
  }
  .mensual__media::after {
    inset: auto 0 0 0;
    width: 100%;
    height: 34%;
    background:
      linear-gradient(174deg, transparent 0 46%, oklch(91% 0.028 78 / .76) 47% 64%, transparent 65% 100%),
      linear-gradient(186deg, transparent 0 42%, oklch(88% 0.03 72 / .64) 43% 55%, transparent 56% 100%);
    mix-blend-mode: normal;
  }
  .mensual__media img {
    object-position: 66% 42%;
  }
  .mensual__media figcaption {
    right: 12px;
    bottom: 12px;
    max-width: min(30ch, calc(100% - 24px));
    font-size: 9.5px;
  }
}

/* =============================================================
   EMPRESAS / ALIANZAS (section 8)
   ============================================================= */
.alianzas { background: var(--bg-deep); }
.alianzas__grid {
  margin-top: clamp(32px, 5vw, 48px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: clamp(28px, 5vw, 44px);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.alianzas__grid > *,
.alianzas__contact,
.ways-list,
.alianzas__social { min-width: 0; }
.alianzas__contact .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
}
@media (max-width: 799px) {
  .alianzas__grid { padding: 24px 20px; }
}
@media (min-width: 800px) {
  .alianzas__grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
}
.ways-list { display: grid; gap: 14px; align-content: start; }
.ways-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--bone-soft);
}
.ways-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
.alianzas__contact { display: grid; gap: 14px; align-items: start; }
.alianzas__social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2px; }
.alianzas__social a { font-size: 14px; text-decoration: underline; color: var(--bone-soft); }
.alianzas__social a:hover { color: var(--accent); }

/* =============================================================
   FAQ (section 9)
   ============================================================= */
.faq { background: var(--bg); }
.faq__list { margin-top: clamp(28px, 5vw, 44px); max-width: 780px; }
.faq__item {
  border-bottom: 1px solid var(--border-soft);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  font-weight: 600;
  color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .plus {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary .plus { transform: rotate(45deg); }
.faq__item p {
  padding-bottom: 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 68ch;
}

/* =============================================================
   CIERRE (section 10) + FOOTER
   ============================================================= */
.cierre {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, oklch(26% 0.05 145 / .5), transparent 60%),
    var(--bg-deep);
  text-align: center;
}
.cierre__inner { display: flex; flex-direction: column; align-items: center; }
.cierre .section-title { max-width: 16ch; margin-inline: auto; }
.cierre .cta-row { justify-content: center; margin-top: 32px; }
.cierre .official-note { margin-top: 16px; text-align: center; }

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding-block: clamp(40px, 6vw, 64px);
}
.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer h2 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.site-footer ul { display: grid; gap: 9px; }
.site-footer a {
  color: var(--bone-soft);
  text-decoration: none;
  font-size: 14px;
}
.site-footer a:hover { color: var(--accent); }
.footer-cite { font-size: 14px; color: var(--muted); }
.site-footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* =============================================================
   STICKY MOBILE CTA
   ============================================================= */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 70;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 32px oklch(0% 0 0 / .35);
  transform: translateY(140%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.sticky-cta span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.sticky-cta .btn { padding: 10px 16px; font-size: 13.5px; }

@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* =============================================================
   RECOMPOSICIÓN EDITORIAL — ritmo, capítulos y conversión
   ============================================================= */

/* Header compacto: la navegación ya no compite con el primer impacto. */
.site-header__inner {
  min-height: 64px;
  padding-block: 12px;
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
  scroll-margin-top: 80px;
}

/* Una duración distinta para cada capítulo. */
.mascotismo {
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding-block: clamp(72px, 9vw, 122px);
}

.proceso {
  min-height: 118svh;
  padding-block: clamp(96px, 12vw, 158px);
}

.dexpo {
  min-height: clamp(760px, 116svh, 1120px);
  padding-block: clamp(118px, 16vw, 210px);
}

.proyecto {
  min-height: 105svh;
  display: grid;
  align-items: center;
  padding-block: clamp(84px, 10vw, 140px);
}

.proyecto .letters-stage {
  min-height: clamp(560px, 74svh, 820px);
}

.silvestres {
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding-block: clamp(68px, 8vw, 108px);
}

.impacto {
  padding-block: clamp(150px, 17vw, 228px);
}

.documental {
  min-height: 106svh;
  padding-block: clamp(72px, 9vw, 120px);
}

.historias {
  min-height: 80svh;
  display: grid;
  align-items: center;
  padding-block: clamp(84px, 10vw, 136px);
}

.personas {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(100px, 12vw, 168px);
}

.diaria {
  min-height: 118svh;
  padding-block: clamp(108px, 13vw, 176px);
}

.mensual {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(82px, 10vw, 132px);
}

.alianzas {
  min-height: 76svh;
  display: grid;
  align-items: center;
  padding-block: clamp(72px, 8vw, 108px);
}

.faq { padding-block: clamp(76px, 9vw, 120px); }

.cierre {
  min-height: 68svh;
  display: grid;
  align-items: center;
}

/* Daños: índice editorial, no tres cajas equivalentes. */
.damage-list {
  gap: 0;
  counter-reset: damage;
  border-top: 1px solid var(--border);
}

.damage-card {
  counter-increment: damage;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 12px;
  padding: 24px 0 26px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.damage-card::before {
  content: "0" counter(damage);
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent);
  padding-top: 3px;
}

.damage-card h3::before { display: none; }
.damage-card h3 { font-size: 17px; }
.damage-card p { max-width: 42ch; }

/* Proceso: texto anclado y recorrido vertical. */
@media (min-width: 940px) {
  .proceso > .container {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
    gap: clamp(72px, 10vw, 144px);
    align-items: start;
  }

  .proceso .section-head {
    position: sticky;
    top: 112px;
    margin-bottom: 0;
  }

  .proceso .timeline {
    flex-direction: column;
    margin-top: 0;
  }

  .proceso .timeline__item {
    padding: 0 0 clamp(48px, 6vw, 72px) 66px;
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .proceso .timeline__item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }

  .proceso .timeline__num {
    left: -19px;
    top: 0;
  }

  .proceso .timeline__item h3 {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 400;
  }

  .proceso .timeline__item p {
    font-size: 15px;
    max-width: 48ch;
  }
}

/* Parallax: solo transform y solo cuando el controlador activa la escena. */
.hero__foliage,
.hero__eyes,
.hero__pupils { will-change: auto; }

.hero.is-motion-active .hero__foliage,
.hero.is-motion-active .hero__eyes,
.hero.is-motion-active .hero__pupils { will-change: transform; }

.dexpo { --dexpo-photo-scale: 1.05; }

.dexpo__photo {
  transform: translate3d(0, var(--dexpo-photo-y, 0px), 0) scale(var(--dexpo-photo-scale));
  transform-origin: center;
}

.dexpo__ridge--1 { transform: translate3d(0, var(--dexpo-ridge-1-y, 0px), 0); }
.dexpo__ridge--2 { transform: translate3d(0, var(--dexpo-ridge-2-y, 0px), 0); }
.dexpo__ridge--3 { transform: translate3d(0, var(--dexpo-ridge-3-y, 0px), 0); }

.letters-photo {
  transform: translate3d(
    var(--letters-photo-x, 0px),
    calc(-48% + var(--letters-photo-y, 0px)),
    0
  );
}

.letters-photo::after {
  transform: translate3d(
    calc(14px + var(--letters-register-x, 0px)),
    calc(10px + var(--letters-register-y, 0px)),
    0
  );
}

.wildword__animal {
  transform: translate3d(0, calc(-48% + var(--wild-animal-y, 0px)), 0);
}

.wildword__word::before {
  transform: translate3d(
    calc(.035em + var(--wild-ghost-x, 0px)),
    calc(.055em + var(--wild-ghost-y, 0px)),
    0
  );
}

#dexpo.is-motion-active .dexpo__photo,
#dexpo.is-motion-active .dexpo__ridge,
#proyecto.is-motion-active .letters-photo,
#proyecto.is-motion-active .letters-photo::after,
#silvestres.is-motion-active .wildword__animal,
#silvestres.is-motion-active .wildword__word::before {
  will-change: transform;
}

/* Único capítulo claro: expediente de escala y trayectoria. */
.impacto {
  --chapter-bg: oklch(92% 0.026 78);
  --chapter-fg: oklch(14% 0.022 150);
  --chapter-muted: oklch(37% 0.028 138);
  --chapter-line: oklch(25% 0.025 145 / .24);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, oklch(20% 0.02 145 / .025) 27px 28px),
    var(--chapter-bg);
  color: var(--chapter-fg);
  isolation: isolate;
  z-index: 1;
}

.impacto::before,
.impacto::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--chapter-bg);
  z-index: 0;
  clip-path: polygon(0 52%, 4% 18%, 9% 72%, 15% 24%, 22% 70%, 30% 16%, 38% 74%, 47% 26%, 56% 76%, 66% 22%, 76% 69%, 86% 18%, 94% 74%, 100% 40%, 100% 100%, 0 100%);
}

.impacto::before { top: -27px; }
.impacto::after { bottom: -27px; transform: rotate(180deg); }
.impacto > .container { position: relative; z-index: 1; }

.impacto__chapter-mark {
  position: absolute;
  right: var(--pad);
  top: clamp(-98px, -8vw, -54px);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
  color: var(--accent-strong);
}

.impacto__chapter-mark span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(76px, 11vw, 148px);
  line-height: .64;
  letter-spacing: -.04em;
  color: var(--chapter-fg);
  opacity: .12;
}

.impacto .section-title,
.impacto .evidence__title,
.impacto .impacto__card .stat { color: var(--chapter-fg); }

.impacto .section-body,
.impacto .impacto__card .label,
.impacto .impacto__footnote,
.impacto .evidence__note,
.impacto .evidence__table tbody td { color: var(--chapter-muted); }

.impacto__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border: 0;
  border-block: 1px solid var(--chapter-line);
  border-radius: 0;
  background: transparent;
}

.impacto__card {
  background: transparent;
  padding: clamp(28px, 4.4vw, 52px) clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--chapter-line);
}

.impacto__card:nth-child(1),
.impacto__card:nth-child(4) { grid-column: span 7; }

.impacto__card:nth-child(2),
.impacto__card:nth-child(3) {
  grid-column: span 5;
  border-left: 1px solid var(--chapter-line);
}

.impacto__card:nth-child(3) { border-left: 0; }
.impacto__card:nth-child(4) { border-left: 1px solid var(--chapter-line); }

.impacto__card:first-child .stat {
  font-size: clamp(44px, 6vw, 82px);
  max-width: 8ch;
}

.impacto__footnote {
  font-family: var(--font-mono);
  letter-spacing: .015em;
}

.impacto__bridge {
  margin-top: clamp(64px, 9vw, 108px);
  padding-block: clamp(28px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-block: 2px solid var(--chapter-fg);
}

.impacto__bridge p {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1;
}

.btn--chapter {
  background: var(--chapter-fg);
  color: var(--chapter-bg);
  flex: none;
}

.btn--chapter:hover { background: var(--accent-strong); color: var(--bone); }

.impacto .evidence {
  margin-top: clamp(72px, 10vw, 124px);
}

.impacto .evidence__table-wrap {
  border: 0;
  border-top: 2px solid var(--chapter-fg);
  border-radius: 0;
}

.impacto .evidence__table th,
.impacto .evidence__table td { border-bottom-color: var(--chapter-line); }

.impacto .evidence__table thead th {
  color: var(--accent-strong);
  background: transparent;
}

.impacto .evidence__source { color: var(--chapter-fg); }
.impacto .evidence__date { color: var(--accent-strong); }

/* Carrusel: único marco fotográfico, de escala realmente dominante. */
.documental .section-head { margin-bottom: clamp(28px, 4vw, 46px); }
.documental-carousel {
  margin-inline: calc(50% - 50vw);
  padding-inline: clamp(16px, 4vw, 64px);
}

.carousel__viewport {
  height: clamp(430px, 72svh, 780px);
  max-height: none;
  border-inline: 0;
}

.carousel__controls { max-width: 1180px; margin-inline: auto; }
.documental-carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* Personas: más ancho de lectura y la silueta permanece tinta negra pura. */
@media (min-width: 860px) {
  .personas__grid { grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); }
}
.personas__statement {
  max-width: 21ch;
  font-size: clamp(34px, 5vw, 64px);
}
.personas__silhouette {
  filter: brightness(0) contrast(1.35);
  mix-blend-mode: normal;
}

.historias__closing {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 48ch;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--bone-soft);
}

/* Operación diaria: tareas como inventario vivo, no seis cards. */
.diaria__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.diaria__card {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  align-content: start;
  padding: 30px 0 34px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.diaria__card:nth-child(1) { grid-column: 1 / 7; }
.diaria__card:nth-child(2) { grid-column: 8 / 13; }
.diaria__card:nth-child(3) { grid-column: 3 / 8; }
.diaria__card:nth-child(4) { grid-column: 7 / 13; }
.diaria__card:nth-child(5) { grid-column: 1 / 7; }
.diaria__card:nth-child(6) { grid-column: 8 / 13; }

.diaria__icon {
  grid-row: 1 / span 2;
  margin: 2px 0 0;
}

.diaria__card h3 { font-size: 17px; }
.diaria__card p { max-width: 42ch; }

.diaria__closing {
  margin-top: 32px;
  max-width: 54ch;
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.12;
  color: var(--bone-soft);
}

.financiamiento { margin-top: clamp(84px, 11vw, 132px); }
.financiamiento__grid {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  border-top: 2px solid var(--bone);
  border-radius: 0;
  background: transparent;
}

.financiamiento__card {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: baseline;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.financiamiento__stat { font-size: clamp(21px, 2.8vw, 34px); }
.financiamiento__label { margin-top: 0; font-size: 13.5px; max-width: 62ch; }

/* El bloque mensual queda como única card de conversión. */
.mensual__reference-label {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-card-muted);
}

.mensual__amounts {
  margin-top: 10px;
  padding-block: 15px;
  border-block: 1px solid var(--warm-card-border);
  gap: 10px 20px;
}

.amount-chip,
.amount-chip--muted {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--warm-card-fg);
}

.amount-chip--muted { color: var(--warm-card-muted); }

.mensual__frequency {
  margin-top: 14px;
  font-size: 13px;
  color: var(--warm-card-muted);
}

/* Empresas: composición abierta con una línea de articulación. */
.alianzas__grid {
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: clamp(42px, 8vw, 104px);
}

@media (min-width: 800px) {
  .alianzas__contact {
    border-left: 1px solid var(--border);
    padding-left: clamp(34px, 5vw, 68px);
  }
}

/* Mobile: conversión antes que fotografía y menos altura de navegación. */
@media (max-width: 939px) {
  .proceso { min-height: auto; }
}

@media (max-width: 700px) {
  .site-header__inner {
    min-height: 58px;
    padding-block: 10px;
  }

  .wordmark { font-size: 20px; }

  .section {
    min-height: auto;
    padding-block: 68px;
    scroll-margin-top: 64px;
  }

  .hero { min-height: calc(100svh - 58px); }
  .hero__content { padding: 84px 20px 96px; }
  .hero__title-line--bold { font-size: clamp(45px, 14vw, 66px); }
  .hero__cta .cta-row,
  .mensual__cta .cta-row,
  .cierre .cta-row { flex-direction: column; align-items: stretch; width: 100%; }

  .hero__cta .btn,
  .mensual__cta .btn,
  .cierre .btn { width: 100%; justify-content: center; }

  .hero__cta { max-width: 100%; }
  .hero__cta .official-note { max-width: 100%; }

  .mascotismo { padding-block: 78px; }
  .dexpo {
    --dexpo-photo-scale: 1.03;
    min-height: 94svh;
    padding-block: 96px 126px;
  }

  .dexpo__copy { max-width: 88vw; }
  .dexpo__copy .section-title { font-size: clamp(44px, 14vw, 66px); }
  .dexpo__credit { bottom: 84px; max-width: calc(100% - 40px); }

  .proyecto { padding-block: 72px; }
  .proyecto .letters-stage { min-height: 510px; }

  .silvestres {
    min-height: 82svh;
    padding-block: 72px;
  }

  .impacto { padding-block: 122px 138px; }
  .impacto__chapter-mark { top: -76px; right: 20px; }
  .impacto__grid { grid-template-columns: 1fr; }
  .impacto__card,
  .impacto__card:nth-child(n) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-inline: 0;
  }

  .impacto__bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .impacto__bridge .btn { justify-content: center; }
  .impacto .evidence__table-wrap { margin-right: -20px; }

  .documental { padding-block: 68px; }
  .documental-carousel { padding-inline: 12px; }
  .carousel__viewport { height: min(68svh, 520px); min-height: 390px; }

  .historias,
  .personas,
  .diaria,
  .mensual,
  .alianzas { padding-block: 76px; }

  .personas__grid { grid-template-columns: 1fr; }
  .personas__statement { max-width: 16ch; font-size: clamp(36px, 11.2vw, 52px); }

  .diaria__grid { grid-template-columns: 1fr; }
  .diaria__card,
  .diaria__card:nth-child(n) { grid-column: 1 / -1; }

  .financiamiento__card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mensual__content {
    grid-row: 1;
    padding: 34px 22px 30px;
  }

  .mensual__media {
    grid-row: 2;
    min-height: clamp(250px, 72vw, 340px);
    height: clamp(250px, 72vw, 340px);
    clip-path: polygon(0 9%, 18% 4%, 38% 11%, 61% 3%, 81% 9%, 100% 4%, 100% 100%, 0 100%);
  }

  .mensual__media::before {
    background: linear-gradient(180deg, var(--warm-card) 0%, transparent 26%, transparent 70%, oklch(12% 0.02 60 / .35) 100%);
  }

  .mensual__media figcaption { bottom: 14px; }

  .sticky-cta {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    padding: 9px 9px 9px 13px;
  }

  .sticky-cta span { max-width: 34%; font-size: 11.5px; }
  .sticky-cta .btn {
    flex: 1;
    justify-content: center;
    padding-inline: 12px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dexpo { --dexpo-photo-scale: 1; }
  .btn,
  .faq__item summary .plus,
  .sticky-cta,
  .carousel__slide { transition: none !important; }
}

/* =============================================================
   PASADA FINAL DE IMPACTO — capítulos, conversión y segundo crescendo
   ============================================================= */

html { color-scheme: dark; }

body {
  -webkit-tap-highlight-color: color-mix(in oklch, var(--accent) 28%, transparent);
}

a,
button,
summary { touch-action: manipulation; }

h1,
h2,
h3,
.section-title,
.mensual__title { text-wrap: balance; }

p { text-wrap: pretty; }

#main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.site-header {
  background: var(--bg-deep);
  backdrop-filter: none;
}

.site-header__inner { min-height: 64px; }

.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section { scroll-margin-top: 20px; }

@media (min-width: 940px) {
  .proceso .section-head { top: 32px; }
}

.btn,
.donation-once-link,
.hero__alliance-link {
  min-height: 44px;
}

.btn:active,
.donation-once-link:active,
.hero__alliance-link:active { transform: translateY(1px) scale(.99); }

.donation-once-link,
.hero__alliance-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 10px 2px;
  color: var(--bone-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--bone-soft) 48%, transparent);
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.donation-once-link:hover,
.hero__alliance-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.donation-once-link--warm {
  color: var(--warm-card-fg);
  border-bottom-color: color-mix(in oklch, var(--warm-card-fg) 42%, transparent);
}

.hero__alliance-link {
  display: none;
  margin-top: 12px;
  color: var(--muted);
}

/* Cuatro hitos visibles convierten la página extensa en una narrativa orientable. */
.chapter-marker {
  grid-column: 1 / -1;
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0 0 clamp(48px, 7vw, 84px);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 14px;
  color: var(--bone);
}

.chapter-marker::after {
  content: "";
  height: 1px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--accent-dim), transparent 82%);
}

.chapter-marker__number {
  font-family: var(--font-display);
  font-size: clamp(62px, 8vw, 108px);
  line-height: .66;
  letter-spacing: -.045em;
  color: var(--bone);
  opacity: .14;
}

.chapter-marker__label {
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}

.chapter-marker--light { color: var(--chapter-fg); }
.chapter-marker--light::after { background: linear-gradient(90deg, var(--accent-strong), transparent 82%); }
.chapter-marker--light .chapter-marker__number { color: var(--chapter-fg); }
.chapter-marker--light .chapter-marker__label { color: var(--accent-strong); }

/* Ojos: mantienen el seguimiento, pero se apagan antes de atravesar las acciones. */
.hero__eyes {
  opacity: var(--eyes-opacity, 1);
  transition: opacity .12s linear;
}

@media (min-width: 701px) {
  .hero__eyes { --eyes-base-y: -30px; }
}

.eye-glow {
  animation: none;
  opacity: var(--eye-glow-opacity, .9);
  transition: opacity .12s linear;
}

.hero__scroll {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

/* Tres familias de entrada: desplazamiento, escala y tinta. */
.reveal--wipe { transform: translateY(30px); }
.reveal--scale { transform: scale(.985); transform-origin: center; }
.reveal--ink { transform: translateX(-18px); }

.reveal--stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .52s var(--ease), transform .58s var(--ease);
}

.reveal--stagger.is-visible > * { opacity: 1; transform: none; }
.reveal--stagger.is-visible > :nth-child(2) { transition-delay: 70ms; }
.reveal--stagger.is-visible > :nth-child(3) { transition-delay: 140ms; }
.reveal--stagger.is-visible > :nth-child(4) { transition-delay: 210ms; }
.reveal--stagger.is-visible > :nth-child(5) { transition-delay: 280ms; }
.reveal--stagger.is-visible > :nth-child(6) { transition-delay: 350ms; }
.reveal--stagger.is-visible > :nth-child(7) { transition-delay: 420ms; }
.reveal--stagger.is-visible > :nth-child(8) { transition-delay: 490ms; }
.reveal--stagger.is-visible > :nth-child(9) { transition-delay: 560ms; }

/* Las nuevas variables preservan la rotación original de cada pieza. */
.mascotismo__cage {
  opacity: .66;
  transform: translate3d(0, var(--cage-shift-y, 0px), 0) perspective(720px) rotateY(-10deg) rotateZ(-2.4deg);
}

.historias__silhouette {
  transform: translate3d(0, var(--stories-silhouette-y, 0px), 0) rotate(3deg);
}

.personas__silhouette {
  transform: translate3d(0, var(--people-silhouette-y, 0px), 0) rotate(-5deg);
}

#mascotismo.is-motion-active .mascotismo__cage,
#historias.is-motion-active .historias__silhouette,
#personas.is-motion-active .personas__silhouette,
#cierre.is-motion-active .cierre__scene { will-change: transform; }

/* Recortes responsivos y capas editoriales. */
.dexpo__picture {
  position: absolute;
  inset: 0;
}

.dexpo__picture .dexpo__photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.letters-photo picture,
.wildword__picture { display: contents; }

.mensual__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.letters-photo::after {
  background-image: image-set(
    url("assets/mono-recorte-negro-deploy.webp") type("image/webp")
  );
}

.letters-text__behind {
  z-index: 4;
  color: color-mix(in oklch, var(--bone) 18%, transparent);
  -webkit-text-stroke: clamp(1.25px, .13vw, 2px) var(--bone);
  paint-order: stroke fill;
  text-shadow: 0 3px 22px var(--bg-deep);
  mix-blend-mode: screen;
}

/* El expediente claro conserva datos, pero suma una presencia animal de fondo. */
.impacto { overflow: hidden; }
.impacto > .container { overflow: visible; }

.impacto__chapter {
  position: relative;
  right: auto;
  top: auto;
  text-align: left;
}

.impacto__seal {
  position: absolute;
  z-index: 0;
  top: 19%;
  right: -13%;
  width: min(62vw, 820px);
  opacity: .065;
  filter: grayscale(1) contrast(1.35) brightness(.35);
  pointer-events: none;
}

.impacto__seal img { width: 100%; height: auto; }

.impacto .section-head,
.impacto__grid,
.impacto__footnote,
.impacto__bridge,
.impacto .evidence { position: relative; z-index: 1; }

.impacto__card:first-child .stat { max-width: none; }

/* Operación diaria: una presencia atraviesa tareas y costos sin crear otra card. */
.diaria {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 42% at 84% 30%, oklch(27% 0.055 118 / .42), transparent 70%),
    var(--bg-deep);
}

.diaria > .container { position: relative; z-index: 2; }

.diaria__presence {
  position: absolute;
  z-index: 0;
  top: clamp(170px, 12vw, 230px);
  right: clamp(-130px, -7vw, -64px);
  width: min(72vw, 880px);
  height: min(78%, 1320px);
  pointer-events: none;
}

.diaria__presence::before {
  content: "";
  position: absolute;
  inset: 8% -4% 16% 20%;
  background: radial-gradient(ellipse, oklch(49% 0.09 92 / .19), transparent 68%);
  filter: blur(12px);
}

.diaria__presence img {
  position: absolute;
  top: 16%;
  right: 2%;
  width: min(42vw, 480px);
  height: min(74%, 820px);
  object-fit: contain;
  filter: brightness(0) invert(.82) sepia(.5) saturate(.65) hue-rotate(22deg);
  opacity: .11;
}

.diaria__clock {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: .08em;
  font-family: var(--font-display);
  font-size: clamp(94px, 16vw, 230px);
  line-height: .72;
  letter-spacing: -.06em;
  color: var(--bone);
  opacity: .055;
}

.diaria__clock i { font-size: .52em; font-style: normal; }

.diaria__clock-label {
  position: absolute;
  top: clamp(92px, 11vw, 155px);
  right: 1%;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .66;
}

.diaria .section-head,
.diaria__grid,
.diaria__closing,
.financiamiento { position: relative; z-index: 2; }

.diaria__grid { margin-top: clamp(76px, 10vw, 132px); }
.diaria__card:nth-child(3) { grid-column: 2 / 8; }
.diaria__card:nth-child(4) { grid-column: 7 / 12; }
.diaria__card:nth-child(6) { grid-column: 7 / 13; }

.financiamiento__card:nth-child(even) .financiamiento__stat {
  padding-left: clamp(0px, 3vw, 34px);
}

.mensual__metric {
  margin-top: clamp(24px, 3vw, 34px);
  padding-block: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  border-block: 1px solid var(--warm-card-border);
}

.mensual__metric strong {
  font-family: var(--font-mono);
  font-size: clamp(21px, 2.5vw, 31px);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.mensual__metric span {
  max-width: 20ch;
  color: var(--warm-card-muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.mensual__sub { margin-top: 16px; font-size: 14px; }
.mensual__cta { margin-top: 24px; }
.mensual__cta .cta-row { align-items: center; }

/* Empresas: territorio, no una sección corporativa genérica. */
.alianzas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 88svh;
  background:
    linear-gradient(115deg, oklch(10% 0.018 150) 0 48%, transparent 78%),
    radial-gradient(ellipse 70% 86% at 86% 56%, oklch(31% 0.09 48 / .42), transparent 68%),
    var(--bg-deep);
}

.alianzas::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -8%;
  right: -8%;
  bottom: 18%;
  height: 17%;
  background: linear-gradient(96deg, transparent, oklch(52% 0.13 45 / .10), transparent 78%);
  transform: rotate(-3deg);
}

.alianzas > .container { position: relative; z-index: 2; }

.alianzas__terrain {
  position: absolute;
  z-index: 0;
  inset: -12%;
  width: 124%;
  height: 124%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
  opacity: .17;
  pointer-events: none;
}

.alianzas__terrain path:nth-child(2),
.alianzas__terrain path:nth-child(5) { opacity: .58; stroke-width: .7; }

.alianzas__territory {
  position: absolute;
  z-index: 0;
  top: -26px;
  right: 0;
  width: min(40vw, 460px);
  display: grid;
  justify-items: end;
  pointer-events: none;
  opacity: .13;
}

.alianzas__territory strong {
  font-family: var(--font-display);
  font-size: clamp(110px, 17vw, 230px);
  line-height: .72;
  letter-spacing: -.06em;
}

.alianzas__territory span {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.alianzas .section-head { position: relative; z-index: 2; max-width: 720px; }
.alianzas .section-title { max-width: 15ch; }

.ways-list { border-top: 1px solid color-mix(in oklch, var(--accent) 28%, var(--border)); }
.ways-list li { padding-block: 13px; border-bottom: 1px solid var(--border); }
.ways-list li::before { top: 22px; }

.alianzas__social a,
.site-footer li a,
.site-footer li .footer-cite {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* FAQ: título anclado a la izquierda, respuestas a la derecha. */
@media (min-width: 860px) {
  .faq > .container {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(64px, 9vw, 130px);
    align-items: start;
  }

  .faq .section-head {
    position: sticky;
    top: 32px;
  }

  .faq__list { margin-top: 0; max-width: none; }
}

.faq__item summary { min-height: 64px; }

/* El cierre devuelve el animal al monte y recupera la tensión del hero. */
.cierre {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: var(--bg-deep);
}

.cierre::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg-deep) 0 33%, oklch(9.5% 0.014 150 / .82) 54%, transparent 82%),
    linear-gradient(180deg, transparent 50%, var(--bg-deep) 100%);
  pointer-events: none;
}

.cierre__scene {
  position: absolute;
  z-index: 0;
  inset: -5% 0;
  transform: translate3d(0, var(--closing-scene-y, 0px), 0) scale(1.04);
  transform-origin: center;
  pointer-events: none;
}

.cierre__light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 36%, oklch(77% 0.14 78 / .40), oklch(40% 0.11 71 / .16) 24%, transparent 52%);
}

.cierre__ridge {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2%;
  height: 39%;
  background: oklch(14% 0.035 130);
  clip-path: polygon(0 66%, 9% 52%, 18% 67%, 30% 38%, 41% 61%, 53% 25%, 65% 56%, 76% 34%, 87% 60%, 100% 42%, 100% 100%, 0 100%);
}

.cierre__ridge--back {
  bottom: 8%;
  opacity: .72;
  background: oklch(25% 0.07 95);
  transform: scaleX(1.08);
}

.cierre__scene picture { display: contents; }

.cierre__scene img {
  position: absolute;
  right: -2%;
  bottom: 4%;
  width: min(58vw, 800px);
  height: min(78%, 760px);
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(.72) contrast(1.12) brightness(.72);
}

.cierre__inner {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  width: 100%;
  padding-right: min(40vw, 520px);
}

.cierre .section-title {
  max-width: 11ch;
  margin-inline: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .94;
  text-shadow: 0 4px 30px oklch(0% 0 0 / .62);
}

.cierre .cta-row { justify-content: flex-start; align-items: center; }
.cierre .official-note { text-align: left; }

/* CTA inferior: una sola acción, tamaño táctil real y safe-area. */
.sticky-cta {
  left: 8px;
  right: 8px;
  bottom: max(8px, env(safe-area-inset-bottom));
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface-2) 94%, transparent);
  backdrop-filter: blur(12px);
}

.sticky-cta .btn {
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  justify-content: center;
  font-size: 14px;
}

@media (max-width: 899px) {
  body:has(.sticky-cta.is-visible) {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    min-height: 58px;
    padding-block: 7px;
  }

  .section { scroll-margin-top: 16px; }

  .hero {
    min-height: calc(100svh - 58px);
    align-items: stretch;
  }

  .hero__content { padding: 84px 20px 100px; }

  .hero__eyes {
    top: 33%;
    width: min(82vw, 330px);
  }

  .hero__sub { max-width: 32ch; }
  .hero__cta { margin-top: 30px; }
  .hero__cta .cta-row { gap: 10px; }
  .hero__cta .donation-once-link { width: fit-content; align-self: flex-start; }
  .hero__alliance-link { display: inline-flex; }

  .chapter-marker {
    margin-bottom: 48px;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .chapter-marker::after { grid-column: 1 / -1; width: 100%; margin: 2px 0 0; }
  .chapter-marker__number { font-size: 62px; }
  .chapter-marker__label { padding-bottom: 2px; }

  .mascotismo__cage {
    left: 28%;
    width: 82vw;
    opacity: .58;
  }

  .letters-text__behind {
    color: color-mix(in oklch, var(--bone) 26%, transparent);
    -webkit-text-stroke-width: 1.35px;
  }

  .impacto__seal {
    top: 25%;
    right: -58%;
    width: 132vw;
    opacity: .05;
  }

  .impacto .evidence__table-wrap {
    margin-right: 0;
    overflow: visible;
    border-top-width: 0;
  }

  .evidence__table {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .evidence__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .evidence__table tbody {
    display: grid;
    gap: 38px;
  }

  .evidence__table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding-top: 12px;
    border-top: 2px solid var(--chapter-fg);
  }

  .evidence__table tbody td,
  .evidence__table tbody td:last-child {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--chapter-line);
  }

  .evidence__table tbody td:first-child,
  .evidence__table tbody td:last-child { grid-column: 1 / -1; }

  .evidence__table tbody td::before {
    content: attr(data-label);
    margin-bottom: 5px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-strong);
  }

  .documental-carousel { padding-inline: 18px; }

  .diaria { padding-block: 82px 112px; }

  .diaria__presence {
    top: 230px;
    right: -68vw;
    width: 150vw;
    height: 74%;
  }

  .diaria__presence img {
    top: 10%;
    right: 18%;
    width: 76vw;
    height: 66%;
    opacity: .075;
  }

  .diaria__clock {
    right: 50%;
    font-size: 112px;
    opacity: .045;
  }

  .diaria__clock-label { right: 54%; top: 84px; }
  .diaria__grid { margin-top: 72px; }

  .diaria__card,
  .diaria__card:nth-child(n) { grid-column: 1 / -1; }

  .financiamiento__card:nth-child(even) .financiamiento__stat { padding-left: 0; }

  /* La foto aparece desde el inicio, como capa, sin desplazar el CTA hacia abajo. */
  .mensual__card {
    display: block;
    min-height: 0;
    background: var(--warm-card);
  }

  .mensual__media {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    clip-path: none;
  }

  .mensual__media::before {
    z-index: 2;
    background:
      linear-gradient(90deg, var(--warm-card) 0 54%, oklch(91% 0.028 78 / .82) 69%, oklch(91% 0.028 78 / .18) 100%),
      linear-gradient(180deg, oklch(91% 0.028 78 / .18) 0 21%, var(--warm-card) 49%, var(--warm-card) 100%);
  }

  .mensual__media::after {
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0 42%, var(--warm-card) 74%);
    opacity: .9;
  }

  .mensual__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-position: 70% 18%;
    filter: saturate(.82) contrast(1.08) brightness(.84);
  }

  .mensual__media figcaption {
    display: none;
  }

  .mensual__content {
    position: relative;
    z-index: 3;
    padding: 34px 22px 30px;
  }

  .mensual__title { max-width: 11.5ch; }

  .mensual__metric {
    margin-top: 168px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .mensual__metric span { max-width: 26ch; }
  .mensual__cta .cta-row { gap: 10px; }
  .mensual__cta .donation-once-link { width: fit-content; align-self: center; }

  .alianzas {
    min-height: auto;
    padding-block: 92px 108px;
  }

  .alianzas__territory {
    top: 46px;
    right: 0;
    width: 170px;
    opacity: .09;
  }

  .alianzas__territory strong { font-size: 94px; }

  .alianzas__territory span {
    max-width: 16ch;
    margin-top: 7px;
    font-size: 8px;
    text-align: right;
  }

  .alianzas__terrain { inset: -2% -40%; width: 180%; height: 110%; opacity: .13; }
  .alianzas__grid { gap: 42px; }

  .alianzas__social a,
  .site-footer li a,
  .site-footer li .footer-cite { min-height: 44px; }

  .faq > .container { display: block; }
  .faq__list { margin-top: 36px; }

  .cierre {
    min-height: 92svh;
    align-items: end;
    padding-block: 96px 112px;
  }

  .cierre::after {
    background:
      linear-gradient(180deg, var(--bg-deep) 0 13%, transparent 44%, var(--bg-deep) 100%),
      linear-gradient(90deg, var(--bg-deep) 0 20%, transparent 82%);
  }

  .cierre__scene { inset: 0 -22% -3%; }

  .cierre__light {
    background: radial-gradient(circle at 63% 31%, oklch(77% 0.14 78 / .34), transparent 49%);
  }

  .cierre__scene img {
    right: -36%;
    bottom: 7%;
    width: 124vw;
    height: 66%;
    opacity: .68;
  }

  .cierre__inner {
    padding-right: 0;
    align-items: flex-start;
  }

  .cierre .section-title {
    max-width: 10ch;
    font-size: clamp(48px, 14vw, 66px);
  }

  .cierre .cta-row { width: 100%; align-items: stretch; }
  .cierre .donation-once-link { width: fit-content; align-self: center; }

  .sticky-cta {
    left: 8px;
    right: 8px;
    padding: 4px;
  }

  .sticky-cta .btn {
    min-height: 50px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal--stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__eyes,
  .eye-glow { opacity: 1 !important; transition: none !important; }

  .mascotismo__cage,
  .historias__silhouette,
  .personas__silhouette,
  .cierre__scene { will-change: auto !important; }
}

/* Página de error de producción. */
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 24%, oklch(44% 0.12 64 / .24), transparent 34%),
    var(--bg-deep);
}

.error-page__content {
  width: min(100%, 760px);
  display: grid;
  justify-items: start;
  gap: 22px;
}

.error-page__content .wordmark { margin-bottom: clamp(42px, 8vw, 92px); }

.error-page__content h1 {
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(58px, 10vw, 124px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.035em;
}

.error-page__content > p:not(.kicker) {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.error-page__content .btn { margin-top: 12px; }
