/* ==========================================================================
   广州成业 · 官方网站样式表
   设计基调：黑金奢华（深色为骨、香槟金为点睛、真实工厂实拍为血肉）
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 深色层次 */
  --ink:        #0A0908;
  --ink-2:      #12100E;
  --ink-3:      #1B1815;
  --ink-4:      #272220;

  /* 浅色层次：暖象牙纸（比纯白更有温度，卡片才能"浮"起来） */
  --paper:      #FFFFFF;
  --paper-2:    #F8F3EA;
  --paper-3:    #F1E9DC;
  --paper-4:    #E9DFCE;

  /* 香槟金 */
  --gold:       #C09A55;
  --gold-lt:    #E6CE9A;
  --gold-dk:    #96713A;
  --gold-glow:  rgba(192, 154, 85, .30);

  /* 品牌红（取自 Logo，克制使用） */
  --brand-red:  #D6111F;

  /* 文字 */
  --text:       #17150F;
  --text-soft:  #46403A;
  --muted:      #6B6559;
  --on-dark:    #F4F0E9;
  --on-dark-mut:#A89F91;

  /* 分隔线 */
  --line:       rgba(56, 44, 24, .13);
  --line-2:     rgba(56, 44, 24, .07);
  --line-gold:  rgba(192, 154, 85, .38);
  --line-dark:  rgba(255, 255, 255, .11);

  /* 投影（暖调，避免死板灰影） */
  --sh-1: 0 1px 2px rgba(56, 44, 24, .045), 0 12px 28px -24px rgba(56, 44, 24, .40);
  --sh-2: 0 2px 5px rgba(56, 44, 24, .06),  0 30px 56px -36px rgba(56, 44, 24, .55);
  --sh-dark: 0 30px 58px -34px rgba(0, 0, 0, .92);

  /* 纸张纹理（内联 SVG 噪点，无外部请求；自身已带低透明度） */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC",
                "STSong", "SimSun", Georgia, serif;
  --font-latin: "Optima", "Didot", "Cormorant Garamond", Georgia,
                "Times New Roman", serif;

  /* 尺度 */
  --wrap: 1280px;
  --gap: clamp(20px, 2.4vw, 32px);
  --sect: clamp(78px, 9vw, 148px);
  --r: 2px;

  /* 吸顶导航总高（含 1px 下边框）。同时用于 .header 高度与 html 的
     scroll-padding-top——锚点跳转必须为吸顶导航留位，否则目标会被盖住。
     两处共用一个变量，改导航高度时不会落下锚点偏移。 */
  --nav-h: 79px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 站内锚点（#main、产品页 #cat-*）滚动后为吸顶导航留出高度 */
  scroll-padding-top: var(--nav-h);
}

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

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.008em;
  text-wrap: balance;
}
h1, h2 { letter-spacing: -.018em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

/* ---------- 3. 版心与栅格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.wrap--narrow { max-width: 900px; }

.section { padding: var(--sect) 0; position: relative; background-color: var(--paper); background-image: var(--grain); }
.section--tight { padding: clamp(56px, 6.4vw, 92px) 0; }
.section--paper { background-color: var(--paper-2); background-image: var(--grain); }
/* 深色区用背景图层叠一层极淡金光，让黑不死；纹理在深色上不可见故不叠加 */
.section--dark {
  background-color: var(--ink);
  background-image: radial-gradient(78% 58% at 10% 0%, rgba(192, 154, 85, .12), transparent 62%);
  color: var(--on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. 文字系统 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  flex: none;
}
.eyebrow::after {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: .75;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--gold-lt); }

/* 眉标随所在板块入场时"画"出来：金线从左展开、菱形由小旋正。
   这是板块标题的第一个动作，比整块淡入更有节奏。 */
html.js .reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .72s var(--ease) .14s;
}
html.js .reveal.is-in .eyebrow::before { transform: scaleX(1); }
html.js .reveal .eyebrow::after {
  opacity: 0;
  transform: rotate(-45deg) scale(.35);
  transition: opacity .5s var(--ease) .46s, transform .62s var(--ease) .46s;
}
html.js .reveal.is-in .eyebrow::after { opacity: .75; transform: rotate(45deg) scale(1); }

.h-xl { font-size: clamp(36px, 5.1vw, 72px); line-height: 1.1; }
.h-lg { font-size: clamp(28px, 3.7vw, 50px); line-height: 1.18; }
.h-md { font-size: clamp(21px, 2.2vw, 29px); }
.h-sm { font-size: clamp(17px, 1.5vw, 19px); }

.lead {
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.88;
  color: var(--muted);
  max-width: 66ch;
}
.section--dark .lead { color: var(--on-dark-mut); }

