/* ============================================================
   KEYWORD — Plantilla base para micrositios
   Sistema visual v2.0 — calidad producción
   ------------------------------------------------------------
   Lenguaje visual heredado del PDF de referencia:
   · Campo índigo profundo como lienzo
   · DM Sans única familia, pesos 400-700
   · Números outline gigantes como firma
   · Cover cards color + foto
   · Tarjetas glass flotantes, radios generosos
   · "Metas" con bandera naranja/verde
   ============================================================ */

:root {
  /* ---- Color ---- */
  --indigo:        #1E2470;
  --indigo-deep:   #171C5C;
  --indigo-soft:   #2A2F92;
  --ink:           #232876;   /* texto sobre bloques de color */
  --white:         #FFFFFF;

  --t-90: rgba(255,255,255,0.92);
  --t-75: rgba(255,255,255,0.78);
  --t-60: rgba(255,255,255,0.62);
  --t-40: rgba(255,255,255,0.40);
  --t-15: rgba(255,255,255,0.15);
  --t-10: rgba(255,255,255,0.10);
  --t-08: rgba(255,255,255,0.075);

  --orange:  #FF863E;   /* Metas + acento primario */
  --green:   #A2C56B;   /* Metas alternas */

  /* 7 acentos, uno por tema */
  --obj-1: #FF863E;
  --obj-2: #01C5B4;
  --obj-3: #F5826F;
  --obj-4: #F5C042;
  --obj-5: #A2C56B;
  --obj-6: #6FB47C;
  --obj-7: #B096F8;
  --obj-10: #C9A227;
  --obj-11: #6B8CAE;

  /* ---- Tipografía ---- */
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Escala fluida */
  --fs-xs:   clamp(0.78rem, 0.75rem + 0.12vw, 0.85rem);
  --fs-sm:   clamp(0.9rem, 0.86rem + 0.18vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.28vw, 1.14rem);
  --fs-md:   clamp(1.12rem, 1.05rem + 0.34vw, 1.3rem);
  --fs-lg:   clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --fs-xl:   clamp(1.7rem, 1.45rem + 1.1vw, 2.3rem);
  --fs-2xl:  clamp(2.15rem, 1.8rem + 1.8vw, 3.15rem);
  --fs-3xl:  clamp(2.7rem, 2.1rem + 2.9vw, 4.4rem);
  --fs-hero: clamp(2.8rem, 2rem + 3.9vw, 5rem);

  /* ---- Espaciado (escala 8) ---- */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4rem;
  --s-section: clamp(4rem, 9vw, 7.5rem);

  /* ---- Layout ---- */
  --wrap:   1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* ---- Radios ---- */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* ---- Sombras / elevación ---- */
  --elev-1: 0 2px 10px rgba(10, 12, 40, 0.25);
  --elev-2: 0 12px 34px rgba(10, 12, 40, 0.35);
  --elev-3: 0 24px 60px rgba(10, 12, 40, 0.45);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med:  320ms;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--white);
  background-color: var(--indigo);
  background-image:
    radial-gradient(90rem 50rem at 85% -10%, rgba(64, 70, 190, 0.35), transparent 60%),
    radial-gradient(70rem 45rem at -10% 110%, rgba(12, 14, 60, 0.55), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar de la marca, no la del sistema */
html { scrollbar-color: var(--t-40) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--t-40);
  border-radius: 999px;
  border: 3px solid var(--indigo);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--t-60); background-clip: padding-box; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 28, 92, 0.72);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--t-10);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__logo { height: 36px; width: auto; }
@media (max-width: 560px) {
  .site-header__inner { height: 68px; }
  .brand__logo { height: 30px; }
}

.nav-crumbs {
  font-size: var(--fs-sm);
  color: var(--t-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-crumbs a {
  color: var(--t-90);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.nav-crumbs a:hover { color: var(--orange); }

/* ============================================================
   HERO — fotografía editorial a sangre + degradado de lectura
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 88vh, 880px);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
/* De abajo hacia arriba: el titular siempre asienta sobre índigo sólido,
   el cielo de la foto respira arriba sin overlay pesado */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,
      var(--indigo) 4%,
      rgba(23, 28, 92, 0.85) 32%,
      rgba(23, 28, 92, 0.28) 62%,
      rgba(23, 28, 92, 0.5) 100%);
}

.hero__inner {
  max-width: 900px;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5.5rem);
}

