:root {
  --bg: #111827;
  --surface: #1f2937;
  --surface-alt: #111827;
  --text: #f9fafb;
  --muted: #cbd5e1;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #d4b06a;
  --accent-dark: #c39b50;
  --footer-bg: #111827;
  --footer-text: #f9fafb;
  --footer-link: #f3d9a2;
  --max-width: 1500px;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: #111827;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center; /* cambia a flex-start si lo quieres a la izquierda */
  border-bottom: 1px solid var(--border);
}

.site-header img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 90px; /* ajusta este valor a tu gusto */
  object-fit: contain;
}

.page-shell {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 0 1.25rem 4rem;
  position: relative;
}

.legal-card {
  background: #1f2937;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 2vw, 2.5rem);
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.legal-section p,
.legal-section li,
.info-list dd {
  color: var(--text);
}

.legal-section p {
  margin: 0 0 1rem;
}

.legal-list,
.link-list {
  margin: 0;
  padding-left: 1.25rem;
}

.info-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.info-list div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

div{
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.info-list dt {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-list dd {
  margin: 0;
}

.site-footer {
  background: #111827;
  color: var(--footer-text);
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(249, 250, 251, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .site-header,
  .site-header__inner {
    min-height: 240px;
  }

  .page-shell {
    margin-top: -3rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}