/* ============================================================
   清技邦科技 · 前台样式 v2（整站重做版）
   主题：精密工业 · 金属质感 —— 贴合金属表面处理剂行业
   设计语言：深石墨蓝黑底 + 钛金渐变主色 + 钢蓝点缀 + 金属拉丝/光泽细节
   兼容约束：全部类名与 v1 一致（SSR 注入与前端 JS 依赖），仅样式重写
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg:            #0a0e18;
  --bg-elev:       #0d1322;
  --surface:       #101827;
  --surface-2:     #15202f;
  --surface-3:     #1a2637;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);

  /* 钛金渐变主色（品牌金升级：高光→主金→深金） */
  --accent:        #d4af37;
  --accent-2:      #e8cf7a;
  --accent-3:      #9a7b1e;
  --accent-strong: #e0c063;
  --accent-glow:   rgba(212, 175, 55, 0.14);
  --gold-1:        #f6e7b0;
  --gold-2:        #d4af37;
  --gold-3:        #a8871e;

  /* 钢蓝点缀（科技感辅助色） */
  --steel:         #7fa5c9;
  --steel-dim:     #3d5a78;

  --text:          #edf1f7;
  --text-1:        #edf1f7;
  --text-2:        #a9b6c6;
  --text-3:        #71809a;
  --muted:         #71809a;
  --danger:        #e05242;
  --warning:       #c78d2f;
  --success:       #2ea878;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
                "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-mono:  "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  --maxw:   1280px;
  --radius: 16px;
  --radius-sm: 9px;
  --header-h: 74px;
  --info: #4a90d9;
  --shadow-sm: 0 6px 22px -8px rgba(0,0,0,0.5);

  /* 金属光泽渐变（按钮 / 强调块共用） */
  --grad-gold: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 42%, var(--gold-3) 100%);
  --grad-panel: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0) 55%);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全局背景：极淡金属制图网格 + 顶部氛围光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    radial-gradient(1000px 520px at 78% -8%, rgba(212,175,55,0.06), transparent 60%);
  background-size: 64px 64px, 64px 64px, auto;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ---------- 通用标题块 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 30px; height: 1.5px;
  background: var(--grad-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 20%, var(--text-1) 60%, var(--text-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-2);
  max-width: 660px;
  margin-top: 16px;
  font-size: 16.5px;
}
.section-head { margin-bottom: 52px; }
.section { padding: 104px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025), transparent); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: linear-gradient(180deg, rgba(8,12,22,0.92), rgba(10,14,24,0.78));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header::after {
  /* 底部金属细线（金色高光） */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.28) 30%, rgba(212,175,55,0.28) 70%, transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8,12,22,0.94);
}
.site-header.is-scrolled::after { opacity: 1; }
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 3px 10px;
  box-shadow: 0 3px 16px -4px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.35);
}
@media (max-width: 768px) {
  .brand-logo { height: 30px; max-width: 150px; }
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: #10141f;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 26px rgba(212,175,55,0.3), inset 0 1px 0 rgba(255,255,255,0.55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-size: 17.5px; font-weight: 700; letter-spacing: 0.03em;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub  { font-size: 10.5px; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.main-nav a.is-active { color: var(--accent-2); background: var(--accent-glow); }

/* 导航下拉子菜单 */
.nav-item-wrap { position: relative; display: flex; align-items: center; }
.nav-caret { display: inline-flex; vertical-align: -2px; color: currentColor; opacity: .65; margin-left: 3px; }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 178px;
  background: transparent;
  border: 0;
  padding: 16px 6px 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 10px 0 0 0;
  background: linear-gradient(180deg, #131d2e, #101827);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  z-index: -1;
}
.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap.is-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--accent-2); background: rgba(255,255,255,0.07); }

/* 头部搜索框 */
.header-search {
  display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 8px 7px 14px;
  background: rgba(255,255,255,0.05);
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.header-search input {
  border: 0; outline: none; background: transparent;
  width: 128px; font-size: 13.5px; color: var(--text);
  font-family: inherit;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; padding: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-gold); color: #10141f;
  transition: filter .2s;
}
.header-search button:hover { filter: brightness(1.12); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s, filter .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad-gold);
  color: #10141f;
  box-shadow: 0 10px 30px -10px rgba(212,175,55,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(212,175,55,0.6), inset 0 1px 0 rgba(255,255,255,0.5); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-glow); }

.btn--sm { padding: 8px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- Hero（首屏：金属处理主视觉） ---------- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 58px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1150px 660px at 84% -14%, rgba(212,175,55,0.09), transparent 62%),
    radial-gradient(900px 620px at -8% 108%, rgba(122,164,200,0.06), transparent 60%),
    linear-gradient(180deg, #0c1424 0%, #0a0e18 64%, #0a0e18 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -24%; right: -12%;
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(212,175,55,0.14), transparent 62%);
  filter: blur(34px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -32%; left: -18%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(126,162,198,0.09), transparent 65%);
  filter: blur(34px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6.2vw, 70px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(212,175,55,0.25));
}
.hero-subtitle {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* 首屏轮播图 */
.hero-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-carousel .hc-track { display: flex; height: 100%; transition: transform .62s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-carousel .hc-slide { position: relative; flex: 0 0 100%; height: 100%; }
.hero-carousel .hc-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .hc-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 26px 20px;
  background: linear-gradient(180deg, transparent, rgba(6,9,16,0.86));
  color: #fff;
}
.hero-carousel .hc-title { font-family: var(--font-serif); font-size: 21px; font-weight: 650; letter-spacing: .02em; }
.hero-carousel .hc-sub { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.hero-carousel .hc-dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px;
  display: flex; gap: 7px; z-index: 3;
}
.hero-carousel .hc-dots button {
  width: 7px; height: 7px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
  transition: all .2s;
}
.hero-carousel .hc-dots button.is-on { background: var(--gold-2); width: 22px; border-radius: 999px; }
.hero-carousel .hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8,12,22,0.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
  z-index: 3;
}
.hero-carousel:hover .hc-arrow { opacity: 1; }
.hero-carousel .hc-arrow:hover { background: rgba(255,255,255,0.18); }
.hero-carousel .hc-arrow--prev { left: 12px; }
.hero-carousel .hc-arrow--next { right: 12px; }
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hc-track { transition: none; }
}

.hero-carousel--about { aspect-ratio: 4 / 3; }
.hero-carousel--about .hc-title { font-size: 19px; }
.hero-carousel--about .hc-caption { padding: 40px 22px 18px; }

/* 首屏右侧视觉容器（轮播图 / 工艺视觉兜底） */
.hero-visual { position: relative; }

