/* Páginas legales de garraio.es: mismos tokens que la portada, lectura cómoda (medida ~68 caracteres, interlineado amplio). */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fondo: #0B0D14;
  --superficie: #151822;
  --borde: rgb(245 247 255 / 0.1);
  --texto: #F5F7FF;
  --tenue: #9198AD;
  --marca: #E3202B;
  --rosa: #F18F95;
  --ambar: #FFB84D;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background:
    radial-gradient(60% 40% at 90% -5%, rgb(227 32 43 / 0.22), transparent 70%),
    var(--fondo);
  background-attachment: fixed;
  color: var(--texto);
  font: 400 1.0625rem/1.7 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rosa); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }

.cab {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: max(12px, env(safe-area-inset-top)) 20px 12px;
  background: rgb(11 13 20 / 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 -1px 0 rgb(245 247 255 / 0.06);
}
.cab__dentro { display: flex; align-items: center; justify-content: space-between; max-width: 760px; margin: 0 auto; }
.cab img { height: 26px; width: auto; display: block; }
.cab a.volver { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgb(245 247 255 / 0.07); color: var(--texto); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: transform 100ms ease-out; }
.cab a.volver:active { transform: scale(0.96); }

main { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
h1 { margin: 0 0 10px; font: 800 clamp(2.2rem, 7vw, 3.4rem)/1.02 "Bricolage Grotesque", "Inter", sans-serif; letter-spacing: -0.04em; text-wrap: balance; }
.fecha { margin: 0 0 30px; color: var(--tenue); font-size: 0.92rem; }
h2 { margin: 44px 0 10px; font: 750 1.35rem/1.25 "Inter", sans-serif; letter-spacing: -0.02em; }
h3 { margin: 26px 0 6px; font-size: 1.05rem; font-weight: 650; }
p, li { color: #CDD2E0; text-wrap: pretty; }
strong { color: var(--texto); font-weight: 650; }
ul, ol { padding-left: 1.25em; }
li { margin: 6px 0; }
.resumen { margin: 0 0 8px; padding: 20px 22px; border-radius: 18px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--borde); }
.resumen p { margin: 0; }
.indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.indice a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgb(245 247 255 / 0.06); color: #D6DAE6; font-size: 0.85rem; text-decoration: none; }
.indice a:hover { background: rgb(245 247 255 / 0.12); }
table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--borde); text-align: left; vertical-align: top; color: #CDD2E0; }
th { color: var(--texto); font-weight: 650; }
.tabla { overflow-x: auto; }
/* Datos que el titular debe completar antes de publicar. */
.pendiente { padding: 1px 6px; border-radius: 6px; background: rgb(255 184 77 / 0.16); color: var(--ambar); font-weight: 600; }
.pie { max-width: 760px; margin: 0 auto; padding: 26px 20px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borde); color: #6F768A; font-size: 0.85rem; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.pie nav a { color: #C5CADB; text-decoration: none; }
.pie nav a[aria-current] { color: #fff; text-decoration: underline; }
.cab__acciones { display: flex; align-items: center; gap: 8px; }
.cab a.idioma-legal { padding: 8px 12px; border-radius: 999px; background: rgb(245 247 255 / 0.07); color: var(--tenue); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.04em; text-decoration: none; }
.cab a.idioma-legal:hover { color: #fff; }
