/* 工业蓝 · 稳重 · 由 _build 生成，请勿直接改这里；改 _build/base.css 与 _build/css/style1.css 后重新运行 python build.py */

/* ==========================================================================
   天祥滤芯 · 五套风格共用基座（base.css）
   —— 只放"结构 + 行为"，颜色/字体/圆角全部走变量，由各风格 style.css 覆盖。
   命名约定见 _build/README-构建说明.md
   ========================================================================== */

/* ---------- 复位 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
/* hidden 属性必须压得住组件自己的 display（.pcard 是 flex、按钮是 inline-block），
   否则 JS 里 el.hidden = true 会「点了没反应」——产品分类筛选就踩过这个坑 */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus, #1b6fd6); outline-offset: 2px; }

/* ---------- 基础排版 ---------- */
html { font-size: var(--fs-root, 16px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--lh, 1.75);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: var(--lh-head, 1.25);
  font-weight: var(--fw-head, 700);
  letter-spacing: var(--ls-head, 0);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--ink-2); }
b, strong { font-weight: 700; color: var(--ink); }
em { font-style: normal; }

.sr-only {
  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: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--brand); color: var(--on-brand);
  border-radius: var(--radius-sm); transition: top .2s;
}
.skip:focus { top: 12px; }
.sprite-host { display: none; }

/* ---------- 容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw, 1200px);
  margin-inline: auto;
  padding-inline: var(--gut, 20px);
}
.sec { padding-block: var(--sec-pad, 80px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: var(--head-gap, 40px); }
.sec-head h2 { margin-top: 8px; }
.sec-sub { margin-top: 14px; font-size: 1.0625rem; }
.eyebrow {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); font-family: var(--font-body);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-btn, var(--radius-sm));
  border: var(--btn-border, 0); cursor: pointer; font-weight: 600;
  font-size: .9375rem; line-height: 1.2; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn .ic { width: 1em; height: 1em; }
.btn-solid { background: var(--brand); color: var(--on-brand); }
.btn-solid:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--brand);
  border: 1px solid var(--line-strong, var(--line));
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); }

/* ---------- 图标 ---------- */
.ic { width: 20px; height: 20px; fill: none; }
.ic-sm { width: 15px; height: 15px; }
.ic-lg { width: 26px; height: 26px; }

