/* Global module - Step Cards (centred title, numbered cards in a row, e.g. "How it works") */
.el-stepc-head {
    max-width: 900px;
    margin: 0 auto clamp(36px, calc(36px + 30 * (100vw - 1280px) / 640), 66px);
    text-align: center;
}

.el-stepc-title {
    margin: 0;
}

.el-stepc-list {
    display: grid;
    grid-template-columns: repeat(var(--el-stepc-cols, 3), minmax(0, 1fr));
    gap: clamp(16px, 1.7vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: el-stepc;
}

.el-stepc-card {
    padding: clamp(28px, calc(28px + 12 * (100vw - 1280px) / 640), 40px);
    border-radius: clamp(20px, 1.4vw, 28px);
    background: #f3f6f9;
    counter-increment: el-stepc;
}

/* Number in a ring; "Orange Number" fills it orange. */
.el-stepc-card::before {
    content: counter(el-stepc, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: clamp(56px, calc(56px + 14 * (100vw - 1280px) / 640), 70px);
    height: clamp(56px, calc(56px + 14 * (100vw - 1280px) / 640), 70px);
    margin-bottom: clamp(24px, calc(24px + 12 * (100vw - 1280px) / 640), 36px);
    border: 1.5px solid var(--el-color-blue-dark);
    border-radius: 50%;
    font-size: clamp(17px, 1vw, 20px);
    font-weight: 600;
    color: var(--el-color-heading);
    transition: background-color var(--el-transition), border-color var(--el-transition);
}

/* "Orange Number" keeps it orange; any card turns orange on hover. */
.el-stepc-card:hover::before,
.el-stepc-card.is-highlight::before {
    border-color: var(--el-color-orange);
    background: var(--el-color-orange);
}

.el-stepc-card-title {
    margin: 0 0 clamp(14px, 1vw, 20px);
    font-size: clamp(26px, calc(26px + 10 * (100vw - 1280px) / 640), 36px);
    line-height: 1.2;
}

.el-stepc-card-text {
    margin: 0;
    font-size: clamp(17px, 1.1vw, 20px);
    line-height: 1.6;
    color: var(--el-color-muted);
}

@media (max-width: 991px) {
    .el-stepc-list {
        grid-template-columns: 1fr;
    }
}
