/* CSS Variables для блоков */
:root {
    --block-margin-bottom: 135px;
    --block-margin-bottom-mobile: 50px;
    --block-title-margin: 40px;
    --color-primary: #FF018F;
    --color-secondary: #0F8E97;
    --color-accent: #FFC600;
    --color-purple: #5E5F94;
    --color-text: #414141;
    --color-text-light: #979797;
}

/* Блок этапов работы */
.steps-block {
    max-width: 1170px;
    margin: 0 auto var(--block-margin-bottom) !important;
    padding: 0 15px;
}
.steps-block .steps-block__title,
.steps-block .main-caption {
    text-align: center;
    margin: 0 auto var(--block-title-margin) !important;
}

/* Этапы работы */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.steps__item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    position: relative;
    text-align: center;
}
.steps__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.steps__num--primary { background: var(--color-primary); }
.steps__num--secondary { background: var(--color-secondary); }
.steps__num--accent { background: var(--color-accent); color: var(--color-text); }
.steps__num--purple { background: var(--color-purple); }
.steps__num--gray { background: var(--color-text-light); }
.steps__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}
.steps__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Соединительная линия между шагами */
.steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 32px);
    width: calc(100% - 32px);
    height: 2px;
    background: linear-gradient(to right, var(--color-primary) 0%, #D1D1D1 100%);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .steps-block {
        margin-bottom: var(--block-margin-bottom-mobile) !important;
    }
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .steps__item {
        max-width: 280px;
    }
    .steps__item::after {
        display: none;
    }
}
