/* ============================================================
   JYOK 京沂电器 — 设计系统
   参考: Pangram Pangram 字体合集页的编辑式排版
   品牌色取自 logo: #4473b9
   ============================================================ */

/* hidden 属性必须压过组件自身的 display（产品筛选、二级分类行依赖它） */
[hidden] { display: none !important; }

:root {
  --brand: #4473b9;
  --brand-deep: #2b5ca8;
  --navy: #0d1c36;
  --navy-2: #12233f;
  --ink: #10141c;
  --muted: #5c6572;
  --faint: #9aa3b0;
  --line: #e6e9ef;
  --card: #f4f6f9;
  --paper: #ffffff;
  --brand-tint: #eef3fb;

  --font-disp: "Space Grotesk", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-body: "Space Grotesk", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --w: 1280px;
  --gut: clamp(20px, 4vw, 40px);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
  --t-slow: 0.9s;
}

html[lang="zh"] {
  --font-disp: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Space Grotesk", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../font/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../font/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }

/* 页面进入动画 */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
main { animation: pageIn var(--t-med) var(--ease) both; }

/* ---------- 版式 ---------- */
.disp {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(40px, 11vw, 104px);
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-size: clamp(30px, 4.2vw, 54px);
  margin: 0;
  text-wrap: balance;
}
.h3 { font-family: var(--font-disp); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 18px;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 46em; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; color: var(--faint); }

/* 段落式区块头：左边大标题，右边小字 */
.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.split-head .lede { max-width: 24em; text-align: left; }
@media (max-width: 860px) {
  .split-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn .arr { transition: transform var(--t-fast) var(--ease); display: inline-flex; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(43, 92, 168, 0.55); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- 页头 ---------- */
.hd {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  border-bottom: 1px solid transparent;
}
.hd.on {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.hd-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height var(--t-fast) var(--ease);
}
.hd.on .hd-in { height: 62px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-disp); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.logo svg { display: block; }
.logo img { display: block; height: 38px; width: auto; }
.logo .zh-sub { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.34em; color: var(--muted); }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right var(--t-fast) var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { right: 0; }
.hd-r { display: flex; align-items: center; gap: 14px; }
.lang-sw {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
}
.lang-sw a { padding: 6px 12px; color: var(--muted); transition: background var(--t-fast), color var(--t-fast); }
.lang-sw a.on { background: var(--ink); color: #fff; }
.hd .btn { padding: 10px 20px; font-size: 13.5px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; position: relative; z-index: 96; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink);
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease), opacity var(--t-fast);
}
.burger span { top: 20px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
body.menu .burger span { transform: rotate(45deg); }
body.menu .burger span::before { transform: rotate(-90deg) translateX(-6px) translateY(-0px); top: 0; transform-origin: center; }
body.menu .burger span::after { opacity: 0; }

@media (max-width: 1060px) {
  .nav, .hd .btn, .lang-sw { display: none; }
  .burger { display: block; }
}

/* 移动全屏菜单 */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(13, 28, 54, 0.34);
  padding: 66px 14px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease);
}
.m-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(13, 28, 54, 0.2);
  padding: 4px 8px 10px;
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
body.menu .m-card { opacity: 1; transform: none; }
body.menu .m-menu { opacity: 1; pointer-events: auto; transform: none; }
.m-menu a {
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 17.5px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.m-menu a:last-of-type { border-bottom: 0; }
body.menu .m-menu a { opacity: 1; transform: none; transition-delay: calc(0.04s * var(--i, 0) + 0.05s); }
.m-menu .m-foot { margin: 2px 0 0; padding: 12px 10px 2px; display: flex; gap: 12px; align-items: center; justify-content: flex-end; border-top: 1px solid var(--line); }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(150px, 20vh, 210px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-right { padding-bottom: 10px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  margin-top: clamp(28px, 4vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.hero-scroll .line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ""; position: absolute; inset: 0; background: var(--brand);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { padding-bottom: 0; }
}

/* 大标题逐行揭示 */
.rl { display: block; overflow: hidden; }
.rl > span {
  display: block;
  transform: translateY(110%);
  animation: riseIn 1s var(--ease) forwards;
  animation-delay: calc(0.12s * var(--i, 0) + 0.1s);
}
@keyframes riseIn { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.9s var(--ease) forwards; animation-delay: calc(0.1s * var(--i, 0) + 0.25s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* 特色横幅（首屏大图卡） */
.feat {
  margin: clamp(20px, 3vw, 36px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: clamp(320px, 46vw, 560px);
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.feat-img {
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  will-change: transform;
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.feat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 28, 54, 0.22) 0%, rgba(13, 28, 54, 0.34) 45%, rgba(13, 28, 54, 0.78) 72%, rgba(13, 28, 54, 0.93) 100%);
}
.feat-body { padding: clamp(24px, 4vw, 52px); color: #fff; max-width: 640px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
.feat-body .h3 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 8px; }
.feat-body p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.82); }
.feat .tag-row { margin-bottom: 14px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--brand);
  color: #fff;
}
.tag.outline { background: transparent; border: 1px solid currentColor; color: var(--brand-deep); }
.tag.dim { background: var(--card); color: var(--muted); }
.tag.on-dark { background: rgba(13, 28, 54, 0.52); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(20px, 2.6vw, 34px) clamp(8px, 1.5vw, 24px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stat:first-child { border-left: 0; }
.stat b {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 3px;
  transition: color var(--t-med) var(--ease);
  font-variant-numeric: tabular-nums;
}
.stat:hover b { color: var(--brand-deep); }
.stat b .u {
  font-size: 0.42em;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.stat > span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- 区块 ---------- */
section.blk { padding: clamp(64px, 9vw, 120px) 0; }
section.blk.tight { padding: clamp(40px, 6vw, 72px) 0; }
section.dark { background: var(--navy); color: #fff; }
section.dark .kicker { color: #8fb4ea; }
section.dark .lede { color: rgba(255, 255, 255, 0.72); }
section.tint { background: var(--brand-tint); }

/* ---------- 产品工具条（参考站核心） ---------- */
.lib-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.lib-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.lib-count b { color: var(--ink); font-size: 16px; }
.lib-views { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lib-views button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.lib-views button.on { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 子系列行常驻显示：非对应父级选中时只变淡，位置永不变化 */
.chips.sub-row { transition: opacity var(--t-fast) var(--ease); }
.chips.sub-row.dim { opacity: .45; }
.lib-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 产品卡片 ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid.c4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid.c4, .grid.c3 { grid-template-columns: repeat(2, 1fr); } .grid.c2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid.c4, .grid.c3 { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 400px) { .grid.c4, .grid.c3 { grid-template-columns: 1fr; } }

.pcard {
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med);
  position: relative;
}
.pcard:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(16, 20, 28, 0.25);
}
.pcard .p-fig {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  overflow: hidden;
}
.pcard .p-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--t-slow) var(--ease);
  filter: contrast(1.02);
}
.pcard:hover .p-fig img { transform: scale(1.08) rotate(-1deg); }
.pcard .p-meta { padding: 4px 18px 18px; }
.pcard .p-name { font-family: var(--font-disp); font-weight: 700; font-size: 16.5px; line-height: 1.3; margin: 0 0 6px; }
.pcard .p-spec { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin: 0; line-height: 1.6; }
.pcard .p-cta {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pcard .p-cta .arr { transition: transform var(--t-fast) var(--ease); }
.pcard:hover .p-cta .arr { transform: translateX(4px); }
.pcard .tag { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* 列表视图 */
.pcard.row {
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 10px clamp(14px, 2vw, 24px);
  border-radius: var(--r-md);
}
.pcard.row .p-fig { aspect-ratio: auto; width: clamp(88px, 10vw, 132px); height: clamp(66px, 8vw, 104px); flex: none; padding: 6px; }
.pcard.row .p-meta { padding: 10px 0; flex: 1; }
.pcard.row .p-idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
  width: 3.5em;
  flex: none;
  text-align: right;
}
.pcard.row .p-cta { margin: 0; flex: none; }
@media (max-width: 640px) {
  .pcard.row .p-idx, .pcard.row .p-cta { display: none; }
}

/* 空态 */
.lib-empty { padding: 60px 0; text-align: center; color: var(--faint); display: none; }

.lib-more-wrap { display: flex; justify-content: center; padding: clamp(18px, 3vw, 30px) 0 6px; }
.lib-more-wrap .btn[hidden] { display: none; }
.lib.is-empty .lib-empty { display: block; }
.lib.is-empty .grid { display: none; }

/* ---------- 滚动揭示 ---------- */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(0.07s * var(--d, 0));
}
.rv.in { opacity: 1; transform: none; }
.rv-zoom { opacity: 0; transform: scale(0.96); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv-zoom.in { opacity: 1; transform: none; }

/* ---------- 跑马灯 ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: clamp(40px, 8vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marq 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 24px);
  color: var(--faint);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after { content: "●"; font-size: 8px; color: var(--brand); }
@keyframes marq { to { transform: translateX(-50%); } }
section.dark .marquee { border-color: rgba(255, 255, 255, 0.12); }
section.dark .marquee::before { background: linear-gradient(90deg, var(--navy), transparent); }
section.dark .marquee::after { background: linear-gradient(-90deg, var(--navy), transparent); }
section.dark .marquee-track span { color: rgba(255, 255, 255, 0.38); }

/* ---------- 双横幅 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.duo-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: clamp(240px, 30vw, 380px);
  display: flex;
  align-items: flex-end;
  background: var(--navy-2);
  isolation: isolate;
}
.duo-card .bg { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.duo-card .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.duo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,28,54,0.22) 0%, rgba(13,28,54,0.34) 45%, rgba(13,28,54,0.8) 72%, rgba(13,28,54,0.93) 100%); }
.duo-body { padding: clamp(20px, 3vw, 36px); color: #fff; }
.duo-body h3 { font-family: var(--font-disp); font-size: clamp(20px, 2.6vw, 30px); margin: 10px 0 8px; letter-spacing: -0.01em; }
.duo-body p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.78); max-width: 30em; font-size: 15px; }

/* ---------- 应用场景 ---------- */
.apps-tile {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 32px);
  transition: border-color var(--t-med), transform var(--t-med) var(--ease), background var(--t-med);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.apps-tile:hover { transform: translateY(-4px); border-color: var(--brand); }
.apps-tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--t-med), color var(--t-med), transform var(--t-med) var(--ease);
}
.apps-tile:hover .ico { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.apps-tile h3 { font-family: var(--font-disp); font-size: 19px; margin: 0 0 8px; }
.apps-tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.apps-tile .more {
  position: absolute;
  right: 18px; top: 18px;
  color: var(--faint);
  transition: color var(--t-fast), transform var(--t-fast) var(--ease);
}
.apps-tile:hover .more { color: var(--brand-deep); transform: translate(2px, -2px); }

/* ---------- 深色步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  transition: border-color var(--t-med);
}
.step:hover { border-top-color: var(--brand); }
.step .no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.14em;
}
.step h3 { color: #fff; font-family: var(--font-disp); font-size: 20px; margin: 12px 0 8px; }
.step p { color: rgba(255, 255, 255, 0.66); margin: 0; font-size: 14.5px; }

/* ---------- 关于分栏 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-fig { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3.4; }
.about-fig img, .about-fig .parx { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about-body .h2 { margin-bottom: 18px; }
.about-body p { color: var(--muted); }
.about-points { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.about-points li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.about-points li::before { content: "—"; color: var(--brand); font-weight: 700; flex: none; }

/* ---------- 证书横排 ---------- */
.cert-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.cert-strip figure {
  margin: 0;
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px;
  background: #fff;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.cert-strip figure:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(16, 20, 28, 0.3); }
.cert-strip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: 4px; }
.cert-strip figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }

/* ---------- 新闻卡 ---------- */
.ncard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); overflow: hidden; transition: transform var(--t-med) var(--ease), background var(--t-med), box-shadow var(--t-med); }
.ncard:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 24px 44px -26px rgba(16, 20, 28, 0.28); }
.ncard .n-fig { overflow: hidden; aspect-ratio: 16 / 9; }
.ncard .n-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ncard:hover .n-fig img { transform: scale(1.06); }
.ncard .n-meta { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.ncard time { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.ncard h3 { font-family: var(--font-disp); font-size: 18px; line-height: 1.35; margin: 0; }
.ncard p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 询盘面板 ---------- */
.quote {
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
  padding: clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(68, 115, 185, 0.5), transparent 70%);
  pointer-events: none;
}
.quote-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); position: relative; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
.quote h2 { color: #fff; }
.quote .lede { color: rgba(255, 255, 255, 0.7); }
.q-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.q-list li { display: flex; gap: 12px; align-items: baseline; color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.q-list li::before { content: "→"; color: var(--brand); flex: none; }

/* 表单 */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.12);
}
.form textarea { min-height: 110px; resize: vertical; }
.form select option { color: var(--ink); }
.form .note { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); margin: 0; }
.form-ok {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(68, 115, 185, 0.25);
  border: 1px solid rgba(68, 115, 185, 0.6);
  font-size: 14px;
}
.form.ok .form-ok { display: block; }

/* ---------- 联系信息 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.c-card .wx { font-family: var(--font-mono); font-size: 15px; word-break: break-all; }
.c-card img.qr { display: block; width: 150px; height: 150px; margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.c-card .k.tip { margin-top: 2px; font-weight: 400; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.c-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 2.6vw, 30px); }
.c-card .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-deep); margin: 0 0 10px; }
.c-card p { margin: 0; font-size: 15.5px; }
.c-card a:hover { color: var(--brand-deep); }

/* ---------- 产品详情 ---------- */
.crumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.04em; padding: 120px 0 0; }
.crumb a:hover { color: var(--brand-deep); }
/* 详情两列布局放在 .container 上（.pd 只管上下留白）——否则 .pd 自身的网格会把
   container 挤进左侧第一格，整页偏左不居中；内联样式又压不住媒体查询 */
