.banner-main.contacts {
    background-image: url("../images/contacts-bg.jpg");
}

.contacts .banner-main__inner {
    display: flex;
    justify-content: space-between;
    margin-top: 58px;
    padding-bottom: 104px;
    align-items: center;
}

.contacts__content {
    background: #fff;
    color: #010101;
    width: 544px;
    height: 312px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 62px;
}


.contacts .banner-main__title {
    max-width: 280px;
}
.contacts .banner-main__text {
    margin-bottom: 0;
    max-width: 215px;
}


.contacts .contacts__content-item {
    display: flex;
}

.contacts__social-wrap {
    display: flex;
}

.banner-main__inner .contacts__content .header__contacts-item {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 22px;
    max-width: 290px;
    width: 100%;
    margin-left: 30px;
    position: relative;  
}

.banner-main__inner .contacts__content .address::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("../images/svg/place.svg");
    background-repeat: no-repeat;
    left: -30px;
    top: 5px;
}

.banner-main__inner .contacts__content .schedule::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("../images/svg/schedule.svg");
    background-repeat: no-repeat;
    left: -30px;
    top: 5px;
}

.contacts__phone {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.1em;
    color: #010101;
}

.contacts__content-item {
    margin-left: 30px;
    display: flex;
    justify-content: space-between;
}

.contacts__social-wrap {
    margin-top: 30px;
}

.contacts__social-wrap a {
    margin-right: 10px;
}

.contacts__phone {
    position: relative;
}

.contacts__phone::before{
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("../images/svg/phone-black.svg");
    background-repeat: no-repeat;
    left: -30px;
    top: 3px;
}

.contacts__social-wrap svg path {
    fill: #010101;
}

@media (max-width:920px) {
    .contacts .banner-main__inner {
        flex-direction: column;
        align-items: start;
    }

    .contacts__title-wrap {
        margin-bottom: 36px;
    }

    .contacts .banner-main__title {
        max-width: unset;
    }

    .contacts .banner-main__text {
        max-width: unset;
    }
}

@media (max-width:600px) {
    .contacts__content {
        max-width: 544px;
        width: 100%;
        height: auto;
        padding: 66px 34px 38px 34px;
    }
    .contacts .contacts__content-item {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .contacts__content {
        align-items: center;
    }

    .banner-main__inner .contacts__content .header__contacts-item {
        text-align: center;
        margin-left: 0;
        margin-bottom: 45px;
    }

    .banner-main__inner .contacts__content .schedule::before {
        top: -23px; 
        left: 50%;
    }

    .banner-main__inner .contacts__content .address::before {
        top: -23px; 
        left: 50%;
    }

    .contacts__phone::before {
       top: -23px; 
       left: 50%;
    }

    .contacts__social-wrap a {
        margin-left: 15px;
        margin-right: 0;
    }
}