/* Base compartida: fuentes locales (OFL), variables y componentes del celular y del admin.
   Idea: carbón y dorado de la marca; un pasaporte de papel grueso en el celular y un tablero en la pantalla grande. */
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/caladea-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/caladea-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/carlito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/carlito-latin-700-normal.woff2') format('woff2'); }

:root {
  --char: #29292A; --char-2: #323234; --char-3: #3c3c3f; --line: #4b4b4f;
  --gold: #C8922A; --gold-soft: #E6B85C; --ink: #F4EFE4; --ink-2: #B7B1A3;
  --ok: #6CC08A; --bad: #E27866;
  --display: 'Caladea', 'Cambria', Georgia, serif;
  --body: 'Carlito', 'Calibri', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--char); color: var(--ink); font: 400 16px/1.35 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; text-wrap: balance; }
.eyebrow { font: 700 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.lead { color: var(--ink-2); margin: 8px 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.inp, .sel { width: 100%; background: var(--char-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 17px; }
.btn { background: var(--gold); color: #1d1d1e; border: 0; border-radius: 10px; padding: 13px 16px; font-weight: 700; font-size: 16px; letter-spacing: .03em; width: 100%; }
.btn.ghost { background: none; border: 1px solid var(--line); color: var(--ink); }
.btn.small { width: auto; padding: 8px 12px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.err { color: var(--bad); min-height: 20px; margin: 8px 0 0; font-size: 15px; }
.err.okmsg { color: var(--ok); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--gold); color: #1d1d1e; padding: 10px 18px; border-radius: 10px; font-weight: 700; z-index: 50; max-width: 92vw; text-align: center; }
.muted { color: var(--ink-2); }
.ok { color: var(--ok); } .mid { color: var(--gold-soft); } .low { color: var(--bad); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
