/* Shared styles for legal pages (privacidad, terminos, reembolsos) */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #6b6b6b;
  --accent: #ff6b35;
  --accent-hover: #ff8757;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}
header.page-nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}
header.page-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.back-link:hover { color: var(--accent); }
main {
  padding: 48px 0 80px;
}
h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}
h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}
p, li {
  color: var(--text-muted);
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
li::marker { color: var(--accent); }
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-hover); text-decoration: underline; }
strong { color: var(--text); }
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0 40px;
}
.toc strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.toc ol {
  padding-left: 22px;
  margin: 0;
}
.toc a {
  color: var(--text);
  font-size: 14px;
}
.callout {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  font-size: 14px;
}
.callout p { margin-bottom: 0; }
.meta {
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
}
footer.page-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}
footer.page-footer a {
  color: var(--text-muted);
  margin: 0 12px;
}
footer.page-footer a:hover { color: var(--accent); }
