@font-face { font-family: Editorial; src: url("../assets/fonts/Editorial.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: Interface; src: url("../assets/fonts/Interface.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #2e2e2a;
  --surface: #35352f;
  --ink: #fcfcfa;
  --text: #c9c4b8;
  --muted: #c9c4b8;
  --line: rgba(252, 252, 250, 0.12);
  --accent: #e8e2d6;
  --paper: #f5f1e8;
  --paper-ink: #2e2e2a;
  --serif: Editorial, Georgia, serif;
  --sans: Interface, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  min-width: 0; margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--ink); text-decoration-color: rgba(252,252,250,.35); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell { width: min(100% - 40px, 820px); margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0 24px; border-bottom: 1px solid var(--line); }
.marca { display: block; line-height: 0; }
.marca img { width: 118px; height: auto; filter: brightness(0) invert(1); }
.volver { font-size: 13px; }

.document { padding: 84px 0 76px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1.04; letter-spacing: -.025em; }
h2 { margin: 64px 0 18px; font-size: clamp(27px, 3.6vw, 36px); line-height: 1.12; letter-spacing: -.015em; }
h3 { margin: 32px 0 8px; color: var(--ink); font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.4; }
.lede { max-width: 680px; margin: 26px 0 0; color: var(--text); font-size: 20px; line-height: 1.6; }
.actualizacion { margin: 30px 0 0; color: var(--muted); font-size: 13px; }

.panel { margin-top: 52px; padding: 32px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.panel h2 { margin-top: 0; }
p, li { color: var(--text); }
strong { color: var(--ink); font-weight: 500; }
ul { padding-left: 22px; }
li + li { margin-top: 8px; }

.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin: 28px 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { min-width: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { color: var(--ink); }

.callout { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ink); color: var(--text); }
.callout strong { color: var(--ink); }

.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; }
.site-footer { padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 820px); }
  .topbar { padding-top: 22px; }
  .marca img { width: 100px; }
  .document { padding: 56px 0 52px; }
  .lede { font-size: 18px; }
  .panel { padding: 22px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 2px; border-bottom: 0; }
  .facts dd { padding-top: 2px; }
}

/* Tablas de la política de privacidad (permisos de Google y plazos de conservación). */
.shell table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; line-height: 1.5; }
.shell th, .shell td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.shell th { color: var(--muted); font-weight: 400; font-size: 13px; letter-spacing: .02em; }
@media (max-width: 640px) {
  .shell table, .shell thead, .shell tbody, .shell tr, .shell th, .shell td { display: block; }
  .shell thead { display: none; }
  .shell td { padding: 4px 0; border-bottom: 0; }
  .shell tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
}
