/* ------------ ROOT VARIABLES (OPCIONAL) ------------ */
:root {
    --verde: #4CAF50;
    --blanco: #FFFFFF;
    --gris-claro: #e0e0e0;
    --fondo-oscuro: rgba(0, 0, 0, 0.7);
    --font-body: 'Segoe UI', sans-serif;
}

/* ----------------- BODY ------------------ */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    background-image: url('../assets/background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    font-family: var(--font-body);
    color: var(--blanco);
    line-height: 1.8;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* ----------------- HEADER ------------------ */
.hero-titulo-logo {
    text-align: center;
    padding: 2rem 1rem;
}

.logo-imagen {
    height: 180px;
    max-width: 90%;
}

/* --------------- CONTENIDO --------------- */
.contenido-politica {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

.titulo-politica {
    font-size: 2.5rem;
    color: var(--verde);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.texto-politica p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--gris-claro);
}

/* Reduce espacio entre <strong> y el párrafo siguiente */
.texto-politica strong {
    margin-bottom: 0rem;
    /* antes tenías 0.3rem */
}

/* Elimina margen superior en el siguiente párrafo si no es un título */
.texto-politica p:not(:has(strong)) {
    margin-top: 0.2rem;
}

/* Subtítulos como 4.1, 5.2, etc. */
.texto-politica u {
    font-weight: 600;
    text-underline-offset: 4px;
    display: inline-block;
    margin-top: 1.2rem;
    color: #c4f2d0;
    margin-left: 1.5rem;
    /* 🔸 nuevo margen */
}

/* Párrafos normales (subnivel) */
.texto-politica p:not(:has(strong)) {
    margin-left: 1.5rem;
    /* 🔸 nuevo margen para párrafos que NO sean títulos */
}

.subtitulo {
    margin-left: 1.5rem;
    font-weight: 600;
    color: #c4f2d0;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.subnivel {
    margin-left: 2.5rem;
    /* más indentado */
    color: var(--gris-claro);
    font-size: 1.02rem;
    line-height: 1.8;
    text-align: justify;
    margin-top: 0.3rem;
}


/* ------------------ FOOTER ------------------ */
.footer-altoque {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.95rem;
    margin-top: 5rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.04);
}

.footer-altoque a {
    color: var(--verde);
    text-decoration: none;
    margin-left: 0.4rem;
}

.footer-altoque a:hover {
    text-decoration: underline;
    color: #81c784;
}

.pie-final {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #ccc;
}

.boton-home:visited {
    color: inherit;
    /* o el color que quieras, como #fff o var(--verde) */
}

.bloque-politica {
    margin-top: 3rem;
    /* Separación entre bloques */
}


/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
    .contenido-politica {
        padding: 2rem 1rem;
    }

    .titulo-politica {
        font-size: 2rem;
    }

    .logo-imagen {
        height: 120px;
    }

    .texto-politica p {
        font-size: 1rem;
    }
}

p.subnivel {
    margin-top: 0.3rem;
    margin-bottom: 0.4rem;
    /* más compacto */
}