.selection-block {}

.selection-block .selection-block__wrapper {
    border-radius: 30px;
    background: var(--bg-primary-second);
    padding: 72px;
    display: flex;
    flex-direction: column;
    gap: 53px;
}

.selection-block .wrapper-top__side {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.selection-block .wrapper__text {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.selection-block .block-title {
    margin-bottom: 56px;
    text-align: left;
}

.selection-block .block-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.selection-block .block-text * {
    color: var(--text-primary-main);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.selection-block .wrapper__image {
    width: 100%;
    background: var(--bg-alt-main);
    border-radius: 30px;
    overflow: hidden;
    padding: 35px;
    display: flex;
    flex-direction: column;
    min-height: 482px;
    height: fit-content;
    position: relative;
}

.selection-block .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.selection-block .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selection-block .right__title {
    max-width: 321px;
    margin-top: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}


.selection-block .btn {
    position: relative;
    z-index: 2;
    font-size: 20px;
}

.selection-block .wrapper-bottom__side {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
}


.selection-block .advant__item {
    width: calc((100% - 75px) / 4);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt-third);
}

.selection-block .advant__item::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url(images/before.png.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.selection-block .item__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: var(--bg-primary-second);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.selection-block .item__icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.selection-block .item__text {
    color: var(--text-primary-head);
    position: relative;
    z-index: 3;
}

@media (max-width: 1560px) {
    .selection-block .selection-block__wrapper {
        padding: 40px;
    }

    .selection-block .wrapper__text {
        max-width: 450px;

    }
}

@media (max-width: 1335px) {
    .selection-block .wrapper-top__side {
        flex-direction: column;
    }

    .selection-block .wrapper__text {
        max-width: 100%;

    }
}

@media (max-width: 1110px) {
    .selection-block .advant__item {
        width: calc((100% - 25px) / 2);
    }
    .selection-block .block-text{
        gap: 15px;
    }
}

@media (max-width: 830px) {
    .selection-block .wrapper__image {
        min-height: 350px;
        position: relative;
    }
}


@media (max-width: 650px) {
    .selection-block .wrapper__image::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background: #ffffff90;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .selection-block .wrapper__image .bg {
        z-index: 0;
    }

    .selection-block .selection-block__wrapper {
        padding: 20px;
        gap: 20px;
    }
    .selection-block .right__title{
        max-width: 100%;
    }

    .selection-block .wrapper__image .bg img{
        object-position: right;
    }
}



@media (max-width: 480px) {
    .selection-block .wrapper__image {
        min-height: 270px;
        padding: 18px;
    }

    .selection-block .advant__item {
        width: 100%;
        padding: 15px;
    }

    .selection-block .wrapper-bottom__side {
        gap: 15px;
    }

    .selection-block .block-title {
        margin-bottom: 25px;
    }

    .selection-block .item__icon {
        width: 60px;
        height: 60px;
    }

    .selection-block .item__icon img {
        width: 30px;
        height: 30px;
    }
}