.about-block {
    background: var(--bg-primary-second);
    position: relative;
}


.about-block::before {
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    background-image: url(./images/before.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    bottom: 0;
    pointer-events: none;
    right: 0;
    z-index: 1;
}



.about-block .about-block__wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.about-block .wrapper-left__side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: fit-content;
    position: sticky;
    top: 150px;
    flex: 1;
}

.about-block .wrapper-left__side:not(:has(.btn)){
    height: auto;
    justify-content: space-between;
    position: relative;
    top: unset;
}

.about-block .wrapper-right__side {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    flex: 1;
}

.about-block .left-side__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-block .left-side__text * {
    color: var(--text-primary-main);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.about-block .left-side__text * strong {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: 0%;

}

.about-block .left-side__text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-primary-main);
}

.about-block .left-side__text ul li {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: var(--text-primary-main);
    padding-left: 15px;
    position: relative;
}

.about-block .left-side__text ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '/';
    color: var(--colors-main);
    width: 10px;
    height: 30px;
}

.about-block .btn {
    margin-top: 10px;
}

.about-block .left-side__gallery {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.about-block .left-side__gallery img {
    width: calc((100% - 30px) / 2);
    border-radius: 5px;
    object-fit: cover;
    height: 250px;
}

.about-block .wrapper-right__side {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.about-block .advantage__item {
    width: calc((100% - 30px) / 2);
    border-radius: 5px;
    background: var(--bg-alt-second);
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 72px;
    justify-content: space-between;
}

.about-block .advantage-item__value {
    color: var(--colors-main);
}

.about-block .advantage-item__text {
    color: var(--text-alt-main);
}

.about-block .advantage__item:nth-child(4n+4) {
    background: var(--colors-main);
}

.about-block .advantage__item:nth-child(4n+4) .advantage-item__value {
    color: var(--text-alt-head);
}

.about-block .advantage__item:nth-child(4n+4) .advantage-item__text {
    color: var(--text-alt-head);
}

@media (max-width: 1200px) {

    .about-block .about-block__wrapper,
    .about-block .wrapper-right__side,
    .about-block .left-side__gallery {
        gap: 15px;
    }

    .about-block .advantage__item,
    .about-block .left-side__gallery img {
        width: calc((100% - 15px) / 2);
    }
}

@media (max-width: 1000px) {

    .about-block .about-block__wrapper {
        flex-direction: column;
    }

    .about-block .wrapper-left__side {
        position: relative;
        top: 0;
    }
}

@media (max-width: 500px) {

    .about-block .advantage__item,
    .about-block .left-side__gallery img {
        width: 100%;
    }

    .about-block .advantage__item{
        gap: 20px;
    }

    .about-block .left-side__gallery {
        flex-wrap: wrap;
    }
    .about-block .wrapper-left__side{
        gap: 15px;
    }
    .about-block .left-side__gallery img{
        height: 200px;
    }
}