/* =============================================================
   POLÍTICAS — documento editorial legal
   prefijo: pol
   ============================================================= */
:root {
  --pol-ink: #1a1614;
  --pol-ink-soft: #4a3f38;
  --pol-mute: rgba(26, 22, 20, 0.55);
  --pol-line: rgba(26, 22, 20, 0.10);
  --pol-cream: #efe6dc;
  --pol-cream-soft: #f5ecde;
  --pol-ivory: #fbf6ed;
  --pol-white: #ffffff;
  --pol-gold: #b89968;
  --pol-gold-soft: #d4b78a;
  --pol-gold-deep: #9a7d52;
  --pol-display: 'Space Grotesk', system-ui, sans-serif;
  --pol-serif: 'EB Garamond', Georgia, serif;
  --pol-cormo: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --pol-mono: 'JetBrains Mono', monospace;
  --pol-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body { background: var(--pol-ivory); }
.pol { color: var(--pol-ink); font-family: var(--pol-display); }
.pol em { font-family: var(--pol-cormo); font-style: italic; font-weight: 400; color: var(--pol-gold); }

/* =============================================================
   HERO
   ============================================================= */
.pol__hero {
  background: linear-gradient(180deg, var(--pol-cream-soft) 0%, var(--pol-ivory) 100%);
  padding: clamp(110px, 16vh, 160px) clamp(24px, 4vw, 56px) clamp(56px, 8vh, 80px);
  border-bottom: 1px solid var(--pol-line);
  text-align: center;
}
.pol__hero-inner { max-width: 880px; margin: 0 auto; }
.pol__crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pol-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pol-gold-deep); margin-bottom: 22px;
}
.pol__crumb a { color: var(--pol-gold-deep); text-decoration: none; transition: color 0.3s ease; }
.pol__crumb a:hover { color: var(--pol-ink); }
.pol__crumb span[aria-hidden] { color: var(--pol-gold); }
.pol__title {
  font-family: var(--pol-display); font-weight: 200;
  font-size: clamp(34px, 5.6vw, 64px); line-height: 1.04;
  letter-spacing: -0.025em; color: var(--pol-ink);
  margin: 0 0 22px;
}
.pol__lede {
  font-weight: 300; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65;
  color: var(--pol-ink-soft); margin: 0 auto 28px; max-width: 640px;
}
.pol__updated {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--pol-mono);
  font-size: 10.5px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--pol-mute);
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(184, 153, 104, 0.28);
}
.pol__updated time { color: var(--pol-ink); font-weight: 500; }

/* =============================================================
   GRID: TOC + content
   ============================================================= */
.pol__body { padding: clamp(56px, 8vh, 96px) clamp(24px, 4vw, 56px) clamp(64px, 12vh, 140px); }
.pol__grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* ----- TOC (sticky en desktop) ----- */
.pol__toc {
  position: sticky;
  top: 110px;
}
.pol__toc-label {
  font-family: var(--pol-mono);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pol-gold-deep);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pol-line);
}
.pol__toc ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pol__toc a {
  display: block;
  font-family: var(--pol-display);
  font-size: 13.5px; font-weight: 400; line-height: 1.45;
  color: var(--pol-ink-soft);
  text-decoration: none;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--pol-line);
  transition: color 0.3s ease, border-color 0.3s ease, padding-left 0.3s var(--pol-ease);
}
.pol__toc a:hover {
  color: var(--pol-ink);
  border-color: var(--pol-gold);
  padding-left: 18px;
}

/* ----- Article ----- */
.pol__article {
  max-width: 720px;
  font-size: 16px; line-height: 1.75;
  color: var(--pol-ink);
  font-weight: 300;
}
.pol__article p { margin: 0 0 16px; }
.pol__article p strong { color: var(--pol-ink); font-weight: 500; }
.pol__article ul {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.pol__article ul li {
  position: relative;
  padding: 4px 0 4px 24px;
  color: var(--pol-ink-soft);
}
.pol__article ul li::before {
  content: ''; position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 1px;
  background: var(--pol-gold);
}

/* Intro */
.pol__intro {
  margin-bottom: clamp(40px, 5vh, 56px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--pol-white);
  border-radius: 16px;
  border: 1px solid rgba(184, 153, 104, 0.18);
  box-shadow: 0 16px 40px -24px rgba(184, 153, 104, 0.20);
}
.pol__intro p {
  margin: 0;
  font-family: var(--pol-cormo);
  font-style: italic; font-weight: 400;
  font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55;
  color: var(--pol-ink);
}
.pol__intro p strong {
  font-family: var(--pol-display); font-style: normal; font-weight: 500;
  color: var(--pol-ink);
}
.pol__intro p em { color: var(--pol-gold-deep); }

/* Sections */
.pol__section {
  margin: 0 0 clamp(40px, 5vh, 56px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--pol-line);
}
.pol__section:first-of-type { border-top: 0; padding-top: 0; }
.pol__section h2 {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--pol-display); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--pol-ink);
  margin: 0 0 18px;
}
.pol__num {
  font-family: var(--pol-cormo); font-style: italic; font-weight: 400;
  font-size: 0.85em; color: var(--pol-gold);
  font-variant-numeric: tabular-nums;
  flex: none;
}

/* Callout */
.pol__callout {
  background: rgba(184, 153, 104, 0.08);
  border-left: 3px solid var(--pol-gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--pol-ink-soft);
  margin: 12px 0 0;
  font-size: 15px;
}

/* Contacto final */
.pol__contact { padding-top: clamp(40px, 5vh, 56px); }
.pol__contact-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 22px 0 22px;
}
.pol__btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--pol-display); font-weight: 500; font-size: 14px;
  color: var(--pol-ink); text-decoration: none;
  background: var(--pol-white);
  border: 1px solid rgba(184, 153, 104, 0.35);
  transition: transform 0.35s var(--pol-ease), background 0.3s ease, border-color 0.3s ease;
}
.pol__btn:hover { transform: translateY(-2px); border-color: var(--pol-gold); }
.pol__btn span { transition: transform 0.3s ease; }
.pol__btn:hover span { transform: translateX(3px); }
.pol__btn--primary {
  background: var(--pol-ink); color: var(--pol-ivory); border-color: var(--pol-ink);
}
.pol__btn--primary:hover { background: #2a221d; border-color: #2a221d; }
.pol__fineprint {
  font-size: 13px; line-height: 1.65;
  color: var(--pol-mute); font-style: italic;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--pol-line);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 880px) {
  .pol__grid { grid-template-columns: 1fr; gap: 28px; }
  .pol__toc {
    position: static;
    background: var(--pol-white);
    border-radius: 14px;
    padding: 18px 22px;
    border: 1px solid var(--pol-line);
  }
  .pol__toc-label { margin-bottom: 12px; }
  .pol__article { max-width: 100%; }
}
@media (max-width: 520px) {
  .pol__hero { padding-top: 96px; }
  .pol__title { font-size: 32px; }
  .pol__intro p { font-size: 17px; }
  .pol__contact-actions { flex-direction: column; align-items: stretch; }
  .pol__btn { justify-content: center; }
}
