.main.contacts {
    padding: 0;
}

.contacts-section {
    margin-bottom: 13.7rem;
}

.contacts-section__title {
    font-size: 3.4rem;
    font-weight: 400;
    margin-bottom: 5.7rem;
}

.contacts-section__list-title {
    color: #3f892c;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1.8rem;
}

.contacts-section__list-link {
    position: relative;
    display: inline-block;
    height: 3.7rem;
    font-size: 2.1rem;
    font-weight: 400;
}

.contacts-section__list-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0.1rem;
    background-color: #3f892c;
    transition: width 0.3s ease;
}

.contacts-section__list-link:hover::before {
    width: 19rem;
}

.contacts-section__list-link:hover {
    color: initial;
}

.contacts-section__socials .circle-social-list__link {
    margin: 0 1.6rem 0 0;
}

.contacts-section__socials
.circle-social-list__link:last-child
.icon.icon-cloude-bubble {
    width: 1.6rem;
    height: 1.6rem;
}

.contacts-section__list-text {
    width: 100%;
    max-width: 20.6rem;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 135%;
}

.contacts-section__list-address {
    width: 100%;
    max-width: 25.7rem;
    font-size: 1.8rem;
    font-weight: 400;
    font-style: normal;
    line-height: 135%;
}

.contacts-section__list-address.contacts-section__list-address--shourum {
    width: 100%;
    max-width: 20.9rem;
}

.contacts-section__map {
    width: 100%;
    max-width: 60.3rem;
    height: 43.1rem;
}

.contacts-section__map > div {
    border-radius: 2rem;
}

.contacts-section__map img {
    width: 100%;
    height: 100%;
}

.contacts-section__list-item:nth-child(3) {
    grid-column: span 2;
}

.contacts-section__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.1rem 7.3rem;
    margin-right: 2rem;
}

.contacts-section__wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* feedback START */

.contacts-feedback {
    margin-bottom: 10.3rem;
}

.contacts-feedback__wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 4.4rem 5.4rem 2.1rem 5.6rem;
    border-radius: 2rem;
    background-color: #f0f0f0;
}

.contacts-feedback__form {
    width: 100%;
    max-width: 56.2rem;
}

.contacts-feedback__form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 5.5rem;
    padding: 0 3rem;
    margin-bottom: 1.7rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    border: none;
    border-radius: 6rem;
    outline: none;
    background-color: #161616;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contacts-feedback__form-button:hover {
    background-color: #3f892c;
}

