/* Контакты — Draft Figma 2093:1397 (desktop)
   Палитра: Green #3EA74F, Dark green #185E30, Orange #F38B3B, Black #343333/#4D4D4D */

.contacts-page,
.contacts-page .wrapper {
    background: #ffffff;
}

.contacts-layout {
    position: relative;
    isolation: isolate;
    background: #ffffff;
    padding: 96px 0 80px;
    overflow: hidden;
}

/* Mint-градиент от верха viewport (как page-hero-2026) */
.contacts-layout::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -160px;
    z-index: 0;
    width: 100vw;
    height: 716px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #e2ffe7 0%, #ffffff 100%);
    pointer-events: none;
}

.contacts-container {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0; /* Figma: контент 1440 от x=240, без внутреннего inset */
}

.contacts-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 56px;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: rgba(77, 77, 77, 0.5);
}

.contacts-breadcrumbs a {
    color: rgba(77, 77, 77, 0.5);
    text-decoration: none;
}

.contacts-breadcrumbs a:hover {
    color: #3ea74f;
}

.contacts-title {
    display: block;
    width: 100%;
    margin: 0 0 90px; /* Figma: низ заголовка ~417 → карточки 507 */
    padding: 0;
    line-height: 0.85;
    text-align: center;
}

.contacts-title__text {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #3ea74f !important;
    font-family: "life-full", "LifeFull", "life", "Life", "Google Sans", Arial, sans-serif !important;
    font-weight: 400;
    font-size: clamp(72px, 9.2vw, 160px);
    line-height: 0.85;
    letter-spacing: -0.08em !important;
    text-transform: uppercase !important;
    text-align: center;
    white-space: nowrap;
}

.contacts-title__image {
    display: none !important;
}

/* ——— Карточки ——— */
.contacts-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 429px));
    gap: 49px;
    justify-content: center;
    margin: 0 0 62px;
}

.contacts-card {
    box-sizing: border-box;
    min-height: 317px;
    padding: 49px 48px 36px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 6px 44px rgba(62, 167, 79, 0.14);
    color: #4d4d4d;
}

.contacts-card__title,
.contacts-card__label {
    margin: 0 0 0;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #4d4d4d;
}

.contacts-card__label {
    margin-bottom: 97px;
}

.contacts-card--office .contacts-card__title {
    margin-bottom: 101px;
}

.contacts-card__address {
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #4d4d4d;
}

.contacts-card__phone,
.contacts-card__mail {
    display: block;
    width: fit-content;
    text-decoration: none;
    color: #4d4d4d;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contacts-card__mail {
    margin-top: 0;
}

.contacts-card__time {
    margin-top: 18px;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #4d4d4d;
}

.contacts-card__text {
    margin: 0 0 29px;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #4d4d4d;
}

