/* ============================================================
   大连佳秀百隆新材料股份有限公司 — 企业官网
   视觉风格：蓝绿色调（环保理念） + 木纹纹理 + PU漆光泽
   ============================================================ */

:root {
  /* 主色（eco teal 环保蓝绿）—— 品牌主色 */
  --c-primary: #0e8c7e;
  --c-primary-dark: #0a6258;
  --c-primary-deep: #063e38;
  --c-primary-light: #46b3a6;
  --c-primary-soft: #e4f4f1;

  /* 辅助色（wood 暖木色）—— 品牌温度与点缀 */
  --c-secondary: #9a6b43;
  --c-secondary-light: #c9a27a;
  --c-secondary-soft: #f1e7da;
  --c-wood: #9a6b43;
  --c-wood-light: #c9a27a;
  --c-wood-pale: #f1e7da;

  /* 中性 */
  --c-bg: #f6faf9;
  --c-bg-alt: #eef5f3;
  --c-surface: #ffffff;
  --c-text: #1f2d2a;
  --c-muted: #5c6b67;
  --c-line: #d9e6e2;

  /* 功能色 */
  --c-accent: #e0a526;   /* 强调色（暖金，用于标签 / 高亮 / CTA 强调） */
  --c-danger: #d9534f;
  --c-ok: #2e9e6b;

  --shadow-sm: 0 2px 8px rgba(11, 93, 84, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 93, 84, 0.12);
  --shadow-lg: 0 18px 48px rgba(11, 93, 84, 0.16);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1360px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* —— 主题可切换变量（被 :root[data-theme=...] 覆盖，实现后台一键换肤） —— */
  --font-heading: var(--font);

  --wood-grain: rgba(139, 94, 60, 0.05);
  --c-bg-alt-2: #e6f0ed;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
/* 整屏吸附仅作用于首页（html.is-home），子页（#544）不再吸附 */
html.is-home { scroll-snap-type: y proximity; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary-dark); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(100% - 40px, var(--maxw)); margin: 0 auto; }
section { position: relative; }

/* ---------- 木纹背景纹理 ---------- */
.wood-grain {
  background-image:
    repeating-linear-gradient(90deg, rgba(139,94,60,0.05) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(90deg, rgba(139,94,60,0.03) 0 1px, transparent 1px 22px);
}
.gloss {
  position: relative; overflow: hidden;
}
.gloss::after {
  content: ""; position: absolute; top: -60%; left: -20%;
  width: 60%; height: 220%; transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.96); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: var(--c-primary-deep); }
.brand .logo {
  width: 85px; height: 85px; border-radius: 18px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  display: grid; place-items: center; color: #fff; font-size: 44px; font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.brand #siteLogo { width: 85px; height: 85px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: 1px; }
/* T2 — Logo 悬停动画：金属光泽流转（扫光）+ 微浮起。
   仅用合成层属性 transform/opacity，避免重排重绘；尊重 prefers-reduced-motion。
   注：扫光伪元素在默认文字 Logo(#siteLogoText) 上生效；自定义图片 Logo(#siteLogo) 为 <img>
   无法承载 ::after，仅享受 transform 微浮起（交互一致）。 */
.brand .logo { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.brand:hover .logo, .brand:focus-visible .logo { transform: translateY(-2px) scale(1.04); box-shadow: var(--shadow-md); }
.brand .logo::after {
  content: ""; position: absolute; top: 0; left: 0; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
  transform: translateX(-220%) skewX(-18deg);
}
.brand:hover .logo::after, .brand:focus-visible .logo::after { animation: logoSheen .9s ease; }
@keyframes logoSheen { 0% { transform: translateX(-220%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) {
  .brand .logo, .brand:hover .logo, .brand:focus-visible .logo { transition: none; transform: none; }
  .brand .logo::after, .brand:hover .logo::after, .brand:focus-visible .logo::after { animation: none; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; border-radius: 10px; font-size: 17px; font-weight: 600; color: var(--c-text);
  transition: background .25s, color .25s, transform .25s cubic-bezier(.2,.7,.2,1); white-space: nowrap;
}
.nav-links a:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); transform: translateY(-2px); }
.nav-links a.active { color: var(--c-primary-dark); font-weight: 700; }
.nav-cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
/* T3 — 带背景色菜单项（如【招商加盟】）hover 配色修正：
   关键：必须覆盖 .nav-links a:hover（特异性 0,2,1，会把它背景重置为浅色 primary-soft，
   导致白字 + 浅底几乎不可见）。故选择器提升为 .nav-links a.nav-cta:hover（0,3,1）以稳压前者。
   显式给定更深青底 + 白字，白字对 --c-primary-deep(#063e38) 对比 ≈ 12:1（远超 WCAG AAA 7:1），
   同时保留品牌主色与非悬停状态。 */
.nav-links a.nav-cta:hover, .nav-links a.nav-cta:focus-visible {
  background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary-dark));
  color: #fff !important; transform: translateY(-2px); box-shadow: var(--shadow-md);
  outline: none;
}
.hamburger { display: none; width: 44px; height: 44px; border-radius: 10px; grid-template-columns: 1fr; gap: 5px; padding: 12px; }
.hamburger span { display: block; height: 2px; background: var(--c-primary-deep); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s, filter .2s; min-height: 44px;
  position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.btn-ghost { border: 2px solid var(--c-primary); color: var(--c-primary-dark); background: transparent; }
.btn-ghost:hover { background: var(--c-primary-soft); transform: translateY(-2px); }
.btn-wood { background: linear-gradient(135deg, var(--c-wood), var(--c-wood-light)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wood:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ---------- 区块标题 ---------- */
.section { padding: 48px 0; border-top: 1px solid var(--c-line); transition: background-color .4s ease; position: relative; min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; flex-direction: column; justify-content: safe center; }
/* 子页去除整屏：仅首页（body.is-home）保留整屏吸附，其余 .section 改为自然高度，内容紧凑衔接 */
body:not(.is-home) .section { min-height: auto; }
/* 整屏吸附仅首页（与 html.is-home 配合）；子页 .section 不再吸附 */
html.is-home .section { scroll-snap-align: start; }
/* 长列表页（products.html / cases.html）内容较多：不强制整屏吸附、自然高度，确保底部文字完整展示。
   注意：首页「核心产品」模块的 section id 同样是 #products，两者共用同一份 CSS，
   故此处必须用 .long-list 类名区分，绝不可再用 ID 选择器（否则首页模块会被误排除整屏）。 */
.long-list { min-height: auto; scroll-snap-align: none; }
.section.alt { background: linear-gradient(180deg, var(--c-bg-alt), var(--c-bg-alt-2)); }

/* ---------- 首页模块·日系和色多色彩模式（每模块独立满屏 + 和色主题） ---------- */
:is(#products,#home-cases,#news,#home-tech,#service,#home-certs,#home-colors,#home-downloads,#home-clients,#home-sample) {
  position: relative;
  background: linear-gradient(180deg, var(--sec-bg1), var(--sec-bg2));
}
:is(#products,#home-cases,#news,#home-tech,#service,#home-certs,#home-colors,#home-downloads,#home-clients,#home-sample) > .container { position: relative; z-index: 1; }
:is(#products,#home-cases,#news,#home-tech,#service,#home-certs,#home-colors,#home-downloads,#home-clients,#home-sample) .section-head h2 { color: var(--sec-deep); }
:is(#products,#home-cases,#news,#home-tech,#service,#home-certs,#home-colors,#home-downloads,#home-clients,#home-sample) .eyebrow { color: var(--sec-accent); background: var(--sec-soft); border-color: var(--sec-soft); }
:is(#products,#home-cases,#news,#home-tech,#service,#home-certs,#home-colors,#home-downloads,#home-clients,#home-sample) .section-head::after { background: linear-gradient(90deg, var(--sec-accent), var(--sec-soft)); }
/* 多色模块（色卡）使用柔和彩虹渐变 */
#home-colors { background: linear-gradient(135deg, #FDE9F1, #E8F0FB, #E9F6EC, #FBF1DD); }

/* 各模块和色变量 */
#products      { --sec-accent:#2E5E8C; --sec-deep:#1B3A5C; --sec-soft:#E6EEF5; --sec-bg1:#F2F6FA; --sec-bg2:#E7EFF6; --sec-kanji:"藍"; }
#home-cases    { --sec-accent:#C0392B; --sec-deep:#8E2A20; --sec-soft:#F7E3DF; --sec-bg1:#FCF1EE; --sec-bg2:#F8E6E1; --sec-kanji:"朱"; }
#news          { --sec-accent:#6B7B8C; --sec-deep:#3E4A57; --sec-soft:#ECEFF2; --sec-bg1:#F6F8FA; --sec-bg2:#EEF1F4; --sec-kanji:"白磁";}
#home-tech     { --sec-accent:#2C8C8C; --sec-deep:#1B5E5E; --sec-soft:#DEF0F0; --sec-bg1:#EFF8F8; --sec-bg2:#E2F3F3; --sec-kanji:"浅葱"; }
#service       { --sec-accent:#C9952B; --sec-deep:#8E6A18; --sec-soft:#F6ECCF; --sec-bg1:#FBF6E8; --sec-bg2:#F6EFD9; --sec-kanji:"山吹"; }
#home-certs    { --sec-accent:#6B7B8C; --sec-deep:#3E4A57; --sec-soft:#ECEFF2; --sec-bg1:#F6F8FA; --sec-bg2:#EEF1F4; --sec-kanji:"白磁"; }
#home-colors   { --sec-accent:#8A6CA8; --sec-deep:#4A4458; --sec-soft:#F0E9F6; --sec-bg1:#FDE9F1; --sec-bg2:#E8F0FB; --sec-kanji:"彩"; }
#home-downloads{ --sec-accent:#D97A2B; --sec-deep:#9E5514; --sec-soft:#FBEAD8; --sec-bg1:#FDF4EA; --sec-bg2:#F9ECDF; --sec-kanji:"萱"; }
#home-clients  { --sec-accent:#7E8A3B; --sec-deep:#565E22; --sec-soft:#EEF0DC; --sec-bg1:#F6F7EC; --sec-bg2:#EEF0DC; --sec-kanji:"鶯"; }
#home-sample   { --sec-accent:#A9763E; --sec-deep:#7A5026; --sec-soft:#F3E7D6; --sec-bg1:#FAF3E9; --sec-bg2:#F4EADB; --sec-kanji:"檜"; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 4px; font-weight: 700;
  color: var(--c-primary); text-transform: uppercase; margin-bottom: 14px;
  padding: 5px 16px; border: 1px solid var(--c-primary-light); border-radius: 999px; background: var(--c-primary-soft);
}
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; color: var(--c-primary-deep);
  font-family: var(--font-heading);
  margin: 10px 0 16px; letter-spacing: 2px; line-height: 1.2;
}
.section-head p { color: var(--c-muted); font-size: 16px; max-width: 620px; margin: 0 auto; }
/* 标题下动效分隔线：随 .reveal 入场由中点向两侧展开 */
.section-head::after {
  content: ""; display: block; width: 76px; height: 4px; margin: 22px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s .12s cubic-bezier(.2,.7,.2,1);
}
.section-head.in::after { transform: scaleX(1); }

/* ---------- （原首屏 Hero 样式已于 2026-09-16 随 Hero 区块合并进首页「关于我们」而移除） ---------- */

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* 首页「核心产品」模块：宽屏固定 4 列一行（内容收敛在一屏内完整展示），中屏 2×2，窄屏单列。
   用显式断点而非 auto-fit —— 避免 1060px 左右出现「3 列 → 3+1 孤立换行」导致模块变高溢出。
   容器最大宽 1360px，4 列需容器 ≥1016px（窗口 ≥1056px），故断点取 1060px。
   ID 优先级天然覆盖上面的 class 与媒体查询规则，无需在别处重复声明。 */
#homeProductsGrid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { #homeProductsGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { #homeProductsGrid { grid-template-columns: 1fr; } }

.card {
  background: var(--c-surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--c-primary-deep); margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 15px; }

/* T4 — 内联样式外提（消除重复内联代码，提升可维护性）：
   原首页「查看全部」居中链接包裹(style="text-align:center;margin-top:34px" ×7)
   与渐变 CTA 卡片(style="...gradient...padding:48px;text-align:center" ×2) 以 style= 重复书写，
   外提为下方类。选择器/属性值/层级与优化前完全一致，视觉无偏差。 */
.center-mt { text-align: center; margin-top: 34px; }
.cta-card {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff; border: none; padding: 48px; text-align: center;
}

/* ---------- 数字滚动计数 ---------- */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- 时间轴（关于我们） ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--c-primary-light), var(--c-primary)); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 38px 78px; }
.tl-dot { position: absolute; left: 16px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); border: 5px solid var(--c-primary-soft); box-shadow: var(--shadow-sm); }
.tl-year { font-size: 22px; font-weight: 800; color: var(--c-primary-dark); }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; color: var(--c-text); }
.tl-item p { color: var(--c-muted); font-size: 15px; }

/* ---------- 资质缩略图网格 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor {
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #fff;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  aspect-ratio: 3/4; display: grid; place-items: center; position: relative;
}
.honor:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md); }
.honor .cert {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, var(--c-primary-soft), #fff); padding: 14px; color: var(--c-primary-deep); font-weight: 700;
}
.honor .cert .seal { font-size: 30px; margin-bottom: 8px; }

/* ---------- 合作客户墙（首页：仅 Logo，悬浮显示简介） ---------- */
.clients-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; align-items: stretch; }
.client-logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 104px; padding: 18px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; cursor: default;
}
.client-logo:hover, .client-logo:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary); outline: none; }
.client-logo img { max-width: 100%; max-height: 64px; object-fit: contain; pointer-events: none; }
.client-logo .client-name { font-weight: 700; color: var(--c-text); text-align: center; font-size: 15px; }
.client-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 200px; max-width: 280px; background: var(--c-ink, #14302b); color: #fff;
  padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.55; text-align: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 30; pointer-events: none;
}
.client-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--c-ink, #14302b); }
.client-logo:hover .client-tip, .client-logo:focus-visible .client-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(7,63,58,0.85); display: grid; place-items: center; z-index: 2000; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox .lb-inner { transform: scale(.94); opacity: 0; transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s ease; }
.lightbox.open .lb-inner { transform: none; opacity: 1; }
.lightbox .lb-inner { background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 30px; text-align: center; box-shadow: var(--shadow-lg); }
.lightbox .lb-inner .seal { font-size: 56px; color: var(--c-primary); margin-bottom: 12px; }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; font-size: 34px; color: #fff; }

