/* ─── Páginas legales ─────────────────────────────────────────── */
.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    line-height: 1.75;
    color: var(--text, #e8e8e8);
}

.legal-page h1 {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: .03em;
    margin-bottom: .25rem;
}

.legal-meta {
    color: var(--muted, #888);
    font-size: .85rem;
    margin-bottom: 2.5rem;
}

.legal-page h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--border, rgba(255,255,255,.1));
    padding-bottom: .35rem;
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .4rem;
    color: var(--accent, #f0a500);
}

.legal-page p,
.legal-page li {
    font-size: .95rem;
    margin-bottom: .6rem;
}

.legal-page ul {
    padding-left: 1.4rem;
}

.legal-page a {
    color: var(--accent, #f0a500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Tabla de cookies / datos */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    margin: 1rem 0 1.5rem;
}

.legal-table th,
.legal-table td {
    padding: .55rem .75rem;
    text-align: left;
    border: 1px solid var(--border, rgba(255,255,255,.12));
}

.legal-table thead th {
    background: var(--surface, rgba(255,255,255,.05));
    font-weight: 600;
    color: var(--muted, #aaa);
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .06em;
}

.legal-table tbody tr:nth-child(even) {
    background: var(--surface, rgba(255,255,255,.03));
}

.legal-table th:first-child,
.legal-table td:first-child {
    white-space: nowrap;
}

code {
    font-family: monospace;
    font-size: .85em;
    background: var(--surface, rgba(255,255,255,.08));
    padding: .1em .4em;
    border-radius: 3px;
}
@media (max-width: 800px) {
table.legal-table tr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
table.legal-table {
    max-width: 400px;
    margin: 16px auto 24px;
}
section.legal-page {
    max-width: 90%;
    margin: auto;
}
}