/* ==========================================================================
   Li'en — 站点样式
   手写 CSS，无框架、无构建步骤。移动优先。
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
    --ink: #0d1622;
    --ink-2: #17232f;
    --ink-3: #22303e;
    --body: #3f4d5c;
    --muted: #6d7d8f;
    --line: #e2e8f0;
    --line-2: #eef2f7;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-soft-2: #eef2f7;

    --brand: #12395c;
    --brand-2: #1c5480;
    --brand-3: #2b7bb0;

    --accent: #e07b1f;
    --accent-2: #c2650f;
    --accent-soft: #fdf1e3;

    --ok: #1f8a54;

    --radius-s: 6px;
    --radius: 10px;
    --radius-l: 16px;

    --shadow-s: 0 1px 2px rgba(13, 22, 34, .06);
    --shadow: 0 4px 16px rgba(13, 22, 34, .08);
    --shadow-l: 0 14px 44px rgba(13, 22, 34, .14);

    --wrap: 1200px;
    --wrap-narrow: 820px;
    --header-h: 72px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.22;
    margin: 0 0 .6em;
    font-weight: 700;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: var(--ink-2); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c7d3df; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---------- 区块标题 ---------- */
.eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }
.section--dark .section-head p { color: #9fb0c0; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 13px 26px;
    border-radius: var(--radius-s);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    text-align: center;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 头部 ---------- */
.topbar {
    background: var(--ink);
    color: #9db0c2;
    font-size: .82rem;
    padding: 7px 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.topbar a { color: #cfdcea; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: .4em; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.97);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
    width: 38px; height: 38px; flex: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.02em; }
.logo-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    padding: 9px 13px;
    border-radius: var(--radius-s);
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-2);
}
.nav a:hover { background: var(--bg-soft); color: var(--brand-2); }
.nav a.is-active { color: var(--brand); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-s);
    cursor: pointer;
    padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 2px; background: var(--ink);
    margin: 0 auto; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 首屏 ---------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(9,17,26,.94) 0%, rgba(9,17,26,.78) 42%, rgba(9,17,26,.42) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 84px; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero-lead { font-size: 1.1rem; color: #c3d2e0; max-width: 620px; margin-bottom: 1.8rem; }
.hero .btn-row { margin-bottom: 2.2rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-badge { display: flex; align-items: center; gap: .55em; font-size: .87rem; color: #b9c9d8; }
.hero-badge svg { flex: none; color: var(--accent); }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.85rem; color: #fff; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.stat span { font-size: .84rem; color: #93a6b8; }

/* ---------- 卡片 ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover { box-shadow: var(--shadow-l); transform: translateY(-3px); border-color: #d3dde8; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin-bottom: .35em; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--accent); }
.card-body p { font-size: .91rem; color: var(--muted); margin-bottom: 1rem; }
.card-link { margin-top: auto; font-size: .89rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .35em; }
.card-tag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(13,22,34,.82); color: #fff;
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 4px;
}

/* 产品列表里的标签 */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.badge {
    font-size: .72rem; font-weight: 600;
    background: var(--bg-soft); border: 1px solid var(--line);
    color: var(--body); padding: 4px 9px; border-radius: 999px;
}

/* ---------- 产品详情 ---------- */
.product-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0 56px; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 7px; opacity: .55; }

.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs button {
    padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s);
    overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 1/1;
    transition: border-color .18s;
}
.gallery-thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-intro h1 { margin-bottom: .4em; }
.product-intro .tagline { font-size: 1.06rem; color: var(--brand-2); font-weight: 600; margin-bottom: 1.1rem; }
.product-intro .lead { color: var(--body); }

/* 锚点导航 */
.anchor-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 40; }
.anchor-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .wrap::-webkit-scrollbar { display: none; }
.anchor-nav a {
    padding: 15px 14px; font-size: .88rem; font-weight: 600; color: var(--muted);
    white-space: nowrap; border-bottom: 2px solid transparent;
}
.anchor-nav a:hover { color: var(--ink); }
.anchor-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--body); }

/* 特点 */
.feature { display: flex; gap: 15px; }
.feature-icon {
    flex: none; width: 44px; height: 44px; border-radius: 10px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center;
}
.feature h4 { margin-bottom: .3em; }
.feature p { font-size: .91rem; color: var(--muted); margin: 0; }

/* 色卡 */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px; }
.swatch { text-align: center; }
.swatch-chip {
    aspect-ratio: 1/1; border-radius: var(--radius); border: 1px solid rgba(0,0,0,.09);
    box-shadow: var(--shadow-s); margin-bottom: 9px;
}
.swatch-name { font-size: .83rem; color: var(--ink-2); font-weight: 500; }

