/* ==========================================================================
   SMT 设备公司官网 - 样式表
   简洁科技风：深蓝 + 青色点缀，无衬线字体，大留白
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-dark: #0b1a2e;
  --bg-dark-2: #12263f;
  --text: #16202e;
  --text-soft: #55677c;
  --text-invert: #eaf1f8;
  --brand: #0f5fb8;
  --brand-2: #00b8d4;
  --brand-glow: rgba(0, 184, 212, 0.14);
  --line: #e2e9f2;
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --sec-pad: clamp(64px, 8vw, 96px);
  --shadow-sm: 0 1px 2px rgba(16, 34, 56, 0.05), 0 4px 16px rgba(16, 34, 56, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 34, 56, 0.06), 0 18px 40px -12px rgba(16, 34, 56, 0.16);
  --max: 1180px;
  --nav-h: 72px;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--brand-2); }

/* 键盘焦点环与选中色（可达性） */
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(0, 184, 212, .22); }
section[id], h2[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* 数据数字用等宽字距，避免跳动 */
.m-num, .news-date .d, .tl-year, .prod-model, .hero-stats .num { font-variant-numeric: tabular-nums; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.018em;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
/* 区块标题下的品牌渐变短线 */
.sec-head h2 { position: relative; padding-bottom: 14px; width: fit-content; margin-bottom: .6em; }
.sec-head.center h2 { margin-left: auto; margin-right: auto; }
.sec-head h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 44px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.sec-head.center h2::after { left: 50%; transform: translateX(-50%); }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, .72); }
.topbar a:hover { color: #fff; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); margin-right: 8px; vertical-align: 1px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 14px var(--brand-glow);
  overflow: hidden;
  flex-shrink: 0;
}
/* logo 图片位：有图时铺满，无图时显示内置占位 SVG */
.logo-mark > img,
.logo-mark > svg {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
.logo-mark > img { background: transparent; }
/* 有图时去掉底色与圆角，让 logo 图自己决定形态 */
.logo-mark.has-img {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: auto; height: 36px;
  min-width: 36px;
  padding: 0;
}
.logo-mark.has-img > img { height: 100%; width: auto; object-fit: contain; }
.logo-sub { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 500; color: var(--text-soft); letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-glow); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover { background: #0d4f9a; color: #fff; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-invert);
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0 clamp(80px, 10vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(0, 184, 212, .20), transparent 62%),
    radial-gradient(700px 400px at 12% 88%, rgba(15, 95, 184, .28), transparent 62%),
    linear-gradient(180deg, #0b1a2e 0%, #10233c 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid rgba(0, 184, 212, .38);
  border-radius: 999px;
  background: rgba(0, 184, 212, .1);
  color: #7fe4f2;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #35d0e8, #7aa8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(234, 241, 248, .78);
  max-width: 92%;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, #1478d4 100%); color: #fff; box-shadow: 0 8px 22px -6px rgba(15, 95, 184, .55); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px -8px rgba(15, 95, 184, .65); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  justify-content: start;
}
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.hero-stats .num small { font-size: .95rem; font-weight: 600; color: #7fe4f2; margin-left: 2px; }
.hero-stats .lbl { font-size: 13px; color: rgba(234, 241, 248, .6); letter-spacing: .02em; }

/* 英雄区右侧：矢量整线示意图 */
.hero-visual { position: relative; }

.line-figure {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0c1e32;
  box-shadow: 0 32px 70px -32px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 184, 212, .06) inset;
}
.line-figure::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 220, 240, .5), transparent);
  pointer-events: none;
}

.line-figure-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1726;
}
.line-vector {
  width: 100%;
  height: 100%;
  display: block;
}
/* 用户上传的实拍照片仍按 cover 铺满 */
.line-figure-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---- 示意图内的动效 ---- */
.lv-station { transition: opacity .3s; }

/* 贴装头节拍（周期 14s，与 PCB 全局周期同步；第 2 段 = 贴片机 4.00-9.00s）
   实际时间轴：
     4.00-6.20s  PCB 进站途中，头在左端（飞达侧）待料
     6.20-6.85s  进站前取件下探（在左端飞达位，模拟从料带取料）
     6.85-7.00s  抬升
     7.00s       PCB 到达设备中心并停稳
     7.00-7.85s  横移至 PCB 板中心（+9px，落在板面上方，不再跑到最右边）
     7.85-8.40s  中心贴装下探
     8.40-9.00s  抬升并移回飞达侧
     9.00-14.0s  PCB 驶离，头回到待料位 */
