.steps-block {}

.steps-block .steps-block__wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;

}

.steps-block .wrapper-left__side {
    max-width: 490px;
    display: flex;
    height: auto;
    flex-shrink: 0;
}

.steps-block .titles-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    height: fit-content;
    top: 150px;
}

.steps-block .block_title {
    margin: 0;
}

.steps-block .wrapper-right__side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.steps-block .step__item {
    width: 100%;
    display: flex;
    flex-direction: column;

    position: relative;

}

.steps-block .step__item:nth-child(even) {
    top: 140px;

}

.steps-block .step-item__image {
    width: 100%;
    height: 580px;
    position: relative;
    border-radius: 5px;
}

.steps-block .step-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}


.steps-block .step-item__text {
    position: absolute;
    width: calc(100% - 20px);
    bottom: 10px;
    left: 10px;
    padding: 20px;
    background: var(--bg-primary-fourth);
    display: flex;
    border-radius: 5px;
    flex-direction: column;
}

.steps-block .step__title {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
}

.steps-block .step__title .title {
    margin-bottom: 15px;
}

.steps-block .step__title .title,
.steps-block .step__title .index {
    color: var(--hover-main);
}

.steps-block .line {
    width: 170px;
    height: 0px;
    border: 1px solid #A8A8A8;
    margin-bottom: 10px;

}

.steps-block .step__subtitle {
    color: var(--text-primary-head);
}

.steps-block .step__item-note {
    margin-top: 10px;
    color: var(--hover-main);
}

.steps-block .step__item.form {
    padding: 30px;
    background: var(--text-primary-head);
    border-radius: 5px;
    height: fit-content;
    gap: 10px;
}

.steps-block .form_title {
    color: var(--bg-primary-fourth);

}

.steps-block .form_subtitle {
    color: var(--bg-primary-stroke);
    margin-bottom: 10px;

}

@media (max-width: 1350px) {

    .steps-block .wrapper-right__side {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .steps-block .step__item:nth-child(even) {
        top: 0;
    }

    .steps-block .wrapper-right__side {
        width: 100%;
    }
}

@media (max-width: 1000px) {

    .steps-block .wrapper-left__side {
        max-width: 350px;
    }
}


@media (max-width: 800px) {
    .steps-block .steps-block__wrapper {
        flex-direction: column;
    }

    .steps-block .wrapper-right__side {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-block .step-item__image{
        height: 400px;
    }
}
@media (max-width: 720px) {
    .steps-block .steps-block__wrapper {
        flex-direction: column;
    }

    .steps-block .wrapper-right__side {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .steps-block .step-item__image{
        height: 400px;
    }
    .steps-block .step__item.form{
        padding: 15px;
    }
}

@media (max-width: 400px) {
    .steps-block .step-item__image{
        height: 350px;
    }
    .steps-block .steps-block__wrapper{
        gap: 15px;
    }
    .steps-block .titles-block{
        gap: 10px;
    }
}