/* ============================================================================
   文件用途：全站公用样式（设计系统）
   设计思路：
     品牌色取自公司画册的亮黄绿（#c9d600），搭配近黑的墨色与米白底色，
     整体走"工业精密 + 印刷品质"的调性：细边框、大留白、等宽数字、编号排版。
     所有页面共用本文件，改一处全站生效。
   ========================================================================== */

/* ---------------------------- 1. 设计令牌（变量） ---------------------------- */
:root {
  /* 色彩 */
  --lime: #c9d600;           /* 品牌亮黄绿 */
  --lime-deep: #aebc00;      /* 深一档，用于悬停 */
  --lime-soft: #f2f6c8;      /* 极浅底，用于标签底色 */
  --ink: #101208;            /* 主文字：近黑带一点绿调 */
  --ink-70: #3d4034;
  --muted: #6d7166;          /* 次要文字 */
  --paper: #fafaf5;          /* 页面底色：米白 */
  --white: #ffffff;
  --line: #e3e5d6;           /* 分割线 */
  --line-strong: #cfd2bd;
  --dark: #14160f;           /* 深色区块底 */

  /* 字体 */
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: "Inter", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 尺寸 */
  --wrap: 1240px;
  --brand-h: 44px;           /* 品牌星标高度，随断点逐档下调 */
  --header-h: 84px;          /* 页头高度，跟着标识一起收 */
  --radius: 2px;             /* 工业风：几乎不用圆角 */
  --shadow-sm: 0 1px 2px rgba(16, 18, 8, 0.04);
  --shadow-lg: 0 18px 50px -20px rgba(16, 18, 8, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }

/* 键盘操作时才显示焦点框，鼠标点击不显示 */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------------------- 3. 布局工具类 ---------------------------- */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec--dark { background: var(--dark); color: #f2f3e8; }
.sec--paper2 { background: #f3f4ea; }

/* 区块标题：上方小标签 + 大标题 + 说明文字 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  flex: none;
}
.sec--dark .eyebrow { color: #9aa08b; }

.sec-title {
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sec-lead {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
.sec--dark .sec-lead { color: #b3b8a5; }

/* 标题行：左标题右操作（手机上自动换行） */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ---------------------------- 4. 按钮 ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--lime:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.35); }
.btn--light:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* 文字链：带下划线动画 */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.link-more:hover { color: var(--lime-deep); }

/* ---------------------------- 5. 页头 ---------------------------- */
/* 注意：吸顶要加在外面这层容器上。若加在 .site-header 上，
   它会被高度相同的父元素框住，滚动时没有可移动的空间，实际不会吸顶。 */
#site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header {
  background: rgba(250, 250, 245, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  transition: height 0.2s var(--ease);
}

/* 品牌标识：星标来自《灵星概况》右下角原图（裁成透明 PNG），
   英文名与公司全称改用矢量文字 —— 原来整张 283×96 的位图里公司名只有 13px 高，
   整体放大只能是插值模糊，改成文字后任意尺寸都锐利，且能被搜索与读屏识别。 */
.brand { display: flex; align-items: center; gap: calc(var(--brand-h) * 0.22); flex: none; }
.brand__mark { display: block; height: var(--brand-h); width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; justify-content: center; }
.brand__en {
  font-family: "Times New Roman", "Songti SC", Georgia, serif;
  font-size: calc(var(--brand-h) * 0.48);
  line-height: 1;
  letter-spacing: 0.004em;
  color: var(--ink);
  margin-bottom: 0.1em;
}
.brand__cn {
  font-size: calc(var(--brand-h) * 0.25);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* 标识随容器宽度逐档回收：9 项导航 + 报价按钮必须先保住一行。
   每档都按真实字宽验算过，300–2400px 全域无溢出。 */
@media (max-width: 1200px) { :root { --brand-h: 42px; --header-h: 80px; } }
@media (max-width: 1100px) { :root { --brand-h: 40px; --header-h: 78px; } }
@media (max-width: 980px)  { :root { --brand-h: 40px; --header-h: 74px; } }

/* 主导航 */
.nav { display: flex; align-items: center; gap: 16px; }
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-70);
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
/* 页头不再放电话：标识放大到 88px（宽 259px）后，1240px 容器里
   标识 + 9 项导航 + 报价按钮已经刚好占满，电话放不下。
   电话在页脚「联系我们」和联系页均有，移动端另有悬浮拨号按钮。 */

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  content: "";
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle span::before { transform: translate(-50%, -7px); }
.menu-toggle span::after { transform: translate(-50%, 7px); }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .menu-toggle span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------------------------- 6. 首页主视觉 ---------------------------- */
.hero {
  position: relative;
  min-height: clamp(520px, 76vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
/* 主视觉轮播：4 张图交替淡入淡出，切到的图同时缓慢推近（Ken Burns） */
.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.09);
  filter: grayscale(0.12) contrast(1.02);
  transition: transform 9s linear;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 双层渐变：底部压暗保证文字可读，左上留出亮部 */
  background:
    linear-gradient(180deg, rgba(12, 14, 8, 0.55) 0%, rgba(12, 14, 8, 0.15) 42%, rgba(12, 14, 8, 0.86) 100%),
    linear-gradient(90deg, rgba(12, 14, 8, 0.72) 0%, rgba(12, 14, 8, 0.1) 62%);
}

/* 右上角：当前图注 + 进度式切换条 */
.hero__nav {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(18px, 2.6vw, 32px);
  z-index: 4;
}
.hero__nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.hero__cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
  width: 34px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
  cursor: pointer;
}
.hero__dots button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s;
}
.hero__dots button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--lime);
}
.hero__dots button.is-active::after { animation: heroBar 7s linear forwards; }
.hero__dots button:hover::before { background: rgba(255, 255, 255, 0.5); }
/* 深色图上用亮黄绿描边，键盘用户才看得见焦点 */
.hero__dots button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@keyframes heroBar { from { width: 0; } to { width: 100%; } }