.hero__title {
  font-size: var(--fs-hero);
  max-width: 17ch;
  margin-bottom: var(--s-4);
}
.hero__subtitle {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--t-90);
  max-width: 56ch;
}

/* ============================================================
   Secciones — ritmo vertical consistente
   ============================================================ */
.section { padding-block: calc(var(--s-section) / 2); }
.section:first-of-type { padding-top: var(--s-section); }
.section:last-of-type  { padding-bottom: var(--s-section); }

.section-mark {
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 640px;
}
.section-mark__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-2);
}
.section-mark__lead {
  font-size: var(--fs-md);
  color: var(--t-75);
  max-width: 56ch;
}

/* ============================================================
   Datos de interés — 4 + banner destacado
   ============================================================ */
.facts-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .facts-grid { grid-template-columns: 1fr; } }

.facts-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .facts-grid--3 { grid-template-columns: 1fr; } }

.fact {
  background: var(--t-08);
  border: 1px solid var(--t-10);
  border-radius: var(--r);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.fact:hover { background: var(--t-10); border-color: var(--t-15); }
.fact__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--t-10);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.fact__icon svg { width: 16px; height: 16px; }
.fact__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange);
}
.fact__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--t-75);
}
.fact__text strong { color: var(--white); font-weight: 600; }

/* Banner destacado — impacto empresarial */
.fact--highlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--s-4);
  background: linear-gradient(120deg, rgba(255, 134, 62, 0.14), rgba(255, 134, 62, 0.05) 55%, transparent);
  border-color: rgba(255, 134, 62, 0.3);
  padding: var(--s-4) var(--s-5);
}
.fact--highlight:hover { background: linear-gradient(120deg, rgba(255,134,62,0.18), rgba(255,134,62,0.07) 55%, transparent); }
.fact--highlight .fact__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 134, 62, 0.6);
  display: grid;
  place-items: center;
  color: var(--orange);
}
.fact--highlight .fact__text { max-width: 72ch; font-size: var(--fs-base); }
@media (max-width: 560px) {
  .fact--highlight { flex-direction: column; }
}

/* ============================================================
   MURO DE OBJETIVOS — cover cards (firma del PDF)
   11 temas: grid auto-fill, sin el hack de centrado de fila 2
   ============================================================ */
.objectives__grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
@media (max-width: 560px) {
  .objectives__grid { grid-template-columns: 1fr; }
}

.obj-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 3 / 4.1;
  box-shadow: var(--elev-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  isolation: isolate;
}
.obj-cover:hover,
.obj-cover:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--elev-3);
}

.obj-cover__top {
  position: relative;
  flex: 0 0 46%;
  padding: var(--s-3) var(--s-3) var(--s-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.obj-cover__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.obj-cover__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-med) var(--ease);
}
/* Velo de legibilidad: independiente del color de marca, siempre oscuro,
   más fuerte donde cae el texto (arriba, y abajo sobre num/pill) — sin
   esto, fotos claras (cielo, hormigón) dejaban el texto blanco ilegible
   sobre el color de marca cuando ese acento también es claro (amarillo,
   verde claro). */
