.contacts-page {
    padding: 52px 0 90px;
    background: #EEF0F5;
}

.contacts-inner {
    width: 1442px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
}

.contacts-head {
    margin-bottom: 42px;
}

.contacts-small-title {
    width: 78px;
    color: #56595C;
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 121%;
    text-transform: uppercase;
}

.contacts-head h1,
.contacts-form-title {
    margin: 0;
    color: #18232E;
    font-family: Oswald;
    font-style: normal;
    font-weight: 700;
    line-height: 121%;
    text-transform: uppercase;
}

.contacts-head h1 {
    margin-top: 30px;
    color: #18232E;
    font-size: 77px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 588px 823px;
    gap: 31px;
    align-items: stretch;
}

.contacts-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.contacts-info-card {
    display: flex;
    min-height: 532px;
    flex-direction: column;
    justify-content: space-between;
}

.contacts-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 35px 33px 30px;
}

.contacts-info-row {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;
    align-items: start;
}

.contacts-round-icon {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2E8E5D;
}

.contacts-round-icon::before {
    content: '';
    width: 22px;
    height: 22px;
    background: #fff;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.contacts-phone-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.11 5.18 2 2 0 0 1 5.1 3h3a2 2 0 0 1 2 1.72c.12.91.33 1.8.62 2.65a2 2 0 0 1-.45 2.11L9 10.75a16 16 0 0 0 4.25 4.25l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.74.5 2.65.62A2 2 0 0 1 22 16.92Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.11 5.18 2 2 0 0 1 5.1 3h3a2 2 0 0 1 2 1.72c.12.91.33 1.8.62 2.65a2 2 0 0 1-.45 2.11L9 10.75a16 16 0 0 0 4.25 4.25l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.74.5 2.65.62A2 2 0 0 1 22 16.92Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-location-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-5.2 7-12A7 7 0 0 0 5 10c0 6.8 7 12 7 12Zm0-9a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-5.2 7-12A7 7 0 0 0 5 10c0 6.8 7 12 7 12Zm0-9a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-social-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 16.1c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.22.09-.45.09-.7s-.04-.48-.09-.7l7.05-4.11A3 3 0 1 0 15 5c0 .25.04.48.09.7L8.04 9.81a3 3 0 1 0 0 4.38l7.12 4.18c-.04.2-.06.41-.06.63a2.9 2.9 0 1 0 2.9-2.9Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 16.1c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.22.09-.45.09-.7s-.04-.48-.09-.7l7.05-4.11A3 3 0 1 0 15 5c0 .25.04.48.09.7L8.04 9.81a3 3 0 1 0 0 4.38l7.12 4.18c-.04.2-.06.41-.06.63a2.9 2.9 0 1 0 2.9-2.9Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-mail-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm8 8 8-5H4l8 5Zm0 2L4 10v7h16v-7l-8 5Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm8 8 8-5H4l8 5Zm0 2L4 10v7h16v-7l-8 5Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-calendar-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 8H4v10h16V10Zm-3 3h-4v4h4v-4Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 8H4v10h16V10Zm-3 3h-4v4h4v-4Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-label,
.contacts-req-item div,
.contacts-field label,
.contacts-agree .checkbox-label {
    color: #7D838B;
    font-family: Manrope;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 128%;
}

.contacts-phone-line {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contacts-phone,
.contacts-strong,
.contacts-req-item b {
    color: #18232E;
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 128%;
    text-decoration: none;
}

.contacts-messengers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.contacts-messengers .icon-max {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-messengers .icon-max img {
    display: block;
    height: 32.25px;
}

.contacts-msg {
    display: flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-family: Manrope;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.contacts-msg::before {
    content: '';
    width: 17px;
    height: 17px;
    background: #fff;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.contacts-max {
    background: #5E5CF1;
}

.contacts-max::before {
    mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1.5a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15Zm-3.1 10.7V5.8h2.4L9 8l.7-2.2h2.4v6.4h-1.8V8.4L9.5 11h-1L7.7 8.4v3.8H5.9Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1.5a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15Zm-3.1 10.7V5.8h2.4L9 8l.7-2.2h2.4v6.4h-1.8V8.4L9.5 11h-1L7.7 8.4v3.8H5.9Z' fill='black'/%3E%3C/svg%3E");
}

.contacts-email {
    display: inline-block;
    color: #6C7595;
    border-bottom: 1px solid rgba(108, 117, 149, 0.35);
    font-family: Manrope;
    font-size: 20px;
    font-weight: 800;
    line-height: 128%;
    text-decoration: none;
}

.contacts-geo {
    padding: 22px 33px 26px;
    border-top: 1px solid #E6E9ED;
}

.contacts-geo-title {
    color: #18232E;
    font-family: Manrope;
    font-size: 20px;
    font-weight: 800;
    line-height: 128%;
}

.contacts-geo-text {
    margin-top: 13px;
    color: #56595C;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    line-height: 146%;
}

.contacts-geo-text span {
    color: #2E8E5D;
    font-weight: 800;
}

.contacts-map-card {
    height: 532px;
}

.contacts-map-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-form-card,
.contacts-requisites-card {
    min-height: 627px;
    padding: 35px 33px;
    box-sizing: border-box;
}

.contacts-form-card {
    position: relative;
}

.contacts-form-title {
    color: #18232E;
    font-size: 42px;
}

.contacts-form-card form {
    margin-top: 36px;
}

.contacts-field {
    position: relative;
    margin-bottom: 28px;
}

.contacts-field label {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
}

.contacts-field .required {
    color: #F14D4D;
}

.contacts-field .input-wrap {
    position: relative;
}

.contacts-field input,
.contacts-field select {
    width: 100%;
    height: 68px;
    padding: 28px 18px 10px;
    box-sizing: border-box;
    border: 1px solid #E5E9EE;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #18232E;
    font-family: Manrope;
    font-size: 18px;
    font-weight: 500;
    line-height: 128%;
}

.contacts-field select {
    appearance: none;
    color: #7D838B;
}

.contacts-select-field .input-wrap::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #56595C;
    border-bottom: 2px solid #56595C;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.contacts-field input::placeholder {
    color: #7D838B;
}

.contacts-field.invalid input,
.contacts-field.invalid select,
.contacts-agree.invalid .checkbox-bg {
    border-color: #F14D4D;
}

.contacts-agree {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 2px;
}

.contacts-agree .checkbox-wrap {
    position: relative;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
}

.contacts-agree input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contacts-agree .checkbox-bg {
    width: 21px;
    height: 21px;
    box-sizing: border-box;
    border: 1px solid #E5E9EE;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.contacts-agree input:checked + .checkbox-bg {
    border-color: #0AAF60;
    background: #0AAF60;
}

.contacts-agree input:checked + .checkbox-bg::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.contacts-agree .checkbox-label {
    max-width: 460px;
    font-size: 13px;
    font-weight: 500;
    line-height: 146%;
}

.contacts-agree a {
    color: #56595C;
    text-decoration: underline;
}

.contacts-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.contacts-submit {
    display: flex;
    padding: 6px 30px 6px 6px;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border: 0;
    border-radius: 19px;
    background: var(--Green-Light, #0AAF60);
    box-shadow: 0 5px 22px 0 rgba(46, 142, 93, 0.46);
    width: fit-content;
    color: var(--White, #FFF);
    text-align: center;
    font-family: Manrope;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    text-decoration: none;
}

.contacts-submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

.contacts-submit:hover {
    background: var(--Dark-Blue, #18232E);
    box-shadow: 0 5px 22px 0 rgba(21, 35, 48, 0.46);
}

.contacts-submit-icon {
    width: 51px;
    height: 51px;
    display: block;
    flex: 0 0 51px;
}

.contacts-form-error {
    min-height: 18px;
    margin-top: 14px;
    color: #F14D4D;
    text-align: center;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 600;
    line-height: 128%;
}

.contacts-form-success {
    display: none;
}

.contacts-form-card.is-success {
    display: flex;
    min-height: 627px;
    align-items: center;
    justify-content: center;
    padding: 35px 33px;
}

.contacts-form-card.is-success .contacts-form-title,
.contacts-form-card.is-success form {
    display: none;
}

.contacts-form-card.is-success .contacts-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.contacts-success-title {
    color: #18232E;
    text-align: center;
    font-family: Oswald;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 121%;
    text-transform: uppercase;
}

.contacts-success-text {
    margin-top: 36px;
    color: #56595C;
    text-align: center;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 152%;
}

.contacts-success-reset {
    margin-top: 36px;
}

.contacts-requisites {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 74px;
    row-gap: 28px;
    margin-top: 36px;
}

.contacts-req-item div {
    margin-bottom: 7px;
    font-size: 15px;
}

.contacts-req-item b {
    display: block;
    font-size: 17px;
}

.contacts-req-item:last-child {
    grid-column: 1 / 2;
}

@media screen and (max-width: 1200px) {
    .contacts-page {
        padding: 26px 0 40px;
    }

    .contacts-inner {
        width: auto;
        max-width: none;
        margin: 0 14px;
    }

    .contacts-head {
        margin-bottom: 31px;
    }

    .contacts-small-title {
        font-size: 12px;
    }

    .contacts-head h1 {
        margin-top: 6px;
        font-size: 43px;
        line-height: 121%;
    }

    .contacts-grid {
        display: flex;
        flex-direction: column;
        gap: 31px;
    }

    .contacts-card {
        border-radius: 9px;
    }

    .contacts-info-card {
        min-height: 0;
    }

    .contacts-info-list {
        gap: 28px;
        padding: 14px 14px 21px;
    }

    .contacts-info-row {
        grid-template-columns: 38px 1fr;
        gap: 14px;
    }

    .contacts-round-icon {
        width: 38px;
        height: 38px;
    }

    .contacts-round-icon::before {
        width: 19px;
        height: 19px;
    }

    .contacts-label {
        font-size: 13px;
    }

    .contacts-phone-line {
        align-items: flex-start;
        gap: 9px;
    }

    .contacts-phone,
    .contacts-strong,
    .contacts-email {
        font-size: 16px;
    }

    .contacts-messengers {
        gap: 5px;
        padding-top: 2px;
    }

    .contacts-msg {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    .contacts-geo {
        padding: 18px 14px 22px;
    }

    .contacts-geo-title {
        font-size: 16px;
    }

    .contacts-geo-text {
        margin-top: 8px;
        font-size: 14px;
    }

    .contacts-map-card {
        height: 365px;
        order: 2;
    }

    .contacts-info-card {
        order: 1;
    }

    .contacts-form-card {
        order: 3;
    }

    .contacts-requisites-card {
        order: 4;
    }

    .contacts-map-card img {
        object-position: center;
    }

    .contacts-form-card,
    .contacts-requisites-card {
        min-height: 0;
        padding: 14px;
    }

    .contacts-form-card.is-success {
        min-height: 390px;
        padding: 14px;
    }

    .contacts-form-title {
        font-size: 30px;
        line-height: 121%;
    }

    .contacts-form-card form,
    .contacts-requisites {
        margin-top: 20px;
    }

    .contacts-field {
        margin-bottom: 15px;
    }

    .contacts-field input,
    .contacts-field select {
        height: 60px;
        border-radius: 9px;
        font-size: 16px;
    }

    .contacts-agree {
        gap: 13px;
        margin-top: 7px;
    }

    .contacts-agree .checkbox-label {
        font-size: 12px;
    }

    .contacts-submit-wrap {
        justify-content: center;
        margin-top: 20px;
        padding-right: 0;
    }

    .contacts-success-title {
        font-size: 30px;
    }

    .contacts-success-text {
        margin-top: 22px;
        font-size: 14px;
    }

    .contacts-success-reset {
        margin-top: 28px;
    }

    .contacts-requisites {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .contacts-req-item div {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .contacts-req-item b {
        font-size: 15px;
    }
}

@media screen and (max-width: 380px) {
    .contacts-phone-line {
        flex-wrap: wrap;
    }

    .contacts-messengers {
        flex: 0 0 100%;
    }
}
