.asail-manufacturing-section {
    background: #fbfbf9;
    direction: var(--page-direction);
    padding-block: clamp(3.5rem, 7vw, 6rem);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.mfg-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
}
.mfg-glow-1 {
    top: -10%;
    inset-inline-start: -5%;
    width: 450px;
    height: 450px;
    background: var(--primary-color, #111);
}
.mfg-glow-2 {
    bottom: -10%;
    inset-inline-end: -5%;
    width: 400px;
    height: 400px;
    background: var(--primary-soft, rgba(0,0,0,0.1));
}

.pw-flow-timeline {
    display: flex;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .pw-flow-timeline {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 2rem;
    }

    .pw-flow-timeline::before {
        content: '';
        position: absolute;
        top: 70px;
        inset-inline-start: 10%;
        inset-inline-end: 10%;
        height: 2px;
        background: linear-gradient(
            to var(--page-end-side),
            transparent 0%,
            color-mix(in srgb, var(--primary-color, #111) 25%, transparent) 20%,
            var(--primary-color, #111) 50%,
            color-mix(in srgb, var(--primary-color, #111) 25%, transparent) 80%,
            transparent 100%
        );
        z-index: 0;
    }

    .pw-flow-step {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 991px) {
    .pw-flow-timeline {
        flex-direction: column;
        gap: 2.5rem;
        max-width: 600px;
        padding-inline-start: 1.5rem;
    }

    .pw-flow-timeline::before {
        content: '';
        position: absolute;
        top: 30px;
        bottom: 30px;
        inset-inline-start: calc(1.5rem + 45px);
        width: 2px;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            var(--primary-color, #111) 15%,
            var(--primary-color, #111) 85%,
            transparent 100%
        );
        z-index: 0;
    }

    .pw-flow-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: start;
        position: relative;
        z-index: 1;
    }
    .pw-flow-content {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.pw-node-wrapper {
    position: relative;
    flex-shrink: 0;
}

.pw-node-circle {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-flow-step:hover .pw-node-circle {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        0 0 0 2px var(--primary-color, #111);
}

.pw-node-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pw-node-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color, #111) 6%, #fff);
    color: var(--primary-color, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.pw-node-number {
    position: absolute;
    bottom: -2px;
    inset-inline-end: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color, #111);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pw-flow-content {
    margin-top: 1.25rem;
}

@media (max-width: 991px) {
    .pw-flow-content {
        margin-top: 0.5rem;
    }
}

.pw-flow-title {
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pw-flow-desc {
    font-size: clamp(0.875rem, 0.825rem + 0.2vw, 0.95rem);
    color: #666666;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .pw-node-circle {
        width: 80px;
        height: 80px;
    }
    .pw-node-icon { font-size: 1.5rem; }
    .pw-node-number { width: 26px; height: 26px; font-size: 0.75rem; }
    .pw-flow-timeline::before {
        inset-inline-start: calc(1.5rem + 35px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pw-node-circle, .mfg-ambient-glow {
        transition: none !important;
        transform: none !important;
    }
}