.lv-head {
  animation: lvHeadMove 14s cubic-bezier(.4, 0, .3, 1) infinite;
}
@keyframes lvHeadMove {
  0%      { transform: translate(-46px, 0); }
  44.29%  { transform: translate(-46px, 0); }   /* 6.20s 飞达侧待料 */
  46.07%  { transform: translate(-46px, 8px); } /* 6.45s 取件下探 */
  48.93%  { transform: translate(-46px, 0); }   /* 6.85s 抬升 */
  50.00%  { transform: translate(-46px, 0); }   /* 7.00s PCB 停稳 */
  56.07%  { transform: translate(9px, 0); }     /* 7.85s 移至板中心 */
  57.50%  { transform: translate(9px, 8px); }   /* 8.05s 贴装下探 */
  60.00%  { transform: translate(9px, 0); }     /* 8.40s 抬升 */
  64.29%  { transform: translate(-46px, 0); }   /* 9.00s 回飞达侧 */
  100%    { transform: translate(-46px, 0); }
}

/* 吸取光点：峰值与两处下探严格对齐（取件 46.07% / 贴装 57.50%，同为 14s 周期） */
.lv-pick {
  animation: lvPick 14s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes lvPick {
  0%, 42%     { opacity: .15; transform: scale(.7); }
  46.07%      { opacity: 1;   transform: scale(1.25); }
  49%, 53.5%  { opacity: .15; transform: scale(.7); }
  57.50%      { opacity: 1;   transform: scale(1.25); }
  60.5%, 100% { opacity: .15; transform: scale(.7); }
}

/* 印刷机工字框架：PCB 停稳时下压至钢网面，再复位到起始位置
   周期 14s；第 1 段 = 印刷机（0-4.00s，PCB 2.00s 停稳、停留到 4.00s）
   实际时间轴：
     0.00-2.00s  框架在起始位（y=0），PCB 驶入
     2.00s       PCB 在印刷机中心停稳
     2.00-2.70s  等待稳定
     2.70-3.20s  下压到钢网面（y=+24，刮刀落到 y=243，正好压在钢网上表面 247 之上）
     3.20-3.60s  保持刮印压力
     3.60-4.00s  抬回起始位 */
.lv-gantry {
  animation: lvGantry 14s cubic-bezier(.4, 0, .25, 1) infinite;
  transform-box: view-box;
  transform-origin: center;
}
@keyframes lvGantry {
  0%      { transform: translateY(0); }
  14.29%  { transform: translateY(0); }     /* 2.00s PCB 停稳 */
  19.29%  { transform: translateY(0); }     /* 2.70s 开始下压 */
  22.86%  { transform: translateY(24px); }  /* 3.20s 压到钢网面 */
  25.71%  { transform: translateY(24px); }  /* 3.60s 保持压力 */
  28.57%  { transform: translateY(0); }     /* 4.00s 复位 */
  100%    { transform: translateY(0); }
}

/* 回流焊温区呼吸 */
.lv-heat {
  animation: lvHeat 2.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes lvHeat {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}

/* AOI 扫描环 */
.lv-scan {
  animation: lvScan 2.4s ease-out infinite;
  transform-origin: 876px 206px;
}
@keyframes lvScan {
  0% { transform: scale(.6); opacity: .1; }
  55% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* PCB 沿轨道从左向右流动：在第 1/2/4 站中心各停留 2s（共 14s 一轮）
   停留点 = 板中心 15 + 站中心 119 / 271 / 876 */
.lv-pcb {
  animation: lvPcb 14s cubic-bezier(.42, 0, .58, 1) infinite;
}
@keyframes lvPcb {
  0%     { transform: translateX(20px); }
  14.29% { transform: translateX(104px); }  /* 到印刷机中心 */
  28.57% { transform: translateX(104px); }  /* 停留 2s */
  50%    { transform: translateX(256px); }  /* 到贴片机中心 */
  64.29% { transform: translateX(256px); }  /* 停留 2s */
  89.29% { transform: translateX(861px); }  /* 到 AOI 中心 */
  100%   { transform: translateX(861px); }  /* 停留 2s 后回到起点 */
}

/* 轨道上的推进光带 */
.lv-flow {
  animation: lvFlow 9s linear infinite;
}
@keyframes lvFlow {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: .9; }
  92% { opacity: .9; }
  100% { transform: translateX(820px); opacity: 0; }
}

/* caption 叠在 SVG 底部 */
.line-figure-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(234, 241, 248, .82);
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 34, .86));
}
.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d0e8;
  box-shadow: 0 0 0 3px rgba(53, 208, 232, .16);
  flex-shrink: 0;
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(53, 208, 232, .16); }
  50% { box-shadow: 0 0 0 6px rgba(53, 208, 232, .04); }
}