/* ---------- 产品中心 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line);
  font-size: 14px; color: var(--c-muted); transition: .2s; min-height: 40px;
}
.chip:hover { border-color: var(--c-primary-light); color: var(--c-primary-dark); }
.chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 16px; margin-left: auto; min-height: 44px; }
.search-box input { border: none; outline: none; font-size: 15px; width: 200px; background: transparent; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 计数提示（共 N 件 / 个 / 篇 / 条，随筛选动态更新） ---------- */
.result-count-wrap { margin: 0 0 22px; }
.result-count {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(14,140,126,.28);
}
.result-count b { color: #fff; font-size: 16px; font-weight: 800; margin: 0 1px; }
.result-count.is-empty { color: var(--c-muted); background: var(--c-primary-soft); box-shadow: none; font-weight: 600; }
.result-count.is-empty b { color: var(--c-muted); }
/* 新闻/技术页的搜索工具栏已有较大下边距，计数条上移贴合 */
.news-toolbar + .result-count-wrap { margin-top: -18px; }

/* ---------- 新闻页搜索（纯前端过滤） ---------- */
.news-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;            /* 与文章列表拉开间距，避免搜索框紧贴卡片 */
}
.news-toolbar .filter-bar { margin-bottom: 0; flex: 1 1 auto; }
.news-toolbar .search-box {
  flex: 0 0 auto;
  position: relative;
  padding: 8px 18px;              /* 更舒适的输入 / 点击区域 */
  min-height: 46px;
  transition: border-color .2s, box-shadow .2s;
}
.news-toolbar .search-box:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);   /* 聚焦高亮：品牌色描边 */
}
.news-toolbar .search-ic { color: var(--c-muted); flex: none; transition: color .2s; }
.news-toolbar .search-box:focus-within .search-ic { color: var(--c-primary); }
.news-toolbar .search-box input { width: 220px; color: var(--c-text); }
@media (max-width: 600px) {
  .news-toolbar { margin-bottom: 32px; gap: 14px; }
  .news-toolbar .search-box { flex: 1 1 100%; margin-left: 0; padding: 8px 16px; }
  .news-toolbar .search-box input { width: 100%; }
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .3s, box-shadow .3s; color: inherit; text-decoration: none; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb { aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--c-primary-soft), var(--c-wood-pale)); display: grid; place-items: center; font-size: 64px; position: relative; overflow: hidden; }
.product-card .body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 22px; }
.product-card .cat-tag { font-size: 12px; color: var(--c-primary); font-weight: 700; letter-spacing: 1px; }
.product-card h3 { font-size: 18px; margin: 6px 0; color: var(--c-primary-deep); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.product-card p { color: var(--c-muted); font-size: 14px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 首页核心产品：分类卡片作为链接，点击进入产品中心对应分类 */
.grid a.card { text-decoration: none; color: inherit; cursor: pointer; transition: transform .3s, box-shadow .3s; }
.grid a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.grid a.card h3 { color: var(--c-primary-deep); }

/* 产品详情弹层 */
.pmodal { position: fixed; inset: 0; background: rgba(7,63,58,0.8); display: none; place-items: center; z-index: 2000; padding: 24px; overflow-y: auto; }
.pmodal.open { display: grid; }
.pmodal .pm-inner { background: #fff; border-radius: var(--radius-lg); max-width: 940px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: var(--shadow-lg); }
.pmodal .pm-gallery { background: linear-gradient(150deg, var(--c-primary-soft), var(--c-wood-pale)); padding: 30px; display: grid; place-items: center; position: relative; min-height: 320px; }
.pmodal .pm-gallery .main-img { font-size: 120px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.15)); cursor: zoom-in; }
.pmodal .pm-thumbs { position: absolute; bottom: 16px; display: flex; gap: 8px; }
.pmodal .pm-thumbs span { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.7); display: grid; place-items: center; font-size: 22px; cursor: pointer; border: 2px solid transparent; }
.pmodal .pm-thumbs span.active { border-color: var(--c-primary); }
.pmodal .pm-body { padding: 30px 32px; max-height: 80vh; overflow-y: auto; }
.pmodal .pm-body h3 { font-size: 24px; color: var(--c-primary-deep); margin-bottom: 4px; }
.pmodal .pm-body .cat-tag { color: var(--c-primary); font-weight: 700; font-size: 13px; letter-spacing: 1px; }

