body {
    color: #24364b;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #fff;
}

.contact-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg, #091f42 0%, #0f2c59 62%, #17436f 100%);
}

.contact-hero::after {
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 480px;
    height: 480px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.025), 0 0 0 130px rgba(255, 255, 255, 0.015);
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    padding: clamp(72px, 9vw, 116px) 0;
}

.contact-eyebrow,
.contact-label {
    margin: 0 0 12px;
    color: #78e3a0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-label { color: #a9843e; }

.contact-hero h1 {
    margin: 0;
    font-size: clamp(2.9rem, 7vw, 5.5rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.contact-hero p:last-child {
    max-width: 720px;
    margin: 26px 0 0;
    color: #dce7f5;
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.7;
}

.contact-main {
    padding: clamp(72px, 9vw, 112px) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(480px, 1.2fr);
    gap: clamp(46px, 7vw, 88px);
    align-items: stretch;
}

.contact-details h2,
.routing-heading h2 {
    margin: 0;
    color: #0f2c59;
    font-size: clamp(2rem, 4vw, 3.05rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.address-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    margin: 38px 0 24px;
    padding: 26px;
    font-style: normal;
    background: #f3f6f9;
    border-left: 4px solid #bfa15f;
}

.address-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    background: #0f2c59;
    border-radius: 50%;
}

.address-card strong { color: #0f2c59; }
.address-card p { margin: 9px 0 0; color: #52677c; line-height: 1.7; }

.contact-coordinates {
    margin: 0 0 26px;
    background: #fff;
    border-top: 1px solid #dce4ec;
}

.contact-coordinates > div {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 18px;
    padding: 17px 4px;
    border-bottom: 1px solid #dce4ec;
}

.contact-coordinates dt {
    color: #0f2c59;
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-coordinates dt i {
    width: 21px;
    color: #a9843e;
}

.contact-coordinates dd {
    margin: 0;
    color: #53677b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-coordinates a {
    color: #0f2c59;
    font-weight: 700;
    text-decoration: none;
}

.contact-coordinates a:hover,
.contact-coordinates a:focus-visible { text-decoration: underline; }

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    background: #0f2c59;
    border: 1px solid #0f2c59;
}

.directions-link:hover,
.directions-link:focus-visible { color: #0f2c59; background: #fff; }

.contact-map {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    background: #e7edf3;
    border: 1px solid #d7e0e8;
    box-shadow: 0 18px 40px rgba(15, 44, 89, 0.1);
}

.contact-map #cner-map {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 450px;
    flex: 1;
    z-index: 0;
    background: #e7edf3;
}

.contact-map noscript {
    padding: 24px;
    color: #52677c;
    text-align: center;
}

.cner-map-marker {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    background: #0f2c59;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 5px 14px rgba(15, 44, 89, 0.35);
    transform: rotate(-45deg);
}

.cner-map-marker i {
    transform: rotate(45deg);
}

.contact-map .leaflet-popup-content-wrapper {
    color: #24364b;
    border-radius: 2px;
}

.contact-map .leaflet-popup-content {
    margin: 16px 18px;
    line-height: 1.55;
}

.contact-map .leaflet-popup-content strong {
    color: #0f2c59;
}

.contact-map > a {
    padding: 14px 18px;
    color: #0f2c59;
    font-size: 0.78rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    background: #fff;
}

.contact-map > a:hover,
.contact-map > a:focus-visible { text-decoration: underline; }

.contact-routing {
    padding: clamp(68px, 8vw, 98px) 0;
    background: #f3f6f9;
}

.routing-heading { max-width: 720px; margin-bottom: 42px; }

.routing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.routing-card {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 27px 24px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dce4ec;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.routing-card:hover,
.routing-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 44, 89, 0.1);
}

.routing-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #0f2c59;
    background: #eaf0f6;
    border-radius: 50%;
}

.routing-card h3 { margin: 0; color: #0f2c59; font-size: 1rem; }
.routing-card p { margin: 9px 0 0; color: #637589; font-size: 0.86rem; line-height: 1.6; }
.routing-card > i { margin-top: 4px; color: #a9843e; }

@media (max-width: 950px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map { min-height: 420px; }
    .contact-map #cner-map { min-height: 370px; }
    .routing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .contact-container { width: min(100% - 32px, 1180px); }
    .address-card { grid-template-columns: 44px 1fr; padding: 22px 18px; gap: 15px; }
    .address-card__icon { width: 42px; height: 42px; }
    .contact-coordinates > div { grid-template-columns: 1fr; gap: 7px; }
    .contact-map { min-height: 360px; }
    .contact-map #cner-map { min-height: 310px; }
    .routing-card { grid-template-columns: 42px 1fr; }
    .routing-card > i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .routing-card { transition: none; }
}
