.steps {
    padding: 80px 0;
}

.steps__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    top: 0;
    transition: opacity 0.5s ease-in, top 0.5s ease;

    .h2_header,
    .eyebrow {
        text-align: center;
    }

    .eyebrow {
        margin-bottom: 12px;
        color: #b2c6ff;
    }

    .h2_subtitle {
        margin-top: 8px;
    }
}

.steps__list {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 0;
    transition: opacity 0.5s ease-in 0.2s, top 0.5s ease 0.2s;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
    align-items: center;
}

.step__num {
    width: 56px;
    height: 56px;
    background: #E8EFF7;
    color: #006DB4;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    border: 10px solid #fff;
    box-sizing: content-box;
}

.step__label {
    font-size: 16px;
    font-weight: bold;
}

.steps__line {
    position: absolute;
    left: 40px;
    top: calc(76px / 2);
    width: calc(100% - 90px);
    background: #E8EFF8;
    height: 1px;
}

.steps__btn-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    top: 0;
    transition: opacity 0.5s ease-in 0.3s, top 0.5s ease 0.3s;
}

@media screen and (max-width: 1200px) {
    .steps__line {
        display: none;
    }

    .steps__list {
        flex-wrap: wrap;
        gap: 20px;
    }

    .step {
        width: calc(100% / 3 - 20px);
    }
}

@media screen and (max-width: 768px) {
    .step {
        width: calc(100% / 2 - 20px);
    }
}

.steps:not(._animated) {
    .steps__btn-wrap,
    .steps__heading,
    .steps__list {
        top: 20px;
        opacity: 0;
    }
}

.steps.dark {
    background: #1A2637;
    background-image: url(steps.jpg);
    background-size: cover;
    background-position: bottom right;

    .h2_header,
    .step__num,
    .step__label {
        color: #fff;
    }

    .h2_subtitle {
        color: #b2c6ff;
    }

    .steps__line {
        background: #b2c6ff;
    }

    .step__num {
        background: #0071B8;
        border-color: #0053a7;
    }
}