/* ── PROCESS STEPS ── */
.process-steps {
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2.5rem 10%;
    border-top: 1px solid rgba(44,12,2,0.1);
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: border-color 0.3s;
}

.step:last-child {
    border-bottom: 1px solid rgba(44,12,2,0.1);
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #6f5e7f;
    transform: translateX(-101%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.step:hover::before {
    transform: translateX(0);
}

.step > * {
    position: relative;
    z-index: 1;
}

.step-num {
    flex: 0 0 7rem;
    font-family: var(--et_global_heading_font);
    font-size: 4.5rem;
    font-weight: 700;
    color: rgba(44,12,2,0.07);
    line-height: 1;
    letter-spacing: -0.04em;
    transition: color 0.3s;
    user-select: none;
}

.step:hover .step-num {
    color: rgba(248,242,238,0.2);
}

.step-title {
    flex: 0 0 30%;
    font-family: var(--et_global_heading_font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gcid-heading-color);
    line-height: 1.3;
    padding-right: 3rem;
    transition: color 0.3s;
}

.step:hover .step-title {
    color: #fff;
}

.step-desc {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    color: var(--gcid-body-color);
    line-height: 1.75;
    border-left: 1px solid rgba(44,12,2,0.12);
    padding-left: 3rem;
    transition: color 0.3s, border-color 0.3s;
}

.step:hover .step-desc {
    color: rgba(248,242,238,0.85);
    border-color: rgba(248,242,238,0.25);
}

/* ── TABLET (max 980px) ── */
@media (max-width: 980px) {
    .step {
        padding: 2rem 5%;
    }

    .step-num {
        flex: 0 0 5rem;
        font-size: 3.5rem;
    }

    .step-title {
        flex: 0 0 28%;
        font-size: 1.1rem;
        padding-right: 2rem;
    }

    .step-desc {
        padding-left: 2rem;
        font-size: 0.875rem;
    }
}

/* ── MOBILE (max 767px) ── */
@media (max-width: 767px) {
    .step {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 6%;
        gap: 0.5rem;
    }

    .step:last-child {
        border-bottom: 1px solid rgba(44,12,2,0.1);
    }

    .step::before {
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .step-num {
        flex: none;
        font-size: 2.5rem;
        letter-spacing: -0.03em;
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .step-title {
        flex: none;
        font-size: 1.05rem;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .step-desc {
        flex: none;
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(44,12,2,0.1);
        padding-left: 0;
        padding-top: 0.75rem;
        font-size: 0.875rem;
    }

    .step:hover .step-desc {
        border-color: rgba(248,242,238,0.2);
    }
}

/* ── DIVI EDITOR ONLY ── */
.et-fb .step {
    overflow: visible !important;
    min-height: unset;
}

.et-fb .step::before {
    display: none !important;
}

.et-fb .step > * {
    position: static !important;
    z-index: auto !important;
}