/* =================================================================
   华达隆官网 · 移动端多页架构
   ================================================================= */

:root{
  --c-red:        #8b1a1f;
  --c-red-dk:     #6b1419;
  --c-gold:       #b88a4a;
  --c-gold-lt:    #d4b380;
  --c-gold-dk:    #8c6a36;
  --c-ink:        #1a1612;
  --c-ink-2:      #4a4036;
  --c-ink-3:      #8c8278;
  --c-bg:         #fbf8f2;
  --c-cream:      #f3ecdd;
  --c-line:       #e5dcc8;

  --r-s: 4px;
  --r-m: 8px;

  --topbar-h: 56px;
  --app-w: 460px;

  --font-cn: "PingFang SC","Hiragino Sans GB","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif;
  --font-serif: "Songti SC","STSong","Source Han Serif SC","Noto Serif SC",serif;
  --font-en: "Cormorant Garamond","Playfair Display",Georgia,serif;

  --ease-out: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior: smooth; }
body{
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-ink);
  background: #1a0e10;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; -webkit-tap-highlight-color: transparent; }
::selection{ background: var(--c-red); color: #fff; }

/* ===== 桌面舞台 ===== */
.stage{
  position: fixed; inset: 0; z-index: -1;
  background: #1a0e10;
}

/* ===== .app 整站容器 ===== */
.app{
  position: relative;
  width: 100%;
  max-width: var(--app-w);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--c-bg);
  overflow: hidden;
  isolation: isolate;
}

/* ===== 顶部滚动进度条（用 transform:scaleX，避免每帧重排） ===== */
.scroll-progress{
  position: fixed;
  top: 0; left: 50%;
  width: 100%;
  max-width: var(--app-w);
  height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  z-index: 60;
  pointer-events: none;
  transform-origin: 0 0;
  transform: translateX(-50%) scaleX(0);
  /* 关键：仅 transform 不触发布局，配合 will-change 提升到独立合成层 */
  will-change: transform;
}

