.contact-page {
    padding: 28px 0 76px;
    color: #172033;
    background: #f7f9fc;
}

.contact-container {
    width: min(1120px, calc(100% - 36px));
    margin-inline: auto;
}

.contact-breadcrumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    color: #637087;
    font-size: .9rem;
}

.contact-breadcrumbs a {
    color: #205bb0;
}

.contact-hero {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-eyebrow {
    margin: 0 0 10px;
    color: #2463c5;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0;
    color: #142845;
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.15;
}

.contact-hero > p:last-child {
    margin: 16px auto 0;
    color: #536174;
    font-size: 1.08rem;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 24px;
    align-items: stretch;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-card,
.contact-note,
.contact-location {
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(20 40 69 / 5%);
}

.contact-card {
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 22px 18px;
}

.contact-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    color: #2463c5;
    font-size: 1.1rem;
}

.contact-card h2,
.contact-note h2,
.contact-location h2 {
    margin: 0 0 9px;
    color: #142845;
    font-size: 1.08rem;
}

.contact-card address,
.contact-card a,
.contact-note > p:not(.contact-eyebrow),
.contact-location p:not(.contact-eyebrow) {
    color: #536174;
    font-size: .95rem;
    font-style: normal;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.contact-card a {
    color: #205bb0;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.contact-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 4vw, 38px);
    background: radial-gradient(circle at 90% 10%, #dceaff 0, transparent 38%), #fff;
}

.contact-note h2,
.contact-location h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.contact-note > p:not(.contact-eyebrow) {
    margin: 4px 0 22px;
}

.contact-email-button,
.contact-map-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 17px;
    border-radius: 8px;
    background: #2463c5;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.contact-email-button:hover,
.contact-map-link:hover {
    background: #194f9f;
}

.contact-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 26px 30px;
}

.contact-location h2 {
    margin-bottom: 5px;
}

.contact-location p:not(.contact-eyebrow) {
    margin: 0;
}

.contact-map-link {
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-page {
        padding-top: 20px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-location {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }
}
