.contacts ._col > div {
    min-height: 230px;
}
.contacts ._col ._1 {
    min-height: 80px;
}
.contacts ._col ._1 .bg-info {
    border-radius: 50%;
    min-width: 130px;
    min-height: 130px;
    text-align: center;
}
.contacts ._col ._1 .bg-info img {
    margin-top: 10px;
}
.contacts ._col ._3 {
    min-height: 80px;
}
.contacts ._col ._2 {
    min-height: 50px;
}
@media (min-width: 1400px), (max-width: 575px) {
    .contacts ._col ._3 {
        min-height: 50px;
    }
    .contacts ._col ._2 {
        min-height: 20px;
    }
}

.contacts-page {
    --contacts-blue: #0065b1;
    --contacts-blue-dark: #173b5f;
    --contacts-blue-soft: #eaf3f9;
    --contacts-red: #f0566c;
    --contacts-ink: #17212b;
    --contacts-text: #4d5c6b;
    --contacts-muted: #738190;
    --contacts-line: #dce6ed;
    color: var(--contacts-text);
    background: #fff;
}

.contacts-page__container {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}

.contacts-hero {
    position: relative;
    padding: 32px 0 62px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbfd 0%, #eef5fa 100%);
}

.contacts-hero::after {
    position: absolute;
    top: -55px;
    right: -72px;
    width: 430px;
    height: 430px;
    background: #0065b1;
    opacity: .07;
    -webkit-mask: url('../img/gerb.svg') center / contain no-repeat;
    mask: url('../img/gerb.svg') center / contain no-repeat;
    content: '';
}

.contacts-breadcrumbs {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.contacts-breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--contacts-muted);
    font-size: 14px;
}

.contacts-breadcrumbs li + li::before {
    margin-right: 11px;
    color: #a9b7c3;
    content: '›';
}

.contacts-breadcrumbs a {
    color: var(--contacts-blue);
    font-weight: 600;
    text-decoration: none;
}

.contacts-breadcrumbs a:hover,
.contacts-breadcrumbs a:focus-visible { color: #004b86; }

.contacts-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
}

.contacts-hero__copy { display: contents; }

.contacts-hero h1 {
    margin: 0;
    color: var(--contacts-blue-dark) !important;
    font-size: clamp(44px, calc(5vw - 2px), 66px) !important;
    font-weight: 500 !important;
    line-height: 1.04 !important;
    letter-spacing: -.03em;
}

.contacts-hero__lead {
    max-width: 500px;
    margin: 0;
    color: var(--contacts-text);
    font-size: 18px;
    line-height: 1.58;
}

.contacts-methods {
    padding: 68px 0 30px;
}

.contacts-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 28px;
}

