@charset "utf-8";
/* ==========================================================================
   金格展钣金 · 公司官网  样式表
   纯手写 CSS，零依赖（无 CDN、无框架、无外部字体）
   维护提示：改颜色只改下面的 :root 变量；改间距改 .section / .container
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --ink: #0c0f14;
  --ink-2: #11161d;
  --ink-3: #1a212b;
  --ink-4: #232c38;
  --paper: #f5f6f7;
  --paper-2: #ffffff;
  --line: #e3e7eb;
  --line-strong: #cdd4db;
  --text: #1b2027;
  --muted: #6c7681;
  --muted-2: #8b95a1;
  --accent: #ff6a1a;
  --accent-deep: #d9520a;
  --accent-soft: rgba(255, 106, 26, 0.12);
  --on-dark: #eef1f4;
  --on-dark-muted: #98a2ae;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 40px -22px rgba(12, 15, 20, 0.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
/* <picture> 是给浏览器挑格式用的壳子。不用 display:contents（Chrome 会漏画图），
   改成块级壳子 + 在“铺满型”容器里给足 100% 宽高，里面的 img 仍按原规则铺满。 */
picture { display: block; }
.p-card__media picture,
.collage picture,
.gallery picture,
.craft-strip picture { position: absolute; inset: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 版心与通用排版 ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding: clamp(64px, 8.5vw, 122px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .muted { color: var(--on-dark-muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section--dark .eyebrow { color: var(--accent); }

.display {
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.display--sm { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }

.lede {
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lede { color: var(--on-dark-muted); }

.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.7; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head__text { max-width: 720px; }
.section-head .lede { margin-top: 4px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s, gap 0.25s;
}
.link-more::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s;
}
.link-more:hover { color: var(--accent); }
.link-more:hover::after { width: 28px; }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent {
  --btn-bg: var(--accent);
  --btn-bd: var(--accent);
}
.btn--accent:hover { --btn-bg: var(--accent-deep); --btn-bd: var(--accent-deep); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: rgba(255, 255, 255, 0.42);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.35s, border-color 0.35s, height 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(10, 13, 18, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-header.is-scrolled { height: 66px; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 30px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__cn {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand__en {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 5px;
  white-space: nowrap;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.86);
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }

.header-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 8px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.header-tel b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}
.nav-drawer.is-open { transform: none; visibility: visible; }
.nav-drawer a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-drawer a span { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--on-dark-muted); }
.nav-drawer .drawer-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 2;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #10151c url("../assets/img/hero-workshop-2.jpg") center 42% / cover no-repeat;
  /* 优先 WebP，老浏览器自动落回上面的 JPG */
  background-image: -webkit-image-set(url("../assets/img/hero-workshop-2.webp") type("image/webp"), url("../assets/img/hero-workshop-2.jpg") type("image/jpeg"));
  background-image: image-set(url("../assets/img/hero-workshop-2.webp") type("image/webp"), url("../assets/img/hero-workshop-2.jpg") type("image/jpeg"));
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 15, 0.86) 0%, rgba(8, 11, 15, 0.3) 34%, rgba(8, 11, 15, 0.62) 68%, rgba(8, 11, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(8, 11, 15, 0.72) 0%, rgba(8, 11, 15, 0) 62%),
    /* 文案区遮罩：新首图地面偏亮，只在文字所在的中段加深，顶部和底部不动 */
    linear-gradient(180deg, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.45) 46%, rgba(0, 0, 0, 0.45) 74%, rgba(0, 0, 0, 0) 94%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-top: 140px;
  padding-bottom: 44px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}
.hero__eyebrow b { color: var(--accent); font-weight: 700; }
.hero__eyebrow span { font-weight: 400; letter-spacing: 0.22em; }
.hero__eyebrow i { width: 46px; height: 1px; background: rgba(255, 255, 255, 0.4); }
.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  max-width: 16em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}
.hero__sub {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__stat {
  padding: 22px 24px 0 0;
  position: relative;
}
.hero__stat + .hero__stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero__stat b {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__stat b span { font-size: 0.6em; font-weight: 600; margin-left: 3px; color: rgba(255,255,255,.7); }
.hero__stat em {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}
.hero__side {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  z-index: 3;
}

/* 页面内页头（非首页） */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.page-hero--photo { background: #0c0f14; }
.page-hero--photo .page-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.32;
}
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 15, 0.55), rgba(8, 11, 15, 0.92));
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 26px;
}
.breadcrumb span { color: rgba(255, 255, 255, 0.25); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  max-width: 60ch;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}
.page-hero__meta b { color: var(--accent); font-weight: 600; }

/* ---------- 工艺四宫格 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper-2);
}
.process-card {
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}
.process-card:hover { background: #fff; }
.process-card:hover::after { transform: scaleX(1); }
.process-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.process-card__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  display: block;
  margin-bottom: 26px;
}
.process-card__icon { width: 40px; height: 40px; margin-bottom: 22px; color: var(--ink); }
.process-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.01em; }
.process-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.process-card__spec {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.p-card {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.p-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.p-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8ecef;
}
.p-card--wide .p-card__media { aspect-ratio: 4 / 3; }
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.4s;
}
.p-card:hover .p-card__media img { transform: scale(1.045); }
.p-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.16em;
  background: rgba(10, 13, 18, 0.74);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.p-card__body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.p-card__title { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.p-card__sub { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.p-card__arrow {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.3s;
}
.p-card:hover .p-card__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 车间 / 工厂拼贴 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.collage figure {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage figure:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 4.55; }
.collage figure:nth-child(2),
.collage figure:nth-child(3) { aspect-ratio: 4 / 3; }
.collage figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-row > div {
  background: var(--ink);
  padding: 24px 26px;
}
.stat-row b {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-row b span { font-size: 0.55em; color: var(--on-dark-muted); margin-left: 4px; font-weight: 500; }
.stat-row em { font-style: normal; font-size: 12px; color: var(--on-dark-muted); letter-spacing: 0.08em; }

.equip-list { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.equip-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13.5px;
}
.equip-list li span { color: var(--on-dark-muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-align: right; }

/* ---------- 优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.adv {
  background: var(--paper-2);
  padding: clamp(28px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  transition: background 0.3s;
}
.adv:hover { background: #fff; }
.adv__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 5px;
}
.adv h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.adv p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA 通栏 ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 7vw, 96px) 0;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center 45% / cover no-repeat;
  opacity: 0.42;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 11, 15, 0.94) 0%, rgba(8, 11, 15, 0.72) 55%, rgba(8, 11, 15, 0.5) 100%);
}
.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 18em;
}
.cta-band p { color: rgba(255, 255, 255, 0.65); margin-top: 14px; max-width: 46ch; }

/* ---------- 产品页筛选 ---------- */
.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(245, 246, 247, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { font-family: var(--mono); font-size: 11px; opacity: 0.55; margin-left: 6px; }

.series { padding: clamp(44px, 5.5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.series:last-of-type { border-bottom: 0; }
.series-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.series-head__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.series-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.01em; }
.series-head p { font-size: 13.5px; color: var(--muted); margin-top: 8px; max-width: 46ch; }
.series-head__meta {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-align: right;
  line-height: 1.8;
}
.series[hidden] { display: none; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(6, 8, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: min(76vh, 820px);
  object-fit: contain;
  background: #111;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.lightbox__cap {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: center;
}
.lightbox__cap b { color: #fff; font-weight: 600; margin-right: 10px; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__btn--prev { left: clamp(8px, 2vw, 28px); }
.lightbox__btn--next { right: clamp(8px, 2vw, 28px); }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 26px);
  right: clamp(12px, 2vw, 26px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- 工厂页 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery figure.is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery figure.is-tall { grid-row: span 2; aspect-ratio: 4 / 6.05; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; }
.gallery figure:hover img { transform: scale(1.04); filter: brightness(0.86); }
.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s var(--ease);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding: 14px 18px;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:hover td { background: #fcfcfd; }
.spec-table td:first-child { color: var(--muted-2); font-family: var(--mono); font-size: 12px; width: 56px; }
.spec-table .num { font-variant-numeric: tabular-nums; }
.spec-table .hl { color: var(--accent-deep); font-weight: 600; }

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: flow;
}
.flow li {
  background: #fff;
  color: var(--text);
  padding: 26px 26px 30px;
  position: relative;
}
.flow li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.flow h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.flow p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.craft-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3vw, 40px);
}
.craft-strip figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
}
.craft-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.craft-strip figure:hover img { transform: scale(1.04); }
.craft-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ---------- 证书 ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.cert {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.cert:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cert img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #f4f5f6; }
.cert figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 4px;
  font-size: 13px;
  font-weight: 600;
}
.cert figcaption span { color: var(--muted-2); font-weight: 400; font-family: var(--mono); font-size: 11.5px; }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.prose p { margin-bottom: 1.1em; color: #333a42; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.quote-block {
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 2px solid var(--accent);
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
}
.quote-block em { font-style: normal; color: var(--muted-2); font-size: 12px; display: block; margin-top: 8px; letter-spacing: 0.1em; }

.fact-list { border-top: 1px solid var(--line); margin-top: 30px; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.fact-list span:first-child { color: var(--muted); }
.fact-list span:last-child { font-weight: 600; text-align: right; }

.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  padding: 18px 0;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 29px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ink);
}
.timeline time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.timeline h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.timeline p { font-size: 13px; color: var(--on-dark-muted); max-width: 56ch; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px 28px 32px;
}
.value__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.value h3 { font-size: 17px; margin-bottom: 10px; }
.value p { font-size: 13.5px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-list { border-top: 1px solid var(--line); }
.contact-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.contact-item dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding-top: 3px;
}
.contact-item dd { margin: 0; font-size: 15.5px; line-height: 1.8; }
.contact-item dd small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.contact-item a:hover { color: var(--accent); }

.todo {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 26, 0.28);
  vertical-align: 2px;
  white-space: nowrap;
}

.inquiry {
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 3.6vw, 44px);
  position: relative;
  overflow: hidden;
}
.inquiry::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.inquiry h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.inquiry > p { color: var(--on-dark-muted); font-size: 13.5px; margin-bottom: 24px; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.checklist li b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  padding-top: 2px;
  flex: none;
}
.checklist li span { color: var(--on-dark-muted); font-size: 12px; display: block; margin-top: 2px; }
.inquiry .note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--on-dark-muted);
  line-height: 1.8;
}

