/* Contact page — Figma 1287:1418. Scoped after the legacy theme and shared pages. */
.mr-contacts {
    padding: 50px 0 132px;
    font-feature-settings: "locl" 0;
}

.mr-contacts > section > .container {
    width: min(1440px, calc(100% - 80px));
    max-width: none;
    padding-inline: 0;
}
.mr-contacts .mr-contacts-hero > .container {
    max-width: 1400px;
}
.mr-contacts .mr-page-hero-content {
    max-width: 538px;
    gap: 32px;
}
.mr-contacts .mr-page-hero-heading {
    gap: 10.568px;
}
.mr-contacts .mr-page-hero-text p {
    line-height: 1.25;
}
.mr-contacts .mr-contacts-hero-default .mr-page-hero-bg {
    object-position: center 62.05%;
}
@media (min-width: 1280px) {
    .mr-contacts .mr-contacts-hero-default .mr-page-hero-bg {
        top: -257.26%;
        bottom: auto;
        height: 514.61% !important;
        object-fit: fill;
    }
}

.mr-contacts .mr-contacts-main { margin-top: 106px; }
.mr-contacts .mr-contacts-layout {
    grid-template-columns: minmax(0, 600fr) minmax(0, 736fr);
    gap: 64px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.mr-contacts .mr-contacts-aside {
    min-width: 0;
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, .07);
}
.mr-contacts .mr-contacts-cards { gap: 26.667px; }
.mr-contacts .mr-contacts-cards > .mr-contacts-card {
    position: relative;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0 0 26.667px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.mr-contacts .mr-contacts-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: url("../img/pages/contacts-divider.svg") repeat-x left bottom;
}
.mr-contacts .mr-contacts-card-icon {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border: 1.333px solid #adc7bf;
    border-radius: 13.333px;
    background: #eef3ef;
}
.mr-contacts .mr-contacts-card-icon img,
.mr-contacts .mr-contacts-social-icon,
.mr-contacts .mr-contacts-office-pin img,
.mr-contacts .mr-contacts-submit-icon,
.mr-contacts .mr-contacts-office .mr-button img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto !important;
    max-width: none;
}
.mr-contacts .mr-contacts-card-body { min-width: 0; }
.mr-contacts .mr-contacts-card-label {
    color: #3b675a;
    font-size: 21px;
    font-weight: 700;
    line-height: normal;
    text-transform: none;
    letter-spacing: normal;
}
.mr-contacts .mr-contacts-card-value {
    margin: 4px 0 0;
    color: #474d4e;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.mr-contacts .mr-contacts-social { margin-top: 42px; }
.mr-contacts .mr-contacts-social-label {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 800;
    line-height: normal;
}
.mr-contacts .mr-contacts-social-list { gap: 27.404px; }
.mr-contacts .mr-contacts-social-list > li { margin: 0; padding: 0; border: 0; }
.mr-contacts .mr-contacts-social-link {
    width: auto;
    height: auto;
    background: none;
    transform: none;
}
.mr-contacts .mr-contacts-form-panel { min-width: 0; padding: 0; }
body.mr-custom-page .mr-contacts .mr-contacts-form-title {
    color: #3c5b50;
    border: 0;
    font: 800 36px/normal Montserrat, sans-serif;
    font-feature-settings: "locl" 0;
}
.mr-contacts .mr-contacts-form-intro { margin: 17.333px 0 26.667px; }
.mr-contacts .mr-contacts-form-intro p + p { margin-top: 0; }
.mr-contacts :is(.mr-contacts-form, .wpcf7-form) { margin: 0; }
.mr-contacts .mr-contacts-field { gap: 6.667px; }
.mr-contacts .mr-contacts-field label { font: 700 16px/33.333px Montserrat, sans-serif; }
.mr-contacts .mr-contacts-field--full { margin-top: 20px; }
.mr-contacts .mr-contacts-field .wpcf7-form-control-wrap { display: block; width: 100%; }
.mr-contacts .wpcf7-form-control-wrap { margin: 0; }
.mr-contacts .mr-contacts-select { position: relative; width: 100%; }
.mr-contacts .mr-contacts-select::after {
    content: "";
    position: absolute;
    top: 24.667px;
    right: 25.45px;
    border: 5.333px solid transparent;
    border-top: 6.667px solid #ccc;
    border-bottom: 0;
    pointer-events: none;
}
body.mr-custom-page .mr-contacts .mr-contacts-field :is(input, select, textarea) {
    margin: 0;
    border-width: 1.333px;
    font-feature-settings: "locl" 0;
}
body.mr-custom-page .mr-contacts .mr-contacts-field select { background-image: none; }
body.mr-custom-page .mr-contacts .mr-contacts-field textarea {
    height: 150.667px;
    min-height: 150.667px;
    border-radius: 21.333px;
}
.mr-contacts .mr-contacts-checks { gap: 26.667px; margin: 20px 0 26.667px; }
.mr-contacts .mr-contacts-check { display: block; }
.mr-contacts .mr-contacts-check :is(p, .wpcf7-list-item) { margin: 0; }
.mr-contacts .mr-contacts-check label {
    display: flex;
    align-items: flex-start;
    gap: 10.667px;
    margin: 0;
    color: #31373e;
    font: 500 16px/32px Montserrat, sans-serif;
    font-feature-settings: "locl" 0;
    cursor: pointer;
}
body.mr-custom-page .mr-contacts .mr-contacts-check input[type="checkbox"] {
    appearance: auto;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    min-height: 0;
    margin: 5.5px 0 0;
    padding: 0;
    border: 1px solid #bdbdbd;
    border-radius: 3.5px;
    accent-color: #3c5b50;
}
.mr-contacts .mr-contacts-check label > span { min-width: 0; }
body.mr-custom-page .mr-contacts button.mr-contacts-submit {
    width: 100%;
    min-height: 58.667px;
    gap: 10px;
    padding: 16px 32px;
    border: 0;
    border-radius: 15px;
    background: #3c5b50;
    color: #fff;
    font: 700 14px/normal Montserrat, sans-serif;
    font-feature-settings: "locl" 0;
    letter-spacing: .42px;
    text-transform: uppercase;
    transform: none;
    box-shadow: none;
}
body.mr-custom-page .mr-contacts button.mr-contacts-submit:hover { background: #314a42; }
.mr-contacts .mr-contacts-submit-icon { transform: scaleY(-1); }
.mr-contacts .wpcf7-spinner { position: absolute; margin: 8px 0; }
.mr-contacts .wpcf7-not-valid-tip { margin-top: 6px; color: #b13a3a; font-size: 13px; line-height: 1.5; }
.mr-contacts .wpcf7 form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
}
.mr-contacts .wpcf7-response-output::before { content: none; }

.mr-contacts .mr-contacts-offices { margin-top: 132px; }
.mr-contacts .mr-contacts-offices-grid { gap: 32px; }
.mr-contacts .mr-contacts-offices-grid > .mr-contacts-office {
    padding: 23px;
    border: 1px solid #e7e7e7;
    border-radius: 26.667px;
    transform: none;
    box-shadow: none;
}
.mr-contacts .mr-contacts-office-media { position: relative; height: 200px; overflow: hidden; border-radius: 20px; }
.mr-contacts .mr-contacts-office-map {
    display: block;
    width: 100%;
    height: 200px !important;
    margin: 0;
    border: 0;
}
.mr-contacts .mr-contacts-office-body { gap: 24px; padding: 24px 0 0; }
body.mr-custom-page .mr-contacts .mr-contacts-office-title {
    padding-bottom: 24px;
    border: 0;
    background: url("../img/pages/contacts-office-divider.svg") repeat-x left bottom;
    color: #42474c;
    font: 800 24px/normal Montserrat, sans-serif;
    font-feature-settings: "locl" 0;
}
.mr-contacts .mr-contacts-office:nth-child(n+2) .mr-contacts-office-title {
    background-image: url("../img/pages/contacts-office-divider-secondary.svg");
}
.mr-contacts .mr-contacts-office-address { align-items: center; gap: 16px; font-size: 18px; font-weight: 600; line-height: normal; }
.mr-contacts .mr-contacts-office-pin {
    display: grid;
    place-items: center;
    width: 53.334px;
    height: 53.334px;
    margin: 0;
    border: .889px solid #adc7bf;
    border-radius: 8.889px;
    background: #eef3ef;
}
.mr-contacts .mr-contacts-office .mr-button { min-height: 56px; padding: 16px; gap: 10px; border: 0; font-size: 14px; letter-spacing: .42px; transform: none; }
@media (max-width: 1279px) {
    .mr-contacts .mr-contacts-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
    .mr-contacts .mr-contacts-aside { padding: 24px; }
    .mr-contacts .mr-contacts-card-value { font-size: 16px; }
    .mr-contacts .mr-contacts-card-icon { width: 64px; height: 64px; }
}
@media (max-width: 991px) {
    .mr-contacts { padding-bottom: 64px; }
    .mr-contacts .mr-contacts-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .mr-contacts .mr-contacts-main, .mr-contacts .mr-contacts-offices { margin-top: 64px; }
}
@media (max-width: 767px) {
    .mr-contacts { padding-top: 28px; }
    .mr-contacts > section > .container { width: calc(100% - 40px); }
    .mr-contacts .mr-contacts-aside { padding: 24px 20px; }
    .mr-contacts .mr-contacts-card-label { font-size: 18px; }
    .mr-contacts .mr-contacts-cards > .mr-contacts-card { gap: 12px; }
    .mr-contacts .mr-contacts-card-value { font-size: 15px; }
    .mr-contacts .mr-contacts-social-list { gap: 16px; }
    .mr-contacts .mr-contacts-social-label { font-size: 22px; }
    body.mr-custom-page .mr-contacts .mr-contacts-form-title { font-size: 28px; }
    .mr-contacts .mr-contacts-offices-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mr-contacts .mr-contacts-offices-grid > .mr-contacts-office { padding: 20px; }
    .mr-contacts .mr-contacts-office-address { font-size: 16px; }
    .mr-contacts .mr-contacts-office .mr-button { font-size: 12px; }
    .mr-contacts .mr-contacts-check label { line-height: 1.6; }
    .mr-contacts .mr-contacts-checks { gap: 20px; }
    .mr-contacts .mr-contacts-card-icon { width: 56px; height: 56px; }
}
