:root {
    --color_institucional: #611232;
    --color_secundario: ;
    --fuente_titulos: 'Noto Sans', sans-serif;
    --fuente_cuerpo: 'Noto Sans', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2 {
    text-transform: uppercase;
    font-family: var(--fuente_titulos);
}
.subtitulo_censo{
    background: radial-gradient(circle, #04312A 0%, #011210 100%);
    text-align: center;
    display: block;
    width: 100%;
    color: #ffffff;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.8rem;
    padding: 25px 0;
    letter-spacing: 2px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-top: 3px solid #2ED8A0;
}
@media (max-width: 730px) {
    .subtitulo_censo {
        font-size: 0.8rem;
    }
}

.texto {
    font-size: 1.4rem;
    font-family: var(--fuente_cuerpo);
}

@media (max-width: 730px) {
    .texto {
        font-size: 1rem;
    }
}

.encabezado {
    padding:0 2rem 0 2rem;
    background-color: white;
}

.afores {
    gap: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 90%;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}
@media (max-width: 950px) {
    .afores {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 730px) {
    .afores {
        grid-template-columns: repeat(1, 1fr);
    }
}

.logo_consar {
    width: 6rem;
    padding: 1rem;
}
@media (max-width: 730px) {
    .logo_consar {
        width: 5rem;
        padding: 1rem;
    }
}

.icono {
    width: 3rem;
}

.contenedor_afore {
    display: flex;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    border: 0.2rem solid rgb(91, 2, 2);
    border-radius: 2rem;
    transition: transform 0.3s ease;
    background-color: white;
}
@media (max-width: 730px) {
    .contenedor_afore {
        width: 20rem;
        height: 5rem;
    }
}

.contenedor_afore:hover {
    transform: scale(1.2);
    z-index: 10;
}

.afore_img {
    padding: 0.5rem;
    width: 90%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 730px) {
    .afore_img {
        width: 80%;
        height: 80%;
    }
}

.contenedor-flipbook {
    width: 80%;
    margin: 0 auto;
}
.primer_mensaje {
    grid-template-columns: repeat(2, 1fr);
}

.primer_mensaje, .segundo_mensaje {
    padding: 2rem;
    gap: 1rem;
    display: grid;
    
}

@media (max-width: 730px) {
    .primer_mensaje {
        grid-template-columns: repeat(1, 1fr);
    }
}

.logo {
    width: 100%;
}

.redes_sociales {
    padding: 2rem;
    display: block;
}

footer {
    background: radial-gradient(circle, #04312A 0%, #011210 100%);
    color: white;
    padding: 2rem 0;
    border-top: 3px solid #2ED8A0;
}

.footer_container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer_section {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.texto_footer_titulo {
    font-family: var(--fuente_cuerpo);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.iconos_group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.icono_social {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icono_social:hover {
    transform: translateY(-5px);
    filter: invert(72%) sepia(54%) saturate(452%) hue-rotate(113deg) brightness(95%) contrast(89%);
}

.numero_telefono {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
    font-family: var(--fuente_cuerpo);
}

.boton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

.boton_descarga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    
    background-color: #002b21;
    color: #ffffff;
    
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.boton_descarga:hover {
    background-color: #004d3d;
    transform: translateY(-2px);
    color: #00ffcc;
}

.boton_descarga:active {
    transform: translateY(0);
}