:root {
    --willow-footer-navy: #112f4f;
    --willow-footer-muted: #62788b;
    --willow-footer-border: #d5e6ef;
}

.btw-site-footer {
    position: relative;
    z-index: 2;
    padding: 42px 0 34px;
    border-top: 1px solid var(--willow-footer-border);
    background: #fff;
    font-family: "DM Sans", sans-serif;
}

.btw-site-footer *,
.btw-site-footer *::before,
.btw-site-footer *::after { box-sizing: border-box; }

.btw-site-footer__inner {
    display: grid;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.btw-site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--willow-footer-muted) !important;
    font-size: 12px;
    text-decoration: none !important;
}

.btw-site-footer__brand img {
    width: auto;
    max-width: 165px;
    max-height: 52px;
    margin-bottom: 8px;
}

.btw-site-footer nav { display: flex; gap: 25px; }
.btw-site-footer nav a,
.btw-site-footer__legal a {
    color: var(--willow-footer-navy) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
}
.btw-site-footer nav a:hover,
.btw-site-footer__legal a:hover { color: #0c6fa8 !important; }

.btw-site-footer__legal {
    justify-self: end;
    color: var(--willow-footer-muted);
    font-size: 11px;
    text-align: right;
}
.btw-site-footer__legal p { margin: 0 0 5px; color: inherit; font-size: inherit; }
.btw-site-footer__legal a { margin-left: 14px; font-size: 11px; }

@media (max-width: 900px) {
    .btw-site-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .btw-site-footer__brand { align-items: center; }
    .btw-site-footer nav { justify-content: center; flex-wrap: wrap; }
    .btw-site-footer__legal { justify-self: center; text-align: center; }
}

@media (max-width: 680px) {
    .btw-site-footer { padding: 38px 0 30px; }
    .btw-site-footer__inner { width: calc(100% - 32px); gap: 28px; }
    .btw-site-footer nav { gap: 14px 20px; }
}
