/* =========================================================
   FOOTER PRESIDENCIAL
   ========================================================= */


/* =========================================================
   FOOTER PRINCIPAL
   ========================================================= */

.presidential-footer {
    position: relative;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            #680000 0%,
            #790000 48%,
            #650000 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/* =========================================================
   DECORAÇÃO DE FUNDO
   ========================================================= */

.presidential-footer::after {
    content: "";

    position: absolute;

    right: 40px;
    bottom: 0;

    width: 260px;
    height: 180px;

    opacity: 0.08;

    background:
        url("../images/logo-presidencia.png")
        center / contain
        no-repeat;

    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.footer-container {
    position: relative;

    z-index: 2;

    width: min(
        1380px,
        calc(100% - 80px)
    );

    margin: 0 auto;

    padding: 48px 0 42px;

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.25fr;

    column-gap: 70px;
}


/* =========================================================
   BRAND
   ========================================================= */

.footer-brand-link {
    display: flex;

    align-items: center;

    width: max-content;

    text-decoration: none;

    color: #ffffff;
}


.footer-logo {
    width: 58px;
    height: 58px;

    object-fit: contain;

    margin-right: 14px;
}


.footer-brand-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.footer-country {
    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 800;

    color: #ffffff;
}


.footer-institution {
    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 400;

    color:
        rgba(255, 255, 255, 0.90);
}


.footer-motto {
    margin: 16px 0 20px;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 11px;

    line-height: 1.5;

    color:
        rgba(255, 255, 255, 0.90);
}


/* =========================================================
   SOCIAL
   ========================================================= */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    font-size: 16px;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.social-link:hover {
    background: #b00000;
    border-color: #b00000;

    color: #fff;

    transform: translateY(-3px);
}

.social-link i {
    line-height: 1;
}
/* =========================================================
   COLUMNS
   ========================================================= */

.footer-column {
    position: relative;
}


.footer-title {
    margin: 2px 0 19px;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 10px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: 0.5px;

    color: #ffffff;
}


.footer-title::after {
    content: "";

    display: block;

    width: 25px;
    height: 2px;

    margin-top: 9px;

    background: #d8a52b;
}


/* =========================================================
   LINKS
   ========================================================= */

.footer-links {
    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-links li {
    margin-bottom: 9px;
}


.footer-links a {
    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 11px;

    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.86);

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


.footer-links a:hover {
    color: #ffffff;

    padding-left: 3px;
}
.footer-contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

/* =========================================================
   CONTACTOS
   ========================================================= */

.footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 14px;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 10.5px;

    line-height: 1.5;

    color:
        rgba(255, 255, 255, 0.86);
}


.footer-contact-item a {
    color:
        rgba(255, 255, 255, 0.90);

    text-decoration: none;
}


.footer-contact-item a:hover {
    color: #ffffff;
}


.footer-contact-icon {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;
}


.footer-contact-icon svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    position: relative;

    z-index: 5;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);
}


.footer-bottom-container {
    width: min(
        1380px,
        calc(100% - 80px)
    );

    min-height: 48px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-copyright {
    margin: 0;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 9px;

    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.62);
}


.footer-legal {
    display: flex;

    align-items: center;

    gap: 9px;

    white-space: nowrap;
}


.footer-legal a {
    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size: 9px;

    color:
        rgba(255, 255, 255, 0.65);

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.footer-legal a:hover {
    color: #ffffff;
}


.footer-legal span {
    color:
        rgba(255, 255, 255, 0.35);

    font-size: 9px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .footer-container {
        width:
            calc(100% - 50px);

        grid-template-columns:
            1.5fr
            1fr
            1fr;

        row-gap: 35px;

        column-gap: 45px;
    }


    .footer-contact {
        grid-column: 2 / 4;
    }


    .footer-bottom-container {
        width:
            calc(100% - 50px);
    }
}


/* =========================================================
   TABLET PEQUENO
   ========================================================= */

@media (max-width: 800px) {

    .footer-container {
        width:
            calc(100% - 40px);

        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }


    .footer-brand {
        grid-column: 1 / 3;
    }


    .footer-contact {
        grid-column: auto;
    }


    .footer-bottom-container {
        width:
            calc(100% - 40px);

        padding: 14px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .footer-container {
        width:
            calc(100% - 30px);

        padding: 38px 0 32px;

        display: flex;

        flex-direction: column;

        gap: 30px;
    }


    .footer-brand {
        width: 100%;
    }


    .footer-brand-link {
        width: 100%;
    }


    .footer-logo {
        width: 52px;
        height: 52px;
    }


    .footer-column {
        width: 100%;
    }


    .footer-contact {
        width: 100%;
    }


    .footer-bottom-container {
        width:
            calc(100% - 30px);

        align-items: flex-start;
    }


    .footer-legal {
        flex-wrap: wrap;

        white-space: normal;
    }


    .presidential-footer::after {
        right: -40px;

        width: 220px;

        opacity: 0.05;
    }
}