@charset "UTF-8";
/* ============================================================
   STEPS — Этапы работы
   ============================================================ */

.steps {
    width: 100%;
    padding-top: 100px;
}

.steps__inner {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1360px;
    margin: 50px auto 0;
}

/* ── Элемент ── */
.steps__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    position: relative;
}

/* ── Верхняя строка: круг + стрелка ── */
.steps__top {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    align-self: stretch;
}

/* ── Круг с номером ── */
.steps__circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffdb7336;
  
   
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Последний шаг — золотой заливкой */
.steps__circle--active {
    background: var(--gradient-zheltyj);
    opacity: 1;
    border: 2px solid transparent;
}

.steps__num {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 38px;
    line-height: 41px;
    font-weight: 700;
    text-align: center;
}

/* Последний шаг — чёрный текст */
.steps__circle--active .steps__num {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--color-black);
    color: var(--color-black);
}

/* ── Стрелка-линия ── */
.steps__arrow {
    flex: 1;
    position: relative;
    height: 12px;
    display: flex;
    align-items: center;
}

.steps__arrow svg:first-child {
    width: 100%;
  
    display: block;
}

.steps__arrow-head {
    flex-shrink: 0;
    width: 8px;
    height: 12px;
    position: absolute;
    right: 0;
}

/* ── Подпись ── */
.steps__label {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 28px;
    line-height: 29px;
    font-weight: 700;
    margin: 0;
}

/* ── Адаптив ── */

@media (max-width: 1440px) {
    .steps__inner {
    
        padding: 0 16px;
    }
}


@media (max-width: 1200px) {
    .steps__inner {
        flex-wrap: wrap;
        gap: 24px;
    }

    .steps__item {
        flex: 0 0 calc(33.333% - 16px);
    }

   
}

@media (max-width: 599px) {
    .steps__item {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .steps {
        padding-top: 70px;
    }
    .steps__item {
        flex: 0 0 100%;
        align-content: center;
        flex-direction: column;
        align-items: center;
    }
    .steps__arrow {
        display: none;
    }
    .steps__inner {
       
        gap: 40px;
    }

    .steps__top {
   
        align-self: center;
    }


}