/* ==================================================
   CIVIC HORIZON INDEX V2
   SITE FOOTER
================================================== */

.site-footer {
    background: #071d2f;
    color: #ffffff;
}

.site-footer__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-footer__main {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.35fr)
        repeat(4, minmax(120px, 0.65fr));
    gap: 42px;
    padding: 64px 0 52px;
}


/* ==================================================
   FOOTER BRAND
================================================== */

.site-footer__brand {
    max-width: 330px;
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.site-footer__brand-link img {
    width: 38px;
    height: 38px;
    padding: 2px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
}

.site-footer__brand-link span {
    font-family: "Merriweather", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.site-footer__brand p {
    margin: 18px 0 0;
    color: #aec4d5;
    font-size: 0.84rem;
    line-height: 1.75;
}


/* ==================================================
   FOOTER COLUMNS
================================================== */

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__column h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.site-footer__column a {
    margin-top: 9px;
    color: #aec4d5;
    font-size: 0.82rem;
    line-height: 1.45;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
    color: #ffffff;
    outline: none;
    text-decoration: underline;
}


/* ==================================================
   FOOTER BOTTOM
================================================== */

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    margin: 0;
    color: #90aabd;
    font-size: 0.74rem;
}

.site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer__bottom-links span {
    color: #90aabd;
    font-size: 0.74rem;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 980px) {

    .site-footer__main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 520px;
    }

}


@media (max-width: 600px) {

    .site-footer__container {
        width: min(1180px, calc(100% - 32px));
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 50px 0 40px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}