/* ==========================================================================
   金亿达官网 —— 灰黑金属工业风设计系统
   主色 #24282e（炭黑钢灰）。金属质感由「多段渐变 + 顶部高光 + 细描边」构成，
   不使用位图纹理 —— 零额外请求，任意缩放都清晰。
   注意：视觉层不承载语义。正文、标题、列表一律用真实 HTML 元素，
   轮播/交互只做增强，不影响抓取。
   ========================================================================== */

:root {
    /* ---- 主色：工业炭黑。变量名沿用 --red（全站 80+ 处引用），语义已是「主色」 ---- */
    --red: #24282e;
    --red-dk: #15181b;
    --red-lt: #eef1f4;
    --red-ln: #ccd3da;

    /* ---- 金属银阶：高光、描边、次级信息 ---- */
    --metal-hi: #eaeef2;
    --metal-1: #c5ccd4;
    --metal-2: #98a1ab;
    --metal-3: #69727c;

    --ink: #1c1f23;
    --ink-2: #454a51;
    --gray: #737980;
    --gray-lt: #949aa1;
    --line: #dfe3e8;
    --bg: #f4f6f8;
    --bg-2: #eceff2;
    --dark: #1b1e22;
    --w: 1200px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0; background: #fff; color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px; line-height: 1.8;
}

img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dk); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }

.sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--red); color: #fff; padding: 10px 18px;
}
.skip:focus { left: 0; }

