/* Tailwind补全 - mb-16 (4rem) */
.mb-16 { margin-bottom: 4rem; }

/* Hero image height */
@media (min-width: 1024px) {
    .design-hero-img {
        height: 630px;
    }
}

/* ============================================
 * Customization Page Styles
 * Only loaded on the Customization page
 * ============================================ */

/* ============================================
 * Shared Section Typography (aligned with design page / homepage)
 * ============================================ */
.cust-label {
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #b71c1c;
    margin-bottom: 0.5rem;
}
.cust-label-light {
    color: #f87171;
}
.cust-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 5.23vw, 3.35rem);
    color: #1a1a1a;
    line-height: 1.2;
}
@media (min-width: 1024px) {
    .cust-section-title {
        line-height: 1.15;
    }
}
.cust-section-title-light {
    color: #fff;
}

/* Image hover lift + shadow */
.cust-img-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cust-img-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ============================================
 * CUST: Flexible Adjustments — 6 cards
 * ============================================ */
.cust-cards-section {
    background: transparent;
}
/* What Can Be Customized — increase gap to section below */
.fp-pb-8:has(.cust-cards-grid) {
    padding-bottom: 6rem;
}
.cust-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .cust-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cust-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.cust-card {
    position: relative;
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
}
.cust-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/customization_ca.png') center / cover no-repeat;
    border-radius: 8px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cust-card:hover::before {
    opacity: 1;
}
@media (min-width: 1024px) {
    .cust-card { padding: 3rem 2rem 2rem 2rem; }
}

