/* Shared styles for the legal pages (privacidad.html, aviso-legal.html). */
:root {
    --gold: #d4af37;
    --red: #a00808;
    --ivory: #f2eee2;
    --muted: rgba(242, 238, 226, 0.72);
    --line: rgba(242, 238, 226, 0.14);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #0a0a0a;
    color: var(--ivory);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 16px;
    border-bottom: 1px solid var(--line);
}

header img { height: 64px; width: auto; display: block; }

header nav { display: flex; gap: 16px; font-size: 14px; }

main {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

h1, h2 {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

h1 { font-size: 44px; margin: 0 0 8px; }
h2 { font-size: 26px; margin: 36px 0 8px; color: var(--gold); }
h3 { font-size: 17px; margin: 24px 0 6px; }

p, li { color: var(--muted); }
strong { color: var(--ivory); }
a { color: var(--ivory); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.updated { font-size: 14px; color: rgba(242, 238, 226, 0.5); margin-bottom: 24px; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--ivory); width: 34%; font-weight: 700; }
td { color: var(--muted); }

.lang-switch {
    margin: 48px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
    h1 { font-size: 36px; }
    th, td { display: block; width: 100%; padding: 4px 0; border: 0; }
    tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
}
