@font-face{font-family:"Momo Trust";src:url("/fonts/momo-trust.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta BAUSEN */
    --primary: #003DA5;         /* Azul real */
    --primary-dark: #182389;    /* Azul marino */
    --secondary: #5B75B6;       /* Silver lake blue */

    /* Superficies */
    --bg: #DCE2EF;              /* Morning cloud */
    --surface: rgba(255,255,255,0.72);
    --surface-strong: #ffffff;

    /* Texto */
    --text: #0B1633;
    --text-soft: rgba(11, 22, 51, 0.78);
    --gray: rgba(11, 22, 51, 0.70);

    /* Enlaces */
    --link: #003DA5;
    --link-hover: #182389;

    /* Bordes y sombras */
    --border: rgba(24, 35, 137, 0.16);
    --border-radius: 12px;
    --box-shadow: 0 14px 45px rgba(24, 35, 137, 0.14);

    --transition: all 0.25s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.72;
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.1px;
}
/* Navegación */
.nav-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(220, 226, 239, 0.90);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(24, 35, 137, 0.10);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(24, 35, 137, 0.18);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Momo Trust', sans-serif;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: rotate(30deg);
}

/* Encabezado */
.privacy-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.header-content {
    flex: 1;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.header-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Momo Trust', sans-serif;
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.header-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: rgba(0, 212, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.header-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-element {
    position: relative;
    width: 300px;
    height: 300px;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.5);
}

.ring-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.ring-ring.delay-1 {
    width: 250px;
    height: 250px;
    animation-delay: 0.5s;
}

.ring-ring.delay-2 {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
    }
}

/* Contenedor principal */
.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: flex;
    gap: 3rem;
}

/* Barra lateral */
.privacy-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-content {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.sidebar-menu {
    list-style: none;
    margin-bottom: 2rem;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
}

.sidebar-update {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.sidebar-update i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.sidebar-update h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.sidebar-update p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Contenido principal */
.privacy-content {
    flex: 1;
}

.privacy-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Momo Trust', sans-serif;
}

.section-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.highlight-box {
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-box i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.highlight-box p {
    color: var(--text);
    margin: 0;
}

/* Tarjetas de datos */
.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.data-card {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: var(--transition);
}

.data-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: var(--box-shadow);
}

.data-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.data-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.data-card-list {
    list-style: none;
}

.data-card-list li {
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    padding-left: 1.25rem;
    position: relative;
}

.data-card-list li:before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
}

/* Lista de uso */
.usage-list {
    margin-top: 2rem;
}

.usage-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--dark-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.usage-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.usage-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.usage-content p {
    color: var(--gray);
}

/* Cookies */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-type {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.cookie-type h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-type h3 i {
    color: var(--secondary);
}

.cookie-type p {
    color: var(--gray);
    font-size: 0.95rem;
}

.cookie-controls {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Seguridad */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-feature {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.security-feature i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.security-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.security-feature p {
    color: var(--gray);
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

/* Derechos */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.right-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.right-card h3 i {
    color: var(--secondary);
}

.right-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.action-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

/* Transferencias */
.transfer-info {
    margin-top: 2rem;
}

.transfer-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.transfer-item i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.transfer-item p {
    color: var(--gray);
}

/* Cambios */
.changes-alert {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 152, 0, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 152, 0, 0.2);
    margin: 2rem 0;
}

.changes-alert i {
    color: var(--warning);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.changes-alert h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.changes-alert p {
    color: var(--gray);
}

/* Contacto */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--dark-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.contact-card-header {
    background: rgba(0, 102, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card-header i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.contact-card-body {
    padding: 1.5rem;
}

.contact-card-body p {
    color: var(--gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-card-body a {
    color: var(--secondary);
    text-decoration: none;
}

.contact-card-body a:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Pie de página de privacidad */
.privacy-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.privacy-footer p {
    margin-bottom: 0.5rem;
}

/* Botón de volver arriba */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .privacy-container {
        flex-direction: column;
    }
    
    .privacy-sidebar {
        width: 100%;
        position: static;
    }
    
    .header-title {
        font-size: 2.5rem;
    }
    
    .privacy-header {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .header-stats {
        justify-content: center;
    }
}

/* =========================
   Tipografía BAUSEN
========================= */
h1, h2, h3, h4 {
    font-family: "Momo Trust", "Inter", sans-serif;
    letter-spacing: -0.06em; /* interletrado aprox -91 */
    color: var(--text);
}

p, li {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-soft);
}

.small, .muted, .meta {
    font-family: "Source Sans 3", "Inter", sans-serif;
    color: var(--gray);
}

/* Mejor lectura en listas largas */
ul, ol { padding-left: 1.1rem; }
li { margin: 0.2rem 0; }

/* Enlaces: más elegantes y legibles */
a {
    color: var(--link);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: var(--transition);
}
a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Selección */
::selection {
    background: rgba(0, 61, 165, 0.18);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .header-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .data-cards,
    .cookies-grid,
    .security-features,
    .rights-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .usage-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* BAUSEN: modo claro fijo (se mantiene el markup, pero no se muestra el toggle) */
.theme-toggle{ display:none !important; }

/* Fix robusto: si algún panel/overlay usa hidden, no debe renderizar */
[hidden]{ display:none !important; }

/* Texto secundario / párrafos */
p, li, .nav-links a { font-family: 'Source Sans 3', 'Inter', sans-serif; }

[hidden]{ display:none !important; }
