/* ==========================================================================
   MICROSS Special Vehicles — 设计系统
   工业实用美学：深墨 + 纸白 + 单一工程橙；mono 数据标注；1px 网格线。
   ========================================================================== */

:root {
  /* 色板（中性色偏向品牌墨色，避免纯黑纯白） */
  --ink-950: #141518;
  --ink-900: #1a1c1f;
  --ink-800: #222529;
  --ink-700: #2e3237;
  --ink-600: #454a51;
  --ink-500: #666c74;
  --ink-400: #8b9098;
  --ink-300: #b6bac1;
  --ink-200: #d6d9dd;
  --ink-100: #e6e7e9;
  --paper: #f5f4f0;
  --paper-2: #edebe4;
  --line: #dcdbd4;

  /* 强调色：工程橙（唯一强调，用于 CTA / active / 关键数据） */
  --accent: #ff5a1f;
  --accent-strong: #e84a12;
  --accent-soft: #ffe1d4;
  --accent-ink: #b23a08;

  --ok: #1d8a56;

  /* 字体 */
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;

  /* 间距（流式） */
  --s-1: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --s-2: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  --s-3: clamp(1.25rem, 1rem + 1vw, 2rem);
  --s-4: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --s-5: clamp(3rem, 2rem + 4vw, 6rem);

  --container: 1200px;
  --radius: 4px;
  --nav-h: 64px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 82;
  font-size: clamp(2.8rem, 1.7rem + 4.4vw, 5.2rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
}
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
.h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.lead { font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.22rem); color: var(--ink-600); max-width: 60ch; }

.mono { font-family: var(--font-mono); }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-3); }
.section { padding-block: var(--s-5); }
.section--tight { padding-block: var(--s-4); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink-950);
  color: #fff;
  height: var(--nav-h);
  border-bottom: 1px solid var(--ink-700);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.nav__logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo-text { display: none; }
