/* ============================================================
   APCO PIPE FITTINGS — 工业风格设计系统 v3
   ------------------------------------------------------------
   设计语言（上次方案）：钢铁深灰 + 安全橙
   - 橙黑 45° 斜纹安全条纹（顶部标准条）
   - 黄黑 45° 斜纹安全条纹（底部口号条）
   - 切割边角按钮（钢板切割感 clip-path）
   - 工程刻度网格 + 45° 拉丝钢暗纹背景
   - Oswald 风格窄体工业标题字
   - 卡片左上角斜纹工业角标
   - 老式电灯泡指标闪烁 / 炼钢烧红金属管 / 无缝走马灯
   ============================================================ */

/* ---------- 1. 变量与基础 ---------- */
:root {
  --bg: #171b22;            /* 页面底色：暗钢（提亮一档） */
  --bg2: #1a1f27;           /* 次级底 */
  --panel: #242935;         /* 卡片面板：碳钢 */
  --panel2: #2e3441;        /* 面板高光 */
  --panel3: #373e4c;        /* 面板悬停 */
  --line: #3e4450;          /* 描边线 */
  --line-hi: #575e6b;
  --text: #e6e8eb;          /* 正文亮灰 */
  --muted: #8a8f96;         /* 次级文字 */
  --orange: #ff6b00;        /* 安全橙 */
  --orange-gold: #ff9838;   /* 橙金 */
  --orange-deep: #ff8a1e;
  --yellow: #ffc400;        /* 警示黄（底部条纹） */
  --red: #ff3b30;
  --green: #7dd87d;
  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", "Bahnschrift Condensed", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --shadow: 0 8px 24px rgba(0,0,0,.5);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  /* 工程刻度网格 + 45° 拉丝钢暗纹 */
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-gold); text-decoration: none; }
a:hover { color: var(--orange); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.content { width: 100%; max-width: 1200px; margin: 0 auto; padding: 6px 15px 40px; }

::selection { background: rgba(255,107,0,.35); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1b2029; }
::-webkit-scrollbar-thumb { background: #3a4049; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ---------- 2. 布局网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 3. 头部：LOGO + 导航 + 语言 ---------- */
.site-header {
  position: relative;
  background: linear-gradient(180deg, #1e232c 0%, #15191f 100%);
  border-bottom: 1px solid #313743;
  z-index: 900;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  padding-bottom: 10px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 58px; width: auto; object-fit: contain; }

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 9px 15px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: color .25s, border-color .25s;
}
/* 悬停：滑入橙黑斜纹光带 */
.main-nav a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,107,0,.85) 0 6px, rgba(20,16,8,.92) 6px 12px);
  transform: translateY(102%);
  transition: transform .28s ease;
  z-index: -1;
}
.main-nav a:hover { color: #fff; border-color: rgba(255,107,0,.55); }
.main-nav a:hover::before { transform: translateY(0); }
.main-nav a.active {
  color: #fff;
  background: repeating-linear-gradient(-45deg, rgba(255,107,0,.9) 0 6px, rgba(20,16,8,.95) 6px 12px);
  border-color: var(--orange);
  box-shadow: 0 0 12px rgba(255,107,0,.25);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-hi);
  color: #fff;
  font-size: 22px;
  width: 44px; height: 44px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch {
  position: fixed;           /* 独立胶囊：固定于视口右上角，不再嵌入预览工具条 */
  top: 8px;                  /* 与左上预览工具条水平对齐 */
  right: 14px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  background: rgba(18,20,24,.92);
  border: 1px solid var(--line-hi);
  border-radius: 30px;       /* 与预览工具条胶囊一致 */
  padding: 5px 12px;         /* 与预览工具条胶囊一致 */
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.6);
}
.lang-switch a {
  display: inline-block;
  padding: 5px 12px;         /* 与预览工具条按钮一致 */
  border-radius: 20px;       /* 与预览工具条按钮一致 */
  border: 1px solid transparent;  /* 与 .ds-btn 一致，保证胶囊高度完全相同 */
  color: #cfd3da;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.lang-switch a:hover { background: rgba(255,255,255,.14); color: #fff; }
.lang-switch a.active {
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
}
.lang-switch .sep { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; order: -1; }
  .main-nav { order: 10; width: 100%; }
  .main-nav ul { display: none; flex-direction: column; width: 100%; padding: 6px 0 12px; }
  .main-nav ul.open { display: flex; }
  .main-nav a { border-bottom: 1px solid #23262c; }
  .lang-switch { position: fixed; top: 10px; right: 12px; order: initial; margin-left: 0; }
}

/* ---------- 3b. MTC 下拉子菜单（材质单查询 + 存储柜合并栏目） ---------- */
.main-nav li.has-sub { position: relative; }
.main-nav li.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: 1px;
  transition: transform .22s ease;
}
.main-nav li.has-sub:hover > a::after { transform: rotate(180deg); }
.main-nav ul.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: rgba(15,16,20,.97);
  border: 1px solid var(--line-hi);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0,0,0,.6);
  z-index: 950;
}
.main-nav li.has-sub:hover > ul.sub-nav,
.main-nav li.has-sub:focus-within > ul.sub-nav { display: flex; }
.main-nav ul.sub-nav a {
  font-size: 12.5px;
  letter-spacing: 1px;
  padding: 9px 16px;
  border-radius: 0;
  white-space: nowrap;
}
.main-nav ul.sub-nav a:hover { background: rgba(255,107,0,.12); }
/* 移动端：子菜单随汉堡菜单一起展开，缩进平铺（JS 会同时切换所有 ul 的 .open） */
@media (max-width: 860px) {
  .main-nav ul.sub-nav {
    position: static;
    min-width: 0;
    background: rgba(10,12,16,.55);
    border: none;
    border-left: 2px solid rgba(255,107,0,.35);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
  .main-nav li.has-sub:hover > ul.sub-nav,
  .main-nav li.has-sub:focus-within > ul.sub-nav { display: none; } /* 触屏走 .open 逻辑 */
  .main-nav ul.sub-nav.open { display: flex; }
  .main-nav ul.sub-nav a { padding: 8px 15px 8px 32px; white-space: normal; }
}

/* ---------- 4. 顶部橙黑斜纹标准条（走马灯） ---------- */
.header-line {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, #ff6b00 0 26px, #191308 26px 52px);
  border-top: 2px solid #0b0c0e;
  border-bottom: 3px solid #0b0c0e;
  box-shadow: 0 3px 14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.header-line .ticker-track { position: relative; overflow: hidden; }
.header-line .ticker-wrap { display: flex; width: max-content; animation: tickerScroll 60s linear infinite; }
.header-line:hover .ticker-wrap { animation-play-state: paused; }
.header-line .ticker-group { display: flex; flex-shrink: 0; }
.header-line .ticker-text {
  display: inline-block;
  padding: 9px 26px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
  white-space: nowrap;
}

/* ---------- 5. 四指标：老式电灯泡 ---------- */
.header-metrics {
  position: relative;   /* 斜纹标尺线的定位基准 */
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 22px auto 10px;
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
}
/* 标尺斜纹装饰线 */
.header-metrics::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: -4px;
  height: 5px;
  background: repeating-linear-gradient(-45deg, rgba(255,107,0,.5) 0 8px, rgba(255,107,0,.08) 8px 16px);
  border-radius: 2px;
}
.metric {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
  padding: 10px 8px 16px;
  position: relative;
}
.metric b {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 14px rgba(255,107,0,.55), 0 2px 4px rgba(0,0,0,.6);
}
.metric span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-gold);
  font-weight: 700;
}
/* 灯泡常态（稳定发光） */
.metric b.bulb {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255,170,60,.75),
    0 0 22px rgba(255,107,0,.5),
    0 2px 4px rgba(0,0,0,.6);
  transition: text-shadow .12s, color .12s;
}
/* 骤亮 */
.metric b.flare {
  color: #fff;
  text-shadow:
    0 0 6px #fff,
    0 0 18px #ffd9a0,
    0 0 40px rgba(255,140,20,.95),
    0 0 70px rgba(255,107,0,.8);
}
/* 电压不足般变暗 */
.metric b.dim {
  color: #9a7c58;
  text-shadow: 0 2px 4px rgba(0,0,0,.6);
}
@media (max-width: 860px) {
  .metric b { font-size: 30px; }
  .metric span { font-size: 11px; letter-spacing: 1.5px; }
}

