/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding:
        18px 0
        14px;

    background: #F5F3EE;
}


.footer-shell {
    overflow: hidden;

    padding:
        clamp(38px, 5vw, 64px)
        clamp(25px, 5vw, 64px)
        28px;

    border-radius: 34px;

    background: #0F1A2A;

    color: #E8EBEF;
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.footer-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 34px;

    padding-bottom: 44px;

    border-bottom: 1px solid #26334A;
}


.footer-cta h2 {
    max-width: 570px;

    color: #ffffff;

    font-size: clamp(
        3rem,
        6vw,
        5.2rem
    );

    font-weight: 600;

    line-height: 0.96;

    letter-spacing: -0.05em;
}


.footer-cta h2 span {
    color: #D6F24B;
}


.footer-cta__button {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    min-height: 60px;

    padding: 0 12px 0 24px;

    border-radius: 999px;

    background: #D6F24B;

    color: #0F1A2A;

    font-size: 0.92rem;
    font-weight: 600;

    white-space: nowrap;

    transition: transform 180ms ease;
}


.footer-cta__button:hover {
    transform: translateY(-2px);
}


.footer-cta__button > span {
    display: grid;

    width: 35px;
    height: 35px;

    place-items: center;

    border-radius: 50%;

    background: #0F1A2A;

    color: #D6F24B;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        0.7fr
        1.35fr
        0.7fr;

    gap: clamp(30px, 4vw, 55px);

    padding: 42px 0;
}


/* =========================================================
   BRAND
   ========================================================= */

.footer-brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    color: #ffffff;

    font-size: 1.12rem;
    font-weight: 600;
}


.footer-brand__mark {
    display: grid;

    width: 39px;
    height: 39px;

    place-items: center;

    border-radius: 50%;

    background: #D6F24B;

    color: #0F1A2A;

    font-size: 0.75rem;
    font-weight: 600;
}


.footer-brand-column > p {
    max-width: 305px;

    margin-top: 17px;

    color: #9AA5B4;

    font-size: 0.88rem;

    line-height: 1.65;
}


.footer-join {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: #ffffff;

    font-size: 0.81rem;
    font-weight: 500;
}


.footer-join span {
    color: #D6F24B;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.footer-links h3 {
    margin-bottom: 3px;

    color: #D6F24B;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


.footer-links a {
    width: max-content;

    max-width: 100%;

    color: #C9D0DA;

    font-size: 0.82rem;
    font-weight: 400;

    line-height: 1.4;

    transition:
        color 150ms ease,
        transform 150ms ease;
}


.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;

    transform: translateX(2px);
}


.footer-links--services {
    display: grid;

    grid-template-columns: 1fr;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    border-top: 1px solid #26334A;

    color: #8290A2;

    font-size: 0.75rem;
}


.footer-bottom p {
    color: #8290A2;
}


.footer-bottom nav {
    display: flex;
    align-items: center;

    gap: 10px;
}


.footer-bottom a {
    color: #8290A2;

    transition: color 150ms ease;
}


.footer-bottom a:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER TABLET
   ========================================================= */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   FOOTER MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-footer {
        padding-inline: 8px;
    }


    .footer-shell {
        padding:
            32px 22px
            22px;

        border-radius: 24px;
    }


    .footer-cta {
        align-items: flex-start;

        flex-direction: column;

        padding-bottom: 32px;
    }


    .footer-cta h2 {
        font-size: clamp(
            2.75rem,
            13vw,
            4rem
        );
    }


    .footer-cta__button {
        min-height: 54px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 31px;

        padding: 34px 0;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

}