.pd { padding: clamp(24px, 4vw, 48px) 0; }
.pd > .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .pd > .container { grid-template-columns: 1fr; gap: 18px; } }
.pd-fig {
  background: var(--card);
  border-radius: var(--r-lg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  position: sticky;
  top: 96px;
}
.pd-fig img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-info .h2 { margin: 8px 0 14px; }
.pd-info .desc { color: var(--muted); }
.pd-specs { margin: 24px 0; border-top: 1px solid var(--line); }
.pd-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pd-specs dt { color: var(--muted); margin: 0; }
.pd-specs dd { margin: 0; font-weight: 500; text-align: right; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs img {
  width: 74px; height: 74px;
  object-fit: contain;
  background: var(--card);
  border-radius: 8px;
  padding: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.pd-thumbs img:hover, .pd-thumbs img.on { border-color: var(--brand); transform: translateY(-2px); }
.pd-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.pd-nav a { font-size: 14.5px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.pd-nav a:hover { color: var(--brand-deep); }

/* ---------- 通用页头横幅 ---------- */
.page-hero { padding: clamp(130px, 18vh, 180px) 0 clamp(28px, 4vw, 44px); }
.page-hero .lede { margin-top: 16px; }

/* ---------- 页脚 ---------- */
footer.ft { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: clamp(48px, 7vw, 88px) 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 980px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }
.ft .logo { color: #fff; margin-bottom: 18px; }
.ft-info { display: grid; gap: 6px; font-size: 14.5px; }
.ft-info a:hover { color: #fff; }
.ft h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0 0 14px; }
.ft-col { display: grid; gap: 9px; font-size: 14.5px; align-content: start; }
.ft-col a { color: rgba(255, 255, 255, 0.75); transition: color var(--t-fast), transform var(--t-fast) var(--ease); display: inline-block; }
.ft-col a:hover { color: #fff; transform: translateX(3px); }
.ft-word {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  overflow: hidden;
  margin: clamp(36px, 6vw, 72px) 0 0;
  user-select: none;
}
.ft-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: -12px;
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.ft-bot a:hover { color: #fff; }
.ft-bot .totop {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: #fff;
  color: #0d1c36;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 13px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.totop:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); }
.ft-bot .totop:hover { color: #fff; }

/* ---------- 语言切换提示条 ---------- */
.lang-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(16px);
  z-index: 120;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -14px rgba(16, 20, 28, 0.3);
  border-radius: 999px;
  padding: 9px 10px 9px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  white-space: nowrap;
}
.lang-bar.show { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.lang-bar button {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang-bar button:hover { color: var(--ink); background: var(--card); }
@media (max-width: 480px) {
  .lang-bar { white-space: normal; border-radius: 16px; text-align: center; flex-wrap: wrap; justify-content: center; padding: 12px 16px; max-width: 86vw; }
}

/* ---------- 移动端专属体验（≤700px）：单列大卡、横向滚动筛选、底部询盘条 ---------- */
@media (max-width: 700px) {
  :root { --gut: 16px; }
  section.blk { padding: 56px 0; }
  section.blk.tight { padding: 30px 0; }
  .hd-in { height: 58px; }
  .hd.on .hd-in { height: 52px; }
  .hd .logo { font-size: 16px; gap: 8px; }
  .hd .logo svg { width: 26px; height: 26px; }
  .hd .logo img { height: 30px; }
  .hd .logo .zh-sub { font-size: 8.5px; letter-spacing: 0.22em; }
  .hero { padding: 92px 0 24px; }
  .disp { font-size: clamp(38px, 12.5vw, 48px); }
  .hero-scroll { display: none; }
  .lede { font-size: 15.5px; }
  .btn { padding: 12px 22px; font-size: 14.5px; }

  /* 产品库：单列大卡，一屏一个主角 */
  .grid.c4, .grid.c3 { grid-template-columns: 1fr; gap: 14px; }
  .pcard .p-fig { aspect-ratio: 16/10; padding: 5%; }
  .pcard .p-name { font-size: 17px; }
  .pcard .tag { top: 10px; right: 10px; font-size: 11px; }
  .lib-bar {
    position: sticky;
    top: 58px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 -16px 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .lib-bar .lib-count { font-size: 12px; }
  .lib-tools { width: 100%; }
  .chips {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    margin: 0 -2px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 7px 14px; font-size: 13px; }
  .lib-bar .lib-views { margin-left: auto; }
  .lib-views button { padding: 6px 12px; font-size: 12px; }
  .pcard.row .p-fig { width: 96px; height: 72px; }

  /* 特色横幅 / 双横幅：纵向大卡 */
  .feat { min-height: 74vw; border-radius: 16px; }
  .feat-body { padding: 20px; }
  .duo { gap: 12px; }
  .duo-card { min-height: 90vw; border-radius: 16px; }
  .duo-card .duo-body { padding: 18px; }

  /* 应用场景：横向条目 */
  .apps-tile { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; padding: 15px 16px; }
  .apps-tile .ico { margin: 0; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 10px; }
  .apps-tile h3 { font-size: 16px; }
  .apps-tile p { font-size: 13px; }
  .apps-tile .more { display: none; }

  /* 数据条 / 关于 */
  .stat b { font-size: 34px; }
  .about-fig { aspect-ratio: 4/3; border-radius: 16px; }
  .about-points li { font-size: 14px; }

  /* 新闻单列 */
  .ncard .n-fig { aspect-ratio: 16/9; }

  /* 询盘面板 */
  .quote { padding: 24px 18px; border-radius: 16px; }
  .quote-grid { grid-template-columns: 1fr; gap: 20px; }
  .form .row2 { grid-template-columns: 1fr; }

  /* 产品详情 */
  .pd { padding: 12px 0 24px; }
  .pd > .container { gap: 18px; }
  .pd-fig { position: static; aspect-ratio: 1/1; border-radius: 16px; }
  .pd-thumbs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .pd-thumbs img { flex: none; }
  .pd-nav { gap: 8px; }
  .pd-nav a { padding: 10px 0; font-size: 15px; }

  /* 页面头 / 页脚 */
  .page-hero { padding: 80px 0 18px; }
  .crumb { padding-top: 86px; font-size: 11.5px; }
  .ft-word { font-size: 21vw; margin-top: 26px; }
  .ft-bot { font-size: 12px; }

  /* 语言提示条让位给底部 CTA */
  .lang-bar { bottom: 78px; }
}

/* 底部询盘条（仅移动端） */
.m-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 110;
  gap: 10px;
}
.m-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(43, 92, 168, 0.55);
}
.m-cta .tel {
  flex: none;
  width: 50px;
  padding: 0;
}
body.menu .m-cta { display: none !important; }
@media (max-width: 700px) {
  .m-cta { display: flex; }
  body.has-cta { padding-bottom: 74px; }
}

/* ---------- 视图过渡 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rl > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .rv, .rv-zoom { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 视图切换按钮：桌面版在筛选条内，手机版在计数行右侧（两份、状态由 JS 同步） */
.lib-views.m-only { display: none; }
/* ---------- 手机端产品筛选区紧凑版（计数+视图同一行，两条横向滑动条，两端渐隐提示可滑） ---------- */
@media (max-width: 700px) {
  .lib-bar {
    position: sticky;
    top: 58px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    row-gap: 7px;
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 -16px 14px;
    padding: 8px 16px 10px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(13, 28, 54, 0.06);
  }
  .lib-bar > .lib-count { grid-column: 1; grid-row: 1; font-size: 12px; }
  .lib-bar > .lib-count b { font-size: 14px; }
  .lib-bar > .lib-views { grid-column: 2; grid-row: 1; justify-self: end; padding: 2px; }
  .lib-views button { padding: 5px 11px; font-size: 11.5px; }
  .lib-bar > .lib-tools { grid-column: 1 / -1; grid-row: 2; width: 100%; display: flex; flex-direction: column; gap: 6px; }
  .lib-bar .chips {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 6px;
    scrollbar-width: none;
    padding: 1px 2px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .lib-bar .chips::-webkit-scrollbar { display: none; }
  .lib-bar .chip { flex: none; padding: 6px 13px; font-size: 12.5px; }
  .lib-bar .sub-row .chip { padding: 5px 10px; font-size: 11.5px; }
  .lib-views.m-only { display: inline-flex; }
  .lib-views.desk-only { display: none; }
}

/* ---------- 手机端语言切换：顶部瘦身胶囊（原来只在汉堡菜单里） ---------- */
@media (max-width: 700px) {
  .hd-r { gap: 8px; }
  .hd-r .lang-sw { display: inline-flex; font-size: 11px; }
  .hd-r .lang-sw a { padding: 5px 9px; }
}

/* ---------- 抗字体膨胀 + 大字号/窄屏溢出防护（华为等安卓浏览器字体放大场景） ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.steps > *, .step { min-width: 0; }
.lib-bar, .lib-tools, .lib-bar .chips { min-width: 0; }
@media (max-width: 700px) {
  .lib-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .lib-bar > .lib-tools { align-items: stretch; flex-wrap: nowrap; }
}
.m-cta .btn { min-width: 0; white-space: nowrap; overflow: hidden; font-size: clamp(13px, 3.9vw, 15px); }
.hd-r { min-width: 0; }
.form input, .form textarea { max-width: 100%; }

/* ============ 美学打磨 v1 ============ */
:root {
  --shadow-1: 0 10px 30px -18px rgba(16, 20, 28, 0.18);
  --shadow-2: 0 26px 54px -26px rgba(16, 20, 28, 0.26);
  --shadow-brand: 0 14px 34px -14px rgba(43, 92, 168, 0.5);
}

/* 标题字距微调（更精致的大字号观感） */
.disp { letter-spacing: -0.015em; }
.h2 { letter-spacing: -0.01em; }
.kicker { letter-spacing: 0.16em; }

/* 卡片：常备柔和阴影；悬停时图片轻推近，整体更"有质感" */
.pcard, .ncard { box-shadow: var(--shadow-1); }
.pcard:hover, .ncard:hover { box-shadow: var(--shadow-2); }
.pcard .p-fig img, .ncard .n-fig img {
  transition: transform 0.65s var(--ease);
  will-change: transform;
}
.pcard:hover .p-fig img { transform: scale(1.045); }
.ncard:hover .n-fig img { transform: scale(1.05); }

/* 按钮：箭头随悬停右移、按压缩小；ghost/light 悬停补填充 */
.btn .arr { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }

/* 筛选按钮按压反馈 */
.chip:active { transform: scale(0.96); }

/* 文本链接：悬停下划线生长 */
.ft-col a, .crumb a, .c-card a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.28s var(--ease), color var(--t-fast);
  padding-bottom: 1px;
}
.ft-col a:hover, .crumb a:hover, .c-card a:hover { background-size: 100% 1px; }

/* 跑马灯：悬停暂停（方便看清文字） */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* 导航悬停：仅换色，不动布局 */
.nav a:hover { color: var(--brand-deep); }

/* 表单聚焦柔光 */
.form input:focus, .form textarea:focus, .form select:focus {
  box-shadow: 0 0 0 3px rgba(68, 115, 185, 0.22);
}

/* 键盘可达性（不影响鼠标体验） */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
a, button { cursor: pointer; }

/* 锚点平滑滚动（尊重系统"减少动态效果"设置） */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