/* 尊重系统的减弱动效设置 */
@media (prefers-reduced-motion: reduce) {
  .lv-head, .lv-gantry, .lv-pick, .lv-heat, .lv-scan, .lv-pcb, .lv-flow, .dot-live { animation: none !important; }
  .lv-pcb { transform: translateX(256px); }
}

/* 移动端：示意图放到文字上方，限制最大宽度 */
@media (max-width: 960px) {
  .hero-visual { max-width: 560px; }
}

/* ---------- 通用区块 ---------- */
.section { padding: var(--sec-pad) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: var(--text-invert); }
.section-dark h2 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.sec-head p { color: var(--text-soft); font-size: 1.05rem; margin: 0; }
.section-dark .sec-head p { color: rgba(234, 241, 248, .68); }
.section-dark .sec-kicker { color: #7fe4f2; }

/* ---------- 数据条 ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.metrics .m-item { background: #fff; padding: 30px 26px; }
.metrics .m-num { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); line-height: 1.15; }
.metrics .m-num small { font-size: .9rem; font-weight: 700; margin-left: 2px; }
.metrics .m-lbl { font-size: 13.5px; color: var(--text-soft); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cddcee; }
/* 卡片顶部品牌色细线（hover 时淡入） */
.card::before {
  content: "";
  position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0; transform: scaleX(.4);
  transition: opacity .25s ease, transform .25s ease;
}
.card:hover::before { opacity: 1; transform: scaleX(1); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 14px; line-height: 1.7; margin: 0; }

.icon-box {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-glow);
  color: var(--brand);
  margin-bottom: 18px;
}
.icon-box svg { width: 22px; height: 22px; }