.contacts-card__phone--stack,
.contacts-card__mail--stack,
.contacts-card__person {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contacts-card__person {
    margin: 0;
    color: #4d4d4d;
    font-family: "Google Sans", Arial, sans-serif;
}

/* ——— Пресс-блок ——— */
.contacts-press {
    position: relative;
    display: block;
    box-sizing: border-box;
    min-height: 563px;
    margin: 0 0 33px;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #3ea74f;
    color: #ffffff;
}

.contacts-press__content {
    position: relative;
    z-index: 4;
    box-sizing: border-box;
    width: 618px;
    max-width: 100%;
    padding: 65px 0 60px 84px;
}

.contacts-press__title {
    margin: 0 0 68px;
    color: #ffffff;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: left;
}

.contacts-press__person strong,
.contacts-press__person span,
.contacts-press__person a {
    display: block;
    font-family: "Google Sans", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.contacts-press__person strong {
    margin: 0 0 0;
    font-size: 40px;
    line-height: 1.1;
}

.contacts-press__person span {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.contacts-press__person a {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    text-decoration: none;
}

.contacts-press__person a:hover {
    text-decoration: underline;
}

.contacts-press__photo {
    position: absolute;
    left: 477px;
    top: 104px;
    z-index: 2;
    width: 472px;
    height: 459px;
    margin: 0;
    overflow: visible;
    background: transparent;
    transform: none;
}

.contacts-press__photo img {
    display: block;
    width: 472px;
    height: 459px;
    max-width: none;
    object-fit: contain;
    padding: 0;
}

.contacts-press__dot {
    position: absolute;
    z-index: 4;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    pointer-events: none;
}

.contacts-press__dot--1 {
    left: 14px;
    top: 252px;
}

.contacts-press__dot--2 {
    left: 316px;
    top: 3px;
}

.contacts-press__dot--3 {
    left: 458px;
    top: 402px;
}

.contacts-press__decor {
    position: absolute;
    z-index: 2;
    top: 38px;
    right: auto;
    left: 1013px;
    display: block;
    width: 338px;
    height: 478px;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}

/* ——— Форма обратной связи ——— */
.contacts-feedback {
    display: grid;
    grid-template-columns: 1fr 533px;
    column-gap: 143px;
    box-sizing: border-box;
    min-height: 563px;
    padding: 59px 62px 59px 84px;
    border-radius: 20px;
    background: #185e30;
    color: #ffffff;
}

.contacts-feedback__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 618px;
}

.contacts-feedback__title {
    margin: 0;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-align: left;
}

.contacts-feedback__note {
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.contacts-feedback__right {
    padding-top: 0;
}

.help-other-contact__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    gap: 0;
}

.help-other-contact__field {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 23px;
}

.help-other-contact__field--textarea {
    margin-bottom: 31px;
}

.help-other-contact__field input[type="text"],
.help-other-contact__field input[type="email"],
.help-other-contact__field input[type="tel"],
.help-other-contact__field textarea,
.contacts-feedback__right input[type="text"],
.contacts-feedback__right input[type="email"],
.contacts-feedback__right input[type="tel"],
.contacts-feedback__right textarea {
    box-sizing: border-box;
    width: 100%;
    height: 53px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #343333;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 400;
    outline: none;
}

.help-other-contact__field textarea,
.contacts-feedback__right textarea {
    height: 146px;
    padding-top: 14px;
    resize: none;
}

.help-other-contact__field input::placeholder,
.help-other-contact__field textarea::placeholder {
    color: #bbcabe;
    opacity: 1;
}

.help-other-contact__field input:focus,
.help-other-contact__field textarea:focus {
    box-shadow: 0 0 0 2px rgba(243, 139, 59, 0.7);
}

.help-other-contact__agree {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 533px;
    height: auto;
    min-height: 34px;
    margin: 0 0 26px;
    padding: 0;
    font-family: "Google Sans", Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.help-other-contact__agree input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.help-other-contact__agree span {
    box-sizing: border-box;
    flex: 0 0 25px;
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0;
    border: 2px solid #ffffff;
    border-radius: 5px;
    background: transparent;
    transition: background-color .15s ease, border-color .15s ease;
}

.help-other-contact__agree span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .15s ease;
}

.help-other-contact__agree em {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding-top: 3px;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.7);
}

.help-other-contact__agree a {
    color: #ffffff;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-other-contact__agree a:hover {
    text-decoration: none;
}

.help-other-contact__agree input[type="checkbox"]:checked + span {
    background: #f38b3b;
    border-color: #f38b3b;
}

.help-other-contact__agree input[type="checkbox"]:checked + span::after {
    transform: rotate(45deg) scale(1);
}

.help-other-contact__agree input[type="checkbox"]:focus-visible + span {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.help-other-contact__agree:hover span {
    border-color: #ffffff;
}

.help-other-contact__submit {
    border: 0;
    background: #f38b3b;
    box-shadow: none;
    width: 208px;
    height: 53px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 60px;
    transition: background-color .2s ease, transform .2s ease;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    padding: 0 24px;
    margin: 0;
}

.help-other-contact__submit:hover {
    background: #e56f18;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Soft-крошки header: как глобальные (Figma 2093:1836) */
.contacts-page .wrapper > .mv-breadcrumbs-wrap.mv-bc--soft > .mv-breadcrumbs {
    gap: unset;
    column-gap: 12px;
    padding: 0 26px;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: rgba(77, 77, 77, 0.5);
}

.contacts-page .wrapper > .mv-breadcrumbs-wrap.mv-bc--soft > .mv-breadcrumbs a,
.contacts-page .wrapper > .mv-breadcrumbs-wrap.mv-bc--soft > .mv-breadcrumbs span {
    color: rgba(77, 77, 77, 0.5);
}

.contacts-page .wrapper > .mv-breadcrumbs-wrap.mv-bc--soft > .mv-breadcrumbs a:hover {
    color: #3ea74f;
}

/* ——— Адаптив (десктоп-first; <1400 только) ——— */
@media (max-width: 1399px) {
    .contacts-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .contacts-card {
        padding: 40px 32px 28px;
    }

    .contacts-press__photo {
        left: 42%;
        width: 380px;
        height: 370px;
    }

    .contacts-press__photo img {
        width: 100%;
        height: 100%;
    }

    .contacts-press__decor {
        left: auto;
        right: -20px;
        width: 260px;
        height: auto;
    }

    .contacts-feedback {
        grid-template-columns: 1fr 460px;
        column-gap: 48px;
        padding: 48px 48px;
    }

    .contacts-feedback__title,
    .contacts-press__title {
        font-size: 48px;
    }
}

@media (max-width: 1100px) {
    .contacts-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .contacts-card {
        min-height: auto;
    }

    .contacts-card__label,
    .contacts-card--office .contacts-card__title {
        margin-bottom: 28px;
    }

    .contacts-press {
        min-height: auto;
        padding-bottom: 280px;
    }

    .contacts-press__content {
        width: auto;
        padding: 40px 36px 24px;
    }

    .contacts-press__title {
        margin-bottom: 28px;
        font-size: 40px;
    }

    .contacts-press__person strong {
        font-size: 28px;
    }

    .contacts-press__person span,
    .contacts-press__person a {
        font-size: 20px;
    }

    .contacts-press__photo {
        left: 36px;
        top: auto;
        bottom: 20px;
        width: 240px;
        height: 234px;
    }

    .contacts-press__dot {
        width: 10px;
        height: 10px;
    }

    .contacts-press__dot--1 { left: 8px; top: 130px; }
    .contacts-press__dot--2 { left: 160px; top: 2px; }
    .contacts-press__dot--3 { left: 232px; top: 205px; }

    .contacts-press__decor {
        width: 180px;
        right: 12px;
        left: auto;
        top: auto;
        bottom: 10px;
        z-index: 1;
    }

    .contacts-feedback {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 32px;
    }

    .contacts-feedback__left {
        gap: 24px;
    }

    .contacts-feedback__title {
        font-size: 36px;
    }

    .contacts-feedback__note {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .contacts-container {
        padding: 0 16px;
    }

    .contacts-title {
        margin-bottom: 40px;
    }

    .contacts-title__text {
        font-size: 48px;
        white-space: normal;
    }

    .contacts-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .contacts-card__title,
    .contacts-card__label,
    .contacts-card__text,
    .contacts-card__phone,
    .contacts-card__mail,
    .contacts-card__person {
        font-size: 20px;
    }

    .contacts-card__address,
    .contacts-card__time {
        font-size: 16px;
    }

    .contacts-press,
    .contacts-feedback {
        border-radius: 16px;
    }

    .contacts-press__content {
        padding: 28px 20px 16px;
        text-align: left;
    }

    .contacts-press__title {
        font-size: 28px;
    }

    .help-other-contact__field input,
    .help-other-contact__field textarea {
        font-size: 16px;
        height: 44px;
    }

    .help-other-contact__field textarea {
        height: 110px;
    }

    .help-other-contact__submit {
        width: 180px;
        height: 44px;
        font-size: 14px;
    }
}