.obj-cover__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(195deg,
    rgba(8, 10, 22, 0.78) 0%,
    rgba(8, 10, 22, 0.2) 32%,
    rgba(8, 10, 22, 0.14) 56%,
    rgba(8, 10, 22, 0.8) 100%);
}
.obj-cover__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.obj-cover__num {
  position: absolute;
  z-index: 3;
  right: 0.4rem;
  bottom: -0.65rem;
  font-size: clamp(3.4rem, 6vw, 4.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  user-select: none;
}
.obj-cover__title {
  position: relative;
  z-index: 3;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.16;
  max-width: 9ch;
}
.obj-cover:has(.obj-cover__photo) .obj-cover__title {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
/* Pill principal: acción explícita "Explorar tema →" */
.obj-cover__cta-pill {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 7px 13px 7px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.obj-cover__cta-pill svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast) var(--ease);
}
.obj-cover:hover .obj-cover__cta-pill,
.obj-cover:focus-visible .obj-cover__cta-pill {
  background: var(--indigo-deep);
  transform: translateY(-1px);
}
.obj-cover:hover .obj-cover__cta-pill svg,
.obj-cover:focus-visible .obj-cover__cta-pill svg {
  transform: translateX(3px);
}

.obj-cover:hover .obj-cover__photo img,
.obj-cover:focus-visible .obj-cover__photo img { transform: scale(1.05); }

.obj-cover--1 .obj-cover__top { background: var(--obj-1); }
.obj-cover--2 .obj-cover__top { background: var(--obj-2); }
.obj-cover--3 .obj-cover__top { background: var(--obj-3); }
.obj-cover--4 .obj-cover__top { background: var(--obj-4); }
.obj-cover--5 .obj-cover__top { background: var(--obj-5); }
.obj-cover--6 .obj-cover__top { background: var(--obj-6); }
.obj-cover--7 .obj-cover__top { background: var(--obj-7); }

/* Foto editorial + velo de color de marca (multiply) por tema */
.obj-cover--1 .obj-cover__photo::after { background: var(--obj-1); }
.obj-cover--2 .obj-cover__photo::after { background: var(--obj-2); }
.obj-cover--3 .obj-cover__photo::after { background: var(--obj-3); }
.obj-cover--4 .obj-cover__photo::after { background: var(--obj-4); }
.obj-cover--5 .obj-cover__photo::after { background: var(--obj-5); }
.obj-cover--6 .obj-cover__photo::after { background: var(--obj-6); }
.obj-cover--7 .obj-cover__photo::after { background: var(--obj-7); }

/* ============================================================
   PÁGINA DE OBJETIVO
   ============================================================ */

/* Mini navegación superior de objetivos */
.obj-nav-top { padding-block: var(--s-3) 0; }
.obj-nav-top__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--s-1);
}
/* Con 11 temas, forzar un grid en pantallas angostas apila demasiadas
   filas de navegación antes del contenido. En vez de eso, tira de scroll
   horizontal en una sola fila — el patrón habitual para selectores con
   muchos ítems en móvil. */
@media (max-width: 700px) {
  .obj-nav-top__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: var(--s-1);
    padding-bottom: var(--s-2);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .obj-nav-top__item {
    flex: 0 0 auto;
    width: 124px;
    scroll-snap-align: start;
  }
}

.obj-nav-top__item {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  opacity: 0.88;
}
.obj-nav-top__item:hover { transform: translateY(-2px); filter: brightness(1.07); opacity: 1; }
.obj-nav-top__item small {
  font-weight: 700;
  font-size: var(--fs-xs);
  opacity: 0.7;
}
.obj-nav-top__item span {
  font-weight: 600;
  font-size: 0.74rem;
}
.obj-nav-top__item[aria-current="page"] {
  opacity: 1;
  box-shadow: inset 0 0 0 2px rgba(35, 40, 118, 0.55);
}

.obj-nav-top__item--1 { background: var(--obj-1); }
.obj-nav-top__item--2 { background: var(--obj-2); }
.obj-nav-top__item--3 { background: var(--obj-3); }
.obj-nav-top__item--4 { background: var(--obj-4); }
.obj-nav-top__item--5 { background: var(--obj-5); }
.obj-nav-top__item--6 { background: var(--obj-6); }
.obj-nav-top__item--7 { background: var(--obj-7); }

/* Hero del objetivo — numeral compacto + nombre, sin kicker ni ghost-number */
.obj-hero { padding-block: clamp(2.5rem, 7vw, 4.5rem) 0; }
.obj-hero__row {
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
  flex-wrap: wrap;
}
.obj-hero__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--t-10);
  border: 1px solid var(--t-15);
  font-size: var(--fs-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.obj-hero__num small { font-size: 0.7em; font-weight: 600; color: var(--t-60); }
.obj-hero__name {
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.obj-hero--1 .obj-hero__name { color: var(--obj-1); }
.obj-hero--2 .obj-hero__name { color: var(--obj-2); }
.obj-hero--3 .obj-hero__name { color: var(--obj-3); }
.obj-hero--4 .obj-hero__name { color: var(--obj-4); }
.obj-hero--5 .obj-hero__name { color: var(--obj-5); }
.obj-hero--6 .obj-hero__name { color: var(--obj-6); }
.obj-hero--7 .obj-hero__name { color: var(--obj-7); }
.obj-hero--1 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-1) 55%, transparent); }
.obj-hero--2 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-2) 55%, transparent); }
.obj-hero--3 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-3) 55%, transparent); }
.obj-hero--4 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-4) 55%, transparent); }
.obj-hero--5 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-5) 55%, transparent); }
.obj-hero--6 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-6) 55%, transparent); }
.obj-hero--7 .obj-hero__num { border-color: color-mix(in srgb, var(--obj-7) 55%, transparent); }