.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-mut); }
.gold { color: var(--gold-dk); }
.section--dark .gold { color: var(--gold-lt); }

.sect-head { margin-bottom: clamp(40px, 4.6vw, 66px); }
.sect-head--center { text-align: center; }
.sect-head--center .lead { margin-left: auto; margin-right: auto; }
.sect-head--center .eyebrow { justify-content: center; }
.sect-head .h-lg + .lead { margin-top: 20px; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .divider { background: var(--line-dark); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .34s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { flex: none; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 55%, var(--gold-dk));
  color: #221B0E;
  box-shadow: 0 10px 28px -14px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn--gold:hover {
  box-shadow: 0 16px 36px -14px rgba(192, 154, 85, .62), inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}
/* 金色光泽扫过 */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .58), transparent);
  transform: skewX(-18deg);
  transition: left .72s var(--ease);
  pointer-events: none;
}
.btn--gold:hover::after { left: 135%; }

.btn--ghost {
  border-color: rgba(26, 24, 21, .22);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dk); background: rgba(192, 154, 85, .06); }

.btn--ghost-lt {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn--ghost-lt:hover {
  border-color: var(--gold);
  background: rgba(192, 154, 85, .14);
  color: var(--gold-lt);
}

.btn--sm { padding: 11px 22px; font-size: 13.5px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-dk);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.link-more::after { content: "→"; transition: transform .3s var(--ease); }
.link-more:hover { border-color: var(--gold); }
.link-more:hover::after { transform: translateX(5px); }
.section--dark .link-more { color: var(--gold-lt); }

/* ---------- 6. 顶栏 ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-mut);
  font-size: 13px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  /* 英文版文案比中文长，中宽屏会挤成两行。这里不能用固定高度：
     固定高会让内容溢出去压住下面的导航栏。改成 min-height + 允许换行，
     挤得下就是原来的一行，挤不下就自己长高，不会压到别人。 */
  flex-wrap: wrap;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: .7; }
.topbar a:hover { color: var(--gold-lt); }
.topbar__note { color: rgba(255, 255, 255, .38); letter-spacing: .1em; font-family: var(--font-latin); }

/* 中宽屏放不下「电话 + 邮箱 + 地址 + 品牌语」四段英文，先把地址收起来。
   地址在页脚和联系页都有，这里收掉不丢信息。 */
@media (max-width: 1279px) {
  .topbar__item--addr { display: none; }
}

/* ---------- 7. 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 10, 9, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line-dark); }

/* 阅读进度条 */
.header__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold) 55%, var(--gold-lt));
  pointer-events: none;
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: calc(var(--nav-h) - 1px);   /* + 1px 下边框 = 吸顶总高 */
}

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 34px; width: auto; }
.brand__txt {
  display: none;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  line-height: 1.6;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
  transition: color .28s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin: left;
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-lt); }

.header__side { display: flex; align-items: center; gap: 14px; flex: none; }

/* 语言切换 */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 3px;
  font-size: 12.5px;
  letter-spacing: .08em;
}
.lang button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .6);
  transition: all .28s var(--ease);
  font-weight: 600;
}
.lang button.is-active { background: var(--gold); color: #221B0E; }

/* 汉堡 */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: all .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

/* 抽屉 */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--ink-2);
  z-index: 120;
  transform: translateX(101%);
  transition: transform .42s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px 30px 34px;
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer__top img { height: 28px; }
.drawer__close {
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  background: none; color: #fff; cursor: pointer;
  border-radius: var(--r); font-size: 20px; line-height: 1;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer nav a em {
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
}
.drawer nav a:hover { color: var(--gold-lt); }
.drawer__foot { margin-top: auto; padding-top: 28px; }
.drawer__foot .btn { width: 100%; }
.drawer__meta { margin-top: 20px; font-size: 13px; color: var(--on-dark-mut); line-height: 2; }
.scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .58);
  z-index: 110; opacity: 0; visibility: hidden; transition: all .36s var(--ease);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 8. 首屏 ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: min(92vh, 840px);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .85;
}
/* 首屏底图极缓推进（Ken Burns）：24 秒内放大 7% 并轻微位移。
   只动 transform，走合成层，不触发重排；网站"活着"的感觉主要来自这里。
   reduced-motion 下由第 23 节的全局规则整体关闭。 */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: heroDrift 24s var(--ease) both; }
}
@keyframes heroDrift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to   { transform: scale(1.085) translate3d(-1.4%, -1.1%, 0); }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,9,8,.97) 0%, rgba(10,9,8,.9) 36%, rgba(10,9,8,.46) 64%, rgba(10,9,8,.30) 100%),
    radial-gradient(120% 90% at 82% 22%, rgba(192,161,90,.22), transparent 58%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(70px, 8vw, 108px); padding-bottom: clamp(64px, 7vw, 96px); }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-latin);
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 28px;
  padding: 9px 20px;
  border: 1px solid rgba(192, 154, 85, .34);
  border-radius: 999px;
  background: rgba(192, 154, 85, .07);
}
.hero__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(192,154,85,.18); }