.map-card {
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}
.map-card__art {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background-color: #eef1f3;
  background-image:
    linear-gradient(rgba(12, 15, 20, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 15, 20, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}
.map-card__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-card__label {
  position: absolute;
  left: 52.5%;
  top: 50%;
  transform: translate(20px, -50%);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: #fff;
  padding: 4px 9px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.map-card__text { padding: 26px 26px 24px; border-left: 1px solid var(--line); }
.map-card__text h3 { font-size: 15px; margin-bottom: 10px; }
.map-card__text p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.map-card__text .tip { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* 真地图（静态地图 + 一键导航；不依赖任何地图 API 密钥） */
.map-card__art--map { display: block; text-decoration: none; background: #eef1f3; }
.map-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-card__art--map .map-card__label {
  left: 14px;
  top: 14px;
  transform: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(12, 15, 20, 0.08);
}
.map-card__hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(12, 15, 20, 0.72);
  padding: 6px 11px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.25s;
}
.map-card__art--map:hover .map-card__hint { background: var(--accent); }
.map-card__art--map .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.map-card__art--map:hover .arrow { transform: translate(2px, -2px); }
.map-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map-nav .btn { padding: 11px 18px; font-size: 13px; letter-spacing: 0.03em; }
.map-nav .btn .arrow { transition: transform 0.25s var(--ease); }
.map-nav .btn:hover .arrow { transform: translateX(3px); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #080b0f;
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 76px) 0 0;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 28px; }
.footer-brand b { font-size: 19px; letter-spacing: 0.08em; }
.footer-desc { color: var(--on-dark-muted); font-size: 13px; line-height: 1.9; max-width: 34ch; }
.footer-uscc { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: #6f7985; }
.site-footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f7985;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.footer-contact li b { color: #6f7985; font-weight: 400; flex: none; font-size: 12px; padding-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7581;
}

/* ---------- 滚动动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .header-tel { display: none; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery figure.is-tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header .btn { display: none; }
  .header-inner { gap: 14px; }
  .brand__cn { font-size: 18px; letter-spacing: 0.06em; }
  .brand__en { font-size: 7.5px; letter-spacing: 0.14em; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-card { grid-template-columns: 1fr; }
  .map-card__text { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero__side { display: none; }
  .cta-band__inner { align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15px; }
  .hero { min-height: 88vh; }
  .hero__inner { padding-bottom: 28px; }
  .hero__stats { margin-top: 36px; }
  .hero__stat { padding-right: 12px; }
  .hero__stat + .hero__stat { padding-left: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .product-grid,
  .product-grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure.is-wide { grid-column: span 2; }
  .flow { grid-template-columns: 1fr; }
  .craft-strip { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .timeline li::before { left: 2px; top: 26px; }
  .timeline time { line-height: 1.6; }
  .footer-top { grid-template-columns: 1fr; }
  .series-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .series-head__meta { text-align: left; }
  .collage figure:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 1.55; }
  .collage figure:nth-child(2),
  .collage figure:nth-child(3) { aspect-ratio: 1 / 1; }
  .contact-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .lightbox__btn { width: 40px; height: 40px; top: auto; bottom: 18px; transform: none; }
  .lightbox__btn--prev { left: 18px; }
  .lightbox__btn--next { right: 18px; }
  .lightbox__figure { padding-bottom: 56px; }
}

/* ==========================================================================
   在线咨询 / 留资组件（2026-11-04 新增）
   —— 样式跟站点一致：深色工业风 + 信号橙 #FF6A1A + 直角小圆角
   —— 结构在 5 个 html 的 #jzChat；逻辑在 js/chat.js
   ========================================================================== */
.jz-chat {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  font-family: var(--font);
  line-height: 1.6;
}

/* ---------- 悬浮按钮 ---------- */
.jz-chat__fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 20px 0 17px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #0c0f14;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(255, 106, 26, 0.75), 0 3px 10px rgba(12, 15, 20, 0.22);
  transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, box-shadow 0.22s;
}
.jz-chat__fab:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 20px 40px -14px rgba(217, 82, 10, 0.8), 0 4px 12px rgba(12, 15, 20, 0.28);
}
.jz-chat__fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.jz-chat__fab-icon { flex: none; }

/* ---------- 聊天窗 ---------- */
.jz-chat__panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  width: 366px;
  max-width: calc(100vw - 28px);
  height: min(560px, calc(100vh - 118px));
  background: var(--ink);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: jzChatIn 0.2s var(--ease);
}
.jz-chat__panel[hidden],
.jz-chat__body[hidden],
.jz-chat__form[hidden],
.jz-chat__quick[hidden],
.jz-chat__err[hidden] { display: none; }

@keyframes jzChatIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* 头部 */
.jz-chat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 13px 16px;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.jz-chat__head-text b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}
.jz-chat__head-text b::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #3ecf7a;
  vertical-align: 2px;
}
.jz-chat__head-text span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.jz-chat__close {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: transparent;
  color: var(--on-dark-muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.jz-chat__close:hover { border-color: var(--accent); color: #fff; }

/* 对话区 */
.jz-chat__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.jz-chat__log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-4) transparent;
}
.jz-chat__log::-webkit-scrollbar { width: 6px; }
.jz-chat__log::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 3px; }