/* 工艺分子/工件视觉（轮播无数据时的兜底：金属处理工艺示意图） */
.molecule {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(212,175,55,0.10), rgba(122,164,200,0.06)),
    var(--surface);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.molecule::before, .molecule::after {
  content: "";
  position: absolute; inset: 14%;
  border: 1.5px dashed rgba(232,207,122,0.22);
  border-radius: 50%;
  animation: spin 26s linear infinite;
  pointer-events: none;
}
.molecule::after { inset: 28%; border-style: solid; border-color: rgba(232,207,122,0.13); animation-duration: 34s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.molecule-core {
  width: 38%;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #10141f;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.4vw, 26px);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 60px rgba(212,175,55,0.35), inset 0 2px 0 rgba(255,255,255,0.55);
  z-index: 2;
}
.node {
  position: absolute;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  z-index: 2;
}
.node--a { top: 4%;   left: 50%; transform: translateX(-50%); }
.node--b { bottom: 7%; left: 7%;  }
.node--c { bottom: 7%; right: 7%; }

/* 首屏数据统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.hero-stat {
  padding: 20px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s, transform .2s;
  text-align: center;
}
.hero-stat:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-2px); }
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: 13px; color: var(--text-2); margin-top: 6px; }

/* ---------- 金属表面处理工艺链路（v2 新增板块） ---------- */
.process-strip {
  padding: 0 0 8px;
  margin-top: -18px;
}
.process-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  border-radius: var(--radius);
  padding: 22px 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)), var(--bg-elev);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.process-bar::before {
  /* 工序间金色流线 */
  content: "";
  position: absolute;
  top: 50%; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
  pointer-events: none;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 8px 4px;
}
.process-num {
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 700;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.process-step .p-name { font-size: 14.5px; font-weight: 600; color: var(--text); }
.process-step .p-desc { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 900px) {
  .process-bar { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
}

/* ---------- 合作客户 ---------- */
.partners-strip {
  padding: 4px 0 10px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee 34s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partners-strip:hover .partners-track { animation-play-state: paused; }
.partners-strip + .section { padding-top: 72px; }
.partner-item {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .2s;
}
.partner-item:hover { color: var(--text); }
.partner-item--logo { display: inline-flex; align-items: center; }
.partner-item--logo img {
  max-height: 44px;
  max-width: 148px;
  object-fit: contain;
  filter: grayscale(0);
  transition: opacity .2s;
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 卡片（金属质感） ---------- */
.card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--grad-panel), var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(.2,.8,.3,1), border-color 0.28s, background 0.28s, box-shadow 0.28s;
}
.card::after {
  /* 顶部金色高光线 */
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.32);
  background: var(--surface-2);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,0.65), 0 0 0 1px rgba(212,175,55,0.08);
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(212,175,55,0.16), rgba(122,164,200,0.06));
  border: 1px solid rgba(212,175,55,0.22);
  color: var(--accent-2);
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.card-icon svg { width: 26px; height: 26px; }
.card-title {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-desc { color: var(--text-2); font-size: 14.5px; line-height: 1.72; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}
.card-link::after { content: "→"; transition: transform 0.25s; }
.card:hover .card-link::after { transform: translateX(5px); }

/* ---------- 产品卡片 ---------- */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card .card-title { font-size: 18px; line-height: 1.45; }

.product-media {
  position: relative;
  /* 缩略图尺寸：固定高 400px、宽度随网格列自适应（约 395px），接近正方形、卡片整体更紧凑 */
  aspect-ratio: auto;
  height: 400px;
  border-radius: 10px;      /* 四角小圆角 */
  overflow: hidden;
  padding: 0;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.4s cubic-bezier(.2,.8,.3,1);
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-media--carousel { padding: 0; }
.pm-track { display: flex; height: 100%; transition: transform .4s ease; }
.pm-slide { position: relative; flex: 0 0 100%; height: 100%; padding: 14px; }
.pm-slide img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
/* 产品图整块可点击进详情：链接铺满图片容器，不改变原有图片尺寸 */
.pm-slide-link,
.product-media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.product-media-link--none { display: grid; place-items: center; }
.pm-slide-link:focus-visible,
.product-media-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -2px;
}
.pm-dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 9px;
  display: flex; gap: 6px; z-index: 3;
}
.pm-dots button {
  width: 6px; height: 6px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
}
.pm-dots button.is-on { background: var(--gold-2); width: 18px; border-radius: 999px; }
.pm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8,12,22,0.62); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
  z-index: 3;
}
.pm-arrow:focus-visible { opacity: 1; pointer-events: auto; }
.product-media:hover .pm-arrow { opacity: 1; }
.pm-arrow:hover { background: var(--grad-gold); color: #10141f; }
.pm-arrow--prev { left: 8px; }
.pm-arrow--next { right: 8px; }

.product-media--none {
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(212,175,55,0.05), transparent 60%), var(--surface);
}
.product-media-ico { color: var(--accent); opacity: 0.5; line-height: 0; }
.product-media-ico svg { width: 44px; height: 44px; }

.product-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 16px 20px 18px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 12px;
}
.product-cta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 17px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: var(--grad-gold); color: #10141f;
  transition: transform .2s, box-shadow .25s, filter .2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.product-cta::after { content: "→"; transition: transform 0.25s; }
.product-cta:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(212,175,55,0.5), inset 0 1px 0 rgba(255,255,255,0.4); }
.product-cta:hover::after { transform: translateX(4px); }
.cat-badge {
  font-size: 12px; color: var(--steel);
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(122,164,200,0.3);
  background: rgba(122,164,200,0.08);
}
.card-title-link { transition: color .2s; }
.card-title-link:hover { color: var(--accent-2); }

/* 产品详情定位块 */
.product-card.is-target {
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.25), 0 26px 60px -26px rgba(0,0,0,0.6);
}
.product-detail {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 34px 34px 38px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(212,175,55,0.05), transparent 45%), var(--bg-elev);
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.product-detail-head h3 { font-size: 23px; font-family: var(--font-serif); margin: 0 0 8px; }
.product-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-detail-meta span {
  font-size: 12.5px; color: var(--steel);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(122,164,200,0.28);
  background: rgba(122,164,200,0.07);
  font-family: var(--font-mono);
}
.product-detail-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.85;
}
.product-detail-desc p { margin-bottom: 14px; }
.product-detail-desc h1, .product-detail-desc h2, .product-detail-desc h3, .product-detail-desc h4 {
  font-family: var(--font-serif);
  color: var(--text);
  margin: 22px 0 10px;
}
.product-detail-desc ul, .product-detail-desc ol { list-style: disc; padding-left: 22px; margin: 12px 0; }
.product-detail-desc li { margin-bottom: 6px; }
.product-detail-desc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.product-detail-desc th, .product-detail-desc td { border: 1px solid var(--line-strong); padding: 9px 12px; text-align: left; font-size: 14px; }
.product-detail-desc th { background: var(--surface-3); color: var(--text); }
.product-detail-desc blockquote { border-left: 3px solid var(--gold-2); padding: 10px 16px; margin: 14px 0; background: rgba(255,255,255,0.03); color: var(--text-2); }
.product-detail-desc img { border-radius: var(--radius-sm); margin: 8px 0; }
.product-detail-cta { margin-top: 26px; }