/* 产品图片（SVG 插画） */
.product-thumb img, .product-thumb .media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pmodal .pm-gallery .main-img img { width: min(260px, 72%); height: auto; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,.15)); }
.pmodal .pm-thumbs span img { width: 34px; height: 34px; object-fit: contain; }
.lightbox .lb-inner .zoom-emoji img { width: min(360px, 80vw); height: auto; }
.card .ic img, .step .step-ic img { width: 30px; height: 30px; object-fit: contain; }

/* 相关产品推荐 */
.pm-related { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.rel-card { width: 104px; border: 1px solid var(--c-line); border-radius: 12px; padding: 8px; background: #fff; cursor: pointer; text-align: center; transition: border-color .2s, transform .2s; }
.rel-card:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.rel-thumb { height: 68px; display: grid; place-items: center; }
.rel-thumb img { width: 100%; height: 100%; object-fit: contain; }
.rel-card span { font-size: 12px; color: var(--c-ink); display: block; margin-top: 6px; line-height: 1.3; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table tr { border-bottom: 1px solid var(--c-line); transition: background .18s ease; }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:hover { background: var(--c-bg); }
.spec-table th, .spec-table td { padding: 14px 8px; text-align: left; vertical-align: top; line-height: 1.55; }
.spec-table th { width: 36%; color: var(--c-muted); font-weight: 600; white-space: nowrap; }
.spec-table td { color: var(--c-text); font-weight: 600; }
.pm-close { position: absolute; top: 18px; right: 22px; font-size: 30px; color: #fff; z-index: 3; }

/* ---------- 服务支持 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; position: relative; padding-top: 10px; }
.step .step-ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 30px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff; box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 2px; right: calc(50% - 44px); width: 26px; height: 26px; background: var(--c-wood); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; display: grid; place-items: center; z-index: 3; }
.step h4 { color: var(--c-primary-deep); margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 14px; }

.faq-cat { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; justify-content: center; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--c-text); }
.faq-q .arrow { transition: transform .3s; color: var(--c-primary); font-size: 20px; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 22px 18px; color: var(--c-muted); font-size: 15px; }

/* 悬浮咨询（鼠标移上容器即自动展开；点击作为触控/键盘兜底） */
.float-consult { position: fixed; right: 24px; bottom: 24px; z-index: 1500; }
.fc-btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff; font-size: 26px;
  box-shadow: var(--shadow-lg); cursor: pointer; border: none; transition: transform .2s;
}
.fc-btn:hover { transform: scale(1.08); }
.fc-panel {
  position: absolute; right: 0; bottom: 78px; width: 280px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line); overflow: hidden; transform-origin: bottom right;
  opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none; transition: opacity .2s, transform .2s;
}
/* 透明桥接区：弥合按钮与面板之间的整段间隙，鼠标在触发区与菜单间移动时不触发收起 */
.fc-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: -56px; height: 56px; }
.fc-panel.open,
.float-consult:focus-within .fc-panel { opacity: 1; transform: none; pointer-events: auto; }
.float-consult:focus-within .fc-btn { transform: scale(1.08); }
.fc-head { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); color: #fff; font-weight: 700; padding: 14px 18px; font-size: 15px; }
.fc-item { display: flex; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; transition: background .2s; }
.fc-item:last-child { border-bottom: none; }
.fc-item:hover { background: var(--c-primary-soft); }
.fc-ic { font-size: 22px; width: 30px; text-align: center; }
.fc-item b { color: var(--c-primary-deep); }
.fc-item span { font-size: 13px; color: var(--c-muted); line-height: 1.4; }

/* 分页 */
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.pg { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; color: var(--c-muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; }
.pg:hover:not(.disabled) { border-color: var(--c-primary-light); color: var(--c-primary-dark); }
.pg.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pg.disabled { opacity: .45; cursor: not-allowed; }

/* 表单（schema 驱动） */
.form-head h2 { font-size: 28px; color: var(--c-primary-deep); margin-bottom: 8px; }
.field .opts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 8px 0; }
.field .opt { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c-text); cursor: pointer; font-weight: 400; }
.field .opt input { width: auto; min-height: 0; }

/* ---------- 招商加盟 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: transform .25s; }
.adv:hover { transform: translateY(-5px); }
.adv .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--c-primary-soft, #e4f4f1); color: var(--c-primary-dark, #0a6258); font-size: 26px; margin-bottom: 12px; }
.adv h4 { color: var(--c-primary-deep); margin-bottom: 6px; }
.adv p { color: var(--c-muted); font-size: 14px; }

.flow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.flow-step { flex: 1; min-width: 150px; text-align: center; position: relative; padding: 18px 12px; }
.flow-step .num { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.flow-step h4 { color: var(--c-primary-deep); font-size: 16px; }
.flow-step p { color: var(--c-muted); font-size: 13px; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 22px; color: var(--c-primary-light); font-size: 22px; }

/* 表单 */
.form-wrap { max-width: 680px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); border: 1px solid var(--c-line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--c-text); }
.field label .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 10px; font-size: 15px;
  font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.7,.2,1); background: #fff; min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); transform: scale(1.005); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--c-danger); }
.field .err-msg { color: var(--c-danger); font-size: 13px; margin-top: 5px; display: none; }
.field.error .err-msg { display: block; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success .check { font-size: 60px; color: var(--c-ok); transform: scale(1); }
/* 提交成功：对勾带回弹弹入 */
.form-success.show .check { animation: checkPop .45s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes checkPop {
  0%   { transform: scale(0);   opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
.form-error { display: none; margin: 4px 0 18px; padding: 12px 14px; border-radius: 10px; background: #fdecec; color: var(--c-danger); border: 1px solid #f3c0c0; font-size: 14px; }
.form-error.show { display: block; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 新闻列表页专用：一排 4 条图文框（≤1060 → 2 列，≤680 → 1 列），不影响首页/技术页的 3 列网格 */
.news-grid--list { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .news-grid--list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .news-grid--list { grid-template-columns: 1fr; } }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card:focus-visible { outline: 3px solid var(--c-primary-light); outline-offset: 2px; }
.news-cover { height: 170px; display: grid; place-items: center; font-size: 50px; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); position: relative; }
.news-cover .date { position: absolute; bottom: 12px; left: 14px; background: rgba(255,255,255,.92); color: var(--c-primary-deep); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.news-card .body { padding: 18px 20px 22px; }
.news-card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-primary-deep); background: #eef4ff; border: 1px solid #d7e6ff; padding: 3px 11px; border-radius: 999px; letter-spacing: .3px; line-height: 1.6; }
.news-card h3 { font-size: 17px; margin: 6px 0; color: var(--c-primary-deep); }
.news-card p { color: var(--c-muted); font-size: 14px; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--c-primary); }
.news-more:hover { color: var(--c-primary-deep); }

/* 列表上方分页条：置于列表之上，与下方区分间距 */
.pager--top { margin: 0 0 26px; }

/* ---------- 新闻详情页 ---------- */
.back-link { display: inline-block; margin-bottom: 22px; color: var(--c-primary); font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--c-primary-deep); }
.news-detail { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 34px 38px; max-width: 860px; }
.nd-cover { height: 220px; display: grid; place-items: center; font-size: 72px; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); position: relative; border-radius: calc(var(--radius) - 6px); overflow: hidden; margin-bottom: 22px; }
.nd-cover img { width: 100%; height: 100%; object-fit: cover; }
.nd-cover .date { position: absolute; bottom: 14px; left: 16px; background: rgba(255,255,255,.92); color: var(--c-primary-deep); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.news-detail h1 { font-size: 28px; color: var(--c-primary-deep); margin: 8px 0 10px; }
.news-detail .tag { font-size: 13px; color: var(--c-accent); font-weight: 700; }
.nd-meta { color: var(--c-muted); font-size: 13px; margin-bottom: 18px; border-bottom: 1px dashed var(--c-line); padding-bottom: 14px; }
.nd-body { font-size: 16px; line-height: 1.9; color: #2c3a37; }
.nd-body p { margin: 0 0 16px; }
.nd-nav { display: flex; gap: 14px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--c-line); flex-wrap: wrap; }
.nd-nav a { flex: 1 1 0; min-width: 0; text-decoration: none; color: var(--c-primary-deep); background: #f3f8f6; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 14px; transition: background .25s, border-color .25s, transform .25s; }
.nd-nav a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }
.nd-nav .nd-next { text-align: right; }
.nd-nav .nd-disabled { flex: 1 1 0; min-width: 0; padding: 14px 16px; border-radius: 12px; color: var(--c-muted); background: #f6f7f7; border: 1px dashed var(--c-line); font-size: 14px; }
@media (max-width: 560px) { .nd-nav { flex-direction: column; } .nd-nav .nd-next { text-align: left; } }

/* 相关推荐（新闻详情 / 服务详情） */
.nd-related { margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--c-line); }
.nd-related h3 { font-size: 17px; color: var(--c-primary-deep); margin-bottom: 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel-card { text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.rel-cover { height: 96px; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); }
.rel-cover img { width: 100%; height: 100%; object-fit: cover; }
.rel-tag { font-size: 11px; color: var(--c-accent); font-weight: 700; padding: 10px 12px 0; }
.rel-title { font-size: 14px; color: var(--c-text); padding: 4px 12px 14px; line-height: 1.4; }
@media (max-width: 680px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== 详情页右侧「同分类相关文章」导航 ===== */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.detail-layout .news-detail { max-width: none; }
.detail-sidebar {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ds-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--c-primary-deep);
  background: linear-gradient(135deg, var(--c-primary-soft), #fff);
  border-bottom: 1px solid var(--c-line);
}
.ds-head .ds-ic { font-size: 18px; }
.ds-list { max-height: calc(100vh - 152px); overflow-y: auto; scrollbar-width: thin; }
.ds-items { list-style: none; margin: 0; padding: 6px; }
.ds-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.ds-item:hover { background: var(--c-primary-soft); border-color: var(--c-primary-light); transform: translateX(2px); }
.ds-item.active { background: var(--c-primary); border-color: var(--c-primary); }
.ds-date { display: block; font-size: 12px; color: var(--c-muted); margin-bottom: 4px; }
.ds-item.active .ds-date { color: rgba(255, 255, 255, .85); }
.ds-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--c-primary-deep); }
.ds-item.active .ds-title { color: #fff; }
.ds-sum {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13px; color: var(--c-muted); margin-top: 5px; line-height: 1.55;
}
.ds-item.active .ds-sum { color: rgba(255, 255, 255, .9); }
.ds-empty { padding: 22px 16px; color: var(--c-muted); font-size: 14px; text-align: center; }

/* 移动端：右侧导航折叠为底部展开式菜单 */
.mobile-related { display: none; }
@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; gap: 0; }
  .detail-sidebar { display: none; }
  .mobile-related {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    background: #fff; border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
  }
  .mr-toggle {
    width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: #fff; font-size: 15px; font-weight: 700;
  }
  .mr-count { background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 1px 9px; font-size: 13px; }
  .mr-chev { margin-left: auto; transition: transform .3s; }
  body.mr-open .mr-chev { transform: rotate(180deg); }
  .mr-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: #fff; }
  body.mr-open .mr-panel { max-height: 60vh; overflow-y: auto; }
  .mr-list { padding: 8px; }
  #news-detail, #tech-detail, #sdDetail { padding-bottom: 84px; }
}

/* FAQ 详情链接 */
.faq-detail-link { display: inline-block; margin: 0 22px 16px; font-size: 14px; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.faq-detail-link:hover { color: var(--c-primary-deep); }

/* ============================================================
   详情页统一视觉规范（新闻 / 技术 / 产品 / 案例 / 常见问题 / 资质）
   2026-09-15：将原本依赖浏览器默认样式的杂乱渲染重构为统一排版系统，
   全栏目共用同一套标题 / 正文 / 画廊 / 相关列表规范，左对齐、留白充足、易读协调。
   所有类仅用于 detail 页面，不影响列表页 / 首页等其他板块。
   ============================================================ */

/* —— 标题区（.article-head 左对齐，全栏目统一）—— */
.article-head { margin-bottom: 30px; }
.article-head .eyebrow { margin-bottom: 16px; }
.article-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  color: var(--c-primary-deep);
  margin: 0 0 12px;
  letter-spacing: 1px;
}
.article-head p { font-size: 16px; color: var(--c-muted); line-height: 1.7; margin: 4px 0 0; }
.article-head .article-meta {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}

/* —— 正文排版系统（.article-body）—— */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--c-text);
}
.article-body > p { margin: 0 0 18px; }
.article-body h2,
.detail-sub {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  color: var(--c-primary-deep);
  line-height: 1.4;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--c-primary);
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-primary-deep);
  margin: 26px 0 12px;
}
.article-body ul,
.article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-primary-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-primary-deep);
}
.article-body blockquote p { margin: 0; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 18px 0; }
.article-body strong { color: var(--c-primary-deep); font-weight: 700; }
.article-body a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--c-primary-deep); }

