/* ==========================================================================
   VAGER · 工业润滑设计系统 v1.0
   风格：工业科技感 —— 深海军蓝 + 锦色（琥珀）
   无框架、无依赖、单文件
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --ink-950: #060d15;
  --ink-900: #0b1622;
  --ink-800: #12212f;
  --ink-700: #1b2c3d;
  --steel-600: #2b4157;
  --steel-500: #3d566e;
  --slate-400: #6b8095;
  --slate-300: #9aabbb;
  --slate-200: #c7d2dc;
  --slate-100: #e6ecf1;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #eef1f5;

  /* 锦色（强调色） */
  --amber-600: #b9761b;
  --amber-500: #d98f2b;
  --amber-400: #e9a23b;
  --amber-300: #f0bb6b;
  --amber-100: #fdf3e3;

  --green-500: #2f9e6b;

  /* 语义 */
  --bg: var(--paper);
  --fg: var(--ink-900);
  --fg-muted: var(--slate-500, #5b7184);
  --line: var(--slate-100);
  --line-strong: var(--slate-200);

  /* 排版 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 尺寸 */
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(11, 22, 34, 0.06);
  --shadow: 0 4px 16px rgba(11, 22, 34, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 22, 34, 0.14);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 260ms;

  /* 层级 */
  --z-header: 100;
  --z-nav: 90;
  --z-overlay: 200;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--amber-300);
  color: var(--ink-900);
}

/* ---------- 3. 排版 ---------- */
.h1,
h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.h2,
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  font-weight: 800;
}

.h3,
h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

.h4,
h4 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--fg-muted);
}

.muted {
  color: var(--fg-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber-500);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section--dark {
  background: var(--ink-900);
  color: var(--paper);
}

.section--paper {
  background: var(--paper-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 14px;
}

.section-head .lede {
  margin-top: 16px;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--amber-400);
  --btn-fg: var(--ink-950);
}

.btn--primary:hover {
  --btn-bg: var(--amber-300);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: currentColor;
  opacity: 0.85;
}

.btn--ghost:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-border: var(--line-strong);
}

.btn--outline:hover {
  --btn-border: var(--ink-900);
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- 6. 顶部信息条 ---------- */
.topbar {
  background: var(--ink-950);
  color: var(--slate-100);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 公司法定全称：比后面的品牌/定位信息更亮一档 */
.topbar strong {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .topbar__meta {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    font-size: 12px;
  }

  .topbar__inner {
    min-height: 32px;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--amber-300);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- 7. 头部 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11, 22, 34, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--paper);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(6, 13, 21, 0.35);
  background: rgba(11, 22, 34, 0.98);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--amber-400);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 15px;
  border-radius: 8px;
  letter-spacing: -0.04em;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name b {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand__name span {
  font-size: 11px;
  color: var(--slate-300);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  flex: 1 1 auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 26px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

/* 导航默认已是纯白，hover 改用锦色，否则没有反馈 */
.nav__link:hover {
  color: var(--amber-300);
}

.nav__item.is-active > .nav__link {
  color: var(--paper);
}

.nav__item.is-active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--amber-400);
}

/* 下拉菜单 */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 220px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-800);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav__dropdown a:hover {
  background: var(--amber-100);
  color: var(--amber-600);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.header__phone span {
  font-size: 11px;
  color: var(--slate-300);
  letter-spacing: 0.08em;
}

.header__phone b {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--paper);
  letter-spacing: 0.01em;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 8. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(233, 162, 59, 0.16), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(61, 86, 110, 0.5), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%);
  z-index: -2;
}

/* 细网格纹理，工业感 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero__title em {
  font-style: normal;
  color: var(--amber-400);
  position: relative;
  white-space: nowrap;
}

.hero__desc {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--slate-200);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(47, 158, 107, 0.18);
}

/* 首屏右侧规格卡 */
.spec-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  backdrop-filter: blur(6px);
}

.spec-card__title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.spec-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.spec-row__label {
  font-size: 14px;
  color: var(--slate-300);
}

.spec-row__value {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--amber-300);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.spec-row__value small {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 400;
  margin-left: 4px;
}

/* ---------- 9. 数据条 ---------- */
.statbar {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.statbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(28px, 3.4vw, 44px);
}

.stat {
  padding-inline: clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1.1;
}

.stat__num em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--amber-500);
  margin-left: 2px;
}

.stat__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ---------- 10. 产品卡片 ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--amber-100);
  color: var(--amber-600);
  margin-bottom: 20px;
}

.product-card__icon svg {
  width: 24px;
  height: 24px;
}

.product-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
  flex: 1;
}

.product-card__specs {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  margin-bottom: 18px;
}

.product-card__specs div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-muted);
}

.product-card__specs b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-800);
  font-variant-numeric: tabular-nums;
}

.product-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}

