.steps__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.steps__card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    padding: 40px;
    background: var(--bg-section-dark);
    border-radius: 8px;
    margin: 0 0 20px 0;
    box-sizing: border-box;
}

.steps__number {
    color: var(--accent);
    font-size: 48px;
    margin: 0 0 20px;
    line-height: 110%;
    letter-spacing: -4%;
    font-weight: 400;
}

.steps__title {
    line-height: 110%;
    letter-spacing: -4%;
    font-weight: 600;
    font-size: var(--text-size-medium);
    color: var(--text-white);
    margin: 0 0 50px;
    height: 38px;
}

.steps__description {
    line-height: 110%;
    letter-spacing: -4%;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-white);
    height: 64px;
}

.steps__button {
    width: 80px;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    background: var(--accent);
    margin: 12px 0 0;
    transition: all .3s ease-in-out;
}

.steps__button--full {
    width: 100%;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.steps__button--full:hover {
    background: var(--accent-hover);
}

/* Очень большие экраны (1920px+) - 4 карточки в ряд */
@media (min-width: 1800px) {
    .steps__container {
        gap: 40px;
    }

    .steps__card {
        flex: 0 0 calc(25% - 30px);
        max-width: calc(25% - 30px);
        padding: 50px;
    }

    .steps__number {
        font-size: 56px;
    }

    .steps__title {
        font-size: 24px;
        margin: 0 0 60px;
    }

}

/* Большие экраны (1500px - 1919px) - 2 карточки в ряд, большие */
@media (min-width: 1500px) and (max-width: 1800px) {
    .steps__card {
        padding: 50px;
    }

    .steps__number {
        font-size: 56px;
    }

    .steps__title {
        font-size: 24px;
        margin: 0 0 60px;
    }

}

/* Средние экраны (1200px - 1499px) - 2 карточки в ряд */
@media (min-width: 1200px) and (max-width: 1499px) {
    .steps__card {
        padding: 40px;
    }

    .steps__number {
        font-size: 48px;
    }

    .steps__title {
        font-size: var(--text-size-medium);
        margin: 0 0 50px;
    }

    .steps__description {
        font-size: 18px;
    }
}

/* Планшеты и меньше (937px - 1199px) - 1 карточка в ряд */
@media (max-width: 1199px) and (min-width: 938px) {
    .steps__container {
        justify-content: center;
        gap: 20px;
    }

    .steps__card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* Маленькие планшеты (768px - 937px) - 1 карточка в ряд */
@media (max-width: 937px) {
    .steps__container {
        justify-content: center;
        gap: 20px;
    }

    .steps__card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .steps__button {
        width: 200px;
        height: 44px;
    }

    .steps__button img {
        transform: rotate(90deg);
        height: 16px;
    }
}

@media (max-width: 768px) {
    .steps__card:last-child {
        margin-bottom: 0;
    }

    .steps__button--full {
        height: 42px;
    }

    .steps__card-title {
        display: flex;
        align-items: center;
    }
    
    .steps__title {
        margin: 0 0 0 12px;
        height: auto;
    }

    .steps__number {
        margin: 0;
    } 

    .steps__card-title {
        margin: 0 0 12px;
        height: 78px;
    }
}

@media (max-width: 521px) {
    .steps__button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .steps__card {
        padding: 20px;
    }
}