/* ============================================================
   MUJIA TEXTILE — Global Stylesheet
   Shaoxing Mujia Textile Co., Ltd. | B2B Fabric Manufacturer Site
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #1a1a1a;
    --gold: #c9a96e;
    --gold-dark: #b8954a;
    --gray: #666;
    --gray-light: #f8f8f8;
    --border: #e8e8e8;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 40px; max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; color: #888; letter-spacing: 2px; margin-top: 2px; }
nav.main-nav { display: flex; align-items: center; }
nav.main-nav a {
    color: #333; font-size: 14px; font-weight: 500;
    margin-left: 34px; letter-spacing: 0.5px; transition: color 0.3s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold); }
nav.main-nav .nav-cta {
    background: var(--black); color: #fff; padding: 10px 24px;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
nav.main-nav .nav-cta:hover { background: var(--gold); color: #fff; }
.menu-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    margin-top: 77px; height: 88vh; min-height: 580px;
    display: flex; align-items: center; position: relative; overflow: hidden;
    background: var(--black);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/hero_factory.jpg') center/cover no-repeat;
    opacity: 0.38;
}
.hero-sub::before { background-image: url('../images/hero_fabric.jpg'); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .kicker {
    color: var(--gold); font-size: 13px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
    font-size: 54px; font-weight: 300; color: #fff;
    letter-spacing: 2px; line-height: 1.25; margin-bottom: 22px;
}
.hero h1 strong { font-weight: 700; display: block; }
.hero p {
    font-size: 17px; color: rgba(255,255,255,0.75);
    max-width: 560px; line-height: 1.8; margin-bottom: 38px; font-weight: 300;
}
.btn {
    display: inline-block; padding: 16px 44px;
    background: var(--gold); color: #fff;
    font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    border: none; cursor: pointer; transition: background 0.3s;
}
.btn:hover { background: var(--gold-dark); }
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.6);
    margin-left: 15px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--black); }
.btn-dark:hover { background: var(--gold); }

/* Sub-page hero (smaller) */
.hero-small { height: 52vh; min-height: 380px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--black); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-bar .container {
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-top: 26px; padding-bottom: 26px; gap: 20px; text-align: center;
}
.trust-bar .item { color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 1px; }
.trust-bar .item strong { display: block; color: var(--gold); font-size: 15px; letter-spacing: 1.5px; margin-bottom: 4px; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: 95px 0; }
.section.alt { background: var(--gray-light); }
.section-title { text-align: center; margin-bottom: 65px; }
.section-title .kicker {
    color: var(--gold); font-size: 12px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
}
.section-title h2 { font-size: 34px; font-weight: 300; letter-spacing: 2px; margin-top: 10px; }
.section-title h2 strong { font-weight: 700; }
.section-title p { color: #888; font-size: 15px; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- About intro (home) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-grid img { width: 100%; height: 460px; object-fit: cover; }
.about-text h3 { font-size: 27px; font-weight: 300; letter-spacing: 1px; margin-bottom: 24px; }
.about-text p { color: var(--gray); font-size: 15px; line-height: 1.9; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 42px; text-align: center; }
.stats .num { font-size: 32px; font-weight: 700; color: var(--gold); }
.stats .label { font-size: 11px; color: #999; letter-spacing: 1.5px; margin-top: 5px; text-transform: uppercase; }

/* ---------- Collection cards ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.collection-card { position: relative; overflow: hidden; display: block; height: 480px; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 55%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 34px;
}
.collection-card .overlay h3 { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.collection-card .overlay p { color: rgba(255,255,255,0.75); font-size: 13px; margin-top: 6px; letter-spacing: 0.5px; }
.collection-card .overlay .link {
    color: var(--gold); font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-top: 14px;
}

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { background: #fff; border: 1px solid var(--border); padding: 38px 32px; transition: box-shadow 0.3s; }
.section.alt .why-card { background: #fff; }
.why-card:hover { box-shadow: 0 12px 34px rgba(0,0,0,0.07); }
.why-card .icon { font-size: 26px; color: var(--gold); margin-bottom: 18px; }
.why-card h4 { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.85; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-badge {
    background: #fff; border: 1px solid var(--border);
    padding: 34px 20px; text-align: center;
}
.cert-badge .abbr {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border: 2px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 1px;
}
.cert-badge h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.cert-badge p { font-size: 12px; color: #999; line-height: 1.7; }
.cert-note { text-align: center; color: #999; font-size: 13px; margin-top: 34px; }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.app-card { position: relative; height: 300px; overflow: hidden; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.app-card:hover img { transform: scale(1.06); }
.app-card .overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.42);
    display: flex; align-items: flex-end; padding: 24px;
}
.app-card .overlay h4 { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 1px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step { text-align: center; padding: 0 10px; position: relative; }
.process-step .step-num {
    width: 58px; height: 58px; margin: 0 auto 18px;
    background: var(--black); color: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 700;
}
.process-step h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 85px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/hero_fabric.jpg') center/cover no-repeat; opacity: 0.18;
}
.cta-banner .inner { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: 32px; font-weight: 300; letter-spacing: 2px; }
.cta-banner h2 strong { font-weight: 700; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 18px auto 34px; max-width: 600px; }

/* ---------- Product blocks (products page) ---------- */
.product-block { margin-bottom: 95px; padding-bottom: 80px; border-bottom: 1px solid var(--border); }
.product-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-head { text-align: center; margin-bottom: 48px; }
.product-head .code { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.product-head h3 { font-size: 29px; font-weight: 300; letter-spacing: 1px; margin-top: 8px; }
.product-head .desc { color: var(--gray); font-size: 14.5px; max-width: 680px; margin: 14px auto 0; line-height: 1.85; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 42px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; display: block; }
.gallery .wide { grid-column: span 2; height: 320px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 34px 0; }
.spec-table th, .spec-table td {
    border: 1px solid var(--border); padding: 13px 18px;
    font-size: 14px; text-align: left;
}
.spec-table th { background: var(--gray-light); font-weight: 700; width: 30%; letter-spacing: 0.5px; }
.spec-table td { color: var(--gray); }

.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0; }
.spec-card { background: var(--gray-light); padding: 28px 24px; text-align: center; }
.spec-card h4 { font-size: 16px; font-weight: 700; }
.spec-card .tag { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 14px; }
.spec-card .detail { font-size: 13.5px; color: var(--gray); line-height: 2; }
.spec-card .detail strong { color: var(--black); }
.spec-card .price { margin-top: 14px; font-size: 14px; color: var(--black); font-weight: 600; }

.product-actions { text-align: center; margin-top: 38px; }

/* ---------- About page ---------- */
.facts-strip { background: var(--black); padding: 60px 0; }
.facts-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.facts-strip .num { font-size: 36px; font-weight: 700; color: var(--gold); }
.facts-strip .label { color: rgba(255,255,255,0.65); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--gray); font-size: 14px; line-height: 1.85; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { border: 1px solid var(--border); padding: 36px 30px; }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.value-card h4::before { content: '—'; color: var(--gold); margin-right: 10px; }
.value-card p { color: var(--gray); font-size: 14px; line-height: 1.85; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-info h3 { font-size: 24px; font-weight: 300; letter-spacing: 1px; margin-bottom: 26px; }
.info-row { display: flex; gap: 16px; margin-bottom: 26px; }
.info-row .ico { color: var(--gold); font-size: 19px; width: 26px; flex-shrink: 0; }
.info-row h5 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.info-row p { color: var(--gray); font-size: 14.5px; line-height: 1.7; }
.info-row a { color: var(--gray); border-bottom: 1px solid var(--gold); }
.info-row a:hover { color: var(--gold); }

.contact-form { background: var(--gray-light); padding: 45px; }
.contact-form h3 { font-size: 21px; font-weight: 300; letter-spacing: 1px; margin-bottom: 8px; }
.contact-form .form-sub { color: #999; font-size: 13px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #ddd;
    font-size: 14px; margin-bottom: 16px; font-family: inherit;
    outline: none; background: #fff; transition: border 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; padding: 16px; }
.form-note { font-size: 12px; color: #aaa; margin-top: 14px; text-align: center; line-height: 1.7; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 65px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 2; display: block; transition: color 0.3s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px;
}

/* ---------- Floating inquiry ---------- */
.float-inquiry {
    position: fixed; right: 26px; bottom: 26px; z-index: 900;
    background: var(--gold); color: #fff; padding: 15px 26px;
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.22); transition: background 0.3s;
}
.float-inquiry:hover { background: var(--gold-dark); }

/* ---------- Responsive ---------- */
/* 修复 2026-10-22：此前误写 @media (max-width:1920px)，导致 1080p/2K 桌面
   （≤1920px）也强制隐藏水平导航并显示汉堡。已删除该块，桌面恢复水平导航；
   移动端折叠规则由下方 992px 断点负责。 */
@media (max-width: 992px) {
    .container { padding: 0 24px; }
    .header-inner { padding: 12px 24px; }
    nav.main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: flex-start;
        padding: 20px 24px; border-bottom: 1px solid #eee;
    }
    nav.main-nav.open { display: flex; }
    nav.main-nav a { margin: 10px 0; }
    .menu-toggle { display: block; }
    /* mobile header fix: logo+toggle on row 1, language bar full-width row 2 */
    .header-inner { flex-wrap: wrap; row-gap: 6px; }
    .logo { order: 1; }
    .menu-toggle { order: 2; margin-left: auto; }
    .header-inner .lang-bar {
        order: 3; width: 100% !important; flex-wrap: nowrap !important;
        justify-content: flex-start !important; overflow-x: auto;
        margin: 0 !important; padding: 2px 0 4px !important;
        background: transparent !important; border: 0 !important;
        -webkit-overflow-scrolling: touch;
    }
    .header-inner .lang-bar a { white-space: nowrap; }
    .logo-text { font-size: 16px; }
    .logo-text span { font-size: 9px; letter-spacing: 1px; }
    .hero h1 { font-size: 36px; }
    .hero { height: auto; min-height: 0; padding: 120px 0 80px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .collections, .why-grid, .value-grid, .spec-cards { grid-template-columns: 1fr; }
    .cert-grid, .app-grid, .facts-strip .container { grid-template-columns: repeat(2, 1fr); }
    .trust-bar .container, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery .wide { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .btn-outline { margin-left: 0; margin-top: 14px; }
}
/* ---------- WhatsApp Floating Button ---------- */
.float-whatsapp {
    position: fixed; right: 26px; bottom: 90px; z-index: 900;
    display: flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff; padding: 14px 22px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    border-radius: 50px; box-shadow: 0 8px 26px rgba(0,0,0,0.22);
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.float-whatsapp:hover { background: #128C7E; transform: scale(1.05); color: #fff; }
.float-whatsapp .wa-icon { font-size: 22px; line-height: 1; }
.float-whatsapp .wa-text { white-space: nowrap; }
@media (max-width: 600px) {
    .float-whatsapp { padding: 12px 16px; right: 16px; bottom: 80px; }
    .float-whatsapp .wa-text { display: none; }
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: inline-block; margin-left: 18px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: #999; cursor: pointer;
    border: 1px solid #ddd; padding: 6px 12px; border-radius: 3px;
    transition: all 0.3s; background: #fff;
}
.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }
.lang-toggle.active { color: var(--gold); border-color: var(--gold); background: rgba(201,169,110,0.06); }/* ============================================================
   EUROPEAN COLLECTION — One Pattern Six Colors Grid
   ============================================================ */

.europe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 900px) {
    .europe-grid { grid-template-columns: 1fr; }
}

.europe-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.europe-gallery img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: opacity 0.3s;
}
.europe-gallery img:hover {
    opacity: 0.9;
}

/* European section product blocks compact */
#europe .product-block {
    margin-bottom: 10px;
    break-inside: avoid;
}
#europe .product-block .product-head {
    margin-bottom: 8px;
}
#europe .product-block .product-head h3 {
    font-size: 18px;
}
#europe .product-block .product-head .desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray);
}
#europe .product-block .code {
    font-size: 11px;
    letter-spacing: 2px;
}
#europe .product-actions {
    margin-top: 12px;
}
#europe .product-actions .btn {
    padding: 10px 22px;
    font-size: 12px;
}/* ============================================================
   EUROPEAN COLLECTION — Quick Navigation Index
   ============================================================ */