/* ===== 顶栏（去除 backdrop-filter，用纯色避免 blur 性能问题） ===== */
.topbar{
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(251, 248, 242, .98);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .2s linear, border-color .2s linear, box-shadow .2s linear;
}
.topbar.scrolled{
  box-shadow: 0 1px 8px rgba(40, 20, 10, .06);
}
.topbar.transparent{
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
  border-bottom-color: transparent;
  box-shadow: none;
}
.topbar.transparent .brand-mark{ color: #fff; }
.topbar.transparent .brand-sub{ color: rgba(255,255,255,.7); }
.topbar.transparent .menu-btn span{ background: #fff; }

.brand{
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  flex: 1;
}
.brand-seal{
  width: 32px; height: 32px;
  background: var(--c-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(139,26,31,.25);
  transition: transform .25s var(--ease-out);
}
.brand:active .brand-seal{ transform: scale(.94); }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-mark{
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c-red);
  transition: color .25s;
}
.brand-sub{
  font-size: 10px;
  letter-spacing: .5px;
  color: var(--c-ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .25s;
}
.menu-btn{
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.menu-btn span{
  width: 20px; height: 1.5px;
  background: var(--c-ink);
  transition: transform .3s var(--ease-out), opacity .3s, background .3s;
}
.menu-btn.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity: 0; }
.menu-btn.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ===== 侧滑菜单（box-shadow 分离到伪元素，避免动画期间重绘阴影） ===== */
.drawer{
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  min-height: 100vh;
  background: #fff;
  z-index: 80;
  transform: translate3d(100%, 0, 0);
  transition: transform .32s var(--ease-out);
  padding: 24px 24px 24px;
  overflow-y: auto;
  /* 关闭时不需要 will-change；打开瞬间提升合成层 */
  will-change: transform;
  backface-visibility: hidden;
}
.drawer::before{
  /* 阴影独立层，不在 transform 期间重绘 */
  content: "";
  position: absolute;
  top: 0; right: 100%; bottom: 0;
  width: 24px;
  box-shadow: 12px 0 24px rgba(0,0,0,.15);
  pointer-events: none;
}
.drawer.open{ transform: translate3d(0, 0, 0); }
.drawer-head{
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 8px;
}
.drawer-title{
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-red);
  margin: 0;
  letter-spacing: 3px;
}
.drawer-co{
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--c-ink-3);
  letter-spacing: .5px;
  line-height: 1.5;
}
.drawer-list{ list-style: none; margin: 0; padding: 0; counter-reset: drawer-item; }
.drawer-list li{ counter-increment: drawer-item; }
.drawer-list li a{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  transition: color .2s, padding-left .2s;
  position: relative;
}
.drawer-list li a::before{
  content: counter(drawer-item, decimal-leading-zero);
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 1px;
  margin-right: 14px;
  min-width: 22px;
  transition: color .2s;
}
.drawer-list li a:hover,
.drawer-list li a:active{
  color: var(--c-red);
  padding-left: 6px;
}
.drawer-list li.active a{
  color: var(--c-red);
  font-weight: 600;
}
.drawer-list li.active a::before{
  color: var(--c-red);
}
.drawer-list li.active a::after{
  content: "";
  width: 5px; height: 5px;
  background: var(--c-red);
  border-radius: 50%;
}
.drawer-foot{
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  font-size: 11px;
  color: var(--c-ink-3);
  letter-spacing: 1px;
  line-height: 1.7;
}
.drawer-foot p{ margin: 0; }
.drawer-mask{
  position: absolute; inset: 0;
  background: rgba(20, 12, 10, .5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 70;
}
.drawer-mask.show{ opacity: 1; pointer-events: auto; }

/* ===== 抽屉底部"生成二维码"小按钮（克制风） ===== */
.drawer-tools{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}
.drawer-tools button{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  color: var(--c-ink-3);
  transition: color .2s, padding-left .2s;
  text-align: left;
}
.drawer-tools button .qr-ico{
  width: 18px; height: 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.drawer-tools button .qr-ico::before,
.drawer-tools button .qr-ico::after{
  content: "";
  position: absolute;
  width: 5px; height: 5px;
  border: 1px solid currentColor;
}
.drawer-tools button .qr-ico::before{ top: 2px; left: 2px; }
.drawer-tools button .qr-ico::after{ top: 2px; right: 2px; }
.drawer-tools button:hover,
.drawer-tools button:active{
  color: var(--c-red);
  padding-left: 4px;
}

/* ===== 二维码弹窗 ===== */
.qr-modal{
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 220;
  padding: 24px 20px;
  -webkit-tap-highlight-color: transparent;
}
.qr-modal.open{ display: flex; }
.qr-card{
  position: relative;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  /* 卡片从下方滑入的轻动画 */
  transform: translateY(12px);
  opacity: 0;
  transition: transform .3s var(--ease-out), opacity .3s ease;
}
.qr-modal.open .qr-card{
  transform: translateY(0);
  opacity: 1;
}
.qr-close{
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--c-ink-3);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.qr-close:hover, .qr-close:active{
  background: rgba(0,0,0,.06);
  color: var(--c-ink);
}
.qr-title{
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--c-red);
  margin: 0 0 4px;
}
.qr-sub{
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c-ink-3);
  margin: 0 0 18px;
}
.qr-canvas-wrap{
  display: inline-block;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  margin-bottom: 12px;
  position: relative;
}
.qr-canvas-wrap canvas{
  display: block;
  width: 200px;
  height: 200px;
  /* 关键：用 image-rendering 让 QR 像素更锐利，避免在缩放时模糊 */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}
.qr-url{
  font-size: 11px;
  color: var(--c-ink-3);
  margin: 0 0 18px;
  word-break: break-all;
  line-height: 1.5;
  padding: 8px 10px;
  background: #faf6ee;
  border-radius: 4px;
  letter-spacing: .3px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  max-height: 60px;
  overflow: auto;
}
.qr-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.qr-btn{
  padding: 11px 12px;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.qr-btn-primary{
  background: var(--c-red);
  color: #fff;
  border: 1px solid var(--c-red);
}
.qr-btn-primary:hover{ background: var(--c-red-dk); border-color: var(--c-red-dk); }
.qr-btn-primary:active{ transform: scale(.97); }
.qr-btn-ghost{
  background: #fff;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
}
.qr-btn-ghost:hover{ background: #faf3e2; }
.qr-btn-ghost:active{ transform: scale(.97); }
.qr-btn-ghost.copied{
  background: #e8f5e9;
  color: #1b5e20;
  border-color: #c8e6c9;
}
.qr-tip{
  font-size: 11px;
  color: var(--c-ink-3);
  letter-spacing: 1px;
  margin: 0;
}

/* ===== Hero（去 filter，用渐变叠层变暗，避免每帧 filter 重算） ===== */
.hero{
  position: relative;
  margin-top: calc(var(--topbar-h) * -1);
  height: 100vh;
  min-height: 580px;
  max-height: 780px;
  overflow: hidden;
  color: #fff;
}
.hero-bg{
  position: absolute; inset: 0; z-index: 1;
  /* 关键：作为合成层独立处理 */
  transform: translateZ(0);
  will-change: transform;
}
.hero-bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  /* 不用 filter，避免每帧重算 */
  animation: heroKenburns 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenburns{
  /* 只用 scale，translate 一并做，单一 GPU transform 操作 */
  from{ transform: scale(1.02); }
  to  { transform: scale(1.10); }
}
.hero-veil{
  position: absolute; inset: 0;
  /* 双层 overlay：第一层变暗（替代 filter），第二层渐变 */
  background:
    linear-gradient(rgba(15,5,5,.45), rgba(15,5,5,.45)),
    linear-gradient(180deg,
      rgba(15,5,5,.25) 0%,
      rgba(15,5,5,0) 30%,
      rgba(15,5,5,.45) 75%,
      rgba(15,5,5,.85) 100%);
  pointer-events: none;
}
.hero-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: calc(var(--topbar-h) + 48px) 32px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-eyebrow{
  margin: 0 0 30px;
  font-size: 12px;
  letter-spacing: 6px;
  color: rgba(255,255,255,.7);
  animation: heroFade .9s ease-out .1s backwards;
}
.hero-title{
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  letter-spacing: 4px;
  text-indent: 4px;
  color: #fff;
  animation: heroFade 1s ease-out .3s backwards;
}
.hero-rule{
  width: 28px; height: 1.5px;
  background: var(--c-gold);
  margin: 28px auto;
  /* 用 transform:scaleX 替代 width，避免布局抖动 */
  transform: scaleX(0);
  transform-origin: center;
  animation: heroRule .8s ease-out .6s forwards;
}
@keyframes heroRule{
  from{ transform: scaleX(0); opacity: 0; }
  to  { transform: scaleX(1); opacity: 1; }
}
.hero-sub{
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin: 0;
  letter-spacing: 1px;
  animation: heroFade 1s ease-out .75s backwards;
}
/* 只用 opacity 渐入，不用 transform，避免大段中文 reflow */
@keyframes heroFade{
  from{ opacity: 0; }
  to  { opacity: 1; }
}

/* ===== Hero 底部"向下浏览"引导（极简、只动一个元素） ===== */
.hero-hint{
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: 4px;
  animation: heroFade 1s ease-out 1s backwards;
  /* 整体上下浮动一次，比双 chevron 动画轻得多 */
  -webkit-tap-highlight-color: transparent;
}
.hero-hint .chevron{
  width: 8px; height: 8px;
  border-right: 1px solid rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  /* 只动 translateY，单一变换避免每帧矩阵重算 */
  animation: heroChevron 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes heroChevron{
  0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: .3; }
  50%      { transform: translateY( 3px) rotate(45deg); opacity: 1; }
}

/* ===== 内页 Hero（无动画 + 渐变变暗，开销最小） ===== */
.hero-page{
  position: relative;
  margin-top: calc(var(--topbar-h) * -1);
  height: 48vh;
  min-height: 300px;
  max-height: 400px;
  overflow: hidden;
  color: #fff;
}
.hero-page .hero-bg{
  will-change: auto;   /* 内页静态，不需要合成层 */
}
.hero-page .hero-bg img{
  animation: none;
  will-change: auto;
}
.hero-page .hero-veil{
  /* 内页用更深的整体变暗 */
  background:
    linear-gradient(rgba(15,5,5,.55), rgba(15,5,5,.55)),
    linear-gradient(180deg, rgba(15,5,5,.3), rgba(15,5,5,0) 40%, rgba(15,5,5,.4));
}
.hero-page .hero-inner{
  padding: calc(var(--topbar-h) + 30px) 32px 30px;
}
.hero-page .hero-title{
  font-size: 28px;
  letter-spacing: 6px;
  text-indent: 6px;
}
.hero-page .hero-eyebrow{ margin-bottom: 22px; }
.hero-page .hero-rule{ margin: 22px auto 18px; }
.hero-page .hero-sub{ font-size: 12.5px; }

/* ===== 面包屑（内页用） ===== */
.crumb{
  position: absolute;
  top: calc(var(--topbar-h) + 16px);
  left: 24px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.crumb a{
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.crumb a:hover, .crumb a:active{ color: #fff; }
.crumb-sep{
  font-size: 9px;
  color: rgba(255,255,255,.35);
}

/* ===== 区段 ===== */
.section{
  padding: 64px 24px;
  position: relative;
}
.section-light{ background: var(--c-bg); }
.section-cream{ background: var(--c-cream); }
.section-dark{
  background: linear-gradient(180deg, #1f1316 0%, #2a1a1d 100%);
  color: #e8ddd5;
}
.section-quote{
  background: var(--c-red);
  color: #fff;
  padding: 64px 28px;
}

/* ----- 标题块 ----- */
.head{ margin-bottom: 32px; }
.head h2{
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0 0 14px;
  color: var(--c-ink);
  position: relative;
  padding-bottom: 14px;
}
.head h2::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--c-red);
}
.head.light h2{ color: #fff; }
.head.light h2::after{ background: var(--c-gold); }
.head .head-sub-cn{
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: 2px;
}

/* ----- 子标题 ----- */
.sub-h{
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: 2px;
  color: var(--c-ink);
  padding-left: 12px;
  border-left: 2px solid var(--c-red);
}
.sub-h.light{ color: #fff; border-left-color: var(--c-gold); }
.sub-h:first-child{ margin-top: 0; }

/* ----- 正文 ----- */
.prose{
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-ink-2);
  margin: 0 0 14px;
  letter-spacing: .3px;
  text-indent: 2em;
}
.prose:last-child{ margin-bottom: 0; }
.prose.center{ text-align: center; text-indent: 0; }
.prose.no-indent{ text-indent: 0; }
.prose.light{ color: rgba(255,255,255,.8); }
.prose b{ color: var(--c-red); font-weight: 600; }
.prose.light b{ color: var(--c-gold-lt); font-weight: 600; }
.prose i{ font-style: normal; color: var(--c-gold-dk); }
.prose.light i{ color: var(--c-gold-lt); }

.muted-tip{
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--c-ink-3);
  letter-spacing: 1px;
  text-align: center;
}
.section-dark .muted-tip{ color: rgba(255,255,255,.45); }

/* ===== KPI ===== */
.kpis{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 28px 0 0;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.kpi{
  background: #fff;
  padding: 24px 12px;
  text-align: center;
  transition: background .25s;
  position: relative;
}
.kpi:hover{ background: #fefcf6; }
.kpi b{
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--c-red);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.kpi i{
  font-style: normal;
  font-size: 13px;
  color: var(--c-ink-2);
  margin-left: 4px;
  font-weight: 500;
}
.kpi span{
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--c-ink-3);
  letter-spacing: 2px;
}

/* ===== 首页导航卡片（带预览图） ===== */
.home-nav{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin: 28px 0 0;
}
.home-nav a{
  background: #fff;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .2s;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}
.home-nav a:active{ background: #faf3e6; }
.home-nav .hn-img{
  position: absolute;
  top: 14px; right: 12px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  opacity: .55;
  filter: saturate(.9);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.home-nav a:hover .hn-img,
.home-nav a:active .hn-img{
  opacity: .85;
  transform: scale(1.06);
}
.home-nav .hn-num{
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  color: var(--c-gold-dk);
  font-weight: 700;
  letter-spacing: 1px;
}
.home-nav .hn-title{
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 2px;
  margin-top: 14px;
}
.home-nav .hn-en{
  font-size: 10px;
  color: var(--c-ink-3);
  letter-spacing: 2px;
}
.home-nav .hn-arrow{
  position: absolute;
  bottom: 14px; right: 14px;
  color: var(--c-red);
  font-size: 16px;
  opacity: .7;
  transition: transform .2s var(--ease-out), opacity .2s;
}
.home-nav a:hover .hn-arrow,
.home-nav a:active .hn-arrow{ opacity: 1; transform: translateX(2px); }

/* ===== 产能卡 ===== */
.cap-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px 0 0;
  background: rgba(184, 138, 74, .25);
  border: 1px solid rgba(184, 138, 74, .25);
}
.cap-card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.05));
  padding: 28px 12px;
  text-align: center;
  transition: background .3s;
}
.cap-card:hover{ background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.05)); }
.cap-num{
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-gold-lt);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cap-num small{
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-left: 4px;
  font-weight: 400;
}
.cap-label{
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: 3px;
}

/* ===== 经营指标 ===== */
.biz-list{
  margin: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.biz-item{
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.biz-k{ color: rgba(255,255,255,.7); font-size: 13.5px; letter-spacing: 2px; }
.biz-v{
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-gold-lt);
  font-variant-numeric: tabular-nums;
}
.biz-v em{
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin-right: 2px;
}
.biz-v small{
  color: rgba(255,255,255,.65);
  font-size: 11.5px;
  margin-left: 2px;
  font-weight: 400;
}

/* ===== 时间轴 ===== */
.timeline{
  list-style: none; margin: 16px 0 0; padding: 0;
  position: relative;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 78px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-red), var(--c-gold) 50%, var(--c-line));
}
.timeline li{
  position: relative;
  display: grid;
  grid-template-columns: 64px 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  align-items: flex-start;
}
.t-year{
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.3;
  text-align: right;
}
.t-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-red);
  margin: 7px 9px 0;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 4px rgba(139,26,31,.08);
}
.t-dot::after{
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(139,26,31,.25);
}
.t-body b{
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.t-body span{
  display: block;
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.7;
}

/* ===== 平列表 ===== */
.plain-list{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.plain-list li{
  position: relative;
  padding: 12px 0 12px 18px;
  font-size: 14px;
  color: var(--c-ink-2);
  border-bottom: 1px solid var(--c-line);
}
.plain-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 6px; height: 6px;
  background: var(--c-red);
}
.plain-list li:last-child{ border-bottom: 0; }

/* ===== 证书：2 列 + contain ===== */
.cert-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0 0;
}
.cert-item{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 8px;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
  box-shadow: 0 2px 6px rgba(60,30,20,.04);
}
.cert-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60,30,20,.12);
  border-color: var(--c-gold);
}
.cert-item img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .5s ease;
}
.cert-item img.loaded{ opacity: 1; }