.nav__menu { display: flex; align-items: center; gap: clamp(0.8rem, 0.5rem + 1.5vw, 1.8rem); }
.nav__links { display: flex; align-items: center; gap: clamp(0.8rem, 0.5rem + 1.5vw, 1.8rem); }
.nav__link {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-300);
  position: relative; padding-block: 0.4rem; transition: color .2s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link.is-current { color: #fff; }
.nav__link.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
}
.nav__cta {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em;
  background: var(--accent); color: #fff; padding: 0.6rem 1.1rem; border-radius: var(--radius);
  white-space: nowrap;
  transition: background .2s var(--ease);
}
.nav__cta:hover { background: var(--accent-strong); }
.nav__burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__burger svg { width: 22px; height: 22px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: all .2s var(--ease); cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--ghost { border-color: var(--ink-200); color: var(--ink-900); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-900); }
.btn--ghost-light { border-color: var(--ink-600); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { padding: 1rem 1.8rem; font-size: 0.9rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.78rem; }
.btn--tg { background: #229ed9; color: #fff; border-color: #229ed9; }
.btn--tg:hover { background: #1b86bd; border-color: #1b86bd; }
.btn-group-inline { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 指标 / 大数字 ---------- */
.metric { font-family: var(--font-mono); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.metric small { font-size: 0.55em; font-weight: 500; color: var(--ink-500); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink-950); color: #fff; overflow: hidden; position: relative;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-4); align-items: center; padding-block: calc(var(--s-5) * 1.1); position: relative; z-index: 1; }
.hero__eyebrow { color: var(--accent); }
.hero__title { margin-block: 1.1rem 1.3rem; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { color: var(--ink-300); font-size: 1.05rem; max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__watermark {
  position: absolute; right: -0.6rem; bottom: -1.6rem; z-index: 0;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 72;
  font-size: clamp(5rem, 11vw, 11rem); line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
  user-select: none; pointer-events: none; white-space: nowrap;
}
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; top: 1.4rem; right: -1.3rem; bottom: -1.3rem; left: 1.3rem;
  border: 1px solid rgba(255,90,31,.5); border-radius: var(--radius); pointer-events: none;
}
.hero__media img {
  width: 100%; height: auto; aspect-ratio: 1216 / 832; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--ink-700);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.hero__tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(20,21,24,.88); color: #fff; padding: 0.5rem 0.85rem;
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-700);
  border: 1px solid var(--ink-700); border-radius: var(--radius); margin-top: var(--s-3); overflow: hidden;
}
.hero__stat { background: var(--ink-900); padding: 1.1rem 1.2rem; }
.hero__stat .metric { color: #fff; }
.hero__stat span { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--ink-400); }

/* ---------- 品牌 marquee ---------- */
.brands { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.brands__track { display: flex; gap: var(--s-4); padding-block: var(--s-2); animation: marquee 28s linear infinite; width: max-content; }
.brands__item {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em;
  color: var(--ink-500); white-space: nowrap; display: flex; align-items: center; gap: var(--s-4);
}
.brands__item::after { content: "·"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 区块头 ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.section-head__link { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-strong); }

/* ---------- 车型卡片 ---------- */
.veh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.veh-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 1px 2px rgba(20,21,24,.05);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.veh-card:hover { transform: translateY(-4px); border-color: var(--ink-300); box-shadow: 0 24px 48px -24px rgba(20,21,24,.3); }
.veh-card__media { position: relative; aspect-ratio: 4/3; background: var(--paper-2); overflow: hidden; }
.veh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.veh-card:hover .veh-card__media img { transform: scale(1.04); }
.veh-card__cat {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(20,21,24,.82); color: #fff; padding: 0.28rem 0.55rem; border-radius: 3px;
}
.veh-card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.veh-card__model { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-500); letter-spacing: 0.03em; display: flex; align-items: center; gap: 0.45rem; }
.veh-card__model::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }
.veh-card__title { font-size: 1.1rem; line-height: 1.2; }
.veh-card__title a::after { content: ""; position: absolute; inset: 0; }
.veh-card__specs { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.veh-spec { display: flex; flex-direction: column; }
.veh-spec span { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); }
.veh-spec strong { font-family: var(--font-mono); font-size: 0.86rem; font-weight: 600; color: var(--ink-900); }
.veh-card__actions {
  margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.veh-card__more { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--accent-strong); }
.veh-card__more .arrow { transition: transform .2s var(--ease); }
.veh-card:hover .veh-card__more .arrow { transform: translateX(3px); }
.veh-card__quote {
  position: relative; z-index: 2; flex-shrink: 0;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  color: #fff; background: var(--accent); padding: 0.42rem 0.85rem; border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.veh-card__quote:hover { background: var(--accent-strong); }
.veh-card__count {
  position: absolute; right: 0.75rem; bottom: 0.75rem;
  font-family: var(--font-mono); font-size: 0.64rem; color: #fff;
  background: rgba(20,21,24,.72); padding: 0.22rem 0.5rem; border-radius: 3px;
}

/* 对比勾选 */
.veh-card__cmp {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-300);
  background: rgba(255,255,255,.92); padding: 0.3rem 0.55rem; border-radius: 3px; border: 1px solid var(--line);
}
.veh-card__cmp input { accent-color: var(--accent); width: 13px; height: 13px; cursor: pointer; }
.veh-card__cmp.is-on { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- 筛选工具栏 ---------- */
.tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.tab {
  font-family: var(--font-mono); font-size: 0.8rem; padding: 0.55rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-600);
  transition: all .18s var(--ease); background: #fff;
}
.tab em { font-style: normal; color: var(--ink-400); margin-left: 0.3rem; font-size: 0.72rem; }
.tab:hover { border-color: var(--ink-400); }
.tab.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.tab.is-active em { color: var(--ink-400); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; padding: 0.4rem 0.75rem;
  border: 1px solid var(--line); border-radius: 100px; color: var(--ink-600); background: #fff;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--ink-400); }
.chip.is-active { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- 筛选面板（方案 A） ---------- */
.catalog-bar { display: flex; justify-content: flex-end; margin-bottom: var(--s-2); }
.search { position: relative; }
.search input {
  font-family: var(--font-mono); font-size: 0.82rem; height: 38px; padding: 0 0.9rem 0 2.2rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; width: 260px;
  transition: border-color .2s var(--ease), width .25s var(--ease);
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); width: 300px; }
.search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-400); }

.filter-toggle { display: none; }

.filter-panel {
  position: relative; background: #fff; border: 1px solid var(--ink-200); border-radius: 10px;
  padding: 0.35rem var(--s-3); margin-bottom: var(--s-3);
  box-shadow: 0 1px 2px rgba(20,21,24,.05); overflow: hidden;
}
.filter-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.filter-panel__row { padding-block: 0.6rem; }
.filter-panel__row + .filter-panel__row { border-top: 1px dashed var(--line); }
.filter-panel__row--split { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.filter-panel__group { display: flex; align-items: center; gap: 0.8rem; min-width: 0; flex-wrap: wrap; }
.filter-panel__label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; }
.filter-panel__done { display: none; }

.sort { display: flex; align-items: center; gap: 0.5rem; }
.sort label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-500); }
.filters { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.filters select, .sort select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.78rem; height: 38px; padding: 0 2rem 0 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-900);
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666c74' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.filters select:hover, .sort select:hover { border-color: var(--ink-400); }
.filters select:focus, .sort select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.chip em { font-style: normal; margin-left: 0.35rem; font-size: 0.66rem; color: var(--ink-400); }
.chip.is-active em { color: var(--accent-ink); }