.hero h1 { color: #fff; max-width: 18em; }
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--gold-lt), var(--gold) 50%, var(--gold-dk));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 26px;
  max-width: 45ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.92;
  color: rgba(255, 255, 255, .76);
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 首屏能力条：金线起手，去掉竖分隔线（原来会把字挤到出血） */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(52px, 6vw, 86px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(26px, 3vw, 34px);
}
.hero__fact { min-width: 0; }
.hero__fact::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(192, 154, 85, 0));
  margin-bottom: 16px;
}
.hero__fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 8px;
}
.hero__fact span { font-size: 13.5px; color: rgba(255, 255, 255, .58); line-height: 1.72; display: block; }

/* 向下滚动指示：贴在左边缘竖排，不会与内容打架 */
.hero__scroll {
  display: none;
  position: absolute;
  left: clamp(18px, 2.6vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__scroll span {
  writing-mode: vertical-rl;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 66px;
  background: linear-gradient(180deg, rgba(230, 206, 154, .95), rgba(230, 206, 154, 0));
  animation: heroCue 2.6s var(--ease) infinite;
}
@keyframes heroCue {
  0%   { transform: scaleY(.2); transform-origin: 50% 0; opacity: 0; }
  32%  { transform: scaleY(1);  transform-origin: 50% 0; opacity: 1; }
  68%  { transform: scaleY(1);  transform-origin: 50% 100%; opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: 50% 100%; opacity: 0; }
}

@media (min-width: 1300px) and (min-height: 820px) {
  .hero__scroll { display: flex; }
}

/* 页面头（内页） */
.pagehead {
  position: relative;
  background: var(--ink-2);
  color: #fff;
  overflow: hidden;
  padding: clamp(76px, 8.5vw, 130px) 0 clamp(60px, 7vw, 96px);
}
.pagehead__bg { position: absolute; inset: 0; z-index: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.pagehead__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,9,8,.98) 0%, rgba(10,9,8,.84) 46%, rgba(10,9,8,.72) 72%, rgba(10,9,8,.9) 100%),
    radial-gradient(90% 120% at 88% 0%, rgba(192, 154, 85, .18), transparent 60%);
}
.pagehead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold) 30%, var(--line-gold) 70%, transparent);
}
.pagehead .wrap { position: relative; z-index: 1; }
.crumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .14em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 22px;
  font-family: var(--font-latin);
  text-transform: uppercase;
}
.crumb a:hover { color: var(--gold-lt); }
.pagehead h1 { color: #fff; font-size: clamp(32px, 4vw, 54px); }
.pagehead .lead { margin-top: 20px; color: rgba(255, 255, 255, .7); max-width: 58ch; }

/* ---------- 9. 卡片 ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(28px, 2.8vw, 40px);
  box-shadow: var(--sh-1);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { border-color: var(--line-gold); transform: translateY(-5px); box-shadow: var(--sh-2); }
.card:hover::before { transform: scaleX(1); }

.card__num {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 22px;
}
.card__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}
.card h3 { font-size: clamp(18px, 1.7vw, 21px); margin-bottom: 13px; }
.card p { font-size: 14.8px; color: var(--muted); line-height: 1.84; }
.card__ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  background: var(--paper-2);
  border-radius: var(--r);
  color: var(--gold-dk);
  margin-bottom: 22px;
}
.card__list { margin-top: 16px; }
.card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .82em;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* 深色卡 */
.card--dark {
  background: var(--ink-3);
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(192, 154, 85, .1), transparent 58%);
  border-color: var(--line-dark);
  box-shadow: var(--sh-dark);
  color: var(--on-dark);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-mut); }
.card--dark .card__num { color: var(--gold-lt); }
.card--dark .card__num::after { background: linear-gradient(90deg, rgba(230, 206, 154, .32), transparent); }
.card--dark:hover { border-color: rgba(230, 206, 154, .5); }

