.contacts {
    position: relative;
    overflow-x: hidden;
}
.contacts::before {
    content: '';
    position: absolute;
    width: 617px;
    height: 619px;
    top: 50%;
    z-index: -1;
    right: 0;
    transform: translate(70%, -50%);
    background-repeat: no-repeat;
    background-image: url("../img/svg/base-elem.svg");
    background-position: center;
    background-size: 100% auto;
    -webkit-filter: invert(79%) sepia(58%) saturate(6499%) hue-rotate(2deg) brightness(107%) contrast(104%);
    filter: invert(79%) sepia(58%) saturate(6499%) hue-rotate(2deg) brightness(107%) contrast(104%);
}

.contacts p span {
    font-family: "montserrat-400";
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: #3B3B3B;

}

.contacts p {
    font-family: "montserrat-400";
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #3B3B3B;
    margin-bottom: 16px;

}

.contacts p:last-child {
    margin-bottom: 0;
}

.contacts__container {
    padding-top: 120px;
    padding-bottom: 129px;
}

.container {
}

.contacts__title {
    font-family: "montserrat-400";
    font-weight: 700;
    font-size: 35px;
    line-height: 100%;
    color: #000000;
    margin-bottom: 55px;
}

.contacts__subtitle {
    font-family: "montserrat-400";
    font-weight: 600;
    font-size: 35px;
    line-height: 110%;
    color: #000000;
    margin-bottom: 24px;
}




.contacts__row_top {
    padding-bottom: 55px;
    margin-bottom: 55px;
    position: relative;
}

.contacts__row_top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: 1px;
    background: #C9C2D2;
}


@media (max-width: 1024px) {
    .contacts::before {
        width: 556px;
        height: 556px;
    }
    .contacts p {
        font-size: 16px;
    }
    .contacts p span {
        font-size: 16px;
    }
    .contacts__row_top {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 767.98px) {
    .contacts__row {
        display: flex;
        margin-left: -25px;
        margin-right: -25px;
        justify-content: space-between;
    }

    .contacts__column {
        padding: 0 25px;
        flex: 0 1 33%;

    }
    .contacts__row_top .contacts__column {
        flex: 0 1 33%;
    }
    .contacts__row_top {
        justify-content: stretch;
    }
}

@media (max-width: 767.98px) {
    .contacts p br {
        display: none;
    }

    .contacts__container {
        padding-top: 79px;
        padding-bottom: 41px;
    }
    .contacts__column {
        margin-bottom: 16px;
    }
    .contacts__column:last-child {
        margin-bottom: 0;
    }
    .contacts__title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .contacts__subtitle {
        font-size: 26px;
    }
}