/* Banner fotográfico editorial dentro de un tema (solo donde hay sujeto
   real y fotografiable — no decoración de relleno). Tratamiento más
   discreto que las tarjetas del muro del home: marco + velo de color de
   marca a baja opacidad, no el multiply a pleno de .obj-cover__photo, para
   que no compita visualmente con el resto del documento (que no usa
   fotografía a este tamaño en ningún otro tema). */
.obj-photo {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.obj-photo__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--t-15);
  isolation: isolate;
}
.obj-photo__frame img {
  width: 100%;
  height: clamp(170px, 19vw, 260px);
  object-fit: cover;
  display: block;
}
/* Doble velo: un tono de marca en multiply (identidad) + un azul-tinta
   translúcido (integra la foto con la paleta oscura del resto del
   documento, en vez de dejarla como una foto de stock suelta y saturada). */
.obj-photo__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(23, 28, 92, 0.4);
  pointer-events: none;
}
.obj-photo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}
.obj-hero--1 .obj-photo__frame::after { background: var(--obj-1); }
.obj-hero--2 .obj-photo__frame::after { background: var(--obj-2); }
.obj-hero--3 .obj-photo__frame::after { background: var(--obj-3); }
.obj-hero--4 .obj-photo__frame::after { background: var(--obj-4); }
.obj-hero--5 .obj-photo__frame::after { background: var(--obj-5); }
.obj-hero--6 .obj-photo__frame::after { background: var(--obj-6); }
.obj-hero--7 .obj-photo__frame::after { background: var(--obj-7); }
.obj-photo figcaption {
  padding-top: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--t-60);
  line-height: 1.5;
  max-width: 72ch;
}

/* ============================================================
   ROADMAP DE ESTRATEGIAS
   Tratamiento heredado del PDF: fondos rotados, íconos grandes
   con texto fluyendo alrededor, alturas variables, bandera de
   plazo con diana solapada.
   ============================================================ */
.roadmap { margin-top: clamp(2.5rem, 6vw, 4rem); }
/* Acento por objetivo */
.obj-page--1 { --accent: var(--obj-1); }
.obj-page--2 { --accent: var(--obj-2); }
.obj-page--3 { --accent: var(--obj-3); }
.obj-page--4 { --accent: var(--obj-4); }
.obj-page--5 { --accent: var(--obj-5); }
.obj-page--6 { --accent: var(--obj-6); }
.obj-page--7 { --accent: var(--obj-7); }

/* ---- Pager anterior / siguiente ---- */
.obj-pager {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: var(--s-4);
  border-top: 1px solid var(--t-15);
}
.obj-pager__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--t-75);
  font-size: var(--fs-sm);
  transition: color var(--t-fast) var(--ease);
  max-width: 45%;
}
.obj-pager__link:hover { color: var(--white); }
.obj-pager__link small {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-40);
}
.obj-pager__link strong { font-weight: 600; }
.obj-pager__link--next { text-align: right; margin-left: auto; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: var(--s-section);
  border-top: 3px solid var(--indigo-soft);
  background: var(--indigo-deep);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.site-footer__logo {
  height: clamp(44px, 4.5vw, 60px);
  width: auto;
}
.site-footer__copy {
  font-size: var(--fs-base);
  color: var(--t-75);
  text-align: center;
}
.site-footer__contact {
  font-size: var(--fs-base);
  color: var(--t-75);
  white-space: nowrap;
}
.site-footer__contact a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.site-footer__contact a:hover { border-bottom-color: var(--orange); }

@media (max-width: 860px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: var(--s-3);
    text-align: left;
  }
  .site-footer__copy { text-align: left; }
}