.hero__inner {
  position: relative;
  z-index: 3;
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 64px);
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--lime); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 6.2vw, 72px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero__lead {
  margin-top: 24px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.4vw, 17px);
}
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 主视觉底部数据条 */
.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stat {
  background: rgba(20, 22, 15, 0.28);
  padding: 22px 20px;
  backdrop-filter: blur(2px);
}
.hero__stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__stat b i { font-style: normal; font-size: 0.5em; margin-left: 3px; color: var(--lime); }
.hero__stat span { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }

/* 页面内页的小号主视觉 */
.page-hero {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 72px);
}
.page-hero::before {
  /* 右侧淡淡的网格纹理，避免大片纯色显得空 */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero__inner { position: relative; }
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 24ch;
}
.page-hero p {
  margin-top: 18px;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.74);
}
.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}
.crumb a:hover { color: var(--lime); }

/* ---------------------------- 7. 卡片与网格 ---------------------------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 产品卡片 */
.card {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
  position: relative;
}
.card:hover { background: var(--white); }
.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.4; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag {
  font-size: 11.5px;
  padding: 3px 9px;
  background: var(--lime-soft);
  color: #5c6410;
  letter-spacing: 0.02em;
}
.card__link {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.card__link:hover { color: var(--lime-deep); }

/* 图片卡片（案例） */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.case-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eceee0;
  position: relative;
}
.case-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}
.case-card__meta .dot { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }
.case-card h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.case-card p { font-size: 13.5px; color: var(--muted); }

/* 筛选按钮 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 16px;
  font-size: 13.5px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-70);
  transition: all 0.2s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------------------------- 8. 图文分栏 ---------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.split__media--framed { padding: 0 0 24px 24px; }
.split__media--framed::before {
  /* 左下角的品牌色块，做出"画册"感 */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 44%; height: 44%;
  background: var(--lime);
  z-index: 0;
}