/* ---------- 产品筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-btn {
  padding: 8px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--text-2); }
.filter-btn.is-active {
  background: var(--grad-gold); color: #10141f;
  border-color: transparent; font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(212,175,55,0.5);
}
.filter-count { font-family: var(--font-mono); font-size: 11.5px; opacity: 0.75; margin-left: 6px; }

.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 15px;
  min-width: 240px;
  background: rgba(255,255,255,0.04);
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-box input { background: none; border: none; outline: none; width: 100%; font-size: 14px; color: var(--text); }
.search-box input::placeholder { color: var(--muted); }

/* ---------- 时间线（关于页） ---------- */
.timeline { position: relative; padding-left: 38px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--gold-2), rgba(212,175,55,0.08));
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.45);
}
.timeline-year { color: var(--accent-2); font-size: 14px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.timeline-title { margin-top: 5px; color: var(--text); font-size: 15.5px; }

/* ---------- 认证/文化（关于页） ---------- */
.cert-card { text-align: left; }
.cert-badge {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 19px;
  background: linear-gradient(160deg, rgba(212,175,55,0.18), rgba(122,164,200,0.08));
  border: 1px solid rgba(212,175,55,0.28);
  color: var(--accent-2);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.cert-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
  margin-top: 12px;
}
.cert-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.culture-card { text-align: left; }
.culture-label {
  font-size: 12px; color: var(--accent-2); letter-spacing: 0.16em;
  font-family: var(--font-mono); text-transform: uppercase;
}
.culture-title { font-size: 19px; font-family: var(--font-serif); margin: 8px 0 6px; }
.culture-text { color: var(--text-2); font-size: 14.5px; }

/* ---------- 联系区块 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(212,175,55,0.14), rgba(122,164,200,0.06));
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--accent-2);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.contact-value { font-size: 15.5px; color: var(--text); margin-top: 3px; word-break: break-all; }
.contact-value a:hover { color: var(--accent-2); }

/* ---------- 表单 ---------- */
.form-panel {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--grad-panel), var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px; color: var(--text);
  margin-bottom: 8px; font-weight: 500;
}
.field label .req { color: var(--accent-2); margin-left: 3px; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(255,255,255,0.06);
}
.textarea { resize: vertical; min-height: 116px; line-height: 1.65; }
.select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 55%, calc(100% - 14px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--surface); color: var(--text); }
.consent { margin: 4px 0 18px; }
.consent-label {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text-2); line-height: 1.6; cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--gold-2);
  width: 15px; height: 15px; flex-shrink: 0;
}
.consent-label a { color: var(--accent-2); border-bottom: 1px solid rgba(212,175,55,0.4); }
.consent-label a:hover { border-bottom-color: var(--accent); }
.form-msg { margin-top: 14px; font-size: 13.5px; padding: 11px 14px; border-radius: var(--radius-sm); display: none; }
.form-msg.is-show { display: block; }
.form-msg.is-ok   { background: rgba(24,138,95,0.11); border: 1px solid rgba(24,138,95,0.34); color: var(--success); }
.form-msg.is-err  { background: rgba(214,72,59,0.11); border: 1px solid rgba(214,72,59,0.34); color: var(--danger); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a0e18, #070a12);
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer-title { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 18px; letter-spacing: 0.06em; }
.footer-title::after {
  content: "";
  display: block;
  width: 22px; height: 1.5px;
  margin-top: 8px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color 0.2s, padding-left .2s; }
.footer-links a:hover { color: var(--accent-2); padding-left: 4px; }
.footer-about p { font-size: 14px; color: var(--text-2); margin-top: 16px; max-width: 330px; line-height: 1.8; }
.footer-contact li { font-size: 14px; color: var(--text-2); margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact .ico { color: var(--accent-2); flex-shrink: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.footer-links-bar { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-links-bar a { color: var(--muted); transition: color .2s; }
.footer-links-bar a:hover { color: var(--accent-2); }
.footer-icp { color: var(--muted); transition: color .2s; }
.footer-icp:hover { color: var(--accent-2); text-decoration: underline; }

/* ---------- 内页 Hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 62px) 0 56px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -18%, rgba(212,175,55,0.08), transparent 60%),
    linear-gradient(180deg, #0c1424 0%, #0a0e18 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.1), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- 空状态 / 骨架屏 ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state .ico { font-size: 36px; display: block; margin-bottom: 14px; opacity: 0.5; }
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- 公告条 ---------- */
.notice-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(90deg, rgba(212,175,55,0.14), rgba(212,175,55,0.07));
  border-bottom: 1px solid rgba(212,175,55,0.2);
  color: var(--accent-2);
  font-size: 13.5px;
  padding: 9px 16px;
  text-align: center;
}

/* ============================================================
   产品详情独立页（products.html?id=N）—— 只展示该产品相关内容
   ============================================================ */
.pdp {
  /* 详情主图窗口可视尺寸（不含左右各 1px 边框）。
     2026-10-18 按用户红框标注的参考比例调整：红框 ≈ 原 700px 窗口的 67%，
     700 × 0.67 ≈ 470。今后要改大小只需改这一个变量，
     窗口外框、帧宽、图片尺寸、布局列宽、缩略图列高度会随之联动。
     注意：轮播位移由 JS 按 stage.clientWidth 运行时计算，改尺寸无需改 JS。 */
  --pdp-stage: 470px;
}

/* ---------- 主图区：竖排缩略图导航 + 正方形主图窗口 ---------- */
.pdp-layout {
  /* 列宽 = 缩略图(88) + 间距(14) + 主图窗口外框(可视尺寸 + 2×1px 边框)。
     470px 时为 574px；容器内宽 1232px（--maxw 1280 − 左右 padding 48），
     减去 gap 34 后信息列仍有 624px，远大于 minmax(300px,1fr) 的下限。 */
  display:grid; grid-template-columns:calc(var(--pdp-stage) + 104px) minmax(300px,1fr);
  gap:34px; align-items:start; margin-bottom:34px;
}
.pdp-media { display:flex; gap:14px; align-items:flex-start; }
.pdp-gallery {
  width:88px; flex:none; display:flex; flex-direction:column; gap:10px;
  /* 与主图窗口外框等高，超过 5 张时可纵向滚动 */
  max-height:calc(var(--pdp-stage) + 2px); overflow-y:auto; padding-right:2px;
}
/* 隐藏滚动条但保留滚动能力（图集超过 8 张时可滚动查看） */
.pdp-gallery::-webkit-scrollbar { width:4px; }
.pdp-gallery::-webkit-scrollbar-thumb { background:var(--line-strong); border-radius:2px; }
.pdp-gallery::-webkit-scrollbar-track { background:transparent; }
.pdp-thumb {
  width:88px; height:88px; flex:none; padding:0; cursor:pointer;
  border:1px solid var(--line); border-radius:10px; overflow:hidden;
  background:linear-gradient(180deg,#fff,#f7f8fa);
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.pdp-thumb:hover { border-color:var(--line-strong); transform:translateY(-1px); }
.pdp-thumb.is-on {
  border-color:var(--accent-2);
  box-shadow:0 0 0 2px var(--accent-glow), 0 6px 16px -8px rgba(212,175,55,0.6);
}
.pdp-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
/* 单帧时不需要导航，隐藏缩略图列让主图占满 */
.pdp-gallery--single { display:none; }

.pdp-stage {
  position:relative; overflow:hidden; border-radius:16px;
  background:var(--surface); border:1px solid var(--line);
  /* 主图窗口：外框 = 可视尺寸(--pdp-stage) + 左右各 1px 边框。
     全局是 border-box（style.css 顶部 `*, *::before, *::after`），
     width 声明值 = 内容区 + 边框。若外框与帧宽不匹配，
     JS 按 clientWidth 计算轮播位移时会产生每帧累积错位，
     所以外框必须精确等于 帧宽 + 2px 边框。 */
  width:calc(var(--pdp-stage) + 2px);
  height:calc(var(--pdp-stage) + 2px);
  min-height:calc(var(--pdp-stage) + 2px); flex:none;
  /* 横向必须靠左对齐（flex-start），不能居中：
     轮播轨道宽度 = 帧数 × 帧宽，远大于窗口。justify-content:center 会把
     整条轨道向两侧各推出一半，第一帧（主图）被推出可视区，窗口里露出的
     恰好是第二帧，表现为"主图没被调用、轮播错位"。
     轮播位移只能由 .pm-track 的 translateX 控制，容器不得参与水平对齐。
     纵向仍用 align-items:center 居中（轨道比窗口矮 1~2px 时居中无副作用）。 */
  display:flex; align-items:center; justify-content:flex-start;
}
.pdp-stage .pm-track { display:flex; transition:transform .35s ease; }
.pdp-stage .pm-slide {
  width:var(--pdp-stage); min-width:var(--pdp-stage); flex:none;
  display:flex; align-items:center; justify-content:center; padding:0;
}
.pdp-stage .pm-slide img {
  width:var(--pdp-stage); height:var(--pdp-stage);
  object-fit:contain; display:block; flex:none;
  background:linear-gradient(180deg,#fff, #f7f8fa);
}
.pdp-stage .pm-dots {
  position:absolute; left:0; right:0; bottom:12px;
  display:flex; justify-content:center; gap:7px;
}
.pdp-stage .pm-dots button {
  width:8px; height:8px; border-radius:50%; border:none; padding:0;
  background:rgba(10,37,64,0.25); cursor:pointer; transition:background .2s;
}
.pdp-stage .pm-dots button.is-on { background:var(--accent-2); }
.pdp-stage .pm-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  border:1px solid rgba(212,175,55,0.45);
  background:rgba(8,12,22,0.68); color:var(--gold-2);
  cursor:pointer; font-size:20px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px -8px rgba(0,0,0,0.5);
  opacity:1;                 /* 详情页箭头常显，覆盖列表卡片的悬停透明样式 */
  transition:background .2s, border-color .2s, color .2s;
}
.pdp-stage .pm-arrow:hover { background:var(--grad-gold); border-color:transparent; color:#10141f; }
.pdp-stage .pm-arrow--prev { left:14px; }
.pdp-stage .pm-arrow--next { right:14px; }
/* 帧图计数角标（主图 1/3 之类，帮助判断图集是否加载完整） */
.pdp-counter {
  position:absolute; top:14px; right:14px; z-index:2;
  padding:4px 11px; border-radius:999px;
  background:rgba(8,12,22,0.66); border:1px solid var(--line-strong);
  color:var(--text-2); font-size:12px; font-family:var(--font-mono);
  letter-spacing:.5px; pointer-events:none;
}
/* 无图空状态：容器改为左对齐后，占位图标需在此单独居中 */
.pdp-stage--none { border:1px dashed var(--line-strong); justify-content:center; }
.pdp-stage--none .product-media-ico { font-size:52px; color:var(--muted); }
.pdp-stage .pm-bad {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:15px; letter-spacing:1px;
  background:linear-gradient(180deg,#fff,#f7f8fa);
}
.pdp-info { padding-top:6px; }
.pdp-head-bits { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.pdp-model {
  font-size:12px; font-weight:500; color:var(--text-2);
  border:1px solid var(--line-strong); border-radius:999px; padding:2px 11px;
  font-family:var(--font-mono);
}
.pdp-name {
  font-size:clamp(26px, 3.4vw, 38px); line-height:1.2; margin:0 0 14px;
  color:var(--text); letter-spacing:-0.01em;
}
.pdp-summary { font-size:16px; line-height:1.75; color:var(--text-2); margin:0 0 18px; }
.pdp-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:26px; }
.pdp-actions .btn { text-decoration:none; }
.pdp-section {
  border-radius:16px; padding:30px 34px; margin-bottom:22px;
}
.pdp-section-title {
  font-size:20px; margin:0 0 18px; color:var(--text);
  padding-left:14px; border-left:3px solid var(--accent-2);
}
.pdp-desc { font-size:14.5px; line-height:1.9; color:var(--text-2); }
.pdp-desc p { margin:0 0 12px; }
.pdp-desc h3, .pdp-desc h4 { color:var(--text); margin:18px 0 8px; }
.pdp-desc ul, .pdp-desc ol { padding-left:22px; margin:0 0 12px; }
.pdp-desc img { max-width:100%; border-radius:10px; }
.pdp .faq-item { margin-bottom:10px; }

/* ---------- 产品信息速览表（型号/分类等键值对） ---------- */
.pdp-specs {
  display:grid; grid-template-columns:auto 1fr; gap:9px 16px;
  margin:0 0 20px; padding:16px 20px;
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
}
.pdp-specs dt { color:var(--muted); font-size:13px; }
.pdp-specs dd { color:var(--text); font-size:13.5px; margin:0; }
.pdp-specs dd a { color:var(--accent-2); text-decoration:none; }
.pdp-specs dd a:hover { text-decoration:underline; }

/* ---------- 相关产品推荐 ---------- */
.pdp-related-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.pdp-related-grid .product-card { margin-bottom:0; }

/* 相关产品推荐：紧凑化 + 图片自适应（用户 2026-10-18 两次要求）。
   全部规则限定在 .pdp-related-grid 作用域内，列表页卡片不受影响。

   图片缩放方式（第二次调整）：宽度铺满、左右各只留 2px，高度按图片
   自身比例自动缩放。此前把图片区锁成固定 190px 高 + object-fit:contain，
   在「矮宽盒」里图片只能按高度缩放，两侧留出大片空白显得图很小；
   改为 width/height auto 后图片按原始比例铺满可用宽度，不再留白。
   各部件紧凑值：卡片内边距、标题/摘要字号与行高、标签与按钮尺寸、间距。 */
.pdp-related-grid .product-media { height:auto; text-align:center; }
.pdp-related-grid .product-media img {
  /* border-box 下 max-width 含左右 padding，故总宽到 100% 时
     图片内容宽 = 容器宽 − 4px，即左右各预留 2px */
  width:auto; height:auto; max-width:100%;
  padding:0 2px;
}
/* 轮播帧去掉基础样式的 14px 内边距，否则左右留白会变成 16px */
.pdp-related-grid .pm-slide { padding:0; text-align:center; }
.pdp-related-grid .pm-dots { bottom:6px; }
.pdp-related-grid .pm-dots button { width:5px; height:5px; }
.pdp-related-grid .pm-dots button.is-on { width:14px; }
.pdp-related-grid .pm-arrow { width:26px; height:26px; font-size:15px; }
.pdp-related-grid .pm-arrow--prev { left:6px; }
.pdp-related-grid .pm-arrow--next { right:6px; }
.pdp-related-grid .product-body { padding:12px 14px 14px; }
.pdp-related-grid .card-title { font-size:15.5px; line-height:1.35; margin-bottom:5px; }
.pdp-related-grid .card-desc {
  font-size:12.5px; line-height:1.55;
  /* 摘要最多 2 行，超出截断，避免不同卡片高度参差 */
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.pdp-related-grid .product-tags { gap:5px; margin-top:7px; }
.pdp-related-grid .tag { padding:2px 8px; font-size:11px; }
.pdp-related-grid .product-meta { margin-top:9px; gap:8px; }
.pdp-related-grid .cat-badge { font-size:11px; padding:2px 8px; }
.pdp-related-grid .product-cta { padding:5px 12px; font-size:12px; gap:4px; }

/* ---------- 内嵌询价表单（复用 contact 页的 .field/.input/.form-msg 等） ---------- */
.pdp-quote {
  border-radius:16px; padding:30px 34px; margin-bottom:22px;
}
.pdp-quote .form-panel { background:transparent; border:none; padding:0; box-shadow:none; }
.pdp-quote-note {
  color:var(--muted); font-size:12.5px; margin:14px 0 0; text-align:center;
}

/* ============================================================
   FAQ 页（faq.html）—— v2 并入原内联样式，金色系适配
   ============================================================ */
.faq-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.faq-product-bar {
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:13px 18px; margin-bottom:16px;
}
.faq-product-label { font-size:14px; font-weight:600; color:var(--text); flex:none; }
.faq-combo { position:relative; flex:none; width:300px; }
.faq-combo-input { width:100%; padding-right:30px; }
.faq-combo-caret {
  position:absolute; right:11px; top:50%; transform:translateY(-50%);
  color:var(--muted); font-size:12px; pointer-events:none;
}
.faq-combo-list {
  position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:60;
  max-height:260px; overflow-y:auto; margin:0; padding:5px; list-style:none;
  background:var(--surface); border:1px solid var(--line-strong); border-radius:10px;
  box-shadow:0 18px 44px -16px rgba(0,0,0,0.6);
  display:none;
}
.faq-combo-list.is-open { display:block; }
.faq-combo-list li {
  padding:9px 12px; font-size:14px; color:var(--text); border-radius:8px;
  cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.faq-combo-list li:hover { background:var(--line); }
.faq-combo-list li.is-active { background:var(--accent-glow); color:var(--accent); }
.faq-combo-list li .faq-combo-sub { font-size:12px; color:var(--muted); }
.faq-combo-list li.is-active .faq-combo-sub { color:var(--accent); }
.faq-combo-list li.faq-combo-empty { cursor:default; color:var(--muted); text-align:center; }
.faq-product-hint { font-size:12.5px; color:var(--muted); }
.faq-item summary .faq-prod {
  flex:none; font-size:11.5px; font-weight:500; color:#0a2540;
  background:linear-gradient(135deg,#f5e2a2,#e8c96b); border:1px solid rgba(212,175,55,0.5);
  border-radius:999px; padding:2px 10px; white-space:nowrap; text-decoration:none;
  transition:filter .15s;
}
.faq-item summary .faq-prod:hover { filter:brightness(1.06); }
.faq-item {
  border:1px solid var(--line); border-radius:12px; background:var(--surface);
  margin-bottom:12px; overflow:hidden; transition:border-color .18s, box-shadow .18s;
}
.faq-item:hover { border-color:var(--line-strong); box-shadow:0 12px 30px -18px rgba(0,0,0,0.5); }
.faq-item summary {
  display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none;
  padding:17px 20px; font-size:15.5px; font-weight:550; color:var(--text);
  user-select:none;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .faq-q {
  flex:1; line-height:1.5;
}
.faq-item summary .faq-cat {
  flex:none; font-size:11.5px; font-weight:500; color:var(--accent-2);
  border:1px solid rgba(212,175,55,0.45);
  border-radius:999px; padding:2px 10px; white-space:nowrap;
}
.faq-item summary .faq-chev {
  flex:none; color:var(--muted); transition:transform .2s; font-size:13px;
}
.faq-item[open] summary .faq-chev { transform:rotate(180deg); }
.faq-item .faq-a {
  padding:0 20px 18px; color:var(--text-2); font-size:14.3px; line-height:1.85;
  border-top:1px dashed var(--line); margin:0 20px 0 20px; padding:16px 0 18px;
}
.faq-item .faq-a p { margin:0 0 8px; }
.faq-item .faq-a p:last-child { margin-bottom:0; }
.faq-empty { padding:40px 0; text-align:center; color:var(--muted); }

/* ============================================================
   隐私政策（privacy.html）—— v2 并入原内联样式，金色系适配
   ============================================================ */
.policy-body { max-width: 860px; margin: 0 auto; }
.policy-body h2 {
  font-size: clamp(19px, 2.4vw, 23px);
  margin: 40px 0 14px;
  padding-left: 13px;
  border-left: 3px solid var(--accent);
  color: var(--text-1);
  line-height: 1.45;
}
.policy-body h3 { font-size: 15.5px; margin: 24px 0 9px; color: var(--text-1); }
.policy-body p { color: var(--text-2); font-size: 14.6px; line-height: 1.95; margin: 11px 0; }
.policy-body ul, .policy-body ol {
  color: var(--text-2); font-size: 14.6px; line-height: 1.9;
  margin: 11px 0 11px 4px; padding-left: 22px;
}
.policy-body li { margin: 7px 0; }
.policy-body strong { color: var(--text-1); font-weight: 600; }
.policy-body a { color: var(--accent-2); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.32); }
.policy-body a:hover { border-bottom-color: var(--accent); }
.policy-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.policy-table th, .policy-table td {
  border: 1px solid var(--line); padding: 11px 13px;
  text-align: left; vertical-align: top; line-height: 1.75;
}
.policy-table th { background: var(--bg-elev); color: var(--text-1); font-weight: 600; white-space: nowrap; }
.policy-table td { color: var(--text-2); }
.policy-note {
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.24);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 15px 18px; margin: 18px 0;
  font-size: 14px; line-height: 1.85; color: var(--text-2);
}
.policy-meta {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  padding: 16px 0 26px; border-bottom: 1px solid var(--line);
  margin-bottom: 6px; font-size: 13.4px; color: var(--text-3);
}
.policy-meta span strong { color: var(--text-2); font-weight: 500; }
.policy-toc {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 26px 0 10px;
}
.policy-toc-title { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-3); margin-bottom: 13px; }
.policy-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.policy-toc li { font-size: 14px; line-height: 1.9; color: var(--text-2); break-inside: avoid; }
.policy-toc a { color: var(--text-2); text-decoration: none; }
.policy-toc a:hover { color: var(--accent-2); }
@media (max-width: 720px) {
  .policy-toc ol { columns: 1; }
  .policy-body h2 { margin-top: 32px; }
}

/* ============================================================
   站内搜索（search.html）
   ============================================================ */
.search-summary { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.search-summary b { color: var(--accent-2); font-family: var(--font-mono); }
.search-group { margin-top: 40px; }
.search-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.search-group-head .ico { display: flex; color: var(--accent-2); }
.search-group-head h2 { font-size: 19px; font-weight: 650; font-family: var(--font-serif); }
.search-group-head .n { color: var(--muted); font-size: 13px; font-family: var(--font-mono); }
.search-hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cert-result { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.cert-result img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; border: 1px solid var(--line); }
.cert-result .cert-ico { display: flex; width: 56px; height: 56px; border-radius: 10px; flex: 0 0 auto; align-items: center; justify-content: center; background: var(--accent-glow); color: var(--accent-2); }
.search-results { display:flex; flex-direction:column; gap:14px; }
.search-hit {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--grad-panel), var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.search-hit:hover { border-color: rgba(212,175,55,0.32); transform: translateY(-2px); }
.search-hit .hit-type {
  font-size: 11.5px; font-family: var(--font-mono); letter-spacing: .06em;
  color: var(--steel); text-transform: uppercase; margin-bottom: 6px;
}
.search-hit .hit-title { font-family: var(--font-serif); font-size: 17.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.search-hit:hover .hit-title { color: var(--accent-2); }
.search-hit .hit-sum { font-size: 13.8px; color: var(--text-2); line-height: 1.75; }
.search-hit .hit-meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.search-hit mark { background: rgba(212,175,55,0.28); color: var(--text); padding: 1px 4px; border-radius: 3px; }

/* ---------- FAQ / 文章（内页通用块，SSR 注入类名兼容） ---------- */
.faq-item, .article-card, .news-item { /* 占位：与 .card 同风格时由各自页面 CSS 覆盖 */ }

/* ============================================================
   文章列表（articles.html）—— v2 并入原内联样式，金色系适配
   ============================================================ */
.article-card { display:flex; flex-direction:column; overflow:hidden; }
.article-cover {
  width:100%; aspect-ratio:16/9; object-fit:cover;
  background:var(--surface-2); display:block;
}
.article-cover-ph {
  width:100%; aspect-ratio:16/9;
  background:linear-gradient(135deg, var(--surface-2), var(--bg-elev));
  display:grid; place-items:center; color:var(--muted);
  border-bottom:1px solid var(--line);
}
.article-body { padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.article-meta {
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  font-size:12.5px; color:var(--muted); margin-bottom:11px;
}
.article-meta .cat { color:var(--accent-2); font-weight:550; }
.article-title {
  font-family:var(--font-serif); font-size:18.5px; font-weight:600;
  line-height:1.45; margin-bottom:9px; color:var(--text);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.article-card:hover .article-title { color:var(--accent-2); }
.article-sum {
  font-size:13.6px; color:var(--text-2); line-height:1.72; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.article-foot {
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
  font-size:12.5px; color:var(--muted);
}
.article-foot .read { color:var(--accent-2); font-weight:550; }
.tag-cloud { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.tag-cloud .tag-btn {
  font-size:12.5px; padding:4px 12px; border-radius:999px;
  border:1px solid var(--line-strong); background:rgba(255,255,255,0.03);
  color:var(--text-2); cursor:pointer; transition:all .18s;
}
.tag-cloud .tag-btn:hover { color:var(--text); border-color:var(--text-2); }
.tag-cloud .tag-btn.is-active {
  background:var(--grad-gold); border-color:transparent; color:#10141f; font-weight:600;
  box-shadow:0 8px 20px -8px rgba(212,175,55,0.5);
}
.pager { display:flex; gap:8px; justify-content:center; align-items:center; margin-top:40px; flex-wrap:wrap; }
.pager button {
  min-width:38px; height:38px; padding:0 12px; border-radius:8px;
  border:1px solid var(--line-strong); background:none; color:var(--text-2);
  font-size:13.5px; cursor:pointer; transition:all .18s; font-family:var(--font-mono);
}
.pager button:hover:not(:disabled) { border-color:var(--accent); color:var(--accent-2); }
.pager button.is-active { background:var(--grad-gold); border-color:transparent; color:#10141f; font-weight:600; }
.pager button:disabled { opacity:.35; cursor:not-allowed; }

/* ============================================================
   文章详情（article.html）—— v2 并入原内联样式，金色系适配
   ============================================================ */
.article-wrap { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:44px; align-items:start; }
@media (max-width:960px){ .article-wrap{ grid-template-columns:1fr; gap:28px; } .article-aside{ order:-1; } }

.article-head { padding:0 0 26px; border-bottom:1px solid var(--line); margin-bottom:30px; }
.article-cat {
  display:inline-block; font-size:12.5px; color:var(--accent-2);
  background:var(--accent-glow); border:1px solid rgba(212,175,55,0.3);
  padding:3px 12px; border-radius:999px; margin-bottom:16px;
}
.article-h1 {
  font-family:var(--font-serif); font-size:clamp(26px,4.4vw,40px);
  font-weight:600; line-height:1.32; letter-spacing:-0.01em; margin-bottom:18px;
  color:var(--text);
}
.article-info { display:flex; flex-wrap:wrap; gap:18px; font-size:13.5px; color:var(--muted); }
.article-info span { display:inline-flex; align-items:center; gap:6px; }

.article-lead {
  font-size:16px; line-height:1.8; color:var(--text-2);
  padding:18px 22px; margin-bottom:30px;
  background:var(--surface); border-left:3px solid var(--accent);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}

/* 正文富文本样式（作用于服务端净化后的 HTML） */
.article-content { font-size:16px; line-height:1.92; color:var(--text); }
.article-content h1,.article-content h2,.article-content h3,.article-content h4 {
  font-family:var(--font-serif); font-weight:600; line-height:1.4;
  margin:1.9em 0 0.7em; scroll-margin-top:90px;
}
.article-content h1 { font-size:28px; }
.article-content h2 { font-size:23px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.article-content h3 { font-size:19px; }
.article-content h4 { font-size:16.5px; color:var(--text-2); }
.article-content p { margin:0 0 1.15em; color:var(--text-2); }
.article-content a { color:var(--accent-2); text-decoration:none; border-bottom:1px solid rgba(212,175,55,0.3); }
.article-content a:hover { border-bottom-color:var(--accent); }
.article-content ul,.article-content ol { margin:0 0 1.2em; padding-left:1.6em; color:var(--text-2); }
.article-content li { margin:0.5em 0; }
.article-content ul { list-style:disc; }
.article-content ol { list-style:decimal; }
.article-content blockquote {
  margin:1.4em 0; padding:14px 20px;
  background:var(--surface); border-left:3px solid var(--accent);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0; color:var(--text-2);
}
.article-content blockquote p:last-child { margin-bottom:0; }
.article-content code {
  font-family:var(--font-mono); font-size:0.88em;
  background:var(--surface-2); border:1px solid var(--line);
  padding:2px 6px; border-radius:5px; color:var(--accent-2);
}
.article-content pre {
  background:var(--bg-elev); border:1px solid var(--line);
  border-radius:var(--radius-sm); padding:16px 18px; overflow-x:auto; margin:1.3em 0;
}
.article-content pre code { background:none; border:none; padding:0; color:var(--text-2); }
.article-content img { border-radius:var(--radius-sm); margin:1.3em 0; max-width:100%; height:auto; }
.article-content table { width:100%; border-collapse:collapse; margin:1.4em 0; font-size:14.5px; }
.article-content th,.article-content td { border:1px solid var(--line); padding:10px 13px; text-align:left; }
.article-content th { background:var(--surface); color:var(--text); font-weight:600; }
.article-content td { color:var(--text-2); }
.article-content .ta-center { text-align:center; }
.article-content .ta-right { text-align:right; }
.article-content hr { border:none; border-top:1px solid var(--line); margin:2.2em 0; }
.article-content mark { background:rgba(212,175,55,0.22); color:var(--text); padding:1px 4px; border-radius:3px; }

/* 提示框（callout-info / success / warn / danger） */
.article-content .callout {
  display:block; margin:1.4em 0; padding:14px 18px;
  border-left:4px solid var(--info); border-radius:var(--radius-sm);
  background:var(--surface-2); color:var(--text-2);
  font-size:15px; line-height:1.8;
}
.article-content .callout-info    { border-left-color:var(--info);    background:rgba(42,127,184,0.09); }
.article-content .callout-success { border-left-color:var(--success); background:rgba(24,138,95,0.09); }
.article-content .callout-warn    { border-left-color:var(--warning); background:rgba(183,121,31,0.11); }
.article-content .callout-danger  { border-left-color:var(--danger);  background:rgba(214,72,59,0.09); }
.article-content pre.code-block {
  margin:1.4em 0; padding:16px 18px; overflow-x:auto;
  background:var(--bg-elev); border:1px solid var(--line); border-radius:var(--radius-sm);
  font-family:var(--font-mono); font-size:13.5px; line-height:1.75;
}
.article-content pre.code-block code { background:none; border:none; padding:0; color:var(--text-2); font-size:inherit; }
.article-content a.attach-link {
  display:inline-flex; align-items:center; gap:7px;
  margin:.5em 0; padding:9px 14px;
  border:1px solid var(--line); border-radius:var(--radius-sm);
  background:var(--surface); color:var(--accent-2);
  font-size:14.5px; text-decoration:none; border-bottom:1px solid var(--line);
  transition:border-color .18s, background .18s, box-shadow .18s;
}
.article-content a.attach-link:hover {
  border-color:var(--accent); background:var(--accent-glow);
  box-shadow:var(--shadow-sm); border-bottom-color:var(--accent);
}
.article-content table.wy-table:not([border]) th,
.article-content table.wy-table:not([border]) td { border:none; }
.article-content table.wy-table[border] tr:nth-child(even) td { background:rgba(212,175,55,0.04); }
.article-content a[href^="#"] { border-bottom:none; color:var(--accent-2); font-weight:600; }

.article-tags { display:flex; flex-wrap:wrap; gap:9px; margin:34px 0; padding-top:24px; border-top:1px solid var(--line); }

/* 附件下载区 */
.article-attach { margin:30px 0; padding:22px 24px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.attach-title { display:flex; align-items:center; gap:8px; font-family:var(--font-serif); font-size:16px; font-weight:600; color:var(--text); margin-bottom:14px; }
.attach-title svg { color:var(--accent-2); }
.attach-list { display:flex; flex-direction:column; gap:10px; }
.attach-item {
  display:flex; align-items:center; gap:14px; padding:12px 16px;
  background:var(--bg-elev); border:1px solid var(--line); border-radius:var(--radius-sm);
  text-decoration:none; transition:border-color .18s, transform .18s, box-shadow .18s;
}
.attach-item:hover { border-color:var(--accent); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.attach-ico {
  flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  min-width:44px; height:30px; padding:0 8px; border-radius:6px;
  font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.05em;
  background:rgba(212,175,55,0.12); color:var(--accent-2);
}
.attach-thumb { flex:0 0 auto; width:44px; height:30px; object-fit:cover; border-radius:6px; border:1px solid var(--line); }
.attach-main { min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.attach-name { font-size:14.5px; font-weight:600; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.attach-size { font-size:12px; color:var(--muted); font-family:var(--font-mono); }
.attach-btn {
  flex:0 0 auto; display:inline-flex; align-items:center; gap:6px;
  padding:7px 14px; border-radius:999px; font-size:12.5px; font-weight:600;
  color:#10141f; background:var(--grad-gold); white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.4);
}
.attach-btn svg { width:14px; height:14px; }

/* 侧栏：目录 + 相关文章 */
.aside-block { position:sticky; top:88px; }
.aside-title { font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:14px; }
.toc-list li a {
  display:block; font-size:13.6px; color:var(--text-2); padding:6px 0 6px 14px;
  border-left:2px solid var(--line); transition:all .18s; line-height:1.5;
}
.toc-list li a:hover { color:var(--accent-2); border-left-color:var(--accent); }
.toc-list li.lv3 a { padding-left:28px; font-size:13px; }
.toc-list li.lv4 a { padding-left:42px; font-size:12.6px; }

.related-grid { display:flex; flex-direction:column; gap:14px; }
.related-item { padding:14px 16px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); transition:border-color .2s; }
.related-item:hover { border-color:var(--line-strong); }
.related-item .t { font-size:14px; color:var(--text); line-height:1.5; margin-bottom:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.related-item:hover .t { color:var(--accent-2); }
.related-item .d { font-size:12px; color:var(--muted); }

.article-cta {
  margin-top:40px; padding:30px; text-align:center;
  background:linear-gradient(135deg, var(--surface), rgba(212,175,55,0.06));
  border:1px solid var(--line); border-radius:var(--radius);
}

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .partners-track { animation: none; }
}

/* ---------- 响应式（宽屏优先，手机按 1280 电脑端展示） ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 详情页：主图列与信息列改为上下堆叠，缩略图转横排 */
  .pdp-layout { grid-template-columns:1fr; }
  .pdp-media { flex-direction:column-reverse; }
  .pdp-gallery {
    width:auto; max-height:none; flex-direction:row; overflow-x:auto;
    overflow-y:hidden; padding:0 0 2px;
  }
  /* 窄屏：主图窗口宽度占满列宽，上限为桌面尺寸变量，保持正方形比例 */
  .pdp-stage { width:100%; height:auto; max-width:var(--pdp-stage); aspect-ratio:1/1; min-height:0; }
  .pdp-stage .pm-slide { width:100%; min-width:100%; }
  .pdp-stage .pm-slide img { width:100%; height:100%; }
  .pdp-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 12px; font-size: 13.8px; }
  .header-search { display: none; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8,12,22,0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-item-wrap { flex-direction: column; align-items: stretch; }
  .nav-dropdown { position: static; transform: none; min-width: 0; padding: 0 0 0 14px; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-dropdown::before { display: none; }
  .header-cta .btn { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .process-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-title { font-size: 34px; }
}

/* ---------- 手机端文章 / 产品双列（2026-11-20） ----------
   768px 以下保持双列，避免列表被拉成一长条单列。
   只作用于文章列表 #article-grid 与产品列表 #product-grid，
   首页分类、优势等其它网格仍按原规则单列。 */
@media (max-width: 768px) {
  #article-grid,
  #product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #article-grid > *,
  #product-grid > * { min-width: 0; }

  /* 文章卡片：封面占 4:3，正文压缩为两列可读尺寸 */
  #article-grid .article-card {
    padding: 0;
    border-radius: 14px;
  }
  #article-grid .article-cover,
  #article-grid .article-cover-ph {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  #article-grid .article-body {
    min-width: 0;
    padding: 10px 10px 11px;
  }
  #article-grid .article-meta {
    gap: 4px 8px;
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 1.35;
  }
  #article-grid .article-meta span { white-space: nowrap; }
  #article-grid .article-meta span:nth-child(n+3) { display: none; }
  #article-grid .article-title {
    margin-bottom: 6px;
    font-size: 14.5px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }
  #article-grid .article-sum {
    font-size: 11.5px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  #article-grid .product-tags { display: none; }
  #article-grid .article-foot {
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 8px;
    font-size: 10px;
  }
  #article-grid .article-foot span:first-child { display: none; }

  /* 产品卡片：图片改为正方形自适应，正文只留标题、简介、分类与咨询 */
  #product-grid .product-card { border-radius: 14px; }
  #product-grid .product-media {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }
  #product-grid .product-media img { padding: 8px; }
  #product-grid .pm-slide { padding: 8px; }
  #product-grid .pm-arrow { display: none; }
  #product-grid .pm-dots { bottom: 6px; gap: 4px; }
  #product-grid .pm-dots button { width: 5px; height: 5px; }
  #product-grid .pm-dots button.is-on { width: 12px; }
  #product-grid .product-body {
    min-width: 0;
    padding: 9px 9px 10px;
  }
  #product-grid .card-title {
    margin-bottom: 4px;
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #product-grid .card-desc {
    font-size: 11px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #product-grid .product-tags { display: none; }
  #product-grid .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
  }
  #product-grid .cat-badge {
    padding: 2px 6px;
    font-size: 9.5px;
  }
  #product-grid .product-cta {
    width: 100%;
    justify-content: center;
    padding: 6px 9px;
    min-height: 30px;
    font-size: 11px;
  }
}

/* ---------- 图片加载占位（2026-11-18，2026-11-19 收窄） ----------
   新设备首访时大图解码需要时间，先铺中性底色，避免出现刺眼白块。
   注意：只对「铺满容器」的图片生效（cover / 自适应宽度）。
   产品卡片、PDP 主图、证书预览用的是 object-fit:contain 且带内边距，
   一旦给这类图片铺底色，图片与容器之间就会露出一圈浅色边框，
   看起来像白边、且破坏了容器的圆角观感，因此不纳入。 */
.article-cover,
.hc-slide img,
#a-content img {
  background-color: #eef1f4;
}