.product-card:hover .product-card__link svg {
  transform: translateX(4px);
}

/* ---------- 11. 能力 / 特性 ---------- */
.feature {
  display: flex;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 26px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.section--dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-500);
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  padding-top: 3px;
}

.feature__body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature__body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
}

.section--dark .feature__body p {
  color: var(--slate-300);
}

/* ---------- 12. 应用行业 ---------- */
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--ink-800), var(--ink-950));
  color: var(--paper);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 80% 0%, rgba(233, 162, 59, 0.28), transparent 65%);
  opacity: 0.75;
  transition: opacity var(--dur) var(--ease);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card > * {
  position: relative;
}

.industry-card__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber-300);
  margin-bottom: auto;
}

.industry-card h3 {
  font-size: 20px;
  margin-top: 48px;
}

.industry-card p {
  font-size: 13px;
  color: var(--slate-300);
  margin-top: 6px;
}

/* ---------- 13. 资质 / 信任 ---------- */
.trustbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(26px, 3vw, 36px);
  border-block: 1px solid var(--line);
}

.trustbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.trustbar__item b {
  font-size: 14px;
  color: var(--ink-800);
}

.trustbar__badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-800);
  text-align: center;
  line-height: 1.1;
}

/* ---------- 14. CTA 区块 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 162, 59, 0.22), transparent 68%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.cta-band p {
  margin-top: 10px;
  color: var(--slate-300);
  font-size: 15px;
}

/* ---------- 15. 表单 ---------- */
.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
}

.field label .req {
  color: #c0392b;
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(233, 162, 59, 0.16);
}

.field input.is-error,
.field textarea.is-error {
  border-color: #c0392b;
  background: #fff8f7;
}

.field__hint {
  font-size: 12px;
  color: var(--slate-400);
}

.field__error {
  font-size: 12px;
  color: #c0392b;
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-800);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--amber-500);
}

.form__note {
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-status.is-ok {
  display: block;
  background: #edf9f3;
  color: #1e7a52;
  border: 1px solid #b9e6d0;
}

.form-status.is-error {
  display: block;
  background: #fdf1ef;
  color: #a63a25;
  border: 1px solid #f2c6be;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--slate-300);
  font-size: 14px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px);
}

.site-footer h4 {
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.site-footer a:hover {
  color: var(--amber-300);
}

.site-footer__links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.site-footer__contact p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.site-footer__contact b {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.01em;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--slate-400);
}

/* ---------- 17. 移动端底部操作条 ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-nav);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(11, 22, 34, 0.08);
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  font-size: 12px;
  color: var(--ink-800);
}

.mobile-bar a svg {
  width: 19px;
  height: 19px;
}

.mobile-bar a.is-primary {
  background: var(--amber-400);
  color: var(--ink-950);
  font-weight: 700;
}

/* ---------- 18. 面包屑 / 内页 ---------- */
.page-hero {
  background: var(--ink-900);
  color: var(--paper);
  padding-block: clamp(48px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 85% 10%, rgba(233, 162, 59, 0.14), transparent 62%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  position: relative;
}

.page-hero .lede {
  color: var(--slate-100);
  margin-top: 14px;
  max-width: 680px;
  position: relative;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-100);
  margin-bottom: 18px;
  position: relative;
}

.crumbs a:hover {
  color: var(--amber-300);
}

.crumbs span {
  color: var(--slate-200);
}

/* ---------- 19. 规格表 ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-block: 8px 20px;
  background: var(--paper);
}

.spec-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 12px;
  color: var(--ink-900);
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.spec-table thead th {
  background: var(--paper-2);
  font-weight: 700;
  color: var(--ink-800);
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--line-strong);
}

.spec-table tbody th {
  font-weight: 500;
  color: var(--fg-muted);
  width: 38%;
  background: var(--paper-2);
}

.spec-table td {
  font-variant-numeric: tabular-nums;
}

.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th {
  background: var(--amber-100);
}

/* ---------- 20. 文章正文 ---------- */
.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-800);
}

.prose h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--amber-400);
}

.prose h3 {
  font-size: 18px;
  margin: 30px 0 12px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul {
  margin: 0 0 20px;
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-400);
}

.prose img {
  border-radius: var(--radius);
  margin-block: 24px;
}

/* ---------- 21. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--amber-400);
  color: var(--ink-950);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.stack {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__desc {
    max-width: none;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
      visibility var(--dur);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    justify-content: space-between;
  }

  .nav__item.is-active > .nav__link::after {
    display: none;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    color: var(--slate-300);
    padding: 4px 0 12px;
    border-radius: 0;
  }

  .nav__dropdown a {
    color: var(--slate-300);
    padding: 8px 0 8px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
  }

  .nav__dropdown a:hover {
    background: transparent;
    color: var(--amber-300);
  }

  .header__phone {
    display: none;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .statbar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stat {
    padding-inline: 0;
    border-left: 0;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: 56px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .topbar__meta {
    display: none;
  }

  .spec-card {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------- 23. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 24. 打印 ---------- */