/* ---------- 10. 分类卡（图片） ---------- */
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-2);
  aspect-ratio: 4 / 5;
  display: block;
  box-shadow: var(--sh-1);
}
.cat img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .55s var(--ease);
  filter: saturate(.88) contrast(1.03) brightness(.95);
}
.cat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,.95) 4%, rgba(10,9,8,.5) 44%, rgba(10,9,8,.06) 80%);
}
/* 悬停金色内框 */
.cat::before {
  content: "";
  position: absolute;
  inset: 15px;
  z-index: 2;
  border: 1px solid rgba(230, 206, 154, 0);
  transition: border-color .5s var(--ease), inset .5s var(--ease);
  pointer-events: none;
}
.cat:hover::before { border-color: rgba(230, 206, 154, .55); inset: 11px; }
.cat:hover img { transform: scale(1.055); filter: saturate(1.05) contrast(1.04) brightness(1); }
.cat__idx {
  position: absolute;
  top: 18px; right: 20px;
  z-index: 2;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .48);
  transition: color .4s var(--ease);
}
.cat:hover .cat__idx { color: var(--gold-lt); }
.cat__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 28px 28px;
  z-index: 3;
  color: #fff;
}
.cat__body em {
  display: block;
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 10px;
}
.cat__body h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.cat__body p { font-size: 13px; color: rgba(255, 255, 255, .64); line-height: 1.72; margin: 0; }
.cat__body .link-more { color: var(--gold-lt); margin-top: 16px; font-size: 13px; }

/* ---------- 11. 产品卡 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 3.6vw, 50px);
}
.filters button {
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-soft);
  transition: all .3s var(--ease);
}
.filters button:hover { border-color: var(--gold); color: var(--gold-dk); }
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(10, 9, 8, .7);
}
.filters button.is-active em { color: var(--gold-lt); }
.filters button em {
  font-style: normal;
  font-family: var(--font-latin);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-left: 8px;
  text-transform: uppercase;
}

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pcard::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.pcard:hover { border-color: var(--line-gold); transform: translateY(-5px); box-shadow: var(--sh-2); }
.pcard:hover::after { transform: scaleX(1); }
.pcard__img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #FFFDFA, #F3EBDE);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
/* 产品图已在素材阶段归一化为同规格正方形（主体占比一致），此处只需撑满 */
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.055); }
.pcard__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pcard__cat {
  font-family: var(--font-latin);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 9px;
}
.pcard h3 { font-size: 16.5px; margin-bottom: 7px; }
.pcard p { font-size: 13.5px; color: var(--muted); line-height: 1.72; margin: 0; flex: 1; }
.pcard__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13.5px; font-weight: 500; color: var(--gold-dk); text-decoration: none; }
.pcard__cta i { font-style: normal; transition: transform .25s var(--ease); }
.pcard:hover .pcard__cta i, .pcard__cta:hover i { transform: translateX(4px); }
.pcard__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard[hidden] { display: none; }

/* 筛选过渡：hidden 是瞬间生效的，直接切换会整块"啪"一下换掉，61 张卡同时闪。
   筛选期间由 .is-filtering 接管卡片的显隐——先淡出并轻微缩小，再落到 hidden；
   新进场的先摆到淡出位置，再淡入。
   这里必须把 .reveal 的 opacity / transform / filter 一并复位：
   未被滚动到过的卡片（没有 .is-in）opacity 仍是 0，切完筛选会剩一片空白。
   选择器权重 (0,4,1) 高于 html.js .reveal.is-in (0,3,1)，才压得住。 */
html.js .pgrid.is-filtering .pcard {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity .34s var(--ease), scale .34s var(--ease),
              transform .34s var(--ease), filter .34s var(--ease);
}
html.js .pgrid.is-filtering .pcard.is-out { opacity: 0; scale: .955; }

