/* ==================== */
/* AVISO DE PRIVACIDAD - ESTILOS AISLADOS */
/* ==================== */

.privacy-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 2rem clamp(1rem, 3vw, 2rem);
    margin-top: calc(var(--navbar-height, 80px) + 1rem);
}

/* Encabezado principal */
.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--secondary, #1a1d23);
    border-radius: 40px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
}

.privacy-header h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--text-primary, #fff),
        var(--accent, #04cdff)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.privacy-header .company {
    color: var(--accent, #04cdff);
    font-size: 1.1rem;
}

.privacy-header .date {
    font-size: 0.85rem;
    color: var(--text-tertiary, #718096);
    margin-top: 1rem;
}

/* Tabla de contenidos */
.privacy-toc {
    background: var(--surface, rgba(26, 29, 35, 0.85));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
}

.privacy-toc h3 {
    margin-bottom: 1rem;
    color: var(--text-primary, #fff);
    font-size: 1.2rem;
}

.privacy-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.privacy-toc-link {
    color: var(--text-secondary, #a0aec0);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 0.5rem 0;
    transition: all var(--transition-fast, 0.2s ease);
}

.privacy-toc-link:hover {
    color: var(--accent, #04cdff);
    transform: translateX(5px);
}

/* Secciones */
.privacy-section {
    background: var(--surface, rgba(26, 29, 35, 0.85));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    transition: all var(--transition-base, 0.4s ease);
    scroll-margin-top: 100px;
}

.privacy-section:hover {
    border-color: var(--accent, #04cdff);
    box-shadow: var(--shadow-md, 0 8px 32px rgba(0, 0, 0, 0.4));
}

.privacy-section h2 {
    color: var(--text-primary, #fff);
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent, #04cdff);
    margin-bottom: 1rem;
    font-family: "Space Grotesk", sans-serif;
}

.privacy-section h3 {
    color: var(--accent, #04cdff);
    font-size: 1.1rem;
    margin: 1.2rem 0 0.8rem 0;
}

.privacy-section p {
    line-height: 1.7;
    color: var(--text-secondary, #a0aec0);
    margin-bottom: 0.8rem;
}

.privacy-section ul,
.privacy-section ol {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary, #a0aec0);
}

.privacy-section li {
    line-height: 1.7;
    margin-bottom: 0.3rem;
}

.privacy-highlight {
    background: rgba(4, 205, 255, 0.08);
    border-left: 4px solid var(--accent, #04cdff);
    padding: 1.2rem;
    margin: 1.2rem 0;
    border-radius: 16px;
}

.privacy-warning {
    background: rgba(245, 101, 101, 0.1);
    border-left: 4px solid #f56565;
    padding: 1.2rem;
    margin: 1.2rem 0;
    border-radius: 16px;
}

.privacy-warning strong,
.privacy-highlight strong {
    color: var(--text-primary, #fff);
}

.privacy-legal-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-tertiary, #718096);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.12));
}

@media (max-width: 768px) {
    .privacy-container {
        margin-top: calc(var(--navbar-height-mobile, 70px) + 0.5rem);
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-toc-grid {
        grid-template-columns: 1fr;
    }

    .privacy-header {
        padding: 2rem 1rem;
    }
}