/* ---------- 6. Hero 区 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--orange);
  background: #14181f;
}
.hero-bg { width: 100%; height: 640px; object-fit: cover; filter: brightness(.62) saturate(.95); }
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, rgba(8,9,11,.25) 0%, rgba(8,9,11,.55) 70%, rgba(8,9,11,.82) 100%);
}
.hero-inner { padding: 0 22px; max-width: 1080px; }
.hero-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--orange-gold);
  border: 1px solid rgba(255,152,56,.55);
  background: rgba(10,12,14,.55);
  padding: 6px 18px;
  margin-bottom: 22px;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.hero h1, .hero h2 {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 3px 10px rgba(0,0,0,.6), 0 0 40px rgba(255,107,0,.22);
}
.hero p.hero-sub {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255,255,255,.94);
  max-width: 1020px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-bg { height: 480px; }
  .hero h1, .hero h2 { font-size: 34px; }
  .hero p.hero-sub { font-size: 14.5px; }
}

/* 通用页首横幅（内页） */
.g-hero {
  position: relative;
  text-align: center;
  padding: 66px 20px 58px;
  background:
    linear-gradient(135deg, rgba(35,40,48,.96), rgba(22,25,31,.98)),
    repeating-linear-gradient(-45deg, rgba(255,107,0,.05) 0 14px, transparent 14px 28px);
  border-bottom: 3px solid var(--orange);
}
/* 公司简介页 hero：大图背景 + 暗色遮罩 */
.g-hero.about-hero-bg {
  background:
    linear-gradient(100deg, rgba(14,16,20,.78) 15%, rgba(14,16,20,.58) 50%, rgba(14,16,20,.40) 100%),
    url('../img/office-banner.jpg') center/cover no-repeat;
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 78px 20px 64px;
}
.g-hero.about-hero-bg .hero-text p { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.g-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: var(--orange-gold);
  border: 1px solid rgba(255,152,56,.5);
  padding: 5px 16px;
  margin-bottom: 18px;
  text-transform: uppercase;
  background: rgba(255,107,0,.07);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.g-hero h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.g-hero p {
  font-size: 15px;
  color: #cfd2d7;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.95;
}
.g-hero p b { color: var(--orange-gold); }
/* 公司简介：横幅标题下的整段简介文字（无边框卡片） */
.hero-text {
  max-width: 880px;
  margin: 26px auto 0;
  text-align: justify;
}
.hero-text p {
  font-size: 15px;
  color: #cfd2d7;
  line-height: 2.05;
  margin-bottom: 16px;
}
.hero-text p:last-child { margin-bottom: 0; }
.hero-text p b { color: var(--orange-gold); }
@media (max-width: 860px) {
  .g-hero { padding: 46px 16px 40px; }
  .g-hero h2 { font-size: 28px; }
}

/* ---------- 7. 区块标题 ---------- */
.block-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 20px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-left: 18px;
}
/* 标题左侧斜纹角标 */
.block-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 30px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
  clip-path: polygon(0 0, 100% 8px, 100% calc(100% - 8px), 0 100%);
}
.block-title::after {
  content: "";
  flex: 0 0 auto;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.g-section { margin: 44px auto 0; max-width: 1200px; padding: 0 18px; }
.g-section-title {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 23px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff;
}
.g-section-title .bar {
  width: 7px; height: 26px; flex: 0 0 auto;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
  clip-path: polygon(0 0, 100% 6px, 100% calc(100% - 6px), 0 100%);
}
.g-section-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }

/* ---------- 8. 卡片（碳钢面板 + 斜纹角标） ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
  opacity: .9;
  z-index: 2;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,0,.55);
  box-shadow: 0 12px 28px rgba(0,0,0,.5), 0 0 14px rgba(255,107,0,.14);
}
.card .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #161a21;
}

/* ---------- 9. 首页：产品分类卡（数据驱动） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  gap: 10px;
  text-align: center;
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 12px 26px rgba(0,0,0,.5), 0 0 16px rgba(255,107,0,.2);
}
.cat-card .cat-ic { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; }
.cat-card .cat-ic svg { width: 54px; height: 54px; stroke: var(--orange-gold); }
.cat-card .cat-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.cat-card .cat-en { font-size: 11px; color: var(--muted); letter-spacing: .5px; line-height: 1.4; padding: 0 10px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- 10. 首页：制造范围/材料/尺寸 三栏 ---------- */
.spec-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.spec-panel {
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}
.spec-panel::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 46px; height: 46px;
  background: repeating-linear-gradient(-45deg, rgba(255,107,0,.18) 0 6px, transparent 6px 12px);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.spec-panel h4 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-gold);
  margin-bottom: 14px;
}
.spec-panel ul { list-style: none; }
.spec-panel li {
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #eef0f3;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  position: relative;
  letter-spacing: .6px;
}
.spec-panel li::before {
  content: "";
  position: absolute;
  left: 4px; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--orange);
}
.spec-panel li:last-child { border-bottom: none; }
@media (max-width: 860px) { .spec-split { grid-template-columns: 1fr; } }

/* ---------- 11. 首页：样本下载卡（立体书本效果 + 悬停反馈） ---------- */
.sample-card {
  display: block;
  position: relative;
  padding: 0 18px 16px 4px;    /* 右/下留出书页厚度空间 */
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;            /* 书页厚度不被裁剪 */
  box-shadow: none;
}
/* 去掉牌背（不再有扑克牌式翻牌，封面即卡片本身） */
.sample-card::before { display: none; }   /* 去掉 .card 的橙色角标 */
.sample-card:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-6px);
}
/* 封面缩略图：右侧+底部多层白色书页厚度，厚书立体感 */
.sample-card img.thumb {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  backface-visibility: hidden;   /* 翻牌到背面时隐藏封面，露出牌背 */
  border-radius: 1px 5px 5px 1px;   /* 左侧书脊直角 */
  box-shadow:
    7px 5px 0 0 #f7f5f0,
    12px 9px 0 -1px #e9e4d8,
    16px 13px 0 -3px #d3ccba,
    0 16px 26px rgba(0,0,0,.5);
  transition: box-shadow .25s;
}
.sample-card:hover img.thumb {
  box-shadow:
    7px 5px 0 0 #f7f5f0,
    12px 9px 0 -1px #e9e4d8,
    16px 13px 0 -3px #d3ccba,
    0 24px 36px rgba(0,0,0,.62);
}
/* hover 遮罩：打开 PDF 提示 */
.sample-card::after {
  content: "Open PDF";
  position: absolute;
  inset: 0 18px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  z-index: 3;
  border-radius: 1px 5px 5px 1px;
}
.sample-card:hover::after { opacity: 1; }

/* —— 立牌式入场：滚动到样本区时，卡片像展台立牌依次立起（工业风，无翻牌/发牌感）——
   初始：卡片后仰平躺（rotateX 80°）+ 接近透明；滚动进入视口：绕底边立起 + 淡入，
   级联延迟由 main.js 提供（0~990ms） */
.js-on .sample-card.fx {
  transform: perspective(1100px) rotateX(80deg) translateY(26px);
  transform-origin: bottom center;
  opacity: .12;
  transition: transform .6s cubic-bezier(.22,.9,.3,1.12), opacity .5s ease;
  will-change: transform;
}
.js-on .sample-card.fx.in {
  transform: perspective(1100px) rotateX(0deg) translateY(0);
  opacity: 1;
}
/* 立正后悬停：卡片轻轻浮起 + 微放大，保留书本立体感 */
.js-on .sample-card.fx.in:hover {
  transform: perspective(1100px) rotateX(0) translateY(-8px) scale(1.03);
  transition: transform .3s ease;
  z-index: 6;
}

/* ---------- 12. 首页：发货现场滚动照片墙 ---------- */
.ship-wall {
  margin: 4px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #161a21;
}
.ship-mask { display: flex; gap: 28px; padding: 22px 0; overflow: hidden; }
.ship-track { display: flex; gap: 28px; flex-shrink: 0; animation: shipScroll 90s linear infinite; }
.ship-wall:hover .ship-track { animation-play-state: paused; }
.ship-frame {
  width: 300px; height: 200px;
  border-radius: 6px; overflow: hidden; flex-shrink: 0;
  border: 1px solid #2a2e35; background: #000;
  cursor: zoom-in;
  position: relative;
}
.ship-frame::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 3px, #191308 3px 6px);
}
.ship-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ship-frame:hover img { transform: scale(1.06); }
@keyframes shipScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 860px) { .ship-frame { width: 220px; height: 150px; } }
@media (max-width: 520px) { .ship-frame { width: 170px; height: 115px; } }

/* 通用灯箱（发货照片 / 应用图放大） */
.qc-lightbox2 {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  z-index: 1300;
  align-items: center; justify-content: center;
  padding: 26px; cursor: zoom-out;
}
.qc-lightbox2.show { display: flex; }
.qc-lightbox2 img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.8); }
.qc-lightbox2 .lb-close2 {
  position: absolute; top: 18px; right: 26px;
  color: #aaa; font-size: 36px; cursor: pointer;
  background: none; border: none; line-height: 1; z-index: 2;
}
.qc-lightbox2 .lb-close2:hover { color: #fff; }

/* ---------- 13. 首页：Why Choose 卡 ---------- */
.why-card { padding: 22px 20px; }
.why-card .why-ic { font-size: 30px; margin-bottom: 12px; }
.why-card h4 {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 800;
  letter-spacing: 1px;
  color: var(--orange-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.why-card p { font-size: 14px; line-height: 1.8; color: #dde0e4; font-weight: 500; }

/* ---------- 14. 首页：认证徽章带 + 供应商滚动条 ---------- */
.approval-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 4px 0 6px;
}
.approval-badge {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line-hi);
  padding: 8px 16px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  text-transform: uppercase;
}
.approval-badge:hover { border-color: var(--orange); color: var(--orange-gold); }

.supplier-wall {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1b2029, #15191f);
  padding: 16px 0;
}
.supplier-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 46s linear infinite;
}
.supplier-wall:hover .supplier-track { animation-play-state: paused; }
.supplier-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.72);
  padding: 6px 30px;
  white-space: nowrap;
  position: relative;
}
.supplier-name::after {
  content: "◆";
  position: absolute;
  right: 4px;
  color: var(--orange);
  font-size: 9px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- 14b. 口号滚动条（左→右，与认证名单栏同款效果反向） ---------- */
@keyframes tickerScrollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.slogan-wall { border-top: none; }              /* 与上方认证栏贴合，避免双描边 */
.slogan-track { animation-name: tickerScrollRev; } /* 覆盖 .supplier-track 的 tickerScroll，方向反转 */

/* ---------- 14c. 顶部双行滚动条（标准 右→左 / 认证 左→右，更紧凑的小字号版） ---------- */
.top-wall { padding: 8px 0; }
.top-wall .supplier-name { font-size: 11.5px; letter-spacing: 1.5px; padding: 3px 26px; color: rgba(255,255,255,.55); }
.top-wall .supplier-track { animation-duration: 90s; }  /* 长文本放缓，便于阅读 */

/* ---------- 15. 首页：CTA 带 ---------- */
.cta-band {
  margin-top: 46px;
  padding: 40px 24px;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(255,107,0,.12) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, #191308 12px 24px);
}
.cta-band h3 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
}
.cta-band p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

