.footer-socials {
    display: grid;
    gap: 13px;
    margin-top: 18px;
}

.footer-social-link {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    column-gap: 10px;
    color: #f4f6fb;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
    grid-row: span 2;
    fill: none;
    stroke: #ff8fbd;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #ffb3d0;
}

.footer-social-link small {
    color: #c4cde0;
    font-size: .64rem;
    font-weight: 400;
}

.footer-offices {
    padding-block: 34px 41px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-offices-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 23px;
}

.footer-offices-heading .eyebrow {
    margin-bottom: 7px;
    color: #ff9bc2;
}

.footer-offices-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.footer-offices-heading > p {
    max-width: 470px;
    margin: 0;
    color: #c4cde0;
    font-size: .75rem;
}

.footer-offices-heading > p a {
    color: #ffb3d0;
    font-weight: 700;
    text-underline-offset: 3px;
}

.footer-offices-layout {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(18px, 3vw, 32px);
}

.footer-office-map {
    position: sticky;
    top: 95px;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-card);
    background: #13275e;
}

.footer-office-map-prompt {
    display: grid;
    min-height: 310px;
    margin: 0;
    padding: 24px;
    place-items: center;
    color: #e0e6f2;
    font-size: .85rem;
    text-align: center;
}

.footer-office-map iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
}

.footer-office-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-office-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-card);
    background: #10224f;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer-office-card-head {
    grid-column: 1 / -1;
    border: 1px solid #ff8fbd;
    background: var(--white);
}

.footer-office-card.is-active {
    border-color: #ff8fbd;
    box-shadow: 0 0 0 2px rgba(255, 143, 189, .22);
}

.footer-office-card-head.is-active {
    background: #fff6fa;
}

.footer-office-select {
    display: grid;
    width: 100%;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #edf1f8;
    text-align: left;
    cursor: pointer;
}

.footer-office-select:disabled {
    cursor: default;
}

.footer-office-card-head .footer-office-select {
    color: var(--navy);
}

.footer-office-select:focus-visible,
.footer-office-map-link:focus-visible,
.footer-social-link:focus-visible {
    outline: 3px solid #ffb3d0;
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-office-number {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #ffb3d0;
    font-size: .62rem;
    font-weight: 700;
}

.footer-office-card-head .footer-office-number {
    border-color: rgba(10, 26, 68, .18);
    color: var(--pink);
}

.footer-office-copy {
    display: grid;
    gap: 4px;
    font-size: .72rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-office-copy strong {
    color: var(--white);
    font-size: .8rem;
}

.footer-office-card-head .footer-office-copy strong {
    color: var(--navy);
}

.footer-office-map-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    margin: 9px 0 0 41px;
    color: #ffb3d0;
    font-size: .66rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-office-card-head .footer-office-map-link {
    color: var(--pink);
}

.footer-office-map-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 820px) {
    .footer-offices-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .footer-offices-layout {
        grid-template-columns: 1fr;
    }

    .footer-office-map {
        position: static;
        min-height: 230px;
    }

    .footer-office-map-prompt {
        min-height: 230px;
    }

    .footer-office-map iframe {
        height: 280px;
    }
}

@media (max-width: 560px) {
    .footer-office-list {
        grid-template-columns: 1fr;
    }

    .footer-office-card-head {
        grid-column: auto;
    }

    .footer-office-card {
        padding: 15px;
    }

    .footer-office-copy {
        font-size: .76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-office-card {
        transition: none;
    }
}