@media print {
  .site-header,
  .mobile-bar,
  .topbar,
  .hero__actions,
  .cta-band {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .spec-table {
    border: 1px solid #999;
  }
}

/* ==========================================================================
   25. 内页组件
   ========================================================================== */

/* 分类快捷导航（吸顶小条） */
.catalog-nav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.catalog-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-nav ul::-webkit-scrollbar {
  display: none;
}

.catalog-nav a {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.catalog-nav a:hover,
.catalog-nav a.is-active {
  color: var(--ink-900);
  border-bottom-color: var(--amber-400);
}

/* 型号标签 */
.model-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--ink-900);
  color: var(--amber-300);
  vertical-align: middle;
}

.model-badge--light {
  background: var(--amber-100);
  color: var(--amber-600);
}

/* 紧凑产品卡 */
.pcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pcard h3 {
  font-size: 17px;
  line-height: 1.45;
}

.pcard p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-muted);
  flex: 1;
}

.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.chip {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--paper-2);
  color: var(--steel-500);
  border: 1px solid var(--line);
}

/* 分类分区 */
.cat-section {
  padding-block: clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.cat-section:last-of-type {
  border-bottom: 0;
}

.cat-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 36px);
  flex-wrap: wrap;
}

.cat-section__head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}

.cat-section__head p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-top: 8px;
}

.cat-section__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-400);
}

/* 详情页布局 */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.aside-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.aside-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.aside-card .btn {
  width: 100%;
  margin-bottom: 8px;
}

.aside-phone {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

/* 规格速览（详情页顶部） */
.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 28px;
}

.quick-specs div {
  background: var(--paper);
  padding: 16px 18px;
}

.quick-specs span {
  display: block;
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.quick-specs b {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 28px;
  display: grid;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line-strong);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--amber-400);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-600);
  letter-spacing: 0.06em;
}

.timeline__item h3 {
  font-size: 17px;
  margin: 4px 0 6px;
}

.timeline__item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* 资讯列表 */
.news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.news-item time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-400);
  padding-top: 4px;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.news-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
}

.news-item:hover h3 {
  color: var(--amber-600);
}

/* 联系方式卡 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-cell {
  background: var(--paper);
  padding: 26px;
}

.contact-cell span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-cell b {
  font-size: 17px;
  font-weight: 700;
  display: block;
  line-height: 1.5;
}

.contact-cell b.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* 地图占位 */
.map-slot {
  margin-top: 32px;
  aspect-ratio: 21 / 8;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(0deg, var(--paper-3) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--paper-3) 0 1px, transparent 1px 40px),
    var(--paper-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--fg-muted);
  font-size: 14px;
}

/* 面包屑内页版（浅底） */
.crumbs--light {
  color: var(--slate-400);
}

.crumbs--light a:hover {
  color: var(--amber-600);
}

@media (max-width: 1080px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .quick-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .catalog-nav {
    top: 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .quick-specs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   26. 图片区块
   ========================================================================== */
.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.photo:hover img {
  transform: scale(1.04);
}

.photo figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.photo--wide img {
  height: clamp(240px, 40vw, 480px);
}

.photo--tall img {
  height: clamp(300px, 50vw, 560px);
}

/* ==========================================================================
   27. 品牌 logo / 图集 / 灯箱
   ========================================================================== */
.brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 4px 9px;
  box-sizing: border-box;
}

.brand__name {
  display: none;
}

.brand__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid .photo img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 13, 21, 0.95);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  text-align: center;
  color: var(--slate-300);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .nav__list {
    gap: 16px;
  }

  .nav__link {
    font-size: 14px;
  }
}

@media (max-width: 1000px) {
  .brand__name {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header__phone {
    display: none;
  }

  .nav__list {
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .brand__logo {
    padding: 3px 7px;
  }

  .brand__logo img {
    height: 38px;
  }
}

/* ===== Logo badge (header + footer) ===== */
.site-header .brand__logo,
.site-footer .brand__logo {
  width: 140px;
  height: 54px;
  padding: 0;
  border-radius: 6px;
  background-color: #e9a23b;
  background-image: url("../img/logo-clear.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 88% auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.site-header .brand__logo img,
.site-footer .brand__logo img {
  display: none;
}

/* 页脚底色（#060d15）比页头更深，同一块琥珀在近黑底上会显得更亮。
   用深一档的琥珀补偿，让页头与页脚的观感一致。 */
.site-footer .brand__logo {
  background-color: #d98f2b;
}

@media (max-width: 560px) {
  .site-header .brand__logo,
  .site-footer .brand__logo {
    width: 108px;
    height: 42px;
  }
}