/* ---------- 顶部公告条 ---------- */
.topbar { background: var(--dark); color: #cfcfcf; font-size: 13px; }
.topbar-in {
    max-width: var(--w); margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; min-height: 40px; flex-wrap: wrap;
}
.topbar .notice {
    flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis; line-height: 40px;
}
.topbar .notice b { color: #fff; margin-right: 8px; font-weight: 600; }
.topbar .tb-tel { white-space: nowrap; color: #bdbdbd; }
.topbar .tb-tel span { margin-right: 6px; }
.topbar .tb-tel a { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.topbar .tb-tel a:hover { color: var(--metal-1); }

/* ---------- 头部 ---------- */
.hd { background: #fff; border-bottom: 3px solid var(--red); }
.hd-in {
    max-width: var(--w); margin: 0 auto; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 13px; }
.logo-mark {
    width: 50px; height: 50px; flex: 0 0 50px;
    background: var(--red); color: #fff; border-radius: 6px;
    display: grid; place-items: center;
    /* 品牌字标 JYD：三个字母横排，字号要比单个汉字小，否则放不进方框 */
    font-size: 17px; font-weight: 700; letter-spacing: .5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.logo-tx b { display: block; font-size: 22px; color: var(--ink); line-height: 1.25; }
.logo-tx i { font-style: normal; font-size: 11.5px; color: var(--gray); line-height: 1.4; display: block; }

.hd-right { display: flex; align-items: center; gap: 22px; }
.hd-sch { display: flex; }
.hd-sch input[type="text"] {
    width: 210px; padding: 9px 13px; border: 1px solid var(--line);
    border-right: 0; border-radius: 4px 0 0 4px; font-size: 14px;
    font-family: inherit; color: var(--ink);
}
.hd-sch button {
    padding: 9px 18px; border: 0; border-radius: 0 4px 4px 0;
    background: var(--red); color: #fff; font-size: 14px; font-family: inherit; cursor: pointer;
}
.hd-sch button:hover { background: var(--red-dk); }
.hd-badge { text-align: right; line-height: 1.35; font-size: 12px; color: var(--gray); }
.hd-badge strong { display: block; font-size: 20px; color: var(--red); letter-spacing: .5px; }

/* ---------- 主导航 ---------- */
.nav { background: var(--red); }
.nav-top { display: none; }
.nav-in { max-width: var(--w); margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; }
.nav-in a {
    color: #fff; font-size: 15.5px; line-height: 50px; padding: 0 22px;
    display: block; position: relative; transition: background .15s;
}
.nav-in a:hover, .nav-in a.on { background: var(--red-dk); color: #fff; }
.nav-in a.on::after {
    content: ''; position: absolute; left: 22px; right: 22px; bottom: 0;
    height: 3px; background: #fff;
}
.nav-btn { display: none; background: var(--red); border: 0; padding: 12px 16px; cursor: pointer; }
.nav-btn .ln { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }

/* ---------- Banner ---------- */
.banner { position: relative; background: var(--red-dk); overflow: hidden; }
.banner-item { display: none; }
.banner-item.on { display: block; }
.banner-item > img { width: 100%; display: block; }
.banner-txt {
    max-width: var(--w); margin: 0 auto; padding: 92px 20px 100px;
    color: #fff; position: relative; z-index: 2;
}
.banner-txt .bt-tag {
    display: inline-block; font-size: 13px; letter-spacing: 2px;
    border: 1px solid rgba(255,255,255,.55); padding: 4px 14px; border-radius: 30px;
    margin-bottom: 20px;
}
.banner-txt h1 { font-size: 40px; max-width: 780px; margin-bottom: 18px; }
.banner-txt p { font-size: 16.5px; max-width: 720px; color: rgba(255,255,255,.9); margin: 0 0 30px; }
.banner-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.banner-facts {
    list-style: none; display: flex; gap: 44px; flex-wrap: wrap;
    margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.25);
}
.banner-facts b { display: block; font-size: 22px; color: #fff; }
.banner-facts span { font-size: 13px; color: rgba(255,255,255,.75); }
/* 第三张卡要放整串「行业 + 形态」，字号收一档，避免把整行顶歪 */
.banner-facts .bf-long { max-width: 340px; }
.banner-facts .bf-long b { font-size: 17px; line-height: 1.4; text-wrap: balance; }
.banner-arrows { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.banner-arrows button {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
    background: rgba(0,0,0,.25); color: #fff; font-size: 20px; cursor: pointer;
    pointer-events: auto; line-height: 1;
}
.banner-arrows button:hover { background: var(--red); border-color: var(--red); }
.banner-arrows .prev { left: 26px; }
.banner-arrows .next { right: 26px; }
.banner-dots {
    position: absolute; left: 0; right: 0; bottom: 22px;
    display: flex; justify-content: center; gap: 10px; z-index: 3;
}
.banner-dots button {
    width: 11px; height: 11px; border-radius: 50%; border: 1px solid #fff;
    background: transparent; cursor: pointer; padding: 0;
}
.banner-dots button.on { background: #fff; }

/* 首屏：有图时图片在下、文字覆盖在上；无图时用深红渐变兜底 */
.banner-item { position: relative; }
.banner-item > img { width: 100%; display: block; }
.banner-ov { position: absolute; inset: 0; display: flex; align-items: center; }
.banner-ov::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.4) 48%, rgba(0,0,0,0) 80%);
}
.banner-ov .banner-txt { position: relative; z-index: 1; width: 100%; padding: 44px 20px; }
.banner-ov.no-img { position: static; background: linear-gradient(135deg, #2b3037 0%, #1b1e22 58%, #101215 100%); }
.banner-ov.no-img::before { display: none; }
.banner-ov.no-img .banner-txt { padding: 92px 20px 100px; }
.bt-h1 { font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 18px; line-height: 1.35; }
.sup-p { font-size: 13.5px; color: var(--gray); line-height: 1.8; margin: 0 0 10px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block; padding: 11px 26px; border-radius: 4px;
    font-size: 15px; text-align: center; cursor: pointer;
    border: 1px solid transparent; transition: all .16s; font-family: inherit;
}
.btn-main { background: var(--red); color: #fff; border-color: var(--red); }
.btn-main:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-line:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-blk { display: block; width: 100%; }

/* ---------- 区块 ---------- */
.sec { padding: 62px 0; }
.sec-alt { background: var(--bg); }
.sec-t {
    text-align: center; font-size: 30px; margin-bottom: 10px;
    position: relative; padding-bottom: 18px;
}
.sec-t::after {
    content: ''; position: absolute; left: 50%; bottom: 0;
    width: 52px; height: 3px; background: var(--red); transform: translateX(-50%);
}
.sec-t em {
    display: block; font-style: normal; font-size: 12.5px;
    color: var(--gray-lt); letter-spacing: 3px; text-transform: uppercase;
    font-weight: 400; margin-top: 7px;
}
.sec-d {
    text-align: center; color: var(--gray); font-size: 14.5px;
    max-width: 800px; margin: 0 auto 40px;
}
.sec-more { text-align: center; margin-top: 38px; }

/* 分类入口 */
.cat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px; margin-top: 40px;
}
.cat-card {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 26px 22px; display: block; color: var(--ink);
    transition: all .18s; position: relative; overflow: hidden;
}
.cat-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
    background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .2s;
}
.cat-card:hover { border-color: var(--red-ln); box-shadow: 0 8px 26px rgba(187,0,0,.08); color: var(--ink); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card h3 { font-size: 17px; margin-bottom: 9px; }
.cat-card p { font-size: 13.5px; color: var(--gray); margin: 0 0 14px; line-height: 1.75; }
.cat-card span { font-size: 13px; color: var(--red); font-weight: 600; }

/* ---------- 产品卡片 ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; }
.p-card {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; transition: all .18s; display: flex; flex-direction: column;
}
.p-card:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-4px); }
.p-thumb { aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; display: block; }
.p-card:hover .p-thumb img { transform: scale(1.06); }
.p-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.p-cat { font-size: 12.5px; color: var(--gray); margin: 0 0 7px; }
.p-card h3 { font-size: 17px; margin-bottom: 9px; }
.p-card h3 a { color: var(--ink); }
.p-card:hover h3 a { color: var(--red); }
.p-sum { font-size: 13.5px; color: var(--gray); line-height: 1.75; margin: 0 0 14px; flex: 1; }
.more { font-size: 13.5px; color: var(--red); font-weight: 600; }

/* ---------- 两栏 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-head {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid var(--line); padding-bottom: 12px; margin-bottom: 20px;
}
.col-head h2 { font-size: 20px; position: relative; padding-left: 14px; }
.col-head h2::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 19px; background: var(--red); border-radius: 2px;
}
.col-head a { font-size: 13.5px; color: var(--gray); }
.col-head a:hover { color: var(--red); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px dashed var(--line); padding: 14px 0; }
.news-list li:first-child { padding-top: 0; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { color: var(--ink); display: flex; gap: 12px; align-items: baseline; }
.news-list a:hover { color: var(--red); }
.news-list time { color: var(--gray-lt); font-size: 13px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.news-list .nt { font-size: 14.5px; }
.news-list .nd { display: block; font-size: 13px; color: var(--gray); margin-top: 4px; }

.honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.honor-item {
    border: 1px solid var(--line); border-radius: 5px; overflow: hidden;
    background: #fff; display: block; transition: border-color .18s;
}
.honor-item:hover { border-color: var(--red); }
.honor-item .hi-img { aspect-ratio: 3 / 4; background: var(--bg-2); overflow: hidden; }
.honor-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.honor-item span { display: block; padding: 9px 10px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- 案例卡片 ---------- */
.c-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.c-item {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; transition: all .18s; display: flex; flex-direction: column;
}
.c-item:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.c-item .ci-img { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.c-item .ci-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-item .ci-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.c-item h3 { font-size: 17px; margin-bottom: 10px; }
.c-item h3 a { color: var(--ink); }
.c-item:hover h3 a { color: var(--red); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 11px; }
.tags span { font-size: 12px; color: var(--red); background: var(--red-lt); padding: 2px 9px; border-radius: 3px; }
.tags .dt { background: var(--bg-2); color: var(--gray); }
.c-line { font-size: 13.5px; color: var(--gray); margin: 0 0 9px; }
.c-sum { font-size: 13.5px; color: var(--gray); line-height: 1.75; margin: 0 0 14px; flex: 1; }

/* ---------- 文章卡片 ---------- */
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.a-card {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; display: flex; flex-direction: column; transition: all .18s;
}
.a-card:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.a-card .ac-img { aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.a-card .ac-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.a-card:hover .ac-img img { transform: scale(1.05); }
.a-card .ac-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.a-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.a-card h3 a { color: var(--ink); }
.a-card:hover h3 a { color: var(--red); }
.a-card p { font-size: 13.5px; color: var(--gray); line-height: 1.75; margin: 0 0 14px; flex: 1; }
.a-meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--gray-lt); }
.a-meta span { background: var(--bg-2); padding: 2px 9px; border-radius: 3px; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; }
.faq summary {
    padding: 16px 20px; cursor: pointer; font-size: 16px; font-weight: 600;
    list-style: none; position: relative; padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-size: 22px; color: var(--red); font-weight: 400; line-height: 1;
}
.faq[open] summary::after { content: '−'; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq-bd { padding: 16px 20px 20px; font-size: 14.5px; color: var(--ink-2); }
.faq-bd h3 { font-size: 15px; margin: 14px 0 6px; color: var(--ink); }
.faq-bd p { margin: 0 0 9px; }
.faq-bd ul { margin: 0 0 9px; padding-left: 20px; }
.faq-bd li { margin-bottom: 4px; }

/* ---------- 内页头部 ---------- */
.pg-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.pg-head h1 { font-size: 30px; margin-bottom: 12px; }
.pg-d { color: var(--gray); font-size: 14.5px; max-width: 880px; margin: 0; }
.crumb { font-size: 13.5px; color: var(--gray); margin-bottom: 14px; }
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--red); }
.crumb em { font-style: normal; margin: 0 7px; color: #c4c4c4; }

/* ---------- 筛选 ---------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.filter a {
    padding: 9px 22px; border: 1px solid var(--line); border-radius: 4px;
    color: var(--ink-2); font-size: 14.5px; background: #fff;
}
.filter a:hover { border-color: var(--red); color: var(--red); }
.filter a.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 详情 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.d-visual { background: var(--bg-2); border-radius: 6px; overflow: hidden; margin-bottom: 28px; }
.d-visual img { width: 100%; display: block; }

.prose { font-size: 15px; color: var(--ink-2); }
.prose h2 {
    font-size: 20px; color: var(--ink); margin: 30px 0 14px;
    padding-left: 13px; position: relative;
}
.prose h2::before {
    content: ''; position: absolute; left: 0; top: 6px;
    width: 4px; height: 19px; background: var(--red); border-radius: 2px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; color: var(--ink); margin: 22px 0 9px; }
.prose h4 { font-size: 15px; color: var(--ink); margin: 18px 0 8px; font-weight: 700; }
.prose p { margin: 0 0 13px; }
.prose ul { margin: 0 0 13px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.blk { margin-top: 34px; }
.blk > h2 { font-size: 19px; margin-bottom: 16px; padding-left: 13px; position: relative; }
.blk > h2::before {
    content: ''; position: absolute; left: 0; top: 5px;
    width: 4px; height: 18px; background: var(--red); border-radius: 2px;
}

table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec caption { text-align: left; font-size: 13px; color: var(--gray); padding-bottom: 9px; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
table.spec th[scope="row"] { background: var(--bg); font-weight: 600; width: 32%; color: var(--ink); }
table.spec thead th { background: var(--red); color: #fff; font-weight: 600; }
table.spec.sm th[scope="row"] { width: 38%; font-size: 14px; }
table.spec.sm th, table.spec.sm td { padding: 9px 12px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }

.video-embed {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #000; border-radius: 6px; overflow: hidden;
}
.video-embed iframe, .video-embed video {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}

/* 侧栏 */
.d-side { display: flex; flex-direction: column; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.card > h2 {
    font-size: 17px; margin-bottom: 14px; padding-bottom: 11px;
    border-bottom: 2px solid var(--red-lt);
}
.card p { font-size: 14px; color: var(--gray); margin: 0 0 14px; }
.card .tel {
    display: block; font-size: 25px; font-weight: 700; color: var(--red);
    letter-spacing: .5px; margin-bottom: 16px;
}
.card .tel:hover { color: var(--red-dk); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px dashed var(--line); padding: 11px 0; }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { font-size: 14px; color: var(--ink-2); display: block; }
.side-list a:hover { color: var(--red); }
.side-list small { display: block; color: var(--gray-lt); font-size: 12.5px; margin-top: 3px; }

.rel { display: flex; flex-direction: column; gap: 11px; }
.rel-c {
    border: 1px solid var(--line); border-radius: 5px; padding: 14px 16px;
    display: block; color: var(--ink); transition: all .16s;
}
.rel-c:hover { border-color: var(--red); color: var(--ink); background: var(--bg); }
.rel-c b { display: block; font-size: 14.5px; margin-bottom: 5px; }
.rel-c span { font-size: 13px; color: var(--gray); }

.feat ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.feat li { font-size: 14px; padding-left: 24px; position: relative; color: var(--ink-2); }
.feat li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }

/* ---------- 适应物料分组（产品页） ---------- */
.mat-grp { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mat-g { border: 1px solid var(--line); border-radius: 5px; padding: 14px 16px; background: var(--bg-soft, #fafafa); }
.mat-g h3 { font-size: 14.5px; margin-bottom: 10px; color: var(--ink); }
.mat-list { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.mat-tag {
    display: inline-block; font-size: 13px; line-height: 1.5; padding: 3px 9px;
    border: 1px solid var(--line); border-radius: 3px; background: #fff;
    color: var(--ink-2); text-decoration: none;
}
.mat-tag:hover { border-color: var(--red); color: var(--red); }
.blk-note { margin-top: 14px; font-size: 13px; line-height: 1.75; color: var(--gray); }

/* ---------- CTA ---------- */
.sec-cta { background: linear-gradient(135deg, var(--red-dk), var(--red)); color: #fff; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: 26px; margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 14.5px; }
.cta-tel { text-align: right; }
.cta-tel a { display: block; font-size: 32px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.cta-tel a:hover { color: var(--metal-1); }
.cta-tel small { font-size: 13.5px; color: rgba(255,255,255,.85); }
.cta-in { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 30px; color: var(--ink); margin-top: 44px; }
.cta-in h2 { font-size: 21px; }
.cta-in p { color: var(--gray); }
.cta-in .cta-tel a { color: var(--red); }
.cta-in .cta-tel small { color: var(--gray); }

/* ---------- 表单 ---------- */
.fd { margin-bottom: 18px; }
.fd label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.fd .rq { color: var(--red); margin-left: 3px; }
.fd input[type="text"], .fd input[type="tel"], .fd textarea, .fd select {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line);
    border-radius: 4px; font-size: 14.5px; font-family: inherit; color: var(--ink);
}
.fd textarea { resize: vertical; line-height: 1.7; }
.fd input:focus, .fd textarea:focus { border-color: var(--red); outline: 0; }
.muted { color: var(--gray); font-size: 13px; }

.alert { padding: 13px 17px; border-radius: 5px; margin-bottom: 20px; font-size: 14.5px; }
.alert.ok { background: #f1f8f1; color: #1b5e20; border-left: 4px solid #2e7d32; }
.alert.er { background: var(--red-lt); color: var(--red-dk); border-left: 4px solid var(--red); }

.c-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.empty { text-align: center; color: var(--gray); padding: 50px 20px; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span {
    padding: 8px 15px; border: 1px solid var(--line); border-radius: 4px;
    font-size: 14px; color: var(--ink-2);
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .on { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 页脚 ---------- */
.ft { background: var(--dark); color: #b8b8b8; font-size: 14px; }
.ft-top { border-bottom: 1px solid rgba(255,255,255,.1); padding: 40px 0 34px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 34px; }
.ft-col h2 {
    color: #fff; font-size: 16px; margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12); position: relative;
}
.ft-col h2::after {
    content: ''; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; background: var(--red);
}
.ft-col p { margin: 0 0 9px; line-height: 1.8; font-size: 13.5px; }
.ft-en { color: #8a8a8a; font-size: 12px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin-bottom: 9px; font-size: 13.5px; }
.ft-col a { color: #b8b8b8; }
.ft-col a:hover { color: #fff; }
.ft-tel li { color: #cfcfcf; }
.ft-tel a { color: #fff; font-weight: 600; }
.ft-bar { padding: 18px 0; text-align: center; font-size: 13px; color: #8a8a8a; }
.ft-bar a { color: #8a8a8a; }

.ft-qr { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.ft-qr img { width: 96px; height: 96px; border-radius: 5px; background: #fff; padding: 4px; object-fit: cover; }
.ft-qr span { font-size: 12.5px; color: #9a9a9a; }

/* ---------- 右侧悬浮栏 ---------- */
.side-nav { position: fixed; right: 14px; bottom: 90px; z-index: 60; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.side-nav li a {
    width: 54px; height: 54px; border-radius: 6px; background: var(--red); color: #fff;
    display: grid; place-items: center; font-size: 12px; text-align: center;
    line-height: 1.3; box-shadow: 0 4px 14px rgba(0,0,0,.18); padding: 4px;
}
.side-nav li a:hover { background: var(--red-dk); color: #fff; }
.side-nav .sn-qr { position: relative; }
.side-nav .sn-qr > span {
    position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
    width: 140px; height: 140px; background: #fff; border: 1px solid var(--line);
    border-radius: 6px; padding: 6px; display: none; box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.side-nav .sn-qr:hover > span { display: block; }
.side-nav .sn-qr img { width: 100%; height: 100%; object-fit: contain; }
.side-nav .sn-top a { background: #4a4a4a; }
.side-nav .sn-top a:hover { background: var(--red); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .detail { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 34px; }
    .c-wrap { grid-template-columns: 1fr; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 820px) {
    .nav { position: relative; }
    .nav-top { display: flex; align-items: center; justify-content: space-between; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
    .nav-top strong { color: #fff; font-size: 15px; line-height: 46px; }
    .nav-btn { display: block; }
    .nav-in { display: none; flex-direction: column; padding: 0; }
    .nav-in.open { display: flex; }
    .nav-in a { line-height: 46px; padding: 0 22px; border-top: 1px solid rgba(255,255,255,.14); }
    .nav-in a.on::after { display: none; }

    .hd-in { padding: 14px 20px; flex-wrap: wrap; gap: 14px; }
    .hd-right { width: 100%; justify-content: space-between; }
    .hd-sch { flex: 1; }
    .hd-sch input[type="text"] { width: 100%; }
    .banner-txt { padding: 62px 20px 70px; }
    .banner-ov.no-img .banner-txt { padding: 62px 20px 70px; }
    .banner-ov .banner-txt { padding: 40px 20px; }
    .bt-h1 { font-size: 22px; }
    .banner-txt h1 { font-size: 27px; }
    .banner-txt p { font-size: 15px; }
    .banner-facts { gap: 26px; }
    .banner-facts b { font-size: 18px; }
    .banner-arrows .prev { left: 10px; }
    .banner-arrows .next { right: 10px; }
    .sec { padding: 44px 0; }
    .sec-t { font-size: 24px; }
    .pg-head h1 { font-size: 24px; }
    .cta { flex-direction: column; align-items: flex-start; }
    .cta-tel { text-align: left; }
    .cta-tel a { font-size: 26px; }
    .feat ul { grid-template-columns: 1fr; }
    .topbar-in { font-size: 12px; }
    .topbar .notice { line-height: 1.5; padding: 9px 0; }
    .ft-grid { grid-template-columns: 1fr; }
    .side-nav { right: 8px; bottom: 70px; }
    .side-nav li a { width: 46px; height: 46px; font-size: 11px; }
}

/* ==========================================================================
   补充组件（v2.0.0 页面改版）
   覆盖：资讯列表 .nlist、详情页图集与步骤、联系页栅格、搜索页、
        关于我们产品分组、荣誉资质图墙的 figure 版式
   说明：追加在文件末尾，靠层叠顺序覆盖前面同名声明，不改动既有规则。
   ========================================================================== */

/* ---------- 通用小工具 ---------- */
.mt { margin-top: 20px; }
.mut { color: var(--gray); font-size: 13px; }
.tc { text-align: center; }
.lead { font-size: 15px; color: var(--gray); margin: 0 0 26px; }
.lead strong { color: var(--red); }
.more-line { margin: 16px 0 0; font-size: 14px; }

.tag {
    display: inline-block; font-size: 12px; color: var(--red);
    background: var(--red-lt); padding: 2px 9px; border-radius: 3px;
    margin: 0 7px 5px 0; vertical-align: middle;
}
.pg-d time { color: var(--gray-lt); font-size: 13px; margin-left: 4px; }

/* ---------- 资讯列表（新闻动态 / 行业资讯） ---------- */
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist > li { border-bottom: 1px solid var(--line); }
.nlist > li:last-child { border-bottom: 0; }
.nl-item {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 22px 0; color: var(--ink); transition: background .16s;
}
.nlist > li:first-child .nl-item { padding-top: 0; }
.nl-item:hover { color: var(--ink); }
.nl-img {
    flex: 0 0 220px; width: 220px; aspect-ratio: 16 / 10;
    background: var(--bg-2); border-radius: 5px; overflow: hidden;
}
.nl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.nl-item:hover .nl-img img { transform: scale(1.05); }
.nl-body { flex: 1; min-width: 0; }
.nl-body time {
    display: block; font-size: 13px; color: var(--gray-lt);
    font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.nl-body strong { display: block; font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.nl-item:hover .nl-body strong { color: var(--red); }
.nl-body em {
    display: block; font-style: normal; font-size: 14px; color: var(--gray);
    line-height: 1.8;
}

/* ---------- 详情页：图集 / 步骤 / 表格补充 ---------- */
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--bg-2); }
.gallery figcaption { font-size: 12.5px; color: var(--gray); padding: 8px 10px; text-align: center; }

ol.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; }
ol.steps > li {
    position: relative; counter-increment: st;
    padding: 0 0 22px 54px; border-left: 2px solid var(--red-ln); margin-left: 17px;
}
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
    content: counter(st); position: absolute; left: -18px; top: -2px;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--red); color: #fff; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
ol.steps h3 { font-size: 16.5px; margin-bottom: 7px; }
ol.steps p { margin: 0; font-size: 14.5px; color: var(--gray); }

.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
    font-size: 13.5px; color: var(--ink-2); background: var(--bg);
    border: 1px solid var(--line); border-radius: 30px; padding: 5px 15px;
}

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod-col { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; background: #fff; }
.prod-col h3 { font-size: 16px; margin-bottom: 11px; padding-bottom: 9px; border-bottom: 2px solid var(--red-lt); }
.prod-col ul { list-style: none; margin: 0; padding: 0; }
.prod-col li { font-size: 14px; padding: 5px 0 5px 15px; position: relative; }
.prod-col li::before { content: ''; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.prod-col li a { color: var(--ink-2); }
.prod-col li a:hover { color: var(--red); }

/* ---------- 荣誉资质：figure 版式 ---------- */
.honor-grid { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.honor-item figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.honor-item figcaption { padding: 12px 14px; }
.honor-item figcaption h3 { font-size: 15px; margin-bottom: 5px; }
.honor-item figcaption time { display: block; font-size: 12.5px; color: var(--gray-lt); margin-bottom: 6px; }
.honor-item figcaption p { margin: 0; font-size: 13px; color: var(--gray); line-height: 1.7; }
.honor-item > figure > img,
.honor-item .hi-ph {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    display: block; background: var(--bg-2);
}
.honor-item .hi-ph {
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-lt); font-size: 13px; border-bottom: 1px dashed var(--line);
}
.honor-grid.sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.honor-grid.sm .honor-item > figure > img { aspect-ratio: 3 / 4; }
.honor-grid.sm .honor-item figcaption { padding: 9px 10px; }
.honor-grid.sm .honor-item figcaption h3 { font-size: 13.5px; margin: 0; text-align: center; }

/* ---------- 联系我们：栅格与表单 ---------- */
.c-info, .c-form { min-width: 0; }
.c-info > h2, .c-form > h2 {
    font-size: 20px; margin-bottom: 18px; padding-left: 13px; position: relative;
}
.c-info > h2::before, .c-form > h2::before {
    content: ''; position: absolute; left: 0; top: 5px; bottom: 5px;
    width: 4px; background: var(--red); border-radius: 2px;
}
.c-form .fm { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.c-form .fm .btn { margin-top: 4px; }
.qr-box { display: flex; gap: 18px; align-items: center; }
.qr-box img { border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.qr-box p { margin: 0; }

/* ---------- 站内搜索 / 404 ---------- */
.search-box { display: flex; gap: 10px; margin-top: 22px; max-width: 620px; }
.search-box input[type="text"] {
    flex: 1; min-width: 0; padding: 11px 15px; border: 1px solid var(--line);
    border-radius: 4px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.search-box input[type="text"]:focus { border-color: var(--red); outline: 0; }
.search-box .btn { border: 0; flex: 0 0 auto; }

.s-list { list-style: none; margin: 0; padding: 0; }
.s-list > li {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 18px 20px; margin-bottom: 12px; transition: border-color .16s;
}
.s-list > li:hover { border-color: var(--red); }
.s-list h3 { font-size: 16.5px; margin-bottom: 8px; }
.s-list h3 a { color: var(--ink); }
.s-list h3 a:hover { color: var(--red); }
.s-list p { margin: 0; font-size: 14px; color: var(--gray); }
.s-list .tags { margin-bottom: 8px; }

.empty-box {
    background: var(--bg); border: 1px dashed var(--line); border-radius: 6px;
    padding: 34px 24px; text-align: center;
}
.empty-box .empty { padding: 0 0 10px; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 820px) {
    .nl-item { flex-direction: column; gap: 13px; padding: 18px 0; }
    .nl-img { flex: 0 0 auto; width: 100%; }
    .search-box { flex-direction: column; }
    .search-box .btn { width: 100%; }
    .qr-box { flex-direction: column; align-items: flex-start; }
    ol.steps > li { padding-left: 44px; }
    .prod-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v3.0.0 补充：双语切换、表格滚动、手机与平板适配
   ========================================================================== */

/* ---------- 语言切换 ---------- */
.hd-lang { margin: 0; flex: 0 0 auto; }
.hd-lang a {
    display: inline-block; min-width: 46px; text-align: center;
    padding: 8px 14px; border: 1px solid var(--red); border-radius: 4px;
    color: var(--red); font-size: 13.5px; font-weight: 700; letter-spacing: .5px;
    white-space: nowrap;
}
.hd-lang a:hover { background: var(--red); color: #fff; }
.nav-lang { display: none; }
.ft-lang a { color: #d6d6d6; }
.ft-lang a:hover { color: #fff; }

/* ---------- 侧栏纯文本电话（英文站无 tel 链接时使用） ---------- */
.card .tel-plain {
    display: block; font-size: 22px; font-weight: 700; color: var(--red);
    letter-spacing: .5px; margin: 0 0 16px; word-break: break-all;
}

/* ---------- 宽表格横向滚动（手机上不撑破布局） ---------- */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 420px; }
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ---------- 蜜罐字段：对用户不可见，对机器人可见 ---------- */
.hp {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

/* ---------- 触控友好：窄屏下按钮与链接满足最小点击尺寸 ---------- */
@media (max-width: 820px) {
    .nav-lang { display: block; color: var(--metal-1); font-weight: 700; }
    .hd-lang a { padding: 9px 14px; }
    .btn, .filter a, .sec-more .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
    .btn-blk { width: 100%; }
    .news-list a { padding: 4px 0; }
    .side-list a { padding: 4px 0; }
}

/* ---------- 平板：两栏结构降为单栏，卡片墙保持两列 ---------- */
@media (max-width: 1024px) {
    .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .honor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .honor-grid.sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .banner-txt { padding: 70px 24px 78px; }
}

/* ---------- 手机：单列、字号与间距收紧 ---------- */
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .wrap { padding: 0 16px; }

    .p-grid, .c-list, .cat-grid, .prod-grid, .feat ul { grid-template-columns: 1fr; }
    .honor-grid, .honor-grid.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

    .sec { padding: 36px 0; }
    .sec-t { font-size: 21px; }
    .col-head h2 { font-size: 18px; }
    .pg-head { padding: 22px 0 26px; }
    .pg-head h1 { font-size: 21px; }
    .pg-d { font-size: 14px; }
    .pg-d time { display: block; margin: 6px 0 0; }

    .topbar .tb-tel { width: 100%; text-align: left; }
    .hd-in { padding: 12px 16px; gap: 12px; }
    .logo-mark { width: 42px; height: 42px; flex: 0 0 42px; font-size: 14px; letter-spacing: .4px; }
    .logo-tx b { font-size: 17px; }
    .logo-tx i { font-size: 11.5px; }
    .hd-right { flex-wrap: wrap; }
    .hd-sch { order: 3; width: 100%; }
    .hd-badge { display: none; }

    .banner-txt, .banner-ov.no-img .banner-txt, .banner-ov .banner-txt { padding: 34px 16px 40px; }
    .banner-txt h1, .bt-h1 { font-size: 21px; }
    .banner-facts { flex-wrap: wrap; gap: 16px 22px; }
    .banner-facts b { font-size: 16px; }

    .card { padding: 18px; }
    .card .tel { font-size: 21px; }
    .d-visual { margin-bottom: 20px; }
    .prose h2, .blk > h2 { font-size: 18px; }
    ol.steps > li { padding-left: 40px; margin-left: 14px; }
    ol.steps > li::before { width: 28px; height: 28px; left: -15px; font-size: 13px; }
    .table-scroll > table { min-width: 360px; }
    table.spec th, table.spec td { padding: 9px 10px; font-size: 13.5px; }

    .cta h2 { font-size: 20px; }
    .cta-tel a { font-size: 22px; word-break: break-all; }
    .sec-cta .wrap { padding-top: 26px; padding-bottom: 26px; }
    .ft-grid { gap: 22px; }
    .ft-col h2 { font-size: 16px; }
    .qr-box img { width: 130px; height: 130px; }
    .side-nav { right: 6px; bottom: 64px; }
    .side-nav li a { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
    .logo-tx i { display: none; }
    .banner-txt h1, .bt-h1 { font-size: 19px; }
    .side-nav li a { width: 40px; height: 40px; font-size: 10px; }
}

/* ==========================================================================
   v3.2.0 补充：文章文末「参考依据」参考文献小节
   设计意图：与正文区分开（浅底 + 左侧色条），编号用 [n] 形式，
   便于 AI 与搜索引擎识别这是一组引证来源；不占用正文的视觉层级。
   ========================================================================== */

/* 文章自带的问答区块（后台「常见问题」字段渲染） */
.faq-inline { margin-top: 30px; }
.faq-inline > h2 {
    font-size: 18px; color: var(--ink); margin: 0 0 12px;
    padding-left: 13px; position: relative;
}

.refs {
    margin-top: 34px; padding: 20px 22px;
    background: var(--bg); border: 1px solid var(--line);
    border-left: 4px solid var(--red); border-radius: 5px;
}.refs > h2 {
    font-size: 17px; margin: 0 0 12px; padding: 0; color: var(--ink);
}
.refs > h2::before { display: none; }   /* 取消 .prose h2 的红色竖条，避免与左边框重复 */

.refs ol { list-style: none; counter-reset: rf; margin: 0; padding: 0; }
.refs li {
    position: relative; counter-increment: rf;
    padding-left: 27px; margin-bottom: 9px;
    font-size: 13.5px; color: var(--gray); line-height: 1.75;
    word-break: break-word;
}
.refs li:last-child { margin-bottom: 0; }
.refs li::before {
    content: '[' counter(rf) ']';
    position: absolute; left: 0; top: 0;
    color: var(--red); font-size: 12.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .refs { margin-top: 26px; padding: 16px 15px; }
    .refs > h2 { font-size: 15.5px; }
    .refs li { font-size: 12.5px; padding-left: 24px; line-height: 1.7; }
}

/* ==========================================================================
   v3.3.0 灰黑金属主题 —— 金属质感增强层
   思路：主色已由深红改为工业炭黑（见文件顶部 :root）。这里给深色区块补上质感：
        ① 竖向多段渐变 —— 模拟磨砂金属受光后的明暗过渡；
        ② inset 顶部高光 + 底部暗边 —— 模拟板材厚度与倒角；
        ③ 极淡柔和投影 —— 让板块从背景中微微浮起；
        ④ 圆形径向高光 —— 用在首屏等大面积区块，模拟金属反光。
   全部为覆盖规则，写在文件末尾靠同优先级后置生效；不使用任何位图纹理。
   所有文字仍为真实 HTML 文本，不影响抓取与可访问性。
   ========================================================================== */

/* ---------- 顶部公告条 ---------- */
.topbar {
    background: linear-gradient(180deg, #262b31 0%, #16191d 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.6);
}

/* ---------- 页头：底部金属分隔线 ---------- */
.hd {
    border-bottom: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f9 100%);
    box-shadow:
        inset 0 -3px 0 #24282e,
        inset 0 -1px 0 rgba(255,255,255,.14),
        0 2px 12px rgba(18,22,28,.06);
}

/* ---------- 品牌字标：金属块 ---------- */
.logo-mark {
    background: linear-gradient(150deg, #4a525c 0%, #262b31 46%, #121417 100%);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.30),
        inset 0 -1px 0 rgba(0,0,0,.55),
        0 2px 7px rgba(18,22,28,.28);
    text-shadow: 0 1px 1px rgba(0,0,0,.4);
}

/* ---------- 搜索按钮 ---------- */
.hd-sch button {
    background: linear-gradient(180deg, #3d434b 0%, #262b31 50%, #1a1d21 100%);
    border: 1px solid #14161a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 3px rgba(18,22,28,.18);
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.hd-sch button:hover { background: linear-gradient(180deg, #4a515b 0%, #2f343a 50%, #23272c 100%); }

/* ---------- 主导航：金属条 ---------- */
.nav {
    background: linear-gradient(180deg, #2b3037 0%, #1f2328 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.55);
}
.nav-in a { text-shadow: 0 1px 1px rgba(0,0,0,.28); }
.nav-in a:hover, .nav-in a.on {
    background: linear-gradient(180deg, #4a515b 0%, #333941 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
}
.nav-in a.on::after {
    background: linear-gradient(90deg, rgba(197,204,212,0), #c5ccd4, rgba(197,204,212,0));
}
.nav-btn { background: linear-gradient(180deg, #2b3037 0%, #1f2328 100%); }

/* ---------- 首屏：金属反光 ---------- */
.banner { background: #1b1e22; }
.banner-ov.no-img {
    background:
        radial-gradient(115% 135% at 14% 0%, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 56%),
        linear-gradient(135deg, #2b3037 0%, #1b1e22 58%, #101215 100%);
}
.banner-txt .bt-tag { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.05); }
.banner-facts { border-top-color: rgba(255,255,255,.20); }

/* ---------- 按钮 ---------- */
.btn-main {
    background: linear-gradient(180deg, #3d434b 0%, #262b31 50%, #1a1d21 100%);
    border-color: #14161a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.4), 0 2px 6px rgba(18,22,28,.20);
    text-shadow: 0 1px 1px rgba(0,0,0,.32);
}
.btn-main:hover {
    background: linear-gradient(180deg, #4a515b 0%, #2f343a 50%, #23272c 100%);
    border-color: #0f1114;
}
.btn-ghost {
    background: linear-gradient(180deg, #ffffff 0%, #f1f4f7 100%);
    border-color: #ccd3da;
    box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(18,22,28,.06);
}
.btn-ghost:hover { border-color: #2b3037; color: #1c1f23; }

/* ---------- 底部行动区 ---------- */
.sec-cta {
    background:
        radial-gradient(110% 130% at 12% 0%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 58%),
        linear-gradient(135deg, #2b3037 0%, #1b1e22 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.5);
}

/* ---------- 页脚 ---------- */
.ft {
    background: linear-gradient(180deg, #1e2226 0%, #14171a 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

/* ---------- 右侧悬浮导航 ---------- */
.side-nav li a {
    background: linear-gradient(180deg, #333941 0%, #212529 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px rgba(18,22,28,.24);
}
.side-nav li a:hover { background: linear-gradient(180deg, #414852 0%, #2b3037 100%); }
.side-nav .sn-top a { background: linear-gradient(180deg, #4a515b 0%, #333941 100%); }

/* ---------- 参数表表头 ---------- */
table.spec thead th {
    background: linear-gradient(180deg, #2f343a 0%, #1f2328 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

/* ---------- 卡片：极淡的浮起 ---------- */
.card:hover, .rel-c:hover, .prod-col:hover { box-shadow: 0 4px 16px rgba(18,22,28,.08); }

/* ---------- 正文链接 ----------
   主色由红转黑后，链接色与正文色过于接近，单靠颜色已不足以区分。
   这里统一加下划线：既保住可识别性，也符合深色工业风的克制调性。 */
.prose a, .refs a, .spec a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(36,40,46,.32);
}
.prose a:hover, .refs a:hover, .spec a:hover {
    text-decoration-color: currentColor;
    background: rgba(36,40,46,.05);
}

/* ==========================================================================
   v3.3.1 科技蓝强调层 —— 对齐参考模板（机械制造）的视觉语言
   参考配方：近黑底 + 科技蓝主按钮 + 青色英文标语 + 蓝色数据指标。
   策略：底色继续用炭黑金属（v3.3.0），蓝色只作「强调色」，
        仅用于可点击 / 需强调的元素（主按钮、数据、标语、激活态），
        其余保持灰黑 —— 避免整站发蓝，也保住 B2B 的克制感。
   ========================================================================== */

:root {
    --accent: #1769ff;      /* 科技蓝：主行动按钮 */
    --accent-dk: #0f4fd8;
    --accent-lt: #e8f0ff;
    --cyan: #22c8dc;        /* 青：英文标语、首屏标签 */
}

/* ---------- 主按钮：蓝色金属渐变 ---------- */
.btn-main {
    background: linear-gradient(180deg, #3d84ff 0%, #1769ff 52%, #0f4fd8 100%);
    border-color: #0d43b8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -1px 0 rgba(0,0,0,.25), 0 2px 10px rgba(23,105,255,.30);
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.btn-main:hover {
    background: linear-gradient(180deg, #4d90ff 0%, #2273ff 52%, #1459e8 100%);
    border-color: #0b3bb0;
}
a.btn-main, a.btn-main:hover { color: #fff; }

/* ---------- 首屏标签：青色描边 ---------- */
.banner-txt .bt-tag {
    color: var(--cyan);
    border-color: rgba(34,200,220,.55);
    background: rgba(34,200,220,.08);
}

/* ---------- 首屏英文标语（参考站顶部那行青色小字） ---------- */
.bt-kicker {
    font-size: 13px; letter-spacing: 3.4px; font-weight: 600;
    color: var(--cyan); margin: 0 0 16px; text-transform: uppercase;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---------- 首屏数据指标：数字用亮蓝 ---------- */
.banner-facts b { color: #6aa8ff; }
.banner-facts span { color: rgba(255,255,255,.68); }

/* ---------- 首屏背景：右侧科技蓝光晕 ---------- */
.banner-ov.no-img {
    background:
        radial-gradient(72% 96% at 88% 26%, rgba(23,105,255,.26) 0%, rgba(23,105,255,0) 62%),
        radial-gradient(115% 135% at 14% 0%, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 56%),
        linear-gradient(135deg, #22262c 0%, #16191d 58%, #0e1013 100%);
}

/* ---------- 区块标题的英文后缀 ---------- */
.sec-t em { color: var(--accent); }

/* ---------- 正文链接 hover 转蓝 ---------- */
.prose a:hover, .refs a:hover, .spec a:hover { color: var(--accent); }

/* ---------- 导航当前项：青色发光下划线 ---------- */
.nav-in a.on::after {
    background: linear-gradient(90deg, rgba(34,200,220,0), var(--cyan), rgba(34,200,220,0));
}

/* ---------- 搜索按钮 hover 转蓝 ---------- */
.hd-sch button:hover {
    background: linear-gradient(180deg, #3d84ff 0%, #1769ff 52%, #0f4fd8 100%);
    border-color: #0d43b8;
}

/* ---------- 参数表表头：底边一道蓝线 ---------- */
table.spec thead th {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(23,105,255,.55);
}

/* ---------- 分页 / 筛选激活态 ---------- */
.pager .on, .filter a.on {
    background: linear-gradient(180deg, #3d84ff 0%, #1769ff 100%);
    border-color: #0f4fd8;
}

/* ---------- 品牌字标：加一道与强调色呼应的内描边 ---------- */
.logo-mark { border-color: rgba(34,200,220,.22); }

/* ==========================================================================
   v3.3.2 纯黑底 —— 深色区块由「炭黑」压到「纯黑」
   用户反馈：不要灰黑，要黑。
   这里把顶栏 / 导航 / 首屏 / 页脚 / 行动区 / 悬浮条 / 参数表头的底色统一压到近纯黑。
   两点保留：
     ① 金属质感 —— 质感靠高光与渐变实现，与底色明度无关，纯黑上反而更亮；
     ② 蓝色强调 —— 深底上对比更强，按钮与数据比灰底时更跳。
   为避免「死黑」显得扁平，仍留极窄的明度过渡（#0d0e11 → #000）与顶部高光线。
   ========================================================================== */

:root {
    --dark: #050607;
}

/* ---------- 顶栏 ---------- */
.topbar { background: linear-gradient(180deg, #101114 0%, #000000 100%); }

/* ---------- 主导航 ---------- */
.nav { background: linear-gradient(180deg, #141518 0%, #030405 100%); }
.nav-btn { background: linear-gradient(180deg, #141518 0%, #030405 100%); }
.nav-in a:hover, .nav-in a.on { background: linear-gradient(180deg, #1d1f24 0%, #0b0c0f 100%); }

/* ---------- 页头底部金属线：压黑 ---------- */
.hd {
    box-shadow:
        inset 0 -3px 0 #000,
        inset 0 -1px 0 rgba(255,255,255,.14),
        0 2px 12px rgba(0,0,0,.10);
}

/* ---------- 品牌字标：黑金金属块 ---------- */
.logo-mark {
    background: linear-gradient(150deg, #383e47 0%, #16181c 46%, #000000 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.26),
        inset 0 -1px 0 rgba(0,0,0,.7),
        0 2px 8px rgba(0,0,0,.35);
    border-color: rgba(34,200,220,.22);
}

/* ---------- 搜索按钮 ---------- */
.hd-sch button { background: linear-gradient(180deg, #2a2e34 0%, #0b0c0e 100%); }

/* ---------- 首屏：纯黑 + 蓝色光晕 ---------- */
.banner { background: #000; }
.banner-ov.no-img {
    background:
        radial-gradient(72% 96% at 88% 26%, rgba(23,105,255,.30) 0%, rgba(23,105,255,0) 62%),
        radial-gradient(120% 140% at 12% 0%, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 58%),
        linear-gradient(160deg, #0d0e11 0%, #000000 64%, #000000 100%);
}
.banner-facts { border-top-color: rgba(255,255,255,.16); }
.banner-txt .bt-tag { background: rgba(34,200,220,.10); }

/* ---------- 底部行动区 ---------- */
.sec-cta {
    background:
        radial-gradient(110% 130% at 12% 0%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 58%),
        linear-gradient(150deg, #0e0f12 0%, #000000 100%);
}

/* ---------- 页脚 ---------- */
.ft { background: linear-gradient(180deg, #0d0e11 0%, #000000 100%); }

/* ---------- 右侧悬浮导航 ---------- */
.side-nav li a { background: linear-gradient(180deg, #1a1c20 0%, #000000 100%); }
.side-nav li a:hover { background: linear-gradient(180deg, #23262b 0%, #0b0c0e 100%); }
.side-nav .sn-top a { background: linear-gradient(180deg, #2a2e34 0%, #101114 100%); }

/* ---------- 参数表表头 ---------- */
table.spec thead th {
    background: linear-gradient(180deg, #17191d 0%, #020304 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(23,105,255,.60);
}

/* ---------- 分页 / 筛选激活态：纯黑底 + 蓝边 ---------- */
.pager .on, .filter a.on { background: linear-gradient(180deg, #1a1c20 0%, #000000 100%); border-color: var(--accent); }

/* ==========================================================================
   v3.4.0 设计语言移植 —— 对齐参考模板「精工智造」工业风
   来源：用户提供的模板站点单文件 HTML。它的设计 token 是：
     --site-primary #1A3A5C（深海军蓝）   --site-accent  #E86C2C（橙）
     --site-bg      #F5F7FA（浅灰白）     --site-surface #FFFFFF
     --site-text    #1E2A3A               --site-muted   #5A6B7C
     --site-radius  2px（极小圆角 —— 工业硬朗感的核心来源）
     页头 rgb(13,17,21) 近黑 + 白字；首屏 min-height 560px 深色背景 + 橙色主按钮。

   移植原则：只搬「设计语言」（配色 / 圆角 / 字号 / 间距 / 交互反馈），
            不搬它的 class 结构 —— 本站保留原有 class，
            因此后台编辑、双语、SEO/GEO、llms.txt 等功能全部不受影响。
   字体：模板用 Google Fonts（DM Sans + Noto Sans SC），国内访问不稳定，
        这里改用系统字体栈近似，保持零外部请求。
   ========================================================================== */

:root {
    /* ---- 对齐模板的设计 token ---- */
    --steel: #1A3A5C;        /* 主色：深海军蓝 */
    --steel-dk: #12293f;
    --steel-lt: #eaf0f6;
    --orange: #E86C2C;       /* 强调色：橙（模板首屏主按钮色） */
    --orange-dk: #cf5a1d;

    --red: #1A3A5C;          /* 沿用旧变量名，语义为「主色」 */
    --red-dk: #12293f;
    --red-lt: #eaf0f6;
    --red-ln: #ccd8e4;

    --accent: #E86C2C;
    --accent-dk: #cf5a1d;

    --ink: #1E2A3A;
    --ink-2: #3d4b5c;
    --gray: #5A6B7C;
    --gray-lt: #8b98a8;
    --line: #dfe5ec;
    --bg: #F5F7FA;
    --bg-2: #eef2f7;
    --dark: #0d1116;

    --radius: 2px;           /* 模板的小圆角 */
}

/* ---------- 圆角全线收紧：工业硬朗感的来源 ---------- */
.card, .rel-c, .prod-col, .faq, .cat-card, .proj, .blk, .d-visual,
.fm, .fmedia, .up-box, .alert, .prose img, .spec, .pager a, .filter a,
.crumb-box, .pg-head, .qr-box, .c-form .fm, .refs {
    border-radius: var(--radius);
}
.btn, .btn-main, .btn-line, .btn-ghost, .hd-sch input[type="text"],
.hd-sch button, .pager a, .filter a, .hd-lang a, .logo-mark {
    border-radius: var(--radius);
}

/* ---------- 页头：近黑 + 反白（对齐模板 68px 黑头） ---------- */
.hd {
    background: #0d1116;
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08), 0 2px 14px rgba(0,0,0,.28);
}
.hd .logo-tx b { color: #fff; }
.hd .logo-tx i { color: rgba(255,255,255,.52); }
.hd a { color: #fff; }
.hd-badge { color: rgba(255,255,255,.5); }
.hd-badge strong { color: #fff; }
.hd-sch input[type="text"] {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.16);
    color: #fff;
}
.hd-sch input[type="text"]::placeholder { color: rgba(255,255,255,.38); }
.hd-sch button { background: var(--steel); border-color: var(--steel); }
.hd-sch button:hover { background: var(--orange); border-color: var(--orange); }
.hd-lang a { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.18) !important; }
.hd-lang a:hover { background: var(--orange); color: #fff; border-color: var(--orange) !important; }

/* ---------- 主导航：比页头再深一档，形成层次 ---------- */
.nav { background: #080b0f; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.nav-btn { background: #080b0f; }
.nav-in a:hover, .nav-in a.on { background: rgba(255,255,255,.07); }
.nav-in a.on::after { background: var(--orange); }

/* ---------- 按钮体系：主深蓝、首屏橙、次级玻璃 ---------- */
.btn { border-radius: var(--radius); padding: 12px 26px; font-size: 14px; font-weight: 500; }
.btn-main { background: var(--steel); border-color: var(--steel); box-shadow: none; text-shadow: none; }
.btn-main:hover { background: var(--steel-dk); border-color: var(--steel-dk); }
.btn-ghost { background: #fff; border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }

/* 首屏主按钮：橙色（对齐模板 hero 的 --site-primary 覆盖） */
.banner .btn-main {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 6px 20px rgba(232,108,44,.30);
}
.banner .btn-main:hover { background: var(--orange-dk); border-color: var(--orange-dk); }
/* 首屏次按钮：玻璃质感 */
.banner .btn-line {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.28);
    backdrop-filter: blur(8px);
}
.banner .btn-line:hover { background: #fff; color: var(--steel); border-color: #fff; }

/* ---------- 首屏：深色 + 冷调光晕，高度对齐模板 560px ---------- */
.banner-ov.no-img { min-height: 560px; align-items: center; }
.banner-ov.no-img {
    background:
        radial-gradient(70% 95% at 86% 22%, rgba(26,58,92,.55) 0%, rgba(26,58,92,0) 62%),
        linear-gradient(150deg, #131c26 0%, #0b0f14 60%, #07090c 100%);
}
.banner-ov.no-img .banner-txt { padding: 92px 20px; }
.bt-h1 { letter-spacing: -1.5px; }

/* ---------- 首屏数据条：模板的 stat 风格（竖分隔线 + 大数字） ---------- */
.banner-facts {
    gap: 0; margin: 46px 0 0; padding: 30px 0 0;
    border-top: 1px solid rgba(255,255,255,.14);
}
.banner-facts li { padding: 0 32px; border-right: 1px solid rgba(255,255,255,.12); }
.banner-facts li:first-child { padding-left: 0; }
.banner-facts li:last-child { border-right: 0; }
.banner-facts b {
    font-size: 26px; font-weight: 600; color: #fff;
    letter-spacing: -.5px; line-height: 1.2;
}
.banner-facts span { font-size: 12px; color: rgba(255,255,255,.58); margin-top: 3px; }

/* ---------- 区块：加大留白，标题收紧字距 ---------- */
.sec { padding: 78px 0; }
.sec-t { font-size: clamp(24px, 3vw, 36px); letter-spacing: -1px; font-weight: 600; }
.sec-d { color: var(--gray); }

/* ---------- 卡片：默认无阴影，hover 上浮 ---------- */
.card, .rel-c, .prod-col, .cat-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .rel-c:hover, .prod-col:hover, .cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(30,42,58,.10);
    border-color: var(--red-ln);
}

/* ---------- 参数表：表头深蓝 ---------- */
table.spec thead th {
    background: var(--steel);
    box-shadow: inset 0 -2px 0 var(--orange);
}

/* ---------- 正文链接 ---------- */
.prose a, .refs a { color: var(--steel); }
.prose a:hover, .refs a:hover { color: var(--orange); }
.refs { border-left-color: var(--steel); }

/* ---------- 页脚：近黑 ---------- */
.ft { background: linear-gradient(180deg, #0d1116 0%, #07090c 100%); }
.ft h3 { border-bottom-color: rgba(255,255,255,.12); }

/* ---------- 悬浮条 ---------- */
.side-nav li a { background: #0d1116; }
.side-nav li a:hover { background: var(--orange); }
.side-nav .sn-top a { background: var(--steel); }

/* ---------- 分类卡：加编号圆标（对齐模板的 01/02/03 序号语言） ---------- */
.cat-grid { counter-reset: catc; }
.cat-card {
    counter-increment: catc;
    position: relative;
    padding: 54px 22px 22px;
}
.cat-card::before {
    content: counter(catc, decimal-leading-zero);
    position: absolute; left: 22px; top: 20px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(26,58,92,.09);
    color: var(--steel);
    font-size: 13px; font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: background .22s ease, color .22s ease;
}
.cat-card:hover::before { background: var(--steel); color: #fff; }
.cat-card > span { color: var(--steel); font-weight: 500; }
.cat-card:hover > span { color: var(--orange); }

/* ---------- 支持页的步骤条：编号圆标同样对齐 ---------- */
ol.steps > li::before { background: var(--steel); }

/* ==========================================================================
   v3.2.14 —— 首页选型向导 + 适配物料大全 + 物料大全页
   沿用现有设计 token（--steel 主色 / --accent 强调 / --radius 小圆角），
   不引入位图与外部字体，保持零额外请求。
   ========================================================================== */

/* ---------- 选型向导 ---------- */
.sel-form { margin: 22px 0 0; }
.sel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sel-f { display: block; }
.sel-f > span {
    display: block; font-size: 13px; font-weight: 600; color: var(--gray);
    margin-bottom: 6px; letter-spacing: .02em;
}
.sel-f select {
    width: 100%; height: 46px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; color: var(--ink);
    font-size: 14.5px; font-family: inherit;
}
.sel-f select:focus { border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(26,58,92,.10); }
.sel-go { margin-top: 16px; min-width: 200px; }

/* 结果块放在表单上方：提交后不用滚动就能看到，且纯服务端渲染 */
.sel-out {
    background: #fff; border: 1px solid var(--line);
    border-top: 3px solid var(--accent, #E86C2C);
    border-radius: var(--radius);
    padding: 24px 26px 22px; margin: 0 0 26px;
    box-shadow: 0 12px 30px rgba(13,17,22,.07);
}
.sel-out > h3 { font-size: 19px; }
.so-cond {
    margin: 8px 0 18px; font-size: 13px; color: var(--gray);
    padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.so-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.so-main, .so-alt, .so-heat { border-left: 2px solid var(--line); padding-left: 14px; }
.so-main { border-left-color: var(--accent, #E86C2C); }
.so-k { display: block; font-size: 12.5px; letter-spacing: .08em; color: var(--gray-lt); }
.so-e { display: block; margin: 4px 0 6px; font-size: 17px; font-weight: 700; color: var(--steel); }
a.so-e:hover { color: var(--accent-dk, #cf5a1d); }
.so-main p, .so-alt p, .so-heat p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.so-tips {
    margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line);
    list-style: none;
}
.so-tips li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--gray); margin-bottom: 6px; }
.so-tips li::before { content: '·'; position: absolute; left: 6px; color: var(--accent, #E86C2C); font-weight: 700; }
.so-note {
    margin: 14px 0 0; font-size: 12.5px; color: var(--gray);
    border-left: 3px solid var(--line); padding-left: 12px; line-height: 1.7;
}
.so-note + .so-note { margin-top: 8px; }
.so-more { margin: 18px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 首页物料搜索 ---------- */
.mat-search { display: flex; gap: 10px; margin: 4px 0 16px; max-width: 660px; }
.mat-search input[type="search"] {
    flex: 1 1 auto; height: 48px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; color: var(--ink);
}
.mat-search input[type="search"]:focus { border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(26,58,92,.10); }
.mat-hot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mat-hot .mh-k { font-size: 13px; color: var(--gray); }
.mat-hot a {
    font-size: 13.5px; color: var(--ink-2); background: var(--bg);
    border: 1px solid var(--line); border-radius: 30px; padding: 4px 14px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mat-hot a:hover { background: var(--steel); border-color: var(--steel); color: #fff; }
.mat-stat { font-size: 13.5px; color: var(--gray); margin: 0; }
.mat-stat b { color: var(--steel); font-size: 16px; }

/* ---------- 物料大全页 ---------- */
.mat-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mat-tools input[type="search"] {
    flex: 1 1 320px; height: 46px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; color: var(--ink);
}
.mat-tools input[type="search"]:focus { border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(26,58,92,.10); }
.mat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
    font-size: 13.5px; color: var(--ink-2); background: #fff;
    border: 1px solid var(--line); border-radius: 30px; padding: 5px 15px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--steel); color: var(--steel); }
.chip.on { background: var(--steel); border-color: var(--steel); color: #fff; }
.mat-res { font-size: 13.5px; color: var(--gray); margin: 0 0 22px; }

.mat-group { margin-bottom: 34px; }
.mg-t {
    font-size: 17px; padding-bottom: 10px;
    border-bottom: 2px solid var(--steel);
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.mg-t em { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--gray-lt); }

.mat-tb { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13.5px; background: #fff; }
.mat-tb caption { text-align: left; font-size: 12.5px; color: var(--gray-lt); padding: 8px 0; }
.mat-tb th, .mat-tb td {
    text-align: left; padding: 10px 12px;
    border-bottom: 1px solid var(--line); vertical-align: top;
}
.mat-tb thead th {
    background: var(--bg-2); color: var(--gray); font-size: 12.5px;
    font-weight: 600; white-space: nowrap;
}
.mat-tb tbody th { font-weight: 600; white-space: nowrap; }
.mat-tb .ma { display: block; font-weight: 400; font-size: 11.5px; color: var(--gray-lt); }
.mat-tb a { text-decoration: underline; text-decoration-color: rgba(26,58,92,.35); }
.mat-tb a:hover { text-decoration-color: currentColor; }
.mt-note { color: var(--ink-2); min-width: 250px; }

.ms { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 20px; white-space: nowrap; }
.ms-yes { background: #fdf0e7; color: #ab4f17; }
.ms-mid { background: #eef2f7; color: #47586b; }
.ms-no  { background: var(--bg); color: var(--gray); }

.mat-fine {
    font-size: 13px; color: var(--gray); background: var(--bg);
    border-left: 3px solid var(--accent, #E86C2C); padding: 12px 16px; margin: 8px 0 0;
}

/* ---------- 选型四步 ---------- */
.sel-steps {
    list-style: none; margin: 0 0 24px; padding: 0; counter-reset: selstep;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.sel-steps > li {
    counter-increment: selstep; position: relative;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 46px 18px 18px;
}
.sel-steps > li::before {
    content: counter(selstep, decimal-leading-zero);
    position: absolute; left: 18px; top: 14px;
    width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(26,58,92,.09); color: var(--steel);
    font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.sel-steps b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.sel-steps span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* ==========================================================================
   首页 · 选型中心（工具区）
   三张卡片：① 按物料条件选设备（全宽）② 适配物料大全 ③ 干基 / 湿基换算
   放在首屏之后，是首页最靠前的功能区块。
   ========================================================================== */
[hidden] { display: none !important; }

.tools-sec .sec-d { max-width: 820px; }

.tool-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 26px 26px;
    position: relative; overflow: hidden;
}
.tool-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--steel) 0%, var(--orange) 100%);
}
.tool-wide { margin-bottom: 22px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }

.tc-head { margin-bottom: 20px; position: relative; padding-left: 54px; }
.tc-n {
    position: absolute; left: 0; top: 1px;
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(26,58,92,.08); color: var(--steel);
    font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.tc-head h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.3; }
.tc-head p { margin: 0; font-size: 13.5px; color: var(--gray); line-height: 1.75; }
.tc-more { margin: 18px 0 0; }
.tc-note {
    margin: 16px 0 0; font-size: 12.5px; color: var(--gray);
    border-left: 3px solid var(--line); padding-left: 12px; line-height: 1.7;
}
/* 选型结果块嵌进卡片后，改成浅底 + 左侧强调，避免「白卡套白卡」 */
.tool-card .sel-out {
    background: var(--bg); border-top-color: var(--line);
    border-left: 3px solid var(--orange);
    box-shadow: none; padding: 20px 22px 18px; margin-bottom: 20px;
}

/* ---------- 干基 / 湿基换算 ---------- */
.calc-form { margin: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.cf { display: block; min-width: 0; }
.cf:last-child { grid-column: 1 / -1; }
.cf-l { display: block; font-size: 12.5px; color: var(--gray); margin-bottom: 6px; }
.cf-in { display: flex; gap: 8px; }
.cf-in input[type="number"] {
    flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.cf-in input[type="number"]:focus {
    border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(26,58,92,.10);
}
.cf-in select {
    flex: 0 0 auto; height: 46px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 13.5px; font-family: inherit; color: var(--ink-2); background: var(--bg);
}
.cf-u {
    flex: 0 0 auto; display: grid; place-items: center; min-width: 44px; height: 46px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 13.5px; color: var(--gray); background: var(--bg);
}

.calc-out { margin-top: 18px; }
.co-body {
    border: 1px solid var(--line); border-left: 3px solid var(--steel);
    background: var(--bg); border-radius: var(--radius); padding: 18px 20px;
}
.co-main { margin-bottom: 14px; }
.co-k { display: block; font-size: 12.5px; color: var(--gray); margin-bottom: 4px; }
.co-v {
    display: block; font-size: 30px; font-weight: 700; color: var(--steel);
    line-height: 1.15; font-variant-numeric: tabular-nums;
}
.co-v i { font-style: normal; font-size: 15px; font-weight: 500; color: var(--gray); }
.co-list { list-style: none; margin: 0; padding: 0; }
.co-list li {
    display: flex; justify-content: space-between; gap: 14px;
    font-size: 13.5px; color: var(--gray); padding: 7px 0;
    border-top: 1px dashed var(--line);
}
.co-list li:first-child { border-top: 0; }
.co-list li > span { flex: 0 0 auto; }
.co-list li > b {
    font-weight: 600; color: var(--ink); text-align: right;
    font-variant-numeric: tabular-nums;
}
.co-err {
    margin: 0; padding: 14px 18px; font-size: 13.5px;
    background: #fdf0e7; color: #ab4f17; border-left: 3px solid var(--orange);
    border-radius: var(--radius);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .sel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-grid { grid-template-columns: 1fr; gap: 16px; }
    .sel-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sel-grid { grid-template-columns: 1fr; }
    .sel-steps { grid-template-columns: 1fr; }
    .sel-out { padding: 18px 16px; }
    .mat-search { flex-direction: column; }
    .mat-search .btn { width: 100%; }
    .mat-tools input[type="search"] { flex: 1 1 100%; }
    .mg-t { font-size: 15.5px; }
    .tool-card { padding: 22px 18px; }
    .tc-head { padding-left: 46px; }
    .tc-n { width: 32px; height: 32px; font-size: 12px; }
    .tc-head h3 { font-size: 18px; }
    .calc-grid { grid-template-columns: 1fr; }
    .cf:last-child { grid-column: auto; }
    .co-v { font-size: 26px; }
    .co-list li { flex-direction: column; gap: 2px; }
    .co-list li > b { text-align: left; }
}

/* ---------- 工厂实景图组（v3.2.54 新增，fac- 前缀，不改动任何既有类） ---------- */
.fac-hero { padding: 28px 0 0; }
.fac-hero figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--metal-hi); }
.fac-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.fac-hero figcaption { padding: 10px 2px 0; font-size: 13px; color: var(--metal-3); }

.fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 6px; }
.fac-grid figure { margin: 0; }
.fac-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--metal-hi); }
.fac-grid figcaption { margin-top: 8px; font-size: 13px; color: var(--metal-3); }

.fac-band { display: grid; grid-template-columns: 1.12fr 1fr; gap: 32px; align-items: center; }
.fac-band figure { margin: 0; }
.fac-band img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--metal-hi); }
.fac-band .fac-tx h3 { font-size: 19px; margin: 0 0 10px; }
.fac-band .fac-tx p { margin: 0 0 12px; color: var(--ink-2); }
.fac-band .fac-tx ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.fac-band .fac-tx li { margin: 6px 0; }

@media (max-width: 820px) {
    .fac-hero { padding: 18px 0 0; }
    .fac-grid { grid-template-columns: 1fr; gap: 14px; }
    .fac-band { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   物料表「选型要点」列（v3.2.68）
   要点扩写后每格 230~320 字，整行在手机上会被拉得很长。
   这里用行数截断做视觉压缩 —— 文字仍然完整留在 HTML 里，
   搜索引擎与 AI 读到的是全文，只有视觉上收起。展开按钮给出完整内容。
   ========================================================================== */
.mt-note-clip {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mt-note-more { display: inline-block; margin-top: 4px; font-size: 12px; white-space: nowrap; }