/* ---------- 产品卡片 ---------- */
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddcee; }
.prod-thumb {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(320px 160px at 70% 20%, rgba(0, 184, 212, .07), transparent 70%),
    linear-gradient(150deg, #eef4fb, #dde9f7);
  position: relative;
  display: grid;
  place-items: center;
  color: #9fb4cc;
  font-size: 12px;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--line);
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumb .ph-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(11, 26, 46, .72);
  color: #9fd8e6;
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 5px;
}
.prod-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.08rem; margin-bottom: 7px; }
.prod-body .prod-model { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--brand-2); margin-bottom: 12px; }
.prod-body p { font-size: 14px; line-height: 1.7; color: var(--text-soft); margin-bottom: 16px; }
.prod-specs { list-style: none; padding: 10px 0 0; margin: 0 0 20px; border-top: 1px dashed var(--line); }
.prod-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.prod-specs li span:first-child { color: var(--text-soft); }
.prod-specs li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.prod-more { margin-top: auto; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 新闻 ---------- */
.news-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.news-date .d { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--brand); }
.news-date .y { font-size: 11.5px; color: var(--text-soft); }
.news-item h3 { font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { font-size: 13.5px; line-height: 1.65; color: var(--text-soft); margin: 0; }
.news-item .tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-glow);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, #0b2545 0%, #0f4a86 55%, #0a6fa8 100%);
  color: #fff;
  border-radius: 20px;
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,212,.35), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }
.btn-light { background: #fff; color: var(--brand) !important; }
.btn-light:hover { background: #eaf3fb; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: rgba(234, 241, 248, .66); padding: clamp(48px, 6vw, 72px) 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(234, 241, 248, .66); }
.footer a:hover { color: #7fe4f2; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo:hover { color: #fff; }
.footer .logo-sub { color: rgba(234,241,248,.5); }
.footer-about p { margin: 0 0 16px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(234, 241, 248, .5);
}
.footer-bottom a { color: rgba(234, 241, 248, .5); }

/* ---------- 页面头部（子页） ---------- */
.page-head {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(52px, 6vw, 72px) 0 clamp(44px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 82% 10%, rgba(0,184,212,.2), transparent 62%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.page-head p { color: rgba(234, 241, 248, .7); max-width: 640px; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(234, 241, 248, .55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(234, 241, 248, .7); }
.breadcrumb span { margin: 0 6px; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.figure-ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #eaf2fb, #d8e6f7);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: #93aac4;
  font-size: 13px;
  letter-spacing: .1em;
}
.figure-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.tl-year { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.tl-item h3 { font-size: 1rem; margin: 2px 0 4px; }
.tl-item p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* ---------- 产品详情行 ---------- */
.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.prod-row:nth-child(even) .prod-row-media { order: 2; }
.prod-row h2 { font-size: 1.5rem; margin-bottom: 6px; }
.prod-model-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--brand-2); margin-bottom: 12px; display: block; }
.prod-row p { color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--text-soft); font-weight: 500; width: 42%; background: var(--bg-soft); }
.spec-table td { font-weight: 600; }

/* ---------- 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 95, 184, .1);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 12px; }

.info-list { list-style: none; padding: 0; margin: 0 0 28px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list .ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-glow); color: var(--brand);
  display: grid; place-items: center;
}
.info-list .ico svg { width: 18px; height: 18px; }
.info-list .k { font-size: 12.5px; color: var(--text-soft); letter-spacing: .04em; }
.info-list .v { font-size: 15px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-soft); font-size: 14px; line-height: 1.7; margin: 12px 0 0; }

/* ---------- 列表过滤器 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty-state { text-align: center; padding: 48px 0; color: var(--text-soft); font-size: 15px; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid, .prod-row { grid-template-columns: 1fr; gap: 40px; }
  .prod-row:nth-child(even) .prod-row-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-visual { max-width: 520px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 68px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics .m-item { padding: 22px 18px; }
  .hero-stats { gap: 24px; }
  .hero-stats .num { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 68px 1fr; gap: 16px; }
  .news-item .tag { display: none; }
  .news-date .d { font-size: 1.25rem; }
  .topbar .wrap { justify-content: center; font-size: 12px; }
  .topbar .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .hero-lead { max-width: 100%; }
}

/* ---------- 打印 ---------- */
@media print {
  .nav, .topbar, .footer, .cta-band, .hero-visual { display: none; }
  body { color: #000; }
}

/* ---- 产品分类目录分组 ---- */
.cat-group { margin-bottom: 8px; }
.cat-group + .cat-group { margin-top: 48px; }
.cat-title {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 22px; font-weight: 700; margin: 0 0 24px;
  padding-left: 14px; border-left: 4px solid var(--brand);
  line-height: 1.2;
}
.cat-count { font-size: 13px; font-weight: 500; color: var(--text-soft); }

/* ---- 产品中心精简布局 ---- */
.prod-card .prod-body { padding: 20px 22px 22px; }
.prod-card .prod-body p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 14px; min-height: 0;
}
.prod-card .prod-thumb { aspect-ratio: 4 / 3; }
.cat-group .grid { row-gap: 28px; }

/* ---- Logo 区文字微调：中文名与英文副标长度平齐 ---- */
.logo-name { font-size: 17px; font-weight: 800; letter-spacing: 2.5px; white-space: nowrap; }
.logo-sub { letter-spacing: .1em; }

/* ---- Logo 尺寸协调：框架内等比例缩小，杜绝裁切 ---- */
.logo-mark.has-img { height: 28px; max-width: 150px; }
.logo-mark.has-img > img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }

/* ---- 页脚：公司名排到 Logo 下方，左对齐堆叠 ---- */
.footer-about .logo { flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-about .logo-name { font-size: 15px; letter-spacing: 2px; }
.footer-about .logo-sub { font-size: 9.5px; }

/* ---- Logo 与公司名统一尺寸（覆盖前面单点调整）---- */
.logo-mark.has-img { height: 26px; max-width: 132px; flex: 0 0 auto; }
.logo-mark.has-img > img { height: 100%; width: auto; display: block; }
.logo .logo-name { font-size: 15px; font-weight: 800; letter-spacing: 1.6px; white-space: nowrap; line-height: 1.25; }
.logo .logo-sub { font-size: 9px; letter-spacing: .08em; line-height: 1.3; }
@media (max-width: 640px) {
  .logo-mark.has-img { height: 22px; max-width: 110px; }
  .logo .logo-name { font-size: 12.5px; letter-spacing: 1px; }
  .logo .logo-sub { font-size: 7.5px; }
}

/* ---- 导航栏 Logo 组合宽度上限，防止挤压菜单 ---- */
.nav .logo { max-width: 320px; }

/* ---- 产品详情页 SEO 内容区 ---- */
.prod-hero { padding: 8px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.prod-hero h1 { font-size: 30px; line-height: 1.32; margin: 14px 0 12px; font-weight: 800; letter-spacing: -.3px; }
.prod-lead { font-size: 15.5px; line-height: 1.9; color: var(--text-soft); margin: 0; max-width: 900px; }
@media (max-width: 640px) { .prod-hero h1 { font-size: 22px; } .prod-lead { font-size: 14.5px; } }

.prod-faq { margin: 56px 0 10px; padding-top: 38px; border-top: 1px solid var(--line); }
.prod-faq .sec-title { margin-bottom: 22px; }
.faq-item { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; line-height: 1.6; }
.faq-q::before { content: "Q "; color: var(--brand); font-weight: 800; }
.faq-a { font-size: 14.5px; line-height: 1.9; color: var(--text-soft); margin: 0; }
