/* ===== Customization Service Page ===== */

.custom-hero {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    overflow: hidden;
}

.custom-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../image/factory.png') center/cover no-repeat;
}

.custom-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
}

.custom-hero .container {
    position: relative;
    z-index: 2;
}

.custom-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.custom-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Process section */
.process {
    padding: 100px 0;
    background: #f7f9f8;
}

.process-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.process-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 18px;
}

.process-head p {
    font-size: 16px;
    color: #5a6b60;
    line-height: 1.85;
}

/* Steps zigzag */
.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.step-text .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #4a5a50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.step-text p {
    font-size: 15.5px;
    color: #5a6b60;
    line-height: 1.85;
    text-align: center;
}

.step:nth-child(even) .step-image {
    order: 2;
}

.step:nth-child(even) .step-text {
    order: 1;
}

/* Cases section */
.cases {
    padding: 100px 0;
    background: #fff;
}

.cases-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.cases-text .section-label {
    display: block;
    margin-bottom: 18px;
}

.cases-text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 22px;
    line-height: 1.25;
}

.cases-text p {
    font-size: 15.5px;
    color: #5a6b60;
    line-height: 1.9;
    margin-bottom: 14px;
}

.cases-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    font-size: 14px;
    color: #4a5a50;
    font-weight: 600;
}

.cases-tags span::before {
    content: "›";
    margin-right: 6px;
    color: #c9a227;
}

/* Cases gallery */
.cases-gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.1);
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1ef;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #1d2b22;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 2;
    transition: background .2s;
}

.gallery-arrow:hover {
    background: #fff;
}

.gallery-arrow.prev {
    left: 16px;
}

.gallery-arrow.next {
    right: 16px;
}

@media (max-width: 860px) {
    .step {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .step:nth-child(even) .step-image {
        order: 0;
    }
    .step:nth-child(even) .step-text {
        order: 0;
    }
    .step-image img {
        max-height: 320px;
    }
    .process, .cases {
        padding: 70px 0;
    }
    .cases-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .gallery-slide {
        height: 420px;
    }
    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}