.jz-chat__msg { display: flex; }
.jz-chat__msg--user { justify-content: flex-end; }
.jz-chat__bubble {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.68;
  white-space: pre-wrap;
  word-break: break-word;
}
.jz-chat__msg--bot .jz-chat__bubble {
  background: var(--ink-3);
  border-left: 2px solid var(--accent);
  color: var(--on-dark);
}
.jz-chat__msg--user .jz-chat__bubble {
  background: var(--accent);
  color: #0c0f14;
  font-weight: 500;
}
.jz-chat__bubble a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.jz-chat__cta {
  padding: 9px 13px;
  border: 1px dashed rgba(255, 106, 26, 0.6);
  border-radius: 3px;
  background: rgba(255, 106, 26, 0.09);
  color: var(--accent);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.jz-chat__cta:hover { background: var(--accent); color: #0c0f14; }

/* 快捷问题 */
.jz-chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
}
.jz-chat__chip {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.jz-chat__chip:hover { border-color: var(--accent); color: #fff; }

/* 输入行 */
.jz-chat__say {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.jz-chat__input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background: #090c10;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
}
.jz-chat__input::placeholder { color: #6b7480; }
.jz-chat__input:focus { outline: none; border-color: var(--accent); }
.jz-chat__send {
  flex: none;
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: #0c0f14;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.jz-chat__send:hover { background: var(--accent-deep); color: #fff; }

/* 留资按钮 */
.jz-chat__leadbtn {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #141b24;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.jz-chat__leadbtn:hover { background: var(--accent); color: #0c0f14; }

/* 留资表单 */
.jz-chat__form {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  background: var(--ink);
}
.jz-chat__form h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}
.jz-chat__form > p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }
.jz-chat__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
}
.jz-chat__label input,
.jz-chat__label textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background: #090c10;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  resize: vertical;
}
.jz-chat__label input::placeholder,
.jz-chat__label textarea::placeholder { color: #6b7480; }
.jz-chat__label input:focus,
.jz-chat__label textarea:focus { outline: none; border-color: var(--accent); }
.jz-chat__err {
  margin: 0;
  padding: 8px 10px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 106, 26, 0.13);
  color: #ffb08a;
  font-size: 12px;
  line-height: 1.55;
}
.jz-chat__actions { display: flex; gap: 8px; margin-top: 2px; }
.jz-chat__submit {
  flex: 1;
  height: 42px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: #0c0f14;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.jz-chat__submit:hover:not(:disabled) { background: var(--accent-deep); color: #fff; }
.jz-chat__submit:disabled { opacity: 0.55; cursor: default; }
.jz-chat__cancel {
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--on-dark-muted);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.jz-chat__cancel:hover { border-color: #fff; color: #fff; }
.jz-chat__privacy { font-size: 11px !important; color: #5f6773 !important; }
/* 蜜罐：真人看不见，机器人会填 */
.jz-chat__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- 手机端 ---------- */
@media (max-width: 640px) {
  .jz-chat {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .jz-chat__fab {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .jz-chat__fab-text { display: none; }
  .jz-chat__panel {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: none;
    height: 82vh;
    height: 82dvh;
    border-width: 1px 0 0;
    border-radius: 8px 8px 0 0;
  }
  .jz-chat.is-open .jz-chat__fab { display: none; }
  body.jz-chat-is-open { overflow: hidden; }
  .jz-chat__bubble { max-width: 90%; }
}

@media print {
  .jz-chat { display: none !important; }
}

/* ---------- 邮箱链接（2026-11-04 填上 jgz@jingezhan.cn） ---------- */
.footer-contact a,
.contact-item dd a {
  border-bottom: 1px solid rgba(255, 106, 26, 0.55);
  transition: color 0.2s, border-color 0.2s;
}
.footer-contact a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact-item dd a { color: var(--text); }
.contact-item dd a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
/* 页脚底部留出高度，别让右下角「在线咨询」按钮压住备案号 */
.site-footer { padding-bottom: 72px; }