/* ================================================================
   VEKTORA — Páginas legales
   Comparte tokens con index.html. Tipografía cómoda para lectura.
================================================================ */
:root {
  --bg:        #080706;
  --surface-1: #0F0E0D;
  --surface-2: #161413;
  --amber:     #D4A574;
  --amber-bright:#E8C49A;
  --cream:     #F5F1E8;
  --text-2:    #948A7C;
  --text-3:    #5E5648;
  --border:    #1E1B18;
  --border-soft:#151311;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content:''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: .55; mix-blend-mode: overlay;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ──────────────────────────────
   NAV (idéntico al de la home)
─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  background: rgba(8,7,6,.86);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  z-index: 100; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.nav-logo:hover { text-decoration: none; }
.nav-logo-text {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  color: var(--cream); letter-spacing: -.03em;
}
.nav-logo-dot { color: var(--amber); }
.nav-meta {
  font-family: var(--sans); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-3);
  display: none;
}
@media(min-width:840px){ .nav-meta { display: inline-block; } }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-link {
  font-size: 12px; letter-spacing: .04em; color: var(--text-2);
  text-decoration: none; display: none;
}
.nav-link:hover { color: var(--cream); text-decoration: none; }
@media(min-width:720px){ .nav-link { display: inline; } }
.btn-nav {
  background: var(--amber); color: var(--bg);
  padding: 9px 18px; font-size: 12px; letter-spacing: .04em;
  border-radius: 3px; font-weight: 500; font-family: var(--sans);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: background 200ms ease;
}
.btn-nav:hover { background: var(--amber-bright); text-decoration: none; }

/* ──────────────────────────────
   LAYOUT
─────────────────────────────── */
.page {
  padding: clamp(110px, 14vw, 160px) clamp(20px, 5vw, 48px) clamp(80px, 10vw, 120px);
  max-width: 820px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: 11px;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content:''; width: 24px; height: 1px; background: var(--amber); opacity: .6;
}
.page h1 {
  font-family: var(--serif); font-style: italic; color: var(--cream);
  font-weight: 400; text-wrap: balance;
  font-size: clamp(34px, 4.8vw, 56px); line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.page-lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-2); max-width: 640px;
  line-height: 1.7; text-wrap: pretty;
}
.page-updated {
  margin-top: 22px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}

/* ──────────────────────────────
   TIPOGRAFÍA DEL CONTENIDO
─────────────────────────────── */
.page h2 {
  font-family: var(--serif); font-style: italic;
  color: var(--cream); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2; letter-spacing: -.015em;
  margin-top: clamp(48px, 6vw, 64px);
  margin-bottom: 20px;
  text-wrap: balance;
}
.page h2:first-of-type { margin-top: 0; }
.page h2 .num {
  font-family: var(--serif); font-style: italic;
  color: var(--amber); opacity: .55;
  font-size: .8em; margin-right: 14px;
  letter-spacing: .04em;
}
.page h3 {
  font-family: var(--sans); font-weight: 400; font-style: normal;
  color: var(--cream); font-size: 16px;
  letter-spacing: -.005em;
  margin-top: clamp(28px, 3vw, 36px);
  margin-bottom: 12px;
}
.page p {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
  text-wrap: pretty;
  max-width: 680px;
}
.page p:last-child { margin-bottom: 0; }
.page p strong { color: var(--cream); font-weight: 500; }
.page p em { font-style: italic; color: var(--cream); }

.page ul, .page ol {
  margin: 8px 0 22px;
  padding-left: 0;
  list-style: none;
  max-width: 680px;
}
.page ul li, .page ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.7;
  text-wrap: pretty;
}
.page ul li::before {
  content:''; position: absolute;
  left: 0; top: .75em;
  width: 14px; height: 1px;
  background: var(--amber); opacity: .55;
}
.page ol { counter-reset: legalol; }
.page ol li { counter-increment: legalol; }
.page ol li::before {
  content: counter(legalol, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-style: italic;
  color: var(--amber); opacity: .65;
  font-size: 14px; line-height: 1.7;
}

/* tabla de datos legales */
.data-card {
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 32px;
}
.data-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.data-row:last-of-type { border-bottom: none; }
@media(max-width:600px){
  .data-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}
.data-lbl {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3); line-height: 1.5;
}
.data-val {
  font-family: var(--sans); font-size: 14.5px;
  color: var(--cream); line-height: 1.55;
}
.pending {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .04em;
  color: var(--amber);
  padding: 3px 8px; border: 1px dashed var(--amber);
  border-radius: 2px; display: inline-block;
  background: rgba(212,165,116,.06);
}

/* Tabla de cookies */
.cookie-table {
  width: 100%;
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 3px;
  overflow: hidden;
  font-size: 14px;
}
.cookie-table thead th {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3);
  text-align: left; font-weight: 400;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.cookie-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.55;
}
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table tbody td strong { color: var(--cream); font-weight: 500; }
.cookie-table .tag {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber);
}
@media(max-width:680px){
  .cookie-table, .cookie-table thead, .cookie-table tbody,
  .cookie-table tr, .cookie-table th, .cookie-table td { display: block; }
  .cookie-table thead { display: none; }
  .cookie-table tbody tr {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
  }
  .cookie-table tbody td { padding: 4px 0; border: none; }
}

/* Aside / nota destacada */
.note {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 2px solid var(--amber);
  background: var(--surface-1);
  border-radius: 0 3px 3px 0;
  max-width: 680px;
}
.note p {
  font-size: 14.5px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 0;
}
.note p + p { margin-top: 12px; }

/* CTA volver */
.back-row {
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; align-items: center;
}
.back-row a.back-link {
  font-family: var(--sans); font-size: 13px;
  color: var(--text-2); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.back-row a.back-link:hover { color: var(--amber); text-decoration: none; }
.back-row .legal-cross {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3);
}
.back-row .legal-cross a { color: var(--text-3); }
.back-row .legal-cross a:hover { color: var(--amber); text-decoration: none; }
.back-row .legal-cross .dot {
  font-family: var(--serif); font-style: italic; opacity: .55;
}

/* ──────────────────────────────
   FOOTER (idéntico)
─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: var(--text-3);
}
.footer-logo {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  color: var(--text-3); display: flex; align-items: center; gap: 8px;
}
.footer-logo span { color: var(--amber); opacity: .5; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 12px;
}
.footer-legal a {
  color: var(--text-3); text-decoration: none;
  transition: color 180ms ease; padding: 4px 0;
}
.footer-legal a:hover { color: var(--amber); text-decoration: none; }
.footer-legal .dot {
  color: var(--text-3); opacity: .55;
  font-family: var(--serif); font-style: italic;
}
.footer-icons { display: flex; gap: 6px; }
.footer-icons a {
  color: var(--text-3); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px;
  transition: color 180ms ease;
}
.footer-icons a:hover { color: var(--amber); text-decoration: none; }