/* ---------- 产品技术示意图（自绘 SVG） ---------- */
.dia {
  width: 100%; height: auto; aspect-ratio: 240 / 200;
  --dia-ink: var(--dia-ink-c, #33475f);
  --dia-line: var(--dia-line-c, #8aa0bb);
  --dia-fill: var(--dia-fill-c, #eef3f9);
  --dia-fill2: var(--dia-fill2-c, #e2eaf4);
  --dia-dim: var(--dia-dim-c, #c2683a);
  --dia-grid: var(--dia-grid-c, #cdd8e6);
  --dia-dot: var(--dia-line-c, #8aa0bb);
}

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--head-bg, var(--bg));
  border-bottom: 1px solid var(--head-line, var(--line));
  transition: box-shadow .2s, background .2s;
}
.site-head.is-stuck { box-shadow: var(--head-shadow, 0 6px 24px rgba(16, 28, 45, .10)); }
.head-inner { display: flex; align-items: center; gap: 20px; min-height: var(--head-h, 74px); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: var(--brand); color: var(--on-brand); border-radius: var(--radius-mark, var(--radius-sm));
}
.brand-mark svg { width: 24px; height: 24px; fill: none; }
/* 公司 LOGO：非正方形（原图 2715×1378 ≈ 1.94:1）。
   只控 height、width:auto 避免变形；高度用 rem 跟根字号联动，
   保证与右侧两行文字块（36px）严格等高，小屏也自动跟着缩。 */
.brand-logo {
  display: block; width: auto; flex: none;
  height: var(--brand-logo-h, 2.25rem);
  object-fit: contain; object-position: left center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text b { font-family: var(--font-head); font-size: 1.1875rem; letter-spacing: .01em; white-space: nowrap; }
.brand-text i { font-size: .6875rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > ul { display: flex; align-items: center; gap: var(--nav-gap, 26px); }
/* 导航链接只作用于真正的导航项（> ul > li > a），
   不要波及 .head-cta 里的按钮 —— 否则会盖掉 .btn-solid 的白字 */
.site-nav > ul > li > a {
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
  padding-block: 6px; position: relative;
}
.site-nav > ul > li > a:hover { color: var(--brand); }
.site-nav > ul > li > a.on { color: var(--brand); }
.head-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px; cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- 首页主视觉 ---------- */
.hero { position: relative; padding-block: var(--hero-pad, 72px); background: var(--hero-bg, transparent); }
/* 移动优先：主视觉默认单列；两列布局由各风格在 min-width 媒体查询里打开，
   否则风格文件里靠后的 grid-template-columns 会盖掉 max-width 断点。 */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--hero-gap, 48px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: var(--fs-lead, 1.125rem); max-width: 46ch; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--metric-gap, 20px); margin-top: 40px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.metric dt { font-family: var(--font-head); font-size: 1.625rem; font-weight: 700; color: var(--brand); line-height: 1.1; }
.metric dd { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.hero-figure { position: relative; overflow: hidden; border-radius: var(--radius-lg, var(--radius)); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-figure figcaption {
  position: absolute; left: 0; bottom: 0; padding: 5px 10px;
  font-size: .6875rem; background: rgba(12, 20, 32, .62); color: #fff;
}

/* ---------- 信任条 ---------- */
.sec-trust { padding-block: 0; }
.trust-list {
  display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center;
  padding: 22px var(--gut, 20px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.trust-list li { display: flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.trust-list .ic { color: var(--accent); flex: none; }

/* ---------- 产品大类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.ccard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius));
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.ccard-media {
  display: grid; place-items: center; padding: 22px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.ccard-media .dia { max-width: 210px; }
.ccard-body { padding: 20px 22px 24px; }
.ccard-body h3 { font-size: 1.125rem; }
.ccard-body p { margin-top: 8px; font-size: .9375rem; }
.ccard-meta { margin-top: 12px !important; font-size: .8125rem !important; color: var(--muted) !important; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.acard { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.acard-ic {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: var(--radius-mark, var(--radius-sm));
  background: var(--brand-soft); color: var(--brand);
}
.acard h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.acard p { font-size: .9375rem; }

/* ---------- 应用行业 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.icard { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg, var(--radius)); background: var(--surface); border: 1px solid var(--line); }
.icard-ic { color: var(--accent); flex: none; }
.icard h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.icard p { font-size: .9375rem; }

/* ---------- 关于 / 简介分栏 ---------- */
.about-split { display: grid; grid-template-columns: 1fr; gap: var(--split-gap, 52px); align-items: start; }
.about-fig { position: relative; border-radius: var(--radius-lg, var(--radius)); overflow: hidden; }
.about-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-fig figcaption { position: absolute; left: 0; bottom: 0; padding: 5px 10px; font-size: .6875rem; background: rgba(12, 20, 32, .62); color: #fff; }
.about-lead { font-size: var(--fs-lead, 1.125rem); color: var(--ink); font-weight: 600; }
.about-copy p + p { margin-top: 14px; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-block: 26px; }
.about-facts li { display: flex; flex-direction: column; gap: 4px; font-size: .8125rem; color: var(--muted); }
.about-facts b { font-family: var(--font-head); font-size: 1.125rem; color: var(--brand); }

/* ---------- 质量控制流程 ---------- */
.qflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap, 24px); counter-reset: q; }
.qcard { position: relative; padding: 26px 22px; border-radius: var(--radius-lg, var(--radius)); background: var(--surface); border: 1px solid var(--line); }
.qcard::before {
  counter-increment: q; content: "0" counter(q);
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700;
  color: var(--accent); letter-spacing: .08em;
}
.qcard h3 { font-size: 1.0625rem; margin: 10px 0 8px; }
.qcard p { font-size: .9375rem; }

/* ---------- 内页页头 ---------- */
.page-hero { padding-block: var(--ph-pad, 64px) calc(var(--ph-pad, 64px) * .62); background: var(--page-hero-bg, var(--surface)); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink-2); }
.page-hero h1 { margin-top: 16px; }
.page-sub { margin-top: 14px; font-size: var(--fs-lead, 1.125rem); max-width: 68ch; }

/* ---------- 筛选条 ---------- */
.sec-filter { padding-block: 32px 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.fbtn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; font-size: .875rem; font-weight: 600;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius-pill, var(--radius-sm));
  transition: all .18s;
}
.fbtn span { font-size: .75rem; color: var(--muted); }
.fbtn:hover { border-color: var(--brand); color: var(--brand); }
.fbtn.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.fbtn.on span { color: var(--on-brand); opacity: .75; }
.filter-hint { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.filter-hint b { color: var(--brand); }

/* ---------- 产品卡片网格 ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.p-grid.is-collapsed > .pcard:nth-child(n + 9) { display: none; }
.pcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius)); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.pcard-media { position: relative; display: block; padding: 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pcard-media .dia { max-width: 190px; margin-inline: auto; }
.pcard-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 9px; font-size: .6875rem; font-weight: 700;
  background: var(--brand); color: var(--on-brand); border-radius: var(--radius-pill, 4px);
}
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.pcard-body h3 { font-size: 1.0625rem; }
.pcard-body h3 a:hover { color: var(--brand); }
.pcard-sell { margin-top: 9px; font-size: .875rem; min-height: 2.6em; }
.pcard-spec { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.pcard-spec > div { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; }
.pcard-spec dt { color: var(--muted); flex: none; }
.pcard-spec dd { margin: 0; text-align: right; color: var(--ink-2); font-weight: 600; }
.pcard-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 700; color: var(--brand);
}
.pcard-link:hover { gap: 10px; }
.empty-tip { padding: 40px 0; text-align: center; color: var(--muted); }
.more-wrap { margin-top: 40px; text-align: center; }
.more-tip { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

/* ---------- 提示块 ---------- */
.notice {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 28px; border-radius: var(--radius-lg, var(--radius));
  background: var(--surface); border: 1px solid var(--line);
  border-left: var(--notice-bar, 4px solid var(--accent));
}
.notice > .ic { color: var(--accent); flex: none; margin-top: 2px; }
.notice h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.notice p + p { margin-top: 8px; }
.notice-act { margin-top: 16px; }

/* ---------- 产品详情 ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--split-gap, 52px); align-items: start; }
.gal-main {
  position: relative; display: grid; place-items: center; padding: 34px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius)); overflow: hidden;
}
.gal-main .dia { max-width: 380px; transition: transform .3s; }
.gal-main[data-view="zoom"] .dia { transform: scale(1.75); }
.gal-main[data-view="section"] .dia { transform: scaleX(.42) rotate(-6deg); }
.gal-main[data-view="top"] .dia { transform: rotate(90deg) scale(.85); }
.gal-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  font-size: .6875rem; font-weight: 700; border-radius: var(--radius-pill, 4px);
  background: var(--accent-soft, var(--brand-soft)); color: var(--accent-dark, var(--brand));
}
.gal-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.gal-thumbs button {
  width: 100%; padding: 8px; cursor: pointer; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: all .18s;
}
.gal-thumbs button:hover { border-color: var(--brand); }
.gal-thumbs button.on { border-color: var(--brand); background: var(--brand-soft); }
.gal-thumbs .mini { display: block; overflow: hidden; }
.gal-thumbs .mini .dia { max-width: 90px; margin-inline: auto; }
.mini-zoom .dia { transform: scale(1.9); }
.mini-section .dia { transform: scaleX(.45) rotate(-6deg); }
.mini-top .dia { transform: rotate(90deg) scale(.8); }
.gal-thumbs i { display: block; margin-top: 6px; font-size: .6875rem; font-style: normal; color: var(--muted); }

.buy-cat { font-size: .8125rem; color: var(--muted); }
.buy-cat a { color: var(--brand); font-weight: 600; }
.buy h1 { margin: 12px 0 14px; }
.buy-sell { font-size: var(--fs-lead, 1.125rem); color: var(--ink); }
.buy-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.buy-spec > div { padding: 14px 16px; background: var(--surface); }
.buy-spec dt { font-size: .75rem; color: var(--muted); }
.buy-spec dd { margin: 5px 0 0; font-weight: 700; font-size: .9375rem; }
.buy-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.buy-notes { margin-top: 24px; display: grid; gap: 10px; }
.buy-notes li { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; color: var(--ink-2); }
.buy-notes .ic { color: var(--accent); flex: none; margin-top: 3px; }

.detail-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--split-gap, 52px); align-items: start; }
.detail-main h2 { font-size: var(--fs-h3); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-main h2:first-child { margin-top: 0; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 16px; font-size: .9375rem; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; background: var(--surface-2); font-weight: 600; color: var(--muted); }
.spec-table td { font-weight: 600; }
.spec-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.mat-list { display: grid; gap: 10px; }
.mat-list li { padding-left: 18px; position: relative; font-size: .9375rem; }
.mat-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.detail-side { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); position: sticky; top: calc(var(--head-h, 74px) + 20px); }
.detail-side h2 { font-size: 1.125rem; margin-bottom: 12px; }
.detail-side .side-h2 { margin-top: 30px; }
.detail-side p { font-size: .9375rem; }
.side-list { display: grid; gap: 10px; margin: 18px 0 22px; }
.side-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.side-list .ic { color: var(--brand); flex: none; margin-top: 3px; }
.side-prod { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-prod a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); font-size: .875rem; }
.side-prod a:hover { background: var(--brand-soft); }
.side-prod span { color: var(--muted); font-size: .8125rem; }

/* ---------- 关于我们：企业档案 / 图组 / 时间轴 / 资质 ---------- */
.kv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv-list li { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 20px; background: var(--surface); }
.kv-list b { font-size: 1rem; }
.kv-list span { font-size: .75rem; color: var(--muted); }

.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.shot { border-radius: var(--radius-lg, var(--radius)); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: 14px 16px 18px; }
.shot b { display: block; font-size: .9375rem; }
.shot span { font-size: .8125rem; color: var(--muted); }

.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tl-item { position: relative; padding: 0 0 30px 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -9px; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.tl-year { font-family: var(--font-head); font-size: .875rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.tl-body h3 { font-size: 1.0625rem; margin: 6px 0 6px; }
.tl-body p { font-size: .9375rem; }

.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.cert { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.cert-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: var(--radius-mark, var(--radius-sm)); background: var(--brand-soft); color: var(--brand); }
.cert h3 { font-size: 1rem; margin-bottom: 6px; }
.cert p { font-size: .875rem; }
.cert-ph { margin-top: 12px !important; padding: 10px 12px; font-size: .75rem !important; color: var(--muted) !important; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); text-align: center; }

.patent-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--split-gap, 46px); align-items: center; padding: 34px; border-radius: var(--radius-lg, var(--radius)); background: var(--surface); border: 1px solid var(--line); }
.patent-copy h3 { font-size: 1.25rem; margin-bottom: 10px; }
.patent-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.patent-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.patent-list .ic { color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- 联系我们 ---------- */
.cinfo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.cinfo { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.cinfo-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--radius-mark, var(--radius-sm)); background: var(--brand-soft); color: var(--brand); }
.cinfo h3 { font-size: .875rem; color: var(--muted); font-weight: 600; }
.cinfo-main { margin-top: 6px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.cinfo-sub { margin-top: 6px; font-size: .8125rem; }

.quote-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--split-gap, 46px); align-items: start; }
.quote-form { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.quote-form h2 { font-size: var(--fs-h3); }
.form-sub { margin-top: 10px; font-size: .875rem; }
.req { color: var(--danger, #d94b3d); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .9375rem;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.field-err { min-height: 0; font-size: .75rem; color: var(--danger, #d94b3d); }
.field.has-err input, .field.has-err textarea { border-color: var(--danger, #d94b3d); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .875rem; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--brand); }
.check.has-err { color: var(--danger, #d94b3d); }
.form-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-note { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.form-out {
  display: block; margin-top: 18px; padding: 14px 16px; font-size: .875rem;
  background: var(--brand-soft); color: var(--ink); border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand);
}
.quote-tips { display: grid; gap: 12px; margin-top: 22px; }
.quote-tips li { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.quote-tips .ic { color: var(--accent); flex: none; margin-top: 3px; }
/* ---------- 厂区地图（自绘瓦片地图，逻辑见 site.js 的 initMap） ---------- */
.sec-map .sec-head { max-width: 720px; }
.map-wrap {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--card-gap, 24px); align-items: stretch;
}
.map {
  position: relative; min-height: 400px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius));
  background: var(--surface-2);
}
.map-canvas {
  position: absolute; inset: 0; cursor: grab; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.map-canvas.is-drag { cursor: grabbing; }
.map-tiles { position: absolute; inset: 0; will-change: transform; }
.map-tile {
  position: absolute; display: block; width: 256px; height: 256px;
  pointer-events: none; -webkit-user-drag: none; background: var(--surface-2);
}
.map-marker {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  pointer-events: none; z-index: 2; will-change: transform;
}
.map-marker-pin { color: var(--accent); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.map-marker-pin .ic { width: 34px; height: 34px; }
.map-marker-label {
  padding: 3px 9px; font-size: .75rem; font-weight: 700; white-space: nowrap;
  color: var(--on-brand); background: var(--brand); border-radius: var(--radius-pill, 4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.map-ctl {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.map-ctl button {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  font-size: 1.125rem; line-height: 1; font-weight: 700; padding: 0;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.map-ctl button:hover { border-color: var(--brand); color: var(--brand); }
.map-attr {
  position: absolute; left: 8px; bottom: 8px; z-index: 3;
  padding: 2px 7px; font-size: .6875rem; color: var(--ink-2);
  background: rgba(255, 255, 255, .86); border-radius: 3px;
}
.map-tip {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  padding: 10px 12px; font-size: .8125rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
}
.map-info {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
}
.map-info h3 { font-size: 1.125rem; }
.map-addr { font-size: .9375rem; color: var(--ink); font-weight: 600; }
.map-facts { display: grid; gap: 10px; margin: 0; }
.map-facts > div {
  display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px;
  font-size: .875rem; padding-top: 10px; border-top: 1px dashed var(--line);
}
.map-facts > div:first-child { border-top: 0; padding-top: 0; }
.map-facts dt { color: var(--muted); }
.map-facts dd { margin: 0; color: var(--ink-2); }
.map-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.map-act .btn { flex: 1 1 auto; }
.map-hint { font-size: .75rem; color: var(--muted); }
.route-grid { margin-top: var(--card-gap, 24px); }

/* ---------- 询价侧栏：来访信息卡 ---------- */
.visit-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
}
.visit-card h3 { font-size: .9375rem; color: var(--muted); font-weight: 600; }
.visit-addr { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.visit-facts { display: grid; gap: 8px; }
.visit-facts li { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; color: var(--ink-2); }
.visit-facts .ic { color: var(--accent); flex: none; margin-top: 3px; }
.visit-card .btn { margin-top: 4px; }

@media (max-width: 1024px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
}
@media (max-width: 768px) {
  .map { min-height: 300px; }
  .map-info { padding: 20px; }
  .map-act .btn { flex: 1 1 100%; }
}



.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--split-gap, 46px); }
.route-grid h3 { font-size: 1.125rem; margin-bottom: 12px; }
.route-grid ul { display: grid; gap: 9px; }
.route-grid li { padding-left: 18px; position: relative; font-size: .9375rem; }
.route-grid li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- FAQ ---------- */
.qa-list { display: grid; gap: 14px; max-width: 900px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.qa[open] { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.qa summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa-ic { flex: none; color: var(--brand); transition: transform .22s; }
.qa-ic .ic { width: 18px; height: 18px; }
.qa[open] .qa-ic { transform: rotate(90deg); }
.qa-a { padding: 0 24px 22px; }
.qa-a p { font-size: .9375rem; max-width: 74ch; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; max-width: 700px; margin-inline: auto; }
.err-code { font-family: var(--font-head); font-size: clamp(72px, 16vw, 150px); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.err-wrap h1 { margin: 8px 0 14px; }
.err-sub { font-size: var(--fs-lead, 1.125rem); }
.err-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.err-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 34px; font-size: .875rem; }
.err-links a { color: var(--brand); font-weight: 600; }

/* ---------- 风格预览页 ---------- */
.sprev-wrap { text-align: center; max-width: 780px; margin-inline: auto; }
.sprev-wrap h1 { margin: 12px 0 16px; }
.sprev-sub { font-size: var(--fs-lead, 1.125rem); }
.sprev-points { display: grid; gap: 10px; margin: 26px auto 0; max-width: 560px; text-align: left; }
.sprev-points li { padding-left: 22px; position: relative; font-size: .9375rem; color: var(--ink-2); }
.sprev-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sprev-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- CTA 条 ---------- */
.sec-cta { padding-block: var(--sec-pad, 80px); }
.cta-box {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
  padding: var(--cta-pad, 44px); border-radius: var(--radius-xl, var(--radius-lg, var(--radius)));
  background: var(--cta-bg, var(--brand)); color: var(--cta-ink, var(--on-brand));
}
.cta-copy h2 { color: inherit; font-size: var(--fs-h2); max-width: 22ch; text-wrap: balance; }
.cta-copy p { margin-top: 12px; color: inherit; opacity: .88; font-size: 1rem; max-width: 46ch; }
/* 行动条内容要压在装饰层之上，否则斜纹/色块会盖住按钮（既挡点击又压花文字） */
.cta-copy, .cta-act { position: relative; z-index: 1; }
.cta-act { display: flex; flex-wrap: wrap; gap: 12px; }
/* 行动条实心按钮统一橙底白字，与全站 .btn-solid 一致 */
.sec-cta .btn-solid { background: var(--accent); color: #fff; }
.sec-cta .btn-solid:hover { filter: brightness(.94); }
.sec-cta .btn-ghost { color: inherit; border-color: currentColor; }
.sec-cta .btn-ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 装饰层不拦截点击 ----------
   纯装饰的伪元素如果盖在内容上，会把点击吃掉（曾导致行动条按钮只有左半边能点）。
   这里统一兜底，任何装饰都不接收鼠标事件。 */
.hero::before, .hero::after,
.cta-box::before, .cta-box::after,
.page-hero::before, .page-hero::after,
.sec::before, .sec::after,
.map-tiles, .map-marker, .map-ctl,
.hero-figure::after, .hero-figure::before { pointer-events: none; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--foot-bg, var(--ink)); color: var(--foot-ink, #c3ccd8); padding-block: var(--foot-pad, 60px) 0; }
.site-foot .foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; }
.site-foot h3 { font-size: .875rem; letter-spacing: .06em; color: var(--foot-head, #fff); margin-bottom: 16px; text-transform: uppercase; }
.site-foot p, .site-foot li { font-size: .875rem; color: inherit; }
.site-foot li + li { margin-top: 9px; }
.site-foot a:hover { color: var(--foot-link-hover, #fff); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--foot-head, #fff); }
.foot-desc { margin-top: 14px; line-height: 1.85; }
.foot-note { margin-top: 14px; font-size: .75rem; opacity: .68; }
.foot-contact li { display: flex; gap: 8px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding-block: 20px; border-top: 1px solid var(--foot-line, rgba(255, 255, 255, .14));
}
.foot-bottom p { font-size: .8125rem; opacity: .82; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   响应式：断点 1200 / 1024 / 768 / 360
   ========================================================================== */
@media (max-width: 1200px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .site-nav { gap: 18px; }
  .site-nav > ul { gap: 18px; }
  .head-cta .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .about-split, .detail-grid, .detail-cols, .quote-grid, .patent-box { grid-template-columns: 1fr; }
  .about-fig { max-width: 640px; }
  .detail-side { position: static; }
  .cat-grid, .ind-grid, .shot-grid, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --sec-pad: 56px; }
  html { font-size: 15.5px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--head-h, 74px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gut, 20px) 22px;
    background: var(--head-bg, var(--bg));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(12, 20, 32, .16);
    transform: translateY(-120%); transition: transform .24s ease;
    max-height: calc(100dvh - var(--head-h, 74px)); overflow-y: auto;
  }
  body.nav-open .site-nav { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul li + li { border-top: 1px solid var(--line); }
  .site-nav > ul > li > a { display: block; padding: 15px 2px; font-size: 1rem; }
  .head-cta { margin-top: 16px; }
  .head-cta .btn { flex: 1; }
  .head-cta .btn-ghost { display: inline-flex; }
  .p-grid, .cat-grid, .ind-grid, .shot-grid, .cert-grid, .cinfo-list,
  .kv-list, .route-grid, .patent-list, .form-act { grid-template-columns: 1fr; }
  .grid-2, .p-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid { grid-template-columns: 1fr; }
  .buy-spec { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 30px 22px; }
  .cta-act .btn { flex: 1; }
  .site-foot .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .gal-main .dia { max-width: 260px; }
  .gal-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .gal-thumbs i { font-size: .625rem; }
  .detail-side { padding: 22px; }
  .quote-form { padding: 22px; }
  .notice { flex-direction: column; padding: 22px; }
}

@media (max-width: 480px) {
  .hero-act .btn, .err-act .btn { width: 100%; }
  .gal-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa summary { padding: 16px 18px; font-size: 1rem; }
  .qa-a { padding: 0 18px 18px; }
  .filter-bar { gap: 8px; }
  .fbtn { padding: 8px 12px; font-size: .8125rem; }
  .trust-list { gap: 12px 20px; }
}

/* 打印：去装饰，只留内容 */
@media print {
  .site-head, .nav-toggle, .sec-cta, .gal-thumbs, .filter-bar, .more-wrap { display: none !important; }
  body { background: #fff; }
  .sec { padding-block: 18px; break-inside: avoid; }
  .pcard, .qa, .cert { break-inside: avoid; }
}

/* ==========================================================================
   产品资料（文字版）：三本画册 / 三大类 / 可折叠参数表
   ========================================================================== */
.sec-pdata { padding-top: 8px; }

/* ---------- 大类导航卡 ---------- */
/* auto-fit + 最小宽度：宽度不够就自动换行，不再依赖媒体查询（防止再次挤成三条窄缝） */
.pdata-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pdata-toc a {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius));
  background: var(--surface);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.pdata-toc a:hover {
  border-color: var(--brand); transform: translateY(-2px); background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .09);
}
.pdata-toc b { font-size: 1.0625rem; line-height: 1.35; }
.pdata-toc span { font-size: .8125rem; color: var(--muted); }

/* ---------- 工具条 ---------- */
.pdata-tools {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 28px 0 0; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius));
  box-shadow: 0 2px 8px rgba(16, 24, 40, .04);
}
.pdata-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  flex: 1 1 340px; min-width: 0; padding: 0 14px;
  height: 46px; background: var(--bg); border: 1.5px solid var(--line-strong, var(--line));
  border-radius: var(--radius-pill, 999px);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pdata-search:focus-within {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 79, 158, .13);
}
.pdata-search-ic { display: inline-flex; color: var(--muted); flex: none; }
.pdata-search input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: .9375rem;
}
.pdata-search input::-webkit-search-cancel-button { display: none; }
.pdata-search input::placeholder { color: var(--muted); }
.pdata-search-x {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px;
  padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--muted); background: transparent;
}
.pdata-search-x:hover { color: var(--ink); background: var(--line); }
.pdata-hit {
  flex: 0 1 auto; margin: 0; font-size: .8125rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pdata-hit b { color: var(--brand); font-weight: 700; }

/* 主按钮：实心，明确是「可点的东西」 */
.pdata-all {
  flex: none; padding: 11px 20px; border: 1px solid var(--brand); border-radius: var(--radius-pill, 999px);
  background: var(--brand); color: var(--on-brand, #fff);
  font-size: .875rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 3px 10px rgba(11, 79, 158, .22);
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.pdata-all:hover { background: var(--brand-dark, #0a4487); box-shadow: 0 5px 16px rgba(11, 79, 158, .28); }
.pdata-all:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(11, 79, 158, .2); }
.pdata-tip { margin: 16px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.8; }

/* ---------- 大类 ---------- */
.pdata-cat { margin-top: 56px; scroll-margin-top: 100px; }
.pdata-cat[hidden] { display: none; }
.pdata-cat-head { max-width: 820px; margin-bottom: 22px; }
.pdata-cat-head h3 {
  font-size: 1.5rem; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.3;
}
.pdata-cat-head p { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.pdata-cat-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: .875rem; font-weight: 700; color: var(--brand);
}
.pdata-cat-link:hover { text-decoration: underline; }

/* ---------- 折叠组：带编号的清单 ---------- */
.pdata-list { display: grid; gap: 14px; counter-reset: pg; }
.pdata-g {
  border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); background: #fff;
  overflow: hidden; counter-increment: pg;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pdata-g[open] {
  border-color: var(--line-strong, var(--line));
  box-shadow: 0 6px 20px rgba(16, 24, 40, .07);
}
.pdata-g[hidden] { display: none; }
.pdata-g > summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 14px; padding: 18px 20px;
  cursor: pointer; font-weight: 700; list-style: none;
}
.pdata-g > summary::-webkit-details-marker { display: none; }
/* 展开/收起圆钮 */
.pdata-g > summary::before {
  content: "+"; display: inline-grid; place-items: center;
  width: 26px; height: 26px; border: 1.5px solid var(--line-strong, var(--line));
  border-radius: 50%; font-size: 1rem; font-weight: 700; line-height: 1;
  color: var(--brand); background: #fff; transition: all .15s ease;
}
.pdata-g[open] > summary::before {
  content: "−"; color: var(--on-brand, #fff);
  background: var(--brand); border-color: var(--brand);
}
/* 序号 01 / 02 …：让这一串看起来是「清单」而不是一排空条 */
.pdata-g-name {
  font-size: 1rem; line-height: 1.45; font-variant-numeric: tabular-nums;
}
.pdata-g-name::before {
  content: counter(pg, decimal-leading-zero);
  margin-right: 12px; font-size: .8125rem; font-weight: 700;
  color: var(--brand); opacity: .55; letter-spacing: .04em;
}
.pdata-g > summary:hover { background: var(--brand-soft, #e8f0fa); }
.pdata-g-meta {
  font-size: .75rem; color: var(--muted); font-weight: 600; white-space: nowrap;
  padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-variant-numeric: tabular-nums;
}
.pdata-g-meta.is-hit {
  color: var(--brand); border-color: var(--brand); background: var(--brand-soft, #e8f0fa);
}
.pdata-g-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.pdata-lead {
  margin: 18px 0 0; font-size: .9375rem; line-height: 1.75;
  color: var(--ink-2, var(--muted)); padding-left: 14px; border-left: 3px solid var(--line);
}
.pdata-note { margin: 14px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.75; }
.pdata-scroll-tip { display: none; margin: 10px 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- 数据表 ---------- */
.pdata-tw {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: auto; background: #fff;
}
.pdata-table {
  width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0;
  font-size: .875rem; line-height: 1.6;
}
.pdata-table th {
  position: sticky; top: 0; z-index: 2;
  padding: 12px 14px; text-align: left; white-space: nowrap;
  font-size: .8125rem; font-weight: 700;
  color: var(--ink); background: var(--brand-soft, #e8f0fa);
  border-bottom: 2px solid var(--brand);
}
.pdata-table td {
  padding: 11px 14px; vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2, var(--ink));
}
.pdata-table tbody tr:nth-child(even) td { background: #f5f8fc; }
.pdata-table tbody tr:hover td { background: var(--brand-soft, #e8f0fa); }
.pdata-table tbody tr:last-child td { border-bottom: 0; }
.pdata-table th.num, .pdata-table td.num { text-align: right; }

/* 型号列 */
.pdata-table td[data-model] {
  font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.pdata-model-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); text-decoration: underline dotted var(--line-strong, var(--line));
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.pdata-model-link:hover {
  color: var(--brand); text-decoration: underline solid var(--brand); text-underline-offset: 3px;
}
.pdata-model-link .ic { display: none; width: 12px; height: 12px; }
.pdata-model-link:hover .ic { display: inline; }

/* 搜索命中高亮 */
.pdata-table mark { background: #fde68a; color: inherit; padding: 0 2px; border-radius: 2px; }

@media (max-width: 1024px) {
  .pdata-tools { gap: 12px; }
  .pdata-search { flex: 1 1 100%; }
  .pdata-hit { order: 2; flex: 1 1 auto; }
  .pdata-all { order: 3; }
}

/* 平板/手机：三张画册入口卡改成竖排列表，别挤成三窄条
   （这条规则重写样式时漏过一次，导致手机上卡宽只剩 106px、字被拆成一列一个字） */
@media (max-width: 860px) {
  .pdata-toc { grid-template-columns: 1fr; gap: 10px; }
  .pdata-toc a {
    flex-direction: row; align-items: baseline; justify-content: space-between;
    gap: 12px; padding: 15px 18px;
  }
  .pdata-toc b { font-size: 1rem; }
  .pdata-toc span { flex: none; }
  .pdata-table { min-width: 720px; }
}

/* ---------- ≤700px：表格改成卡片，彻底不用横滑 ---------- */
@media (max-width: 700px) {
  .pdata-cat { margin-top: 40px; }
  .pdata-cat-head h3 { font-size: 1.25rem; }
  .pdata-tools { padding: 12px; margin-top: 20px; }
  .pdata-list { gap: 12px; }
  .pdata-g > summary { padding: 15px 14px; gap: 10px; }
  .pdata-g-name { font-size: .9375rem; }
  .pdata-g-name::before { margin-right: 8px; }
  .pdata-g-meta { padding: 2px 8px; font-size: .6875rem; }
  .pdata-g-body { padding: 0 14px 16px; }
  .pdata-lead { font-size: .875rem; padding-left: 10px; }

  .pdata-tw { border: 0; background: transparent; overflow: visible; margin-top: 14px; }
  .pdata-table { display: block; width: 100%; min-width: 0; font-size: .875rem; }
  .pdata-table thead { display: none; }
  .pdata-table tbody { display: grid; gap: 12px; }
  .pdata-table tr {
    display: block; padding: 14px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
  }
  .pdata-table td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 7px 0; border: 0; text-align: right; background: transparent !important;
  }
  .pdata-table td::before {
    content: attr(data-label); flex: none; text-align: left;
    color: var(--muted); font-size: .75rem; font-weight: 600;
  }
  .pdata-table td + td { border-top: 1px dashed var(--line); }
  .pdata-table td[data-model] {
    order: -1; font-size: 1rem; padding-bottom: 10px; border-top: 0;
    border-bottom: 1px solid var(--line); margin-bottom: 2px;
  }
  .pdata-table td.num { justify-content: space-between; }
}



/* ==========================================================================
   风格 1 · 工业蓝 · 稳重
   定位：最保守最安全的一套。深蓝 + 钢灰白，方正卡片、细边框、参数感强。
   适合：工业采购、设备配套厂的常规 B2B 观感，老板最容易一眼接受。
   ========================================================================== */
:root {
  /* 色彩 */
  --brand: #0b4f9e;
  --brand-dark: #07397a;
  --brand-soft: #e8f0fa;
  --on-brand: #fff;
  --accent: #c2683a;
  --accent-dark: #a4532b;
  --accent-soft: #f8ede5;
  --on-accent: #fff;
  --ink: #16202c;
  --ink-2: #4a5a6e;
  --muted: #7a8899;
  --bg: #fff;
  --surface: #f6f8fa;
  --surface-2: #eef2f6;
  --line: #dde4ec;
  --line-strong: #c3cede;
  --focus: #1b6fd6;
  --danger: #c0392b;

  /* 形状：方正、小圆角、细边框 */
  --radius: 4px;
  --radius-sm: 4px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-mark: 4px;
  --radius-btn: 4px;
  --radius-pill: 3px;
  --btn-border: 0;

  /* 字体：粗黑标题，紧字距 */
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-head: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --fw-head: 700;
  --lh: 1.75;
  --lh-head: 1.28;
  --ls-head: .01em;
  --fs-h1: clamp(2rem, 3.6vw, 3.125rem);
  --fs-h2: clamp(1.5rem, 2.2vw, 2.125rem);
  --fs-h3: 1.25rem;
  --fs-lead: 1.125rem;

  /* 布局：偏紧的留白，信息密度高 */
  --maxw: 1200px;
  --gut: 20px;
  --sec-pad: 84px;
  --head-gap: 40px;
  --card-gap: 20px;
  --split-gap: 48px;
  --head-h: 76px;
  /* 公司 LOGO 高度：与右侧两行文字块等高；用 rem 跟根字号联动 */
  --brand-logo-h: 2.25rem;
  --hero-pad: 76px;
  --ph-pad: 60px;

  /* 材质 */
  --shadow-hover: 0 10px 26px rgba(11, 79, 158, .13);
  --head-shadow: 0 6px 20px rgba(11, 35, 70, .12);

  /* 技术示意图配色：蓝图感 */
  --dia-ink-c: #22456f;
  --dia-line-c: #8fa8c6;
  --dia-fill-c: #eaf1fa;
  --dia-fill2-c: #dae6f5;
  --dia-dim-c: #c2683a;
  --dia-grid-c: #cfdcec;
}

/* ---------- 头部：白底 + 蓝色顶线 ---------- */
.site-head { border-top: 3px solid var(--brand); }
.site-nav > ul > li > a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--brand);
}
.brand-mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* ---------- 主视觉：深蓝底 + 工程网格 + 右侧图片 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, #0a3f80 0%, #0b4f9e 46%, #11589f 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 12% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 12% 0%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .13), transparent 62%);
}
.hero-grid { position: relative; }
.hero h1 { color: #fff; }
.hero-sub { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { color: #ffd9a8; }
/* 主视觉在深蓝底上：实心按钮统一白字 */
.hero .btn-solid { background: var(--accent); color: #fff; }
.hero .btn-solid:hover { background: var(--accent-dark); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero-metrics { border-top-color: rgba(255, 255, 255, .26); }
.hero .metric dt { color: #fff; }
.hero .metric dd { color: rgba(255, 255, 255, .72); }
.hero-figure {
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 26px 60px rgba(3, 20, 45, .46);
}
.hero-figure img { aspect-ratio: 16 / 11; filter: saturate(.9) contrast(1.04); }

/* ---------- 信任条：贴住主视觉下沿的白带 ---------- */
.sec-trust { margin-top: -34px; position: relative; z-index: 2; }
.trust-list {
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(11, 35, 70, .10);
  justify-content: space-between;
}
.trust-list li { flex: 1 1 auto; }

/* ---------- 区块标题：左侧蓝色竖条 ---------- */
.sec-head { position: relative; padding-left: 22px; }
.sec-head::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; background: var(--brand);
}
.sec-head h2 { letter-spacing: .005em; }
.sec-cats { background: var(--surface); }
.sec-quality { background: var(--surface); }

/* ---------- 卡片：方正、细边框、顶部色条 ---------- */
.ccard, .acard, .qcard, .cert, .pcard, .cinfo, .detail-side, .quote-form, .qa {
  border-radius: 4px;
}
.ccard-media .dia { max-width: 200px; }
.ccard:hover .ccard-media { background: #e6eef8; }
.acard { position: relative; overflow: hidden; padding-top: 30px; }
.acard::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .28s;
}
.acard:hover::before { transform: none; }
.acard-ic { border-radius: 4px; background: var(--brand); color: #fff; }
.icard { border-left: 3px solid var(--brand); }
.icard-ic { color: var(--brand); }
.qcard::before { color: var(--brand); }
.qcard { border-top: 3px solid var(--brand-soft); }
.qcard:hover { border-top-color: var(--brand); }

/* ---------- 产品卡片：参数表感 ---------- */
.pcard-media { background: linear-gradient(180deg, #f3f7fb, #e9eff7); }
.pcard-tag { border-radius: 2px; letter-spacing: .02em; }
.pcard:hover .pcard-tag { background: var(--accent); }
.pcard-spec dt { font-variant-numeric: tabular-nums; }
.pcard-spec dd { font-variant-numeric: tabular-nums; }

/* ---------- 筛选按钮：方角 ---------- */
.fbtn { border-radius: 3px; }
.fbtn.on { background: var(--brand); }

/* ---------- CTA：深蓝实底 ---------- */
.cta-box {
  border-radius: 6px; background: linear-gradient(135deg, #0a3f80, #11589f);
  position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 12px);
}
.cta-copy, .cta-act { position: relative; }

/* ---------- 页脚：深墨蓝 ---------- */
.site-foot { background: #0f1b2a; }
.site-foot { border-top: 4px solid var(--brand); }
.foot-brand { border-left: 3px solid var(--brand); padding-left: 12px; }

/* ---------- 内页页头 ---------- */
.page-hero {
  background:
    linear-gradient(180deg, #f4f7fb, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { position: relative; padding-left: 20px; }
.page-hero h1::before {
  content: ""; position: absolute; left: 0; top: .16em; bottom: .16em;
  width: 4px; background: var(--brand);
}

/* ---------- 桌面档：打开两列布局 ----------
   必须放在文件最后：base.css 的 max-width 断点在它之前，
   如果这里用裸规则定义 grid-template-columns 会盖掉断点。 */
@media (min-width: 1025px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
  .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

/* ==========================================================================
   销售微信二维码（全站页脚；改这段样式必须递增 ?v= 版本号）
   ========================================================================== */
.site-foot .qr-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 36px;
  padding-block: 32px 34px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.site-foot .qr-band-head { flex: 1 1 300px; min-width: 0; }
.site-foot .qr-band h3 {
  margin: 0 0 8px; font-size: 1.125rem; letter-spacing: .02em;
  color: #fff; text-transform: none;
}
.site-foot .qr-band p { margin: 0; font-size: .875rem; line-height: 1.7; color: #aebaca; }
.site-foot .qr-list { display: flex; flex: none; gap: 14px; margin: 0; padding: 0; list-style: none; }
/* 覆盖页脚通用 li + li 间距，三张卡必须严格同高同顶 */
.site-foot .qr-list > li { margin: 0; }
.site-foot .qr-card {
  width: 152px; padding: 10px 10px 9px; background: #fff; border-radius: 6px;
  text-align: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.site-foot .qr-card img { display: block; width: 130px; height: 130px; margin: 0 auto; }
.site-foot .qr-card b { display: block; margin-top: 8px; color: #16202c; font-size: .9375rem; line-height: 1.3; }
.site-foot .qr-card span { display: block; margin-top: 2px; color: #7a8899; font-size: .75rem; line-height: 1.5; }

@media (max-width: 1024px) {
  .site-foot .qr-band { gap: 24px; padding-block: 28px 30px; margin-bottom: 34px; }
  .site-foot .qr-list { gap: 12px; }
  .site-foot .qr-card { width: 132px; padding: 8px 8px 7px; }
  .site-foot .qr-card img { width: 114px; height: 114px; }
}

@media (max-width: 860px) {
  .site-foot .qr-band { flex-direction: column; align-items: stretch; gap: 18px; }
  .site-foot .qr-band-head { flex: none; }
  .site-foot .qr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .site-foot .qr-card { width: auto; }
  .site-foot .qr-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 150px; margin-inline: auto; }
}

@media (max-width: 400px) {
  .site-foot .qr-card { padding: 6px 6px 5px; }
  .site-foot .qr-card b { margin-top: 6px; font-size: .875rem; }
  .site-foot .qr-card span { font-size: .6875rem; }
}

@media (max-width: 380px) {
  .site-foot .qr-list { grid-template-columns: 1fr; }
  .site-foot .qr-card {
    display: flex; align-items: center; gap: 14px;
    text-align: left; padding: 10px;
  }
  .site-foot .qr-card img { width: 116px; height: 116px; flex: none; }
  .site-foot .qr-card-txt { flex: 1; min-width: 0; }
  .site-foot .qr-card b { margin-top: 0; font-size: 1rem; }
  .site-foot .qr-card span { font-size: .8125rem; }
}

/* ==========================================================================
   语言切换（中文站「EN」 / 英文站「中文」）
   追加于 2026-10-27：不改动既有布局，只在头部品牌与导航之后加一个文字入口
   ========================================================================== */
.lang-switch {
  display: inline-flex; align-items: center;
  margin-left: 16px; padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em;
  color: var(--ink-2); white-space: nowrap;
}
.lang-switch:hover { color: var(--brand); }
/* 英文站：拉丁字母比中文长，收一点字距；窄屏隐藏品牌副标题，避免挤压导航 */
html[lang="en"] .brand-text i { letter-spacing: .04em; }
html[lang="en"] .site-nav > ul > li > a { letter-spacing: .01em; }
@media (max-width: 900px) {
  html[lang="en"] .brand-text i { display: none; }
}
@media (max-width: 768px) {
  .lang-switch { margin-left: 0; padding-left: 10px; order: 2; }
  .nav-toggle { order: 3; }
}
@media (max-width: 380px) {
  .lang-switch { font-size: .75rem; padding-left: 8px; letter-spacing: .04em; }
}

/* ==========================================================================
   英文站组件：画册卡片 / 证书图卡（2026-10-27）
   ========================================================================== */
.cat-doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 24px); }
.cat-doc {
  display: flex; gap: 16px; align-items: center; padding: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius)); color: var(--ink);
}
.cat-doc:hover { border-color: var(--brand); }
.cat-doc img {
  width: 76px; height: 104px; object-fit: cover; object-position: top center;
  flex: none; border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
.cat-doc h3 { font-size: .9375rem; margin-bottom: 4px; }
.cat-doc p { font-size: .8125rem; color: var(--muted); }
.cat-doc span { display: inline-block; margin-top: 8px; font-size: .8125rem; font-weight: 700; color: var(--brand); }
.cert-shot img { object-fit: contain; background: #fff; }
@media (max-width: 1024px) { .cat-doc-grid { grid-template-columns: 1fr; } }

/* 英文站询价表单：成功/失败提示配色 */
.form-out.is-error {
  background: #fdecea; border-left-color: var(--danger, #d94b3d); color: #8a1f17;
}

/* 锚点跳到 #quote / #location 时，避开吸顶导航（中英文页共用） */
section[id], #main { scroll-margin-top: calc(var(--head-h, 74px) + 10px); }
