:root {
  --acento: #fea619;
  --acento-hover: #D97706;
  --acento-texto: #855300;
  --acento-50: #FEF3C7;
  --tinta: #0b1c30;
  --texto: #45464d;
  --suave: #6b7280;
  --borde: #E2E8F0;
  --fondo-alt: #F8FAFC;
  --noche: #0B132B;
  --noche-2: #1E293B;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; color: var(--tinta); line-height: 1.2; }
a { color: var(--acento-texto); }
a:hover { color: var(--acento-hover); }
img { max-width: 100%; display: block; }

.header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--borde); }
.header .contenedor { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header .logo img { height: 44px; width: auto; }
.volver { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.volver svg { width: 18px; height: 18px; }

.portada { background: var(--noche); border-bottom: 4px solid var(--acento); }
.portada .contenedor { max-width: 820px; margin: 0 auto; padding: 56px 24px 40px; }
.portada .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acento); }
.portada h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 10px 0 12px; color: #fff; }
.portada p { margin: 0; color: #cbd5e1; }

.legal { max-width: 820px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; padding-top: 4px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--tinta); }

.indice { background: #fff; border: 1px solid var(--borde); border-radius: 8px; padding: 20px 24px; margin-bottom: 8px; }
.indice strong { display: block; font-family: "Space Grotesk", sans-serif; margin-bottom: 8px; }
.indice ol { margin: 0; columns: 2; column-gap: 32px; font-size: 15px; }
.indice a { text-decoration: none; }

.ficha { background: var(--acento-50); border-radius: 8px; padding: 18px 22px; margin: 16px 0 20px; }
.ficha dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.ficha dt { font-weight: 600; color: var(--tinta); }
.ficha dd { margin: 0; }

.tabla { width: 100%; overflow-x: auto; margin: 12px 0 20px; }
.tabla table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--borde); }
.tabla th { background: var(--fondo-alt); color: var(--tinta); font-weight: 600; }

.pie { background: var(--noche); color: #94a3b8; font-size: 14px; }
.pie .contenedor { max-width: 1160px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pie .logo-pie { height: 40px; width: auto; background: #fff; padding: 4px 8px; border-radius: 4px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pie a { color: #94a3b8; text-decoration: none; }
.pie a:hover, .pie a[aria-current] { color: #fff; }
.pie p { margin: 0; }

@media (max-width: 640px) {
  .header .contenedor { padding: 0 16px; }
  .header .logo img { height: 36px; }
  .portada .contenedor, .legal { padding-left: 16px; padding-right: 16px; }
  .indice ol { columns: 1; }
  .ficha dl { grid-template-columns: 1fr; gap: 2px; }
  .ficha dd { margin-bottom: 8px; }
  .pie .contenedor { flex-direction: column; text-align: center; }
}
