.advantages {
    margin-top: 50px;
    width: 100%;
    background-color: #D3B7F8;
    padding: 48px 0;
    /* height: 800px; */
    display: flex;
    justify-content: center;
}

.advantages-cont {
    max-width: 1280px;
    width: 100%;
}

.advantages-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.advantages-col {
    width: 49%;
}

.advantages-items {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 15px;
}

.advantages-item {
    width: 306px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.advantages__text {
    margin-top: 20px;
    text-align: center;
    color: #8347AD;
    font-family: "Nunito Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    /* 33.6px */
}

.advantages-label-items {
    margin-top: 108px;
    display: flex;
    justify-content: space-between;
}

.advantages-label-item {
    max-width: 307px;
    border-radius: 18px;
    background-color: #9155B7;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.label__one {
    background: #9155B7 url('../img/zub2x.png');
    background-repeat: no-repeat;
    background-position: 27px center;
    background-size: 42px 44px;
    padding-left: 88px;
}

.label__two {
    background: #9155B7 url('../img/gal2x.png');
    background-repeat: no-repeat;
    background-position: 21px center;
    background-size: 62px 42px;
    padding-left: 102px;
}

.label-text {
    color: var(--Violet-4, #D3B7F8);
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    /* 18px */
}

.mb-adv {
    display: none;
}

@media (min-width: 360px) and (max-width: 576px) {
    .mb-adv {
        display: block;
    }

    .adv {
        display: none
    }

    .advantages-content {
        flex-direction: column;
        padding-bottom: 76px;
    }

    .advantages {
        margin-top: 0;
        height: 1490px;
    }

    .advantages-col {
        width: 100%;
    }

    .advantages-item {
        width: 100%;
    }

    .advantages__text {
        width: 320px;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        /* 25.2px */
    }

    .advantages-label-items {
        /* 2.1. Становимся колонкой */
        flex-direction: column;
        /* 2.2. Центрируем элементы по горизонтали */
        align-items: center;
        /* 2.3. Выравнивание по вертикали в контейнере (если нужно) */
        justify-content: center;
        /* 2.4. Разумный отступ сверху на мобильных */
        margin-top: 50px;
        /* 2.5. Расстояние между карточками */
        gap: 16px;
    }

    .advantages-label-item {
        /* 3.1. Растягиваем карточки чуть больше по ширине экрана */
        width: 90%;
        /* 3.2. Убираем фиксированный max-width или сохраняем его: по желанию */
        max-width: 307px;
        /* 3.3. Отступ снизу (если не используете gap) */
        /* margin-bottom: 16px; */
        /* 3.4. Корректируем внутренние отступы слева, чтобы иконка не была слишком далеко */
        padding-left: 90px;
    }

    /* 4. При необходимости: корректируем смещение фоновых иконок */
    .label__one {
        background-position: 20px center;
    }

    .label__two {
        background-position: 20px center;
    }

    .advantages-right {
        padding: 76px 18px 0 18px;
    }

    .df {
        display: flex;
    }

    .foto-one {
        margin-right: 0;
        margin-left: 71px;
        width: 57px;
        height: 57px;
    }

    .foto-two {
        width: 34px;
        height: 34px;
    }

    .foto-text {
        font-size: 16px;
    }
    .foto-abs {
        /* position: relative; */
        /* left: 27px; */
        bottom: 12px;

    }
    .btn-left {
        position: absolute;
        margin-left: 0;
        bottom: -75px;
        right: 0;
        padding: 18px 8px 18px 18px;
        background-size: 30px 30px;
        height: auto;
    }
    .leftm {
        display: flex;
        align-items: center;
    }
    .mlo {
        margin-left: 0;
    }
    .advantages-item--one {
        width: 169px;
        height: auto;
    }
    .advantages-item--two {
        width: 66px;
        height: auto;
    }
    .advantages-item--three {
        width: 170px;
        height: auto;
    }
    .advantages-item--four {
        width: 170px;
        height: auto;
    }
}