.veh-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-500); }
.veh-empty { padding: var(--s-4); text-align: center; color: var(--ink-500); border: 1px dashed var(--line); border-radius: var(--radius); }
.veh-empty .text-muted { margin-top: 0.4rem; }
.btn-group-center { justify-content: center; }

/* 筛选状态摘要（面板内底部） */
.filter-summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  padding: 0.55rem 0.8rem; margin: 0.2rem 0 0.55rem;
  background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius);
}
.filter-summary[hidden] { display: none; }
.filter-summary__label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--accent-ink); }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent-ink);
  background: #fff; border: 1px solid var(--accent); border-radius: 100px; padding: 0.22rem 0.6rem;
  transition: background .15s var(--ease);
}
.filter-chip:hover { background: #fff5ef; }
.filter-chip__x { font-size: 0.9rem; line-height: 1; color: var(--accent); }
.filter-summary__clear {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px;
}

/* ---------- 对比 ---------- */
.cmp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink-950); color: #fff; padding: 0.9rem var(--s-3);
  transform: translateY(100%); transition: transform .3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
}
.cmp-bar.is-show { transform: translateY(0); }
.cmp-bar__hint { font-size: 0.85rem; color: var(--ink-300); }
.cmp-bar__slots { display: flex; gap: 0.5rem; }
.cmp-bar__slot {
  font-family: var(--font-mono); font-size: 0.72rem; padding: 0.35rem 0.7rem;
  border: 1px dashed var(--ink-600); border-radius: 3px; color: var(--ink-400);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.cmp-bar__slot.is-filled { border-style: solid; border-color: var(--accent); color: #fff; }
.cmp-bar__x { font-size: 0.95rem; line-height: 1; color: var(--accent); padding: 0; }
.cmp-bar__x:hover { color: #fff; }
.cmp-modal { position: fixed; inset: 0; z-index: 200; background: rgba(14,15,17,.7); display: none; align-items: center; justify-content: center; padding: var(--s-3); }
.cmp-modal.is-open { display: flex; }
.cmp-modal__panel { background: #fff; border-radius: var(--radius); width: min(920px, 100%); max-height: 88vh; overflow: auto; }
.cmp-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.cmp-modal__close { font-size: 1.5rem; line-height: 1; color: var(--ink-500); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 0.8rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-family: var(--font-mono); font-size: 0.8rem; position: sticky; top: 56px; background: var(--paper-2); }
.cmp-table thead th img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; margin-bottom: 0.6rem; }
.cmp-table thead th .cmp-name { font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.cmp-table tbody th { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.04em; width: 180px; }
.cmp-table tbody td { font-family: var(--font-mono); font-size: 0.84rem; }

/* ---------- 详情页 ---------- */
.crumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-500); display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--s-3); }
.crumb a { color: var(--ink-500); }
.crumb a:hover { color: var(--accent-strong); }
.crumb span { color: var(--ink-300); }

.detail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-4); align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 1rem); }
.gallery__main { aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.gallery__thumb { width: 76px; height: 60px; border: 2px solid transparent; border-radius: 3px; overflow: hidden; padding: 0; opacity: .7; transition: all .18s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--accent); opacity: 1; }

.detail__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-soft); padding: 0.3rem 0.7rem; border-radius: 100px;
}
.detail__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-block: 0.8rem 0.4rem; }
.detail__model { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-500); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-block: 1.4rem; }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-500); background: var(--paper-2); width: 46%; }
.spec-table td { font-family: var(--font-mono); font-size: 0.86rem; font-weight: 500; }

/* ---------- 询盘表单 ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__field label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-600); }
.form__field label .req { color: var(--accent); }
.form__field input, .form__field select, .form__field textarea {
  padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s var(--ease);
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--ink-900); }
.form__field textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: 0.78rem; color: var(--ink-500); }
.form__success { display: none; padding: 1rem 1.2rem; border: 1px solid var(--ok); border-radius: var(--radius); background: #eaf6ef; color: #135e3a; font-size: 0.9rem; }
.form__success.is-show { display: block; }

/* ---------- FAQ ---------- */
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 0.7rem; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; text-align: left; font-weight: 600; font-size: 1rem;
}
.faq__q .icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .25s var(--ease); }
.faq__q .icon::before, .faq__q .icon::after { content: ""; position: absolute; background: var(--ink-900); }
.faq__q .icon::before { left: 3px; right: 3px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq__q .icon::after { top: 3px; bottom: 3px; left: 50%; width: 2px; transform: translateX(-50%); transition: transform .25s var(--ease); }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-600); }

/* ---------- 步骤 / 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.4rem; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--accent-strong);
  display: block; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--ink-600); }

/* ---------- 引用卡 ---------- */
.quote { border-left: 3px solid var(--accent); padding: 1rem 1.4rem; background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-size: 1.05rem; color: var(--ink-700); font-style: italic; }
.quote footer { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-500); }

