/* =========================================================
   bwa-process — Process Section
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations (data-anim standard BWA) --- */

.bwa-process [data-anim] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-process [data-anim="up"] { transform: translate3d(0, 24px, 0); }

.bwa-process.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

/* Staggered delays for step cards */
.bwa-process__step--delay-1 { transition-delay: 0.1s; }
.bwa-process__step--delay-2 { transition-delay: 0.2s; }
.bwa-process__step--delay-3 { transition-delay: 0.3s; }
.bwa-process__step--delay-4 { transition-delay: 0.4s; }

/* --- Root --- */

.bwa-process {
    padding: 5rem 0;
    background: hsl(215 40% 94% / 0.3);
}

/* --- Container --- */

.bwa-process__container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Header --- */

.bwa-process__header {
    text-align: center;
    margin-bottom: 4rem;
}

.bwa-process__label {
    display: inline-block;
    background: hsl(15 90% 55% / 0.1);
    color: hsl(15 90% 55%);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bwa-process__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(215 35% 15%);
}

.bwa-process__subtitle {
    font-size: 1rem;
    color: hsl(215 20% 45%);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Grid layout --- */

.bwa-process__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* --- Connector vertical (mobile/tablette) --- */

.bwa-process__step-connector-v {
    width: 4px;
    height: 2rem;
    border-radius: 9999px;
    margin: -1rem auto 0.5rem;
    background: linear-gradient(to bottom, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
}

@media (min-width: 1024px) {
    .bwa-process__step-connector-v {
        display: none;
    }
}

@media (min-width: 1024px) {
    .bwa-process__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Step card --- */

.bwa-process__step {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Step connector line (desktop) --- */

.bwa-process__step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .bwa-process__step-connector {
        display: block;
        position: absolute;
        top: 50%;
        left: 60%;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
        background: linear-gradient(to right, hsl(15 90% 55%) 0%, transparent 100%);
        z-index: 0;
    }
}

/* --- Step card --- */

.bwa-process__step-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Step number badge --- */

.bwa-process__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}


/* --- Step title --- */

.bwa-process__step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(215 35% 15%);
}

/* --- Step description --- */

.bwa-process__step-desc {
    color: hsl(215 20% 45%);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

/* --- CTA wrap --- */

.bwa-process__cta-wrap {
    text-align: center;
    margin-top: 3rem;
}

/* --- CTA button --- */

.bwa-process__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px hsl(15 90% 55% / 0.3);
}

.bwa-process__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px hsl(15 90% 55% / 0.4);
}

.bwa-process__cta:active {
    transform: translateY(0);
}


@media (min-width: 1024px) and (max-width: 1439px) {
    .bwa-process__container {
        padding-inline: 2rem;
    }
}