/* ===== 技术特性 ===== */
.feat-list{
  margin: 18px 0 0;
  border-top: 1px solid var(--c-line);
  counter-reset: feat;
}
.feat{
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
  transition: background .2s;
  counter-increment: feat;
  position: relative;
}
.feat:last-child{ border-bottom: 0; }
.feat:hover{ background: rgba(255,255,255,.4); }
.feat h4{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--c-red);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.feat h4::before{
  content: counter(feat, decimal-leading-zero);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 1px;
  font-weight: 600;
}
.feat p{
  margin: 0;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  line-height: 1.95;
}
.feat p b{ color: var(--c-red); font-weight: 600; }

/* ===== 物流链 ===== */
.chain{
  list-style: none; margin: 14px 0; padding: 0;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.chain li{ flex: 1; text-align: center; position: relative; }
.chain li span{
  display: inline-block;
  padding: 14px 6px;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  letter-spacing: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.chain li:hover span{
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.chain li::after{
  content: "→";
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-red);
  font-size: 14px;
  z-index: 2;
  font-weight: 700;
}
.chain li:last-child::after{ display: none; }

/* ===== 产品分类 tabs（带下划线动画） ===== */
.product-tabs{
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.product-tabs::-webkit-scrollbar{ display: none; }
.product-tabs button{
  flex-shrink: 0;
  padding: 10px 14px 12px;
  font-size: 13.5px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  background: transparent;
  border: 0;
  position: relative;
  transition: color .2s;
}
.product-tabs button:hover{ color: rgba(255,255,255,.85); }
.product-tabs button::after{
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0%;
  height: 2px;
  background: var(--c-gold);
  transform: translateX(-50%);
  transition: width .25s var(--ease-out);
}
.product-tabs button.active{
  color: var(--c-gold-lt);
  font-weight: 700;
}
.product-tabs button.active::after{
  width: 80%;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}
.product-grid figure{
  margin: 0;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  content-visibility: auto;
  contain-intrinsic-size: 0 240px;
  transition: transform .25s var(--ease-out);
}
.product-grid figure:hover{ transform: translateY(-2px); }
.product-grid figure .pf-img{
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f0e9d8;
}
.product-grid figure img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .5s ease;
  opacity: 0;
}
.product-grid figure img.loaded{ opacity: 1; }
.product-grid figure:hover img.loaded{ transform: scale(1.05); }
.product-grid figcaption{
  text-align: center;
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 6px;
  color: var(--c-ink);
  letter-spacing: 1px;
}

/* ===== Hero 图加载淡入 ===== */
.hero-bg img,
.cert-item img{
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-bg img.loaded,
.hero-bg img[src]:not([src=""]){
  opacity: 1;
}

/* ===== 企业精神（带编号） ===== */
.spirit{
  list-style: none; margin: 0 0 28px; padding: 0;
  counter-reset: spirit;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.15);
}
.spirit li{
  counter-increment: spirit;
  background: rgba(0,0,0,.12);
  padding: 24px 16px 22px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  position: relative;
  transition: background .25s;
}
.spirit li:hover{ background: rgba(0,0,0,.22); }
.spirit li::before{
  content: counter(spirit, decimal-leading-zero);
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  color: var(--c-gold-lt);
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ===== 愿景块 ===== */
.vision-block{
  margin-top: 32px;
  padding: 26px 22px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  position: relative;
}
.vision-block::before,
.vision-block::after{
  content: ""; position: absolute;
  width: 14px; height: 14px;
}
.vision-block::before{
  top: -1px; left: -1px;
  border-top: 1px solid var(--c-gold-lt);
  border-left: 1px solid var(--c-gold-lt);
}
.vision-block::after{
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--c-gold-lt);
  border-right: 1px solid var(--c-gold-lt);
}
.vision-label{
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--c-gold-lt);
  letter-spacing: 6px;
  text-align: center;
}
.vision-text{
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.9);
  line-height: 2;
  letter-spacing: .5px;
  text-align: justify;
  text-indent: 2em;
}
.vision-text b{ color: var(--c-gold-lt); font-weight: 700; }

