
/* =========================================================
   GLOBAL
========================================================= */

.qa-page {
    --qa-dark: #111827;
    --qa-text: #1f2937;
    --qa-gray: #6b7280;
    --qa-light: #f7f8fa;
    --qa-border: #e5e7eb;
    --qa-accent: #1f6feb;
    --qa-white: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--qa-text);
    line-height: 1.7;
    background: #fff;
    overflow: hidden;
}

.qa-page *,
.qa-page *::before,
.qa-page *::after {
    box-sizing: border-box;
}

.qa-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.qa-page img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   HERO
========================================================= */

.qa-hero {
    position: relative;
    height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111827;
}

.qa-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.qa-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.50) 55%,
            rgba(0,0,0,.18) 100%
        );
}

.qa-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #fff;
}

.qa-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.qa-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 700;
}

.qa-hero-subtitle {
    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.35;
    margin-bottom: 14px;
}

.qa-hero-text {
    max-width: 650px;
    font-size: 16px;
    color: rgba(255,255,255,.85);
}


/* =========================================================
   SECTION
========================================================= */

.qa-section {
    padding: 72px 0;
}

.qa-section-light {
    background: var(--qa-light);
}

.qa-section-header {
    max-width: 760px;
    margin-bottom: 40px;
}

.qa-section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.qa-section-label {
    color: var(--qa-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.qa-section h2 {
    font-size: clamp(29px, 3.5vw, 40px);
    line-height: 1.2;
    margin: 0 0 15px;
    color: var(--qa-dark);
}

.qa-section-header p {
    color: var(--qa-gray);
    font-size: 16px;
    margin: 0;
}


/* =========================================================
   QUALITY COMMITMENT
========================================================= */

.qa-commitment {
    max-width: 900px;
}

.qa-commitment p {
    color: var(--qa-gray);
    font-size: 16px;
    margin: 0 0 16px;
}

.qa-highlight-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.qa-highlight {
    padding: 19px;
    background: #fff;
    border: 1px solid var(--qa-border);
    border-radius: 7px;
}

.qa-highlight strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--qa-dark);
}

.qa-highlight span {
    display: block;
    color: var(--qa-gray);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   RELIABILITY TESTING
========================================================= */

.qa-testing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.qa-test-card {
    background: #fff;
    border: 1px solid var(--qa-border);
    border-radius: 8px;
    overflow: hidden;
}

.qa-test-image {
    width: 100%;
    height: 205px;
    object-fit: cover;
    background: #e5e7eb;
}

.qa-test-content {
    padding: 22px 23px 25px;
}

.qa-test-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--qa-accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.qa-test-card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--qa-dark);
}

.qa-test-card p {
    color: var(--qa-gray);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}


/* =========================================================
   FACTORY QUALITY CONTROL
========================================================= */

.qa-factory-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 45px;
    align-items: center;
}

.qa-factory-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
}

.qa-factory-content p {
    color: var(--qa-gray);
    font-size: 15px;
    margin: 0 0 15px;
}

.qa-factory-points {
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--qa-gray);
    font-size: 14px;
}

.qa-factory-points li {
    margin-bottom: 7px;
}


/* =========================================================
   QUALITY RECORDS
========================================================= */

.qa-record-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.qa-record {
    padding: 25px;
    border: 1px solid var(--qa-border);
    border-radius: 8px;
    background: #fff;
}

.qa-record-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--qa-accent);
    margin-bottom: 10px;
}

.qa-record h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.qa-record p {
    margin: 0;
    color: var(--qa-gray);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.qa-certification-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.qa-certification-box {
    padding: 28px;
    border: 1px solid var(--qa-border);
    border-radius: 8px;
    background: #fff;
}

.qa-certification-box h3 {
    margin: 0 0 18px;
    font-size: 20px;
}

.qa-cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.qa-cert {
    padding: 8px 13px;
    border: 1px solid var(--qa-border);
    border-radius: 5px;
    background: #fafafa;
    font-size: 13px;
    font-weight: 600;
}

.qa-cert-note {
    margin-top: 20px;
    color: var(--qa-gray);
    font-size: 13px;
}


/* =========================================================
   WARRANTY & SUPPORT
========================================================= */

.qa-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.qa-support-card {
    padding: 27px;
    border: 1px solid var(--qa-border);
    border-radius: 8px;
    background: #fff;
}

.qa-support-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--qa-dark);
}

.qa-support-card p {
    margin: 0 0 11px;
    color: var(--qa-gray);
    font-size: 14px;
    line-height: 1.65;
}

.qa-support-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   OEM / ODM
========================================================= */

.qa-oem-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: center;
}

.qa-oem-image {
    width: 100%;
    height: 285px;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
}

.qa-oem-content p {
    color: var(--qa-gray);
    font-size: 15px;
    margin: 0 0 14px;
}

.qa-oem-list {
    margin: 15px 0;
    padding-left: 20px;
    color: var(--qa-gray);
    font-size: 14px;
}

.qa-oem-list li {
    margin-bottom: 7px;
}


/* =========================================================
   CTA
========================================================= */

.qa-cta {
    padding: 72px 20px;
    background: var(--qa-dark);
    color: #fff;
    text-align: center;
}

.qa-cta-inner {
    max-width: 780px;
    margin: 0 auto;
}

.qa-cta h2 {
    margin: 0 0 15px;
    font-size: clamp(29px, 3.5vw, 42px);
    line-height: 1.2;
}

.qa-cta p {
    margin: 0 0 28px;
    color: rgba(255,255,255,.75);
    font-size: 15px;
}

.qa-cta-button {
    display: inline-block;
    padding: 12px 27px;
    background: #fff;
    color: var(--qa-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .qa-section {
        padding: 60px 0;
    }

    .qa-highlight-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .qa-factory-layout,
    .qa-oem-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qa-factory-image,
    .qa-oem-image {
        height: 280px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .qa-container {
        width: 90%;
    }

    .qa-hero {
        height: 400px;
    }

    .qa-hero-content {
        padding-top: 30px;
    }

    .qa-hero h1 {
        font-size: 38px;
    }

    .qa-hero-subtitle {
        font-size: 20px;
    }

    .qa-hero-text {
        font-size: 14px;
    }

    .qa-section {
        padding: 50px 0;
    }

    .qa-section h2 {
        font-size: 29px;
    }

    .qa-section-header {
        margin-bottom: 30px;
    }

    .qa-highlight-list,
    .qa-testing-grid,
    .qa-record-grid,
    .qa-certification-wrapper,
    .qa-support-grid {
        grid-template-columns: 1fr;
    }

    .qa-test-image {
        height: 210px;
    }

    .qa-factory-image,
    .qa-oem-image {
        height: 230px;
    }

    .qa-factory-layout,
    .qa-oem-layout {
        gap: 25px;
    }

    .qa-cta {
        padding: 55px 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .qa-hero {
        height: 380px;
    }

    .qa-hero h1 {
        font-size: 34px;
    }

    .qa-hero-subtitle {
        font-size: 18px;
    }

    .qa-test-image {
        height: 190px;
    }

}