.europe-index {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px auto 40px;
    max-width: 720px;
    text-align: center;
}
.europe-index p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}
.europe-index-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.europe-index-grid a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    transition: all 0.25s;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.europe-index-grid a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201,169,110,0.05);
}/* ============================================================
   MTQS — Mujia Textile Quality Standard Certification Page
   ============================================================ */

/* MTQS Shield Badge (CSS-only) */
.mtqs-shield {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border: 2px solid var(--gold); border-radius: 50%;
    background: var(--black); color: var(--gold);
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    text-align: center; line-height: 1.2; position: relative;
    flex-shrink: 0;
}
.mtqs-shield-sm {
    width: 56px; height: 56px; font-size: 10px;
}
.mtqs-shield-lg {
    width: 100px; height: 100px; font-size: 18px; border-width: 3px;
}
.mtqs-shield .mtqs-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mtqs-shield .mtqs-inner span { display: block; }
.mtqs-shield .mtqs-inner .mtqs-top { font-size: 10px; letter-spacing: 1px; }
.mtqs-shield .mtqs-inner .mtqs-bottom { font-size: 7px; letter-spacing: 0.5px; color: rgba(201,169,110,0.7); }
.mtqs-shield-lg .mtqs-inner .mtqs-top { font-size: 14px; }
.mtqs-shield-lg .mtqs-inner .mtqs-bottom { font-size: 9px; }

