body { line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* LAYOUT */
.privacy-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
}

/* HEADER */
.privacy-header {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
    text-align: center;   /* centrada, como el resto de cabeceras de la web */
}
.privacy-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600; line-height: 1.15;
    margin-bottom: 1rem;
}
.privacy-subtitle {
    font-size: 1.1rem; color: var(--cream); opacity: 0.6;
    max-width: 650px; margin: 0 auto; font-weight: 300;
}
.privacy-meta {
    margin-top: 1.5rem;
    display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
    font-size: 0.85rem; color: var(--cream); opacity: 0.55;
    font-family: var(--font-num); font-variant-numeric: tabular-nums;
}

/* TABLE OF CONTENTS */
.toc {
    position: sticky;
    top: 6rem;
    height: fit-content;
    background: rgba(42, 16, 21, 0.4);
    border: 1px solid rgba(123, 45, 53, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}
.toc-title {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    margin-bottom: 1rem; color: var(--gold);
    text-transform: uppercase; letter-spacing: 1px;
}
.toc-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.3rem;
}
.toc-link {
    display: block;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    color: var(--cream); opacity: 0.6;
    font-size: 0.85rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: all 0.3s;
}
.toc-link:hover { opacity: 1; background: rgba(123, 45, 53, 0.15); }
.toc-link.active {
    opacity: 1;
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

/* CONTENT */
.privacy-content {
    max-width: 780px;
}
.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(123, 45, 53, 0.15);
}
.privacy-section:last-child { border-bottom: none; }

.privacy-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: 0.8rem;
}
.privacy-section h2 .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: rgba(123, 45, 53, 0.25);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    font-family: var(--font-num); font-variant-numeric: tabular-nums;
    font-size: 0.85rem; color: var(--gold);
    flex-shrink: 0;
}

.privacy-section p {
    margin-bottom: 1rem;
    font-size: 1.02rem;
    color: var(--cream);
    opacity: 0.85;
}
.privacy-section ul, .privacy-section ol {
    margin: 1rem 0 1.2rem 1.2rem;
    color: var(--cream);
    opacity: 0.85;
}
.privacy-section li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}
.privacy-section strong {
    color: var(--cream);
    opacity: 1;
    font-weight: 600;
}
.privacy-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.highlight-box {
    background: rgba(42, 16, 21, 0.6);
    border: 1px solid rgba(123, 45, 53, 0.25);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .privacy-wrapper {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }
    .toc {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    .toc-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.5rem;
    }
}
@media (max-width: 600px) {
    .privacy-wrapper { padding: 5rem 1.2rem 3rem; }
    .privacy-title { font-size: 2rem; }
    .toc-list { grid-template-columns: 1fr; }
    .privacy-meta { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
