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

.btw-site-footer {
    position: relative;
    z-index: 2;
    padding: 34px 0 24px;
    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;
    gap: 28px 48px;
    align-items: center;
}

.btw-site-footer__identity {
    display: flex;
    align-items: center;
    gap: 28px;
}

.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__socials {
    display: flex;
    gap: 8px;
}
.btw-site-footer__socials a,
.btw-site-footer__socials span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--willow-footer-border);
    border-radius: 50%;
    color: #0c6fa8 !important;
    background: #f5fafc;
    font-size: 13px;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.btw-site-footer__socials svg {
    width: 13px;
    height: 15px;
    display: block;
    fill: currentColor;
}
.btw-site-footer__socials a:hover,
.btw-site-footer__socials span:hover {
    transform: translateY(-2px);
    border-color: #148ccb;
    color: #fff !important;
    background: #148ccb;
}

.btw-site-footer nav { display: flex; gap: 25px; justify-self: end; }
.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;
    min-width: 245px;
    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; }

.btw-site-footer__bottom {
    padding-top: 20px;
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    border-top: 1px solid var(--willow-footer-border);
}
.btw-site-footer__disclaimer {
    max-width: 790px;
    margin: 0;
    color: var(--willow-footer-muted);
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .btw-site-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .btw-site-footer__identity { justify-content: center; }
    .btw-site-footer__brand { align-items: center; }
    .btw-site-footer nav { justify-content: center; flex-wrap: wrap; }
    .btw-site-footer__bottom { grid-column: auto; align-items: center; flex-direction: column; gap: 14px; }
    .btw-site-footer__disclaimer { max-width: 680px; }
    .btw-site-footer__legal { min-width: 0; align-self: stretch; justify-self: center; text-align: center; }
}

@media (max-width: 680px) {
    .btw-site-footer { padding: 30px 0 22px; }
    .btw-site-footer__inner { width: calc(100% - 32px); gap: 23px; }
    .btw-site-footer__identity { flex-direction: column; gap: 15px; }
    .btw-site-footer nav { gap: 14px 20px; }
    .btw-site-footer__bottom { padding-top: 17px; }
}
