/* Extracted from app/Views/frontend/services/view.php (service_work_stages) during CSS refactor. */

.work-process {
            padding: 60px 20px;
            max-width: 860px;
            margin: 0 auto;
            font-family: inherit;
        }

        .work-process__title {
            text-align: center;
            font-size: 32px;
            font-weight: 800;
            color: #16ad44;
            margin-bottom: 60px;
            letter-spacing: -0.5px;
        }

        /* ── WRAPPER ── */
        .work-process__wrapper {
            position: relative;
            display: flex;
            gap: 0 36px;
        }

        /* ── TRACK (сіра лінія) ── */
        .work-process__track {
            position: relative;
            flex-shrink: 0;
            width: 4px;
            background: #e0e0e0;
            border-radius: 4px;
            margin-left: 20px;
        }

        /* ── PROGRESS (зелена лінія що росте) ── */
        .work-process__progress {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0%;
            background: linear-gradient(180deg, #28a745 0%, #16ad44 100%);
            border-radius: 4px;
            transition: height 0.15s linear;
        }

        /* ── STEPS ── */
        .work-process__steps {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        /* ── SINGLE STEP ── */
        .work-process__step {
            display: flex;
            align-items: flex-start;
            gap: 28px;
            padding-bottom: 48px;
            position: relative;
        }

        .work-process__step:last-child {
            padding-bottom: 0;
        }

        /* ── DOT ── */
        .work-process__dot {
            position: relative;
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            margin-left: -60px;
            /* виходить поверх track */
            margin-top: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .work-process__dot-inner {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #e0e0e0;
            border: 3px solid #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
            display: block;
            position: absolute;
            transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
        }

        .work-process__dot-num {
            position: relative;
            z-index: 2;
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            line-height: 1;
            transition: color 0.4s ease;
        }

        /* Активний dot */
        .work-process__step.is-active .work-process__dot-inner {
            background: linear-gradient(135deg, #28a745, #16ad44);
            transform: scale(1.15);
            box-shadow: 0 0 0 6px rgba(40, 167, 69, 0.18), 0 4px 16px rgba(40, 167, 69, 0.25);
        }

        /* ── CARD ── */
        .work-process__card {
            flex: 1;
            background: #fff;
            border: 2px solid #e8e8e8;
            border-radius: 14px;
            padding: 22px 28px;
            position: relative;
            transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;

            /* Scroll-reveal початковий стан */
            opacity: 0;
            transform: translateX(30px);
        }

        .work-process__step.is-visible .work-process__card {
            opacity: 1;
            transform: translateX(0);
            transition: opacity 0.5s ease, transform 0.5s ease,
                border-color 0.4s ease, box-shadow 0.4s ease;
        }

        .work-process__step.is-active .work-process__card {
            border-color: #28a745;
            box-shadow: 0 6px 30px rgba(40, 167, 69, 0.13);
            transform: translateX(4px);
        }

        /* Стрілочка картки */
        .work-process__card::before {
            content: '';
            position: absolute;
            left: -10px;
            top: 18px;
            width: 16px;
            height: 16px;
            background: #fff;
            border-left: 2px solid #e8e8e8;
            border-bottom: 2px solid #e8e8e8;
            transform: rotate(45deg);
            transition: border-color 0.4s ease;
        }

        .work-process__step.is-active .work-process__card::before {
            border-color: #28a745;
        }

        .work-process__card-num {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #28a745;
            text-transform: uppercase;
            margin-bottom: 6px;
            opacity: 0.7;
        }

        .work-process__card-title {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0 0 10px 0;
            line-height: 1.3;
        }

        .work-process__card-text {
            font-size: 15px;
            color: #555;
            line-height: 1.65;
            margin: 0;
        }

        /* ── HOVER (десктоп) ── */
        @media (hover: hover) {
            .work-process__step:hover .work-process__card {
                border-color: #28a745;
                box-shadow: 0 6px 24px rgba(40, 167, 69, 0.10);
            }

            .work-process__step:hover .work-process__dot-inner {
                background: #28a745;
                transform: scale(1.1);
            }
        }

        /* ── MOBILE ── */
        @media (max-width: 640px) {
            .work-process__wrapper {
                gap: 0 20px;
            }

            .work-process__track {
                margin-left: 10px;
            }

            .work-process__dot {
                margin-left: -40px;
                width: 34px;
                height: 34px;
            }

            .work-process__dot-inner {
                width: 34px;
                height: 34px;
            }

            .work-process__dot-num {
                font-size: 12px;
            }

            .work-process__card {
                padding: 16px 18px;
            }

            .work-process__card-title {
                font-size: 16px;
            }

            .work-process__card-text {
                font-size: 14px;
            }

            .work-process__step.is-active .work-process__card {
                transform: none;
            }
        }
