* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3e60;
    --primary-dark: #0f2c44;
    --primary-light: #e8f0f7;
    --text-dark: #1f2a3a;
    --text-light: #4a5b6e;
    --bg-light: #ffffff;
    --bg-offwhite: #f9fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-offwhite);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ===== ACCESIBILIDAD ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== CONTENEDOR LECTURA ===== */
.privacy-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== TARJETA PRINCIPAL ===== */
.privacy-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2rem 2rem 2.5rem;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.85rem;
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
    margin: 1rem 0 2rem 0;
}

/* ===== SECCIONES ===== */
.privacy-section {
    margin-bottom: 2rem;
    scroll-margin-top: 1rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    color: var(--primary-dark);
}

.privacy-section h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem;
    color: var(--primary);
}

.privacy-section p,
.privacy-section li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.4rem;
}

/* ===== GRUPO BOTONES ===== */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    background: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--primary-dark);
    color: #e2e8f0;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 2rem;
}

.site-footer a {
    color: white;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .privacy-container {
        padding: 1rem;
    }

    .privacy-card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
    }
}