/* --- ESTILOS COMUNES LEGALES --- */
.legal-container, .legal-content {
    max-width: 900px; margin: 0 auto 80px; padding: 50px;
    background: rgba(255, 255, 255, 0.02); border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05); font-family: "Manrope", sans-serif;
}
/* Ajuste específico para T&C que tenía márgenes distintos */
.legal-container { margin-top: 120px; background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(10px); padding: 40px; }

/* Encabezados y Textos */
.legal-header { text-align: center; margin-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 40px; }
.legal-header h1 { font-family: 'Syncopate', sans-serif; font-size: clamp(1.5rem, 4vw, 2.5rem); color: #fff; margin-bottom: 15px; letter-spacing: -1px; }

.legal-content h2, .legal-container h2 {
    font-family: "Syncopate", sans-serif; color: #fff; margin-top: 50px; margin-bottom: 25px;
    font-size: 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; line-height: 1.4;
}
/* Estilo específico de T&C para H2 (borde izquierdo azul) */
.legal-container h2 { font-family: 'Manrope', sans-serif; font-size: 1.4rem; border-bottom: none; border-left: 3px solid var(--accent-blue); padding-left: 15px; }

.legal-content h3, .legal-container h3 { color: #ddd; font-size: 1.1rem; margin-top: 30px; margin-bottom: 15px; }

.legal-content p, .legal-container p {
    color: #aaa; line-height: 1.8; margin-bottom: 20px; font-size: 1rem; font-weight: 300;
}

.legal-content ul, .legal-content ol, .legal-container ul { margin-bottom: 30px; padding-left: 20px; color: #aaa; }
.legal-content li, .legal-container li { color: #ccc; margin-bottom: 15px; line-height: 1.7; font-size: 0.95rem; }

.legal-content strong, .legal-container strong { color: #fff; font-weight: 700; }
.legal-content a { color: #3b82f6; text-decoration: none; transition: 0.3s; }
.legal-content a:hover { text-decoration: underline; color: #fff; }

/* Fechas de Actualización */
.update-date, .last-update {
    color: var(--accent-blue); font-weight: 700; text-transform: uppercase;
    font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 30px; display: block;
}
.last-update { font-family: 'Syncopate', sans-serif; letter-spacing: 2px; margin-bottom: 0; }

/* Tablas (Anexos T&C) */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 0.9rem; }
.comparison-table th, .comparison-table td { border: 1px solid rgba(255, 255, 255, 0.1); padding: 15px; text-align: left; color: #aaa; }
.comparison-table th { background: rgba(255, 255, 255, 0.05); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Botón flotante */
.btn-back-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    z-index: 100;
    transition: 0.3s;
}
.btn-back-fixed:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .legal-container { margin-top: 100px; padding: 25px; }
    .comparison-table { display: block; overflow-x: auto; }
}

/* 1. INTERNAL HERO (El contenedor del título) */
.internal-hero {
    position: relative;
    padding: 120px 20px 60px; /* Mucho espacio arriba para separarlo del Nav */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
}

/* 2. LABEL BOX ("SYSTEM OPERATORS") */
.label-box {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-family: "Syncopate", sans-serif; /* Tu fuente técnica */
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue); /* Usa la variable azul del core */
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

/* 3. AJUSTE DEL TÍTULO H1 EN ESTE MÓDULO */
.internal-hero h1.glitch-text {
    /* Nos aseguramos que use la fuente correcta si el core falla por algo */
    font-family: "Syncopate", sans-serif; 
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    /* Efecto de sombra para separarlo del fondo */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}


:root {
    --accent-blue: #3b82f6;
}