/* ---------- CTA 横条 ---------- */
.cta-band {
  background: var(--ink-950); color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding-block: var(--s-4); }
.cta-band__inner h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }
.cta-band__inner p { color: var(--ink-300); max-width: 56ch; margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--ink-300); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-4); padding-block: var(--s-5); }
.footer__logo { height: 30px; width: auto; margin-bottom: 1rem; }
.footer__text { font-size: 0.9rem; color: var(--ink-400); max-width: 40ch; }
.footer__mail { display: inline-block; margin-top: 1rem; font-family: var(--font-mono); font-size: 0.85rem; color: #fff; }
.footer__mail:hover { color: var(--accent); }
.footer__heading { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); margin-bottom: 1rem; }
.footer__list li { margin-bottom: 0.6rem; }
.footer__list a { font-size: 0.9rem; color: var(--ink-300); transition: color .2s var(--ease); }
.footer__list a:hover { color: #fff; }
.footer__list-plain li { font-size: 0.9rem; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; border-top: 1px solid var(--ink-800); font-size: 0.78rem; color: var(--ink-500); }

/* ---------- 浮动联系按钮（WhatsApp + Telegram） ---------- */
.float-stack { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; display: flex; flex-direction: column; gap: 0.7rem; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 8px 24px -8px rgba(20,21,24,.5);
  transition: transform .2s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: #25d366; }
.float-btn--tg { background: #229ed9; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 通用辅助 ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); }

/* 页面 hero（内页标题区） */
.page-hero {
  background: var(--ink-950); color: #fff; padding-block: var(--s-5);
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero__eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); margin-block: 0.8rem 1rem; }
.page-hero .lead { color: var(--ink-300); }

/* 特性网格 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.feature {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.5rem;
  overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.feature:hover { border-color: var(--ink-300); transform: translateY(-2px); }
.feature:hover::before { transform: scaleX(1); }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.9rem; color: var(--ink-600); margin-bottom: 0.9rem; }

/* 首页引用网格 */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: center; }

/* 联系页网格 */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-4); align-items: start; }

/* 变体：白底指标 / 深色步骤卡 / 窄容器 */
.hero__stats--light { background: var(--line); border-color: var(--line); }
.hero__stats--light .hero__stat { background: #fff; }
.hero__stats--light .metric { color: var(--ink-900); }
.hero__stats--4 { grid-template-columns: repeat(4, 1fr); }
.step--dark { background: var(--ink-900); border-color: var(--ink-700); }
.step--dark h3 { color: #fff; }
.step--dark p { color: var(--ink-300); }
.container--narrow { max-width: 820px; }

/* 工具类（替代行内样式） */
.band--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.band--dark { background: var(--ink-950); color: #fff; }
.text-muted { color: var(--ink-600); }
.lead--full { max-width: none; }
.text-sm-mono { font-family: var(--font-mono); font-size: 0.88rem; word-break: break-all; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .veh-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .detail__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink-950); padding: 1rem var(--s-3) 1.5rem; gap: 0;
    border-bottom: 1px solid var(--ink-700); transform: translateY(-120%); transition: transform .3s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { padding: 0.85rem 0; border-bottom: 1px solid var(--ink-800); font-size: 1rem; display: block; }
  .nav__cta { margin-top: 1rem; justify-content: center; }
  .nav__burger { display: flex; color: #fff; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .search input:focus { width: 100%; }
  .catalog-bar { justify-content: stretch; }

  /* 筛选面板 → 底部抽屉 */
  .filter-toggle {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; font-family: var(--font-mono); font-size: 0.88rem; font-weight: 600;
    background: var(--ink-900); color: #fff; border-radius: var(--radius);
    padding: 0.8rem; margin-bottom: var(--s-3);
  }
  .filter-toggle em { font-style: normal; color: var(--accent); }
  .filter-toggle svg { width: 18px; height: 18px; }
  .filter-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    border-radius: 14px 14px 0 0; margin-bottom: 0; max-height: 82vh; overflow: auto;
    transform: translateY(105%); transition: transform .3s var(--ease);
    padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom));
  }
  .filter-panel.is-open { transform: translateY(0); }
  .filter-panel__row--split { flex-direction: column; align-items: stretch; }
  .filter-panel__done {
    display: block; width: 100%; margin-top: 0.8rem;
    font-family: var(--font-mono); font-size: 0.92rem; font-weight: 600;
    background: var(--accent); color: #fff; border-radius: var(--radius); padding: 0.85rem;
  }
  .filter-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(14,15,17,.6); }
  .filter-overlay[hidden] { display: none; }

  .veh-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
