/* =========================================================
   恒锐装备 · 工业样本册视觉系统
   paper / graphite / signal orange / monospace metadata
   ========================================================= */

:root {
  --paper: #F3F0EA;
  --paper-2: #EAE5DC;
  --card: #FAF8F3;
  --ink: #121517;
  --ink-2: #343A3E;
  --muted: #6E7674;
  --line: #D6D0C4;
  --line-strong: #B8B1A3;
  --accent: #D9481F;
  --accent-dark: #B23A16;
  --dark: #00419C;
  --dark-2: #00357D;
  --dark-line: #1E5AB8;
  --tech: #00419C;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", "Courier New", monospace;
  --display: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(0, 65, 156, .055) 1px, transparent 1px);
  background-size: 4px 4px;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.accent { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------ 顶栏 ------------------------------ */

.topbar {
  background: var(--dark);
  color: #EAF3FF;
  border-bottom: 1px solid #002A66;
}
.topbar .wrap {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar .mono { font-size: 10px; letter-spacing: .18em; color: #9AA39E; }
.topbar-right { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.topbar-right a:hover { color: #fff; }
.topbar .dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; }

/* ------------------------------ 页头 ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-logo { height: 42px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-size: 19px; letter-spacing: .02em; }
.brand-text em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: .22em;
  color: var(--muted);
  margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 30px; flex: none; }
.nav a {
  position: relative;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color .2s;
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover:after, .nav a.active:after { width: 100%; }
.nav a.active { color: var(--ink); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search { display: flex; border: 1px solid var(--line-strong); background: var(--card); height: 38px; }
.search input {
  border: 0; background: transparent; padding: 0 12px; width: 150px; font-size: 13px; outline: none;
}
.search button {
  border: 0; background: transparent; padding: 0 10px; border-left: 1px solid var(--line);
  color: var(--ink-2); font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
}
.search button:hover { color: var(--accent); }
.search button { white-space: nowrap; }
.inquiry-link { white-space: nowrap; }

@media (max-width: 1300px) {
  .nav { gap: 20px; }
  .search input { width: 120px; }
  .header-actions { gap: 10px; }
}

.inquiry-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--tech); background: var(--tech); color: var(--paper);
  font-size: 13px;
  transition: background .2s, border-color .2s;
}
.inquiry-link:hover { background: var(--accent); border-color: var(--accent); }
.inquiry-link .count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
}
.inquiry-link:hover .count { background: #fff; color: var(--accent); }

.nav-toggle { display: none; }

/* ------------------------------ 按钮 ------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tech); color: var(--paper); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--tech); background: var(--tech); color: var(--paper); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.link-arrow { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ------------------------------ 首页 Hero ------------------------------ */

.hero { padding: 72px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: stretch; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 26px; }
.kicker .tick { width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero h1 .accent { position: relative; }
.hero h1 .accent:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 8px;
  background: rgba(217, 72, 31, .16); z-index: -1;
}
.lede {
  margin-top: 26px; max-width: 470px; font-size: 16px; line-height: 1.85; color: var(--ink-2);
}
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; margin-top: 44px; padding-top: 18px;
  border-top: 1px solid var(--line); color: var(--muted);
}
.hero-meta span { position: relative; padding-left: 14px; }
.hero-meta span:before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; background: var(--accent);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid #002A66;
  color: var(--paper);
  padding: 18px;
  box-shadow: 10px 10px 0 rgba(18, 21, 23, .08);
}
.hero-panel:before, .hero-panel:after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #FFE1D4;
}
.hero-panel:before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-panel:after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel-head {
  display: flex; justify-content: space-between; color: #DCEBFF; font-size: 10px; padding-bottom: 14px;
}
.panel-head span { color: #FFE1D4; }
.panel-media { display: block; position: relative; flex: 1 1 0; min-height: 0; border: 1px solid var(--dark-line); overflow: hidden; }
.panel-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s var(--ease);
}
.panel-media:hover img { transform: scale(1.03); }
.panel-body { padding: 20px 4px 4px; }
.panel-model { color: #FFE1D4; font-size: 11px; }
.panel-body h2 { font-size: 26px; margin-top: 6px; color: #FFFFFF; text-wrap: balance; }
.panel-body h2.sol-title { font-size: 20px; line-height: 1.45; }
.panel-specs { margin-top: 18px; border-top: 1px solid var(--dark-line); }
.panel-specs li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--dark-line);
  font-size: 12.5px;
}
.panel-specs span { color: #DCEBFF; }
.panel-specs b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: #FFFFFF; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.panel-foot .price { font-family: var(--display); font-size: 22px; color: #fff; }
.panel-foot .link-arrow { color: #FFFFFF; border-color: rgba(255,255,255,.5); }
.panel-foot .link-arrow:hover { color: #FFE1D4; border-color: #FFE1D4; }

/* ------------------------------ 区块标题 ------------------------------ */

.section { padding: 96px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .label { display: flex; align-items: baseline; gap: 14px; color: var(--muted); margin-bottom: 10px; }
.section-head .label b { color: var(--accent); font-weight: 400; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.section-head .side { color: var(--muted); font-size: 13px; max-width: 320px; text-align: right; }

/* ------------------------------ 分类 ------------------------------ */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card {
  position: relative; background: var(--card); padding: 26px 26px 30px; min-height: 178px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .28s, color .28s;
}
.cat-card .num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; }
.cat-card h3 { font-size: 23px; margin-top: 8px; }
.cat-card .en { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--muted); }
.cat-card .desc { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.cat-card .count { position: absolute; right: 24px; bottom: 22px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cat-card .arrow { position: absolute; right: 22px; top: 22px; opacity: 0; transform: translateX(-6px); transition: .28s var(--ease); }
.cat-card:hover { background: var(--tech); color: var(--paper); }
.cat-card:hover .en, .cat-card:hover .desc, .cat-card:hover .count { color: #9AA39E; }
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* ------------------------------ 产品卡 ------------------------------ */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-card {
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.p-card[hidden] { display: none !important; }
.p-card:hover { border-color: var(--tech); box-shadow: 6px 6px 0 rgba(18, 21, 23, .07); transform: translateY(-2px); }
.p-media { position: relative; display: block; background: var(--dark); overflow: hidden; }
.p-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-model {
  position: absolute; left: 12px; top: 12px;
  background: rgba(16, 19, 21, .82); color: #D9D4C7;
  padding: 4px 8px; font-size: 9.5px; letter-spacing: .1em;
}
.p-badge {
  position: absolute; right: 12px; top: 12px;
  background: var(--accent); color: #fff;
  font-size: 11px; padding: 3px 8px; letter-spacing: .04em;
}
.p-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.p-cat { color: var(--muted); font-size: 9.5px; letter-spacing: .16em; }
.p-body h3 { font-size: 19px; margin-top: 7px; line-height: 1.3; }
.p-body h3 a:hover { color: var(--accent); }
.p-sum {
  margin-top: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.p-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.p-price { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.p-price small { font-family: var(--body); font-size: 10px; color: var(--muted); font-weight: 400; }
.btn-mini {
  border: 1px solid var(--line-strong); background: transparent;
  height: 32px; padding: 0 12px; font-size: 12px; color: var(--ink-2);
  transition: .2s;
}
.btn-mini:hover { background: var(--tech); border-color: var(--tech); color: var(--paper); }

/* ------------------------------ 流程（深色） ------------------------------ */

.flow { background: var(--dark); color: var(--paper); border-top: 1px solid #002A66; }
.flow .section-head h2 { color: #FFFFFF; }
.flow .section-head .label, .flow .section-head .side { color: #DCEBFF; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.flow-step { background: var(--dark-2); padding: 30px 24px 34px; min-height: 230px; position: relative; }
.flow-step .step-num {
  font-family: var(--display); font-size: 56px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55);
}
.flow-step h3 { font-size: 19px; margin-top: 18px; color: #FFFFFF; }
.flow-step p { font-size: 12.5px; color: #DCEBFF; margin-top: 10px; line-height: 1.7; }
.flow-step .tag { position: absolute; top: 26px; right: 22px; font-family: var(--mono); font-size: 9px; color: #FFE1D4; letter-spacing: .14em; }
.flow-step:hover .step-num { -webkit-text-stroke-color: #FFE1D4; }

/* ------------------------------ 数据条 ------------------------------ */

.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: 42px; line-height: 1; letter-spacing: -.03em; }
.stat b i { font-style: normal; color: var(--accent); font-size: 22px; }
.stat span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------ CTA ------------------------------ */

.cta-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 0; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.cta-inner p { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.cta-actions { display: flex; gap: 12px; flex: none; }

/* ------------------------------ 页脚 ------------------------------ */

.site-footer { background: var(--dark); color: #EAF3FF; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .brand-text strong { color: #FFFFFF; }
.footer-brand .brand-text em { color: #C9DEFF; }
.footer-brand p { margin-top: 18px; font-size: 12.5px; line-height: 1.9; color: #D6E7FF; max-width: 280px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: #C9DEFF; font-weight: 400; margin-bottom: 16px; text-transform: uppercase; }
.footer-col li { margin-bottom: 9px; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-col .mono { display: block; margin-bottom: 8px; letter-spacing: .06em; text-transform: none; font-size: 11px; color: #C9DEFF; }
.footer-contact strong { font-family: var(--display); font-size: 24px; color: #FFFFFF; display: block; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.3); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #C9DEFF;
}

/* ------------------------------ 内页头 ------------------------------ */

.page-head { padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--line-strong); }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.page-head .sub { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 640px; }

/* ------------------------------ 列表页 ------------------------------ */

.listing { padding: 44px 0 96px; }
.listing-grid { display: grid; grid-template-columns: 236px 1fr; gap: 46px; align-items: start; }

.filters { position: sticky; top: 110px; }
.filter-block { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.filter-block:first-child { border-top: 0; padding-top: 0; }
.filter-block h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 400; margin-bottom: 14px; text-transform: uppercase; }
.filter-list li { margin-bottom: 2px; }
.filter-list a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 7px 10px; font-size: 13.5px; color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: .18s;
}
.filter-list a small { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.filter-list a:hover { background: var(--paper-2); }
.filter-list a.active { border-left-color: var(--accent); background: var(--paper-2); color: var(--ink); font-weight: 600; }
.filter-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar .result { font-size: 13px; color: var(--muted); }
.toolbar .result b { color: var(--ink); font-family: var(--mono); font-weight: 400; }
.sorts { display: flex; gap: 4px; }
.sorts a { padding: 7px 12px; font-size: 12.5px; color: var(--muted); border: 1px solid transparent; }
.sorts a:hover { color: var(--ink); }
.sorts a.active { border-color: var(--line-strong); color: var(--ink); background: var(--card); }

.empty { padding: 80px 0; text-align: center; color: var(--muted); }
.empty h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 46px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 12px;
}
.pagination a:hover { border-color: var(--tech); background: var(--tech); color: var(--paper); }
.pagination .current { background: var(--tech); color: var(--paper); border-color: var(--tech); }
.pagination .dots { border-color: transparent; }

/* ------------------------------ 详情页 ------------------------------ */

.detail { padding: 40px 0 96px; }
.detail-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: start; }
.gallery-main { border: 1px solid var(--line); background: var(--dark); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); background: var(--dark); width: 92px; }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; }

.detail-info .p-cat { font-size: 10px; }
.detail-info h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-top: 10px; }
.detail-info .model-line { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.detail-info .model-line .mono { background: var(--tech); color: var(--paper); padding: 5px 9px; font-size: 10px; letter-spacing: .1em; }
.detail-info .model-line .badge { background: var(--accent); color: #fff; padding: 4px 9px; font-size: 11px; }
.detail-sum { margin-top: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.price-box { margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.price-box .price { font-family: var(--display); font-size: 36px; line-height: 1; letter-spacing: -.02em; }
.price-box .price small { font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 400; }
.price-box .note { font-size: 11.5px; color: var(--muted); text-align: right; }

.key-specs { margin-top: 22px; }
.key-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.key-specs span { color: var(--muted); }
.key-specs b { font-family: var(--mono); font-weight: 400; font-size: 12px; }

.buy-row { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.buy-row .qty { height: 50px; }
.buy-row .qty button { width: 30px; }
.buy-row .qty input { width: 40px; }
.buy-row > .btn { padding-left: 14px; padding-right: 14px; }
.buy-phone {
  display: flex; flex-direction: column; justify-content: center;
  gap: 1px; flex: 0 0 158px; width: 158px; min-width: 0; margin-left: auto;
  padding: 4px 12px; height: 50px;
  border: 1px solid var(--line-strong); background: var(--card);
}
.buy-phone span {
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--muted);
}
.buy-phone a {
  font-family: var(--display); font-size: 22px; line-height: 1.1;
  letter-spacing: .01em; color: var(--ink); white-space: nowrap;
}
.buy-phone a:hover { color: var(--accent); }
.qty { display: flex; border: 1px solid var(--line-strong); height: 50px; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--accent); }
.qty input { width: 52px; border: 0; text-align: center; background: transparent; font-family: var(--mono); font-size: 13px; }
.service-row { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.service-row span { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.service-row span:before { content: ""; width: 6px; height: 6px; border: 1px solid var(--accent); }

.detail-tabs { margin-top: 72px; scroll-margin-top: 100px; }
.tab-head { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.tab-head button {
  border: 0; background: transparent; padding: 14px 24px; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-head button.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { display: none; padding-top: 30px; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:hover { background: var(--card); }
.spec-table th { text-align: left; font-weight: 400; color: var(--muted); width: 30%; padding: 13px 16px 13px 0; }
.spec-table td { padding: 13px 0; font-family: var(--mono); font-size: 12.5px; }
.prose { max-width: 760px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.prose p { margin-bottom: 18px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 8px; }
.feature-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.feature-list li:before { content: "＋"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

.related { margin-top: 72px; }

/* ------------------------------ 询价单 ------------------------------ */

.inquiry-page { padding: 44px 0 96px; }
.inquiry-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  text-align: left; color: var(--muted); font-weight: 400; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line-strong);
}
.cart-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 76px; height: 58px; object-fit: cover; background: var(--dark); border: 1px solid var(--line); }
.cart-item .name { font-size: 14px; font-weight: 600; }
.cart-item .model { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.cart-remove { border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; }
.cart-remove:hover { color: var(--accent); }
.cart-empty { padding: 70px 0; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); }

.form-card { background: var(--card); border: 1px solid var(--line); padding: 28px; }
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card .hint { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); background: #fff;
  padding: 11px 12px; font-size: 13.5px; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--tech); }
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.7; }
.form-error { background: #FBEAE5; border: 1px solid #E8B6A6; color: #8A2C12; padding: 10px 12px; font-size: 12.5px; margin-bottom: 14px; display: none; }

.summary-box { border-top: 1px solid var(--line-strong); margin-top: 20px; padding-top: 16px; }
.summary-box div { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.summary-box .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-family: var(--display); font-size: 20px; }

/* ------------------------------ 关于 / 联系 ------------------------------ */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-copy p { font-size: 14.5px; line-height: 2; color: var(--ink-2); margin-bottom: 18px; }
.about-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-figures div { background: var(--card); padding: 26px; }
.about-figures b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.about-figures span { font-size: 12px; color: var(--muted); display: block; margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-list li { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; gap: 24px; }
.contact-list .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); width: 76px; flex: none; padding-top: 4px; text-transform: uppercase; }
.contact-list .v { font-size: 14.5px; }
.contact-list .v small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

/* ------------------------------ 成功页 ------------------------------ */

.success-wrap { padding: 110px 0 130px; text-align: center; }
.success-mark { width: 64px; height: 64px; border: 1px solid var(--tech); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.success-wrap h1 { font-size: clamp(30px, 4vw, 44px); }
.success-wrap .code { margin-top: 18px; font-family: var(--mono); font-size: 14px; letter-spacing: .12em; color: var(--accent); }
.success-wrap p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.success-actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; }

/* ------------------------------ 404 ------------------------------ */

.notfound { padding: 120px 0 140px; text-align: center; }
.notfound .big { font-family: var(--display); font-size: clamp(90px, 14vw, 160px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.notfound h1 { font-size: 26px; margin-top: 18px; }
.notfound p { color: var(--muted); margin-top: 10px; }

/* ------------------------------ 提示条 ------------------------------ */

[hidden] { display: none !important; }

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  display: flex; align-items: center; gap: 18px;
  background: var(--tech); color: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 14px 18px; font-size: 13px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: var(--accent); font-size: 12.5px; white-space: nowrap; }

/* ------------------------------ 动效 ------------------------------ */

.reveal { opacity: 1; transform: none; }
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-anim .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .js-anim .reveal { opacity: 1; transform: none; }
}

.data-note {
  margin-top: 24px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px; line-height: 1.7; color: var(--muted);
}

/* ------------------------------ 资料下载 / 说明书 ------------------------------ */

.dl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.dl-tabs a {
  font-size: 12.5px; padding: 8px 14px; border: 1px solid var(--line);
  color: var(--ink-2); background: var(--card); transition: .18s;
}
.dl-tabs a:hover { border-color: var(--tech); }
.dl-tabs a.active { background: var(--tech); color: var(--paper); border-color: var(--tech); }
.dl-tabs a small { font-family: var(--mono); font-size: 10px; opacity: .55; margin-left: 4px; }

.dl-group { margin-bottom: 44px; }
.dl-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.dl-head h2 { font-size: 22px; }
.dl-head span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .1em; }

.file-list { margin: 0; padding: 0; list-style: none; }
.dl-inline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.dl-inline-head p { font-size: 13px; color: var(--muted); }
.file-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.file-badge {
  width: 38px; height: 46px; flex: none;
  border: 1px solid var(--line-strong); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--accent);
}
.file-main { flex: 1; min-width: 0; }
.file-main b { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.file-main small { display: block; color: var(--muted); font-size: 11px; font-family: var(--mono); margin-top: 3px; }
.file-main .file-for { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.file-main .file-for a { color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.file-main .file-for a:hover { color: var(--accent); border-color: var(--accent); }
.file-actions { display: flex; gap: 8px; flex: none; }
.file-actions a { font-size: 12px; border: 1px solid var(--line-strong); padding: 5px 10px; line-height: 1.4; transition: .18s; }
.file-actions a:hover { background: var(--tech); color: var(--paper); border-color: var(--tech); }
.file-actions a.primary { background: var(--tech); color: var(--paper); border-color: var(--tech); }
.file-actions a.primary:hover { background: var(--accent); border-color: var(--accent); }
.file-jump { font-size: 11.5px; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.dl-empty { padding: 70px 0; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); }

/* ------------------------------ 应用方案 ------------------------------ */

.solution-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.solution-card { display: flex; flex-direction: column; background: var(--card); color: var(--ink); }
.solution-card .cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); border-bottom: 1px solid var(--line); }
.solution-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.solution-card:hover .cover img { transform: scale(1.03); }
.solution-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.solution-card .meta { display: flex; gap: 14px; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.solution-card h2 { font-size: 22px; line-height: 1.35; margin: 10px 0 8px; }
.solution-card p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.solution-card .more { margin-top: auto; padding-top: 18px; font-size: 12px; color: var(--accent); }

.article { max-width: 860px; margin: 44px auto 0; }
.article-head .article-meta { display: flex; gap: 16px; font-size: 10.5px; letter-spacing: .1em; color: var(--muted); }
.article-head h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; margin: 14px 0 10px; }
.article-sub { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.article-cover { margin: 30px 0; border: 1px solid var(--line); background: var(--dark); }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { font-size: 15px; line-height: 2; color: var(--ink-2); }
.article-body h2 { font-size: 22px; line-height: 1.4; color: var(--ink); margin: 34px 0 12px; }
.article-body h3 { font-size: 18px; color: var(--ink); margin: 26px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 6px; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 22px 0; border: 1px solid var(--line); }
.article-body blockquote { margin: 20px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.article-body a { color: var(--accent); border-bottom: 1px solid currentColor; }
.article-cta {
  margin: 40px 0 20px; padding: 24px 26px; border: 1px solid var(--line); background: var(--card);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-cta h3 { font-size: 18px; margin-bottom: 6px; }
.article-cta p { font-size: 13px; color: var(--muted); }

.product-solutions { margin-top: 72px; }
.solution-products { margin: 48px 0 76px; }
.rp-list { list-style: none; margin: 0; padding: 0; max-width: 860px; border-top: 1px solid var(--line); }
.rp-list li { border-bottom: 1px solid var(--line); }
.rp-list li[hidden] { display: none !important; }
.rp-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 4px; font-size: 15px; color: var(--ink);
}
.rp-list a:after { content: "→"; color: var(--muted); font-size: 13px; }
.rp-list a:hover, .rp-list a:hover:after { color: var(--accent); }

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .search input { width: 110px; }
  .hero-grid { gap: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 1px solid var(--line-strong); background: transparent;
    font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  }
  .search { display: none; }
  .header-inner { height: 68px; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { height: auto; }
  .panel-media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .panel-media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-meta { flex-wrap: wrap; gap: 14px 22px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head .side { text-align: left; }
  .listing-grid { grid-template-columns: 1fr; gap: 28px; }
  .filters { position: static; }
  .filter-block { padding: 14px 0 16px; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list li { margin: 0; }
  .filter-list a { border: 1px solid var(--line); padding: 6px 10px; }
  .filter-list a.active { border-color: var(--tech); background: var(--tech); color: var(--paper); }
  .filter-list a small { color: inherit; opacity: .6; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .solution-grid { grid-template-columns: 1fr; }
  .article { margin-top: 28px; }
  .article-cta { padding: 20px; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-list { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .file-list li { flex-wrap: wrap; }
  .file-actions { width: 100%; padding-left: 54px; }
  .topbar .wrap { justify-content: flex-end; }
  .topbar .wrap > .mono { display: none; }
  .topbar-right span:not(.dot) { display: none; }
  .topbar-right { gap: 0; }
  .brand-text em { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { min-height: 148px; padding: 18px 16px 24px; }
  .cat-card h3 { font-size: 19px; margin-top: 4px; }
  .cat-card .desc {
    font-size: 11px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .cat-card .count { right: 16px; bottom: 14px; font-size: 9.5px; }
  .cat-card .arrow { right: 16px; top: 18px; }
  .flow-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 14px; }
  .panel-specs li:nth-child(n+4) { display: none; }
  .buy-row .btn { flex: 1 1 100%; }
  .buy-phone { flex: 1 1 100%; width: 100%; margin-left: 0; height: 54px; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-item img { width: 56px; height: 44px; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}
