/* Site 11 - es-seller: tablero.css, copied by scripts/build.py into public/recursos/.
   Mobile-first. A single sticky bar (.barra) across the TOP carries the four clusters;
   there is no left rail (that is site 09) and no footer navigation (that is site 10) --
   this sheet has no <footer> rules at all because the generator never emits one.
   No framework, no remote font, no script. Light by default, dark via
   prefers-color-scheme, both branches kept in step by hand. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --ink: #16181d;
  --muted: #5b616b;
  --line: #dfdad0;
  --panel: #f1ede2;
  --accent: #a6321f;
  --accent-2: #0f5c4a;
  --sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", Cambria, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --ink: #e9e9ea;
    --muted: #a3a7ae;
    --line: #2c2f35;
    --panel: #1c1f24;
    --accent: #e2735c;
    --accent-2: #5cc6a4;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.62 var(--sans);
}

a { color: var(--accent-2); }
a:hover, a:focus { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* --- .barra: sticky top bar, the site's only navigation ------------------- */
.barra {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.marca {
  font: 700 0.85rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.marca[aria-current="page"] { color: var(--accent); }
.barra-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}
.barra-lista a {
  display: inline-block;
  padding: 0.2rem 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.barra-lista a:hover, .barra-lista a:focus { color: var(--ink); }
.barra-lista a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* --- .tablero: the content column ----------------------------------------- */
.tablero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.6rem 1.1rem 3rem;
}

.migas {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.migas a { color: var(--muted); }
.migas a:hover, .migas a:focus { color: var(--accent-2); }

h1 {
  font: 400 1.85rem/1.2 var(--serif);
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
h2 {
  font: 600 1.1875rem/1.3 var(--sans);
  margin: 2rem 0 0.6rem;
}
h3 {
  font: 600 1rem/1.4 var(--sans);
  margin: 1.1rem 0 0.35rem;
}
p { margin: 0 0 0.95rem; }

/* --- .arranque: the opening passage, must read standalone ------------------ */
.arranque {
  font: 400 1.1875rem/1.58 var(--serif);
  color: var(--ink);
}

/* --- .datos: the atomic-facts block; .dato marks each item inside ---------- */
.datos {
  margin: 1.5rem 0 2rem;
  padding: 0.9rem 1.1rem 1rem;
  background: var(--panel);
  border-left: 3px solid var(--accent-2);
}
.datos h2 {
  margin: 0 0 0.55rem;
  font: 700 0.6875rem/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.datos ul { margin: 0; padding-left: 1.1rem; }
.datos li { margin-bottom: 0.45rem; font-size: 0.96875rem; }
.datos li:last-child { margin-bottom: 0; }
/* .dato lives on a <span> inside each <li>, not on the <li> itself: the network's
   technical gate counts facts by matching the literal string "<li>" with no attributes,
   so any class on the <li> element itself would silently zero out the count. */
.dato { }

/* --- .tramo: one content section -------------------------------------------- */
.tramo { margin: 0 0 1.5rem; }
.puntos { margin: 0 0 0.95rem; padding-left: 1.15rem; }
.puntos li { margin-bottom: 0.35rem; }

/* --- .pliegue: one FAQ card --------------------------------------------------- */
.pliegue {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.9rem;
}
.pliegue h3 { margin-top: 0; }
.pliegue p { margin-bottom: 0; color: var(--muted); }

/* --- .consulta: the commercial call to action --------------------------------- */
.consulta {
  margin: 2.2rem 0 1rem;
  padding: 1.15rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--panel);
}
.consulta h2 { margin-top: 0; }
.consulta p { margin-bottom: 0.7rem; }
.consulta-contacto a { font-weight: 600; }

/* --- .cierre: page-level close; no site navigation lives here ----------------- */
.cierre {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.cierre p { margin: 0 0 0.3rem; }
.cierre .volver a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* --- wide screens: a little more breathing room, same single column ----------- */
@media (min-width: 48rem) {
  .barra { padding: 0.8rem 2rem; }
  .tablero { padding: 2.2rem 2rem 3.5rem; max-width: 46rem; }
  h1 { font-size: 2.25rem; }
}