/* ============================================================
   Accesibilidad / motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   v2 — Correcciones y mejoras UX
   ============================================================ */
html { scroll-behavior: smooth; }
:root { --nav-h: 52px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* --- Nav sticky interno del home ------------------------------ */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 28, 92, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--t-15);
}
.home-nav__inner {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  padding-block: 0.85rem;
  scrollbar-width: none;
}
.home-nav__inner::-webkit-scrollbar { display: none; }
.home-nav a {
  flex-shrink: 0;
  color: var(--t-75);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.home-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* --- Fix: framing del eje (borde suave + card) ---------------- */

/* --- Stats: fila destacada + fila compacta -------------------- */
@media (max-width: 900px) { .stats-hero { grid-template-columns: 1fr; } }

.stat-hero {
  position: relative;
  padding: var(--s-4);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,134,62,0.12), rgba(255,134,62,0.02) 60%);
  border: 1px solid rgba(255,134,62,0.25);
  overflow: hidden;
}
.stat-hero__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.stat-hero__figure {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--s-3);
}
.stat-hero__figure .stat-hero__unit {
  font-size: 0.42em;
  color: var(--orange);
  font-weight: 500;
  margin-left: 0.15em;
  letter-spacing: 0;
}
.stat-hero__note {
  font-size: var(--fs-sm);
  color: var(--t-75);
  line-height: 1.55;
}
.stat-hero__note strong { color: var(--white); font-weight: 700; }

/* --- Lista horizontal para stats compactas -------------------- */
.stats-list {
  display: grid;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--t-15);
}
.stat-row {
  display: grid;
  grid-template-columns: 190px 180px 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--t-15);
  transition: background var(--t-fast) var(--ease);
}
.stat-row:last-child { border-bottom: 0; }
.stat-row:hover { background: rgba(255,255,255,0.03); }
.stat-row__key {
  font-size: var(--fs-sm);
  color: var(--orange);
  font-weight: 700;
}
.stat-row__val {
  font-size: var(--fs-lg, var(--fs-md));
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat-row__ctx {
  font-size: var(--fs-sm);
  color: var(--t-75);
  line-height: 1.5;
}
.stat-row__ctx strong { color: var(--white); font-weight: 600; }
@media (max-width: 900px) {
  .stat-row { grid-template-columns: 1fr; gap: 0.35rem; padding: var(--s-3); }
}

/* --- Blurb dentro de las tarjetas de pilar ------------------- */
.obj-cover:hover .obj-cover__blurb,
.obj-cover:focus-visible .obj-cover__blurb {
  opacity: 1;
  transform: translateY(0);
}
/* En mobile, mostrar el blurb siempre (no hay hover) */
@media (hover: none) {
}

/* =============================================================
   PREVISIONES ECONOMÍA 2026-2030 — Adiciones específicas del producto
   Primer producto de la serie con gráficos reales (SVG generado en
   build-time) y con JavaScript (scroll-reveal, contadores, trazo de
   líneas) — evolución deliberada sobre ace2040 / ley-transporte-impacto,
   que no tenían ninguno de los dos.
   ============================================================= */

/* --- Fila de estadísticas hero (home) --------------------------- */
.stats-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (max-width: 860px) { .stats-hero-row { grid-template-columns: 1fr; } }

/* --- Contador animado dentro de stat-hero__figure --------------- */
.counter { font-variant-numeric: tabular-nums; }

/* --- Muro de temas: variante "data" sin fotografía -------------- */
.obj-cover--data .obj-cover__top { flex: 0 0 50%; }
.obj-cover__data {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
  padding: var(--s-3) var(--s-3);
  background: var(--indigo-deep);
  background-image: radial-gradient(60% 90% at 100% 100%, rgba(255,255,255,0.06), transparent 70%);
}
.obj-cover__data-figure {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.05;
}
.obj-cover__data-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-60);
}
.obj-cover:hover .obj-cover__data-label { color: var(--t-75); }

/* --- Lead de tema: card de síntesis + gráfico principal --------- */
.obj-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}
.obj-lead--solo { grid-template-columns: 1fr; }
@media (max-width: 860px) { .obj-lead { grid-template-columns: 1fr; } }

