.site-footer-flat {
    background: #061a3a;
    border-top: 1px solid rgba(255, 181, 46, .55);
    color: #fff;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.25rem;
}

.footer-main-grid {
    align-items: stretch;
    display: grid;
    gap: clamp(3rem, 7vw, 7rem);
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr);
}

.footer-brand-panel {
    border-right: 1px solid rgba(255, 255, 255, .14);
    padding-right: clamp(2rem, 5vw, 5rem);
}

.footer-brand-lockup {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: .85rem;
    text-decoration: none;
}

.footer-brand-lockup img {
    display: block;
    height: 64px;
    object-fit: contain;
    width: 72px;
}

.footer-brand-lockup span {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}

.footer-brand-lockup strong {
    color: var(--primary-light);
    font-size: 1.35rem;
    letter-spacing: -.03em;
}

.footer-brand-lockup small {
    color: rgba(255, 255, 255, .58);
    font-size: .67rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-brand-mission {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin: 2rem 0 .9rem;
    max-width: 330px;
}

.footer-brand-description {
    color: rgba(255, 255, 255, .66);
    font-size: .86rem;
    line-height: 1.65;
    margin: 0;
    max-width: 360px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-top: 1.5rem;
}

.footer-contact-list a {
    align-items: center;
    color: rgba(255, 255, 255, .76);
    display: inline-flex;
    font-size: .8rem;
    gap: .6rem;
    text-decoration: none;
    width: fit-content;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus {
    color: var(--primary-light);
}

.footer-contact-list i {
    color: var(--primary-light);
    font-size: .95rem;
}

.footer-socials {
    display: flex;
    gap: .55rem;
    margin-top: 1.7rem;
}

.footer-socials a {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: var(--primary-light);
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    width: 2.25rem;
}

.footer-socials a:hover,
.footer-socials a:focus {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-navigation {
    min-width: 0;
}

.footer-nav-grid {
    display: grid;
    gap: 1.5rem 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-nav-group h2 {
    color: var(--primary-light);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0 0 .4rem;
    text-transform: uppercase;
}

.footer-nav-group a {
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-nav-group a:hover,
.footer-nav-group a:focus {
    color: #fff;
    transform: translateX(3px);
}

.footer-conversation {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
}

.footer-conversation-kicker {
    color: #fff;
    display: block;
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.footer-conversation p {
    color: rgba(255, 255, 255, .62);
    font-size: .8rem;
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}

.footer-conversation .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* The footer sits on the navy surface, so its outline action needs an
   explicit light treatment instead of inheriting the light-surface outline. */
.footer-conversation .btn-flat-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .72);
    color: rgba(255, 255, 255, .96);
}

.footer-conversation .btn-flat-outline-light:hover,
.footer-conversation .btn-flat-outline-light:focus-visible {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.footer-conversation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: flex-end;
}

.footer-legal {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .48);
    display: flex;
    font-size: .7rem;
    gap: 1rem 2rem;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding-top: 1rem;
}

.footer-copyright {
    text-align: left;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .66);
    text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
    color: #fff;
}

@media (max-width: 991.98px) {
    .footer-main-grid {
        gap: 3rem;
        grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    }

    .footer-brand-panel {
        padding-right: 2rem;
    }

    .footer-nav-grid {
        gap: 1.25rem 1.5rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-panel {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        border-right: 0;
        padding: 0 0 2.5rem;
    }

    .footer-brand-mission,
    .footer-brand-description {
        max-width: 560px;
    }

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

@media (max-width: 575.98px) {
    .site-footer-flat {
        padding-top: 3rem;
    }

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

    .footer-conversation {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-conversation .btn {
        width: 100%;
    }

    .footer-conversation-actions {
        width: 100%;
        justify-content: stretch;
    }

    .footer-conversation-actions .btn {
        flex: 1 1 180px;
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
        gap: .55rem;
    }

}