/* —— 产品 / 案例画廊 —— */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 28px;
}
.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-primary-soft);
}
.g-item .media-img { aspect-ratio: 1 / 1; }
@media (max-width: 680px) { .product-gallery { grid-template-columns: repeat(2, 1fr); } }

/* —— 产品详情画廊（自适应轮播：1 张单图 / 2+ 主舞台+缩略图轨+箭头+计数+灯箱） ——
   与 .product-gallery（案例/新闻共用网格）解耦，pd- 前缀避免污染。Fortune-500 风格：大留白、4:3 主舞台、精致缩略图轨。 */
.pd-gallery { margin: 4px 0 30px; }
.pd-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--c-primary-soft), var(--c-wood-pale));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.pd-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.pd-slide { flex: 0 0 100%; display: grid; place-items: center; padding: 6%; }
.pd-stage-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(6,62,56,.16)); cursor: zoom-in;
}
.pd-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.86); color: var(--c-primary-deep);
  font-size: 26px; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: background .2s, transform .2s; z-index: 2;
}
.pd-arrow:hover { background: #fff; }
.pd-prev { left: 16px; } .pd-next { right: 16px; }
.pd-counter {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(6,62,56,.62); color: #fff; font-size: 13px; font-weight: 600;
  padding: 5px 13px; border-radius: 999px; letter-spacing: .04em; backdrop-filter: blur(4px);
}
.pd-counter .pd-sep { opacity: .6; margin: 0 3px; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pd-thumb {
  width: 84px; height: 84px; padding: 0; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--c-line); background: var(--c-surface); cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--c-primary); box-shadow: 0 4px 14px rgba(14,140,126,.28); }
.pd-single .pd-stage { cursor: zoom-in; }

/* 产品主图放大灯箱 */
.pd-zoom {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: rgba(7,63,58,.9); padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.pd-zoom.open { opacity: 1; visibility: visible; }
.pd-zoom .pd-zoom-inner {
  display: flex; justify-content: center; align-items: center;
  transform: scale(.94); opacity: 0; transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s ease;
  width: min(860px, 92vw); height: min(86vh, 92vw);
}
.pd-zoom.open .pd-zoom-inner { transform: none; opacity: 1; }
/* 关键修复：SVG 作为 <img> 时 Chromium 常不建立可靠固有尺寸(naturalWidth 退化为 150/0)；
   初版 width:auto / flex:0 0 auto 均依赖固有尺寸 → 灯箱图塌缩为 0×0（真实 Edge/Chrome 同现）。
   改法：给 inner 与 img 确定尺寸 + object-fit:contain，彻底脱离固有尺寸依赖，SVG/PNG 均可正常铺满显示。 */
.pd-zoom img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-lg); }
.pd-zoom .pd-zoom-close {
  position: absolute; top: 22px; right: 28px; font-size: 34px; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12); border: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
}
.pd-zoom .pd-zoom-prev, .pd-zoom .pd-zoom-next {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.16); color: #fff; font-size: 30px; cursor: pointer; display: grid; place-items: center;
}
.pd-zoom .pd-zoom-prev { left: 24px; } .pd-zoom .pd-zoom-next { right: 24px; }

@media (max-width: 680px) {
  .pd-arrow { width: 40px; height: 40px; font-size: 22px; }
  .pd-prev { left: 10px; } .pd-next { right: 10px; }
  .pd-thumb { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .pd-track { transition: none; } }

/* —— 详情页下半部分：规格参数 / 产品说明 信息卡（Fortune-500 风格） —— */
.pd-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 38px; align-items: start;
}
.pd-info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 30px 26px;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.pd-info-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.pd-info-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.pd-info-card__ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-primary-soft), #fff);
  color: var(--c-primary-dark); border: 1px solid var(--c-line);
}
.pd-info-card__head h2 {
  margin: 0; font-size: 20px; font-weight: 800; color: var(--c-primary-deep);
  letter-spacing: .01em;
}
.pd-info-card__sub { margin: 3px 0 0; font-size: 12.5px; color: var(--c-muted); letter-spacing: .02em; }

