/* Datos y Voces · Encuesta Multipropósito 2025 — estilos
   Línea gráfica institucional (Datos y Voces / Región Metropolitana): azul institucional, dorado, cian y verde; Nunito Sans.
   Estructura de interacción tomada de una landing minimalista: hero a pantalla completa, secciones con esquinas
   superiores redondeadas que se superponen, columna fija + tarjetas que entran desde la derecha, píldora de navegación. */

@font-face { font-family: 'Nunito Sans'; font-weight: 300; font-style: normal; font-display: swap; src: url('../assets/fonts/nunito-sans-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/nunito-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/nunito-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('../assets/fonts/nunito-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy: #173d62;
  --navy-2: #0d356d;
  --navy-d: #0a2b5c;
  --blue: #3366cc;
  --gold: #f6c62b;
  --gold-d: #a87800;
  --lime: #8cc63f;
  --cyan: #3cc3dc;
  --cyan-d: #0b7a93;
  --orange: #f28c28;
  --paper: #eef3f9;
  --paper-2: #e2eaf4;
  --pill-soft: #cfdcec;
  --pill-soft-h: #bccee4;
  --ink: #173d62;
  --body: #343a40;
  --mut: rgba(23, 61, 98, .62);
  --ln: rgba(23, 61, 98, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --serif: var(--sans);
  --gut: clamp(18px, 4vw, 56px);
  --max: 1200px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--navy);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
html { overflow-x: clip; }
body { margin: 0; overflow-x: clip; line-height: 1.55; -webkit-font-smoothing: antialiased; background: var(--paper); color: var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { font-weight: 700; }
em { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.round-top { border-radius: 25px 25px 0 0; position: relative; z-index: 10; }

.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-d); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold); }
.sec-title { margin: 0 0 18px; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sec-title em { font-size: 1em; color: var(--blue); }
.sec-light { color: #fff; }
.sec-light em { color: var(--gold); }
.sec-lead { max-width: 62ch; margin: 0 0 40px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(23, 61, 98, .78); }
.sub-title { margin: 64px 0 24px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }

/* ============ Navegación (píldora flotante) ============ */
.nav { position: fixed; z-index: 100; top: 22px; left: 50%; transform: translateX(-50%); }
.nav-pill { display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 22px; background: #fff; border-radius: 999px; box-shadow: 0 8px 28px rgba(10, 43, 92, .22); }
.nav-brand { text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: #111; }
.nav-brand span { color: var(--gold-d); }
.burger { position: relative; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s cubic-bezier(.77, 0, .175, 1), top .3s cubic-bezier(.77, 0, .175, 1); }
.burger .b1 { top: 15px; } .burger .b2 { top: 21px; }
.nav.open .burger .b1 { top: 18px; transform: rotate(45deg); }
.nav.open .burger .b2 { top: 18px; transform: rotate(-45deg); }
.nav-menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: flex; flex-direction: column; padding: 8px; background: #fff; border-radius: 22px; box-shadow: 0 12px 32px rgba(10, 43, 92, .22); opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top center; pointer-events: none; transition: opacity .2s ease-out, transform .2s ease-out; min-width: 210px; left: 50%; right: auto; translate: -50% 0; }
.nav.open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
.nav-menu a { padding: 11px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-menu a:hover, .nav-menu a.active { background: var(--paper); }

/* ============ Hero ============ */
.hero { position: relative; height: 100svh; min-height: 640px; margin-bottom: -25px; overflow: hidden; color: #fff; background: linear-gradient(160deg, #173d62 0%, #0a2b5c 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-bg { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-map { height: min(70svh, 760px); aspect-ratio: 640 / 760; margin-top: -4svh; animation: float 9s ease-in-out infinite; }
.hero-map svg { width: 100%; height: 100%; overflow: visible; }
.hero-map path { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .28); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; animation-delay: calc(var(--i) * 16ms); }
.hero-map path.is21 { fill: rgba(246, 198, 43, .22); stroke: rgba(246, 198, 43, .85); stroke-width: 1; animation: draw 2.6s var(--ease) forwards, fillin 1.6s ease 1.8s forwards; }
.hero-map path.isbog { fill: rgba(246, 198, 43, .55); stroke: var(--gold); stroke-width: 1.6; }
.hero-map circle { fill: var(--gold); opacity: 0; animation: pulse 3.2s ease-in-out infinite; animation-delay: calc(2.4s + var(--i) * 120ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { from { fill-opacity: .3; } to { fill-opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(6, 22, 46, .35) 0%, transparent 28%, transparent 38%, rgba(6, 22, 46, .75) 78%, rgba(6, 22, 46, .92) 100%); }
.hero-logo { position: absolute; z-index: 5; left: var(--gut); top: 22px; width: 112px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.hero-logo-r { left: auto; right: var(--gut); width: auto; height: calc(112px * 136 / 356); }
.hero-logo-r img { height: 100%; width: auto; max-width: none; }
.hero-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gut) clamp(52px, 8vh, 84px); gap: 18px; }
.hero-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero-title { margin: 0; font-weight: 400; color: #fff; font-size: clamp(30px, 5.4vw, 74px); line-height: 1.08; letter-spacing: -.03em; max-width: 34ch; margin-inline: auto; text-wrap: balance; }
.hero-title .line { display: block; opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) { animation-delay: .15s; }
.hero-title em { color: #fff; font-size: 1em; }
.hero-sub { margin: 0; max-width: 440px; font-size: clamp(14px, 1.4vw, 16px); font-weight: 600; color: rgba(255, 255, 255, .82); opacity: 0; animation: rise 1s var(--ease) .35s forwards; }
.cta-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 4px 4px 4px 24px; background: rgba(0, 0, 0, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 14px; opacity: 0; animation: rise 1s var(--ease) .5s forwards; }
.cta-text { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.cta-text .m { display: none; }
.cta-btn { display: inline-block; text-decoration: none; background: #fff; color: #000; padding: 11px 20px; border-radius: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .25s, transform .25s; }
.cta-btn:hover { background: rgba(255, 255, 255, .88); transform: translateY(-1px); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============ Resumen (intro) ============ */
.about { background: var(--paper); padding: clamp(80px, 11vw, 140px) var(--gut) clamp(60px, 8vw, 100px); color: var(--ink); }
.about-top { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.about-lead { margin: 0; max-width: 34rem; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; }
.about-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 14px; padding: 6px 26px 6px 6px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .25s, transform .25s; }
.pill:hover { transform: translateY(-2px); }
.pill-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); }
.pill-dark { background: var(--navy); color: #fff; } .pill-dark:hover { background: var(--navy-d); }
.pill-soft { background: var(--pill-soft); color: var(--navy); } .pill-soft:hover { background: var(--pill-soft-h); }
.divider { display: flex; align-items: center; gap: 2px; margin: clamp(48px, 7vw, 88px) auto; max-width: var(--max); }
.divider i { width: 8px; height: 8px; border-radius: 50%; background: var(--pill-soft); flex: none; }
.divider b { flex: 1; height: 2px; background: var(--pill-soft); }
.about-bottom { max-width: 1152px; margin: 0 auto; display: flex; gap: clamp(28px, 6vw, 80px); align-items: flex-start; }
.about-mark { display: flex; gap: 14px; align-items: flex-start; flex: none; color: var(--navy); }
.about-mark span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.about-big { margin: 0; font-size: clamp(22px, 3.1vw, 40px); line-height: 1.3; font-weight: 400; color: var(--navy); text-wrap: pretty; }
.about-big strong { font-weight: 800; }
.scale { list-style: none; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0; max-width: 1152px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ln); }
.scale li { padding: 24px 12px 4px; text-align: center; }
.scale b { display: block; font-size: clamp(28px, 4.2vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.scale li > span { display: block; margin-top: 8px; font-size: 13px; color: var(--mut); font-weight: 600; }

/* ============ Capítulos (columna fija + tarjetas) ============ */
.chapters { position: relative; clip-path: inset(0); background: var(--navy-d); padding: clamp(80px, 12vw, 190px) clamp(20px, 4vw, 64px); color: #fff; z-index: 11; margin-top: -25px; border-radius: 25px 25px 0 0; }
.chapters-bg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(165deg, #173d62 0%, #0a2b5c 70%); }
.chapters-map { position: absolute; right: -8vw; top: 50%; height: 120vh; aspect-ratio: 640 / 760; transform: translateY(-50%); opacity: .5; }
.chapters-map svg { width: 100%; height: 100%; }
.chapters-map path { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .13); stroke-width: .6; vector-effect: non-scaling-stroke; }
.chapters-map path.is21 { fill: rgba(246, 198, 43, .1); stroke: rgba(246, 198, 43, .35); }
.chapters-grid { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; display: grid; gap: 48px; }
.chapters-left { display: flex; flex-direction: column; gap: 28px; }
.chapters-title { margin: 0; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; font-weight: 400; color: #fff; text-wrap: balance; }
.chapters-nav, .chapters-cta { display: none; }
.chapters-right { display: flex; flex-direction: column; gap: 32px; }
.ccard { background: rgba(0, 0, 0, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: clamp(22px, 3.4vw, 44px); opacity: 0; transform: translateX(64px); transition: opacity .7s ease-out, transform .7s ease-out; }
.ccard.in { opacity: 1; transform: none; }
.ccard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; color: rgba(255, 255, 255, .8); }
.ccard-top .no { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ccard h3 { margin: 4px 0 2px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; color: #fff; }
.ccard .lead { margin: 0 0 24px; font-family: var(--sans); font-style: normal; font-weight: 800; font-size: clamp(18px, 2vw, 24px); color: rgba(255, 255, 255, .72); }
.figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; }
.fig { background: rgba(10, 43, 92, .55); padding: clamp(16px, 2vw, 24px); }
.fig b { display: block; font-size: clamp(28px, 3.8vw, 46px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.fig b.xl { font-size: clamp(22px, 3vw, 38px); }
.fig b small { font-size: .5em; font-weight: 700; color: var(--gold); letter-spacing: 0; }
.fig p { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, .88); }
.fig > span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .55); line-height: 1.35; }
.ccard .txt { margin: 24px 0 0; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.65; color: rgba(255, 255, 255, .76); font-weight: 600; }
.ccard .reg { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); font-size: clamp(13.5px, 1.3vw, 15px); line-height: 1.6; color: rgba(255, 255, 255, .7); }
.ccard .foot-row { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ccard .src { font-size: 11.5px; color: rgba(255, 255, 255, .45); letter-spacing: .04em; }
.ccard .more { font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.ccard .more:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .chapters-grid { grid-template-columns: 400px 1fr; gap: clamp(64px, 9vw, 160px); }
  .chapters-grid { grid-template-columns: minmax(360px, 460px) 1fr; }
  .chapters-left { position: sticky; top: 0; height: 100vh; justify-content: space-between; padding: 112px 0 64px; }
  .chapters-nav { display: flex; flex-direction: column; gap: 6px; }
  .chapters-nav button { text-align: left; border: 0; padding: 12px 18px; border-radius: 12px; background: rgba(0, 0, 0, .2); color: rgba(255, 255, 255, .42); font-size: 15px; font-weight: 600; transition: background .3s, color .3s; }
  .chapters-nav button.on { background: rgba(0, 0, 0, .34); color: #fff; }
  .chapters-nav button:hover { color: #fff; }
  .chapters-nav button i { font-style: normal; color: var(--gold); margin-right: 12px; font-weight: 700; }
  .chapters-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .chapters-cta p { margin: 0; max-width: 300px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
  .chapters-cta .cta-btn { background: #fff; }
  .chapters-right { gap: 40vh; padding: 12vh 0 30vh; }
}

/* ============ Explorar ============ */
.explore { background: var(--paper); margin-top: -25px; padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); }
.mapstory { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: clamp(80px, 10vw, 140px); }
.mapcard { position: sticky; top: 72px; z-index: 5; background: #fff; border-radius: 24px; box-shadow: 0 10px 40px rgba(10, 43, 92, .1); padding: 16px 16px 18px; border: 1px solid var(--ln); }
.map-head { margin-bottom: 8px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chips button, .seg button, .tabs button { flex: none; border: 1px solid var(--ln); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover, .seg button:hover { border-color: var(--navy); }
.chips button[aria-selected="true"], .seg button[aria-pressed="true"], .tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips button:disabled { opacity: .4; cursor: not-allowed; }
.map-title h3 { margin: 4px 0 0; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.map-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--mut); }
.map-stage { position: relative; margin-top: 6px; }
.map-svg { aspect-ratio: 640 / 640; width: 100%; max-height: 58svh; margin-inline: auto; background: linear-gradient(180deg, #f4f8fc, #e8eff8); border-radius: 16px; overflow: hidden; }
.map-svg svg { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.map-svg path { stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .6s ease, opacity .4s ease; cursor: default; }
.map-svg path.has { cursor: pointer; stroke: rgba(10, 43, 92, .45); stroke-width: .9; }
.map-svg path.out { fill: #e3eaf3; }
.map-svg path.mid { fill: #b8c9de; }
.map-svg path.bog { stroke: var(--gold); stroke-width: 2.2; }
.map-svg path.sel, .map-svg path.hov { stroke: var(--navy-d); stroke-width: 2.4; }
.map-svg .lbl { font-size: 10.5px; font-weight: 800; fill: var(--navy-d); paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; transition: opacity .4s; }
.zoom-btn { position: absolute; right: 10px; bottom: 10px; border: 0; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 14px rgba(10, 43, 92, .3); }
.zoom-btn[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.tip { position: absolute; z-index: 6; left: 10px; top: 10px; max-width: min(260px, 70%); padding: 10px 12px; border-radius: 12px; background: var(--navy-d); color: #fff; font-size: 12.5px; line-height: 1.4; box-shadow: 0 8px 24px rgba(10, 43, 92, .3); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: block; font-size: 14px; color: var(--gold); }
.tip .v { font-size: 20px; font-weight: 800; }
.tip small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .7); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; font-size: 12px; color: var(--mut); font-weight: 600; }
.map-legend .grad { display: flex; align-items: center; gap: 6px; }
.map-legend .grad i { width: 96px; height: 8px; border-radius: 4px; }
.map-legend .sw { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .sw i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.map-list { margin-top: 10px; border-top: 1px solid var(--ln); padding-top: 8px; }
.map-list summary { cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-d); }
.map-list ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.map-list li { display: grid; grid-template-columns: minmax(84px, 1.1fr) 2fr auto; align-items: center; gap: 10px; padding: 2px 6px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .2s; }
.map-list li:hover, .map-list li.hov { background: var(--paper); }
.map-list li .bar { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.map-list li .bar i { display: block; height: 100%; border-radius: 4px; width: 0; transition: width .7s var(--ease); }
.map-list li.ref { color: var(--mut); font-weight: 600; cursor: default; }
.map-list li.ref .bar { background: transparent; border-bottom: 1px dashed rgba(23, 61, 98, .3); height: 2px; border-radius: 0; }
.map-list li.ref:hover { background: transparent; }
.map-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--mut); }
.map-note .warn { display: block; margin-top: 4px; color: #8a5a00; font-weight: 700; }

.steps { display: flex; flex-direction: column; gap: 56vh; padding: 20vh 0 36vh; }
.step { background: rgba(255, 255, 255, .92); border: 1px solid var(--ln); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 8px 30px rgba(10, 43, 92, .08); opacity: .35; transform: translateX(28px); transition: opacity .6s ease-out, transform .6s ease-out, border-color .4s; }
.step.on { opacity: 1; transform: none; border-color: rgba(23, 61, 98, .3); }
.step .kick { margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-d); }
.step h3 { margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.step p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #3c4650; }
.step .nums { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0 6px; }
.step .nums div b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.step .nums div span { display: block; margin-top: 4px; max-width: 220px; font-size: 12px; color: var(--mut); font-weight: 600; line-height: 1.35; }
.step .caution { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff7dc; font-size: 12.5px; font-weight: 700; color: #7a5300; }
.step .src { margin: 10px 0 0; font-size: 11px; color: var(--mut); letter-spacing: .04em; }
.step .tog { display: flex; gap: 6px; margin-top: 10px; }
.step .tog button { border: 1px solid var(--ln); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.step .tog button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (min-width: 1024px) {
  .mapstory { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
  .mapcard { top: 88px; padding: 20px 20px 22px; }
  .mapcard { display: flex; flex-direction: column; max-height: calc(100svh - 104px); }
  .map-stage { flex: 0 1 auto; min-height: 180px; }
  .map-svg { max-height: none; min-height: 0; aspect-ratio: auto; height: clamp(160px, calc(100svh - 560px), 620px); }
  .map-list { flex: 0 1 auto; min-height: 0; max-height: 44svh; overflow-y: auto; scrollbar-width: thin; }
  .map-list[open] summary { position: sticky; top: 0; background: #fff; z-index: 1; padding-bottom: 4px; }
  .map-legend, .map-title, .map-head, .map-note { flex: none; }
  .map-list ol { grid-template-columns: 1fr 1fr; gap: 2px 22px; }
  .steps { padding: 18vh 0 30vh; gap: 52vh; }
}
@media (max-width: 1023px) {
  .mapcard { top: 70px; }
  .map-svg { max-height: 38svh; aspect-ratio: 640 / 520; }
  .map-list { display: none; }
  .steps { gap: 36svh; padding: 8svh 0 24svh; }
  .step { background: rgba(255, 255, 255, .96); }
  .tip { top: auto; bottom: 10px; left: 10px; }
}

/* ---- Pestañas y paneles ---- */
.explorer { margin-bottom: 20px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 22px; }
.tabs button { padding: 10px 18px; font-size: 14px; }
.panel { background: #fff; border: 1px solid var(--ln); border-radius: 24px; padding: clamp(18px, 3vw, 36px); box-shadow: 0 10px 40px rgba(10, 43, 92, .07); animation: fadeup .5s var(--ease); }
.panel[hidden] { display: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: var(--ink); line-height: 1.2; }
.panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--mut); font-weight: 600; max-width: 62ch; }
.seg { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.seg button { padding: 6px 12px; font-size: 12.5px; }
.panel-chips { margin-bottom: 18px; }
.panel-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ln); font-size: 12.5px; line-height: 1.55; color: var(--mut); }
.panel-note b { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Barras agrupadas / locales / divergentes (HTML) */
.hb { display: grid; gap: 14px; }
.hb-row { display: grid; grid-template-columns: minmax(120px, 230px) 1fr; gap: 6px 20px; align-items: center; }
.hb-label { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hb-label small { display: block; font-weight: 600; font-size: 11.5px; color: var(--mut); }
.hb-bars { display: grid; gap: 5px; position: relative; }
.hb-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.hb-track { position: relative; height: 18px; border-radius: 9px; background: var(--paper); }
.hb-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px; transition: width .9s var(--ease); }
.hb-val { min-width: 62px; text-align: right; font-size: 13px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hb-val small { font-weight: 600; color: var(--mut); }
.hb-row:hover .hb-label, .hb-row:focus-visible .hb-label { color: var(--blue); }
.hb-row[data-hidden] { display: none; }
.hb-ref { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--orange); pointer-events: none; }
.hb-ref span { position: absolute; top: -16px; left: 4px; white-space: nowrap; font-size: 11px; font-weight: 800; color: var(--orange); }
.hb-gap { text-align: center; font-size: 12px; color: var(--mut); letter-spacing: .3em; }
.c21 { background: #b7c6d9; } .c25 { background: var(--navy); } .c25g { background: var(--gold); } .cc { background: var(--cyan); }
.hb-local { display: grid; gap: 8px; }
.hb-local .hb-row { grid-template-columns: minmax(130px, 240px) 1fr; }
.hb-local .hb-track { height: 16px; }
.hb-local .hb-wrap { position: relative; }
.hb-local .hb-wrap .hb-ref { top: -2px; bottom: -2px; }

.div-row { display: grid; grid-template-columns: minmax(120px, 280px) 1fr auto; gap: 6px 16px; align-items: center; }
.div-track { position: relative; height: 20px; }
.div-track::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(23, 61, 98, .35); }
.div-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; width: 0; transition: width .9s var(--ease); }
.div-track i.pos { left: 50%; background: var(--navy); border-radius: 0 6px 6px 0; }
.div-track i.neg { right: 50%; background: var(--orange); border-radius: 6px 0 0 6px; }
.div-axis { display: grid; grid-template-columns: minmax(120px, 280px) 1fr auto; gap: 16px; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; }
.div-axis div { display: flex; justify-content: space-between; }
.div-list { display: grid; gap: 9px; }

/* Tendencia (SVG) */
.trend-wrap { position: relative; }
.trend-svg { width: 100%; display: block; overflow: visible; }
.trend-svg text { font-family: var(--sans); }
.trend-svg .ax text { font-size: 12px; fill: var(--mut); font-weight: 600; }
.trend-svg .grid line { stroke: var(--ln); }
.trend-svg .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trend-svg .dot { stroke: #fff; stroke-width: 2.5; cursor: pointer; transition: r .2s; }
.trend-svg .vl { font-size: 12px; font-weight: 800; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.trend-svg .band { fill: transparent; cursor: crosshair; }
.trend-svg .band:hover, .trend-svg .band:focus { fill: rgba(23, 61, 98, .05); outline: none; }
.trend-tip { position: absolute; z-index: 4; pointer-events: none; padding: 10px 12px; border-radius: 12px; background: var(--navy-d); color: #fff; font-size: 12.5px; line-height: 1.5; box-shadow: 0 8px 24px rgba(10, 43, 92, .3); opacity: 0; transition: opacity .2s; min-width: 150px; }
.trend-tip.on { opacity: 1; }
.trend-tip b { color: var(--gold); display: block; margin-bottom: 4px; }
.trend-tip div { display: flex; justify-content: space-between; gap: 14px; }
.trend-tip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }

/* ============ Comparativo 2021 vs 2025 ============ */
.compare { background: #fff; margin-top: -25px; padding: clamp(80px, 10vw, 130px) 0 clamp(30px, 4vw, 60px); }
.cmp { position: relative; margin-top: clamp(50px, 7vw, 100px); }
.cmp:nth-of-type(odd) { }
.cmp-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ln); padding: 78px 0 10px; }
.cmp-head .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-items: end; }
.cmp-title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cmp-title .no { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.cmp-title h3 { margin: 0; font-size: clamp(18px, 2.6vw, 30px); font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cmp-col { font-size: clamp(30px, 5vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cmp-col small { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.cmp-col.y21 { color: #8aa0ba; } .cmp-col.y25 { color: var(--navy); text-align: right; }
.cmp-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.cmp-prog i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.cmp-intro { padding: 32px 0 6px; }
.cmp-intro .lead { margin: 0 0 8px; font-family: var(--sans); font-style: normal; font-weight: 800; font-size: clamp(22px, 3.2vw, 38px); line-height: 1.15; color: var(--blue); }
.cmp-intro p { margin: 0; max-width: 70ch; font-size: clamp(15px, 1.5vw, 17px); color: #3c4650; }
.cmp-group { margin: 40px 0 14px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-d); }
.cmp-group::after { content: ''; flex: 1; height: 1px; background: var(--ln); }
.row { padding: 22px 0 24px; border-bottom: 1px solid var(--ln); }
.row-lab { margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.row-lab h4 { margin: 0; font-size: clamp(15px, 1.7vw, 18px); font-weight: 800; color: var(--ink); line-height: 1.25; }
.row-lab span { font-size: 12px; font-weight: 600; color: var(--mut); }
.row-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px clamp(8px, 2vw, 24px); align-items: center; }
.cell { position: relative; padding: clamp(12px, 1.8vw, 20px); border-radius: 16px; opacity: 0; transition: opacity .8s ease-out, transform .8s var(--ease); }
.cell.l { transform: translateX(-60px); background: var(--paper); }
.cell.r { transform: translateX(60px); background: var(--navy); color: #fff; }
.row.in .cell { opacity: 1; transform: none; }
.row.in .cell.r { transition-delay: .12s; }
.cell .num { font-size: clamp(26px, 4.6vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cell .num small { font-size: .46em; font-weight: 700; letter-spacing: 0; opacity: .75; margin-left: 2px; }
.cell.l .num { color: #6d86a5; }
.cell.r .num { color: #fff; }
.cell .bar { height: 8px; border-radius: 4px; margin-top: 12px; background: rgba(23, 61, 98, .1); overflow: hidden; }
.cell.r .bar { background: rgba(255, 255, 255, .15); }
.cell .bar i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.3s var(--ease) .35s; }
.cell.l .bar i { background: #8aa0ba; }
.cell.r .bar i { background: var(--gold); }
.row.in .bar i { width: var(--w); }
.cell .p17 { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 600; opacity: .65; }
.cell.none { background: transparent; border: 1.5px dashed rgba(23, 61, 98, .25); display: flex; align-items: center; justify-content: center; min-height: 92px; text-align: center; }
.cell.none span { font-size: 12.5px; font-weight: 700; color: var(--mut); line-height: 1.4; }
.delta { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 70px; opacity: 0; transform: scale(.8); transition: opacity .6s ease .5s, transform .6s var(--ease) .5s; }
.row.in .delta { opacity: 1; transform: none; }
.delta .arr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.delta .arr svg { width: 16px; height: 16px; }
.delta .arr.dn svg { transform: rotate(180deg); }
.delta .arr.eq { background: var(--pill-soft); }
.delta b { font-size: clamp(11px, 1.4vw, 13px); font-weight: 800; color: var(--navy); white-space: nowrap; }
.row-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--mut); max-width: 78ch; }
.row-note .src { display: inline-block; margin-left: 6px; font-size: 11px; letter-spacing: .04em; opacity: .8; }
.row.call { border-bottom: 0; padding: 18px 0; }
.callout { padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #fff7dc, #fdf0c0); border-left: 4px solid var(--gold); opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s var(--ease); }
.row.in .callout { opacity: 1; transform: none; }
.callout h4 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7a5300; }
.callout p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3b3320; font-weight: 600; max-width: 80ch; }
.callout .src { display: block; margin-top: 6px; font-size: 11px; color: #8a7a4f; }

/* ============ Conclusiones ============ */
.concl { background: var(--navy-d); margin-top: -25px; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px); color: #fff; overflow: hidden; }
.concl-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 85% 0%, rgba(51, 102, 204, .35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(60, 195, 220, .15), transparent 60%); }
.concl .wrap { position: relative; }
.concl-text { max-width: 60ch; margin: 0; font-size: clamp(17px, 2vw, 23px); line-height: 1.55; color: rgba(255, 255, 255, .86); font-weight: 400; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: clamp(16px, 2vw, 26px); border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(30px); transition: opacity .7s ease-out, transform .7s var(--ease), background .3s; }
.tile.in { opacity: 1; transform: none; }
.tile:hover { background: rgba(255, 255, 255, .1); }
.tile h4 { margin: 0; font-size: 14px; font-weight: 800; color: var(--gold); }
.tile .s { margin: 2px 0 14px; font-size: 12px; color: rgba(255, 255, 255, .55); font-weight: 600; min-height: 2.6em; }
.tile .flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile .from { font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; color: rgba(255, 255, 255, .45); text-decoration: none; }
.tile .to { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .to small { font-size: .45em; color: var(--gold); letter-spacing: 0; margin-left: 2px; }
.tile .ar { width: 18px; height: 18px; color: var(--gold); }
.tile .chg { margin-top: 12px; display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(246, 198, 43, .16); color: var(--gold); font-size: 12px; font-weight: 800; }
.concl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cc { padding: clamp(20px, 2.6vw, 32px); border-radius: 22px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateX(48px); transition: opacity .7s ease-out, transform .7s ease-out; }
.cc:nth-child(odd) { transform: translateX(-48px); }
.cc.in { opacity: 1; transform: none; }
.cc .no { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cc h4 { margin: 6px 0 10px; font-size: clamp(19px, 2.1vw, 25px); font-weight: 700; line-height: 1.2; color: #fff; }
.cc p { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .72); font-weight: 600; }
.concl-cta { margin-top: clamp(56px, 8vw, 100px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--gold); color: var(--navy); }
.concl-cta p { margin: 0; font-size: clamp(24px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.concl-cta .cta-btn { background: var(--navy); color: #fff; }
.concl-cta .cta-btn:hover { background: var(--navy-d); }

/* ============ Pie: fuentes y logos ============ */
.foot { background: #fff; margin-top: -25px; border-radius: 25px 25px 0 0; position: relative; z-index: 12; padding: clamp(56px, 7vw, 96px) 0 36px; color: var(--ink); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.foot-title { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.foot-p { margin: 0 0 14px; max-width: 70ch; font-size: 14.5px; color: #3c4650; }
.notes { font-size: 13.5px; line-height: 1.6; color: #3c4650; }
.notes summary { cursor: pointer; font-weight: 800; color: var(--blue); }
.notes ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; max-width: 80ch; }
.foot-mark { width: 180px; border-radius: 12px; overflow: hidden; justify-self: start; }
.logos { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 3vw, 36px) clamp(18px, 3vw, 40px); border-radius: 22px; background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 28px 48px; }
.logos a { display: block; transition: transform .3s var(--ease); }
.logos a:hover { transform: translateY(-3px); }
.logos img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.logos img[alt="Alcaldía Mayor de Bogotá D.C."] { height: 64px; }
.foot-legal { margin: 24px 0 0; text-align: center; font-size: 12.5px; color: var(--mut); font-weight: 600; }

/* ============ Responsive ============ */
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-mark { justify-self: end; }
}
@media (max-width: 899px) {
  .about-bottom { flex-direction: column; gap: 24px; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .concl-grid { grid-template-columns: 1fr; }
  .cc, .cc:nth-child(odd) { transform: translateY(28px); }
  .cc.in, .cc.in:nth-child(odd) { transform: none; }
}
@media (max-width: 640px) {
  .nav { top: 14px; }
  .nav-pill { padding: 6px 8px 6px 18px; gap: 12px; }
  .hero-logo { display: none; }
  .cta-bar { padding-left: 16px; width: 100%; justify-content: space-between; }
  .cta-text .d { display: none; } .cta-text .m { display: inline; }
  .cta-text { font-size: 13px; }
  .figs { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .hb-row, .hb-local .hb-row { grid-template-columns: 1fr; gap: 4px; }
  .div-row, .div-axis { grid-template-columns: 1fr auto; }
  .div-row .hb-label { grid-column: 1 / -1; }
  .div-axis > :first-child { display: none; }
  .div-row .div-track { grid-column: 1; }
  .cmp-head { padding-top: 62px; }
  .row-grid { grid-template-columns: 1fr 1fr; }
  .delta { grid-column: 1 / -1; grid-row: 2; flex-direction: row; justify-content: center; }
  .cell.l { transform: translateX(-30px); } .cell.r { transform: translateX(30px); }
  .tabs button { padding: 8px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .hero-title .line, .hero-sub, .cta-bar { opacity: 1; transform: none; }
  .hero-map path { stroke-dashoffset: 0; }
  .ccard, .cell, .delta, .callout, .tile, .cc, .step { opacity: 1; transform: none; }
}

/* Logo Datos y Voces: dimensiones automáticas (según el contenedor) */
.hero-logo:not(.hero-logo-r) img, .foot-mark img { width: auto; height: auto; max-width: 100%; }

/* ---- Filtro de territorio del comparativo ---- */
.cmp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 8px; scroll-margin-top: 220px; padding: 16px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--ln); }
.cmp-filter label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-d); }
.cmp-filter select { font: inherit; font-weight: 800; color: var(--navy); background: #fff; border: 1px solid var(--navy); border-radius: 999px; padding: 9px 38px 9px 18px; min-width: 240px; max-width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23173d62' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.cmp-filter p { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--mut); font-weight: 600; }
.cmp-terr-chip { margin-left: auto; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--navy); background: #fff3c4; border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.cmp-terr-chip:hover { background: var(--gold); }
.mficha { margin-top: 8px; padding: 6px 0 18px; }
.mnote { margin: 0 0 14px; max-width: 75ch; font-size: 13.5px; line-height: 1.6; color: #3c4650; padding: 10px 14px; border-left: 3px solid var(--gold); background: #fffaf0; border-radius: 0 10px 10px 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mrow { padding: 16px 18px; border-radius: 18px; background: var(--navy); color: #fff; opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
.mrow.in { opacity: 1; transform: none; }
.mlab h4 { margin: 0; font-size: 15px; font-weight: 800; color: var(--gold); line-height: 1.25; }
.mlab span { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .65); font-weight: 600; }
.mval { margin: 12px 0 8px; }
.mval b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.mval small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .78); font-weight: 600; }
.mbar { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.mbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--gold); }
.mbar i.rng { background: repeating-linear-gradient(45deg, var(--gold) 0 4px, rgba(246, 198, 43, .45) 4px 8px); }
.mref { margin: 10px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, .6); font-weight: 600; }
@media (max-width: 640px) { .cmp-filter select { width: 100%; } .cmp-terr-chip { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .mrow { opacity: 1; transform: none; } }

/* ---- Énfasis metropolitano: Región primero, Bogotá como contexto ---- */
.ccard .grp { margin: 22px 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ccard .grp-reg { margin-top: 12px; color: var(--gold); }
.ccard .grp-bog { margin-top: 26px; color: rgba(255, 255, 255, .55); }
.figs-reg { background: rgba(246, 198, 43, .35); box-shadow: 0 0 0 1px rgba(246, 198, 43, .45); }
.figs-reg .fig { background: rgba(10, 43, 92, .78); }
.figs-reg .fig b { font-size: clamp(32px, 4.4vw, 54px); }
.figs-reg .fig p { color: #fff; }
.ccard .reg { margin: 14px 0 0; font-size: clamp(14.5px, 1.5vw, 17px); color: rgba(255, 255, 255, .88); font-weight: 600; }
.figs-bog .fig { padding: clamp(12px, 1.4vw, 16px); background: rgba(10, 43, 92, .4); }
.figs-bog .fig b { font-size: clamp(20px, 2.4vw, 28px); color: rgba(255, 255, 255, .85); }
.figs-bog .fig p { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.figs-bog .fig > span { font-size: 11.5px; }
.ccard .txt { margin-top: 16px; font-size: clamp(13px, 1.25vw, 14.5px); color: rgba(255, 255, 255, .6); }
.mosaic .mgroup { grid-column: 1 / -1; margin: 10px 0 0; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mosaic .mgroup.reg { color: var(--gold); margin-top: 0; }
.mosaic .mgroup.bog { color: rgba(255, 255, 255, .55); margin-top: 18px; }
.tile.reg { background: rgba(246, 198, 43, .1); border-color: rgba(246, 198, 43, .5); }
.tile.reg .to { font-size: clamp(36px, 5vw, 64px); }
.tile.bog { padding: clamp(12px, 1.5vw, 18px); }
.tile.bog .to { font-size: clamp(24px, 3vw, 36px); color: rgba(255, 255, 255, .85); }
.tile.bog .s { min-height: 0; margin-bottom: 8px; }