.obj-lead__card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
}
.obj-lead__text { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); }
.obj-lead__text strong { font-weight: 700; }

/* --- Tarjetas de sección dentro del roadmap de un tema ---------- */
.fact-section { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.fact-section__head { max-width: 680px; margin-bottom: var(--s-4); }
.fact-section__title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.fact-section__lead { font-size: var(--fs-md); color: var(--t-75); line-height: 1.55; }

/* =============================================================
   Gráficos — SVG generado en build-time (tools/charts.py)
   ============================================================= */
.chart-card {
  margin: 0;
  padding: var(--s-4) var(--s-4) var(--s-3);
  background: var(--t-08);
  border: 1px solid var(--t-15);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.chart-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
}
.chart-card__title { font-size: var(--fs-sm); font-weight: 700; color: var(--white); line-height: 1.3; }
.chart-card__unit {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.chart-card__note { font-size: var(--fs-xs); color: var(--t-60); line-height: 1.5; }
.chart-card__source { font-size: var(--fs-xs); color: var(--t-40); margin-top: 0.2rem; }

/* Un gráfico embebido a nivel de sección (sec.chart) ocupa el ancho
   completo por defecto — correcto para rankings largos (industrias), pero
   desproporcionado para un gráfico simple de pocas categorías (inflación).
   Estos modificadores lo acotan sin tocar charts.py. */
.fact-section__chart--compact { max-width: 560px; }
.fact-section__chart--cap { max-width: 880px; }

.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); }
.chart-axis { font-size: 14px; fill: var(--t-75); font-weight: 500; }
.chart-axis--row { font-size: 14.5px; fill: var(--t-90); font-weight: 600; }
.chart-grid0 { stroke: var(--t-15); stroke-width: 1; }
.chart-val { font-size: 15px; fill: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-val__sub { fill: var(--t-60); font-weight: 500; font-size: 12px; }
.chart-label { font-size: 15px; font-weight: 700; }

.chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1400ms var(--ease);
}
.chart-dot {
  transition: r var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
  cursor: pointer;
}
.chart-dot:hover, .chart-dot:focus-visible, .chart-dot.chart-mark--active {
  r: 6.5; filter: brightness(1.3); outline: none;
}

/* Interactividad: al mover el mouse sobre cualquier punto del área de
   trazado (chart-hitzone), js/main.js ubica la categoría más cercana y
   marca TODAS las marcas de esa categoría con .chart-mark--active — así
   se ve, en una sola pasada, el valor de todas las series en ese punto
   (p.ej. crédito y captaciones del mismo año), no solo la que está bajo
   el cursor. El <title> queda como respaldo nativo/accesible. */
.chart-bar {
  rx: 3;
  transform-box: fill-box;
  transition: transform 900ms var(--ease), filter var(--t-fast) var(--ease);
  cursor: pointer;
}
.chart-bar:hover, .chart-bar:focus-visible, .chart-bar.chart-mark--active {
  filter: brightness(1.22) drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  outline: none;
}
.chart-hitzone { pointer-events: none; cursor: crosshair; }
.chart-crosshair { stroke: var(--t-40); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.chart-row-highlight { fill: var(--t-08); pointer-events: none; }
.chart--bars .chart-bar.chart-draw-v,
.chart--diverging .chart-bar,
.chart--hbars .chart-bar {
  transform: scaleY(0);
  transform-origin: bottom;
}
.chart--hbars .chart-bar,
.chart--diverging .chart-bar {
  transform: scaleX(0);
  transform-origin: left;
}
.chart--diverging .chart-bar[data-dir="l"] { transform-origin: right; }
.chart-hbar--on { filter: drop-shadow(0 0 0 transparent); }

.in-view .chart-line.chart-draw { stroke-dashoffset: 0; }
.in-view .chart-bar { transform: none; }

.chart-legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: 0.2rem; }
.chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--t-75);
  font-weight: 600;
}
.chart-legend__item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Tooltip flotante — una sola instancia reutilizada por todos los charts
   (js/main.js la crea una vez y la reposiciona). Muestra TODAS las series
   de la categoría bajo el cursor, con nombre, color y valor. */
