:root {
    color-scheme: light;
    --contact-ink: #142839;
    --contact-muted: #607282;
    --contact-blue: #0d4667;
    --contact-teal: #0d746c;
    --contact-line: #dce8e9;
    --contact-surface: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.contact-page {
    margin: 0;
    min-width: 320px;
    color: var(--contact-ink);
    background: #f5f8fb;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.contact-page a { color: inherit; }
.contact-page button { font: inherit; }
.contact-page :focus-visible { outline: 3px solid #e98032; outline-offset: 3px; }

.contact-container {
    width: min(100% - 40px, 1160px);
    margin-inline: auto;
}

.contact-skip {
    position: absolute;
    z-index: 20;
    top: -100px;
    left: 16px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--contact-blue);
}
.contact-skip:focus { top: 12px; }

.contact-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #e6ecee;
    background: #fff;
    box-shadow: 0 3px 16px rgba(17, 47, 62, .035);
}
.contact-header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.contact-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.contact-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.contact-brand strong,
.contact-brand small { display: block; line-height: 1.15; }
.contact-brand strong {
    color: #0d4969;
    font-size: 17px;
    letter-spacing: .03em;
}
.contact-brand small {
    margin-top: 3px;
    color: #64808a;
    font-size: 11px;
}
.contact-navigation,
.contact-account {
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-navigation a,
.contact-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #496273 !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.contact-navigation a:hover,
.contact-account-link:hover {
    background: #edf6f6;
    color: var(--contact-teal) !important;
}
.contact-navigation a[aria-current="page"] {
    background: #e9f5f2;
    color: var(--contact-teal) !important;
}
.contact-account form { margin: 0; }
.contact-account .contact-account-primary {
    padding-inline: 16px;
    border: 1px solid var(--contact-teal);
    background: var(--contact-teal);
    color: #fff !important;
}
.contact-account .contact-account-primary:hover {
    background: #095d57;
    color: #fff !important;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #e9f6f4 0%, #f9fcff 61%, #e9f2fa 100%);
}
.contact-hero::after {
    position: absolute;
    right: -95px;
    bottom: -165px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(13, 116, 108, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.contact-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
    align-items: center;
    gap: 44px;
    padding-block: clamp(50px, 7vw, 92px);
}
.contact-eyebrow,
.contact-kicker {
    color: var(--contact-teal);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.contact-eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f18434;
}
.contact-hero h1 {
    max-width: 720px;
    margin: 14px 0 16px;
    color: #102f42;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 760;
    line-height: 1.1;
    letter-spacing: -.035em;
}
.contact-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: #56707b;
    font-size: clamp(15px, 1.45vw, 17px);
    line-height: 1.75;
}
.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.contact-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
}
.contact-button:hover { transform: translateY(-2px); }
.contact-button-primary {
    background: var(--contact-teal);
    color: #fff !important;
}
.contact-button-primary:hover { background: #095e58; }
.contact-button-outline {
    border-color: #bfd8d8;
    background: rgba(255,255,255,.76);
    color: var(--contact-blue) !important;
}
.contact-button-outline:hover { background: #fff; }
.contact-hero-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 175px;
    padding: 26px;
    border: 1px solid rgba(16, 103, 96, .14);
    border-radius: 20px;
    background: rgba(255,255,255,.83);
    box-shadow: 0 18px 42px rgba(21, 78, 83, .09);
}
.contact-hero-aside-label {
    color: #5b747d;
    font-size: 12px;
    font-weight: 700;
}
.contact-hero-aside a {
    margin: 9px 0 6px;
    color: #0c5d62;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    text-decoration: none;
}
.contact-hero-aside a:hover { text-decoration: underline; }
.contact-hero-aside > span:last-child {
    color: var(--contact-muted);
    font-size: 12px;
}

.contact-content { padding-block: 50px 76px; }
.contact-section-heading { margin-bottom: 22px; }
.contact-section-heading h2 {
    margin: 7px 0 5px;
    color: #173449;
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.contact-section-heading p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
}
.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.contact-option {
    display: flex;
    min-width: 0;
    min-height: 160px;
    align-items: flex-start;
    gap: 15px;
    padding: 23px;
    border: 1px solid var(--contact-line);
    border-radius: 18px;
    background: var(--contact-surface);
    box-shadow: 0 8px 26px rgba(20, 58, 72, .035);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.contact-option:hover {
    transform: translateY(-3px);
    border-color: #a5cfcb;
    box-shadow: 0 14px 32px rgba(20, 58, 72, .09);
}
.contact-option-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #eaf7f3;
    color: #0e7168;
}
.contact-option-icon svg { width: 22px; height: 22px; }
.contact-option-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}
.contact-option-body > span {
    margin-bottom: 9px;
    color: #647880;
    font-size: 12px;
}
.contact-option-body strong {
    color: #17394a;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.contact-option-body small {
    margin-top: 8px;
    color: #6c7f88;
    font-size: 12px;
    line-height: 1.5;
}
.contact-option-arrow {
    color: #0e7168;
    font-size: 18px;
    line-height: 1;
}
.contact-location { margin-top: 58px; scroll-margin-top: 24px; }
.contact-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr);
    gap: 16px;
}
.contact-map,
.contact-location-details {
    overflow: hidden;
    border: 1px solid var(--contact-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 58, 72, .035);
}
.contact-map { min-height: 350px; }
.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}
.contact-location-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
}
.contact-location-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #eaf7f3;
    color: #0e7168;
    font-size: 27px;
}
.contact-location-details h3 {
    margin: 18px 0 7px;
    color: #17394a;
    font-size: 19px;
}
.contact-location-details p {
    margin: 0 0 24px;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.65;
}
.contact-footer {
    border-top: 1px solid #e0e9ea;
    background: #fff;
}
.contact-footer-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #607780;
    font-size: 12px;
}
.contact-footer strong { color: #0d5d61; }

@media (max-width: 1020px) {
    .contact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-hero-inner { gap: 24px; }
}
@media (max-width: 760px) {
    .contact-header-inner {
        flex-wrap: wrap;
        gap: 8px 12px;
        padding-block: 12px;
    }
    .contact-brand { margin-right: auto; }
    .contact-navigation { order: 3; width: 100%; overflow-x: auto; }
    .contact-navigation a { flex: 0 0 auto; }
    .contact-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .contact-hero-aside { min-height: 132px; }
    .contact-location-grid { grid-template-columns: 1fr; }
    .contact-location-details { padding: 24px; }
}
@media (max-width: 560px) {
    .contact-container { width: min(100% - 32px, 1160px); }
    .contact-header-inner { gap: 10px; }
    .contact-brand img { width: 36px; height: 36px; }
    .contact-brand small { display: none; }
    .contact-account { gap: 2px; }
    .contact-account-link { min-height: 34px; padding: 6px 8px; font-size: 11px; }
    .contact-navigation a { padding: 7px 10px; font-size: 12px; }
    .contact-hero-inner { padding-block: 48px; }
    .contact-hero-actions { flex-direction: column; }
    .contact-hero-actions .contact-button { width: 100%; }
    .contact-options { grid-template-columns: 1fr; }
    .contact-option { min-height: 118px; padding: 18px; }
    .contact-content { padding-block: 42px 56px; }
    .contact-location { margin-top: 46px; }
    .contact-map,
    .contact-map iframe { min-height: 290px; }
    .contact-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .contact-button,
    .contact-option { transition: none; }
    .contact-button:hover,
    .contact-option:hover { transform: none; }
}