.contacts-feedback__form-group {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.contacts-feedback__form-group--contacts {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contacts-feedback__form-group--phone {
    position: relative;
}

.contacts-feedback__form-input {
    height: 4.3rem;
    padding: 1.3rem 1.4rem;
    border: none;
    border-radius: 0.6rem;
    outline: none;
    background-color: #fff;
    box-sizing: border-box;
}

.contacts-feedback__form-input--name {
    width: 19.1rem;
    flex-shrink: 0;
}

.contacts-feedback__form-input--email {
    width: 34.9rem;
}

.contacts-feedback__form-input--tel {
    width: 29.4rem;
    padding: 1.3rem 6.4rem;
}

.contacts-feedback__form-group--phone {
    margin-bottom: 1.8rem;
}

.custom-input-not-necessarily {
    position: absolute;
    top: 0.7rem;
    right: 4.2rem;
    user-select: none;
}

/* Только форма контактов — не трогаем корзину (.custom-order-form-group) */
.contacts-feedback__form-group--phone .custom-order-tel-button,
.contacts-feedback .custom-order-tel-button {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    height: 4.3rem;
    padding: 0 1.4rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

.contacts-feedback-notifications__input {
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    border: 2.3px solid #757575;
    border-radius: 0.5rem;
}

.contacts-feedback-notifications__input:checked {
    border-color: #3f892c;
    background: url("../../img/icons/check-primary.svg") 50% 50% no-repeat;
    background-size: 8px 9px;
}

.contacts-feedback-notifications__text {
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    user-select: none;
    line-height: normal;
}

.contacts-feedback-notifications__text > a {
    text-decoration: underline;
    color: #3F892C;
}

.contacts-feedback-notifications__label {
    display: flex;
    align-items: flex-start;
    column-gap: 1rem;
}

.contacts-feedback__form-group.contacts-feedback-notifications {
    margin-bottom: 1.8rem;
}

.contacts-feedback__form-textarea {
    width: 100%;
    height: 10rem;
    padding: 1.3rem 1.6rem;
    margin-bottom: 3.3rem;
    border: none;
    border-radius: 0.6rem;
    background-color: #fdfdfd;
    resize: none;
    box-sizing: border-box;
}

.contacts-feedback__form-textarea::placeholder,
.contacts-feedback__form-input::placeholder {
    color: #bababa !important;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
}

.contacts-feedback__content {
    width: 100%;
    max-width: 45rem;
}

.contacts-feedback__title {
    margin-bottom: 3.6rem;
    color: #3f892c;
    font-size: 3.4rem;
    font-weight: 600;
}

.contacts-feedback__subtitle {
    width: 100%;
    max-width: 43.3rem;
    margin-bottom: 4rem;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 122%;
    letter-spacing: -0.01em;
}

.contacts-feedback__text {
    margin-bottom: 0;
    font-family: "Inter", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.01em;
}

/* feedback END */

@media (max-width: 1400px) {
    .contacts-feedback__form-group--contacts {
        flex-direction: column;
    }

    .contacts-feedback__form-input--name,
    .contacts-feedback__form-input--email,
    .contacts-feedback__form-input--tel {
        width: 100%;
    }

    .custom-input-not-necessarily {
        top: 6.8rem;
        right: 2.2rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .contacts-feedback {
        margin-bottom: 7.3rem;
    }

    .contacts-section__wrapper {
        row-gap: 2rem;
    }
}

@media only screen and (min-width: 360px) and (max-width: 991px) {
    .contacts-section__wrapper,
    .contacts-feedback__wrapper {
        flex-direction: column;
    }

    .contacts-feedback__wrapper {
        row-gap: 1.8rem;
    }
}

@media only screen and (min-width: 360px) and (max-width: 768px) {
    .contacts-feedback {
        margin-bottom: 5.3rem;
    }

    .contacts-feedback__form,
    .contacts-feedback__content {
        max-width: 100%;
    }

    .contacts-feedback__wrapper {
        padding: 2.4rem 2rem 2.1rem;
    }

    .contacts-feedback__form-button {
        height: 4rem;
    }

    .contacts-feedback__form-group--contacts {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contacts-feedback__form-input--name,
    .contacts-feedback__form-input--email,
    .contacts-feedback__form-input--tel {
        width: 100%;
    }

    .custom-input-not-necessarily {
        top: 6.8rem;
        right: 2.2rem;
    }

    .contacts-feedback__form-textarea {
        margin-bottom: 1.3rem;
    }

    .contacts-feedback__title {
        margin-bottom: 1.6rem;
        font-size: 2.2rem;
        line-height: 1;
    }

    .contacts-feedback__subtitle {
        margin-bottom: 2rem;
        font-size: 1.6rem;
    }

    .contacts-section__list {
        grid-template-columns: 1fr;
        gap: 2.5rem 7.3rem;
    }

    .contacts-section__list-item:nth-child(3) {
        grid-column: span 1;
    }

    .contacts-section {
        margin-bottom: 8.7rem;
    }

    .contacts-feedback__text {
        font-size: 1.4rem;
    }

    .contacts-section__map {
        height: auto;
    }

    .contacts-section__wrapper {
        row-gap: 1.8rem;
    }

    .contacts-feedback-notifications__text {
        line-height: 1;
    }

    .contacts-section .breadcrumb {
        margin: 1.7rem 0 2rem;
    }

    .contacts-section__title {
        margin-bottom: 4rem;
        font-size: 2.4rem;
    }

    .contacts-section__list-link {
        height: 2.7rem;
        font-size: 1.6rem;
    }

    .contacts-section__list-title {
        margin-bottom: 0.8rem;
    }

    .contacts-section__list-text,
    .contacts-section__list-address {
        font-size: 1.4rem;
    }

    .contacts-section__list-text {
        margin-bottom: 0;
    }
}

#phone.contacts-feedback__form-input--tel::placeholder {
    color: #000 !important;
    opacity: 1;
}