/* ── PÁGINAS LEGALES: estilo serio y profesional, independiente del tema de la web ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --legal-bg: #fafaf9;
  --legal-surface: #ffffff;
  --legal-text: #1c1c1e;
  --legal-muted: #5c5c60;
  --legal-border: #e2e1de;
  --legal-accent: #4a3a7a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--legal-bg);
  color: var(--legal-text);
  font-family: 'Poppins', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.legal-header {
  border-bottom: 1px solid var(--legal-border);
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--legal-surface);
}
.legal-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 1px;
  color: var(--legal-text); text-decoration: none;
}
.legal-back {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; color: var(--legal-muted); text-decoration: none;
  border: 1px solid var(--legal-border); padding: 8px 16px;
  transition: border-color .2s, color .2s;
}
.legal-back:hover { border-color: var(--legal-accent); color: var(--legal-accent); }

.legal-main {
  max-width: 760px; margin: 0 auto;
  padding: 64px 32px 96px;
}
.legal-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--legal-accent); margin-bottom: 14px;
}
.legal-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 10px;
}
.legal-updated {
  font-size: 13px; color: var(--legal-muted);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--legal-border);
}
.legal-section {
  margin-bottom: 36px;
}
.legal-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 10px;
}
.legal-section h2 .legal-num {
  color: var(--legal-accent);
  font-family: Georgia, serif; font-weight: 700;
}
.legal-section p, .legal-section li {
  color: #333336;
  font-size: 15.5px;
}
.legal-section ul, .legal-section ol {
  margin: 12px 0 0 20px;
}
.legal-section li { margin-bottom: 8px; }
.legal-pending {
  display: inline;
  background: #f2ecff;
  color: var(--legal-accent);
  border: 1px dashed #c9b8f5;
  padding: 1px 8px;
  font-size: 14px;
  font-style: italic;
}
.legal-contact {
  margin-top: 56px;
  padding: 28px;
  background: var(--legal-surface);
  border: 1px solid var(--legal-border);
}
.legal-contact h2 { font-size: 16px; margin-bottom: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.legal-contact a { color: var(--legal-accent); }

.legal-footer {
  border-top: 1px solid var(--legal-border);
  padding: 28px 32px;
  text-align: center;
  background: var(--legal-surface);
}
.legal-footer-links {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.legal-footer-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; color: var(--legal-muted); text-decoration: none;
}
.legal-footer-links a:hover { color: var(--legal-accent); }
.legal-copyright { font-size: 12px; color: var(--legal-muted); }

@media (max-width: 640px) {
  .legal-header { padding: 18px 20px; }
  .legal-main { padding: 40px 20px 64px; }
}