/* #634/#638 规格参数多列网格：列数由后台「前台展示列数」决定（--spec-cols），
   后台选「自动」时按参数项数量自适应（最多 4 列），窄屏逐级降级 */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(var(--spec-cols, 1), minmax(0, 1fr));
  gap: 14px 22px;
}
/* 自动模式：仅作用于后台未指定列数的产品 */
.spec-grid[data-cols="auto"]:has(> .spec-item:nth-child(n+5))  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-grid[data-cols="auto"]:has(> .spec-item:nth-child(n+9))  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-grid[data-cols="auto"]:has(> .spec-item:nth-child(n+13)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--c-primary-soft, #f4faf8));
  min-width: 0;
}
.spec-k { font-size: 12.5px; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; }
.spec-v { font-size: 15px; font-weight: 600; color: var(--c-primary-deep); line-height: 1.45; word-break: break-word; }
@media (max-width: 900px) {
  /* 中屏最多 2 列（含后台指定 3/4 列的情况）；显式指定 1 列的保持单列 */
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .spec-grid[data-cols="1"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .spec-grid,
  .spec-grid[data-cols="1"] { grid-template-columns: 1fr !important; }
}

/* 产品说明：定义列表（标签 + 内容，左色条强调） */
.pd-def { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-def__row {
  display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start;
  padding: 14px 16px; border-radius: 12px;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-primary-light);
}
.pd-def__row dt { margin: 0; font-weight: 700; color: var(--c-primary-dark); font-size: 14px; padding-top: 1px; }
.pd-def__row dd { margin: 0; color: var(--c-text); font-size: 15px; line-height: 1.65; }

/* —— 相关推荐列表（.rel-list，替代裸露 <ul>）—— */
.rel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rel-list li { margin: 0; }
.rel-list a {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  color: var(--c-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.rel-list a:hover {
  background: var(--c-primary-soft);
  border-color: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--c-primary-deep);
}
@media (max-width: 560px) { .rel-list { grid-template-columns: 1fr; } }

/* ---------- 详情页两栏布局（主内容在左 / 相关在右，响应式堆叠） ---------- */
.detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  width: min(var(--maxw), 92%);
  margin: 0 auto;
  padding: 116px 0 72px;            /* 顶部留出固定导航高度（100px）+ 呼吸空间 */
}
.detail-page > .section { padding: 0; border-top: 0; background: none; }
.detail-page > .section > .container { width: 100%; max-width: none; margin: 0; }
/* 右侧相关区作为吸顶侧栏（避开 100px 固定导航） */
.detail-page > .section.alt { position: sticky; top: 116px; align-self: start; }
.detail-page > .section.alt > .container {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.detail-page > .section.alt .section-head { text-align: left; max-width: none; margin: 0 0 18px; }
.detail-page > .section.alt .section-head::after { margin: 14px 0 0; transform-origin: left; }
.detail-page > .section.alt .section-head h2 { font-size: 21px; }
.detail-page > .section.alt .rel-list { grid-template-columns: 1fr; gap: 10px; }
.detail-page > .section.alt .rel-list a { padding: 12px 14px; font-size: 14px; }
/* 响应式：≤980px 堆叠为单栏，侧栏取消吸顶、相关列表恢复两列 */
@media (max-width: 980px) {
  .detail-page { grid-template-columns: 1fr; gap: 36px; padding: 116px 0 56px; }
  .detail-page > .section.alt { position: static; top: auto; }
}

/* ---------- 页脚 ---------- */
.footer { background: var(--c-primary-deep); color: #cfeae5; padding: 56px 0 24px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer a, .footer p { color: #b7d8d2; font-size: 14px; line-height: 2; }
.footer a:hover { color: #fff; }
.footer .brand-f { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; text-align: center; font-size: 13px; color: #8fbdb5; display: flex; flex-direction: column; align-items: center; gap: 10px; line-height: 1.8; }
.footer .bottom .fb-copy { color: #a9d4cc; }
.footer .bottom .fb-beian { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
.footer .bottom .fb-beian a { color: #8fbdb5; text-decoration: none; transition: color .2s; }
.footer .bottom .fb-beian a:hover { color: #e3f6f1; text-decoration: underline; }
.footer .bottom .fb-sep { margin: 0 9px; opacity: .4; }
/* 备案号逐项独立成块，前带官方风格小图标（盾形）：工信部=对勾·青绿，公安=五角星·蓝 */
.footer .bottom .fb-item { display: inline-flex; align-items: center; gap: 5px; }
.footer .bottom .fb-item + .fb-item::before { content: "·"; margin: 0 9px; opacity: .4; }
.footer .bottom .fb-item .fb-ico { width: 15px; height: 15px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.footer .bottom .fb-item--icp .fb-ico { color: #34c3a8; }
.footer .bottom .fb-item--police .fb-ico { color: #5b9bf0; }
.footer .bottom .fb-item a { color: #8fbdb5; text-decoration: none; transition: color .2s; }
.footer .bottom .fb-item a:hover { color: #e3f6f1; text-decoration: underline; }
@media (max-width: 640px) {
  .footer .bottom { font-size: 12px; gap: 8px; }
  .footer .bottom .fb-item .fb-ico { width: 14px; height: 14px; }
  .footer .bottom .fb-item { gap: 4px; }
  .footer .bottom .fb-item + .fb-item::before { margin: 0 6px; }
}

/* ---------- 滚动渐入动效 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; }
.reveal.d2 { transition-delay: .1s; }
.reveal.d3 { transition-delay: .15s; }
.reveal.d4 { transition-delay: .2s; }

/* ---------- 页面切换遮罩 ---------- */
.page-loader { position: fixed; inset: 0; background: var(--c-primary-deep); z-index: 3000; display: grid; place-items: center; transition: opacity .35s, visibility .35s; animation: loaderFallback 0s 1.6s forwards; }
.page-loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; } }
.page-loader .pl-logo { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; }
.page-loader .pl-logo .logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); display: grid; place-items: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .product-grid, .news-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .pmodal .pm-inner { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 40px 0; min-height: auto; scroll-snap-align: none; }
  .section-head h2 { font-size: 26px; }
  .nav-links {
    position: fixed; top: 100px; right: 0; width: 78%; max-width: 320px; height: calc(100vh - 100px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px;
    transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg); z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 15px 16px; border-radius: 10px; font-size: 17px; }
  .hamburger { display: grid; }
  .grid-2, .grid-3, .grid-4, .product-grid, .news-grid, .adv-grid, .steps { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
  .flow { flex-direction: column; align-items: center; }
  .flow-step { width: 100%; }
  .form-wrap { padding: 22px; }
  .pd-info { grid-template-columns: 1fr; gap: 22px; }
  .spec-table { font-size: 14px; }
  .spec-table th { white-space: normal; }
  .spec-table th, .spec-table td { padding: 11px 6px; }
}

/* ============================================================
   优化追加（2026-07-20）：CLS 防抖动 / 可访问性 / 隐私同意
   ============================================================ */

/* 1) 图片防布局抖动（CLS）：媒体图固定比例 + 裁切，避免加载后位移 */
.media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--c-bg-soft, #f3f6f5);
}
/* 产品大图 / 缩略图保持原始比例，避免裁切重要细节 */
.main-img .media-img,
.pm-thumbs .media-img { aspect-ratio: auto; object-fit: contain; }

/* 2) 键盘可达性：可见焦点环 */
:focus-visible {
  outline: 3px solid var(--c-primary, #14a08c);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 3) 跳转主内容链接（屏幕阅读器 / 键盘用户） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  background: var(--c-primary-deep, #0c5b50);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* ============================================================
   动画增强（2026-07-31）：GPU 加速微交互，仅 transform/opacity，无重排重绘
   ============================================================ */

/* ---------- （原首屏 Hero 入场/装饰动画于 2026-09-16 随 Hero 区块移除；合并区块统一使用 .reveal 滚动渐入） ---------- */

/* 导航链接滑动下划线（hover + active 常驻） */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--c-primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* 按钮：光泽扫过 + 尾部箭头微推 */
.btn::after {
  content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-160%); transition: transform .6s ease; pointer-events: none;
}
.btn:hover::after { transform: translateX(220%); }
.btn .arw { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arw { transform: translateX(4px); }

/* 卡片内图片/图标悬停轻微放大（.card 已 overflow:hidden） */
.product-thumb, .news-cover, .swatch, .honor .cert, .card .ic, .rel-thumb {
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .product-thumb,
.news-card:hover .news-cover,
.color-card:hover .swatch,
.honor:hover .cert,
.card:hover .ic { transform: scale(1.06); }

/* 悬浮咨询按钮呼吸引导环 */
.fc-btn { position: relative; }
.fc-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--c-primary); animation: fcPulse 2.4s ease-out infinite;
}
@keyframes fcPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

/* 滚动进度条（顶部，仅 transform: scaleX） */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0); transform-origin: left; z-index: 1100; pointer-events: none;
}

/* 详情页头部载入渐显（仅 JS 可用时隐藏） */
.js .detail-reveal { opacity: 0; transform: translateY(20px); transition: opacity .4s cubic-bezier(.2,.7,.2,1), transform .4s cubic-bezier(.2,.7,.2,1); }
.js .detail-reveal.in { opacity: 1; transform: none; }

/* 4) 尊重「减少动态效果」系统偏好（可访问性） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* 新增动画在减少动态效果下全部禁用并回到终态（可见、无位移） */
  .js .hero-text > *, .js .hero-visual, .js .detail-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav-links a::after, .btn::after, .fc-btn::after, .scroll-progress { display: none !important; }
}

/* 5) 隐私同意横幅（PIPL 告知） */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--c-border, #e3e9e8);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 14px; color: var(--c-muted, #5b6b68); line-height: 1.6; }
.consent .consent-actions { display: flex; gap: 10px; }
.consent button { border: none; border-radius: 8px; padding: 10px 18px; font-size: 14px; cursor: pointer; }
.consent .accept { background: var(--c-primary, #14a08c); color: #fff; }
.consent .decline { background: #eef2f1; color: var(--c-primary-deep, #0c5b50); }

/* 6) 无脚本兜底提示 */
.noscript-tip {
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  color: #8a5a00;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 14px;
}

/* ============================================================
   新增板块样式（2026-07-21）：案例 / 资质 / 色卡 / 技术 / 下载 / 搜索 / 面包屑
   ============================================================ */

/* 面包屑导航 */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: var(--c-muted); margin-bottom: 18px;
}
.breadcrumbs a { color: var(--c-primary-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs .sep { color: var(--c-line); }
.breadcrumbs .cur { color: var(--c-text); font-weight: 600; }

/* 案例详情：应用场景段落 */
.pm-scene { color: var(--c-muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* 资质荣誉墙（certs.html）：复用 .honor / .honor-grid，补充间距 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor .cert { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.honor .seal { font-size: 40px; line-height: 1; }

/* 产品色卡 */
.color-group { margin-bottom: 38px; }
.cg-title { font-size: 19px; color: var(--c-primary-deep); margin-bottom: 16px; position: relative; padding-left: 14px; }
.cg-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--c-primary); }
.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.color-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.color-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.color-card .swatch { height: 96px; width: 100%; }
.color-card .c-body { padding: 14px 16px 16px; flex: 1; }
.color-card .c-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.color-card .c-head b { font-size: 15px; color: var(--c-text); }
.color-card .c-code { font-size: 12px; color: var(--c-muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.color-card .c-meta { margin: 6px 0; }
.color-card .c-finish { display: inline-block; font-size: 12px; color: var(--c-primary-deep); background: var(--c-primary-soft); border-radius: 999px; padding: 2px 10px; }
.color-card .c-desc { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin: 0; }

/* 技术中心：内联展开正文 */
.news-card.tech-card { cursor: pointer; }
.tech-card .tech-body { grid-column: 1 / -1; padding: 18px 4px 4px; margin-top: 14px; border-top: 1px dashed var(--c-line); font-size: 15px; line-height: 1.9; color: #2c3a37; }
.tech-card .tech-body h2, .tech-card .tech-body h3, .tech-card .tech-body h4 { color: var(--c-primary-deep); margin: 18px 0 8px; }
.tech-card .tech-body p { margin: 0 0 14px; }
.tech-card .tech-body ul, .tech-card .tech-body ol { margin: 0 0 14px 22px; list-style: revert; }
.tech-card .tech-body li { margin: 4px 0; }
.tech-card .tech-body blockquote { border-left: 4px solid var(--c-primary-light); padding: 6px 14px; margin: 0 0 14px; color: var(--c-muted); background: var(--c-primary-soft); border-radius: 0 8px 8px 0; }
.tech-card .tech-body code { background: var(--c-bg-alt); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.tech-card .tech-body pre { background: #0c2b27; color: #d7f3ec; padding: 14px; border-radius: 10px; overflow-x: auto; margin: 0 0 14px; }
.tech-card .tech-body pre code { background: none; color: inherit; padding: 0; }

/* 下载中心 */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px 22px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.dl-card .dl-ic { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); letter-spacing: .5px; }
.dl-card .dl-body { flex: 1; min-width: 0; }
.dl-card .dl-body b { font-size: 16px; color: var(--c-primary-deep); display: block; }
.dl-card .dl-cat { font-size: 12px; color: var(--c-accent); font-weight: 700; }
.dl-card .dl-body p { font-size: 13px; color: var(--c-muted); margin: 6px 0 6px; line-height: 1.5; }
.dl-card .dl-meta { font-size: 12px; color: var(--c-muted); }

/* 全站搜索 */
.search-hero { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep)); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 28px; }
.search-hero h1 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.search-bar { display: flex; gap: 10px; }
.search-bar input { flex: 1; padding: 14px 18px; border-radius: 12px; border: none; font-size: 16px; }
.search-bar input:focus { outline: 3px solid rgba(255,255,255,.5); }
.sr-group { margin-bottom: 26px; }
.sr-group h3 { font-size: 17px; color: var(--c-primary-deep); margin-bottom: 12px; border-left: 4px solid var(--c-primary); padding-left: 12px; }
.sr-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sr-list li a { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 14px 16px; color: var(--c-text); font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.sr-list li a:hover { background: var(--c-primary-soft); border-color: var(--c-primary-light); transform: translateX(3px); }

/* 响应式补齐 */
@media (max-width: 980px) {
  .color-grid, .honor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .color-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid, .sr-list { grid-template-columns: 1fr; }
}

/* ============================================================
   主题（视觉风格）切换 —— 由后台「全局设置 → 视觉风格」控制，
   写入 data/site.json.theme，前端 core.js 设置 <html data-theme>。
   以下仅覆盖 :root 中的同名变量，无需重新构建即可整站换肤。
   ============================================================ */

/* A · 工业科技（深钢蓝 + 电光青）—— 工程 / OEM / 科技感 */
:root[data-theme="industrial"] {
  --c-primary: #1565c0;
  --c-primary-dark: #0d4a94;
  --c-primary-deep: #08305f;
  --c-primary-light: #4f9bff;
  --c-primary-soft: #e8f1fc;
  --c-secondary: #546e7a;
  --c-secondary-light: #90a4ae;
  --c-secondary-soft: #eceff1;
  --c-wood: #546e7a;
  --c-wood-light: #90a4ae;
  --c-wood-pale: #eceff1;
  --c-bg: #f4f7fb;
  --c-bg-alt: #eaf0f6;
  --c-bg-alt-2: #e0e9f2;
  --c-surface: #ffffff;
  --c-text: #16212b;
  --c-muted: #5a6b7a;
  --c-line: #d4dee8;
  --c-accent: #00c2d1;
  --shadow-sm: 0 2px 8px rgba(13, 74, 148, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 74, 148, 0.12);
  --shadow-lg: 0 18px 48px rgba(13, 74, 148, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --font-heading: var(--font);

  --wood-grain: rgba(84, 110, 122, 0.05);
}

/* B · 高端专业（墨黑 + 金铜，衬线标题）—— 高端家具 / 出口 / 品牌感 */
:root[data-theme="premium"] {
  --c-primary: #9a7b3f;
  --c-primary-dark: #7a5f2c;
  --c-primary-deep: #2b2620;
  --c-primary-light: #c2a35e;
  --c-primary-soft: #f6efe2;
  --c-secondary: #4b4540;
  --c-secondary-light: #6f655c;
  --c-secondary-soft: #efeae3;
  --c-wood: #4b4540;
  --c-wood-light: #6f655c;
  --c-wood-pale: #efeae3;
  --c-bg: #faf8f5;
  --c-bg-alt: #f2ede5;
  --c-bg-alt-2: #ece4d6;
  --c-surface: #ffffff;
  --c-text: #211f1c;
  --c-muted: #6b6359;
  --c-line: #e3dccf;
  --c-accent: #b8893f;
  --shadow-sm: 0 2px 8px rgba(43, 38, 32, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 38, 32, 0.10);
  --shadow-lg: 0 18px 48px rgba(43, 38, 32, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --font-heading: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;

  --wood-grain: rgba(75, 69, 64, 0.04);
}

/* C · 自然有机（森林绿 + 橡木米）—— 水性 / 环保 / ESG */
:root[data-theme="organic"] {
  --c-primary: #2f7d4f;
  --c-primary-dark: #225c3a;
  --c-primary-deep: #143a26;
  --c-primary-light: #5aa877;
  --c-primary-soft: #e7f2ea;
  --c-secondary: #b08d57;
  --c-secondary-light: #d2b483;
  --c-secondary-soft: #f3ece0;
  --c-wood: #b08d57;
  --c-wood-light: #d2b483;
  --c-wood-pale: #f3ece0;
  --c-bg: #f6f9f4;
  --c-bg-alt: #eef4ec;
  --c-bg-alt-2: #e4eee4;
  --c-surface: #ffffff;
  --c-text: #1f2a23;
  --c-muted: #5d6b5f;
  --c-line: #dbe6dd;
  --c-accent: #d98a3d;
  --shadow-sm: 0 2px 8px rgba(20, 58, 38, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 58, 38, 0.10);
  --shadow-lg: 0 18px 48px rgba(20, 58, 38, 0.14);
  --radius: 16px;
  --radius-lg: 26px;
  --font-heading: var(--font);

  --wood-grain: rgba(176, 141, 87, 0.04);
}

/* ===== 主题：luxe-eco（高端木器·环保 旗舰：B端专业骨架 + C端自然有机暖绿点缀） ===== */
:root[data-theme="luxe-eco"] {
  --c-primary: #2C5F4F;
  --c-primary-dark: #1E4236;
  --c-primary-deep: #1E4236;
  --c-primary-light: #4E8472;
  --c-primary-soft: #E8F0DF;
  --c-secondary: #C2A36B;        /* 橡木金：高端点缀 / 渐变收口 */
  --c-secondary-light: #D9C39A;
  --c-secondary-soft: #F3ECDD;
  --c-wood: #C2A36B;
  --c-wood-light: #D9C39A;
  --c-wood-pale: #F3ECDD;
  --c-bg: #FAF8F4;               /* 暖白纸底 */
  --c-bg-alt: #F1EDE4;
  --c-bg-alt-2: #EFF3EA;
  --c-surface: #FFFFFF;
  --c-text: #2A2E2A;
  --c-muted: #6E6A60;
  --c-line: #E3DDD2;
  --c-accent: #8BAE6B;           /* 暖叶绿：链接 / 图标高亮 / 成功 */
  --c-accent-warm: #C2A36B;
  --shadow-sm: 0 2px 8px rgba(28,35,32,.06);
  --shadow-md: 0 8px 24px rgba(28,35,32,.10);
  --shadow-lg: 0 16px 40px rgba(28,35,32,.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: "Playfair Display", "Noto Serif SC", "Songti SC", Georgia, serif;

  --wood-grain: rgba(139,94,60,.05);
}

/* ============================================================
   关于我们 · 公司简介区块（2026-09-16 重设计：更大气 / 强品牌调性）
   首页与 about 页共用本设计系统；首页中作为首屏第一区块，已镜像进 critical.css 防 FOUC
   ============================================================ */
.about-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 164px;
  padding-bottom: 92px;
  background:
    radial-gradient(1100px 620px at 92% -10%, rgba(194,163,107,0.12), transparent 58%),
    radial-gradient(900px 560px at 2% 6%, rgba(70,179,166,0.14), transparent 56%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-primary-soft) 72%, var(--c-bg) 100%);
}
/* 斜向细腻纹理：取代原斜纹理图，更柔和、协调，作为底层氛围不喧宾夺主 */
.about-intro::before {
  content: ""; position: absolute; inset: -2px; z-index: 0;
  background-image: repeating-linear-gradient(58deg, rgba(14,140,126,0.045) 0 1.5px, transparent 1.5px 22px);
  opacity: .65; pointer-events: none;
}
/* 右上角柔光，增加层次与大气感 */
.about-intro::after {
  content: ""; position: absolute; z-index: 0;
  top: -160px; right: -130px; width: 480px; height: 480px;
  background: radial-gradient(circle at center, rgba(14,140,126,0.16), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.about-intro .container { position: relative; z-index: 2; }

.about-intro-text .eyebrow { margin-bottom: 18px; }
.about-intro-title {
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 800;
  color: var(--c-primary-deep);
  letter-spacing: 2px;
  line-height: 1.18;
  font-family: var(--font-heading);
  margin: 0 0 16px;
}
.about-intro-title .hl { color: var(--c-primary); position: relative; }
/* slogan 引导语与 CTA 并入左侧公司简介区，左对齐排版 */
.about-intro-text .about-intro-lead { max-width: 680px; margin: 0 0 22px; text-align: left; font-size: 18px; line-height: 1.85; }
.about-intro-cta { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-top: 8px; margin-bottom: 26px; }
.about-intro-cta .btn { padding: 13px 32px; font-size: 16px; }
.about-intro-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.about-intro-lead {
  font-size: 19px;
  line-height: 1.95;
  color: var(--c-text);
  font-weight: 500;
  margin-bottom: 18px;
}
.about-intro-text strong { color: var(--c-primary-dark); font-weight: 800; }
.about-intro-body-p {
  font-size: 16px;
  line-height: 2;
  color: var(--c-muted);
}
.about-intro-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ai-chip {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 999px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  color: var(--c-primary-dark); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ai-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }

/* —— 品牌视觉面板（图文右侧） —— */
.about-intro-visual { position: relative; }
.brand-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 56px 36px;
  min-height: 340px;
  display: grid; place-items: center;
  text-align: center; color: #fff;
}
.brand-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 18px);
}
.brand-panel::after {
  content: ""; position: absolute; top: -40%; left: -30%; width: 80%; height: 80%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.bp-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 2px solid rgba(255,255,255,0.22); border-radius: 50%; }
.bp-r1 { width: 300px; height: 300px; }
.bp-r2 { width: 212px; height: 212px; border-style: dashed; opacity: .6; }
.bp-r3 { width: 120px; height: 120px; opacity: .35; }
.bp-core { position: relative; z-index: 3; padding: 6px; }
.bp-logo {
  display: inline-grid; place-items: center;
  width: 76px; height: 76px; border-radius: 20px;
  background: #fff; padding: 9px; margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}
.bp-logo img { width: 100%; height: 100%; }
.bp-name { font-size: 28px; font-weight: 800; letter-spacing: 4px; }
.bp-en { font-size: 13px; letter-spacing: 5px; opacity: .82; margin-top: 4px; }
.bp-divider { display: block; width: 64px; height: 2px; margin: 16px auto; background: rgba(255,255,255,0.35); border-radius: 2px; }
.bp-tag { font-size: 15px; opacity: .95; letter-spacing: 1px; }
.bp-pillars { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bp-pillars li {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14); letter-spacing: 1px;
}

/* —— 数据指标条 —— */
.about-intro-stats {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ai-stat {
  padding: 32px 20px; text-align: center; position: relative;
  border-right: 1px solid var(--c-line);
}
.ai-stat:last-child { border-right: none; }
.ai-stat .num {
  font-size: clamp(32px, 4vw, 46px); font-weight: 800; line-height: 1;
  color: var(--c-primary); font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; justify-content: center; gap: 2px;
}
.ai-stat .suf { font-size: 18px; font-weight: 700; color: var(--c-accent); margin-left: 2px; }
.ai-stat .lbl { display: block; margin-top: 10px; font-size: 14px; color: var(--c-muted); }

@media (max-width: 980px) {
  .about-intro-body { grid-template-columns: 1fr; gap: 36px; }
  .about-intro-visual { max-width: 540px; width: 100%; margin: 0 auto; }
  .about-intro-stats { grid-template-columns: repeat(2, 1fr); }
  .ai-stat:nth-child(2) { border-right: none; }
  .ai-stat:nth-child(1), .ai-stat:nth-child(2) { border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 680px) {
  .about-intro { padding-top: 140px; padding-bottom: 72px; min-height: auto; }
  .about-intro-title { letter-spacing: 2px; }
  .ai-stat { padding: 24px 14px; }
  .hero-cue { display: none; }
}
@media (max-width: 440px) {
  .about-intro-stats { grid-template-columns: 1fr; }
  .ai-stat { border-right: none; border-bottom: 1px solid var(--c-line); }
  .ai-stat:last-child { border-bottom: none; }
}

/* ---------- 首页首屏增强（满屏铺满 + 流动极光 + 字体特效 + 滚动引导） ---------- */
/* 满屏铺满：首屏至少占满一屏，内容垂直居中 */
.about-intro { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh + 8vh); }

/* 流动极光背景层（首屏大气层次） */
.hero-aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-aurora::before, .hero-aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(64px); }
.hero-aurora::before {
  width: 62vw; height: 62vw; left: -12vw; top: -14vh;
  background: radial-gradient(circle at center, rgba(70,179,166,0.32), transparent 70%);
  animation: auroraDrift 22s ease-in-out infinite;
}
.hero-aurora::after {
  width: 56vw; height: 56vw; right: -10vw; bottom: -16vh;
  background: radial-gradient(circle at center, rgba(120,210,200,0.18), transparent 70%);
  animation: auroraDrift2 28s ease-in-out infinite;
}

/* 标题渐变文字特效 */
.about-intro-title {
  background: linear-gradient(120deg, var(--c-primary-deep) 0%, var(--c-primary) 42%, var(--c-primary-light) 74%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 12px rgba(14,140,126,0.18));
}
.about-intro-title .hl {
  background: linear-gradient(120deg, var(--c-accent) 0%, var(--c-secondary-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 品牌面板环旋转动效 */
.bp-r2 { animation: ringSpin 60s linear infinite; }
.bp-r3 { animation: ringSpin 46s linear infinite reverse; }
/* 柔光呼吸 + 核心微浮动，增强 banner 层次与大气感 */
.brand-panel::after { transform-origin: center; animation: bpGlowPulse 6s ease-in-out infinite; }
.bp-core { animation: bpCoreFloat 5s ease-in-out infinite; }

/* 滚动引导提示 */
.hero-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--c-primary-dark); opacity: .72; animation: heroCueBob 2.4s ease-in-out infinite;
}
.hero-cue-text { font-size: 13px; letter-spacing: 2px; }
.hero-cue-dot { width: 22px; height: 34px; border: 2px solid var(--c-primary-dark); border-radius: 14px; position: relative; }
.hero-cue-dot::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; border-radius: 3px;
  background: var(--c-primary-dark); transform: translateX(-50%);
  animation: heroCueScroll 2.4s ease-in-out infinite;
}

@keyframes auroraDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, 4vh) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes auroraDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-5vw, -4vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes ringSpin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bpGlowPulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes bpCoreFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroCueBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }
@keyframes heroCueScroll { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; } 60% { transform: translateX(-50%) translateY(12px); opacity: .35; } }

/* 响应式修正：置于首屏增强样式之后，确保移动端覆盖生效 */
@media (max-width: 680px) {
  .about-intro { min-height: auto; }
  .hero-cue { display: none; }
}
@media (max-width: 440px) {
  .about-intro { min-height: auto; }
  .hero-cue { display: none; }
}

/* ============================================================
   整屏翻页 · 右侧圆点导航（类武藏涂料官网；2026-09-18 集成进首页）
   仅首页显示：由 mod-home.js 的 initHomeScreenNav() 动态生成 .dot 按钮，
   每个对应一个 .section；点击平滑滚动、滚动联动高亮。颜色走主题变量，5 套主题通用。
   ============================================================ */
.screen-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}
.screen-dots .dot {
  position: relative;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid rgba(20, 30, 28, 0.28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.screen-dots .dot:hover,
.screen-dots .dot:focus-visible {
  border-color: var(--c-primary, #2f7d6e);
  transform: scale(1.18);
  outline: none;
}
.screen-dots .dot.active {
  background: var(--c-primary, #2f7d6e);
  border-color: var(--c-primary, #2f7d6e);
  transform: scale(1.3);
  box-shadow: 0 0 0 6px var(--c-primary-soft, rgba(47, 125, 110, 0.18));
}
.screen-dots .dot .dot-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--c-primary-deep, #0c5b50);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  box-shadow: var(--shadow-sm);
}
.screen-dots .dot:hover .dot-label,
.screen-dots .dot:focus-visible .dot-label,
.screen-dots .dot.active .dot-label { opacity: 1; }
/* 触屏 / 窄屏隐藏圆点（改走原生滚动）；尊重「减少动态效果」 */
@media (max-width: 820px) {
  .screen-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-dots .dot { transition: none; }
}

/* ---------- 通用工具类（#497/#500：从高频内联 style= 提取，与 critical.css 完全一致——防 FOUC 双份同步） ---------- */
.muted { color: var(--c-muted); }
.sec-pad-top { padding-top: 110px; }
/* 视觉隐藏但对无障碍/SEO 可见的标题（用于补全 h1→h3 之间的 h2 层级） */
.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; }

/* ---------- 产品弹层多图轮显箭头（#516 前台：自动轮显 + 左右切换） ---------- */
.pmodal .pm-gallery { overflow: hidden; }
.pmodal .pm-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.pmodal .pm-nav button { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.78); color: var(--c-primary-deep); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: background .2s, transform .2s; }
.pmodal .pm-nav button:hover { background: #fff; transform: scale(1.08); }

/* ---------- 新闻详情图片集灯箱（#516 前台：多图集 + 自动轮显 + 左右切换） ---------- */
.g-lightbox { position: fixed; inset: 0; background: rgba(7,63,58,0.9); display: none; place-items: center; z-index: 2100; padding: 24px; }
.g-lightbox.open { display: grid; }
.g-lightbox .gl-stage { max-width: min(880px, 92vw); max-height: 84vh; width: min(880px, 92vw); display: grid; place-items: center; }
/* 关键修复：灯箱图片原为 width:auto + grid 无确定宽度 → 对「仅有 viewBox、无 width/height 属性」的 SVG 会塌缩为 0×0（图片已加载却不可见）。
   .gl-stage 现给定确定宽度包含块，SVG 与位图均按固有尺寸/比例正常显示；位图受 max-* 约束缩放，SVG 不再塌缩。 */
.g-lightbox .gl-stage img { max-width: 100%; max-height: 84vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: contain; background: #fff; }
.g-lightbox .gl-close, .g-lightbox .gl-prev, .g-lightbox .gl-next { position: absolute; border: none; background: rgba(255,255,255,.82); color: var(--c-primary-deep); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, transform .2s; }
.g-lightbox .gl-close { top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; }
.g-lightbox .gl-prev, .g-lightbox .gl-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; font-size: 28px; }
.g-lightbox .gl-prev { left: 18px; }
.g-lightbox .gl-next { right: 18px; }
.g-lightbox .gl-close:hover, .g-lightbox .gl-prev:hover, .g-lightbox .gl-next:hover { background: #fff; }
.g-lightbox .gl-prev:hover, .g-lightbox .gl-next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------- 子页面顶部 banner hero（#526–#529：AI 生成图 + CSS 叠加层） ---------- */
section.subhero {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 320px;
  max-height: 56vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0;
  margin: 0;
}

.subhero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.subhero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.subhero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.subhero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
  padding: 5px 11px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
}

.subhero-title {
  font-family: var(--font-heading, "Noto Sans SC", "Microsoft YaHei", sans-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.subhero-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255,255,255,0.93);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* 各版块主题色叠加层 */
.subhero--about .subhero-overlay {
  background: linear-gradient(135deg, rgba(6,62,56,0.88) 0%, rgba(14,140,126,0.62) 55%, rgba(70,179,166,0.28) 100%);
}
.subhero--products .subhero-overlay {
  background: linear-gradient(135deg, rgba(27,58,92,0.9) 0%, rgba(46,94,140,0.66) 55%, rgba(230,238,245,0.22) 100%);
}
.subhero--news .subhero-overlay {
  background: linear-gradient(135deg, rgba(62,74,87,0.88) 0%, rgba(107,123,140,0.62) 55%, rgba(236,239,242,0.24) 100%);
}
.subhero--service .subhero-overlay {
  background: linear-gradient(135deg, rgba(142,106,24,0.88) 0%, rgba(201,149,43,0.62) 55%, rgba(246,236,207,0.28) 100%);
}
.subhero--franchise .subhero-overlay {
  background: linear-gradient(135deg, rgba(6,62,56,0.88) 0%, rgba(14,140,126,0.62) 55%, rgba(70,179,166,0.28) 100%);
}

@media (max-width: 900px) {
  section.subhero { height: 340px; min-height: 280px; }
  .subhero-title { font-size: clamp(28px, 6vw, 42px); }
}

@media (max-width: 640px) {
  section.subhero { height: 280px; min-height: 240px; }
  .subhero-content { padding: 0 16px; }
  .subhero-eyebrow { font-size: 11px; margin-bottom: 8px; padding: 4px 9px; }
  .subhero-subtitle { font-size: 15px; }
}

/* ---------- subhero 与其下方首段间距收敛 (#561) ---------- */
section.subhero + .section { padding-top: 36px; }
@media (max-width: 900px) {
  section.subhero + .section { padding-top: 28px; }
}
@media (max-width: 640px) {
  section.subhero + .section { padding-top: 20px; }
}

/* ---------- #594：有图新闻列表卡片封面严格裁切（防溢出遮挡分类标签 / 标题） ---------- */
/* 背景：.media-img 基类的 aspect-ratio:4/3 + height:auto 会压过 .news-cover img 的 height:100%，
   使有图封面按 4:3 撑到约 254px、溢出 170px 的封面框，压住卡片的分类标签与标题（实测溢出 84px）。
   此处用更高特异性强制在封面框内裁切，并给封面加 overflow 兜底。 */
.news-card .news-cover { overflow: hidden; }
.news-card .news-cover img,
.news-card .news-cover img.media-img {
  /* 绝对定位铺满封面框：百分比 height 在 grid item 上会被 Chrome 视为包含块高度不确定而退化成 auto，
     从而回落到图片固有比例（实测 338×253.5 溢出）。inset:0 直接贴合 .news-cover(position:relative)，最稳。 */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  background: var(--c-bg-soft, #f3f6f5);
}
/* 单列（窄屏）时卡片更宽，封面适当加高，避免裁切过扁 */
@media (max-width: 900px) {
  .news-card .news-cover { height: 190px; }
}
@media (max-width: 640px) {
  .news-card .news-cover { height: 210px; }
}

/* ============================================================
   新闻详情页美化 + 正文软文块（2026-10-10）
   作用范围：detail/news.php（返回链接 / 阅读时长元信息 / 品牌宣传卡）
   与数据层植入正文末尾的 .soft-ad 软文块；不影响其他页面。
   ============================================================ */

/* —— 返回列表链接 —— */
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--c-muted);
  text-decoration: none; margin-bottom: 18px;
  transition: color .25s, transform .25s;
}
.article-back:hover { color: var(--c-primary); transform: translateX(-3px); }

/* —— 头部元信息：日期 · 阅读时长 —— */
.article-head .article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-head .article-meta .am-sep {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-primary-light); flex: 0 0 auto;
}

/* —— 正文排版增强（兼容 div 包裹的富文本正文段落间距） —— */
.article-body p { margin: 0 0 18px; }
.article-body > p:first-child {
  font-size: 17.5px;
  font-weight: 500;
  color: var(--c-primary-deep);
}
.article-body img {
  display: block;
  margin: 24px auto;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.article-gallery { margin-top: 4px; }

/* —— 两栏布局：左栏主内容限宽，保证阅读行长舒适 —— */
.detail-page > .section > .container { max-width: 880px; }

/* —— 正文末尾软文植入块（.soft-ad） —— */
.soft-ad {
  position: relative;
  margin: 48px 0 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--c-primary-soft), #fff);
  border: 1px solid var(--c-primary-light);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-muted);
}
.soft-ad::before {
  content: "佳秀百隆 · 推荐";
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-primary-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--c-primary);
}
.soft-ad p { margin: 0; font-size: inherit; color: inherit; }

/* —— 文末品牌宣传卡（居中、留白充足） —— */
.brand-promo {
  position: relative;
  overflow: hidden;
  margin: 60px 0 12px;
  padding: 52px 44px 46px;
  text-align: center;
  background: linear-gradient(135deg, var(--c-primary-soft) 0%, #fff 55%, var(--c-wood-pale, #f7efe3) 100%);
  border: 1px solid var(--c-primary-light);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
/* 顶部居中强调线 */
.brand-promo::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 96px; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.brand-promo::after {
  content: "漆";
  position: absolute; right: -6px; bottom: -34px;
  font-size: 140px; font-weight: 800; line-height: 1;
  color: var(--c-primary); opacity: .07;
  pointer-events: none;
}
.bp-eyebrow {
  position: relative;
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 4px;
  color: var(--c-primary);
  background: #fff;
  border: 1px solid var(--c-primary-light);
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 20px;
}
.brand-promo h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: 27px; font-weight: 800; letter-spacing: 2px;
  color: var(--c-primary-deep);
  margin: 0 0 18px;
  line-height: 1.4;
}
.brand-promo p {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px; line-height: 2;
  color: var(--c-muted);
}
.bp-actions {
  position: relative;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 30px;
}
.bp-actions .btn { padding: 13px 34px; }

/* —— 阅读原文按钮行 —— */
.article-origin { margin-top: 28px; text-align: center; }

/* —— 窄屏适配 —— */
@media (max-width: 640px) {
  .article-body { font-size: 16px; }
  .article-body > p:first-child { font-size: 16.5px; }
  .soft-ad { padding: 20px 18px; margin-top: 40px; }
  .brand-promo { margin-top: 44px; padding: 40px 22px 36px; border-radius: 18px; }
  .brand-promo h3 { font-size: 22px; letter-spacing: 1px; }
  .brand-promo::after { font-size: 110px; bottom: -26px; }
  .bp-actions .btn { padding: 12px 26px; }
}
