/* Блок «Свяжитесь с нами»: кнопка письма и копирование адреса.
   Цвета, шрифт и стрелка — из оформления сайта (clientlib-base). */
.mp-contact {
    text-align: center;
    padding: 56px 0 96px;
}
.mp-contact__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 340px;
    padding: 24px 48px;
    background-color: #404040;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .3s ease-out;
}
.mp-contact__button::after {
    content: "";
    flex: none;
    width: 9px;
    height: 17px;
    background: url(/etc.clientlibs/serviceplan/clientlibs/clientlib-base/resources/icons/arrow_right_white.svg) no-repeat center / contain;
    transition: transform .3s ease-out;
}
.mp-contact__button:hover,
.mp-contact__button:focus-visible {
    background-color: #f0191e;
    color: #fff;
    text-decoration: none;
}
.mp-contact__button:hover::after,
.mp-contact__button:focus-visible::after {
    transform: translateX(5px);
}
.mp-contact__button:focus-visible,
.mp-contact__email:focus-visible {
    outline: 2px solid #404040;
    outline-offset: 4px;
}

.mp-contact__email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    color: #404040;
    font-family: inherit;
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    word-break: break-all;
}
.mp-contact__email:hover {
    color: #f0191e;
    text-decoration: none;
}
.mp-contact__icon {
    flex: none;
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mp-contact__icon--done {
    display: none;
}
.mp-contact.is-copied .mp-contact__icon--copy {
    display: none;
}
.mp-contact.is-copied .mp-contact__icon--done {
    display: block;
}

.mp-contact__status {
    min-height: 24px;
    margin: 12px 0 0;
    color: #b6b6b6;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    transition: color .3s ease-out;
}
.mp-contact.is-copied .mp-contact__status {
    color: #404040;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mp-contact {
        padding: 40px 0 72px;
    }
    .mp-contact__email {
        font-size: 20px;
        font-size: 1.25rem;
    }
}
@media (max-width: 576px) {
    .mp-contact__button {
        display: flex;
        min-width: 0;
        width: 100%;
        padding: 20px 24px;
        font-size: 16px;
        font-size: 1rem;
    }
    .mp-contact__email {
        margin-top: 32px;
        font-size: 18px;
        font-size: 1.125rem;
    }
}

/* Карта офиса (Яндекс Карты) в блоке .office-map — место под карту в исходном дизайне:
   высота 645px задана стилями сайта для .office-map .map-content */
.office-map .map-content.mp-map {
    height: 645px;
}
.office-map .map-content.mp-map {
    position: relative;
}
.mp-map__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Прозрачная шторка поверх карты (добавляет contact.js): колесо мыши прокручивает страницу,
   клик включает карту. */
.mp-map__shield {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 0 16px 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.mp-map.is-active .mp-map__shield {
    display: none;
}
.mp-map__hint {
    padding: 10px 18px;
    background-color: rgba(64, 64, 64, .85);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease-out, transform .25s ease-out;
    pointer-events: none;
}
.mp-map__shield:hover .mp-map__hint,
.mp-map__shield:focus-visible .mp-map__hint,
.mp-map.is-hinting .mp-map__hint {
    opacity: 1;
    transform: translateY(0);
}
.mp-map.is-hinting .mp-map__hint {
    background-color: #404040;
}
.mp-map__shield:focus-visible {
    outline: 2px solid #404040;
    outline-offset: -2px;
}
@media (max-width: 768px) {
    .office-map .map-content.mp-map {
        height: 420px;
    }
}
@media (max-width: 576px) {
    .office-map .map-content.mp-map {
        height: 360px;
    }
}