.contacts-section-head h2 {
    margin: 0 !important;
    color: var(--contacts-blue-dark) !important;
    font-size: clamp(30px, calc(3.2vw - 2px), 40px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -.02em;
}

.contacts-methods__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contacts-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--contacts-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(16, 46, 70, .055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contacts-card:hover {
    border-color: #b9d1e2;
    box-shadow: 0 15px 36px rgba(16, 46, 70, .1);
    transform: translateY(-3px);
}

.contacts-card--primary {
    border-color: #c8dfef;
    background: linear-gradient(155deg, #fff 0%, #f4f9fc 100%);
}

.contacts-card__icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    color: var(--contacts-blue);
    background: var(--contacts-blue-soft);
}

.contacts-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-card__label {
    min-height: 34px;
    margin: 0 0 4px;
    color: var(--contacts-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.contacts-card h3 {
    margin: 0 0 12px !important;
    color: var(--contacts-blue-dark) !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.contacts-card__value {
    margin: 0;
    color: var(--contacts-text);
    font-size: 15px;
    line-height: 1.55;
}

.contacts-card__value--large a {
    color: var(--contacts-blue-dark) !important;
    font-size: 19px;
    font-weight: 600;
    white-space: nowrap;
}

.contacts-card__value a {
    color: var(--contacts-blue);
    text-decoration: none;
}

.contacts-card__emails {
    display: grid;
    gap: 4px;
}

.contacts-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 21px;
    border-top: 1px solid #e7edf2;
    color: var(--contacts-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.contacts-card__action span {
    font-size: 21px;
    font-weight: 400;
    transition: transform .18s ease;
}

.contacts-card__action:hover,
.contacts-card__action:focus-visible { color: #004b86; text-decoration: none; }
.contacts-card__action:hover span,
.contacts-card__action:focus-visible span { transform: translateX(3px); }

@media (max-width: 1100px) {
    .contacts-methods__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contacts-card { min-height: 300px; }
}

@media (max-width: 900px) {
    .contacts-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .contacts-hero__lead { max-width: 790px; }
}

@media (max-width: 767px) {
    .contacts-page__container { width: min(calc(100% - 30px), 1280px); }
    .contacts-hero { padding: 20px 0 40px; }
    .contacts-hero::after {
        top: -38px;
        right: -92px;
        width: 230px;
        height: 230px;
        opacity: .055;
    }
    .contacts-breadcrumbs { margin-bottom: 22px; }
    .contacts-breadcrumbs ol { font-size: 12px; }
    body.urs-mobile-refinements .contacts-page .contacts-hero h1 { font-size: 40px !important; }
    .contacts-hero__grid { gap: 17px; }
    .contacts-hero__lead { font-size: 16px; line-height: 1.52; }
    .contacts-methods { padding: 44px 0 18px; }
    .contacts-section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 22px; }
    body.urs-mobile-refinements .contacts-page .contacts-section-head h2 { font-size: 28px !important; }
    .contacts-methods__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .contacts-card { min-height: 282px; padding: 23px; border-radius: 14px; }
    .contacts-card__icon { width: 50px; height: 50px; margin-bottom: 19px; }
    .contacts-card__label { min-height: 0; }
}

.contact-map {
    position: relative;
    min-height: 500px;
    margin-top: 40px;
    padding: 0;
    overflow: hidden;
    background: #eaf1f6;
}

.contact-map__canvas {
    width: 100%;
    height: 500px;
    background: #eaf1f6;
}

.contact-map__loader {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #506274;
    font-size: 15px;
}

.contact-map__loader-icon {
    width: 22px;
    height: 22px;
    border: 2px solid #b7c9d7;
    border-top-color: #0065b1;
    border-radius: 50%;
    animation: contact-map-spin .8s linear infinite;
}

.contact-map__loader--error {
    flex-direction: column;
}

.contact-map__loader--error a {
    color: #0065b1;
    font-weight: 600;
}

.contact-map__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.contact-map__card {
    min-height: 320px;
    padding: 26px 28px 26px 38px;
    border: 1px solid rgba(215, 226, 234, .95);
    border-radius: 16px;
    pointer-events: auto;
    box-shadow: 0 18px 46px rgba(20, 50, 75, .16);
}

.contact-map__card ._header {
    margin-bottom: 12px;
    color: #173b5f;
    font-size: 28px;
    font-weight: 600;
}

.contact-map__card hr {
    margin: 0 0 19px;
    opacity: .12;
}

.contact-map__card p {
    color: #536171;
    line-height: 1.5;
}

.contact-map__card ._title {
    color: #17212b !important;
    font-weight: 600;
}

.contact-map__card a:not(.contact-map__route) {
    color: #0065b1;
    text-decoration: none;
}

.contact-map__route {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 10px 16px;
    border: 1px solid #b8d3e7;
    border-radius: 9px;
    color: #0065b1;
    background: #f3f8fc;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.contact-map__route:hover,
.contact-map__route:focus-visible {
    border-color: #0065b1;
    color: #fff;
    background: #0065b1;
}

.contact-map__noscript {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
}

@keyframes contact-map-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .contact-map {
        display: flex;
        min-height: 0;
        flex-direction: column;
        padding-bottom: 24px;
        background: #f5f8fb;
    }

    .contact-map__canvas {
        height: 390px;
        order: 2;
    }

    .contact-map__content {
        position: relative;
        top: auto;
        left: auto;
        order: 1;
        padding-top: 24px;
        padding-bottom: 18px;
        transform: none;
    }

    .contact-map__card {
        min-height: 0;
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .contact-map {
        margin-top: 26px;
    }

    .contact-map__canvas {
        height: 340px;
    }

    .contact-map__content {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .contact-map__card {
        padding: 22px 20px;
        border-radius: 13px;
    }

    .contact-map__card ._header {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-map__loader-icon { animation: none; }
}

/* Separate route panel: the address no longer overlays the map. */
.contacts-page .contact-map {
    display: block;
    min-height: 0;
    margin-top: 38px;
    padding: 64px 0 72px;
    overflow: visible;
    background: #f3f7fa;
}

.contact-map__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: end;
    gap: 48px;
    margin-bottom: 26px;
}

.contact-map__head h2 {
    margin: 0 !important;
    color: #173b5f !important;
    font-size: clamp(30px, calc(3.2vw - 2px), 40px) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -.02em;
}

.contact-map__head > p {
    margin: 0 0 3px;
    color: #738190;
    font-size: 15px;
    line-height: 1.55;
}

.contact-map__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: stretch;
    gap: 18px;
}

.contacts-page .contact-map__canvas {
    width: 100%;
    height: 520px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d7e3eb;
    border-radius: 18px;
    background: #eaf1f6;
    box-shadow: 0 10px 30px rgba(16, 46, 70, .07);
}

.contact-map__details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 46, 70, .07);
}

.contact-map__details h3 {
    margin: 0 0 24px !important;
    color: #173b5f !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.contact-map__detail {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid #e7edf2;
}

.contact-map__detail-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #0065b1;
    background: #eef6fb;
}

.contact-map__detail-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-map__detail strong,
.contact-map__detail > div > span,
.contact-map__detail a {
    display: block;
}

.contact-map__detail strong {
    margin-bottom: 3px;
    color: #17212b;
    font-size: 13px;
    font-weight: 600;
}

.contact-map__detail > div > span,
.contact-map__detail a {
    color: #5e6c79;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.contact-map__detail a { color: #0065b1; font-weight: 500; }

.contact-map__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-top: auto;
    padding-top: 22px;
}

.contacts-page .contact-map__route,
.contact-map__open {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.contacts-page .contact-map__route {
    border: 1px solid #0065b1;
    color: #fff;
    background: #0065b1;
}

.contacts-page .contact-map__route:hover,
.contacts-page .contact-map__route:focus-visible {
    border-color: #004f8c;
    color: #fff;
    background: #004f8c;
}

.contact-map__open {
    border: 1px solid #bdd4e5;
    color: #0065b1;
    background: #f4f9fc;
}

.contact-map__open:hover,
.contact-map__open:focus-visible {
    border-color: #0065b1;
    color: #004f8c;
}

.contacts-page .contact-map__noscript {
    position: static;
    margin-top: 12px;
}

@media (max-width: 991px) {
    .contacts-page .contact-map {
        display: block;
        padding: 50px 0 54px;
    }

    .contact-map__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .contact-map__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-map__details {
        order: 1;
    }

    .contacts-page .contact-map__canvas {
        height: 430px;
        order: 2;
    }
}

@media (max-width: 575px) {
    .contacts-page .contact-map {
        margin-top: 26px;
        padding: 40px 0 46px;
    }

    body.urs-mobile-refinements .contacts-page .contact-map__head h2 {
        font-size: 28px !important;
    }

    .contact-map__head > p {
        font-size: 14px;
    }

    .contact-map__details {
        padding: 23px 20px;
        border-radius: 14px;
    }

    body.urs-mobile-refinements .contacts-page .contact-map__details h3 {
        font-size: 20px !important;
    }

    .contact-map__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .contacts-page .contact-map__canvas {
        height: 340px;
        border-radius: 14px;
    }
}