/* ---------- 12. 能力 / 数据条 ---------- */
.factbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.factbar__i { background: var(--paper); padding: clamp(28px, 2.8vw, 40px) clamp(22px, 2.4vw, 32px); }
.factbar__i::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(192, 154, 85, 0));
  margin-bottom: 20px;
}
.factbar__i b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.75vw, 22px);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}
.factbar__i b em { font-style: normal; font-size: .56em; color: var(--gold-dk); margin-left: 4px; letter-spacing: .06em; }
.factbar__i span { font-size: 14px; color: var(--muted); line-height: 1.74; display: block; }
.factbar--dark { background: var(--line-dark); border-color: var(--line-dark); box-shadow: var(--sh-dark); }
.factbar--dark .factbar__i { background: var(--ink-2); }
.factbar--dark .factbar__i::before { background: linear-gradient(90deg, var(--gold-lt), rgba(230, 206, 154, 0)); }
.factbar--dark .factbar__i b { color: #fff; }
.factbar--dark .factbar__i span { color: var(--on-dark-mut); font-size: 15px; }
.factbar--dark .factbar__i span a { color: var(--gold-lt); }
.factbar--dark .factbar__i span a:hover { color: #fff; }

/* ---------- 13. 流程（4 + 3 卡片编排，替代原来挤成 7 列的小字） ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.flow__step {
  grid-column: span 3;
  position: relative;
  padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2vw, 26px) clamp(22px, 2.2vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  text-align: left;
  overflow: hidden;
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}
.flow__step:nth-child(n+5) { grid-column: span 4; }
.flow__step::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.flow__step:hover { border-color: var(--line-gold); transform: translateY(-4px); box-shadow: var(--sh-2); }
.flow__step:hover::after { transform: scaleX(1); }
.flow__dot {
  font-family: var(--font-latin);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--gold-dk);
  margin-bottom: 20px;
}
@supports (-webkit-text-stroke: 1px #000) {
  .flow__dot { color: rgba(192, 154, 85, .14); -webkit-text-stroke: 1px var(--gold-dk); }
}
/* 标题层级与语义一致：这里在 h2（步骤总标题）之下，应为 h3。
   color:inherit 是为了在深色区维持改动前的继承结果——否则会被
   .section--dark h3{color:#fff} 抢走，白得比原本更硬。 */
.flow__step h3 { font-size: 16.5px; margin-bottom: 9px; color: inherit; }
.flow__step p { font-size: 13.5px; color: var(--muted); line-height: 1.78; margin: 0; }
.section--dark .flow__step { background: var(--ink-3); border-color: var(--line-dark); box-shadow: var(--sh-dark); }
.section--dark .flow__step p { color: var(--on-dark-mut); }
.section--dark .flow__dot { color: var(--gold-lt); }

/* ---------- 14. 图文交替 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  filter: saturate(.94);
}
.split__media--tall img { aspect-ratio: 3 / 4; }
/* 团队合影等宽幅原图：按原比例显示，避免裁掉两侧的人 */
.split__media--wide img { aspect-ratio: 16 / 9; }
.split__badge {
  position: absolute;
  right: -14px;
  bottom: -14px;
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--r);
  border: 1px solid var(--line-gold);
  box-shadow: var(--sh-dark);
}
.split__badge b {
  display: block;
  font-family: var(--font-latin);
  font-size: 27px;
  color: var(--gold-lt);
  line-height: 1.2;
}
.split__badge span { font-size: 12.5px; color: rgba(255, 255, 255, .6); letter-spacing: .06em; }
.ticks { margin-top: 26px; display: grid; gap: 14px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.section--dark .ticks li { color: var(--on-dark-mut); }

/* ---------- 15. 画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a, .gallery figure, .gallery button {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .95s var(--ease), filter .5s var(--ease); filter: saturate(.9); }
.gallery a:hover img, .gallery figure:hover img, .gallery button:hover img { transform: scale(1.06); filter: saturate(1.06); }
/* 悬停金色内框 */
.gallery button::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(230, 206, 154, 0);
  transition: border-color .45s var(--ease);
  pointer-events: none;
}
.gallery button:hover::after { border-color: rgba(230, 206, 154, .5); }
.gallery figcaption,
.gallery .gcap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 18px 18px 15px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(to top, rgba(10,9,8,.94), transparent);
  pointer-events: none;
}
.gallery--wide { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.gallery--wide > * { aspect-ratio: auto; height: 100%; min-height: 230px; }
.gallery--tall figure { aspect-ratio: 3 / 4; }
.gallery__span2 { grid-column: span 2; }

/* 规整 bento：6 列 12 格，图片按大小有节奏且不留残角 */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 218px);
  gap: 12px;
}
.bento > * { aspect-ratio: auto; height: 100%; min-height: 0; }
.bento .b-wide { grid-column: span 4; grid-row: span 2; }
.bento .b-2 { grid-column: span 2; }

/* ---------- 16. 资质墙 ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.cert {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--sh-1);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}
.cert:hover { border-color: var(--line-gold); transform: translateY(-5px); box-shadow: var(--sh-2); }
.cert__img {
  aspect-ratio: 3 / 4;
  background: #FFFFFF;
  border-radius: 1px;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
/* 证书图已合成为精确 3:4 白色画布（整份文件居中），cover 不再产生裁切 */
.cert__img img { width: 100%; height: 100%; object-fit: cover; }
/* 同上：证书卡标题是 h2（章节标题）之下的一级，用 h3；color:inherit 保持深色区原样 */
.cert h3 { font-size: 15.5px; margin-bottom: 6px; color: inherit; }
.cert p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.72; }

/* ---------- 17. 资讯 ---------- */
.nlist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.nitem {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: all .34s var(--ease);
}
.nitem:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(192,154,85,.07), transparent 62%); }
.nitem time {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gold-dk);
}
.nitem h3 { font-size: 17.5px; margin-bottom: 6px; }
.nitem p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.75; }
.nitem__arrow { color: var(--gold-dk); transition: transform .3s var(--ease); }
.nitem:hover .nitem__arrow { transform: translateX(6px); }
.section--dark .nlist { border-color: var(--line-dark); }
.section--dark .nitem { border-color: var(--line-dark); }
.section--dark .nitem p { color: var(--on-dark-mut); }

