/* [admax_lepesek] — 3 lépéses sor; Lucide SVG ikonok öröklik a doboz színét. */

.how__steps {
    position: relative;
}

.how__steps-line {
    position: absolute;
    top: 30px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    z-index: 0;
    overflow: hidden;
}

.how__steps-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -14px;
    background: repeating-linear-gradient(90deg, rgba(167, 235, 221, 0.5) 0 7px, rgba(167, 235, 221, 0) 7px 14px);
    animation: how-line-flow 1.4s linear infinite;
}

@keyframes how-line-flow {
    to {
        transform: translateX(14px);
    }
}

.how__steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 29px;
    position: relative;
    z-index: 1;
}

.how__step {
    text-align: center;
}

.how__step-icon {
    width: 61px;
    height: 61px;
    border-radius: 16px;
    background: #20463f;
    border: 1px solid rgba(167, 194, 186, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 13px 27px rgba(11, 24, 21, 0.4);
    color: #a7ebdd;
}

.how__step-icon--main {
    background: #2c8b74;
    border: 1px solid #5fbda8;
    box-shadow: 0 16px 36px rgba(44, 139, 116, 0.5);
    color: #fff;
}

.how__step-icon svg {
    width: 24px;
    height: 24px;
}

.how__step-shape {
    width: 18px;
    height: 18px;
    background: #a7ebdd;
    transform: rotate(45deg);
    border-radius: 3px;
}

.how__step-shape--circle {
    border-radius: 50%;
    background: #5fbda8;
}

.how__step-logo {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    letter-spacing: -0.01em;
}

.how__step-logo .c-mint {
    color: #a7ebdd;
}

.how__step-tag {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #5fbda8;
    margin-bottom: 7px;
}

.how__step-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    color: #F1F7F4;
    font-size: 17px;
    margin-bottom: 7px;
}

.how__step-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #a7c2ba;
    margin: 0 auto;
    max-width: 232px;
    font-weight: 500;
}

/* [admax_lepesek megjelenes="szamok"] — számozott lépés-rács sötét szekcióra. */
.am-lsteps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.am-lsteps-line {
    position: absolute;
    top: 34px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.am-lsteps-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -14px;
    background: repeating-linear-gradient(90deg, rgba(167, 235, 221, 0.5) 0 7px, rgba(167, 235, 221, 0) 7px 14px);
    animation: how-line-flow 1.4s linear infinite;
}

.am-lsteps .am-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.am-lsteps .am-step-num {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #20463F;
    border: 1px solid rgba(167, 194, 186, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 14px 30px rgba(11, 24, 21, .4);
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #A7EBDD;
}

.am-lsteps .am-step-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 10px;
    color: #fff;
}

.am-lsteps .am-step-d {
    font-size: 14.5px;
    line-height: 1.55;
    color: #A7C2BA;
    margin: 0 auto;
    max-width: 270px;
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .how__steps-line::before,
    .am-lsteps-line::before {
        animation: none;
    }
}

@media (max-width: 767px) {
    .how__steps-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .how__steps-line {
        display: none;
    }

    .how__step-icon {
        margin-bottom: 14px;
    }

    .how__step-desc {
        max-width: 280px;
    }

    .am-lsteps {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .am-lsteps-line {
        display: none;
    }
}