.chart-tooltip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  background: var(--indigo-deep);
  border: 1px solid var(--t-15);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--elev-3);
  min-width: 150px;
  max-width: 260px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}
.chart-tooltip.is-visible { opacity: 1; transform: none; }
.chart-tooltip__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--t-15);
}
.chart-tooltip__row { display: flex; align-items: center; gap: 0.5rem; padding: 0.18rem 0; }
.chart-tooltip__swatch { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.chart-tooltip__name { color: var(--t-75); font-size: var(--fs-xs); flex: 1; }
.chart-tooltip__val { color: var(--white); font-weight: 700; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }

/* =============================================================
   Mapa de riesgos — factores al alza / a la baja
   ============================================================= */

/* Barra de proporción — lectura instantánea antes de leer una sola
   tarjeta: cuántos factores empujan a favor vs. en contra. */
.risk-ratio {
  display: flex;
  min-height: 76px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--s-4);
  box-shadow: var(--elev-1);
}
.risk-ratio__seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: var(--s-3);
  color: var(--ink);
}
.risk-ratio__seg--alza { background: var(--green); }
.risk-ratio__seg--baja { background: var(--orange); }
.risk-ratio__n { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1; }
.risk-ratio__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 860px) { .risk-grid { grid-template-columns: 1fr; } }

.risk-col__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--s-3);
}
.risk-col__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.risk-col--alza .risk-col__dot { background: var(--green); }
.risk-col--baja .risk-col__dot { background: var(--orange); }
.risk-col__title { font-size: var(--fs-md); font-weight: 700; color: var(--white); }

.risk-card {
  padding: var(--s-4);
  background: var(--t-08);
  border: 1px solid var(--t-15);
  border-radius: var(--r);
  margin-bottom: var(--s-3);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.risk-card:hover { transform: translateY(-2px); }
.risk-col--alza .risk-card:hover { background: var(--t-10); border-color: rgba(162, 197, 107, 0.4); }
.risk-col--baja .risk-card:hover { background: var(--t-10); border-color: rgba(255, 134, 62, 0.4); }
.risk-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: var(--s-2);
}
.risk-card__icon svg { width: 18px; height: 18px; }
.risk-col--alza .risk-card__icon { background: rgba(162, 197, 107, 0.16); color: var(--green); }
.risk-col--baja .risk-card__icon { background: rgba(255, 134, 62, 0.16); color: var(--orange); }
.risk-card__title { font-size: var(--fs-base); font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.risk-card__text { font-size: var(--fs-sm); color: var(--t-75); line-height: 1.55; }

/* Panel del home — mismo tratamiento visual que el cierre de El Niño */
.risk-panel {
  position: relative;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(162, 197, 107, 0.14), rgba(255, 134, 62, 0.05) 65%);
  border: 1px solid var(--t-15);
  overflow: hidden;
}
.risk-panel__title { font-size: var(--fs-2xl); max-width: 32ch; margin-bottom: var(--s-3); }
.risk-panel__lead { font-size: var(--fs-md); color: var(--t-90); line-height: 1.6; max-width: 62ch; margin-bottom: var(--s-5); }

/* Bloque de cierre del home ("El dato más noticioso") */
.closing-panel {
  position: relative;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(226, 97, 140, 0.16), rgba(226, 97, 140, 0.03) 55%);
  border: 1px solid rgba(226, 97, 140, 0.32);
  overflow: hidden;
}
.closing-panel__title { font-size: var(--fs-2xl); max-width: 24ch; margin-bottom: var(--s-3); }
.closing-panel__text { font-size: var(--fs-md); color: var(--t-90); line-height: 1.6; max-width: 62ch; margin-bottom: var(--s-4); }
.closing-panel__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.closing-panel__cta:hover { transform: translateY(-2px); filter: brightness(0.96); }
.closing-panel__cta svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.closing-panel__cta:hover svg { transform: translateX(3px); }

/* Cierre del home: declaraciones oficiales + retrato — el único bloque de
   foto a gran escala fuera del hero. Tratamiento deliberadamente
   contenido y formal, más cerca de una atribución de prensa (retrato
   pequeño junto al nombre y cargo) que de un banner fotográfico — un
   retrato grande dominando el bloque se leía como propaganda, no como
   reporte. */
