/* Casa Posible · Fase 1 — identidad propia (verde «posible» + sol) sobre los patrones del Vecto Kit (hexágonos, movimiento, glass).
   De Vecto se toman la mecánica y los tokens neutros (--vk-*); la paleta y la tipografía de marca son de Casa Posible (--cp-*). */
:root {
  --cp-sheet-w: 452px;
  --cp-top-h: 64px;
  --cp-ink: #0F2B27;          /* tinta verde profunda: titulares, botones oscuros */
  --cp-ink-2: #1D3B36;
  --cp-accent: #12A37A;       /* verde posible: hexágonos, CTA, foco */
  --cp-accent-t: #0A7A5A;     /* verde para texto sobre claro (≥ 4,6:1 también sobre #F2F3EF y el cristal; antes #0B7F5E, 4,4:1 en alguno) */
  --cp-accent-2: #3CCB98;     /* verde claro sobre oscuro */
  --cp-accent-300: #9FE3C7;
  --cp-accent-b: #C9EEDD;
  --cp-accent-bg: #EEF9F4;
  --cp-sun: #FFB938;          /* sol: tu zona, la puerta del logo, promesas */
  --cp-sun-ink: #7A4B00;
  --cp-dark: #0B1F1C;
  --cp-canvas: #F6F7F3;
  --cp-grad-cta: linear-gradient(135deg, #0B7F5E, #096B4F);   /* texto blanco ≥ 5:1 en todo el degradado (antes #2DBE8C → #0E8F69: 2,4-4,1:1) */
  --cp-sh-cta: 0 12px 28px -8px rgba(14,143,105,.7);
  --cp-grad-card: radial-gradient(120% 70% at 100% 0, rgba(60,203,152,.45), transparent 60%), linear-gradient(165deg, #0F2B27 0, #145045 55%, #0B7F5E 100%);   /* el final era #12A37A: el texto blanco de abajo de las tarjetas oscuras (3,2:1) llega ahora a 5:1 */
  --cp-sh-card: 0 20px 38px -10px rgba(15,43,39,.55), 0 0 0 1px rgba(255,255,255,.18) inset;
  --cp-font-display: "Bricolage Grotesque", var(--vk-font-text);
  --cp-ramp: linear-gradient(90deg, #BFEBD8, #22A884, #0F2B27);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cp-canvas); color: var(--cp-ink); font: 400 15px/1.5 var(--vk-font-text); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--cp-font-display); letter-spacing: var(--vk-tracking-title); margin: 0; font-weight: 600; }
.kicker { font: 600 var(--vk-fs-caption)/1 var(--vk-font-text); letter-spacing: var(--vk-tracking-caps); text-transform: uppercase; color: var(--cp-accent-t); margin-bottom: 12px; }
[hidden] { display: none !important; }

/* ── cabecera ── */
.top { position: fixed; inset: 0 0 auto 0; height: var(--cp-top-h); z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
  background: var(--cp-ink); pointer-events: auto; }   /* sólida siempre, sin transparencias: el texto no depende de lo que haya debajo del mapa (WCAG 1.4.3) */
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-hex { display: grid; place-items: center; width: 30px; height: 34px; }
.brand-hex .vk-hexmark { filter: drop-shadow(0 4px 10px rgba(18,163,122,.55)); }
.brand-word { font: 600 18px/1 var(--cp-font-display); letter-spacing: -.01em; }
.brand-by { font-size: 12px; color: #C9D8D2; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.35); }   /* color sólido (antes opacity .78) */
.brand-by b { font-weight: 600; color: #fff; }
.live { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--vk-r-pill); background: rgba(11,31,28,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; border: 1px solid rgba(255,255,255,.18); }
.live b { font: 600 14px var(--vk-font-mono); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vk-ok-dot); animation: vk-ping 1.8s infinite; }

/* ── escenario: mapa + hoja ── */
.stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #E3E8E4; }
.map { position: absolute; inset: 0; }
.vk-map-fade { background: linear-gradient(to bottom, rgba(15,43,39,.30) 0, transparent 18%, transparent 70%, rgba(248,250,252,.6) 100%); }
.tip { position: absolute; z-index: 12; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); min-width: 180px; max-width: 260px;
  padding: 10px 12px; border-radius: var(--vk-r-md); background: rgba(11,31,28,.88); color: var(--vk-on-dark); font-size: 12.5px; box-shadow: var(--vk-sh-xl); }
.tip b { display: block; font: 600 13.5px var(--vk-font-text); color: #fff; margin-bottom: 2px; }
.tip .big { font: 600 20px var(--cp-font-display); color: #fff; }
.tip small { display: block; color: var(--vk-on-dark-3); margin-top: 4px; font-size: 11px; }

.legend { position: absolute; z-index: 10; right: 22px; bottom: 26px; width: 250px; padding: 14px 16px; border-radius: var(--vk-r-xl); font-size: 12px; color: var(--vk-fg-2); }
.legend-k { font: 600 10.5px var(--vk-font-text); letter-spacing: var(--vk-tracking-caps); text-transform: uppercase; color: var(--cp-accent-t); }
.legend-t { font-weight: 600; color: var(--vk-fg); margin: 4px 0 10px; line-height: 1.35; }
.legend-ramp { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--vk-fg-3); }
.legend-ramp i { flex: 1; height: 8px; border-radius: 99px; background: var(--cp-ramp); }
.legend-s { margin-top: 8px; font-size: 10.5px; color: var(--vk-fg-3); }

.sheet { position: absolute; z-index: 20; left: 22px; top: calc(var(--cp-top-h) + 10px); bottom: 22px; width: var(--cp-sheet-w);
  border-radius: var(--vk-r-3xl); padding: 28px 28px 22px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  background: rgba(255,255,255,.88); box-shadow: var(--vk-sh-xl); }
.view { animation: vk-up .4s var(--vk-ease-out) both; }
.sheet h1 { font-size: 34px; line-height: 1.08; color: var(--cp-ink); margin-bottom: 14px; }
.sheet h2 { font-size: 23px; line-height: 1.15; color: var(--cp-ink); margin-bottom: 10px; }
.lead { font-size: 15.5px; color: var(--vk-fg-2); margin: 0 0 22px; }
.hint { color: var(--vk-fg-3); font-size: 13.5px; margin: 0 0 16px; }
.hint.small { font-size: 12px; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--vk-fg-3); }
.trust li::before { content: ""; display: inline-block; width: 7px; height: 8px; margin-right: 6px; background: var(--cp-accent); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }

/* botones */
.cta-row { display: flex; flex-direction: column; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; border-radius: var(--vk-r-pill); padding: 13px 22px; font-weight: 600; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }
.btn-main { background: var(--cp-grad-cta); color: #fff; box-shadow: var(--cp-sh-cta); }
.btn-main:hover { filter: brightness(.92); }   /* al pasar el ratón se oscurece (aclararlo bajaría el contraste del texto blanco) */
.btn-main:disabled { opacity: .55; cursor: default; box-shadow: none; }
.btn-ghost { background: var(--cp-accent-bg); color: var(--cp-accent-t); border: 1px solid var(--cp-accent-b); }
.btn-link { background: none; color: var(--vk-fg-3); padding: 10px 6px; font-weight: 500; }
.btn-link:hover { color: var(--cp-accent-t); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }

/* pasos */
.prog { margin-bottom: 18px; }
.prog-t { font: 600 13px var(--vk-font-text); color: var(--vk-fg-3); margin-bottom: 6px; }
.prog-bar { height: 6px; border-radius: 99px; background: var(--vk-line); overflow: hidden; }
.prog-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--cp-accent); transition: width var(--vk-dur-base) var(--vk-ease-out); }
.skip-row { margin-top: 14px; }
.chips.tramos button { padding: 8px 12px; font-size: 13.5px; }
.chips.tramos { gap: 6px 6px; }
/* campo trampa contra bots: fuera de pantalla, no del flujo accesible por teclado (tabindex -1) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* foco visible en lo que se toca en el formulario */
.chips button:focus-visible, .toggle input:focus-visible, .check input:focus-visible, .field input:focus-visible, .skip-row .btn:focus-visible { outline: 3px solid var(--cp-accent); outline-offset: 2px; }
.step { animation: vk-up .35s var(--vk-ease-out) both; }

/* grabación */
.rec { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: var(--vk-r-xl); background: var(--cp-accent-bg); border: 1px solid var(--cp-accent-b); }
.rec-btn { position: relative; width: 92px; height: 103px; border: 0; background: none; cursor: pointer; flex: none; color: #fff; }
.rec-hex { position: absolute; inset: 0; width: 100%; height: 100%; }
.rec-hex polygon { fill: var(--cp-accent); filter: drop-shadow(0 10px 18px rgba(18,163,122,.45)); transition: fill .2s; }
.rec-ico { position: relative; width: 34px; height: 34px; }
.rec.on .rec-hex polygon { fill: #E5484D; }
.rec.on .rec-btn { animation: vk-thumbbeat 1.5s ease-out infinite; }
.rec-side { flex: 1; min-width: 0; }
.bars { display: flex; align-items: center; gap: 3px; height: 44px; }
.bars i { flex: 1; height: 6px; border-radius: 3px; background: var(--cp-accent-300); transition: height .08s linear; }
.rec.on .bars i { background: var(--cp-accent); }
.rec-state { font-size: 12.5px; color: var(--vk-fg-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.transcribing { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--cp-accent-t); font-weight: 500; font-size: 14px; }
.hexspin { width: 18px; height: 20px; background: var(--cp-accent); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); animation: vk-spin 1.2s linear infinite; }
.chips-found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips-found span { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--cp-accent-b); color: var(--cp-ink); animation: vk-pin .3s var(--vk-ease-out) both; }
.chips-found span b { color: var(--cp-accent-t); font-weight: 600; }

/* campos */
.field { display: block; margin: 14px 0 0; position: relative; }
.field > span, .field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--vk-fg-2); margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--vk-fg-4); }
.field > .why { display: block; margin: -3px 0 8px; font-size: 12px; line-height: 1.4; color: var(--vk-fg-3); }   /* por qué se pregunta (ingresos y entrada) */
.field input:not([type=range]):not([type=checkbox]), .field textarea { width: 100%; border: 1px solid var(--vk-line-ctl); background: #fff; border-radius: var(--vk-r-md); padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }   /* sin outline:none: el foco lo pinta la regla :focus-visible de abajo */
.field textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.field input:focus, .field textarea:focus { border-color: var(--cp-accent-t); box-shadow: 0 0 0 4px rgba(18,163,122,.14); }
/* foco visible de los campos (WCAG 2.4.7 y 1.4.11): contorno de 3 px, 5,3:1 sobre blanco; con especificidad para ganar a la regla del borde */
.field input:not([type=range]):not([type=checkbox]):focus-visible, .field textarea:focus-visible { outline: 3px solid var(--cp-accent-t); outline-offset: 2px; border-color: var(--cp-accent-t); }
/* campo con error (aria-invalid lo pone app.js): borde rojo, además del mensaje de texto */
.field input:not([type=range]):not([type=checkbox])[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field input:not([type=range]):not([type=checkbox])[aria-invalid="true"]:focus-visible, .field textarea[aria-invalid="true"]:focus-visible { outline-color: #B42318; border-color: #B42318; }
.check input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.field.money i { position: absolute; right: 13px; bottom: 11px; font-style: normal; color: var(--vk-fg-4); }
.field.range b { float: right; color: var(--cp-accent-t); font: 600 12.5px var(--vk-font-mono); }
.field input[type=range] { width: 100%; accent-color: var(--cp-accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ac-list { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border-radius: var(--vk-r-md); box-shadow: var(--vk-sh-xl); overflow: hidden; }
.ac-list button { display: flex; justify-content: space-between; width: 100%; border: 0; background: none; text-align: left; padding: 10px 13px; cursor: pointer; font-size: 14px; }
.ac-list button small { color: var(--vk-fg-4); }
.ac-list button:hover, .ac-list button.sel { background: var(--cp-accent-bg); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--vk-r-pill); background: var(--vk-surface-3); margin-top: 6px; }
.seg button { border: 0; background: none; border-radius: var(--vk-r-pill); padding: 10px; font-weight: 600; cursor: pointer; color: var(--vk-fg-3); transition: all .2s var(--vk-ease-out); }
.seg button.on { background: #fff; color: var(--cp-ink); box-shadow: var(--vk-sh-md); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--vk-line-ctl); background: #fff; border-radius: var(--vk-r-pill); padding: 8px 14px; cursor: pointer; font-size: 14px; transition: all .18s var(--vk-ease-out); }
.chips button.on { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }
.toggle, .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--vk-fg-2); cursor: pointer; }
.toggle input, .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cp-accent); flex: none; }
.check span { font-size: 13px; line-height: 1.45; }
.err { margin-top: 12px; color: #B42318; font-size: 13px; }

/* ── resultado ── */
.res-head { display: flex; gap: 16px; align-items: center; }
.gauge { position: relative; width: 104px; height: 116px; flex: none; display: grid; place-items: center; text-align: center; color: #fff; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge .g-bg { fill: var(--vk-surface-3); }
.gauge .g-fill { fill: none; stroke-width: 7; stroke-linejoin: round; transition: stroke-dashoffset 1.4s var(--vk-ease-out); }
.gauge .g-core { filter: drop-shadow(0 10px 18px rgba(15,43,39,.35)); }
.gauge b { position: relative; display: block; font: 600 22px/1 var(--cp-font-display); }
.gauge small { position: relative; display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.res-title { font-size: 21px !important; }
.res-sub { font-size: 13px; color: var(--vk-fg-3); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 6px; }
.stat { padding: 12px 10px; border-radius: var(--vk-r-lg); background: #fff; border: 1px solid var(--vk-line); }
.stat b { display: block; font: 600 17px/1.1 var(--cp-font-display); color: var(--cp-ink); white-space: nowrap; }
.stat span { display: block; font-size: 11px; color: var(--vk-fg-3); margin-top: 5px; line-height: 1.3; }
.stat.warn b { color: #B54708; }
.stat.ok b { color: var(--vk-ok); }
.block { margin-top: 20px; }
.block h3 { font: 600 15px var(--vk-font-text); color: var(--cp-ink); margin-bottom: 8px; letter-spacing: 0; }
.alts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.alts li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--vk-r-lg); background: #fff; border: 1px solid var(--vk-line); cursor: pointer; transition: border-color .15s, transform .15s; }
.alts li:hover { border-color: var(--cp-accent); transform: translateX(2px); }
.alts .hn { width: 28px; height: 31px; display: grid; place-items: center; background: var(--cp-ink); color: #fff; font: 700 13px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); flex: none; }
.alts li:first-child .hn { background: var(--cp-accent-t); }
.alts .an { flex: 1; min-width: 0; }
.alts .an b { display: block; font-size: 14px; }
.alts .an small { color: var(--vk-fg-3); font-size: 12px; }
.alts .ap { font: 600 13px var(--vk-font-mono); color: var(--vk-ok); }
.levers { display: grid; gap: 8px; }
.lever { padding: 12px 14px; border-radius: var(--vk-r-lg); background: var(--cp-accent-bg); border: 1px solid var(--cp-accent-b); font-size: 13.5px; color: var(--vk-fg-2); }
.lever b { display: block; color: var(--cp-ink); font-size: 14px; margin-bottom: 2px; }
.together { position: relative; overflow: hidden; padding: 18px; border-radius: var(--vk-r-xl); background: var(--cp-grad-card); color: #fff; box-shadow: var(--cp-sh-card); }
.together .tn { font: 600 40px/1 var(--cp-font-display); }
.together p { margin: 6px 0 0; color: var(--vk-on-dark-2); font-size: 13.5px; }
.together .hexbg { position: absolute; right: -20px; top: -10px; width: 140px; opacity: .18; }
.share { margin-top: 12px; width: 100%; }
details.calc { margin-top: 18px; font-size: 12.5px; color: var(--vk-fg-3); }
details.calc summary { cursor: pointer; font-weight: 600; color: var(--vk-fg-2); }
details.calc ul { padding-left: 18px; margin: 8px 0 0; }
.flag { display: inline-block; font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: #FEF3C7; color: #92400E; margin-left: 6px; vertical-align: 2px; }

/* marcador de tu zona */
.cp-pin { width: 34px; height: 39px; display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(184,134,11,.5)); }
.cp-pin svg { width: 34px; height: 39px; animation: vk-pin .35s var(--vk-ease-out) both; }   /* la animación va en el icono: en el marcador pisaría la posición que le da el mapa */

/* ── debajo del mapa ── */
.below { position: relative; z-index: 1; }
.below section { max-width: 1080px; margin: 0 auto; padding: 88px 24px 0; }
.below h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; color: var(--cp-ink); max-width: 760px; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { padding: 24px; border-radius: var(--vk-r-2xl); background: #fff; border: 1px solid var(--vk-line); box-shadow: var(--vk-sh-sm); }
.cards .num { display: grid; place-items: center; width: 34px; height: 38px; background: var(--cp-accent-t); color: #fff; font: 700 15px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); margin-bottom: 16px; }
.cards h3 { font-size: 18px; color: var(--cp-ink); margin-bottom: 6px; }
.cards p { margin: 0; color: var(--vk-fg-2); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: h; }
.timeline li { position: relative; padding-top: 52px; counter-increment: h; }
.timeline li::before { content: counter(h); position: absolute; top: 0; left: 0; width: 38px; height: 43px; display: grid; place-items: center; background: var(--cp-ink); color: #fff; font: 700 15px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.timeline li::after { content: ""; position: absolute; top: 21px; left: 46px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--cp-accent-300) 0 6px, transparent 6px 12px); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; color: var(--cp-ink); font-size: 15px; margin-bottom: 4px; }
.timeline em { font-style: normal; color: var(--cp-accent-t); }
.timeline span { color: var(--vk-fg-2); font-size: 14px; }
.who-in { padding: 40px; border-radius: var(--vk-r-3xl); background: var(--cp-dark); color: var(--vk-on-dark-2); }
.who-in .kicker { color: var(--cp-accent-2); }
.who-in h2 { color: #fff; }
.who-in p { font-size: 16.5px; max-width: 780px; margin: 0 0 22px; }
.who-in b { color: #fff; }
.promise { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.promise li { padding-left: 22px; position: relative; font-size: 14.5px; }
.promise li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 12px; background: var(--cp-sun); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.foot { max-width: 1080px; margin: 0 auto; padding: 56px 24px 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: var(--vk-fg-3); }
.foot .pend em { font-style: normal; color: var(--vk-warn); }

/* ── móvil: la hoja pasa a ser inferior ── */
@media (max-width: 860px) {
  :root { --cp-top-h: 56px; }
  .top { padding: 0 14px; }
  .live span { display: none; }
  .brand-by { font-size: 11px; padding-left: 8px; }
  .brand { gap: 8px; }
  .stage { height: auto; min-height: 0; overflow: visible; background: var(--cp-canvas); }
  .map { position: relative; height: 46vh; height: 46svh; inset: auto; }
  .stage .vk-map-fade { height: 46svh; }
  .legend { left: 14px; right: auto; top: calc(46svh - 92px); bottom: auto; width: auto; max-width: calc(100% - 28px); padding: 9px 12px; }
  .legend-t, .legend-s { display: none; }
  .sheet { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: -22px 0 0; border-radius: 26px 26px 0 0; padding: 24px 16px 28px; overflow: visible; background: #fff; box-shadow: 0 -12px 30px -12px rgba(15,43,39,.25); }
  .sheet h1 { font-size: 28px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat b { font-size: 15px; }
  .cards, .timeline, .promise { grid-template-columns: 1fr; }
  .timeline li::after { display: none; }
  .who-in { padding: 26px 18px; }
  .below section { padding: 56px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .view, .step, .chips-found span, .cp-pin svg, .ticker { animation: none; }
  .rec.on .rec-btn, .live-dot, .hexspin { animation: none; }
}

/* ── identidad sobre piezas del kit ── */
h1, h2, h3, .brand-word { font-weight: 700; letter-spacing: -.025em; }
.vk-hexnum { background: var(--cp-ink); }
.vk-hexnum.first { background: var(--cp-accent-t); }
.vk-radar .vk-sweep { background: conic-gradient(from 0deg, transparent 0, transparent 64%, rgba(18,163,122,0) 66%, rgba(18,163,122,.5) 100%); }
.vk-radar polygon { stroke: rgba(18,163,122,.75); }
.brand-mark { width: 28px; height: 33px; filter: drop-shadow(0 4px 10px rgba(18,163,122,.5)); }
.trust li::before { background: var(--cp-sun); }

/* misión y «dos formas» */
.two { list-style: none; padding: 0; margin: -8px 0 22px; display: grid; gap: 10px; }
.two li { position: relative; padding: 12px 14px 12px 40px; border-radius: var(--vk-r-lg); background: var(--cp-accent-bg); border: 1px solid var(--cp-accent-b); font-size: 14px; color: var(--vk-fg-2); line-height: 1.45; }
.two li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 16px; background: var(--cp-accent); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.two li:last-child::before { background: var(--cp-sun); }
.two b { color: var(--cp-ink); }
.mission { padding-top: 96px !important; }
.mission .big { font-size: clamp(30px, 4.4vw, 54px); max-width: 980px; line-height: 1.06; }
.mission .vision { font-size: clamp(17px, 1.6vw, 21px); color: var(--vk-fg-2); max-width: 760px; margin: 0; }
.mission .vision b { color: var(--cp-accent-t); }
.timeline.four { grid-template-columns: repeat(4, 1fr); }
.who-in p + p { margin-top: -8px; }
@media (max-width: 860px) { .timeline.four { grid-template-columns: 1fr; } }

.who-in .small-print { font-size: 13.5px; color: var(--vk-on-dark-3); }
/* cabecera sólida al bajar del mapa (el menú no se monta sobre el texto) */
.top { transition: box-shadow .25s; }
.top.solid { box-shadow: 0 10px 24px -14px rgba(0,0,0,.55); }   /* la cabecera ya es sólida; al bajar solo gana sombra */
.legend-go { display: flex; gap: 4px; margin-top: 10px; }
.legend-go button { flex: 1; border: 1px solid var(--vk-line); background: #fff; border-radius: 99px; padding: 5px 6px; font-size: 11px; cursor: pointer; color: var(--vk-fg-2); }
.legend-go button.on, .legend-go button:hover { border-color: var(--cp-accent); color: var(--cp-accent-t); }
@media (max-width: 860px) { .legend-go { margin-top: 6px; } }

/* ── v2: demanda en directo, quórum, objetivos ── */
.live-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ticker { max-width: 360px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--cp-ink); font-size: 12px; box-shadow: var(--vk-sh-md);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: vk-up .35s var(--vk-ease-out) both; }
.ticker b { color: var(--cp-accent-t); }
.demo-chip { position: absolute; z-index: 11; top: calc(var(--cp-top-h) + 12px); left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px;
  background: #FEF3C7; color: #92400E; font: 600 11px var(--vk-font-text); letter-spacing: .06em; box-shadow: var(--vk-sh-md); }
.layer-tog { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 99px; background: var(--vk-surface-3); margin-bottom: 10px; }
.layer-tog button { border: 0; background: none; border-radius: 99px; padding: 6px 8px; font: 600 11.5px var(--vk-font-text); color: var(--vk-fg-3); cursor: pointer; }
.layer-tog button.on { background: #fff; color: var(--cp-ink); box-shadow: var(--vk-sh-sm); }
.legend .lg { display: none; }
.legend[data-layer="demanda"] .lg-demanda, .legend[data-layer="coste"] .lg-coste { display: block; }
.legend-ramp.dem i { background: linear-gradient(90deg, #BFEBD8, #22A884, #0F2B27 80%, #081A17); }
.cp-ping { position: relative; width: 14px; height: 16px; pointer-events: none; }
.cp-ping i { position: absolute; inset: 0; background: var(--cp-sun); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); animation: cp-ping 2.2s var(--vk-ease-out) forwards; }
.cp-ping i + i { background: none; clip-path: none; border-radius: 50%; border: 1.5px solid var(--cp-sun); animation: cp-ring 2.2s var(--vk-ease-out) .15s forwards; opacity: 0; }
@keyframes cp-ping { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes cp-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.quorum { margin-top: 12px; padding: 14px; border-radius: var(--vk-r-lg); background: #fff; border: 1px solid var(--vk-line); }
.quorum .qh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--vk-fg-2); }
.quorum .qh b { font: 700 16px var(--cp-font-display); color: var(--cp-ink); }
.qbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 10px 0 8px; }
.qbar i { height: 22px; background: var(--vk-line); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); transition: background .3s var(--vk-ease-out); }
.qbar i.on { background: var(--cp-sun); }
.qbar i.part { background: linear-gradient(90deg, var(--cp-sun) var(--p, 50%), var(--vk-line) var(--p, 50%)); }
.quorum small { color: var(--vk-fg-3); font-size: 12px; }
.soil { margin-top: 12px; padding: 12px 14px; border-radius: var(--vk-r-lg); border: 1px dashed var(--cp-accent-300); background: var(--cp-accent-bg); font-size: 13px; color: var(--vk-fg-2); }
.soil b { display: block; color: var(--cp-ink); font-size: 14px; margin-bottom: 2px; }
.soil em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: #fff; color: var(--cp-accent-t); margin-left: 6px; }
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.goals article { padding: 24px; border-radius: var(--vk-r-2xl); background: #fff; border: 1px solid var(--vk-line); box-shadow: var(--vk-sh-sm); }
.goals .num { display: grid; place-items: center; width: 34px; height: 38px; background: var(--cp-accent-t); color: #fff; font: 700 15px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); margin-bottom: 14px; }
.goals h3 { font-size: 18px; color: var(--cp-ink); margin-bottom: 6px; }
.goals p { margin: 0; color: var(--vk-fg-2); }
@media (max-width: 860px) { .goals { grid-template-columns: 1fr; } .ticker { max-width: 230px; } .demo-chip { top: calc(var(--cp-top-h) + 6px); } }
@media (prefers-reduced-motion: reduce) { .cp-ping i { animation: none; opacity: 0; } }

/* v3: caminos del plan */
.caminos { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.caminos li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--vk-r-lg); background: #fff; border: 1px solid var(--vk-line); }
.caminos li[data-alt] { cursor: pointer; transition: border-color .15s, transform .15s; }
.caminos li[data-alt]:hover { border-color: var(--cp-accent); transform: translateX(2px); }
.caminos .hn { width: 30px; height: 34px; display: grid; place-items: center; background: var(--cp-ink); color: #fff; font: 700 13px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); flex: none; }
.caminos .hn.ic { background: var(--cp-sun); color: var(--cp-ink); }
.caminos .an { flex: 1; min-width: 0; }
.caminos .an b { display: block; font-size: 14px; color: var(--cp-ink); }
.caminos .an small { display: block; color: var(--vk-fg-3); font-size: 12px; line-height: 1.4; margin-top: 2px; }
.cbar { display: block; height: 5px; border-radius: 99px; background: var(--vk-surface-3); margin-top: 7px; overflow: hidden; }
.cbar i { display: block; height: 100%; border-radius: 99px; background: var(--cp-sun); }
.cbar i.ok { background: var(--cp-accent); }
.caminos .ap { font: 600 13px var(--vk-font-mono); color: var(--cp-accent-t); white-space: nowrap; }
.caminos .ap.mid { color: #8A5A00; }   /* antes #B7791F: 3,6:1 sobre blanco */

/* sin desplazamiento lateral en móvil */
html, body { overflow-x: hidden; }

/* v4: «Afina tu plan» */
.afina { padding: 14px; border-radius: var(--vk-r-xl); border: 1px solid var(--cp-accent-b); background: var(--cp-accent-bg); }
.afina h3 small { font: 500 11.5px var(--vk-font-text); color: var(--vk-fg-3); margin-left: 6px; }
.afina .chips button.on { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }

/* ── v6: concepto eVoost · Buyer Passport · Reality Index · Fair Price ── */
.passport-list { list-style: none; counter-reset: pp; padding: 0; margin: -6px 0 14px; display: grid; gap: 6px; }
.passport-list li { counter-increment: pp; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cp-ink); font-size: 14.5px; }
.passport-list li::before { content: counter(pp); display: grid; place-items: center; width: 24px; height: 27px; flex: none; background: var(--cp-accent-t); color: #fff; font: 700 12px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.lead.small { font-size: 13.5px; margin-bottom: 18px; }
.nmbb { display: inline-block; margin-top: 16px; padding: 6px 12px; border: 1.5px solid var(--cp-ink); color: var(--cp-ink); font: 800 11px/1 var(--cp-font-display); letter-spacing: .14em; border-radius: 4px; }
.nmbb.big { font-size: clamp(16px, 2.6vw, 26px); padding: 12px 18px; border-width: 2.5px; }
.manifesto h2, .connect h2, .index h2, .fair h2, .hitos h2 { max-width: 860px; }
.chains { display: grid; gap: 14px; margin: 8px 0 26px; }
.chain { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chain .lab { width: 92px; flex: none; font: 700 12px var(--vk-font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--vk-fg-3); }
.chain ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chain li { padding: 9px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--vk-line); font-weight: 600; font-size: 14px; position: relative; }
.chain li + li::before { content: "→"; position: absolute; left: -12px; color: var(--vk-fg-4); font-weight: 400; }
.chain.old li { color: var(--vk-fg-3); text-decoration: line-through; text-decoration-color: rgba(100,116,139,.45); }
.chain.new li { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }
.chain.new li:first-child { background: var(--cp-sun); border-color: var(--cp-sun); color: var(--cp-ink); }
.big-p { font: 700 clamp(20px, 2.6vw, 30px)/1.2 var(--cp-font-display); color: var(--cp-ink); max-width: 860px; margin: 0; }
.soon { font: 600 11px var(--vk-font-text); font-style: normal; padding: 2px 8px; border-radius: 99px; background: var(--cp-accent-bg); color: var(--cp-accent-t); vertical-align: 3px; }
.tool { padding: 22px; border-radius: var(--vk-r-2xl); background: #fff; border: 1px solid var(--vk-line); box-shadow: var(--vk-sh-sm); }
.q-line { display: block; font: 700 clamp(18px, 2.2vw, 24px)/1.4 var(--cp-font-display); color: var(--cp-ink); }
.inl.money { display: inline-flex; align-items: baseline; gap: 6px; border-bottom: 3px solid var(--cp-sun); padding: 0 4px; }
.inl.money input { width: 6.5ch; border: 0; background: none; font: inherit; color: var(--cp-accent-t); text-align: right; outline: none; }   /* el foco se ve en el contenedor (siguiente regla) */
.inl.money:focus-within { outline: 3px solid var(--cp-accent-t); outline-offset: 4px; border-radius: 4px; }
.inl.money i { font-style: normal; font-size: .7em; color: var(--vk-fg-3); }
.ri-out { margin-top: 14px; display: grid; gap: 10px; }
.ri-big { font: 800 clamp(28px, 4vw, 44px)/1 var(--cp-font-display); color: var(--cp-ink); }
.ri-big small { font: 500 15px var(--vk-font-text); color: var(--vk-fg-2); margin-left: 6px; }
.ri-out p { margin: 0; color: var(--vk-fg-2); }
.ri-out b { color: var(--cp-ink); }
.rank { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rank h3 { font-size: 15px; color: var(--cp-ink); margin-bottom: 8px; }
.rank ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: rk; }
.rank li { counter-increment: rk; display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--vk-line); font-size: 14px; }
.rank li span:first-child::before { content: counter(rk) ". "; color: var(--vk-fg-4); }
.rank li b { font: 600 13px var(--vk-font-mono); color: var(--cp-accent-t); white-space: nowrap; }
.src { font-size: 12px; color: var(--vk-fg-3); margin: 12px 0 0; }
.fair-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; }
.fair-in .field:first-child { margin-top: 0; }
.fair-out { display: grid; gap: 10px; align-content: start; }
.verdict { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font: 700 14px var(--vk-font-text); }
.verdict.ok { background: var(--cp-accent-bg); color: var(--cp-accent-t); } .verdict.hi { background: #FFF1D6; color: #9A5B00; } .verdict.vh { background: #FDE7DC; color: #A83A12; } .verdict.lo { background: #E8F0FF; color: #1E48BC; }
.fair-out .who-can { font: 700 clamp(18px, 2vw, 22px)/1.3 var(--cp-font-display); color: var(--cp-ink); }
.fair-out p { margin: 0; color: var(--vk-fg-2); font-size: 14px; }
.closing { text-align: center; padding-bottom: 20px; display: grid; justify-items: center; gap: 18px; }
.closing p { font: 700 clamp(24px, 3.6vw, 44px)/1.15 var(--cp-font-display); color: var(--cp-ink); margin: 0; }
/* Buyer Passport */
.passport { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 18px 14px; background: var(--cp-grad-card); color: #fff; box-shadow: var(--cp-sh-card); }
.passport .pp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.passport .pp-top b { font: 800 15px var(--cp-font-display); letter-spacing: .01em; }
.passport .pp-top small { font: 600 10px var(--vk-font-text); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.passport .pp-holder { margin: 6px 0 12px; font-size: 12.5px; color: var(--vk-on-dark-2); }
.passport dl { margin: 0; display: grid; gap: 10px; }
.passport dt { font: 600 10.5px var(--vk-font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--cp-sun); }
.passport dd { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: #fff; }
.passport dd b { font: 700 17px var(--cp-font-display); }
.passport dd small { display: block; color: var(--vk-on-dark-3); font-size: 12px; }
.passport .pp-mrz { margin-top: 12px; font: 500 10px var(--vk-font-mono); letter-spacing: .12em; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .rank, .fair-tool { grid-template-columns: 1fr; } .chain .lab { width: 100%; } }

/* v7: suelo */
.layer-tog { grid-template-columns: repeat(2, 1fr); }
.legend[data-layer="suelo"] .lg-suelo { display: block; }
.legend-ramp.sue i { background: linear-gradient(90deg, #E7DCF8, #9B6BDB, #4B1F8F); }
.soil.real { border-style: solid; border-color: #CDB8F0; background: #F6F1FD; }
.soil.real b { font-size: 15px; }
.soil .sn { font: 800 22px var(--cp-font-display); color: #4B1F8F; }
.soil button { margin-top: 8px; border: 1px solid #CDB8F0; background: #fff; color: #4B1F8F; border-radius: 99px; padding: 7px 14px; font: 600 13px var(--vk-font-text); cursor: pointer; }

/* v8: intereses de desarrollo */
#intereses button.on { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }

/* v9: pasaporte = credencial verificada que abre puertas */
.passport .pp-sig { margin-top: 10px; font: italic 700 22px/1 "Bricolage Grotesque", cursive; color: #FFD98A; }
.passport .f-ver { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: 12px; }
.firma { position: relative; overflow: hidden; border-radius: 22px; padding: 18px; background: #fff; border: 1px solid var(--vk-line); box-shadow: var(--vk-sh-lg); }
.firma::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--cp-accent), var(--cp-sun)); }
.firma .f-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.firma .f-top b { font: 800 18px var(--cp-font-display); color: var(--cp-ink); }
.firma .f-top span { font: 600 12px var(--vk-font-mono); color: var(--vk-fg-3); }
.firma .f-who { margin-top: 6px; font-size: 13.5px; color: var(--vk-fg-2); }
.firma blockquote { margin: 12px 0; padding: 12px 14px; border-left: 3px solid var(--cp-sun); background: var(--cp-accent-bg); border-radius: 0 12px 12px 0; font: 500 15px/1.45 var(--vk-font-text); color: var(--cp-ink); }
.firma .f-st { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font: 600 12.5px var(--vk-font-text); }
.firma .f-st.pend { background: #FFF4DC; color: #8A5A00; } .firma .f-st.ok { background: var(--cp-accent-bg); color: var(--cp-accent-t); }
.firma .f-sig { margin-top: 10px; font: italic 600 22px/1 "Bricolage Grotesque", cursive; color: var(--cp-accent-t); opacity: .9; }
.firma .f-ver { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--cp-accent-t); text-decoration: underline; cursor: pointer; background: none; border: 0; }
.offer { display: grid; gap: 8px; }
.offer .o { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: var(--vk-r-lg); background: #fff; border: 1px solid var(--vk-line); }
.offer .o i { width: 30px; height: 34px; display: grid; place-items: center; background: var(--cp-ink); color: #fff; font: 700 13px var(--vk-font-text); font-style: normal; clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.offer .o.hl i { background: var(--cp-accent-t); }
.offer .o b { display: block; color: var(--cp-ink); font-size: 14.5px; }
.offer .o span { display: block; font-size: 13px; color: var(--vk-fg-2); margin-top: 2px; line-height: 1.45; }
.offer .o .tag { display: inline-block; margin-top: 6px; font: 600 11px var(--vk-font-text); padding: 2px 8px; border-radius: 99px; background: var(--cp-accent-bg); color: var(--cp-accent-t); }
.offer .o .tag.soon { background: #FFF4DC; color: #8A5A00; }
.situ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.situ div { padding: 10px 12px; border-radius: 12px; background: var(--vk-surface-2); border: 1px solid var(--vk-line); min-width: 0; }
.situ dt { font: 600 10.5px var(--vk-font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--cp-accent-t); }
.situ dd { margin: 3px 0 0; font-size: 13px; color: var(--vk-fg-2); line-height: 1.4; }
.situ dd b { color: var(--cp-ink); }
.situ dd small { display: block; margin-top: 4px; font-size: 12px; color: var(--vk-fg-3); }   /* la nota va en su línea, no pegada («referencia.Si te lo ofrecen…») */
@media (max-width: 860px) { .sheet { scroll-margin-top: calc(var(--cp-top-h, 56px) + 6px); } }   /* al saltar al panel en móvil, el aviso de arriba no queda bajo la cabecera fija */
@media (max-width: 860px) { .situ { grid-template-columns: 1fr; } }

/* v11: contenidos */
.topnav { display: flex; gap: 18px; margin-left: auto; margin-right: 18px; }
.topnav a { color: #D8E6E0; text-decoration: none; font: 600 13px var(--vk-font-text); }   /* color sólido (antes #fff con opacity .85) */
.topnav a:hover { color: #fff; text-decoration: underline; }
.proyecto .mision { font: 700 clamp(22px, 2.8vw, 34px)/1.2 var(--cp-font-display); color: var(--cp-ink); max-width: 900px; margin: 0 0 14px; }
.proyecto .busca { font-size: 17px; color: var(--vk-fg-2); max-width: 760px; margin: 0 0 30px; }
.steps6 { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s6; }
.steps6 li { counter-increment: s6; position: relative; padding: 52px 18px 18px; border-radius: var(--vk-r-2xl); background: #fff; border: 1px solid var(--vk-line); }
.steps6 li::before { content: counter(s6); position: absolute; left: 18px; top: 14px; width: 30px; height: 34px; display: grid; place-items: center; background: var(--cp-ink); color: #fff; font: 700 13px var(--vk-font-text); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.steps6 li:nth-child(5)::before { background: var(--cp-sun); color: var(--cp-ink); }
.steps6 b { display: block; font: 700 17px var(--cp-font-display); color: var(--cp-ink); margin-bottom: 4px; }
.steps6 span { color: var(--vk-fg-2); font-size: 14.5px; }
.capaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.capaces div { padding-left: 26px; position: relative; }
.capaces div::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 16px; background: var(--cp-accent); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.capaces b { display: block; color: var(--cp-ink); font-size: 16px; }
.capaces span { color: var(--vk-fg-2); font-size: 14.5px; }
.faq-tools { display: grid; gap: 10px; margin-bottom: 16px; }
.faq-tools input { width: 100%; max-width: 560px; border: 1px solid var(--vk-line-ctl); border-radius: 99px; padding: 11px 16px; background: #fff; font-size: 15px; }
.faq-tools input:focus { border-color: var(--cp-accent-t); box-shadow: 0 0 0 4px rgba(18,163,122,.14); }
.faq-tools input:focus-visible { outline: 3px solid var(--cp-accent-t); outline-offset: 2px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.faq-cats button { border: 1px solid var(--vk-line-ctl); background: #fff; border-radius: 99px; padding: 7px 13px; font: 600 13px var(--vk-font-text); cursor: pointer; color: var(--vk-fg-2); }
.faq-cats button.on { background: var(--cp-ink); border-color: var(--cp-ink); color: #fff; }
.faq-list { display: grid; gap: 8px; max-width: 900px; }
.faq-list details { background: #fff; border: 1px solid var(--vk-line); border-radius: var(--vk-r-lg); padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 15px 0; font: 600 15.5px var(--vk-font-text); color: var(--cp-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 22px/1 var(--vk-font-text); color: var(--cp-accent-t); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 16px; color: var(--vk-fg-2); font-size: 15px; line-height: 1.6; }
.faq-list .cat { font: 600 10.5px var(--vk-font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--vk-fg-4); margin-right: 8px; }
.faq-empty { color: var(--vk-fg-3); }
.foot a { color: inherit; }
@media (max-width: 860px) { .topnav { display: none; } .steps6, .capaces { grid-template-columns: 1fr; } }

/* móvil: la leyenda queda como conmutador compacto justo encima de la hoja, sin pisarse */
@media (max-width: 860px) {
  .legend { top: calc(46svh - 70px); padding: 4px; border-radius: 99px; width: auto; }
  .legend .lg, .legend .legend-go { display: none !important; }
  .legend .layer-tog { margin: 0; }
  .stage .vk-map-fade { pointer-events: none; }
}

/* ── accesibilidad (WCAG 2.1 AA) ── */
/* texto solo para lectores de pantalla, y enlace «Saltar al contenido» */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -80px; padding: 10px 18px; border-radius: 12px; background: #fff; color: var(--cp-ink); font: 700 14px var(--vk-font-text); text-decoration: none; box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.skip-link:focus { top: 12px; outline: 3px solid var(--cp-accent-t); outline-offset: 2px; }
main[tabindex="-1"]:focus, #sheet:focus { outline: none; }   /* destino del enlace: recibe el foco, pero no es un control */
/* el h2 de cada paso recibe el foco al cambiar de paso (tabindex -1): no es un control, no lleva contorno */
.step h2[tabindex="-1"]:focus, #vRes h2[tabindex="-1"]:focus { outline: none; }
/* mapa: resumen en texto (solo se ve cuando su enlace recibe el foco), foco del lienzo y créditos fuera del panel */
.map-sum { position: absolute; z-index: 25; left: 50%; top: calc(var(--cp-top-h) + 12px); transform: translateX(-50%); margin: 0; font-size: 13.5px; line-height: 1.45; }
.map-sum:not(:focus-within) { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.map-sum:focus-within { width: max-content; max-width: min(560px, calc(100% - 28px)); padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--cp-ink); box-shadow: var(--vk-sh-xl); }
.map-sum a { color: var(--cp-accent-t); font-weight: 700; }
.vk-hexmap .maplibregl-canvas:focus-visible { outline: 4px solid var(--cp-ink); outline-offset: -4px; }
.map:focus-within::after { content: ""; position: absolute; inset: 4px; border: 3px solid #fff; pointer-events: none; z-index: 3; }
.maplibregl-ctrl-attrib a { text-decoration: underline; }   /* los créditos del mapa se distinguen sin depender del color (WCAG 1.4.1) */
@media (max-width: 860px) { .map .maplibregl-ctrl-bottom-left { left: auto; right: 0; bottom: 30px; } }   /* en el móvil la hoja sube sobre el borde del mapa: los créditos, a la derecha y por encima */
@media (min-width: 861px) { .map .maplibregl-ctrl-bottom-left { left: calc(var(--cp-sheet-w) + 34px); } }   /* los créditos del mapa, a la vista: el panel los tapaba */
/* desplegable del buscador de zona (combobox) */
.ac-list:empty { display: none; }
.ac-list [role="option"][aria-selected="true"] { background: var(--cp-accent-bg); }
/* paso «Explícanos»: escribir primero, grabar como alternativa («o grábalo con tu voz») */
.rec-o { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; font: 600 13px var(--vk-font-text); color: var(--vk-fg-3); }
.rec-o::before, .rec-o::after { content: ""; flex: 1; height: 1px; background: var(--vk-line); }
.step[data-step="voz"] .field { margin-top: 18px; }
.step[data-step="voz"] .nav { justify-content: flex-end; }

/* ── estado vacío del mapa: en la vista aún no hay 10 personas (aparece sobre el mapa, nunca sobre la hoja) ── */
.map-vacio { position: absolute; z-index: 11; left: calc(var(--cp-sheet-w) + 52px); bottom: 54px; max-width: 320px; padding: 14px 16px 16px; border-radius: var(--vk-r-xl);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.map-vacio[hidden] { display: none; }
.map-vacio p { margin: 0; font: 600 15px/1.3 var(--vk-font-text); color: var(--vk-fg); }
.map-vacio .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 860px) {
  .map-vacio { left: 14px; right: 14px; bottom: auto; top: calc(46svh - 188px); max-width: none; padding: 10px 12px 12px; gap: 8px; }
  .map-vacio p { font-size: 13px; }
  .map-vacio .btn { width: 100%; padding: 9px 14px; font-size: 13px; }
}
/* selector de idioma en la cabecera de la portada (i18n/selector.js rellena el marcador); en el móvil queda a la derecha, junto al logo */
.top .top-lang { display: flex; align-items: center; margin-right: 12px; }
.top .top-lang:empty { display: none; }
@media (max-width: 860px) { .top .top-lang { margin-left: auto; margin-right: 0; } }

/* ══ Móvil · auditoría del 15-oct-2026 (portada): mapa, conmutador de capas, ficha, formulario y resultado. Solo ≤ 860 px. ══ */
@media (max-width: 860px) {
  .map { overflow: hidden; }   /* el radar de «tu zona» mide 460 px y, sin recorte, ensanchaba la página al enviar */
  /* conmutador de capas: 44 px de alto (antes 26) y texto de 13 px */
  .legend { padding: 0; }
  .legend .layer-tog { padding: 2px; gap: 2px; }
  .legend .layer-tog button { min-height: 44px; padding: 0 18px; font-size: 13px; }
  /* ficha de un hexágono: el script la coloca junto al toque y en los bordes se salía de la pantalla;
     en el móvil queda siempre entera, centrada bajo la cabecera */
  .tip { left: 50% !important; top: calc(var(--cp-top-h) + 10px) !important; transform: translateX(-50%); max-width: min(260px, calc(100vw - 28px)); }
  /* formulario y resultado: todo lo que se toca, de 44 px */
  .chips button { min-height: 44px; min-width: 44px; }
  .calc summary { display: flex; align-items: center; min-height: 44px; }
  /* créditos del mapa abiertos: suben sobre el conmutador de capas (el botón de cerrar queda a la izquierda de la barra y el conmutador lo tapaba) */
  .map .maplibregl-ctrl-bottom-left:has(.maplibregl-compact-show) { bottom: 86px; }
  .toggle { align-items: center; min-height: 44px; }
  .check { padding: 6px 0; }
  .btn-link { min-height: 44px; }
  .soil button { min-height: 44px; padding: 0 18px; }
  .pase-acc .btn { min-height: 44px; }
}
@media (max-width: 480px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }   /* nombre y email, uno bajo otro: en dos columnas el email se cortaba */
/* la clasificación se rellena con JavaScript: se reserva el hueco de sus 8 filas (si no, al llegar los datos empujaba toda la página: CLS de 0,2 en tableta) */
.rank ol:empty { min-height: 340px; }
/* móvil en horizontal: el mapa mide 46 % del alto (unos 180 px) y se lo comían el aviso y el conmutador de capas */
@media (max-width: 860px) and (max-height: 520px) {
  .map, .stage .vk-map-fade { height: 260px; }
  .legend { top: calc(260px - 70px); }
  .map-vacio { top: calc(260px - 188px); }
}
/* navegadores sin unidades svh (anteriores a 2022): la misma altura con vh */
@supports not (height: 1svh) {
  @media (max-width: 860px) {
    .map, .stage .vk-map-fade { height: 46vh; }
    .legend { top: calc(46vh - 70px); }
    .map-vacio { top: calc(46vh - 188px); }
  }
}

/* Preguntas: las categorías las pinta JavaScript y empujaban las 40 preguntas, que ya están en el HTML (CLS de 0,07): se reserva su alto (1, 2 o 3 filas según el ancho) */
.faq-cats:empty { min-height: 32px; }
@media (max-width: 860px) { .faq-cats:empty { min-height: 44px; } }
@media (max-width: 460px) { .faq-cats:empty { min-height: 94px; } }
@media (max-width: 380px) { .faq-cats:empty { min-height: 144px; } }

/* ══ Fuentes de reserva con las medidas de Inter y Bricolage Grotesque (auditoría móvil del 15-oct-2026).
   Mientras llega la fuente web (font-display: swap) el texto se pinta con una fuente del sistema escalada al ancho de la fuente web: al llegar, las líneas
   no cambian de ancho ni de salto y nada se mueve (CLS de 0,3 en landings cuando la fuente llega después del primer pintado). Sin descargar nada.
   size-adjust = ancho de la fuente web / ancho de la de reserva, medido con texto real de la web, un valor por peso (Bricolage tiene eje óptico:
   cuanto mayor el cuerpo, más estrecha; valores para titulares de 17 a 32 px).
   «Reserva» = Arial (Windows, macOS, iOS); «Reserva R» = Roboto (Android, donde local("Arial") no existe; Roboto Bold es un 6 % más estrecha que Arial Bold, de ahí
   sus valores propios). Mismo unicode-range que el subconjunto latino de Google: las flechas y demás signos que Inter no trae siguen saliendo de la fuente del sistema.
   Los valores de Roboto se midieron con Roboto de Google Fonts en Chromium; no se han podido probar en un Android real. ══ */
@font-face { font-family: "Inter Reserva"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 106.3%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva"; src: local("Arial"), local("ArialMT"); font-weight: 500; size-adjust: 107.2%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 101.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 102.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva"; src: local("Arial"), local("ArialMT"); font-weight: 400 599; size-adjust: 104.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 99.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 100.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 800; size-adjust: 101.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva R"; src: local("Roboto"), local("Roboto Regular"), local("Roboto-Regular"); font-weight: 400; size-adjust: 106.9%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva R"; src: local("Roboto Medium"), local("Roboto-Medium"); font-weight: 500; size-adjust: 107.2%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 600; size-adjust: 107.6%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Reserva R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 108.5%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva R"; src: local("Roboto"), local("Roboto Regular"), local("Roboto-Regular"); font-weight: 400 599; size-adjust: 105.0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 600; size-adjust: 105.1%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 106.4%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Reserva R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 800; size-adjust: 107.7%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --vk-font-text: "Inter", "Inter Reserva", "Inter Reserva R", -apple-system, "Segoe UI", Roboto, sans-serif;
  --cp-font-display: "Bricolage Grotesque", "Bricolage Reserva", "Bricolage Reserva R", var(--vk-font-text);
}
/* móvil estrecho: el selector de idioma no cabe junto a «una iniciativa de eVoost»; se oculta esa línea (eVoost sigue en el pie) */
@media (max-width: 520px) { .top .brand-by { display: none; } }
