/* Diseño F (elegido por el dueño el 14-10-2026): tokens, tipografía, base y botones.
   Fuentes servidas desde /fuentes (CSP font-src 'self'): Bricolage Grotesque y Geist, OFL.
   Contraste AA revisado: --ink-3 y el anillo de foco se oscurecen respecto al boceto.
   Acento = los colores del logo de Solmap (06-11-2026): ámbar #ffb400 en oscuro; en claro azul petróleo:
   #176a7a (el de la marca) para lo decorativo y #10505c (mismo tono, 192°) para texto y foco, porque
   #176a7a no llega a 4,5:1 sobre --bg-2 ni sobre el lavado de acento. Ratios (WCAG 2.x), mínimo de los
   4 fondos: claro --foco-ink 5,66:1 (5,61 sobre el lavado de --surface; 4,71 sobre el de --bg-2),
   --foco 4,38:1; oscuro --foco-ink 8,62:1 (6,43 sobre el lavado). */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fuentes/geist-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fuentes/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ecebe7; --bg-2: #e3e2dd; --surface: #f8f7f4; --surface-2: #ffffff;
  --ink: #19191c; --ink-2: #55545b; --ink-3: #66656c;
  --line: rgba(25, 25, 28, 0.11); --line-2: rgba(25, 25, 28, 0.18); --line-campo: rgba(25, 25, 28, 0.42);
  --foco: #176a7a; --foco-ink: #10505c; --foco-wash: rgba(23, 106, 122, 0.14); --anillo: #10505c;
  --ok: #1f7a4d; --ok-wash: rgba(31, 122, 77, 0.12); --bad: #b3261e; --bad-wash: rgba(179, 38, 30, 0.1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(25, 25, 28, 0.06), 0 12px 32px -12px rgba(25, 25, 28, 0.18);
  --shadow-s: 0 1px 2px rgba(25, 25, 28, 0.07), 0 0 0 1px var(--line);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --f-d: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-t: 'Geist', ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #141416; --bg-2: #1a1a1d; --surface: #1d1d21; --surface-2: #25252a;
  --ink: #ededef; --ink-2: #a6a5ac; --ink-3: #8c8b92;
  --line: rgba(237, 237, 239, 0.1); --line-2: rgba(237, 237, 239, 0.18); --line-campo: rgba(237, 237, 239, 0.4);
  --foco: #ffb400; --foco-ink: #ffb400; --foco-wash: rgba(255, 180, 0, 0.14); --anillo: #ffb400;
  --ok: #5bc48c; --ok-wash: rgba(91, 196, 140, 0.13); --bad: #ff8a80; --bad-wash: rgba(255, 138, 128, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --shadow-s: 0 0 0 1px var(--line);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #141416; --bg-2: #1a1a1d; --surface: #1d1d21; --surface-2: #25252a;
    --ink: #ededef; --ink-2: #a6a5ac; --ink-3: #8c8b92;
    --line: rgba(237, 237, 239, 0.1); --line-2: rgba(237, 237, 239, 0.18); --line-campo: rgba(237, 237, 239, 0.4);
    --foco: #ffb400; --foco-ink: #ffb400; --foco-wash: rgba(255, 180, 0, 0.14); --anillo: #ffb400;
    --ok: #5bc48c; --ok-wash: rgba(91, 196, 140, 0.13); --bad: #ff8a80; --bad-wash: rgba(255, 138, 128, 0.12);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --shadow-s: 0 0 0 1px var(--line);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-t); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
svg { display: block; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--anillo); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.saltar:focus { top: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-d); font-weight: 600; font-size: 19px; letter-spacing: 0; }
.logo svg { width: 26px; height: 26px; }
.logo .punto { fill: var(--foco); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 550; font-size: 15px; text-decoration: none; transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-p { background: var(--ink); color: var(--bg); }
.btn-s { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-no { color: var(--bad); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 40%, transparent); }
:root[data-theme='dark'] .btn-ok { color: #0f1a14; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn-ok { color: #0f1a14; }
}
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn-p:hover { background: color-mix(in oklab, var(--ink) 86%, var(--foco)); }
  .btn-s:hover { background: var(--surface); }
}
.lnk { color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 5px; padding: 0 3px; background: color-mix(in oklab, var(--foco) 14%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }   /* sin subrayado (orden del dueño, 14-11-2026): resaltado y en negrita */
.lnk:hover { background: color-mix(in oklab, var(--foco) 26%, transparent); }
/* Zona táctil de 44 px sin mover el texto (recorrido 11-11-2026): relleno y margen negativo iguales. */
a.lnk { padding: 14px 8px; margin: -14px -8px; background-clip: content-box; }   /* el resaltado, pegado al texto: no tapa las líneas de al lado */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
