/* Site footer. Quieter than the page CTA: one phone number, one button, short links. */

.site-footer {
    background: #001540;
    color: #f4f7fb;
    font-family: var(--font-primary, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    padding: 3.25rem 1.25rem 1.15rem;
}

.site-footer a {
    min-height: 0;
    min-width: 0;
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(240px, 1.15fr) minmax(150px, 0.7fr);
    gap: 2.5rem 3rem;
    align-items: start;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__name,
.site-footer__links h2 {
    margin: 0 0 0.7rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e8c98f;
    text-align: left;
    line-height: 1.3;
}

.site-footer__lede {
    margin: 0 0 1rem;
    max-width: 26rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

.site-footer .site-footer__phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    color: #fff;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-decoration: none;
}

.site-footer__phone:hover,
.site-footer__phone:focus-visible {
    color: #e8c98f;
}

.site-footer .site-footer__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    min-height: 44px;
    min-width: 44px;
    padding: 0.8rem 1.3rem;
    background: #d4a017;
    color: #001540;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
}

.site-footer__book:hover,
.site-footer__book:focus-visible {
    background: #e8c98f;
    color: #001540;
}

.site-footer__meta,
.site-footer__areas {
    margin: 0.9rem 0 0;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
}

.site-footer__meta a,
.site-footer__areas a {
    color: #fff;
    text-decoration: none;
}

.site-footer__areas a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus-visible,
.site-footer__areas a:hover,
.site-footer__areas a:focus-visible {
    color: #e8c98f;
}

.site-footer__services,
.site-footer__visit {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__services {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.25rem;
}

.site-footer__visit {
    display: grid;
    gap: 0.15rem;
}

.site-footer .site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    min-width: 0;
    padding: 0.1rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: #e8c98f;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__legal {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.5;
}

.site-footer__social {
    display: flex;
    gap: 0.25rem;
    flex: 0 0 auto;
}

.site-footer .site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    background: #e8c98f;
    color: #001540;
}

.site-footer a:focus-visible {
    outline: 2px solid #e8c98f;
    outline-offset: 3px;
}

@media (max-width: 860px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .site-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding: 2.25rem 1.1rem 1rem;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__book {
        width: 100%;
        max-width: 320px;
    }

    .site-footer__services {
        grid-template-columns: max-content max-content;
        column-gap: 2.25rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
