/* --- DISEÑO PREMIUM LEGAL FACTURA.PA --- */
:root {
    --azul-oscuro: #002b5c;
    --azul-brillante: #007bff;
    --gris-fondo: #f4f7fa;
    --texto: #33475b;
}

.legal-body {
    background-color: var(--gris-fondo);
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--texto);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Header */
.legal-hero {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, #0056b3 100%);
    padding: 80px 0 120px 0;
    text-align: center;
    color: white;
}

.legal-hero h1 {
    font-size: 2.8rem;
    margin: 10px 0;
    letter-spacing: -1px;
}

.btn-regresar-top {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-regresar-top:hover { color: white; }

/* Tarjeta Principal */
.legal-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-top: -80px; /* Efecto flotante */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.legal-intro {
    text-align: center;
    margin-bottom: 50px;
}

.icon-main {
    font-size: 3.5rem;
    color: var(--azul-brillante);
    margin-bottom: 20px;
}

/* Grid de Beneficios/Legal */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.legal-box {
    background: #f9fbff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e1e8f0;
}

.legal-box:hover { transform: translateY(-5px); border-color: var(--azul-brillante); }

.box-icon {
    font-size: 1.5rem;
    color: var(--azul-brillante);
    margin-bottom: 15px;
}

.legal-box h3 {
    font-size: 1rem;
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

.email-tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--azul-brillante);
}

/* Contenido Detallado */
.content-item {
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.content-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--azul-oscuro);
}

.legal-card-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #eee;
    text-align: center;
    font-size: 0.9rem;
}

.legal-bottom-footer {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 0.8rem;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .legal-card { padding: 30px 20px; }
    .legal-hero h1 { font-size: 2rem; }
}



/* Centra solo el h1 */
.titulo-centrado {
    text-align: center;
    width: 100%;
}

/* Mueve los h3 al lado derecho */
.seccion-texto h3 {
    text-align: right;
}
.titulo-centrado {
    text-align: center;
}

.seccion-texto h3 {
    text-align: left; /* O 'start' */
}