/* 要点列表：左边一个小方块 */
.points { display: grid; gap: 14px; margin-top: 26px; }
.points li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-70);
  line-height: 1.7;
}
.points li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--lime);
  margin-top: 9px;
}

/* 数据强调块 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat-row b {
  display: block;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-row b i { font-style: normal; font-size: 0.45em; margin-left: 4px; color: var(--lime-deep); }
.stat-row span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------------------------- 9. 工厂 / 设备 ---------------------------- */
.factory-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.factory-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.factory-card__body { padding: 22px 24px 26px; }
.factory-card__body h3 { font-size: 18px; font-weight: 700; }
.factory-card__body p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.factory-card__role {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6410;
  background: var(--lime-soft);
  padding: 3px 8px;
}

.equip-list { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.equip-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.equip-item__no { font-family: var(--font-mono); font-size: 11px; color: var(--lime); letter-spacing: 0.1em; }
.equip-item h4 { font-size: 16.5px; font-weight: 600; color: #f2f3e8; }
.equip-item p { margin-top: 4px; font-size: 13.5px; color: #a2a894; }
.equip-item__tag { font-size: 11.5px; color: #8f957f; font-family: var(--font-mono); letter-spacing: 0.08em; }

/* ---------------------------- 10. 行业方案 ---------------------------- */
.industry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.industry:last-child { border-bottom: 1px solid var(--line); }
.industry__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.industry__name { margin-top: 8px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.industry__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.industry__col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.industry__col li {
  font-size: 14px;
  color: var(--ink-70);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
  margin-bottom: 8px;
}
.industry__col li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  background: var(--line-strong);
}
.industry__col--ours li::before { background: var(--lime); }

/* ---------------------------- 11. 客户 Logo 墙 ---------------------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.logo-wall__item {
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 26px 20px;
  min-height: 108px;
}
.logo-wall__item img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.62;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-wall__item:hover img { filter: none; opacity: 1; }

/* ---------------------------- 12. 资质与时间轴 ---------------------------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px;
}
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f7f8f0; }
.cert span { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-70); text-align: center; }

.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 96px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 18px 0;
  position: relative;
}
.timeline__year {
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-right: 24px;
  text-align: right;
  color: var(--ink);
}
.timeline__body { position: relative; padding-left: 28px; }
.timeline__body::before {
  content: "";
  position: absolute;
  left: -4px; top: 11px;
  width: 9px; height: 9px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.timeline__item:first-child .timeline__body::before { background: var(--lime); border-color: var(--ink); }
.timeline__body h4 { font-size: 16px; font-weight: 600; }
.timeline__body p { margin-top: 6px; font-size: 13.8px; color: var(--muted); max-width: 60ch; }

/* ---------------------------- 13. 新闻列表 ---------------------------- */
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: background 0.25s;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:hover { background: rgba(255, 255, 255, 0.6); }
.news-item time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.news-item h3 { font-size: 17.5px; font-weight: 600; line-height: 1.5; }
.news-item p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.news-item__cat { font-size: 11.5px; color: #5c6410; background: var(--lime-soft); padding: 3px 9px; white-space: nowrap; }

/* ---------------------------- 14. 表单 ---------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-70); letter-spacing: 0.02em; }
.field label .req { color: #c0392b; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(201, 214, 0, 0.28);
}
.field__hint { font-size: 12px; color: var(--muted); }

.form-status {
  margin-top: 18px;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--lime);
  background: var(--lime-soft);
  color: #4c5406;
  display: none;
}
.form-status.is-error { border-color: #e0b4ae; background: #fbeeec; color: #a33527; }
.form-status.is-visible { display: block; }

/* ---------------------------- 15. 联系信息 ---------------------------- */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.contact-item dd { margin: 0; font-size: 14.5px; line-height: 1.7; }
.contact-item dd a:hover { color: var(--lime-deep); }

/* ---------------------------- 16. 行动召唤条 ---------------------------- */
.cta-band {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(40px, 6vw, 64px) 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -0.015em; max-width: 24ch; }
.cta-band p { margin-top: 10px; font-size: 14.5px; color: #3a3f10; }

/* ---------------------------- 17. 页脚 ---------------------------- */
.site-footer { background: var(--dark); color: #b9beaa; padding: clamp(48px, 6vw, 72px) 0 28px; font-size: 13.5px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { --brand-h: 52px; }
.site-footer .brand__en { color: #ffffff; }
.site-footer .brand__cn { color: #9ba291; }
.footer-desc { margin-top: 18px; max-width: 34ch; line-height: 1.8; color: #9aa08b; }
.footer-col h4 {
  color: #f0f1e6;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer-col li { margin-bottom: 10px; line-height: 1.6; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.5px;
  color: #7d8370;
}

/* 移动端悬浮询价按钮 */
.fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

/* ---------------------------- 18. 滚动进入动效 ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------- 19. 加载与空状态 ---------------------------- */
.skeleton {
  background: linear-gradient(90deg, #eff1e4 25%, #f7f8ee 37%, #eff1e4 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  min-height: 160px;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.empty-state {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line-strong);
}

/* 正文排版（案例详情、新闻详情用） */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.1em; font-size: 15.5px; line-height: 1.9; color: var(--ink-70); }
.prose h3 { margin: 32px 0 12px; font-size: 18px; font-weight: 700; }
.prose ul { margin: 0 0 1.1em; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 15px; color: var(--ink-70); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--lime); }

/* ---------------------------- 20. 响应式 ---------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .industry { grid-template-columns: 180px 1fr; }
}

/* 导航折叠：带公司全称的标识 + 9 项菜单在 980px 以下无法排成一行，
   因此把导航折叠点从 860 提到 980（其他布局断点仍留在 860） */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  /* 汉堡菜单接管导航后，报价按钮腾出了空间，恢复显示 */
  .header-actions .btn { display: inline-flex; }

  /* 展开后的导航面板 */
  body.nav-open .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  body.nav-open .nav a::after { display: none; }
}

@media (max-width: 860px) {
  .hero { min-height: 78vh; }
  .hero__cap { display: none; }
  .hero__dots button { width: 28px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .industry { grid-template-columns: 1fr; }
  .industry__body { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { left: 60px; }
  .timeline__item { grid-template-columns: 60px 1fr; gap: 18px; }
  .timeline__year { font-size: 14px; padding-right: 12px; }
  .timeline__body { padding-left: 20px; }
  .fab { display: inline-flex; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  :root { --brand-h: 34px; --header-h: 66px; }
}

/* 320px 级别的老机型：标识 + 报价按钮 + 汉堡按钮放不下一行，按钮先让位 */
@media (max-width: 360px) {
  .header-actions .btn { display: none; }
}

/* 尊重系统的"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   21. 产品页：每个品类的长条区块（左文右图，交替排列）
   ========================================================================== */
.product-block {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.product-block:first-of-type { border-top: 0; }
.product-block--alt { grid-template-columns: 460px 1fr; }
.product-block--alt .product-block__media { order: -1; }

.product-block__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef0e2;
}
.product-block__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.product-block h2 {
  margin-top: 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-block__tagline {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.product-block__desc { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 56ch; }

.product-specs { margin-top: 22px; display: grid; gap: 8px; }
.product-specs li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.7;
}
.product-specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--lime);
}
.product-use { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }

/* ============================================================================
   22. 详情页：文章头 + 分栏正文
   ========================================================================== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.detail-aside {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.detail-aside h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.detail-aside dl { margin: 0; display: grid; gap: 14px; }
.detail-aside dt { font-size: 12px; color: var(--muted); }
.detail-aside dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }

.detail-hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #eef0e2;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .product-block, .product-block--alt { grid-template-columns: 1fr; }
  .product-block--alt .product-block__media { order: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

/* ============================================================================
   23. RFID 智能方案页（rfid.html）
   结构：KPI 条 / 痛点对照 / 三层架构 / 双场景 / 硬件表 / 验收清单 / 交付步骤
   ========================================================================== */

/* ---------- KPI 数据条 ---------- */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
}
.kpi { background: var(--white); padding: 22px 20px; }
.kpi b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kpi b i {
  font-style: normal;
  font-family: var(--font-cn);
  font-size: 0.46em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 3px;
}
.kpi span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 痛点对照：三列（编号 / 痛点 / 我们的做法） ---------- */
.pain-list { border-top: 1px solid var(--line); }
.pain {
  display: grid;
  grid-template-columns: 48px 1fr 1.1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.pain__no { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 4px; }
.pain h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.pain p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.pain__fix { font-size: 14px; color: var(--ink-70); line-height: 1.75; padding-left: 16px; border-left: 2px solid var(--lime); }
.pain__fix b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
}

/* ---------- 三层架构图（纯 CSS 堆叠，不需要图片） ---------- */
.arch { display: grid; margin-top: 8px; }
.arch__layer {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}
.arch__layer + .arch__layer { border-top: 0; }
.arch__layer--accent { background: rgba(201, 214, 0, 0.09); border-color: rgba(201, 214, 0, 0.5); }
.arch__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: #9aa08b; }
.arch__layer h3 { margin-top: 6px; font-size: 17px; font-weight: 700; color: #fff; }
.arch__layer p { margin-top: 6px; font-size: 13.5px; color: #a9af9b; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dfe2d3;
  white-space: nowrap;
}
.arch__flow {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #7f8571;
}

/* ---------- 双场景卡 ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.scenario { background: var(--white); padding: clamp(24px, 3vw, 36px); }
.scenario__kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }
.scenario h3 { margin-top: 8px; font-size: clamp(18px, 2vw, 21px); font-weight: 700; line-height: 1.45; }
.scenario .points { margin-top: 18px; }
.scenario__kpi {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--lime-soft);
  font-size: 13px;
  color: #3a3f10;
  line-height: 1.7;
}

/* ---------- 参数表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
.spec-table th,
.spec-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 400;
  border-bottom-color: var(--line-strong);
}
.spec-table td { color: var(--ink-70); line-height: 1.7; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 220px; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- 功能清单（可验收） ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.check-grid li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.65;
  background: var(--white);
}
.check-grid li::before { content: ""; width: 7px; height: 7px; background: var(--lime); margin-top: 9px; }

/* ---------- 八阶段交付 ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2b2e21;
  border: 1px solid #2b2e21;
}
.step { background: var(--dark); padding: 24px 22px; }
.step__no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--lime); }
.step h4 { margin-top: 10px; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; }
.step p { margin-top: 8px; font-size: 13px; color: #a9af9b; line-height: 1.7; }

/* ---------- 收益六宫格 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value { background: var(--paper); padding: 24px; }
.value b { display: block; font-size: 16px; font-weight: 700; }
.value span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }

@media (max-width: 980px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .arch__layer { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 860px) {
  .pain { grid-template-columns: 1fr; gap: 10px; }
  .pain__no { padding-top: 0; }
  .pain__fix { padding-left: 14px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .spec-table td:first-child { width: auto; }
  .spec-table th, .spec-table td { padding: 12px 12px; }
}

/* 深色页头的高亮词：不用斜体，改用品牌色（中文斜体很难看） */
.page-hero h1 em { font-style: normal; color: var(--lime); }

/* 首页与其他页面之间的交叉引流条 */
.cross-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
}
.cross-link p { font-size: 14px; color: var(--muted); }
.cross-link strong { color: var(--ink); }

/* 导航加到 8 项后，中等屏幕上给页头让出空间（避免挤压换行） */
@media (max-width: 1200px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 980px) {
  .nav { gap: 11px; }
  .nav a { font-size: 13px; }
}

/* ============================================================================
   24. RFID 扩展区块（优势 / 标签产品系列 / 交付能力 / 适用客户）+ 首页专题
   ========================================================================== */

/* ---------- 核心技术优势：3×2 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.adv { background: var(--white); padding: 24px; }
.adv__no { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }
.adv h3 { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.adv p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.72; }

/* ---------- RFID 标签产品系列：3×2 ---------- */
.tag-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tag-prod { background: var(--white); padding: 24px; display: flex; flex-direction: column; }
.tag-prod__freq {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.tag-prod h3 { margin-top: 12px; font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.tag-prod p { margin-top: 8px; font-size: 13.8px; color: var(--muted); line-height: 1.72; flex: 1; }
.tag-prod__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- 交付能力：4 列 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap { background: var(--paper); padding: 22px; }
.cap__no { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }
.cap h3 { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.cap p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 适用客户类型 ---------- */
.fit-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fit-tag {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 13.5px;
  color: var(--ink-70);
}

/* ---------- 首页：RFID 专题深色区块 ---------- */
.home-rfid { background: var(--dark); color: #f2f3e8; padding: clamp(48px, 6vw, 84px) 0; position: relative; overflow: hidden; }
.home-rfid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
}
.home-rfid__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.home-rfid__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #9aa08b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-rfid__eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--lime); }
.home-rfid h2 {
  margin-top: 16px;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.015em;
}
.home-rfid h2 em { font-style: normal; color: var(--lime); }
.home-rfid__lead { margin-top: 18px; font-size: 15px; color: #b3b8a5; max-width: 52ch; line-height: 1.8; }
.home-rfid__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.home-rfid__points { display: grid; gap: 1px; background: #2b2e21; border: 1px solid #2b2e21; }
.home-rfid__point {
  background: var(--dark);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.home-rfid__point b {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.home-rfid__point span { font-size: 13.5px; color: #a9af9b; line-height: 1.7; }
.home-rfid__point strong { display: block; color: #f2f3e8; font-size: 14.5px; margin-bottom: 3px; font-weight: 600; }

@media (max-width: 980px) {
  .adv-grid, .tag-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .home-rfid__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .adv-grid, .tag-prod-grid, .cap-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   25. 导航栏中的站外入口（上海芝诚包装官网）
   用竖线和站内菜单分开，右侧小箭头提示"会跳走"，新标签页打开
   ========================================================================== */
.nav .nav-ext {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
/* 站外链接不做下划线动效，避免和站内项混淆；悬停只换图标和颜色 */
.nav .nav-ext::after { display: none; }
.nav .nav-ext:hover { color: var(--ink); }
.nav-ext__ico {
  font-size: 11px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.2s;
}
.nav .nav-ext:hover .nav-ext__ico { transform: translate(2px, -2px); color: var(--ink); }

/* 导航到 9 项后逐档收间距：容器最宽 1240px，必须按内容量而不是视口来调 */
@media (max-width: 1340px) {
  .nav { gap: 13px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 1200px) {
  .nav { gap: 12px; }
  .nav a { font-size: 13.5px; }
  .nav .nav-ext { padding-left: 12px; font-size: 13px; }
}

/* 平板/半屏窗口：报价按钮临时让位，先保住 9 项导航不换行；
   导航收进汉堡菜单后（≤980）按钮恢复显示 */
@media (max-width: 1100px) {
  .header-actions .btn { display: none; }
}

/* 折叠菜单里，外链就是普通一行，去掉竖线 */
@media (max-width: 980px) {
  .nav .nav-ext {
    border-left: 0;
    padding-left: 0;
    font-size: 16px;
    justify-content: flex-start;
  }
}
