/* ═══════════════════════════════════════════════════════════════════════
   Páginas legales. Mismos colores y tipografías que la web, pero sin nada
   de la maquinaria de scroll: aquí se viene a leer, no a que te impresionen.
   Hoja aparte y no `styles.css` a propósito — esa pesa 60 kB de animaciones
   que estas páginas no usan.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #05070a;
  --bg-2: #090d12;
  --bg-3: #0d1218;
  --accent: #4fcfde;
  --accent-soft: rgba(79, 207, 222, 0.13);
  --accent-line: rgba(79, 207, 222, 0.34);
  --on-accent: #032027;
  --text: #f1f6f7;
  --muted: #97a3ab;
  --muted-dim: #65717a;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.15);
  --aviso: #f0c674;
  --aviso-fondo: rgba(240, 198, 116, 0.09);

  --ui: 'Jost', system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.env { max-width: 760px; margin: 0 auto; padding: 0 22px 100px; }

/* ── Cabecera ─────────────────────────────────────────────────────────── */
.cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.cab__marca {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.cab__marca svg { width: 30px; height: 21px; color: var(--accent); overflow: visible; }
.cab__volver { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.cab__volver:hover { color: var(--accent); }

/* ── Texto ────────────────────────────────────────────────────────────── */
.tipo {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
h1 {
  font-family: var(--sans);
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin: 0 0 16px;
  text-wrap: balance;
}
.fecha { color: var(--muted-dim); font-size: 0.88rem; margin: 0 0 44px; }

h2 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-wrap: balance;
}
h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 650;
  margin: 30px 0 8px;
}
p { margin: 0 0 15px; color: #d7e0e3; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-line); }
a:hover { border-bottom-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

ul, ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
ol { counter-reset: n; }
li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: #d7e0e3;
}
ul > li::before {
  content: '';
  position: absolute;
  left: 5px; top: 0.78em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}
ol > li::before {
  counter-increment: n;
  content: counter(n) '.';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-size: 0.88em;
  font-variant-numeric: tabular-nums;
}

/* ── Índice ───────────────────────────────────────────────────────────── */
.indice {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 8px;
}
.indice p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 12px;
}
.indice ol { margin: 0; }
.indice li { margin-bottom: 6px; }
.indice a { border-bottom: 0; color: #d7e0e3; }
.indice a:hover { color: var(--accent); }

/* ── Tablas ───────────────────────────────────────────────────────────── */
.tabla { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-dim);
  font-weight: 600;
  background: var(--bg-3);
  white-space: nowrap;
}
td { color: #d7e0e3; }
tr:last-child td { border-bottom: 0; }
td code, p code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--accent);
}

/* ── Destacados ───────────────────────────────────────────────────────── */
.nota {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 13px;
  padding: 20px 24px;
  margin: 26px 0;
}
.nota p:last-child { margin-bottom: 0; }
.nota__t {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Lo que falta por rellenar. Chilla a propósito: un aviso legal sin NIF es
   una infracción, y un hueco discreto se queda ahí para siempre. */
.falta {
  background: var(--aviso-fondo);
  color: var(--aviso);
  border: 1px dashed var(--aviso);
  border-radius: 5px;
  padding: 0.05em 0.45em;
  font-size: 0.93em;
  font-weight: 600;
}

/* ── Pie ──────────────────────────────────────────────────────────────── */
.pie {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 0.9rem;
}
.pie a { color: var(--muted); border-bottom: 0; }
.pie a:hover { color: var(--accent); }
.pie__c { color: var(--muted-dim); margin-left: auto; }

@media (max-width: 620px) {
  .pie__c { margin-left: 0; width: 100%; }
}

@media print {
  body { background: #fff; color: #000; }
  .cab, .pie { border-color: #ccc; }
  p, td, li { color: #000; }
  a { color: #000; }
}
