.se-contact-page {
    --contact-navy: #071b3d;
    --contact-blue: #0066cc;
    --contact-ink: #10254a;
    --contact-muted: #536685;
    color: var(--contact-ink);
    background: #fff;
    margin-bottom: 0;
}

body.page-id-42 .se-site-footer {
    margin-top: 0;
}

.se-contact-wrap {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.se-contact-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.se-contact-hero__image,
.se-contact-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.se-contact-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.se-contact-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 27, 61, .94), rgba(7, 27, 61, .66) 44%, rgba(7, 27, 61, .08));
}

.se-contact-hero__content {
    padding: 0 0 88px;
}

.se-contact-eyebrow,
.se-contact-page .inquiry-form-eyebrow,
.se-contact-page .inquiry-eyebrow {
    margin: 0 0 20px;
    color: #2c91ff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.se-contact-hero h1 {
    max-width: 620px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.25rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.se-contact-hero__content > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.125rem;
}

.se-contact-section {
    padding: 72px 0;
}

.se-contact-section h2 {
    margin: 0;
    color: var(--contact-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.se-contact-touch {
    padding-bottom: 76px;
}

.se-contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.se-contact-card {
    min-height: 208px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    border: 1px solid #dce5f0;
    border-radius: 3px;
    background: #fff;
    color: var(--contact-ink);
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.se-contact-card:hover,
a.se-contact-card:focus-visible {
    border-color: #8cbcf2;
    box-shadow: 0 14px 30px rgba(7, 27, 61, .1);
    transform: translateY(-3px);
}

.se-contact-card__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--contact-blue);
}

.se-contact-card__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.se-contact-card strong {
    margin-bottom: 8px;
    font-size: 1rem;
}

.se-contact-card > span:last-child {
    color: var(--contact-muted);
    font-size: .875rem;
    line-height: 1.5;
}

.se-contact-location {
    padding-top: 0;
}

.se-contact-location__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .95fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 28px;
}

.se-contact-location__heading p {
    max-width: 480px;
    margin: 0 0 3px;
    color: var(--contact-muted);
    font-size: .9375rem;
    line-height: 1.65;
}

.se-contact-location__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(270px, .95fr);
    min-height: 400px;
}

.se-contact-map {
    height: 476px;
    min-height: 476px;
    overflow: hidden;
    background: #edf2f7;
}

.se-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
}

.se-contact-address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    background: var(--contact-navy);
    color: #fff;
}

.se-contact-address h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 1.5rem;
}

.se-contact-address address {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: .9375rem;
    font-style: normal;
    line-height: 1.65;
}

.se-contact-button {
    align-self: flex-start;
    margin-top: 28px;
    padding: 13px 18px;
    background: #0878ee;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.se-contact-button:hover,
.se-contact-button:focus-visible {
    background: #2c91ff;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .se-contact-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-contact-location__heading { grid-template-columns: 1fr; gap: 16px; }
    .se-contact-location__layout { grid-template-columns: 1fr; }
    .se-contact-address { min-height: 280px; }
}

@media (max-width: 600px) {
    .se-contact-wrap { width: min(100% - 30px, 1200px); }
    .se-contact-hero { min-height: 440px; }
    .se-contact-hero__content { padding-bottom: 56px; }
    .se-contact-section { padding: 56px 0; }
    .se-contact-card-grid { grid-template-columns: 1fr; }
    .se-contact-card { min-height: 176px; }
    .se-contact-map { height: 300px; min-height: 300px; }
    .se-contact-address { padding: 36px 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .se-contact-card,
    .se-contact-button { transition: none; }
}
