/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 34px 0 22px;
    background: var(--white);
    border-top: 1px solid rgba(7, 27, 69, .08);
}

html.dark-mode .site-footer {
    background: var(--bg-dark);
    border-top-color: rgba(255, 255, 255, .08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr .9fr;
    gap: 38px;
    align-items: start;
}

.footer-brand {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    align-items: center;
}

.footer-brand img {
    width: 150px;
}

.footer-brand p {
    max-width: 170px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.footer-col {
    padding-left: 30px;
    border-left: 1px solid rgba(7, 27, 69, .12);
}

.footer-col h4 {
    margin-bottom: 13px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-bottom: 0;
    border: 1px solid rgba(3, 57, 182, .18);
    border-radius: 6px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
}

.footer-bottom div {
    display: flex;
    gap: 28px;
}

.footer-logo-dark {
    display: none;
}

html.dark-mode .footer-brand p,
html.dark-mode .footer-col a,
html.dark-mode .footer-bottom {
    color: rgba(255, 255, 255, .6);
}

html.dark-mode .footer-col {
    border-left-color: rgba(255, 255, 255, .1);
}

html.dark-mode .footer-col a:hover {
    color: var(--blue-light);
}

html.dark-mode .social-links a {
    border-color: rgba(255, 255, 255, .14);
    color: var(--blue-light);
}

html.dark-mode .social-links img {
    filter: brightness(0) invert(1);
}

html.dark-mode .footer-logo-light {
    display: none;
}

html.dark-mode .footer-logo-dark {
    display: block;
}

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-col {
        padding-left: 0;
        border-left: 0;
    }

    .footer-brand {
        grid-template-columns: 1fr;
    }

    .footer-bottom,
    .footer-bottom div {
        flex-direction: column;
    }

    .footer-bottom div {
        gap: 10px;
    }
}