.quote-panel {
  max-width: 74ch;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--t-15);
  background: var(--t-08);
}
.quote-panel__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.quote-panel__portrait {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  filter: grayscale(55%) contrast(1.03);
  border: 1px solid var(--t-15);
}
.quote-panel__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.15rem;
}
.quote-panel__name { font-size: var(--fs-base); font-weight: 700; color: var(--white); line-height: 1.2; }
.quote-panel__role { font-size: var(--fs-xs); color: var(--t-60); line-height: 1.3; }
.quote-panel__intro { font-size: var(--fs-sm); color: var(--t-75); line-height: 1.6; margin-bottom: var(--s-3); }
.quote-panel__quote {
  margin: 0 0 var(--s-3);
  padding-left: 1rem;
  border-left: 2px solid var(--t-25);
  font-size: var(--fs-md);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
}
.quote-panel__text { font-size: var(--fs-sm); color: var(--t-75); line-height: 1.6; }
.quote-panel__credit {
  margin-top: var(--s-3);
  padding-top: var(--s-2);
  border-top: 1px solid var(--t-10);
  font-size: var(--fs-xs);
  color: var(--t-40);
}

/* Nota final "sobre este reporte" */
.about-note {
  max-width: 74ch;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding-top: var(--s-5);
  border-top: 1px solid var(--t-15);
  font-size: var(--fs-sm);
  color: var(--t-60);
  line-height: 1.65;
  text-align: center;
}

/* =============================================================
   Scroll-reveal + reduced motion
   Primer JS del producto: js/main.js sólo agrega/quita .in-view y
   escribe el valor final de los contadores — cero layout en JS.
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* Sin JS (o antes de que corra): todo visible igual, sin animar */
.no-js .reveal,
.reveal.in-view { opacity: 1; transform: none; }

/* Un solo momento coreografiado por bloque: el contenedor lleva .reveal
   y sus ítems (fact, stat-row, stat-hero, obj-cover, risk-card)
   se escalonan por nth-child cuando el padre entra en viewport — no cada
   uno repite su propia entrada idéntica. */
.fact, .stat-row, .stat-hero, .obj-cover, .risk-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
.reveal.in-view .fact,
.reveal.in-view .stat-row,
.reveal.in-view .stat-hero,
.reveal.in-view .obj-cover,
.reveal.in-view .risk-card {
  opacity: 1;
  transform: none;
}
.facts-grid .fact:nth-child(1), .stats-hero-row .stat-hero:nth-child(1),
.stats-list .stat-row:nth-child(1), .objectives__grid .obj-cover:nth-child(1),
.risk-col .risk-card:nth-child(1) { transition-delay: 40ms; }
.facts-grid .fact:nth-child(2), .stats-hero-row .stat-hero:nth-child(2),
.stats-list .stat-row:nth-child(2), .objectives__grid .obj-cover:nth-child(2),
.risk-col .risk-card:nth-child(2) { transition-delay: 100ms; }
.facts-grid .fact:nth-child(3), .stats-hero-row .stat-hero:nth-child(3),
.stats-list .stat-row:nth-child(3), .objectives__grid .obj-cover:nth-child(3),
.risk-col .risk-card:nth-child(3) { transition-delay: 160ms; }
.facts-grid .fact:nth-child(4), .stats-list .stat-row:nth-child(4),
.objectives__grid .obj-cover:nth-child(4),
.risk-col .risk-card:nth-child(4) { transition-delay: 220ms; }
.facts-grid .fact:nth-child(5), .stats-list .stat-row:nth-child(5),
.objectives__grid .obj-cover:nth-child(5),
.risk-col .risk-card:nth-child(5) { transition-delay: 280ms; }
.facts-grid .fact:nth-child(6), .stats-list .stat-row:nth-child(6),
.objectives__grid .obj-cover:nth-child(6),
.risk-col .risk-card:nth-child(6) { transition-delay: 340ms; }
.objectives__grid .obj-cover:nth-child(7) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fact, .stat-row, .stat-hero, .obj-cover, .risk-card {
    opacity: 1; transform: none; transition: none;
  }
  .chart-line.chart-draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .chart-bar { transform: none !important; transition: none !important; }
}