/* ---------- 16. 切割边角按钮 ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  border: none;
  cursor: pointer;
  transition: filter .22s, transform .12s;
}
.btn:hover { filter: brightness(1.12); color: #191008; }
.btn:active { transform: scale(.97); }
.btn.ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn.ghost:hover { border-color: var(--orange-gold); color: var(--orange-gold); background: rgba(255,107,0,.1); }
.btn.small { padding: 9px 20px; font-size: 12.5px; }

/* ---------- 16b. Hero 按钮反馈：默认收着，悬停才点亮 ----------
   按需求调整：VIEW PRODUCTS / CONTACT US 不再常显高亮，
   只有鼠标移到按钮上时才出现"反馈"（点亮 + 发光 + 上浮）。 */
.hero-actions .btn {
  background: rgba(255,107,0,.07);
  color: var(--orange-gold);
  border: 1px solid rgba(255,152,56,.5);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .15s;
}
.hero-actions .btn:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  color: #191008;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(255,107,0,.45);
  transform: translateY(-3px);
  filter: none;
}
.hero-actions .btn:active { transform: translateY(-1px) scale(.97); }
.hero-actions .btn.ghost {
  background: rgba(255,107,0,.07);
  color: var(--orange-gold);
  border-color: rgba(255,152,56,.5);
}
.hero-actions .btn.ghost:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  color: #191008;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(255,107,0,.45);
  transform: translateY(-3px);
  filter: none;
}

/* ---------- 17. 页脚 ---------- */
.footer-line {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, #ffc400 0 26px, #151207 26px 52px);
  border-top: 3px solid #0b0c0e;
  border-bottom: 2px solid #0b0c0e;
}
.footer-line .ticker-track { position: relative; overflow: hidden; }
.footer-line .ticker-wrap { display: flex; width: max-content; animation: tickerScroll 40s linear infinite; }
.footer-line:hover .ticker-wrap { animation-play-state: paused; }
.footer-line .ticker-group { display: flex; flex-shrink: 0; }
.footer-line .ticker-text {
  display: inline-block;
  padding: 9px 30px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #17130a;
  white-space: nowrap;
}
.site-footer {
  background: linear-gradient(180deg, #15191f 0%, #10141a 100%);
  border-top: 1px solid #2e3441;
  padding: 34px 0 30px;
}
.footer-inner { text-align: center; }
.footer-inner p { font-size: 13px; color: #8f959d; line-height: 1.9; }
.footer-inner p.icp { color: #666c74; font-size: 12px; margin-top: 8px; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a {
  font-size: 12.5px; letter-spacing: 1px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--orange-gold); }

/* ---------- 18. 走马灯通用动效 ---------- */
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 19.（左右金属管已按需求移除） ---------- */

/* ---------- 20. 回到顶部 ---------- */
#back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  font-size: 20px;
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 1000;
}
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { filter: brightness(1.12); }

/* ---------- 21. 预览切换工具条（main.js 注入，固定于左上角） ---------- */
.device-switch {
  position: fixed;
  left: 10px;
  top: 8px;
  transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18,20,24,.92);
  border: 1px solid var(--line-hi);
  border-radius: 30px;
  padding: 5px 12px;
  z-index: 1200;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.6);
}
.device-switch .ds-lbl { font-size: 12px; color: var(--muted); margin-right: 2px; }
.device-switch .ds-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  color: #bbb;
  border: 1px solid transparent;
  transition: all .2s;
}
.device-switch .ds-btn:hover { color: #fff; }
.device-switch .ds-btn.active {
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
}
.device-erp {
  position: fixed;
  left: 10px;
  bottom: 20px;
  transform: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,0,.14);
  border: 1px solid rgba(255,107,0,.5);
  border-radius: 24px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-gold);
  z-index: 1190;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.device-erp:hover { background: rgba(255,107,0,.28); color: #fff; }
/* 手机端：真手机上预览切换无意义，隐藏预览工具条；ERP 胶囊左下角，页头内容下移避免压住汉堡菜单 */
@media (max-width: 860px) {
  .device-switch { display: none; }
  .device-erp { bottom: 16px; left: 10px; top: auto; }
  .header-inner { padding-top: 52px; }
}
.erp-ic { font-size: 14px; line-height: 1; }
.erp-txt { letter-spacing: 1px; }
/* 手机预览舞台（main.js 构建；默认隐藏，?ds=mobile 时展示） */
.ds-stage {
  position: fixed; inset: 0; z-index: 1250;
  background: rgba(5,7,9,.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
}
.ds-stage.show { display: flex; }
.ds-phone {
  width: 390px; max-width: 92vw; height: 82vh;
  background: #000;
  border: 10px solid #23262c;
  border-radius: 36px;
  box-shadow: 0 20px 70px rgba(0,0,0,.8), 0 0 0 2px var(--line-hi);
  overflow: hidden;
  position: relative;
}
.ds-screen { width: 100%; height: 100%; border: none; background: #fff; }
body.ds-mobile { zoom: .46; }

/* ============================================================
   产品中心页（products-data.js + products.js 渲染）
   ============================================================ */
.pc-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 26px; }
.pc-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all .22s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 215px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pc-btn::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 7px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
  z-index: 3;
}
.pc-btn::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,12,14,.2) 0%, rgba(10,12,14,.45) 45%, rgba(10,12,14,.6) 55%, rgba(10,12,14,.8) 100%);
}
.pc-btn .pc-name {
  position: relative; z-index: 2;
  font-family: var(--font-head);
  font-size: 27px; font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: 1px;
  padding: 20px 8px 22px; width: 100%;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.85);
}
.pc-btn .pc-en { font-size: 11px; color: #aab0b8; font-weight: 400; line-height: 1.3; }
.pc-btn:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 12px rgba(255,107,0,.18); }
.pc-btn.active {
  border-color: var(--orange);
  box-shadow: 0 0 14px rgba(255,107,0,.4), inset 0 0 0 2px rgba(255,107,0,.45);
}
.pc-btn.active .pc-name { color: var(--orange-gold); }

.pc-divider { display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; }
.pc-divider::before, .pc-divider::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(255,107,0,0), rgba(255,107,0,.55)); }
.pc-divider::after { background: linear-gradient(90deg, rgba(255,107,0,.55), rgba(255,107,0,0)); }
.pc-divider span { width: 10px; height: 10px; transform: rotate(45deg); background: var(--orange); box-shadow: 0 0 8px rgba(255,107,0,.6); }

.pc-scrollbar { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.pc-scrollbar .pc-snav {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.pc-scrollbar .pc-snav:hover { background: rgba(255,107,0,.3); border-color: rgba(255,107,0,.6); color: var(--orange-gold); }
.pc-scrollbar .pc-strack { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); }

.pc-panel { display: none; animation: pcFade .35s ease; }
.pc-panel.active { display: block; }
@keyframes pcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pc-panel .pc-count { color: var(--muted); font-size: 13px; margin: 0 0 14px; }

.pc-grid {
  display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
  padding: 6px 2px 14px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,107,0,.5) rgba(255,255,255,.06);
}
.pc-grid::-webkit-scrollbar { height: 8px; }
.pc-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 4px; }
.pc-grid::-webkit-scrollbar-thumb { background: rgba(255,107,0,.55); border-radius: 4px; }
.pc-grid::-webkit-scrollbar-thumb:hover { background: rgba(255,107,0,.8); }
.pc-grid .pc-card {
  position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); background: #000;
  aspect-ratio: 4/3;
  flex: 0 0 260px; scroll-snap-align: start;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pc-grid .pc-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 3px, #191308 3px 6px);
  z-index: 2;
}
.pc-grid .pc-card:hover { transform: scale(1.02); border-color: var(--orange); box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.pc-grid .pc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pc-lb {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.93);
  flex-direction: column; align-items: center; justify-content: center; padding: 20px;
}
.pc-lb.show { display: flex; }
.pc-lb .pc-lb-top { width: 100%; max-width: 1000px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pc-lb .pc-lb-name { color: #fff; font-size: 14px; font-weight: 600; }
.pc-lb .pc-lb-close { color: #fff; font-size: 34px; line-height: 1; cursor: pointer; background: none; border: none; padding: 0 6px; }
.pc-lb .pc-lb-close:hover { color: var(--orange); }
.pc-lb .pc-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; max-width: 94vw; }
.pc-lb .pc-lb-img { max-width: 88vw; max-height: 78vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.8); }
.pc-lb .pc-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 26px; width: 46px; height: 60px;
  border-radius: 8px; cursor: pointer; transition: background .2s;
}
.pc-lb .pc-nav:hover { background: rgba(255,107,0,.28); border-color: rgba(255,107,0,.6); }
.pc-lb .pc-nav.prev { left: -54px; }
.pc-lb .pc-nav.next { right: -54px; }
.pc-lb .pc-nav:disabled { opacity: .2; cursor: default; }
.pc-lb .pc-lb-sub { color: var(--muted); font-size: 12px; margin-top: 10px; }
@media (max-width: 900px) { .pc-btns { grid-template-columns: repeat(2, 1fr); } .pc-grid .pc-card { flex-basis: 200px; } .pc-lb .pc-nav.prev { left: -6px; } .pc-lb .pc-nav.next { right: -6px; } }
@media (max-width: 600px) { .pc-btns { grid-template-columns: repeat(2, 1fr); } .pc-grid .pc-card { flex-basis: 150px; } }

#pc-panels { width: 100%; margin-top: 8px; padding: 0; overflow-x: clip; }