/* ===== 页脚 ===== */
.footer{
  background: #1a0e10;
  color: #c0b6ad;
  padding: 48px 24px 28px;
  text-align: center;
}
.footer-brand{
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-gold-lt);
  letter-spacing: 6px;
  margin: 0 0 6px;
}
.footer-co{
  font-size: 12px;
  color: #8a7d72;
  margin: 0;
  letter-spacing: .5px;
}
.footer-links{
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  margin: 24px 0 18px;
  font-size: 12px;
}
.footer-links a{
  color: #b0a59b;
  padding: 4px 10px;
  position: relative;
  letter-spacing: 1px;
  transition: color .2s;
}
.footer-links a + a::before{
  content: "·";
  color: #5a4f47;
  position: absolute;
  left: -2px;
}
.footer-links a:hover{ color: var(--c-gold-lt); }

.footer-meta{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10.5px;
  color: #6a5e54;
  letter-spacing: 1px;
  line-height: 1.7;
}
.footer-meta a{ color: #8a7d72; transition: color .2s; }
.footer-meta a:hover{ color: var(--c-gold-lt); }

/* ===== 联系信息（联系页用） ===== */
.contact-group{
  margin-bottom: 32px;
}
.contact-group:last-child{ margin-bottom: 0; }
.contact-group-title{
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 3px;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-group-title::before{
  content: "";
  width: 12px; height: 1.5px;
  background: var(--c-red);
}
.contact-list{ margin: 0; }
.c-row{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}
.c-row:last-child{ border-bottom: 0; }
.c-k{
  font-size: 11.5px;
  letter-spacing: 3px;
  color: var(--c-gold-dk);
  padding-top: 3px;
}
.c-v{
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-ink-2);
}
.c-v b{ color: var(--c-red); font-weight: 600; }

/* ===== Lightbox ===== */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 56px 16px;
}
.lightbox.open{ display: flex; }
.lb-stage{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lb-img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity .3s;
}
.lb-img.loaded{ opacity: 1; }
.lb-close, .lb-prev, .lb-next{
  position: fixed;
  color: #fff;
  font-size: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 201;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ background: rgba(255,255,255,.22); }