.cust-card-icon {
    position: relative;
    z-index: 1;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cust-card-icon img {
    width: 2.8rem;
    height: 2.8rem;
    display: block;
    filter: brightness(0);
    transition: filter 0.3s ease;
}
.cust-card:hover .cust-card-icon img {
    filter: brightness(0) invert(1);
}

.cust-card-title {
    position: relative;
    z-index: 1;
    font-family: 'Google Sans Flex', sans-serif;
    font-size: clamp(1.15rem, 2.66vw, 1.7rem);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.cust-card-title::after {
    content: ' _';
}

.cust-card-desc {
    position: relative;
    z-index: 1;
    font-family: 'Google Sans Flex', sans-serif;
    font-size: clamp(0.95rem, 1.93vw, 1.2375rem);
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.cust-card:hover .cust-card-title {
    color: #fff;
}
.cust-card:hover .cust-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
 * CUST: A Clearer Way — 4 steps (3:4 aspect ratio, line divider)
 * ============================================ */
.cust-steps-section {
    position: relative;
    overflow: visible;
}
.cust-steps-bg {
    position: absolute;
    inset: 0;
    background: url('../images/customization_support.png') center / cover no-repeat;
}
.cust-steps-inner {
    position: relative;
    z-index: 1;
}
.cust-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .cust-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cust-steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.cust-step {
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media (min-width: 1024px) {
    .cust-step { padding: 2rem; }
}
.cust-step:hover,
.cust-step-active {
    background: rgba(0, 0, 0, 0.75);
}

.cust-step-line {
    width: 2.5rem;
    height: 5px;
    background: #1a1a1a;
    margin: 1rem 0;
    transition: background 0.3s ease;
    flex-shrink: 0;
}
.cust-step:hover .cust-step-line,
.cust-step-active .cust-step-line {
    background: rgba(255, 255, 255, 0.6);
}

.cust-step-title {
    font-size: clamp(1.2rem, 2.81vw, 1.8rem);
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}
.cust-step:hover .cust-step-title,
.cust-step-active .cust-step-title {
    color: #fff;
}

.cust-step-desc {
    font-size: clamp(0.95rem, 1.95vw, 1.25rem);
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.cust-step:hover .cust-step-desc,
.cust-step-active .cust-step-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
 * CUST: Why Clients Choose Us
 * ============================================ */
.cust-why-section {
    background: #fff;
}
/* Why KEDELUX — increase gap to CTA section below */
.cust-why-section.fp-pb-8 {
    padding-bottom: 6rem;
}
.cust-why-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 96%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 1024px) {
    .cust-why-layout {
        grid-template-columns: 48fr 52fr;
        gap: 6rem;
        width: 100%;
        max-width: none;
        padding: 0;
    }
    .cust-why-text {
        padding-left: 5.5vw;
    }
}
.cust-why-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cust-why-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 4px 8px rgba(0,0,0,0.1);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.cust-why-item-active,
.cust-why-item:hover {
    background: #f5f5f5;
}
.cust-why-num {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: clamp(1rem, 1.875vw, 1.2rem);
    font-weight: 600;
    flex-shrink: 0;
    width: 2rem;
    color: #1a1a1a;
    transition: color 0.25s ease;
}
.cust-why-item-active .cust-why-num,
.cust-why-item:hover .cust-why-num {
    color: #c53030;
}
.cust-why-item-title {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: clamp(1rem, 1.95vw, 1.25rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    transition: color 0.25s ease;
}
.cust-why-item-active .cust-why-item-title,
.cust-why-item:hover .cust-why-item-title {
    color: #c53030;
}
.cust-why-item-desc {
    font-size: clamp(0.95rem, 1.875vw, 1.2rem);
    color: #666;
    line-height: 1.625;
    transition: color 0.25s ease;
}
.cust-why-item-active .cust-why-item-desc,
.cust-why-item:hover .cust-why-item-desc {
    color: #c53030;
}
.cust-why-image-wrap {
    overflow: hidden;
}
.cust-why-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    min-height: 200px;
}
@media (min-width: 1024px) {
    .cust-why-image {
        aspect-ratio: auto;
        height: 810px;
    }
}

/* ============================================
 * CUST: Tell Us What You Need — CTA
 * ============================================ */
.cust-cta-section {
    position: relative;
    overflow: hidden;
    min-height: 700px;
}
.cust-cta-bg {
    position: absolute;
    inset: 0;
    background: url('../images/customization_cta.png') center / cover no-repeat;
}
.cust-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem 5rem;
    min-height: 700px;
}
@media (min-width: 1024px) {
    .cust-cta-inner { padding: 5rem 0 6rem; }
}
.cust-cta-title {
    font-size: clamp(2.25rem, 7.03vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cust-cta-desc {
    font-size: clamp(0.875rem, 2.19vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 65rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.cust-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 6rem;
    font-size: clamp(0.875rem, 1.56vw, 1rem);
    font-weight: 500;
    background: #fff;
    color: #1a1a1a;
    border-radius: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: color 0.7s ease;
}
.cust-cta-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    background: #b71c1c;
    border-radius: inherit;
    transition: transform 0.7s ease;
}
.cust-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #fff;
    border-radius: inherit;
}
.cust-cta-btn:hover {
    color: #fff;
}
.cust-cta-btn:hover::before {
    transform: scaleX(1);
}

/* Mobile */
@media (max-width: 767px) {
    /* What Can Be Customized — smaller icons + fonts */
    .cust-card-icon {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.25rem;
    }
    .cust-card-icon img {
        width: 2rem;
        height: 2rem;
    }
    .cust-card-title {
        font-size: 1.15rem;
    }
    .cust-card-desc {
        font-size: 0.95rem;
    }

    /* How We Support — smaller fonts + shorter cards */
    .cust-step {
        aspect-ratio: auto;
        padding: 1.25rem;
    }
    .cust-step-title {
        font-size: 1.2rem;
    }
    .cust-step-desc {
        font-size: 0.95rem;
    }

    /* Why KEDELUX — smaller fonts */
    .cust-why-num {
        font-size: 1rem;
        width: 1.5rem;
    }
    .cust-why-item-title {
        font-size: 1rem;
    }
    .cust-why-item-desc {
        font-size: 0.95rem;
    }

    /* CTA — shorter height + button mobile sizing */
    .cust-cta-section {
        min-height: 450px;
    }
    .cust-cta-inner {
        min-height: 450px;
        padding: 3rem 1rem 4rem;
    }
    .cust-cta-btn {
        padding: 0.625rem 2rem;
        font-size: 0.9rem;
    }
}