.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ncard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
  min-height: 230px;
  position: relative;
  overflow: hidden;
}
.ncard::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.ncard:hover { border-color: var(--line-gold); transform: translateY(-5px); box-shadow: var(--sh-2); }
.ncard:hover::before { transform: scaleX(1); }
.ncard time {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-latin);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gold-dk);
}
.ncard time::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}
.ncard h3 { font-size: 17.5px; margin: 16px 0 11px; line-height: 1.48; }
.ncard p { font-size: 14px; color: var(--muted); line-height: 1.78; flex: 1; margin: 0; }
.ncard .tagline { margin-top: 20px; }

/* ---------- 18. 询盘 CTA ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.92); }
.cta__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(110% 130% at 15% 0%, rgba(192,154,85,.24), transparent 56%),
              linear-gradient(180deg, rgba(10,9,8,.9), rgba(10,9,8,.96));
}
.cta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--line-gold) 32%, var(--line-gold) 68%, transparent);
}
.cta .wrap { position: relative; z-index: 1; }
.cta__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

/* ---------- 19. 表单 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
}
.section--dark .field label, .cta .field label { color: var(--on-dark-mut); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(56, 44, 24, .035);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 154, 85, .16);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(107, 101, 89, .62); }
.field textarea { min-height: 122px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__err { font-size: 12.5px; color: var(--brand-red); margin: 0; min-height: 0; }
.form__hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.form__ok {
  padding: 15px 17px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(192, 154, 85, .11), rgba(192, 154, 85, .05));
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.75;
}

/* 联系页栅格：此前写在内联 style 里，窄屏不会被响应式规则覆盖 → 溢出。
   抽成类名，交给第 24 节的断点统一折叠。 */
.grid--contact { grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.grid--map { grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 3.4vw, 48px); align-items: center; }

/* 联系方式卡 */
.cinfo {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.cinfo__i {
  background: var(--paper);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.cinfo__i:hover { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--gold); }
.cinfo__ico {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  background: var(--paper-2);
  border-radius: var(--r);
  color: var(--gold-dk);
}
.cinfo__i b { display: block; font-size: 12.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; font-family: var(--font-latin); margin-bottom: 6px; }
.cinfo__i span, .cinfo__i a { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.cinfo__i a:hover { color: var(--gold-dk); }
.cinfo__i small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.mapbox {
  background-color: var(--ink-2);
  background-image: radial-gradient(90% 90% at 12% 0%, rgba(192, 154, 85, .16), transparent 60%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: clamp(30px, 3.6vw, 48px);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-dark);
}
.mapbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,154,85,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,154,85,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.mapbox > * { position: relative; z-index: 1; }
.mapbox h3 { color: #fff; margin-bottom: 16px; }
.mapbox p { color: var(--on-dark-mut); font-size: 15px; }

/* ---------- 20. 页脚 ---------- */
.footer {
  position: relative;
  background-color: var(--ink);
  background-image: radial-gradient(70% 90% at 90% 0%, rgba(192, 154, 85, .09), transparent 60%);
  color: var(--on-dark-mut);
  padding-top: clamp(60px, 6.4vw, 92px);
  font-size: 14px;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold) 30%, var(--line-gold) 70%, transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 3.4vw, 52px);
  padding-bottom: clamp(40px, 4.6vw, 62px);
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand img { height: 34px; margin-bottom: 22px; }
.footer__brand p { font-size: 13.5px; line-height: 1.9; max-width: 34ch; color: var(--on-dark-mut); }
/* 页脚是独立地标，栏目标题取 h2：既不会出现 h2→h4 的跳级，
   也能避免 404 那种「h1 后面直接跟 h4」的断层。此处各项均已写死，渲染不变。 */
.footer h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-family: var(--font-latin);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.footer h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 206, 154, .3), transparent);
}
.footer ul li { margin-bottom: 11px; line-height: 1.7; }
.footer ul a { transition: color .28s var(--ease); }
.footer ul a:hover { color: var(--gold-lt); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 0 32px;
  /* 右下角浮着联系按钮组，右下角这段文字要主动让开，否则备案号会被盖住 */
  padding-right: 48px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
}
/* 页脚最后一栏（联系方式）同样要避开右下角的浮动按钮 */
.footer__grid > :last-child { padding-right: 48px; }
.footer__bottom a:hover { color: var(--gold-lt); }