/* 应用实景 */
.app-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; background: var(--ink-2); }
.app-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,17,26,.05) 35%, rgba(9,17,26,.88) 100%); }
.app-tile-body { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 240px; }
.app-tile-body h4 { color: #fff; margin-bottom: .25em; }
.app-tile-body p { color: #c3d2e0; font-size: .88rem; margin: 0; }

/* 安装步骤 */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before {
    counter-increment: step; content: counter(step);
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.step p { margin: 0; padding-top: 5px; font-size: .94rem; }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 0; text-align: left;
    font-family: inherit; font-size: 1.01rem; font-weight: 600; color: var(--ink);
}
.faq-q:hover { color: var(--accent); }
.faq-q i {
    flex: none; width: 22px; height: 22px; position: relative;
    transition: transform .25s ease;
}
.faq-q i::before, .faq-q i::after {
    content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-q i::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q i::after { left: 10px; top: 0; width: 2px; height: 22px; transition: opacity .25s; }
.faq-item.is-open .faq-q i { transform: rotate(180deg); }
.faq-item.is-open .faq-q i::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 22px; color: var(--muted); font-size: .95rem; max-width: 78ch; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
    background: linear-gradient(115deg, var(--brand) 0%, var(--brand-2) 58%, #2a6f9e 100%);
    color: #fff;
    padding: 58px 0;
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: #cfe0ee; max-width: 620px; margin-bottom: 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band .btn-row { flex: none; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: .95rem; color: var(--ink);
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: #fff;
    width: 100%;
    transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(43,123,176,.14);
}
.field textarea { resize: vertical; min-height: 118px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* 联系信息块 */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: none; color: var(--accent); margin-top: 3px; }
.contact-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #93a6b8; font-size: .9rem; padding: 56px 0 0; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1em; }
.site-footer a { color: #b9c9d8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6em; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { margin-top: 1em; font-size: .88rem; line-height: 1.7; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    display: flex; flex-wrap: wrap; gap: 10px 20px;
    justify-content: space-between; align-items: center;
    font-size: .84rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 浮动 WhatsApp ---------- */
.float-wa {
    position: fixed; right: 18px; bottom: 18px; z-index: 80;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 26px rgba(37,211,102,.42);
    transition: transform .2s;
}
.float-wa:hover { transform: scale(1.07); color: #fff; }

/* ---------- 提示条（占位信息提醒） ---------- */
.notice {
    background: var(--accent-soft);
    border: 1px solid #f5d9b3;
    color: #8a4d06;
    border-radius: var(--radius-s);
    padding: 12px 16px;
    font-size: .87rem;
    margin-bottom: 22px;
}
.notice code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; font-size: .93em; }

/* ---------- 富文本 ---------- */
.prose { max-width: 76ch; }
.prose p { font-size: 1.02rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.muted { color: var(--muted); }
.flow-lg > * + * { margin-top: 1.5rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    :root { --header-h: 64px; }
    .nav-toggle { display: grid; place-items: center; }
    .nav {
        position: fixed; inset: calc(var(--header-h)) 0 auto 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 12px 16px;
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 13px 12px; border-radius: var(--radius-s); font-size: 1rem; }
    .header-cta .btn { display: none; }
    .header-cta .btn--accent { display: inline-flex; padding: 10px 16px; font-size: .87rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .stats .wrap { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 52px 0; }
    .hero-inner { padding: 62px 0 58px; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-band .wrap { flex-direction: column; align-items: flex-start; }
    .spec-table th { width: 40%; }
    .logo-sub { display: none; }
    .topbar-info span:nth-child(n+3) { display: none; }
}

@media (max-width: 560px) {
    .grid-4 { grid-template-columns: 1fr; }
    .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat b { font-size: 1.5rem; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .btn-row .btn { flex: 1 1 auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   多语言 + 导航大菜单
   ========================================================================== */
.langswitch {
    display: inline-flex; align-items: center; gap: .35em;
    color: #cfdcea; font-weight: 600;
    border: 1px solid rgba(255,255,255,.28);
    padding: 3px 10px; border-radius: 999px;
    font-size: .78rem; line-height: 1.5;
}
.langswitch:hover { background: rgba(255,255,255,.14); color: #fff; }

.headersearch { display: flex; }
.headersearch input {
    font-family: inherit; font-size: .86rem;
    padding: 9px 12px; width: 168px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: #fff; color: var(--ink);
    transition: width .2s, border-color .2s;
}
.headersearch input:focus { outline: none; width: 210px; border-color: var(--brand-3); }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: .28em; }
.nav-item.has-mega:hover > a { background: var(--bg-soft); color: var(--brand-2); border-radius: var(--radius-s); }

.mega {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 720px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(13,22,34,.16);
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 70;
}
.mega--sm { min-width: 460px; }
.nav-item.has-mega:hover .mega,
.nav-item.has-mega:focus-within .mega {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.mega--sm .mega-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-col { min-width: 0; }
.mega-head {
    display: block; font-weight: 700; font-size: .95rem;
    color: var(--ink); margin-bottom: .7em; padding-bottom: .5em;
    border-bottom: 1px solid var(--line-2);
}
.mega-head:hover { color: var(--accent); }
.mega-col ul { list-style: none; padding: 0; margin: 0 0 1em; }
.mega-col li { margin-bottom: .42em; }
.mega-col ul a { font-size: .87rem; color: var(--body); line-height: 1.45; display: block; }
.mega-col ul a:hover { color: var(--accent); }
.mega-products { border-top: 1px dashed var(--line); padding-top: .7em !important; }
.mega-products a { color: var(--muted) !important; font-size: .82rem !important; }
.mega-promo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-s); }

/* ==========================================================================
   分类卡 / 产品网格
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-card {
    display: flex; gap: 16px; align-items: center;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cat-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); border-color: #d3dde8; }
.cat-card img { width: 84px; height: 84px; flex: none; object-fit: cover; border-radius: var(--radius-s); background: var(--bg-soft-2); }
.cat-card h3 { font-size: .98rem; margin-bottom: .2em; }
.cat-card p { font-size: .83rem; color: var(--muted); margin: 0 0 .3em; }
.cat-card .count { font-size: .76rem; color: var(--accent); font-weight: 600; }

/* ==========================================================================
   侧栏布局（产品列表 / 博客）
   ========================================================================== */
.with-side { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 34px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 16px); }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.side-box h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .9em; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: .1em; }
.side-list a { display: block; padding: 8px 10px; border-radius: var(--radius-s); font-size: .89rem; color: var(--body); }
.side-list a:hover { background: var(--bg-soft); color: var(--brand-2); }
.side-list a.is-active { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.side-list .sub a { padding-left: 22px; font-size: .85rem; }
.side-list .subsub a { padding-left: 34px; font-size: .83rem; color: var(--muted); }
.side-thumb { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.side-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-s); flex: none; }
.side-thumb span { font-size: .85rem; line-height: 1.4; color: var(--ink-2); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a {
    font-size: .8rem; padding: 5px 11px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--body);
}
.tag-cloud a:hover { background: var(--accent-soft); border-color: #f3d5ac; color: var(--accent-2); }

/* ==========================================================================
   博客
   ========================================================================== */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta { font-size: .78rem; color: var(--muted); margin: .5em 0 .35em; }
.article { max-width: 78ch; }
.article h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.article h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.article p, .article li { font-size: 1.02rem; line-height: 1.8; }
.article img { border-radius: var(--radius); margin: 1.5rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.article th { background: var(--bg-soft); font-weight: 600; }
.article blockquote {
    margin: 1.5rem 0; padding: 14px 20px;
    border-left: 3px solid var(--accent);
    background: var(--bg-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0;
    color: var(--body);
}
.article ul, .article ol { padding-left: 1.4em; }

/* ==========================================================================
   图库 / 视频
   ========================================================================== */
.masonry { columns: 3; column-gap: 14px; }
.masonry > * { break-inside: avoid; margin-bottom: 14px; }
.masonry img { width: 100%; border-radius: var(--radius); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--ink-2); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(9,17,26,.35);
}
.video-thumb .play span {
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--brand);
    display: grid; place-items: center;
}

/* ==========================================================================
   询盘 CTA 带 / 免费样品
   ========================================================================== */
.sample-box {
    background: linear-gradient(120deg, var(--accent) 0%, #c2650f 100%);
    color: #fff; border-radius: var(--radius-l); padding: 34px;
}
.sample-box h2 { color: #fff; }
.sample-box p { color: #ffe9d2; }

/* 规格速览 */
.quickfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quickfact { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.quickfact b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.quickfact span { font-size: .92rem; color: var(--ink-2); }

/* ---------- 丰富页脚 ---------- */
.footer-grid--5 { grid-template-columns: 1.7fr 1fr 0.9fr 1.2fr 1.1fr; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-certs span {
    font-size: .7rem; font-weight: 700; letter-spacing: .05em;
    border: 1px solid rgba(255,255,255,.24); color: #b9c9d8;
    padding: 3px 8px; border-radius: 4px;
}
.footer-list .sub a { padding-left: 12px; font-size: .85rem; color: #8ea3b6; }
.footer-posts a { font-size: .85rem; line-height: 1.5; display: block; }
.footer-tags { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-tags h4 { margin-bottom: .9em; }
.site-footer .tag-cloud a {
    background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #b9c9d8;
}
.site-footer .tag-cloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.langswitch--dark { color: #b9c9d8; border-color: rgba(255,255,255,.24); }
.langswitch--dark:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1180px) {
    .headersearch { display: none; }
}
@media (max-width: 1024px) {
    .with-side { grid-template-columns: 1fr; }
    .side { position: static; }
    .cat-grid, .post-list, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .masonry { columns: 2; }
}
@media (max-width: 860px) {
    .mega {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; border-top: 1px solid var(--line-2);
        min-width: 0; padding: 10px 0 14px; border-radius: 0;
        display: none;
    }
    .nav-item { flex-direction: column; align-items: stretch; }
    .nav-item.has-mega > a { border-radius: 0; }
    .mega-inner { grid-template-columns: 1fr; gap: 14px; }
    .mega-promo { display: none; }
    .quickfacts { grid-template-columns: 1fr; }
    .topbar-info .hide-sm { display: none; }
}
@media (max-width: 560px) {
    .cat-grid, .post-list, .video-grid { grid-template-columns: 1fr; }
    .masonry { columns: 1; }
    .sample-box { padding: 24px; }
}

@media print {
    .site-header, .topbar, .float-wa, .cta-band, .anchor-nav { display: none !important; }
}
