/* =========================================================
   MONEYTOOL.IO
   UPDATED SITE FOOTER
   Personal Finance / Calculators / Resources
   ========================================================= */


/* =========================================================
   FOOTER FOUNDATION
   ========================================================= */

.site-footer {
    width: 100%;
    background: #0f172a;
    color: #cbd5e1;
    border-top: 1px solid #1e293b;
}

.site-footer .container {
    width: 100%;
}


/* =========================================================
   FOOTER TOP
   ========================================================= */

.site-footer .footer-top {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.45fr)
        repeat(4, minmax(150px, 1fr));

    gap: 42px;

    padding: 70px 0 58px;
}


/* =========================================================
   BRAND
   ========================================================= */

.site-footer .footer-brand {
    max-width: 390px;
}

.footer-brand-name {
    display: inline-block;

    margin-bottom: 18px;

    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.025em;

    text-decoration: none;
}

.footer-brand-name span {
    color: #60a5fa;
}

.footer-brand-description {
    max-width: 370px;

    margin: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

.site-footer .footer-column h4 {
    margin: 4px 0 20px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 750;

    letter-spacing: .01em;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.site-footer .footer-column ul {
    display: flex;

    flex-direction: column;

    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer .footer-column li {
    margin: 0;
    padding: 0;
}

.site-footer .footer-column li a {
    display: inline-block;

    color: #94a3b8;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color .18s ease,
        transform .18s ease;
}

.site-footer .footer-column li a:hover {
    color: #60a5fa;
    transform: translateX(2px);
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.footer-social-wrapper {
    margin-top: 27px;
}

.footer-social-label {
    display: block;

    margin-bottom: 11px;

    color: #cbd5e1;

    font-size: 12px;
    font-weight: 700;
}

.footer-social {
    display: flex;

    align-items: center;

    gap: 9px;
}

.footer-social-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #334155;
    border-radius: 10px;

    background: #172033;

    color: #cbd5e1;

    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.footer-social-link svg {
    display: block;

    width: 17px;
    height: 17px;

    fill: currentColor;
}

.footer-social-link:hover {
    color: #ffffff;

    background: #2563eb;

    border-color: #2563eb;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .25);
}

.footer-social-link:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}


/* =========================================================
   FOOTER TRUST BAR
   ========================================================= */

.footer-trust-bar {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    padding: 22px 0;

    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.footer-trust-item {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}

.footer-trust-icon {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border-radius: 9px;

    background: #172033;

    color: #60a5fa;

    font-size: 13px;
    font-weight: 800;
}

.footer-trust-item strong {
    display: block;

    margin-bottom: 2px;

    color: #e2e8f0;

    font-size: 12px;
}

.footer-trust-item small {
    display: block;

    color: #64748b;

    font-size: 11px;

    line-height: 1.45;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.site-footer .footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 23px 0;
}

.site-footer .footer-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}

.footer-bottom-right {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;
}

.footer-bottom-right a {
    color: #64748b;

    font-size: 12px;

    text-decoration: none;

    transition: color .18s ease;
}

.footer-bottom-right a:hover {
    color: #94a3b8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .site-footer .footer-top {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 38px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;

        max-width: 620px;
    }

    .footer-brand-description {
        max-width: 600px;
    }

}


@media (max-width: 800px) {

    .site-footer .footer-top {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px 28px;

        padding: 55px 0 45px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-trust-bar {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}


@media (max-width: 600px) {

    .site-footer .footer-top {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 48px 0 40px;
    }

    .site-footer .footer-brand {
        max-width: none;
    }

    .footer-brand-description {
        max-width: none;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 13px;

        padding: 20px 0;
    }

    .footer-bottom-right {
        gap: 14px;
    }

}


@media (max-width: 420px) {

    .footer-social {
        gap: 8px;
    }

    .footer-social-link {
        width: 37px;
        height: 37px;
        border-radius: 9px;
    }

}