/* 浮动联系 */
.float-contact {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact a {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid rgba(200, 161, 90, .45);
  color: var(--gold-lt);
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .6);
  transition: all .32s var(--ease);
}
.float-contact a:hover { background: var(--gold); color: #221B0E; transform: translateY(-3px); }

/* 回到顶部：长页面（产品页 61 张卡）滚到底后要一路拖回顶端。
   叠在浮动联系按钮上方而不是并排——并排会把整个按钮组撑到 134px 宽，
   在 1180 这类中宽屏上会压住页脚右栏和备案号。
   默认 opacity 0 + visibility hidden，只有 JS 加上 .is-on 才出现——
   脚本失效时它不会变成一个点不动的死按钮。 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 206px;          /* 26 + 3×50 + 2×10 + 10，正好落在浮动联系按钮组上方 */
  z-index: 80;
  width: 50px; height: 50px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid rgba(200, 161, 90, .45);
  color: var(--gold-lt);
  cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .34s var(--ease), visibility .34s var(--ease),
              transform .34s var(--ease), background .32s var(--ease), color .32s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #221B0E; transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.to-top svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 21. 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 7, 6, .94);
  display: grid;
  place-items: center;
  padding: 4vw;
  opacity: 0;
  visibility: hidden;
  transition: all .32s var(--ease);
  cursor: default;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox.is-open .lb__stage { transform: none; }

/* 舞台：图片 + 说明 + 序号 */
.lb__stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
  transform: scale(.97);
  transition: transform .42s var(--ease);
}
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line-dark);
}
/* 切图过渡：原来直接换 src，画面是硬切；现在按翻页方向做一次短促的横向淡入，
   让"翻过去"这件事有方向感。--lb-dir 由 JS 在翻页时写入（下一张 +1 / 上一张 -1）。 */