/* Certification Hero */
.cert-hero {
    margin-top: 77px; padding: 100px 0 80px;
    background: var(--black); text-align: center; position: relative; overflow: hidden;
}
.cert-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, transparent 50%);
}
.cert-hero .container { position: relative; z-index: 2; }
.cert-hero .mtqs-shield { margin: 0 auto 28px; }
.cert-hero h1 { color: #fff; font-size: 44px; font-weight: 300; letter-spacing: 2px; }
.cert-hero h1 strong { font-weight: 700; display: block; }
.cert-hero p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 640px; margin: 18px auto 0; line-height: 1.8; }

/* Certification Intro Section */
.cert-intro { padding: 80px 0; }
.cert-intro .container { max-width: 900px; }
.cert-intro h2 { font-size: 28px; font-weight: 300; letter-spacing: 1px; margin-bottom: 20px; text-align: center; }
.cert-intro h2 strong { font-weight: 700; }
.cert-intro p { color: var(--gray); font-size: 15px; line-height: 1.9; text-align: center; max-width: 720px; margin: 0 auto; }

/* MTQS Testing Standards Table */
.cert-standards { padding: 80px 0; }
.cert-standards .container { max-width: 960px; }
.cert-standards .section-title { margin-bottom: 50px; }
.cert-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.cert-table th, .cert-table td {
    border: 1px solid var(--border); padding: 14px 18px;
    font-size: 14px; text-align: left;
}
.cert-table th { background: var(--black); color: var(--gold); font-weight: 700; letter-spacing: 0.5px; }
.cert-table tr:nth-child(even) td { background: var(--gray-light); }
.cert-table td { color: var(--gray); }
.cert-table .pass { color: #2e7d32; font-weight: 600; }

/* Certified Products List */
.cert-products { padding: 80px 0; background: var(--gray-light); }
.cert-products .container { max-width: 960px; }
.cert-products .section-title { margin-bottom: 50px; }

/* Certificate Display Area */
.cert-display { padding: 80px 0; }
.cert-display .container { max-width: 960px; }
.cert-display .section-title { margin-bottom: 50px; }
.cert-placeholder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-placeholder {
    background: #fff; border: 2px dashed var(--border);
    border-radius: 8px; padding: 50px 30px; text-align: center;
    transition: border-color 0.3s;
}
.cert-placeholder:hover { border-color: var(--gold); }
.cert-placeholder .cert-icon { font-size: 48px; margin-bottom: 16px; }
.cert-placeholder h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cert-placeholder p { font-size: 12px; color: #999; line-height: 1.7; }

/* Certification CTA */
.cert-cta {
    background: var(--black); padding: 70px 0; text-align: center;
}
.cert-cta h2 { color: #fff; font-size: 28px; font-weight: 300; letter-spacing: 1px; }
.cert-cta h2 strong { font-weight: 700; }
.cert-cta p { color: rgba(255,255,255,0.7); font-size: 15px; margin: 16px auto 30px; max-width: 560px; }

/* MTQS Badge for Homepage / Nav */
a.mtqs-badge-link { text-decoration: none; color: inherit; display: block; }
.mtqs-badge-card {
    background: #fff; border: 1px solid var(--border);
    padding: 34px 20px; text-align: center; cursor: pointer;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.mtqs-badge-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); border-color: var(--gold); }
.mtqs-badge-card .abbr {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border: 2px solid var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px;
    line-height: 1.2; text-align: center;
}
.mtqs-badge-card h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.mtqs-badge-card p { font-size: 12px; color: #999; line-height: 1.7; }
.mtqs-badge-card .badge-link { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 10px; display: inline-block; }

/* MTQS Tag on Product Pages */
.mtqs-tag {
    display: inline-block; margin-top: 12px;
    font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px;
}
.mtqs-tag::before { content: '🛡 '; }
.mtqs-tag strong { color: var(--black); }

/* Cert Nav Link */
nav.main-nav a.cert-link { color: var(--gold); font-weight: 600; }
nav.main-nav a.cert-link:hover { color: var(--gold-dark); }

@media (max-width: 768px) {
    .cert-hero h1 { font-size: 28px; }
    .cert-placeholder-grid { grid-template-columns: 1fr; }
    .cert-table { font-size: 12px; }
    .cert-table th, .cert-table td { padding: 10px 12px; }
}

/* Factory Gallery */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.factory-card {
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}
.factory-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.factory-card span {
    display: block;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: #555;
    text-align: center;
}
@media (max-width: 768px) {
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .factory-grid { grid-template-columns: 1fr; }
    .factory-card img { height: 180px; }
}


/* ===== TOP-NAV restored 2026-10-20 (fix oversized logo/nav) ===== */
/* 修复：此前全站缺 top-nav 样式，导致 logo 退回原始大图、导航纵向堆叠。
   适用于文章页等使用 <nav class="top-nav"> 的页面。 */
.top-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; gap: 22px;
    height: 64px; padding: 0 28px;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}
.top-nav .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--black,#111);
    font-weight: 800; letter-spacing: 1px; font-size: 15px;
    white-space: nowrap; flex: 0 0 auto;
}
.top-nav .nav-logo img { height: 42px; width: auto; max-width: 42px; object-fit: contain; display: block; }
.top-nav .nav-menu {
    display: flex; align-items: center; gap: 22px;
    list-style: none; margin: 0; padding: 0; flex: 1 1 auto;
}
.top-nav .nav-menu > li { position: relative; }
.top-nav .nav-menu a {
    color: #333; font-size: 14px; font-weight: 500;
    text-decoration: none; letter-spacing: .4px; white-space: nowrap;
    transition: color .25s;
}
.top-nav .nav-menu a:hover { color: var(--gold,#c8a24a); }
.top-nav .nav-menu .dropdown-content {
    display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #fff; border: 1px solid #eee; box-shadow: 0 10px 28px rgba(0,0,0,.12);
    padding: 8px 0; z-index: 1001;
}
.top-nav .nav-menu .dropdown-content a {
    display: block; padding: 9px 16px; font-size: 13px; white-space: nowrap;
}
.top-nav .nav-menu .dropdown:hover .dropdown-content { display: block; }
.top-nav .nav-cta {
    flex: 0 0 auto; background: var(--black,#111); color: #fff !important;
    padding: 10px 22px; font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase; text-decoration: none; border-radius: 2px;
    white-space: nowrap;
}
.top-nav .nav-cta:hover { background: var(--gold,#c8a24a); }
.top-nav .nav-toggle { display: none; }
/* 文章主体避开固定导航（仅在页面只有 top-nav 时由文章自身规则留白；
   有独立页头的索引页通过额外类隐藏重复 top-nav，见下方） */
@media (max-width: 860px) {
    .top-nav { gap: 12px; padding: 0 16px; }
    .top-nav .nav-menu {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 12px 24px rgba(0,0,0,.10);
    }
    .top-nav .nav-menu.open { display: flex; }
    .top-nav .nav-menu > li { width: 100%; }
    .top-nav .nav-menu a { display: block; padding: 13px 18px; }
    .top-nav .nav-menu .dropdown-content { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
    .top-nav .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 40px; height: 40px; background: none; border: 0; cursor: pointer; margin-left: auto;
    }
    .top-nav .nav-toggle .hamburger,
    .top-nav .nav-toggle .hamburger::before,
    .top-nav .nav-toggle .hamburger::after {
        content: ""; display: block; width: 22px; height: 2px; background: #222; position: relative;
    }
    .top-nav .nav-toggle .hamburger::before { position: absolute; top: -7px; }
    .top-nav .nav-toggle .hamburger::after { position: absolute; top: 7px; }
    .top-nav .nav-cta { display: none; }
}
/* 只有 top-nav 固定导航的文章页：给 body 留出导航高度，防止压住正文 */
body:has(.top-nav) { padding-top: 64px; }
/* 索引页已有正常 .site-header，隐藏其中残留的重复/破损 top-nav（通过 body.dup-nav 标记启用） */
body.dup-nav .top-nav { display: none !important; }
body.dup-nav { padding-top: 75px !important; }
/* 顶部锚点不被固定导航遮挡 */
html { scroll-padding-top: 76px; }


/* ============================================================
   MERGED article-guide styles 2026-10-20 - scoped to body.article-page
   Only article pages carry that body class; homepage unaffected.
   ============================================================ */
body.article-page{
  --black:#1a1a1a;
  --ink:#2b2214;
  --gold:#c9a96e;
  --gold-dark:#b8954a;
  --gray:#666;
  --line:#e8e2d5;
  --cream:#f8f5ee;
  --cream-2:#faf8f3;
}body.article-page *{box-sizing:border-box;}body.article-page body{
  margin:0;
  font-family:'Helvetica Neue',Arial,'Segoe UI',sans-serif;
  color:var(--black);
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}body.article-page img{
  max-width:100%;
  height:auto;
  display:block;
}body.article-page a{color:var(--gold-dark);text-decoration:none;}body.article-page a:hover{text-decoration:underline;}/* ---------- Top navigation (static, never overlaps content) ----------
   仅作用于新文章页的裸 <header>/<nav class="navbar">。
   老页面用 <nav class="top-nav">（固定定位，见 style.css），不受此规则影响。 */body.article-page header:has(.navbar){position:static;background:#fff;border-bottom:1px solid #eee;width:100%;}body.article-page nav.navbar{position:static;}body.article-page .navbar{
  max-width:1100px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;
}body.article-page .navbar .logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);font-size:18px;letter-spacing:.5px;}body.article-page .navbar .logo img{width:40px;height:40px;object-fit:contain;}body.article-page .navbar .logo:hover{text-decoration:none;}body.article-page .nav-links{list-style:none;display:flex;gap:26px;margin:0;padding:0;}body.article-page .nav-links a{color:var(--ink);font-size:14px;font-weight:600;letter-spacing:.4px;}body.article-page .nav-links a:hover{color:var(--gold-dark);text-decoration:none;}/* ---------- Reading column ---------- */body.article-page .article-container{
  max-width:860px;
  margin:0 auto;
  padding:34px 24px 10px;
}body.article-page article{font-size:16.5px;color:#33302b;}body.article-page article h1{
  font-size:34px;line-height:1.3;font-weight:700;
  color:var(--ink);margin:6px 0 18px;letter-spacing:.3px;
}body.article-page .article-header{margin-bottom:8px;}body.article-page .article-category{
  display:inline-block;position:static;margin:0 0 10px;
  font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--gold,#b8923f);background:#f6f1e7;border:1px solid #e7ddc7;
  padding:5px 12px;border-radius:3px;
}body.article-page .article-meta{font-size:13px;color:#8a7f70;letter-spacing:.5px;text-transform:uppercase;margin-bottom:18px;}body.article-page .article-meta span{margin-right:6px;}body.article-page .article-lead{font-size:18px;line-height:1.7;color:#4c453b;font-weight:400;margin:0 0 8px;}/* breadcrumb */body.article-page .breadcrumb{margin-bottom:22px;font-size:13px;}body.article-page .breadcrumb-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;color:#8a7f70;}body.article-page .breadcrumb-list li::after{content:'/';margin-left:8px;color:#cbbfa9;}body.article-page .breadcrumb-list li:last-child::after{content:'';}body.article-page .breadcrumb-list a{color:#8a7f70;}body.article-page .breadcrumb-list [aria-current="page"]{color:var(--ink);font-weight:600;}/* article typography */body.article-page article h2{font-size:25px;margin:42px 0 14px;padding-bottom:10px;border-bottom:2px solid var(--line);color:var(--ink);}body.article-page article h3{font-size:19px;margin:30px 0 10px;color:var(--ink);}body.article-page article h4{font-size:17px;margin:26px 0 8px;}body.article-page article p{margin:0 0 17px;}body.article-page article ul, body.article-page article ol{margin:0 0 18px;padding-left:24px;}body.article-page article li{margin-bottom:8px;}body.article-page article strong{color:var(--ink);}body.article-page article blockquote{
  margin:24px 0;padding:16px 22px;background:var(--cream);
  border-left:4px solid var(--gold);font-style:italic;color:#4c453b;border-radius:0 4px 4px 0;
}/* ---------- Spec tables (pandas .dataframe) ---------- */body.article-page .table-wrap, body.article-page .dataframe-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:24px 0;}body.article-page table.dataframe, body.article-page article table{
  width:100%;border-collapse:collapse;margin:0;font-size:14.5px;
  display:table;table-layout:auto;
}body.article-page table.dataframe thead th, body.article-page article table thead th, body.article-page article table th{
  background:var(--ink);color:#fff;text-align:left;padding:11px 14px;
  font-size:13px;letter-spacing:.5px;text-transform:uppercase;border:1px solid var(--ink);
}body.article-page table.dataframe td, body.article-page article table td{padding:11px 14px;border:1px solid var(--line);vertical-align:top;}body.article-page table.dataframe tbody tr:nth-child(even) td, body.article-page article table tbody tr:nth-child(even) td{background:var(--cream-2);}/* tables fill the reading column; only a genuinely too-wide table scrolls
   inside its wrapper instead of forcing page overflow */body.article-page .table-wrap > table{width:100%;min-width:0;}body.article-page .table-wrap{max-width:100%;}/* never let long tokens / unbroken strings blow the narrow layout */body.article-page h1, body.article-page h2, body.article-page h3, body.article-page h4, body.article-page p, body.article-page li, body.article-page td, body.article-page th{overflow-wrap:anywhere;word-break:break-word;}/* 兼容老页面 <div class="page-wrapper"> 包裹结构，同样收进阅读栏 */body.article-page .page-wrapper{max-width:860px;margin:0 auto;padding:28px 24px 56px;box-sizing:border-box;}body.article-page .page-wrapper .article-container{max-width:100%;padding:0;}/* ---------- In-article figures / images ---------- */body.article-page article figure{margin:26px 0;}body.article-page article figure img{width:100%;border-radius:8px;}body.article-page article figcaption{font-size:13px;color:var(--gray);margin-top:8px;line-height:1.5;}body.article-page .article-hero{margin:8px 0 26px;}body.article-page .article-hero img{width:100%;border-radius:10px;aspect-ratio:16/9;object-fit:cover;}/* ---------- Table of contents ---------- */body.article-page .toc{background:var(--cream);border:1px solid #e6dcc6;border-radius:6px;padding:18px 24px;margin:26px 0;}body.article-page .toc h2{font-size:15px;text-transform:uppercase;letter-spacing:1px;border:none;margin:0 0 10px;padding:0;color:var(--ink);}body.article-page .toc ol{margin:0;padding-left:22px;}body.article-page .toc li{margin-bottom:6px;font-size:14.5px;}/* ---------- FAQ ---------- */body.article-page .faq-item{border:1px solid var(--line);border-radius:6px;padding:16px 20px;margin:14px 0;background:#fff;}body.article-page .faq-item h3{font-size:16px;margin:0 0 6px;color:var(--ink);}body.article-page .faq-item p{margin:0;font-size:15px;color:#4c453b;}/* ---------- CTA ---------- */body.article-page .article-cta{
  margin:46px 0 10px;padding:30px;text-align:center;
  background:var(--cream);border:1px solid #e6dcc6;border-radius:6px;
}body.article-page .article-cta h2{border:none;margin:0 0 8px;font-size:23px;}body.article-page .article-cta p{margin:0 auto 18px;max-width:600px;font-size:14.5px;color:#6b6156;}body.article-page .cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}body.article-page .btn{
  display:inline-block;padding:14px 34px;border-radius:4px;
  font-size:13px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
  transition:background .25s,color .25s,border-color .25s;cursor:pointer;border:1px solid transparent;
}body.article-page .btn:hover{text-decoration:none;}body.article-page .btn-primary{background:var(--gold);color:#fff;}body.article-page .btn-primary:hover{background:var(--gold-dark);}body.article-page .btn-outline{background:transparent;color:var(--ink);border-color:var(--ink);}body.article-page .btn-outline:hover{background:var(--ink);color:#fff;}/* ---------- Article footer note + site footer ---------- */body.article-page .article-footer{margin:34px 0 0;color:var(--gray);font-size:14px;}body.article-page footer{border-top:1px solid var(--line);margin-top:50px;background:#fcfbf8;}body.article-page .footer-content{
  max-width:1100px;margin:0 auto;padding:30px 24px;text-align:center;
  color:var(--gray);font-size:13.5px;line-height:1.9;
}body.article-page .footer-content p{margin:2px 0;}body.article-page .footer-content a{color:var(--gray);}/* ---------- Responsive ---------- */@media (max-width:640px){body.article-page .navbar{flex-direction:column;gap:12px;padding:14px 18px;}body.article-page .nav-links{gap:18px;flex-wrap:wrap;justify-content:center;}body.article-page .article-container{padding:24px 18px 6px;}body.article-page article{font-size:16px;}body.article-page article h1{font-size:27px;}body.article-page article h2{font-size:22px;}body.article-page .article-cta{padding:24px 18px;}}

/* ===== Burnout Velvet Spotlight (home first screen) ===== */
.velvet-spotlight{background:linear-gradient(120deg,#1c1510 0%,#3a2c18 55%,#5a4322 100%);color:#f6efe2;padding:38px 0;border-bottom:3px solid #b98f3e}
.velvet-spotlight-inner{display:flex;align-items:center;gap:38px;flex-wrap:wrap}
.velvet-spotlight-imgs{display:flex;gap:14px;flex:0 0 auto}
.velvet-spotlight-imgs img{width:150px;height:196px;object-fit:cover;border-radius:6px;box-shadow:0 10px 26px rgba(0,0,0,.45);border:1px solid rgba(185,143,62,.55)}
.velvet-spotlight-imgs img:nth-child(2){transform:translateY(16px)}
.velvet-spotlight-text{flex:1 1 380px;min-width:280px}
.velvet-badge{display:inline-block;font-size:12px;letter-spacing:.14em;color:#e6c57c;border:1px solid rgba(230,197,124,.6);border-radius:30px;padding:4px 14px;margin-bottom:14px}
.velvet-spotlight-text h2{font-size:27px;line-height:1.28;margin:0 0 12px;color:#fff;font-weight:700}
.velvet-spotlight-text p{font-size:15px;line-height:1.7;color:#e7ddca;margin:0 0 18px}
.velvet-spotlight-text p strong{color:#f0d39a}
.velvet-spotlight-cta{display:flex;gap:14px;flex-wrap:wrap}
.btn-gold{background:linear-gradient(180deg,#d3ac57,#b98f3e);color:#1c1510;font-weight:700;border:none}
.btn-gold:hover{background:linear-gradient(180deg,#e2bd68,#c79e49)}
.btn-outline-light{border:1px solid #e6c57c;color:#f3e4c4}
.btn-outline-light:hover{background:rgba(230,197,124,.14)}
@media (max-width:680px){.velvet-spotlight{padding:28px 0}.velvet-spotlight-imgs img{width:104px;height:136px}.velvet-spotlight-text h2{font-size:21px}}

/* Velvet hero pill (first-screen entry, all viewports) */
.velvet-hero-pill{display:inline-block;margin:6px 0 18px;padding:10px 20px;border-radius:30px;background:linear-gradient(180deg,#e0bd6a,#c39c47);color:#20170b;font-weight:700;font-size:15px;letter-spacing:.01em;box-shadow:0 6px 18px rgba(195,156,71,.35);text-decoration:none;border:1px solid rgba(255,235,190,.6)}
.velvet-hero-pill:hover{background:linear-gradient(180deg,#eccb7c,#d0a954);transform:translateY(-1px)}
