.stages-one-block {
    display: flex;
    gap: 30px;
    margin-block-end: clamp(2.5rem, 2rem + 2.5vw, 5rem);
}

.stages-one-block__left {
    width: 32%;
}

.stages-one-block__left-wrap {
    max-width: 360px;
    position: sticky;
    top: 20px;
}

.stages-one-block__image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.stages-one-block__image:after {
    content: '';
    display: block;
    padding-bottom: 55.6%;
}

.stages-one-block__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stages-one-block__image:not(:last-child) {
    margin-bottom: 30px;
}

.stages-one-block__btn.desktop-hidden {
    display: none;
}

.stages-one-block__right {
    flex: 1;
    display: grid;
    gap: 30px;
}

.stages-one-block__right.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.stages-one-block__right .stage-item {
    position: relative;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    margin-top: 26px;
    padding: 55px 100px 50px 30px;
    background: var(--background);
}

.stages-one-block__right .stage-item__number {
    position: absolute;
    top: -26px;
    left: 30px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    background-color: var(--card);
    color: var(--background);
    border-radius: 10px;
}

.stages-one-block__right .stage-item__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: absolute;
    top: 30px;
    right: 30px;
}

.stages-one-block__right .stage-item__title:not(:last-child) {
    margin-bottom: 15px;
}

.stages-one-block__right .stage-item__desc {
    color: var(--main-text-primary);
}

@media (max-width: 1240px) {
    .stages-one-block__right {
        gap: 15px;
    }

    .stages-one-block__right .stage-item {
        padding-right: 50px;
    }

    .stages-one-block__right .stage-item__icon {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 1025px) {
    .stages-one-block {
        flex-direction: column;
    }

    .stages-one-block .block-title {
        margin-bottom: 0;
    }

    .stages-one-block__left {
        width: 100%;
    }

    .stages-one-block__left-wrap {
        max-width: 100%;
    }

    .stages-one-block__image {
        display: none;
    }

    .stages-one-block__btn.desktop-hidden {
        display: block;
        margin: 0 auto;
    }

    .stages-one-block__btn:not(.desktop-hidden) {
        display: none;
    }

    .stages-one-block__right .stage-item {
        padding: 35px 50px 15px 15px;
    }

    .stages-one-block__right .stage-item__number {
        left: 15px;
    }
}

@media (max-width: 498px) {
    .stages-one-block__right.columns-2 {
        grid-template-columns: 1fr;
    }

    .stages-one-block .stage-item__number {
        min-width: 40px;
        min-height: 40px;
    }

    .stages-one-block .stage-item__icon {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/*# sourceMappingURL=block.css.map */
