.footer {
    margin-top: 2rem;
    border-top: 1px solid #dfe6ed;
    color: #647789;
    background: rgba(255, 255, 255, 0.88);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 1fr);
    align-items: center;
    gap: 1.5rem;
    width: min(100%, 1600px);
    min-height: 104px;
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3vw, 2.75rem);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid #d5e5f5;
    border-radius: 11px;
    color: #1769c2;
    background: #edf5fd;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    color: #263f56;
    font-size: 0.86rem;
    font-weight: 800;
}

.footer-brand small {
    margin-top: 0.15rem;
    color: #7c8b98;
    font-size: 0.68rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.footer-nav a {
    color: #5c7184 !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #1769c2 !important;
}

.footer-meta {
    display: grid;
    justify-items: end;
    gap: 0.18rem;
    color: #8794a0;
    font-size: 0.66rem;
    text-align: right;
}

@media (max-width: 991px) {
    .footer-shell {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
        padding-block: 1.5rem;
        text-align: center;
    }

    .footer-meta {
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .footer-nav {
        gap: 0.75rem 1rem;
        flex-wrap: wrap;
    }
}
