/* How it works — numbered steps, aligned with services / certs / stats cards */

.how-section {
    background: var(--background-color-section);
    color: var(--text-color-dark);
    padding: 88px 0 96px;
}

.how-section .container {
    max-width: 1140px;
}

.how-intro {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.how-kicker {
    margin: 0 0 12px;
    color: var(--brand-indigo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.how-intro h2 {
    margin: 0 0 14px;
    color: var(--important-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.how-intro p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.6;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 26px;
    margin: 0;
    background: var(--text-color-alt-1);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--brand-indigo);
    border-radius: var(--surface-light-card-radius);
    box-shadow: var(--surface-light-card-shadow);
}

.how-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin-bottom: 20px;
    padding: 0 10px;
    background: var(--brand-indigo);
    color: var(--text-color-alt-1);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.how-step-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 140px;
    margin-bottom: 20px;
}

.how-step-icon img {
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: 140px;
    object-fit: contain;
}

.how-step h3 {
    margin: 0 0 8px;
    color: var(--important-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.how-step p {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .how-section {
        padding: 56px 0 64px;
    }

    .how-intro {
        margin-bottom: 36px;
    }

    .how-intro h2 {
        font-size: 24px;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .how-intro h2 {
        font-size: 22px;
    }
}