/* ============================================================
   生产设备页（equipment-data.js + equipment.js 渲染）
   ============================================================ */
.eq-container { margin-top: 6px; }
.eq-wide { max-width: 1440px; }
.eq-hint { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.eq-shop {
  margin-bottom: 58px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.eq-shop:last-child { margin-bottom: 6px; }
.eq-shop-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(90deg, rgba(255,107,0,.16), rgba(255,107,0,.02));
  border-bottom: 2px solid var(--orange);
}
/* 车间编号徽标 */
.eq-shop-idx {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  background: var(--orange);
  padding: 5px 11px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(255,107,0,.35);
}
/* 台数统计标签（车间头右侧） */
.eq-shop-meta {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--orange-gold);
  border: 1px solid rgba(255,152,56,.45);
  background: rgba(255,107,0,.08);
  padding: 5px 12px;
  border-radius: 14px;
  white-space: nowrap;
}
.eq-shop-name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
}
.eq-shop-name-en { color: var(--orange-gold); font-size: 18px; letter-spacing: 2px; text-transform: uppercase; font-weight: 900; }
.eq-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #12161d, #181d26);
}
.eq-photo-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #1b2029;
  padding: 24px 26px;
}
.eq-photo-track::-webkit-scrollbar { height: 6px; }
.eq-photo-track::-webkit-scrollbar-track { background: #1b2029; }
.eq-photo-track::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }
.eq-photo-cell {
  position: relative;
  flex: 0 0 auto;
  width: 460px;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transform: scale(.78);
  opacity: .45;
  filter: brightness(.62) saturate(.5);
  transition: transform .38s ease, opacity .38s ease, filter .38s ease, box-shadow .38s ease;
}
.eq-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 当前主题照片：放大点亮 + 橙色描边辉光 */
.eq-photo-cell.active {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 2px var(--orange), 0 14px 34px rgba(0,0,0,.6), 0 0 26px rgba(255,107,0,.25);
}
.eq-photo-cell:hover { opacity: .85; }
/* 缩小照片上的编号角标隐藏，突出主题照片 */
.eq-photo-cell:not(.active) .eq-pno { opacity: 0; }
.eq-pno { transition: opacity .3s; }
/* 手机端：主题照片适配屏宽 */
@media (max-width: 860px) {
  .eq-photo-cell { width: 78vw; }
  .eq-photo-track { padding: 18px 14px; gap: 12px; }
}
.eq-pno {
  position: absolute;
  left: 12px; top: 12px;
  background: rgba(10,12,14,.78);
  border: 1px solid rgba(255,107,0,.55);
  color: var(--orange-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 14px;
}
.eq-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  overflow-x: auto;
  background: #1b2029;
}
.eq-thumb {
  flex: 0 0 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: .62;
  transition: all .2s;
}
.eq-thumb:hover, .eq-thumb.active { opacity: 1; border-color: var(--orange); }
.eq-detail {
  position: relative;
  border-top: 1px solid var(--line);
  background: #1b2029;
  overflow: hidden;
}
.eq-detail-track { display: flex; transition: transform .4s ease; }
.eq-dcard {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 22px 26px 26px;
}
.eq-d-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.eq-d-no { color: var(--orange-gold); font-weight: 800; font-size: 13.5px; letter-spacing: 1px; }
.eq-d-name { color: #fff; font-weight: 800; font-size: 17px; }
/* 当前设备序号（右侧） */
.eq-d-pos { margin-left: auto; color: var(--muted); font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 2px; white-space: nowrap; }
.eq-d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 12px; }
/* 明细行：面板化小卡，标签在上、值在下 */
.eq-d-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(46,52,65,.55);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(255,107,0,.55);
  border-radius: 7px;
  padding: 10px 14px 11px;
  transition: border-color .2s, background .2s;
}
.eq-d-row:hover { border-color: rgba(255,152,56,.55); background: rgba(46,52,65,.85); }
.eq-d-k {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.eq-d-v { color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.5; word-break: break-word; }
.eq-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 5;
  transition: background .2s;
}
.eq-arrow:hover { background: rgba(255,107,0,.3); border-color: rgba(255,107,0,.6); }
.eq-arrow.eq-prev { left: 8px; }
.eq-arrow.eq-next { right: 8px; }
.eq-unreg { color: var(--muted); font-size: 13px; padding: 8px 0; }

/* ============================================================
   质量控制页（qc-equipment.js / quality-control.js 渲染）
   ============================================================ */
