/* Shared styles for the legal pages (terminos.html, privacidad.html) */
@font-face { font-family: 'Nura'; src: url('uploads/Nura/WOFF/Nura-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }

html, body { margin: 0; padding: 0; background: #c4c3b6; }
* { box-sizing: border-box; }
a { color: #000000; text-decoration: none; }
a:hover { color: #4a4a44; }

.page {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  background: #c4c3b6;
  color: #000000;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 32px 32px 0;
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1280px; inline-size: 100%; margin-inline: auto; }
.logo { font-family: 'Nura', 'Playfair Display', Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1; }
.back { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #4a4a44; }

.doc { flex: 1; inline-size: 100%; max-width: 760px; margin: 72px auto 96px; }
.eyebrow { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #4a4a44; }
.doc h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.8px; text-wrap: balance; }
.doc h1 em { font-style: italic; color: #4a4a44; }
.updated { margin: 20px 0 0; padding-block-end: 36px; border-block-end: 1px solid rgba(0,0,0,0.22); font-size: 13px; color: #4a4a44; }

.doc section { padding-block: 32px; border-block-end: 1px solid rgba(0,0,0,0.12); }
.doc section:last-child { border-block-end: none; }
.doc h2 { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.2px; }
.doc p, .doc li, .doc td, .doc th { font-size: 15px; line-height: 1.65; color: #2b2b27; text-wrap: pretty; }
.doc p { margin: 0 0 12px; }
.doc p:last-child { margin-block-end: 0; }
.doc ul { margin: 0 0 12px; padding-inline-start: 20px; }
.doc li { margin-block-end: 6px; }
.doc strong { color: #000000; font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,0.35); }

.doc table { inline-size: 100%; margin: 4px 0 16px; border-collapse: collapse; }
.doc th, .doc td { padding: 12px 14px; border: 1px solid rgba(0,0,0,0.18); text-align: start; vertical-align: top; }
.doc th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(0,0,0,0.04); }

.foot { display: flex; align-items: center; gap: 20px; margin-inline: -32px; padding: 28px 32px; background: #000000; color: #ffffff; }
.foot .line { flex: 1 1 auto; min-inline-size: 40px; block-size: 1px; background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.15)); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.foot a { color: #ffffff; }
.foot a:hover { color: rgba(255,255,255,0.7); }
.foot a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 640px) {
  .page { padding: 24px 16px 0; }
  .doc { margin-block: 48px 64px; }
  .foot { margin-inline: -16px; padding: 24px 16px; }
  .foot .line { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td + td { border-block-start: none; }
  .doc tr { margin-block-end: 12px; }
}
