/* ============================================
   Quality Assurance Page - 品质保障页面样式
   参考: XCD Quality Assurance
   主色调: #EA543F, 深色: #1A1A1A, 浅灰: #F5F5F7
   ============================================ */

/* --- 全局容器 --- */
.qa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.qa-section {
    padding: 80px 0;
}

.qa-section-gray {
    background-color: #F5F5F7;
}

/* --- 标题装饰条 --- */
.qa-title-bar {
    display: inline-block;
    height: 4px;
    width: 64px;
    background: #EA543F;
    vertical-align: middle;
    margin-left: 12px;
}

/* ============================================
   Section 1: Hero - 首屏标题
   ============================================ */
.qa-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.qa-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
}

.qa-hero__desc {
    font-size: 18px;
    color: white;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Section 2: We Ensure Quality in Every Step
   ============================================ */
.qa-steps__heading {
    text-align: center;
    margin-bottom: 60px;
}

.qa-steps__heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
}

.qa-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.qa-step-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.qa-step-card__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #EA543F;
    background: rgba(234, 84, 63, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.qa-step-card__phase {
    font-size: 24px;
    font-weight: 600;
    color: #EA543F;
    margin-bottom: 24px;
    line-height: 1.3;
}

.qa-step-card__item-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.qa-step-card__item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.qa-step-card__divider {
    border: none;
    border-top: 1px solid #E8E8E8;
    margin: 24px 0;
}

/* ============================================
   Section 3: Manufacturing Standards
   ============================================ */
.qa-standards__heading {
    text-align: center;
    margin-bottom: 50px;
}

.qa-standards__heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
}

.qa-standards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.qa-standards-card {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.qa-standards-card:hover {
    border-color: #EA543F;
    box-shadow: 0 4px 16px rgba(234, 84, 63, 0.1);
}

.qa-standards-card__text {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.4;
}

.qa-standards-card__icon {
    color: #EA543F;
    font-size: 18px;
    flex-shrink: 0;
    margin-left: 16px;
}

/* ============================================
   Section 4: Self-Owned Factories
   ============================================ */
.qa-factories__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}

.qa-factories__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qa-factories__icon svg {
    display: block;
}

.qa-factories__text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.qa-factories__image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.qa-factories__heading {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 8px;
}

/* Stats */
.qa-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.qa-stat-item {
    text-align: center;
}

.qa-stat-item__number {
    font-size: 36px;
    font-weight: 700;
    color: #EA543F;
    line-height: 1.2;
}

.qa-stat-item__label {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

/* ============================================
   Section 5: Inspection Equipment
   ============================================ */
.qa-inspection__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.qa-inspection__heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 16px;
}

.qa-inspection__text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.qa-inspection__carousel {
    max-width: 610px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.qa-inspection__carousel::-webkit-scrollbar {
    display: none;
}

.qa-inspection__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.qa-inspection__slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* --- Dots (装饰性) --- */
.qa-inspection__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.qa-inspection__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: background 0.3s;
}

.qa-inspection__dot--active {
    background: #EA543F;
}

/* ============================================
   Section 6: Certifications
   ============================================ */
.qa-certs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.qa-certs__icon-wrapper {
    display: flex;
    justify-content: center;
}

.qa-certs__heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 16px;
}

.qa-certs__text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.qa-certs__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qa-certs__images img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
    display: block;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.qa-certs__images img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Section 7: Quality Documentation
   ============================================ */
.qa-docs__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.qa-docs__heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
}

.qa-docs__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.qa-docs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.qa-doc-card {
    padding: 30px 24px;
    border-radius: 10px;
    transition: background 0.3s;
}

.qa-doc-card:hover {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.qa-doc-card__title {
    font-size: 22px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.3;
}

.qa-doc-card__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Responsive - 响应式
   ============================================ */
@media (max-width: 1024px) {
    .qa-hero__title {
        font-size: 36px;
    }

    .qa-steps__heading h2,
    .qa-standards__heading h2,
    .qa-inspection__heading h2,
    .qa-certs__heading h2,
    .qa-docs__heading h2 {
        font-size: 32px;
    }

    .qa-factories__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qa-inspection__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qa-certs__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qa-docs__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qa-factories__heading {
        font-size: 26px;
    }

    .qa-stat-item__number {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .qa-section {
        padding: 50px 0;
    }

    .qa-hero {
        padding: 60px 0 50px;
    }

    .qa-hero__title {
        font-size: 28px;
    }

    .qa-hero__desc {
        font-size: 15px;
    }

    .qa-steps__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qa-standards__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qa-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .qa-stat-item__number {
        font-size: 24px;
    }

    .qa-stat-item__label {
        font-size: 12px;
    }



    .qa-docs__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qa-certs__images {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .qa-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .qa-stat-item__number {
        font-size: 22px;
    }
}