.lightbox img.lb-enter { animation: lbEnter .42s var(--ease) both; }
@keyframes lbEnter {
  from { opacity: 0; transform: translateX(calc(var(--lb-dir, 1) * 18px)) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.lb__cap {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: min(72ch, 88vw);
  color: var(--on-dark);
  font-size: 13.5px;
  letter-spacing: .015em;
  line-height: 1.5;
}
.lb__cap-t { text-align: center; }
.lb__idx {
  flex: none;
  padding: 2px 9px;
  border: 1px solid rgba(230, 206, 154, .30);
  border-radius: 999px;
  color: var(--gold-lt);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  white-space: nowrap;
}
.lb__idx:empty { display: none; }

/* 关闭 / 翻页按钮 */
.lb__close,
.lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(230, 206, 154, .30);
  border-radius: 50%;
  background: rgba(18, 16, 14, .72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: var(--gold-lt);
  cursor: pointer;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              color .28s var(--ease), transform .28s var(--ease);
}
.lb__close svg,
.lb__nav svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb__close {
  top: clamp(14px, 2.2vw, 26px);
  right: clamp(14px, 2.2vw, 26px);
  width: 46px; height: 46px;
}
.lb__nav {
  top: 50%;
  width: 52px; height: 52px;
  transform: translateY(-50%);
}
.lb__nav--prev { left: clamp(10px, 2.4vw, 34px); }
.lb__nav--next { right: clamp(10px, 2.4vw, 34px); }
.lb__close:hover,
.lb__nav:hover { background: rgba(192, 154, 85, .28); border-color: var(--gold-lt); color: #FFF7E6; }
.lb__close:hover { transform: rotate(90deg); }
.lb__nav:hover { transform: translateY(-50%) scale(1.07); }
.lb__close:focus-visible,
.lb__nav:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.lightbox.is-single .lb__nav { display: none; }

/* ---------- 22b. 产能数据 · 剂型明细 · 沿革 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-dark);
}
.stat {
  position: relative;
  background: var(--ink-2);
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2.2vw, 30px);
}
.stat::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-lt), rgba(230, 206, 154, 0));
  margin-bottom: 18px;
}
.stat b {
  display: block;
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: clamp(36px, 3.9vw, 54px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--gold-lt);
  /* 数字滚动时每一位占宽必须相同，否则数字会随位数左右抖动 */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.stat__u {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold);
}
.stat p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.72; color: var(--on-dark-mut); }

.caps {
  margin-top: var(--gap);
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2.4vw, 32px);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
}
.caps__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.caps__head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 20px);
  color: #fff;
}
.caps__head span {
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.caps__list { list-style: none; margin: 0; padding: 0; }
.caps__i {
  display: grid;
  grid-template-columns: minmax(110px, 176px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 16px 0;
}
.caps__i + .caps__i { border-top: 1px solid var(--line-dark); }
.caps__n { font-size: 14.5px; color: var(--on-dark); }
.caps__t { height: 3px; background: rgba(255, 255, 255, .07); border-radius: 3px; overflow: hidden; }
.caps__t i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt)); }
.caps__v {
  font-family: var(--font-latin);
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

/* 工厂沿革（1998 起步 / 2004 建厂） */
.miles { margin-top: 30px; }
.mile {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(14px, 2vw, 24px);
  padding: 18px 0;
}
.mile + .mile { border-top: 1px solid var(--line); }
.mile b {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.1;
  color: var(--gold-dk);
  font-variant-numeric: tabular-nums;
}
.mile h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--text); }
.mile p { margin: 0; font-size: 13.8px; line-height: 1.72; color: var(--muted); }
.section--dark .mile + .mile { border-color: var(--line-dark); }
.section--dark .mile b { color: var(--gold-lt); }
.section--dark .mile h3 { color: #fff; }
.section--dark .mile p { color: var(--on-dark-mut); }

/* ---------- 23. 动效 ---------- */
/* 仅在 JS 可用时启用入场动效，避免脚本失效导致整页空白 */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
html.js .reveal[data-d="1"] { transition-delay: .1s; }
html.js .reveal[data-d="2"] { transition-delay: .2s; }
html.js .reveal[data-d="3"] { transition-delay: .3s; }
html.js .reveal[data-d="4"] { transition-delay: .4s; }
html.js .reveal[data-d="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001s !important; }
  html.js .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 24. 响应式 ---------- */
@media (min-width: 1500px) {
  .brand__txt { display: block; }
}

@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .header__side .btn { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .g-4, .pgrid, .catgrid, .certs, .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery--wide { grid-template-columns: repeat(3, 1fr); }
  .factbar { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(6, 1fr); }
  .flow__step, .flow__step:nth-child(n+5) { grid-column: span 3; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ncards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b-wide { grid-column: span 4; grid-row: span 1; }
  .bento .b-2 { grid-column: span 2; }
  /* 联系页在 1024 及以下折成单栏：表单在这个宽度上再并排就已经太挤 */
  .grid--contact, .grid--map { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 67px; }
  body { font-size: 15.5px; }
  .h-xl { font-size: clamp(28px, 8.6vw, 40px); }
  .topbar__note { display: none; }
  .topbar__list { gap: 14px; font-size: 12.5px; }
  .topbar__item--addr { display: none; }
  .topbar .wrap { padding-top: 9px; padding-bottom: 9px; }
  .brand img { height: 28px; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__badge { right: 10px; bottom: 10px; }
  .g-2, .g-3, .g-4, .pgrid, .catgrid, .certs, .gallery, .ncards, .factbar, .stats { grid-template-columns: 1fr; }
  /* 窄屏把剂型条折成两行：名称与数值一行，进度条独占一行铺满 */
  .caps__i { grid-template-columns: 1fr auto; row-gap: 9px; padding: 14px 0; }
  .caps__n { grid-column: 1; grid-row: 1; }
  .caps__v { grid-column: 2; grid-row: 1; }
  .caps__t { grid-column: 1 / -1; grid-row: 2; }
  .caps__head { flex-wrap: wrap; gap: 6px 16px; }
  .mile { grid-template-columns: 72px 1fr; }
  .gallery--wide { grid-template-columns: 1fr; }
  .gallery__span2 { grid-column: auto; }
  .cat { aspect-ratio: 16 / 12; }
  .flow { grid-template-columns: 1fr; }
  .flow__step, .flow__step:nth-child(n+5) { grid-column: span 1; }
  .flow__dot { font-size: 26px; margin-bottom: 14px; }
  .hero { min-height: auto; }
  .hero__facts { grid-template-columns: 1fr; }
  .nitem { grid-template-columns: 1fr; gap: 10px; }
  .nitem__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .float-contact { right: 14px; bottom: 14px; }
  .float-contact a { width: 46px; height: 46px; }
  /* 14 + 3×46 + 2×10 + 10：叠在浮动联系按钮组上方 */
  .to-top { right: 14px; bottom: 182px; width: 46px; height: 46px; }
  .footer__bottom, .footer__grid > :last-child { padding-right: 56px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 42vw, 200px); }
  .bento .b-wide { grid-column: span 2; grid-row: span 1; }
  .bento .b-2 { grid-column: span 1; }
  .card { padding: 24px; }

  /* 灯箱在窄屏收紧：翻页键移到画面下方居中，避免遮挡全宽图片 */
  .lightbox { padding: 3vw 2vw; }
  .lightbox img { max-height: 58vh; }
  .lb__stage { gap: 12px; }
  .lb__close { width: 40px; height: 40px; top: 10px; right: 10px; }
  .lb__nav { top: auto; bottom: clamp(14px, 3vh, 26px); width: 44px; height: 44px; transform: none; }
  .lb__nav--prev { left: calc(50% - 52px); }
  .lb__nav--next { right: calc(50% - 52px); }
  .lb__nav:hover { transform: scale(1.06); }
  .lb__cap { flex-direction: column; gap: 7px; font-size: 12.5px; margin-bottom: 62px; }
}
