.stages-block {
}

.stages-block .stages__holder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stages-block .stage {
    border-radius: 10px;
    background-color: var(--bg-dark);
    min-height: 279px;
    padding: 30px;
    position: relative;
}

.stages-block .stage-num {
    background-color: var(--primary);
    color: var(--card);
    border-radius: 7px;
    padding: 7px 13px;
    width: fit-content;
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--card);
}

.stages-block .image__holder {
    width: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
}

.stages-block .image__holder img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.stages-block .stage__descr {
    max-width: 229px;
    width: 100%;
}

.stages-block .form__holder {
    margin-top: 30px;
    border-radius: 10px;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 60px;
}

.stages-block .forms__text {
    max-width: 415px;
    width: 100%;
}

.stages-block .stages__form {
    max-width: 533px;
    width: 100%;
    display: flex;
    align-items: center;
}

.stages-block .form .top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stages-block .form button {
    margin-top: 0;
    width: 100%;
    max-width: 230px;
}

.stages-block .form input {
    width: 100%;
}

.stages-block .form {
    width: 100%;
}

.stages-block .privacy {
    display: inline;
}

.stages-block .form__title,
.stages-block .form__subtitle {
    text-align: left;
}

.stages-block .form__title {
    margin-bottom: 10px;
}

.stages-block .phone {
    white-space: nowrap;
}

@media(max-width: 1320px) {
    .stages-block .image__holder {
        height: 70%;
    }
}

@media(max-width: 1150px) {
    .stages-block .image__holder {
        display: none;
    }

    .stages-block .stage__descr {
        max-width: 100%;
    }

    .stages-block .form__holder {
        flex-direction: column;
    }

    .stages-block .forms__text {
        max-width: 100%;
    }

    .stages-block .stages__form {
        max-width: 100%;
        width: 100%;
    }

    .stages-block .form {
        max-width: 100%;
        width: 100%;
    }

    .stages-block .form .form-privacy {
        text-align: left;
    }
}

@media(max-width: 900px) {
    .stages-block .stages__holder {
        grid-template-columns: 1fr;
    }

    .stages-block .image__holder {
        display: block;
    }

    .stages-block .stage__descr {
        max-width: 60%;
    }
    .stages-block .image__holder img {
        height: 100%;
        width: 195px;
        position: absolute;
        right: 0px;
        object-fit: contain;
    }
}

@media(max-width: 700px) {
    .stages-block .form__holder {
        padding: 30px;
    }

    .stages-block .form .top {
        flex-direction: column;
    }

    .stages-block .stage-num {
        margin-bottom: 20px;
    }

    .stages-block .stage {
        padding: 20px;
    }

    .stages-block .form button {
        max-width: 100%;
    }
}

@media(max-width: 415px) {
    .stages-block .stage__descr {
        max-width: 100%;
    }

    .stages-block .stage {
        min-height: unset;
    }

    .stages-block .image__holder {
        display: none;
    }
}