.qc-hero {
  background:
    linear-gradient(135deg, rgba(24,26,31,.95), rgba(12,14,17,.97)),
    repeating-linear-gradient(-45deg, rgba(255,107,0,.06) 0 14px, transparent 14px 28px);
  padding: 66px 20px 58px;
  text-align: center;
  border-bottom: 3px solid var(--orange);
}
.qc-hero h2 {
  font-family: var(--font-head);
  color: #fff; font-size: 36px; font-weight: 900; letter-spacing: 1px;
  margin: 0 0 14px; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.qc-hero .qc-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 800; letter-spacing: 3px;
  color: var(--orange-gold);
  border: 1px solid rgba(255,107,0,.5);
  padding: 6px 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: rgba(255,107,0,.08);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.qc-hero p { color: #cfd2d7; font-size: 15px; max-width: 820px; margin: 0 auto; line-height: 2; }
@media (max-width: 860px) { .qc-hero h2 { font-size: 26px; } }

.qc-section { margin: 46px auto 0; max-width: 1200px; padding: 0 20px; }
.qc-section-title {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 23px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff;
}
.qc-section-title .bar {
  width: 7px; height: 26px; flex: 0 0 auto;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 4px, #191308 4px 8px);
  clip-path: polygon(0 0, 100% 6px, 100% calc(100% - 6px), 0 100%);
}
.qc-section-sub { color: var(--muted); font-size: 13px; margin: 0 0 22px; }

.qc-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qc-cap {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.qc-cap:hover { transform: translateY(-3px); border-color: rgba(255,107,0,.55); }
.qc-cap .ico { font-size: 30px; margin-bottom: 10px; }
.qc-cap h4 {
  font-family: var(--font-head);
  color: var(--orange-gold); font-size: 17px; font-weight: 800;
  margin: 0 0 8px; letter-spacing: .5px; text-transform: uppercase;
}
.qc-cap p { color: #e2e5e9; font-size: 13.5px; font-weight: 500; line-height: 1.75; margin: 0; }
@media (max-width: 860px) { .qc-caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .qc-caps { grid-template-columns: 1fr; } }

.qc-equip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equip-card {
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 2px solid rgba(255,107,0,.7);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.equip-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 10px 26px rgba(0,0,0,.6), 0 0 14px rgba(255,107,0,.28);
}
.equip-card .ep-img {
  width: 100%; aspect-ratio: 3/2;
  object-fit: cover; display: block; background: #111;
  filter: brightness(1.1) contrast(1.04);
  border-bottom: 2px solid rgba(255,107,0,.4);
}
.equip-card .ep-body { padding: 12px 13px 14px; background: linear-gradient(180deg, #2a303c 0%, #1b2029 100%); }
.equip-card .ep-no {
  display: inline-block;
  color: var(--orange-gold); font-weight: 800; font-size: 11.5px; letter-spacing: .5px;
  margin-bottom: 6px;
  background: rgba(255,107,0,.16);
  border: 1px solid rgba(255,107,0,.5);
  padding: 2px 9px; border-radius: 12px;
}
.equip-card .ep-name { color: #f4f6f9; font-size: 13px; font-weight: 700; line-height: 1.4; margin: 0 0 7px; }
.equip-card .ep-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.equip-card .cls-badge {
  display: inline-block; font-size: 10.5px; font-weight: bold; padding: 2px 9px; border-radius: 12px;
}
.equip-card .cls-1 { background: rgba(255,90,40,.2); color: #ff9a6b; border: 1px solid rgba(255,90,40,.55); }
.equip-card .cls-2 { background: rgba(120,150,255,.16); color: #9db8ff; border: 1px solid rgba(120,150,255,.5); }
.equip-card .ep-open {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.65);
  color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 14px;
  opacity: 0; transition: opacity .2s; pointer-events: none;
  border: 1px solid rgba(255,107,0,.6);
}
.equip-card:hover .ep-open { opacity: 1; }
.equip-card .ep-upload {
  position: absolute; bottom: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,225,180,.92); color: #5a3a12;
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 12px;
  cursor: pointer; border: 1px solid rgba(255,107,0,.6);
  z-index: 2; transition: background .2s, color .2s;
}
.equip-card .ep-upload:hover { background: #fff1d6; color: #3d2707; border-color: var(--orange-gold); }
.equip-card .ep-upload span { text-shadow: none; }
.equip-card .ep-upload svg { width: 10px; height: 10px; }
@media (max-width: 860px) { .qc-equip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .qc-equip { grid-template-columns: 1fr; } }
/* —— 立牌式入场：质检设备卡像展台立牌依次立起（与首页样本卡同款，无翻牌感）——
   初始：卡片后仰平躺 + 接近透明；滚动进入视口：绕底边立起 + 淡入，
   级联延迟由 main.js 提供（0~720ms） */
.js-on .equip-card.fx {
  transform: perspective(1100px) rotateX(80deg) translateY(26px);
  transform-origin: bottom center;
  opacity: .12;
  transition: transform .6s cubic-bezier(.22,.9,.3,1.12), opacity .5s ease, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.js-on .equip-card.fx.in {
  transform: perspective(1100px) rotateX(0deg) translateY(0);
  opacity: 1;
}
/* 立正后悬停：卡片浮起 + 微放大，保留橙色描边发光 */
.js-on .equip-card.fx.in:hover {
  transform: perspective(1100px) rotateX(0) translateY(-6px) scale(1.03);
  transition: transform .3s ease, border-color .2s, box-shadow .2s;
  z-index: 6;
}
/* 去掉牌背（不再有扑克牌式翻牌） */
.equip-card::before { display: none; }
.qc-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: #9aa0a8; }

.qc-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  display: none; z-index: 1200;
  align-items: center; justify-content: center;
  flex-direction: column; padding: 26px; cursor: zoom-out;
}
.qc-lightbox.show { display: flex; }
.qc-lightbox .lb-wrap { display: flex; gap: 24px; align-items: center; max-width: 92vw; max-height: 88vh; }
.qc-lightbox img { max-width: 58vw; max-height: 78vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.8); object-fit: contain; background: #000; }
.qc-lightbox .lb-info { max-width: 320px; min-width: 240px; text-align: left; }
.qc-lightbox .lb-no { color: var(--orange-gold); font-weight: bold; font-size: 15px; letter-spacing: .5px; margin-bottom: 6px; }
.qc-lightbox .lb-name { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.4; margin: 0 0 14px; }
.qc-lightbox .lb-rows { border-top: 1px solid #333; padding-top: 12px; }
.qc-lightbox .lb-row { display: flex; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.qc-lightbox .lb-row .k { color: #8f949b; min-width: 64px; }
.qc-lightbox .lb-row .v { color: #e6e8eb; }
.qc-lightbox .lb-close {
  position: absolute; top: 18px; right: 24px;
  color: #aaa; font-size: 34px; cursor: pointer; line-height: 1;
  background: none; border: none; transition: color .2s; z-index: 2;
}
.qc-lightbox .lb-close:hover { color: #fff; }
@media (max-width: 760px) {
  .qc-lightbox .lb-wrap { flex-direction: column; overflow-y: auto; max-height: 86vh; }
  .qc-lightbox img { max-width: 92vw; max-height: 50vh; }
  .qc-lightbox .lb-info { max-width: 100%; min-width: 0; }
}

/* ============================================================
   资质认证页（gallery.js / 内嵌渲染）
   ============================================================ */
.ap-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-grid .ap-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ap-grid .ap-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(0,0,0,.55), 0 0 12px rgba(255,107,0,.18);
  transform: translateY(-3px);
}
/* 悬停反馈（强化版，特异性压过 .fx 渐显的 transform） */
.ap-grid a.ap-card.fx.in {
  transition: transform .3s ease, border-color .25s, box-shadow .3s, opacity .7s ease;
}
.ap-grid a.ap-card:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 34px rgba(0,0,0,.62), 0 0 18px rgba(255,107,0,.28);
  transform: translateY(-7px);
}
/* 证书图容器：悬停遮罩提示 */
.ap-grid .ap-media { position: relative; overflow: hidden; }
.ap-grid .ap-media .ap-open {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.2px;
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.ap-grid a.ap-card:hover .ap-open { opacity: 1; }
.ap-grid .ap-title {
  padding: 12px 14px 14px;
  color: var(--orange-gold);
  font-family: var(--font-head);
  font-size: 15.5px; font-weight: 800;
  line-height: 1.4; letter-spacing: .3px;
  text-align: center;
  min-height: 62px;
  border-top: 3px solid var(--orange);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-grid .ap-card img.ap-img {
  width: 100%; height: 400px;
  object-fit: contain; display: block;
  background: #fff;
  transition: transform .3s ease, filter .25s;
}
.ap-grid a.ap-card:hover img.ap-img { transform: scale(1.045); filter: brightness(1.04); }
.ap-grid .ap-card:hover .ap-title {
  background: linear-gradient(180deg, var(--panel3), var(--panel2));
}
.ap-grid .ap-card:active { transform: scale(.965); }
@media (max-width: 900px) { .ap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ap-grid { grid-template-columns: 1fr; } }

/* gallery.js 通用容器 */
.g-grid { display: grid; gap: 20px; }
.g-grid .g-card { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; background: #000; }
.g-grid .g-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.g-grid .g-card:hover { border-color: var(--orange); }
.g-card .g-count {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(255,107,0,.92); color: #1a1208;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 12px;
}
.g-card .g-open {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,10,12,.55); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  opacity: 0; transition: opacity .22s;
}
.g-card:hover .g-open { opacity: 1; }
.g-card .g-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(8,10,12,.85));
  padding: 26px 14px 12px;
}
.g-card .g-title {
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* gallery.js 灯箱 */
.g-lightbox {
  position: fixed; inset: 0; z-index: 1250;
  background: rgba(6,8,10,.94);
  display: none; flex-direction: column;
  padding: 18px 20px 26px;
}
.g-lightbox.show { display: flex; }
.g-lb-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; max-width: 1100px; width: 100%; margin: 0 auto 12px;
}
.g-lb-title { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.g-lb-title > span:first-child {
  color: #fff; font-family: var(--font-head);
  font-size: 19px; font-weight: 800; letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g-lb-sub { color: var(--orange-gold); font-size: 12.5px; letter-spacing: 1px; white-space: nowrap; }
.g-lb-close {
  background: none; border: 1px solid var(--line-hi); color: #bbb;
  font-size: 22px; line-height: 1; width: 38px; height: 38px;
  border-radius: 50%; cursor: pointer; transition: all .2s; flex: 0 0 auto;
}
.g-lb-close:hover { color: #fff; border-color: var(--orange); }
.g-lb-stage {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 18px; max-width: 1100px; width: 100%; margin: 0 auto;
}
.g-lb-stage img {
  max-width: calc(100% - 120px); max-height: 100%;
  border-radius: 8px; box-shadow: 0 12px 48px rgba(0,0,0,.8);
  object-fit: contain; background: #000;
}
.g-lb-nav {
  flex: 0 0 auto; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line-hi);
  background: rgba(255,255,255,.04); color: #fff;
  font-size: 24px; cursor: pointer; transition: all .2s;
}
.g-lb-nav:hover:not(:disabled) { border-color: var(--orange); background: rgba(255,107,0,.15); }
.g-lb-nav:disabled { opacity: .25; cursor: default; }
.g-lb-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 14px; min-height: 10px;
}
.g-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3a3e45; cursor: pointer; transition: all .2s;
}
.g-dot.cur { background: var(--orange); transform: scale(1.25); }
@media (max-width: 700px) {
  .g-lb-stage img { max-width: 100%; }
  .g-lb-nav { width: 36px; height: 36px; font-size: 18px; }
  .g-lb-title > span:first-child { font-size: 15px; }
}

/* ============================================================
   材质单查询页（cert-* / admin-*）
   ============================================================ */
.cert-hero {
  background:
    linear-gradient(135deg, rgba(24,26,31,.96), rgba(12,14,17,.98)),
    repeating-linear-gradient(-45deg, rgba(255,107,0,.06) 0 14px, transparent 14px 28px);
  padding: 66px 20px 56px;
  text-align: center;
  border-bottom: 3px solid var(--orange);
}
.cert-hero h2 {
  font-family: var(--font-head);
  color: #fff; font-size: 34px; font-weight: 900; letter-spacing: 1px;
  margin: 0 0 14px; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cert-hero p { color: #d0d0d0; font-size: 15px; margin: 0 auto; max-width: 760px; line-height: 2; }

.cert-panel { max-width: 860px; margin: 30px auto; padding: 0 20px; }
.cert-search-box {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cert-search-box .search-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cert-search-box input[type="text"] {
  flex: 1; min-width: 240px; max-width: 460px;
  padding: 14px 18px; font-size: 16px;
  border: 2px solid #444; border-radius: 4px;
  background: #171c24; color: #fff; outline: none;
  transition: border-color .2s;
}
.cert-search-box input[type="text"]:focus { border-color: var(--orange-gold); }
.cert-search-box input[type="text"]::placeholder { color: #777; }
.cert-btn {
  padding: 12px 30px; font-size: 16px; font-weight: bold; cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  color: #1a1a1a; border: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: filter .2s, transform .1s;
}
.cert-btn:hover { filter: brightness(1.1); }
.cert-btn:active { transform: scale(.97); }
.cert-hint { color: #888; font-size: 12.5px; margin-top: 18px; }

.cert-result { margin-top: 22px; }
.cert-msg {
  padding: 18px; border-radius: 6px; text-align: center; font-size: 14px;
  background: #1f242c; border: 1px solid var(--line); color: #ccc;
}
.cert-msg.err { border-color: #b3403a; color: #ffb0a8; }
.cert-msg.ok { border-color: var(--orange-gold); color: var(--orange-gold); }
.cert-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 22px; text-align: center;
  box-shadow: var(--shadow);
}
.cert-card .cert-no {
  font-size: 22px; font-weight: bold; color: var(--orange-gold);
  letter-spacing: .5px; margin-bottom: 6px; word-break: break-all;
}
.cert-card .cert-desc { color: #ccc; font-size: 14px; margin-bottom: 18px; }
.cert-card a.cert-open {
  display: inline-block; padding: 13px 36px; font-size: 16px; font-weight: bold;
  text-decoration: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  color: #1a1a1a;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: filter .2s, transform .1s;
}
.cert-card a.cert-open:hover { filter: brightness(1.1); }
.cert-card a.cert-open:active { transform: scale(.97); }
/* 查询结果卡：查看/下载 + 二维码 按钮组 */
.cert-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cert-qr-btn {
  display: inline-block;
  padding: 13px 28px; font-size: 14px; font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,107,0,.55);
  color: var(--orange-gold);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: all .2s;
}
.cert-qr-btn:hover { background: rgba(255,107,0,.22); color: #fff; }
.cert-qr-btn:active { transform: scale(.97); }
/* 查询页 hero 存储柜入口 */
.cert-hero-links { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cert-hero-links .cabinet-link { font-size: 13.5px; padding: 11px 24px; }
.cert-thumb { max-width: 100%; max-height: 480px; border-radius: 6px; border: 1px solid #444; margin-bottom: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.cert-type {
  display: inline-block; font-size: 11px; font-weight: bold; letter-spacing: 1px;
  padding: 2px 10px; border-radius: 10px; margin-bottom: 10px;
  background: rgba(255,107,0,.15); color: var(--orange-gold);
  border: 1px solid rgba(255,107,0,.4);
}

/* ---------- 公司上传（材质单 / 校准证书 共用） ---------- */
.admin-entry { margin: 10px auto 0; max-width: 860px; }
.admin-entry .admin-bar { background: transparent; border: none; border-radius: 0; padding: 30px 20px 34px; text-align: center; }
.admin-entry a.admin-link {
  font-size: 13px; color: #999; text-decoration: none; letter-spacing: 1px;
  transition: color .2s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border: 1px dashed #555; border-radius: 6px;
}
.admin-entry a.admin-link:hover { color: var(--orange-gold); border-color: var(--orange-gold); background: rgba(255,107,0,.06); }
.admin-entry .admin-lock { font-size: 16px; line-height: 1; }
.admin-entry .admin-label { letter-spacing: 1.5px; text-transform: uppercase; font-size: 12px; }
/* 大图标双入口（公司上传 + 材质单存储柜）：竖排、图标放大、卡片式 */
.admin-entry .admin-bar { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.admin-entry a.admin-link.big {
  display: flex; align-items: center; flex-direction: column; gap: 14px;
  width: 100%; max-width: 420px;
  padding: 30px 24px;
  font-size: 15px; color: #cfcfcf;
  border: 1px solid #444; border-radius: 10px;
  background: rgba(255,255,255,.02);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.admin-entry a.admin-link.big .admin-lock { font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.admin-entry a.admin-link.big .admin-label { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: #e8e8e8; }
.admin-entry a.admin-link.big:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
  border-color: var(--orange-gold);
  background: rgba(255,107,0,.08);
  color: var(--orange-gold);
}
.admin-entry a.admin-link.big:hover .admin-label { color: var(--orange-gold); }
.admin-entry a.admin-link.cabinet-entry .admin-lock { font-size: 54px; }
.admin-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  display: none; align-items: center; justify-content: center;
  z-index: 1100; padding: 20px;
}
.admin-overlay.show { display: flex; }
.admin-modal {
  background: #1c1c1c;
  border: 1px solid #333;
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  padding: 26px 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.admin-modal h3 { color: var(--orange-gold); font-size: 18px; margin: 0 0 4px; letter-spacing: .5px; }
.admin-modal .admin-sub { color: #888; font-size: 12.5px; margin: 0 0 18px; }
.admin-close {
  float: right; cursor: pointer; color: #888; font-size: 22px; line-height: 1;
  background: none; border: none; transition: color .2s;
}
.admin-close:hover { color: #fff; }
.admin-login-box { display: flex; gap: 10px; margin-bottom: 8px; }
.admin-login-box input[type="password"] {
  flex: 1; padding: 13px 16px; font-size: 15px;
  border: 2px solid #444; border-radius: 4px;
  background: #171c24; color: #fff; outline: none;
  transition: border-color .2s;
}
.admin-login-box input[type="password"]:focus { border-color: var(--orange-gold); }
.admin-login-box .login-err { color: #ff8a80; font-size: 12.5px; margin: 8px 0 0; min-height: 16px; }
.admin-btn {
  padding: 12px 26px; font-size: 15px; font-weight: bold; cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  color: #1a1a1a; border: none; border-radius: 4px;
  transition: filter .2s, transform .1s;
}
.admin-btn:hover { filter: brightness(1.1); }
.admin-btn:active { transform: scale(.97); }
.admin-btn.primary { padding: 12px 32px; }
.admin-btn.ghost { background: #2a2a2a; color: #ddd; border: 1px solid #444; }
.admin-btn.small { padding: 6px 14px; font-size: 12.5px; }
.admin-btn.danger { background: #3a2020; color: #ff8a80; border: 1px solid #7a3a36; }
.upload-msg { font-size: 12.5px; margin-top: 10px; min-height: 16px; color: #999; }
.upload-msg.ok { color: var(--green); }
.upload-msg.err { color: #ff8a80; }
.admin-panel { display: none; }
.admin-panel.show { display: block; }
.admin-field { margin-bottom: 14px; }
.admin-field label { display: block; color: #b9bec5; font-size: 12.5px; margin-bottom: 6px; }
.admin-field input[type="text"], .admin-field select, .admin-field textarea {
  width: 100%; padding: 12px 14px; font-size: 14px;
  border: 2px solid #444; border-radius: 4px;
  background: #171c24; color: #fff; outline: none;
  transition: border-color .2s; font-family: inherit;
}
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { border-color: var(--orange-gold); }
.admin-field textarea { resize: vertical; min-height: 52px; }
.admin-field input[type="file"] { width: 100%; font-size: 13px; color: #ccc; }
.admin-field select option { background: #1c1c1c; color: #fff; }
.admin-field.hint { color: #888; font-size: 11.5px; margin-top: -8px; }
/* 自动识别编号显示框 */
.admin-no-auto {
  padding: 11px 12px; border-radius: 8px;
  background: #0e1117; color: #9aa0ab;
  border: 1px dashed var(--line-hi);
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  min-height: 20px; word-break: break-all;
}
.admin-no-auto.ok { color: #7ce38b; border-color: rgba(124,227,139,.5); background: rgba(124,227,139,.06); }
.admin-no-auto.bad { color: #ff8a8a; border-color: rgba(224,108,108,.5); background: rgba(224,108,108,.07); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.admin-drop {
  border: 2px dashed #555; border-radius: 8px; padding: 26px; text-align: center;
  color: #888; font-size: 13px; cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 6px; position: relative;
}
.admin-drop:hover, .admin-drop.drag { border-color: var(--orange-gold); background: rgba(255,107,0,.05); }
.admin-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-drop p { margin: 0; }
.admin-upload-list { margin-top: 20px; border-top: 1px solid #333; padding-top: 14px; }
.admin-upload-list h4 { color: #ccc; font-size: 13px; margin: 0 0 10px; }
.rec-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid #333; border-radius: 6px;
  margin-bottom: 8px; background: #161616;
}
.rec-item .rec-tag {
  font-size: 10px; font-weight: bold; padding: 2px 8px; border-radius: 10px; white-space: nowrap;
  background: rgba(120,150,255,.12); color: #8fb0ff; border: 1px solid rgba(120,150,255,.35);
}
.rec-item .rec-tag.cal { background: rgba(255,90,40,.12); color: #ff8a5a; border-color: rgba(255,90,40,.4); }
.rec-item .rec-info { flex: 1; min-width: 0; }
.rec-item .rec-info .rec-title { color: #e6e8eb; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-item .rec-info .rec-sub { color: #8a8f96; font-size: 11px; }
.rec-item .rec-open {
  color: var(--orange-gold); font-size: 12px; text-decoration: none; white-space: nowrap;
  padding: 5px 10px; border: 1px solid rgba(255,107,0,.4); border-radius: 5px; transition: background .2s;
}
.rec-item .rec-open:hover { background: rgba(255,107,0,.1); }
.rec-item .rec-del { cursor: pointer; color: #888; font-size: 16px; background: none; border: none; }
.rec-item .rec-del:hover { color: #ff6a5a; }
.qc-empty { color: #777; font-size: 12.5px; }
.admin-item {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 8px 10px; border-radius: 6px;
  background: #161616; border: 1px solid #2c2c2c; margin-bottom: 6px;
}
.admin-item .ai-no { color: #fff; font-size: 13px; font-weight: 600; word-break: break-all; }
.admin-item .ai-file { color: #888; font-size: 11.5px; }
.admin-item .ai-btn { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 520px) {
  .admin-login-box { flex-direction: column; }
  .admin-login-box .admin-btn { width: 100%; }
}

/* ============================================================
   关于我们页
   ============================================================ */
.about-text { max-width: 980px; margin: 0 auto; }
.about-text p {
  font-size: 15px; line-height: 2.05; color: #d4d7db;
  margin-bottom: 18px; text-align: justify;
}
.about-text p b { color: var(--orange-gold); }
.partner-wall { grid-template-columns: repeat(5, 1fr) !important; }
.partner-wall .card {
  display: flex; align-items: center; justify-content: center;
  padding: 18px; background: #fff !important;
}
.partner-wall .card img { max-width: 100%; max-height: 90px; object-fit: fill; }
.partner-wall .card::before { display: none; }
@media (max-width: 900px) { .partner-wall { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 600px) { .partner-wall { grid-template-columns: repeat(2, 1fr) !important; } }

.app-gallery { display: flex; gap: 14px; align-items: stretch; }
.app-side { display: flex; flex-direction: column; gap: 14px; flex: 0 0 48%; }
.app-tall { display: flex; gap: 14px; flex: 1 1 52%; }
.app-gallery .app-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1f27;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  transition: transform .2s, border-color .2s;
}
.app-gallery .app-item:hover { border-color: var(--orange); transform: translateY(-2px); }
.app-gallery .app-item img { width: 100%; height: 100%; object-fit: fill; display: block; }
.app-gallery .app-side .app-item { min-height: 0; }
.app-gallery .app-side .app-item:first-child { flex: 1.55; }
.app-gallery .app-side .app-item:last-child { flex: 1; }
.app-gallery .app-tall .app-item { flex: 1; min-height: 0; }
.app-gallery { height: 420px; }
@media (max-width: 860px) {
  .app-gallery { flex-direction: column; height: auto; }
  .app-side, .app-tall { flex: auto; width: 100%; }
  .app-side { flex-direction: row; }
  .app-gallery .app-side .app-item { height: 150px; flex: 1; min-width: 0; }
  .app-tall { min-height: 220px; }
}
@media (max-width: 520px) {
  .app-tall { flex-direction: column; min-height: 0; }
  .app-tall .app-item { min-height: 160px; }
  .app-gallery .app-side .app-item { height: 120px; }
}

/* ============================================================
   联系我们页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.contact-block {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .22s, border-color .22s;
}
.contact-block:hover { transform: translateY(-4px); border-color: rgba(255,107,0,.5); }
.contact-block::before {
  content: "";
  position: absolute; right: -18px; top: -18px;
  width: 70px; height: 70px;
  background: repeating-linear-gradient(-45deg, rgba(255,107,0,.16) 0 7px, transparent 7px 14px);
  transform: rotate(45deg);
}
.contact-block h4 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.contact-block p { font-size: 14px; color: #d4d7db; line-height: 1.9; margin-bottom: 8px; }
.contact-block .lbl {
  display: inline-block;
  min-width: 62px;
  color: var(--orange-gold);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-block a { color: var(--orange-gold); }
.contact-block a:hover { color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* 留言表单 */
.inquiry-form {
  max-width: 860px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  padding: 30px 32px 34px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid label {
  display: block;
  color: #b9bec5;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.form-grid input[type="text"],
.form-grid input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  background: #171c24;
  border: 2px solid #444;
  border-radius: 4px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-grid textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  background: #171c24;
  border: 2px solid #444;
  border-radius: 4px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
}
.form-grid input:focus,
.form-grid textarea:focus { border-color: var(--orange-gold); }
.form-grid input::placeholder,
.form-grid textarea::placeholder { color: #666; }
.form-msg { font-size: 13px; min-height: 18px; color: #999; }
.form-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.form-msg.err { color: #ff8a80; }
.form-msg.ok { color: var(--green); }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .inquiry-form { padding: 22px 18px 26px; }
}

/* ---------- 16e. 联系页双卡区：质询报价（左） + 留言表单（右） ---------- */
.contact-duo {
  display: grid;
  grid-template-columns: 1fr 1.25fr;   /* 右侧表单字段多，给更宽 */
  gap: 20px;
  max-width: 1160px;
  margin: 8px auto 0;
  align-items: stretch;
}
.contact-duo .inquiry-form { max-width: none; margin: 0; }  /* 解除单卡时代的居中限宽 */

/* 质询报价卡 */
.quote-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 10px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.quote-card:hover { transform: translateY(-4px); border-color: rgba(255,196,0,.45); }
.qtc-kick {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(255,196,0,.45);
  background: rgba(255,196,0,.08);
  padding: 5px 16px;
  margin-bottom: 16px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.quote-card h4 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.quote-card h4 em { font-style: normal; color: var(--yellow); text-shadow: 0 0 26px rgba(255,196,0,.4); }
.qtc-lead { font-size: 14px; color: #d4d7db; line-height: 1.8; margin: 0 0 18px; }
.qtc-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b9bec5;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(255,152,56,.28);
}
.qtc-list { list-style: none; margin: 0 0 18px; padding: 0; }
.qtc-list li {
  position: relative;
  font-size: 13px;
  color: #d4d7db;
  line-height: 1.7;
  padding-left: 18px;
  margin-bottom: 6px;
}
.qtc-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.qtc-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}
.qtc-steps li { display: flex; align-items: center; gap: 10px; }
.qtc-steps b {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--yellow);
  text-shadow: 0 0 16px rgba(255,196,0,.45);
  flex: 0 0 auto;
}
.qtc-steps span { font-size: 13px; color: #d4d7db; }
.qtc-btn {
  margin-top: auto;          /* 钉在卡片底部，与右侧表单按钮对齐观感 */
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
@media (max-width: 980px) {
  .contact-duo { grid-template-columns: 1fr; max-width: 860px; }
}
@media (max-width: 600px) {
  .quote-card { padding: 22px 18px 22px; }
  .qtc-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   建设中占位（steel-pipe-fittings 页）
   ============================================================ */
.uc-block {
  margin: 30px 0;
  padding: 70px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 2px dashed var(--line-hi);
  border-radius: 10px;
}
.uc-text {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--muted);
  padding: 12px 34px;
  border: 1px solid var(--line-hi);
  background: rgba(0,0,0,.3);
  text-transform: uppercase;
}

/* ============================================================
   响应式微调
   ============================================================ */
@media (max-width: 860px) {
  .header-metrics::after { left: 10px; right: 10px; }
  .g-section { padding: 0 14px; }
  .content { padding: 6px 10px 30px; }
}

/* ============================================================
   24. 大号突显标题（Display Title）
   ------------------------------------------------------------
   页面级超大标题组件：用于 "Talk To Our Team Today"、
   "Three Locations, One Team" 等需要突显的大号标题。
   结构：
   <div class="display-title">
     <span class="dt-kick">CONTACT US</span>
     <h2>Talk To Our Team <em>Today</em></h2>
     <span class="dt-bar"></span>
   </div>
   .dt-md 为中号变体（区块级大标题）
   ============================================================ */
.display-title { text-align: center; }
.display-title .dt-kick {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange-gold);
  border: 1px solid rgba(255,152,56,.5);
  background: rgba(255,107,0,.08);
  padding: 6px 18px; margin-bottom: 20px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.display-title h2,
.display-title h3 {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 86px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 4px 14px rgba(0,0,0,.55), 0 0 46px rgba(255,107,0,.25);
}
.display-title em {
  font-style: normal;
  color: var(--orange);
  text-shadow: 0 0 34px rgba(255,107,0,.5);
}
/* 公司简介页：主标题整体橘黄色 */
.g-hero.about-hero-bg .display-title h2,
.g-hero.about-hero-bg .display-title h2 em {
  color: var(--orange);
  text-shadow: 0 4px 14px rgba(0,0,0,.6), 0 0 46px rgba(255,107,0,.4);
}
/* 标题下方斜纹装饰条：进入视口后从中间向两侧展开 */
.display-title .dt-bar {
  display: block;
  width: 0; height: 10px;
  margin: 22px auto 0;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 9px, transparent 9px 18px);
  transition: width .9s cubic-bezier(.22,.9,.3,1) .15s;
}
.display-title.in .dt-bar { width: min(300px, 60%); }
/* 中号变体（区块级） */
.display-title.dt-md h2,
.display-title.dt-md h3 {
  font-size: clamp(28px, 4.6vw, 52px);
}
.display-title.dt-md .dt-bar { height: 8px; }
.display-title.dt-md .dt-bar { background: repeating-linear-gradient(-45deg, var(--orange) 0 7px, transparent 7px 14px); }

/* ---------- 内页横幅主标题整体升级（更大更突显） ---------- */
.g-hero { padding: 78px 20px 64px; }
.g-hero h2 {
  font-size: clamp(34px, 5.4vw, 62px) !important;
  letter-spacing: 2px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.g-hero h2 em { font-style: normal; color: var(--orange); text-shadow: 0 0 30px rgba(255,107,0,.45); }
/* 首页 Hero 主标题同样支持橙色强调 */
.hero h1 em, .hero h2 em { font-style: normal; color: var(--orange); text-shadow: 0 0 34px rgba(255,107,0,.5); }
/* 首页 Hero 主标题弹性大字号（与其余页 display-title 同级） */
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
/* 统一全站各页 Hero 主标语字号（hero / g-hero / qc-hero / cert-hero 四种容器一套尺寸） */
.hero h1,
.g-hero h2,
.qc-hero h2,
.cert-hero h2 {
  font-size: clamp(40px, 5.8vw, 66px) !important;
}
@media (max-width: 860px) {
  .hero h1,
  .g-hero h2,
  .qc-hero h2,
  .cert-hero h2 { font-size: 30px !important; }
}
/* 区块标题放大 */
.block-title { font-size: clamp(21px, 2.6vw, 28px); }
.g-section-title { font-size: clamp(19px, 2.4vw, 26px); }

/* ============================================================
   25. 滚动反馈套件（Scroll FX）
   ------------------------------------------------------------
   - .scroll-progress：顶部橙色滚动进度条（main.js 注入并驱动）
   - .fx + .in：滚动渐显（main.js 自动给区块挂载 .fx，
     html 加 .js-on 后才隐藏初始态——JS 失效则内容照常显示）
   - .count-num：滚动进入视口时数字从 0 滚动到目标值
   - .site-header.scrolled：下滚后导航加深收紧
   ============================================================ */

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 3000;
  width: 0%; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-gold) 70%, var(--yellow));
  box-shadow: 0 0 12px rgba(255,107,0,.7);
  pointer-events: none;
  transition: width .08s linear;
}
.scroll-progress::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  transform: translateY(-50%);
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow), 0 0 26px rgba(255,196,0,.6);
}

/* 滚动渐显（JS 启用后才有初始隐藏态） */
.js-on .fx {
  opacity: 0;
  will-change: opacity, transform;
}
.js-on .fx.in {
  opacity: 1;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.9,.3,1);
}
/* 方向变体 */
.fx.fx-up { transform: translateY(38px); }
.fx.fx-up.in { transform: none; }
.fx.fx-left { transform: translateX(-46px); }
.fx.fx-left.in { transform: none; }
.fx.fx-right { transform: translateX(46px); }
.fx.fx-right.in { transform: none; }
.fx.fx-zoom { transform: scale(.9); }
.fx.fx-zoom.in { transform: none; }

/* 数字滚动 */
.count-num {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--orange);
  text-shadow: 0 0 26px rgba(255,107,0,.4);
}

/* 下滚后导航收紧加深 */
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled {
  background: rgba(9,11,13,.97);
  box-shadow: 0 10px 30px rgba(0,0,0,.65), 0 1px 0 rgba(255,107,0,.25);
}

/* Hero 背景视差（main.js 驱动 translateY） */
.hero-bg { will-change: transform; }

/* 尊重"减少动态效果"偏好：关闭隐藏初始态与动画 */
@media (prefers-reduced-motion: reduce) {
  .js-on .fx { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
  .display-title .dt-bar { width: min(300px, 60%) !important; transition: none; }
  .hero-bg { transform: none !important; }
}
/* 手机端：进度条变细、渐显幅度减小 */
@media (max-width: 600px) {
  .scroll-progress { height: 3px; }
  .fx.fx-up { transform: translateY(22px); }
  .fx.fx-left, .fx.fx-right { transform: translateX(26px); }
}

/* ============================================================
   26. 数字统计带（滚动进入视口时数字从 0 滚动到目标值）
   结构：
   <div class="stat-band">
     <div class="stat"><span class="s-num count-num" data-count="1999">1999</span><span class="s-lab">…</span></div>
     ...
   </div>
   ============================================================ */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  overflow: hidden;
}
.stat {
  text-align: center;
  padding: 40px 14px 34px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .s-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(255,107,0,.35);
}
.stat .s-num .s-suffix {
  color: var(--orange-gold);
  font-size: .45em;
  font-weight: 700;
  margin-left: 2px;
}
.stat .s-lab {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 860px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- CTA 大标题放大（呼应 Talk To Our Team Today 层级） ---------- */
.cta-band { padding: 56px 24px; }
.cta-band h3 {
  font-size: clamp(28px, 4.4vw, 50px) !important;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}
.cta-band h3 em { font-style: normal; color: var(--orange); text-shadow: 0 0 30px rgba(255,107,0,.45); }

/* ============================================================
 * 材质单二维码弹窗（mtc-data.js 动态生成，查询页/存储柜页共用）
 * ============================================================ */
.mtc-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,7,10,.72);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s ease;
  padding: 20px;
}
.mtc-overlay.show { opacity: 1; }
.mtc-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, #1c212b 0%, #14181f 100%);
  border: 1px solid rgba(255,107,0,.45);
  border-radius: 14px;
  padding: 26px 26px 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04), 0 0 44px rgba(255,107,0,.12);
  transform: translateY(14px) scale(.97);
  transition: transform .22s ease;
}
.mtc-overlay.show .mtc-modal { transform: none; }
.mtc-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: #8b93a1;
  font-size: 26px; line-height: 1; cursor: pointer; padding: 4px;
  transition: color .18s;
}
.mtc-close:hover { color: #fff; }
.mtc-title {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
  color: #fff; text-transform: uppercase;
  margin: 0 0 4px;
}
.mtc-no {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--orange-gold);
  margin: 0 0 2px;
  word-break: break-all;
}
.mtc-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.mtc-qrbox {
  display: flex; justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.35);
}
.mtc-qrimg { width: 220px; height: 220px; image-rendering: pixelated; }
.mtc-qrerr { text-align: center; color: #e06; padding: 26px 0; font-size: 13px; }
.mtc-tip { font-size: 12.5px; color: #9aa2b0; line-height: 1.55; margin: 2px 0 12px; }
.mtc-urlrow { display: flex; gap: 8px; margin-bottom: 14px; }
.mtc-url {
  flex: 1; min-width: 0;
  background: #0d1016; border: 1px solid var(--line-hi); border-radius: 8px;
  color: #c8cdd6; font-size: 12px; padding: 8px 10px;
  outline: none;
}
.mtc-url:focus { border-color: var(--orange); }
.mtc-copy {
  flex: 0 0 auto;
  background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.5); border-radius: 8px;
  color: var(--orange-gold); font-size: 12px; font-weight: 700; cursor: pointer;
  padding: 8px 14px; transition: all .18s;
}
.mtc-copy:hover { background: rgba(255,107,0,.32); color: #fff; }
.mtc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mtc-btn {
  flex: 1; min-width: 150px; text-align: center;
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none; cursor: pointer;
  transition: all .18s;
}
.mtc-btn.primary {
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  border: 1px solid transparent;
}
.mtc-btn.primary:hover { filter: brightness(1.1); box-shadow: 0 0 18px rgba(255,107,0,.4); }
.mtc-btn.ghost {
  color: var(--orange-gold);
  background: transparent;
  border: 1px solid rgba(255,107,0,.55);
}
.mtc-btn.ghost:hover { background: rgba(255,107,0,.18); }

/* ============================================================
 * 材质单存储柜页（mtc-cabinet.html）
 * ============================================================ */
.cabinet-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 26px 0 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cabinet-search {
  flex: 1; min-width: 220px;
  display: flex; gap: 8px;
}
.cabinet-search input {
  flex: 1; min-width: 0;
  background: #0d1016; border: 1px solid var(--line-hi); border-radius: 8px;
  color: #e8ebf0; font-size: 14px; padding: 10px 14px; outline: none;
  transition: border-color .18s;
}
.cabinet-search input:focus { border-color: var(--orange); }
.cabinet-search input::placeholder { color: #5b6370; }
.cabinet-count {
  flex: 0 0 auto;
  font-size: 12.5px; color: var(--muted); letter-spacing: .6px;
  white-space: nowrap;
}
.cabinet-count b { color: var(--orange-gold); font-size: 15px; }
.cabinet-link {
  flex: 0 0 auto;
  display: inline-block;
  padding: 9px 16px; border-radius: 8px;
  background: rgba(255,107,0,.14); border: 1px solid rgba(255,107,0,.5);
  color: var(--orange-gold); font-size: 13px; font-weight: 700;
  text-decoration: none; letter-spacing: .4px;
  transition: all .18s;
}
.cabinet-link:hover { background: rgba(255,107,0,.3); color: #fff; }
.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.cabinet-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, var(--panel2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cabinet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,0,.6);
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 20px rgba(255,107,0,.12);
}
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-badge {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 4px;
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  text-transform: uppercase;
}
.cc-badge.img { background: linear-gradient(135deg, #3aa0ff, #7cc4ff); }
.cc-date { flex: 0 0 auto; font-size: 11.5px; color: var(--muted); letter-spacing: .4px; }
.cc-no {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 800; letter-spacing: 1px;
  color: #fff;
  word-break: break-all;
}
.cc-desc { font-size: 13px; color: #aeb6c2; line-height: 1.5; min-height: 20px; }
.cc-actions { display: flex; gap: 8px; margin-top: 4px; }
.cc-btn {
  flex: 1; text-align: center;
  padding: 9px 8px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .4px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all .18s;
}
.cc-btn.view {
  color: #e8ebf0;
  background: rgba(255,255,255,.07);
  border-color: var(--line-hi);
}
.cc-btn.view:hover { background: rgba(255,255,255,.14); color: #fff; }
.cc-btn.dl {
  color: var(--orange-gold);
  background: transparent;
  border-color: rgba(255,107,0,.5);
}
.cc-btn.dl:hover { background: rgba(255,107,0,.18); }
.cc-btn.qr {
  color: #191008;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
}
.cc-btn.qr:hover { filter: brightness(1.1); box-shadow: 0 0 14px rgba(255,107,0,.4); }
.cc-btn.del {
  color: #e06c6c;
  background: transparent;
  border-color: rgba(224,108,108,.45);
}
.cc-btn.del:hover { background: rgba(224,108,108,.15); color: #ff8a8a; }
/* 删除材质单确认弹窗 */
.del-warn {
  font-size: 12.5px; color: #e8abab;
  background: rgba(224,108,108,.1);
  border: 1px solid rgba(224,108,108,.35);
  border-radius: 8px; padding: 10px 12px; margin: 4px 0 14px;
  line-height: 1.5;
}
.del-field { margin-bottom: 12px; }
.del-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.del-pass {
  width: 100%; padding: 11px 12px;
  background: #0e1117; color: #fff;
  border: 1px solid var(--line-hi); border-radius: 8px;
  font-size: 14px; outline: none;
}
.del-pass:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,.15); }
.del-err { min-height: 18px; font-size: 12.5px; margin-bottom: 8px; }
.del-err.err { color: #ff7a7a; }
.del-actions { display: flex; gap: 10px; justify-content: flex-end; }
/* 存储柜：月份选择器 + 分页器 */
.cabinet-months {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px; justify-content: center;
}
.mon-btn {
  padding: 8px 16px; border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-hi);
  color: #c9ced8; font-size: 13px; font-weight: 600;
  cursor: pointer; letter-spacing: .5px;
  transition: all .18s;
}
.mon-btn:hover { border-color: var(--orange-gold); color: #fff; }
.mon-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  border-color: transparent; color: #191008;
  box-shadow: 0 4px 14px rgba(255,107,0,.3);
}
.cabinet-pager {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: center;
  margin-top: 22px; padding-bottom: 8px;
}
.pg-btn {
  padding: 8px 14px; border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-hi);
  color: #c9ced8; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s;
}
.pg-btn:hover:not(:disabled) { border-color: var(--orange-gold); color: #fff; }
.pg-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  border-color: transparent; color: #191008;
}
.pg-btn:disabled { opacity: .35; cursor: not-allowed; }
.cabinet-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 60px 20px;
  border: 1px dashed var(--line-hi);
  border-radius: 12px;
}
@media (max-width: 860px) {
  .cabinet-grid { grid-template-columns: repeat(2, 1fr); }
  .mtc-qrimg { width: 190px; height: 190px; }
}
@media (max-width: 600px) {
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-toolbar { padding: 12px; }
  .mtc-modal { padding: 22px 18px 18px; }
}