.lb-close{ top: 14px; right: 14px; font-size: 22px; }
.lb-prev{ left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count{
  position: fixed;
  bottom: 22px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  letter-spacing: 2px;
  margin: 0;
}
.lb-loading{
  position: fixed;
  top: 50%; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  letter-spacing: 3px;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.lb-loading.show{ opacity: 1; }

/* ===== 返回顶部按钮（opacity 切换，不用 display 切换避免抖动） ===== */
.back-top{
  position: fixed;
  bottom: 22px;
  right: max(22px, calc((100vw - var(--app-w))/2 + 22px));
  width: 42px; height: 42px;
  background: rgba(255,255,255,.94);
  color: var(--c-red);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 50;
  font-size: 16px;
  border: 1px solid var(--c-line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:active{ transform: translateY(0) scale(.92); }

/* ===== 滚动渐入（只用 opacity，最便宜，无 transform 重排） ===== */
html.reveal-ready .reveal{
  opacity: 0;
  transition: opacity .6s ease-out;
}
html.reveal-ready .reveal.shown{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  html.reveal-ready .reveal{ opacity:1; transition:none; }
  .hero-bg img{ animation: none; }
  .hero-eyebrow, .hero-title, .hero-rule, .hero-sub, .hero-hint{ animation: none; }
  .hero-hint .chevron{ animation: none; }
}

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 360px){
  .section{ padding: 52px 20px; }
  .hero-title{ font-size: 28px; letter-spacing: 3px; text-indent: 3px; }
  .hero-page .hero-title{ font-size: 24px; letter-spacing: 4px; }
  .head h2{ font-size: 23px; letter-spacing: 3px; }
  .kpi b{ font-size: 27px; }
  .cap-num{ font-size: 28px; }
  .biz-v{ font-size: 20px; }
  .spirit li{ font-size: 15px; letter-spacing: 3px; padding: 20px 10px 18px; }
  .timeline::before{ left: 64px; }
  .timeline li{ grid-template-columns: 54px 22px 1fr; gap: 10px; }
  .t-year{ font-size: 16px; }
  .chain li span{ font-size: 13px; padding: 12px 4px; letter-spacing: 1px; }
  .cert-grid{ gap: 8px; }
  .cert-item{ padding: 6px; }
  .home-nav a{ padding: 18px 12px 16px; min-height: 130px; }
  .home-nav .hn-title{ font-size: 15px; margin-top: 10px; }
  .home-nav .hn-img{ width: 42px; height: 42px; top: 10px; right: 10px; }
  .crumb{ left: 20px; font-size: 10px; }
}

@media (min-width: 414px){
  .hero-title{ font-size: 38px; letter-spacing: 5px; text-indent: 5px; }
  .hero-page .hero-title{ font-size: 30px; }
  .head h2{ font-size: 28px; }
}

@media (min-width: 640px){
  body{ padding: 28px 0; }
  .stage{
    background: radial-gradient(60% 50% at 50% 30%, #2a1518 0%, #150a0b 70%, #0a0405 100%);
  }
  .app{
    min-height: calc(100vh - 56px);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
  }
}
