/* -------------------------
   SECCION CIERRE
------------------------- */
#cierre {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#cierre.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CONTENEDOR PRINCIPAL CON TEXTO E IMAGEN */
.cierre-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* WRAPPER QUE CONTIENE IMAGEN Y TEXTO */
.cierre-wrapper {
    position: relative;
    width: fit-content;
    text-align: center;
}

/* IMAGEN POSICIONADA DENTRO DEL WRAPPER */
.animales-bg {
    display: block;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
}

.animales-bg img {
    width: 1000px;
}

.animales-bg-mobile {
    display: none;
}

/* TEXTO CENTRAL - ARRIBA DE LA IMAGEN */
.cierre-titulo {
    position: relative;
    z-index: 2;
}

.cierre-titulo .linea {
    color: var(--Brand-Colors-Blue-00, #1B365D);
    font-family: "Encode Sans";
    font-size: 90px;
    font-weight: 400;
    line-height: 96%;
}

.cierre-titulo .resaltado {
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
    font-weight: 800;
}

/* BLOQUES DE ABAJO - COMPLETAMENTE SEPARADO */
.cierre-links {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 152px;
    width: 100%;
    background: transparent;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 362px;
    text-decoration: none; /* Quita el subrayado del enlace */
    color: inherit; /* Hereda los colores del texto */
    transition: transform 0.3s ease; /* Efecto hover opcional */
}

.link-item:hover {
   text-decoration: none;
}

.link-title {
    font-family: "Encode Sans";
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: var(--Brand-Colors-Blue-00, #1B365D);
}

.link-sub {
    font-family: "Encode Sans";
    font-size: 55px;
    font-weight: 800;
    line-height: 90%;
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
}

/* SEPARADORES ENTRE ITEMS - VERTICAL PARA DESKTOP */
.separador {
    width: 4px;
    height: 87.688px;
    background: #E0E0E0;
}

.link-item:hover .link-sub {
    color: #1b365d;
}

@media screen and (max-width: 768px) {
    .cierre-content {
        height: 40vh;
    }

    .cierre-titulo .linea {
        color: var(--Brand-Colors-Blue-00, #1B365D);
        text-align: center;
        font-family: "Encode Sans";
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: 96%; /* 38.4px */
    }

    .cierre-titulo .resaltado {
        color: var(--Brand-Colors-Turquoise-00, #00AEC7);
        font-weight: 800;
    }

    .cierre-links {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .link-item {
        width: 100%;
        padding: 15px 0;
    }

    .link-title {
        color: var(--Brand-Colors-Blue-00, #1B365D);
        text-align: center;
        font-family: "Encode Sans";
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 70%; /* 10.5px */
        text-transform: uppercase;
    }

    .link-sub {
        color: var(--Brand-Colors-Turquoise-00, #00AEC7);
        font-family: "Encode Sans";
        font-size: 40px;
        font-style: normal;
        font-weight: 800;
        line-height: 70%;
        padding-top: 0.3rem;
    }

    /* SEPARADORES HORIZONTALES PARA MOBILE */
    .separador {
        width: 300px; /* Ancho de la línea horizontal */
        height: 2px; /* Grosor de la línea horizontal */
        background: #E0E0E0;
        margin: 10px 0;
    }

    /* IMAGEN POSICIONADA DENTRO DEL WRAPPER */
    .animales-bg {
        display: none;
    }

    .animales-bg-mobile {
        display: block;
        position: absolute;
        top: 73%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 3;
    }

    .animales-bg-mobile img {
        width: 400px;
    }
}