/* ==========================================
   AOFENG SPRING (THAILAND) — 中文站
   在英文站样式基础上做中文排版与版式覆盖
   ========================================== */

:root {
  --zh-ink: #16202E;
  --zh-ink-2: #46536A;
  --zh-line: #E3E7EE;
  --zh-bg: #F6F7F9;
  --zh-bg-purple: #F5F1FA;
}

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--zh-ink);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
  line-height: 1.4;
}

p { line-height: 1.85; }

.container { max-width: var(--container-width); }

/* --- 导航：中文条目较多，收紧一点 --- */
.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.lang-switcher a.lang-btn {
  text-decoration: none;
  line-height: 1.4;
}

/* --- 页头 --- */
.page-header { padding: 120px 0 60px; }
.page-header .page-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.page-header .page-subtitle { max-width: 760px; margin: 0 auto; }

/* --- 通用版式 --- */
.zh-section { padding: 76px 0; }
.zh-section--tight { padding: 52px 0; }
.zh-section--gray { background: var(--zh-bg); }
.zh-section--purple { background: var(--zh-bg-purple); }

.zh-intro { max-width: 860px; margin: 0 0 40px; }
.zh-intro .section-tag { margin-bottom: 10px; }
.zh-intro-title {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin: 0 0 16px;
  color: var(--zh-ink);
}
.zh-intro p { color: var(--zh-ink-2); line-height: 1.85; margin-bottom: 12px; }
.zh-intro p:last-child { margin-bottom: 0; }

.zh-lead {
  font-size: 1.05rem;
  color: var(--zh-ink-2);
  max-width: 820px;
  margin: 0 auto;
}

.zh-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

/* --- 首屏 --- */
/* 背景视频与色调沿用英文站首屏：img/hero-poster.jpg 做 poster，video/hero.* 做背景 */
.zh-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 132px 0 88px;
  background: #14101f;
  overflow: hidden;
}

.zh-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5) saturate(0.9) contrast(1.08);
  pointer-events: none;
}

.zh-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 18, 38, 0.2) 0%, rgba(18, 18, 38, 0.55) 100%),
    linear-gradient(90deg, rgba(18, 18, 38, 0.5) 0%, rgba(18, 18, 38, 0.18) 55%, rgba(18, 18, 38, 0) 100%);
  pointer-events: none;
}

.zh-hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.zh-hero-inner {
  max-width: 760px;
}

.zh-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.zh-hero h1 em {
  font-style: normal;
  color: #F7D679;
}

.zh-hero .zh-eyebrow { color: #F7D679; }

.zh-hero-sub {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 22px;
}

.zh-proof {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.zh-proof li {
  position: relative;
  padding-left: 24px;
  color: var(--zh-ink-2);
  font-size: 0.96rem;
}

.zh-proof li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-purple);
  font-weight: 700;
}

.zh-hero .zh-proof li { color: rgba(255, 255, 255, 0.86); }
.zh-hero .zh-proof li::before { color: #F7D679; }
.zh-hero .zh-note { color: rgba(255, 255, 255, 0.6); }
.zh-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.zh-hero .btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.zh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- 数字条 --- */
.zh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--zh-line);
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  overflow: hidden;
}

.zh-stat {
  background: #fff;
  padding: 26px 20px;
  text-align: center;
}

.zh-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1.2;
}

.zh-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--zh-ink-2);
}

/* --- 卡片网格 --- */
.zh-grid {
  display: grid;
  gap: 20px;
}
.zh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.zh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zh-grid--4 { grid-template-columns: repeat(4, 1fr); }

.zh-card {
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  padding: 26px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.zh-card:hover {
  box-shadow: 0 14px 34px rgba(22, 32, 46, 0.08);
  transform: translateY(-2px);
}

.zh-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--zh-ink);
}

.zh-card p {
  font-size: 0.92rem;
  color: var(--zh-ink-2);
  margin: 0;
}

.zh-card .zh-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
  font-size: 1.15rem;
  margin-bottom: 14px;
}

/* --- 对比表 --- */
.zh-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  background: #fff;
}

.zh-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.zh-compare th,
.zh-compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--zh-line);
  font-size: 0.93rem;
  vertical-align: top;
}

.zh-compare thead th {
  background: #FBFAFD;
  font-weight: 700;
  color: var(--zh-ink);
  font-size: 0.88rem;
}

.zh-compare thead th:nth-child(2) { color: var(--zh-ink-2); }
.zh-compare thead th:nth-child(3) { color: var(--accent-purple); }

.zh-compare tbody tr:last-child td { border-bottom: none; }

.zh-compare td:first-child {
  font-weight: 600;
  color: var(--zh-ink);
  white-space: nowrap;
}

.zh-compare .is-good { color: var(--accent-purple); font-weight: 600; }

/* --- 流程 --- */
.zh-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}

.zh-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  padding: 22px 18px;
}

.zh-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--thai-gold-dark);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.zh-step h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.zh-step p {
  font-size: 0.84rem;
  color: var(--zh-ink-2);
  margin: 0;
}

/* --- 产品网格 --- */
.zh-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.zh-prod {
  display: block;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.zh-prod:hover {
  box-shadow: 0 14px 34px rgba(22, 32, 46, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.zh-prod img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--zh-bg);
}

.zh-prod-body { padding: 16px 18px 18px; }
.zh-prod-body h3 { font-size: 1.02rem; margin-bottom: 4px; }
.zh-prod-body p { font-size: 0.86rem; color: var(--zh-ink-2); margin: 0; }

/* --- 提示条 --- */
.zh-callout {
  border-left: 4px solid var(--thai-gold);
  background: #FFFBEE;
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  color: #5A4A1E;
  font-size: 0.93rem;
}

.zh-callout strong { color: #3E3212; }

.zh-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* --- FAQ --- */
.zh-faq { display: grid; gap: 10px; }

.zh-faq details {
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 10px;
  padding: 0 22px;
}

.zh-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}

.zh-faq summary::-webkit-details-marker { display: none; }

.zh-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-purple);
  font-size: 1.3rem;
  font-weight: 400;
}

.zh-faq details[open] summary::after { content: "–"; }

.zh-faq details div {
  padding: 0 0 20px;
  color: var(--zh-ink-2);
  font-size: 0.93rem;
}

.zh-faq details div p { margin: 0 0 10px; }
.zh-faq details div p:last-child { margin-bottom: 0; }

/* --- 联系 / 微信 --- */
.zh-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.zh-contact-box {
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  padding: 28px;
}

.zh-contact-box h3 { font-size: 1.05rem; margin-bottom: 16px; }

.zh-contact-row {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--zh-line);
  font-size: 0.93rem;
}

.zh-contact-row:last-child { border-bottom: none; }
.zh-contact-row .k { color: var(--text-muted); min-width: 78px; }
.zh-contact-row .v { color: var(--zh-ink); font-weight: 500; }
.zh-contact-row a { font-weight: 500; }

.zh-wechat {
  border: 1px solid var(--border-glow);
  background: linear-gradient(160deg, #FBF8FE, #F5F1FA);
  border-radius: 12px;
  padding: 26px;
  margin-top: 16px;
}

.zh-wechat h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--accent-purple);
}

.zh-wechat p {
  font-size: 0.9rem;
  color: var(--zh-ink-2);
  margin: 0 0 14px;
}

.zh-wechat-slot {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px dashed var(--border-glow);
  border-radius: 10px;
  padding: 16px;
}

.zh-wechat-slot .qr {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 8px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.4;
}

.zh-wechat-slot .txt strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.zh-wechat-slot .txt span { display: block; font-size: 0.84rem; color: var(--zh-ink-2); }
.zh-wechat-slot .qr img { width: 100%; height: 100%; object-fit: contain; }

.zh-wechat--hero .zh-wechat-slot { padding: 20px; }
.zh-wechat--hero .zh-wechat-slot .qr { width: 160px; height: 160px; flex: 0 0 160px; }
.zh-wechat--hero .zh-wechat-slot .txt strong { font-size: 1.05rem; }

/* --- 表单 --- */
.zh-form .form-group { margin-bottom: 16px; }
.zh-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--zh-ink);
}
.zh-form input,
.zh-form textarea,
.zh-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--zh-line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--zh-ink);
  background: #fff;
}
.zh-form textarea { min-height: 130px; resize: vertical; }
.zh-form input:focus,
.zh-form textarea:focus,
.zh-form select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
}
.zh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zh-form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }
.zh-form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
}
.zh-form-status.ok { display: block; background: #EFF8F1; color: #1E6B3A; }
.zh-form-status.err { display: block; background: #FDF1F1; color: #9B2C2C; }

/* --- 图纸上传 --- */
.zh-upload { position: relative; }

.zh-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.zh-form .zh-upload-zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 18px 16px;
  border: 1.5px dashed var(--zh-line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  font-weight: 400;
  transition: border-color .15s, background .15s;
}

.zh-upload-zone:hover,
.zh-upload-zone.is-drag {
  border-color: var(--accent-purple);
  background: #FAF8FE;
}

.zh-upload-zone strong { font-size: 0.9rem; color: var(--accent-purple); }
.zh-upload-zone span { font-size: 0.76rem; color: var(--text-muted); }

.zh-upload-input:focus-visible + .zh-upload-zone {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(107, 63, 160, .15);
}

.zh-upload-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.zh-upload-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #F7F5FB;
  font-size: 0.8rem;
  color: var(--zh-ink-2);
}

.zh-upload-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.zh-upload-list button {
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  color: #9B2C2C;
  font-size: 0.8rem;
  cursor: pointer;
}

.zh-upload-error {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #9B2C2C;
}

/* --- 说明块 --- */
.zh-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.zh-split img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.zh-split-link {
  display: inline-block;
  margin-top: 8px;
}

/* 公司名比常规标题长，按视口收缩，避免在「有限公／司」处断行 */
.zh-company-title { font-size: clamp(1.3rem, 2.4vw, 2.1rem); }

.zh-narrow {
  max-width: 860px;
  margin: 0 auto;
}

.zh-kv {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.zh-kv li {
  display: flex;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--zh-ink-2);
}

.zh-kv li strong {
  color: var(--zh-ink);
  min-width: 96px;
  font-weight: 600;
}

/* --- 侧边粘性 CTA（桌面） --- */
.zh-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-left: 4px solid var(--accent-purple);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 36px;
}

.zh-inline-cta p { margin: 0; font-size: 0.95rem; color: var(--zh-ink-2); }
.zh-inline-cta strong { color: var(--zh-ink); }

/* --- 响应式 --- */
@media (max-width: 992px) {
  .zh-hero { min-height: 0; padding: 108px 0 64px; }
  /* 手机上不加载视频（省流量），退回 poster 静态图，色调与视频一致 */
  .zh-hero-video { display: none; }
  .zh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/hero-poster.jpg") center / cover no-repeat;
    filter: brightness(0.5) saturate(0.9) contrast(1.08);
  }
  .zh-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .zh-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .zh-flow { grid-template-columns: repeat(2, 1fr); }
  .zh-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .zh-contact-grid { grid-template-columns: 1fr; }
  .zh-split { grid-template-columns: 1fr; gap: 24px; }
  .nav-links a { font-size: 1rem; }
}

@media (max-width: 640px) {
  .zh-section { padding: 52px 0; }
  .zh-stats { grid-template-columns: repeat(2, 1fr); }
  .zh-grid--4,
  .zh-grid--3,
  .zh-grid--2 { grid-template-columns: 1fr; }
  .zh-flow { grid-template-columns: 1fr; }
  .zh-prod-grid { grid-template-columns: 1fr; }
  .zh-form-row { grid-template-columns: 1fr; }
  .zh-compare th,
  .zh-compare td { padding: 12px 14px; font-size: 0.86rem; }
  .zh-inline-cta { flex-direction: column; align-items: flex-start; }
  .zh-hero h1 { font-size: 1.72rem; }
  .page-header { padding: 100px 0 44px; }
}

/* --- 语言切换：中文页用的是链接 --- */
.lang-switcher a.lang-btn {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
}

.lang-switcher a.lang-btn::after { content: none; }

.lang-switcher a.lang-btn:hover { color: var(--text-primary); }

.lang-switcher a.lang-btn.active {
  color: var(--accent-purple);
  border-color: var(--accent-purple);
  background: var(--accent-purple-glow);
}

/* --- 导航：中文站首页是浅色首屏，导航常驻白底深字 --- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--zh-line);
  padding: 10px 0;
}

.navbar .nav-links a { color: var(--text-secondary); }

.navbar .nav-links a:hover,
.navbar .nav-links a.active { color: var(--accent-purple); }

.navbar .nav-links a::after { background: var(--accent-purple); }

.navbar .nav-toggle { color: var(--text-primary); }

.navbar:not(.scrolled) .nav-links a.active,
body:not(.has-page-header) .navbar:not(.scrolled) .nav-links a.active {
  color: var(--accent-purple);
}

/* --- 图文区块里的多段正文，留出段间距 --- */
.zh-split > div > p { margin-bottom: 12px; }
.zh-split > div > p:last-of-type { margin-bottom: 0; }

/* ==========================================
   2026-10 改版：导航下拉 + 新页组件
   ========================================== */

/* --- 一级导航里的下拉 --- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-caret {
  background: none;
  border: 0;
  padding: 4px 2px;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font-size: 0.6rem;
  line-height: 1;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-caret:hover { opacity: 1; }
.nav-item.open .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 236px;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(22, 32, 46, 0.14);
  display: none;
  z-index: 1000;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown { display: block; }

/* 面板与导航之间留了 10px 视觉间距，鼠标下移时会掉出 hover。
   用一块透明区把这段空隙接上，指针可以直接滑进子菜单。 */
@media (min-width: 993px) {
  .nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -11px;
    height: 11px;
  }
}

/* 面板是白底，必须把导航的白字改回深色 */
.navbar .nav-links .nav-dropdown a,
.navbar.scrolled .nav-links .nav-dropdown a,
body.has-page-header .navbar .nav-links .nav-dropdown a {
  color: var(--text-secondary);
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.4;
  white-space: nowrap;
}

.navbar .nav-links .nav-dropdown a:hover,
.navbar .nav-links .nav-dropdown a:focus {
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
}

.nav-dropdown a::after { display: none !important; }

.nav-dropdown .dd-group {
  display: block;
  padding: 10px 12px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.nav-dropdown .dd-sep {
  height: 1px;
  margin: 6px 8px;
  background: var(--zh-line);
}

/* --- 母公司条 --- */
.zh-parentbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-left: 4px solid var(--thai-gold);
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--zh-ink-2);
}

.zh-parentbar strong { color: var(--zh-ink); }
.zh-parentbar a { margin-left: auto; font-weight: 600; }

/* --- 三入口路由卡 --- */
.zh-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zh-route {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 14px;
  padding: 28px 26px;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.zh-route:hover {
  color: inherit;
  border-color: var(--accent-purple);
  box-shadow: 0 18px 40px rgba(22, 32, 46, 0.1);
  transform: translateY(-3px);
}

.zh-route .n {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

.zh-route h3 { font-size: 1.22rem; margin-bottom: 8px; }

.zh-route p {
  font-size: 0.9rem;
  color: var(--zh-ink-2);
  margin: 0 0 16px;
}

.zh-route ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zh-route li {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--zh-bg);
  color: var(--zh-ink-2);
}

.zh-route .go {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-purple);
}

/* --- 数字墙（比 .zh-stats 大一号） --- */
.zh-factwall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.zh-factwall--six { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
  .zh-factwall--six { grid-template-columns: repeat(3, 1fr); }
}

/* --- 用途卡里的小规格行 --- */
.zh-spec {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 5px;
}
.zh-spec li {
  font-size: 0.82rem;
  color: var(--zh-ink-2);
  line-height: 1.6;
}
.zh-spec li span {
  display: inline-block;
  min-width: 44px;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.zh-use {
  display: flex;
  flex-direction: column;
}
.zh-use .zh-go {
  margin-top: auto;
  padding-top: 14px;
}

a.zh-card { display: block; color: inherit; }
a.zh-card:hover h3 { color: var(--accent-purple); }
a.zh-card .zh-go {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-purple);
}

.zh-fact {
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  padding: 22px 20px;
}

.zh-fact strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1.15;
}

.zh-fact span {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--zh-ink-2);
}

.zh-fact small {
  display: block;
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 通用数据表（4 列，可横向滚动） --- */
.zh-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  background: #fff;
}

.zh-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.zh-table th,
.zh-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--zh-line);
  font-size: 0.9rem;
  vertical-align: top;
  color: var(--zh-ink-2);
}

.zh-table thead th {
  background: #FBFAFD;
  font-weight: 700;
  color: var(--zh-ink);
  font-size: 0.84rem;
  white-space: nowrap;
}

.zh-table tbody tr:last-child td { border-bottom: none; }
.zh-table td:first-child { font-weight: 600; color: var(--zh-ink); white-space: nowrap; }
.zh-table a { color: var(--accent-purple); font-weight: 600; }
.zh-table a:hover { text-decoration: underline; }

/* --- 锚点索引 chips --- */
.zh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.zh-chips a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--zh-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  color: var(--zh-ink-2);
  transition: all 0.2s ease;
}

.zh-chips a:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: var(--accent-purple-glow);
}

/* --- 到岸成本计算器 --- */
.zh-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

.zh-calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  padding: 22px;
}

.zh-calc-field { display: block; }

.zh-calc-field span {
  display: block;
  font-size: 0.82rem;
  color: var(--zh-ink-2);
  margin-bottom: 6px;
}

.zh-calc-field input {
  width: 100%;
  padding: 9px 11px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--zh-ink);
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 8px;
}

.zh-calc-field input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
}

.zh-calc-result {
  background: #fff;
  border: 1px solid var(--zh-line);
  border-top: 3px solid var(--accent-purple);
  border-radius: 12px;
  padding: 24px;
}

.zh-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--zh-ink-2);
}

.zh-calc-row strong {
  font-size: 1.3rem;
  color: var(--zh-ink);
  font-variant-numeric: tabular-nums;
}

.zh-calc-row--diff {
  border-top: 1px solid var(--zh-line);
  margin-top: 6px;
  padding-top: 16px;
}

.zh-calc-row--diff strong.is-up { color: #B45309; font-size: 1.1rem; }
.zh-calc-row--diff strong.is-down { color: #1E6B3A; font-size: 1.1rem; }

.zh-calc-detail {
  list-style: none;
  margin: 0 0 6px;
  padding: 0 0 10px 0;
  border-bottom: 1px dashed var(--zh-line);
}

.zh-calc-detail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 3px 0;
}

.zh-calc-detail li span { font-variant-numeric: tabular-nums; }

.zh-calc-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .zh-calc { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
  .zh-calc-inputs { grid-template-columns: 1fr; }
}

/* --- 已合作客户名录（不放 logo） --- */
.zh-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.zh-client {
  min-width: 220px;
  padding: 26px 34px;
  border: 1px solid var(--zh-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.zh-client strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--zh-ink);
}

.zh-client span {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --- 图片位 --- */
.zh-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--zh-line);
  background: var(--zh-bg);
}

.zh-figure img { display: block; width: 100%; height: auto; }

.zh-figure figcaption {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #fff;
  border-top: 1px solid var(--zh-line);
}

/* --- 微信占位块 --- */
.zh-qr {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--zh-line);
  border-radius: 14px;
  padding: 22px;
}

.zh-qr img {
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  border-radius: 8px;
  border: 1px solid var(--zh-line);
}

.zh-qr .txt strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.zh-qr .txt p { margin: 0; font-size: 0.88rem; color: var(--zh-ink-2); }

/* --- 时间线 --- */
.zh-timeline {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  position: relative;
}

.zh-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--zh-line);
}

.zh-timeline li {
  position: relative;
  padding: 0 0 22px 34px;
}

.zh-timeline li:last-child { padding-bottom: 0; }

.zh-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-purple);
}

.zh-timeline time {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-purple);
  margin-bottom: 2px;
}

.zh-timeline strong { display: block; font-size: 0.96rem; color: var(--zh-ink); }
.zh-timeline span { font-size: 0.88rem; color: var(--zh-ink-2); }

/* --- 引用/边界说明 --- */
.zh-quote {
  border-left: 4px solid var(--accent-purple);
  background: #FAF8FE;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  font-size: 0.93rem;
  color: var(--zh-ink-2);
}

.zh-quote strong { color: var(--zh-ink); }

/* --- 面向谁 --- */
.zh-who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.zh-who span {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
  font-weight: 600;
}

@media (max-width: 992px) {
  .nav-links {
    align-items: stretch;
    /* 抽屉定位的包含块是 .navbar（backdrop-filter 所致），top 仍取导航高 64px；
       但要减去顶栏 34px，抽屉才不会被挤出视口 */
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-item { display: block; width: 100%; }
  .nav-item > a { display: inline-block; }
  .nav-caret { margin-left: 4px; font-size: 0.7rem; }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 2px 0 0 14px;
    margin: 0;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .navbar .nav-links .nav-dropdown a { padding: 7px 0; font-size: 0.95rem; }
  .navbar .nav-links .nav-dropdown a:hover { background: none; }
  .nav-dropdown .dd-group { padding: 8px 0 0; }
  .zh-routes { grid-template-columns: 1fr; }
  .zh-factwall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .zh-factwall { grid-template-columns: repeat(2, 1fr); }
  .zh-fact { padding: 18px 16px; }
  .zh-fact strong { font-size: 1.35rem; }
  .zh-qr { flex-direction: column; align-items: flex-start; }
  .zh-qr img { width: 160px; height: 160px; flex: none; }
}

@media (max-width: 430px) {
  .zh-factwall { grid-template-columns: 1fr; }
}

/* 下拉所在页时，一级标签也高亮 */
.nav-item.active > a,
.nav-item:hover > a { color: var(--accent-purple); }
.nav-item.active > a::after { transform: scaleX(1); }

/* --- 页头：实拍照片背景 --- */
.page-header--photo {
  background-color: #1B1226;
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}
.page-header--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 12, 32, 0.86) 0%, rgba(26, 15, 44, 0.70) 46%, rgba(38, 22, 62, 0.44) 100%);
}
.page-header--photo .container { position: relative; z-index: 1; }
.page-header--photo .section-tag { color: #E8C877; }
.page-header--photo .page-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.page-header--photo .page-subtitle { color: rgba(255, 255, 255, 0.86); }
.page-header--photo .page-header-ornament { display: none; }

/* --- 页头：产品图版（左文右图） --- */
.page-header--product {
  background: linear-gradient(100deg, #140C20 0%, #1A0F2C 58%, #2A1A45 100%);
  padding: 140px 0 96px;
}
.page-header--product .container { position: relative; z-index: 2; text-align: left; padding-right: 46%; }
.page-header--product .section-tag { color: #E8C877; }
.page-header--product .page-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4); }
.page-header--product .page-subtitle { color: rgba(255, 255, 255, 0.88); max-width: 600px; margin-left: 0; }
.page-header--product .page-header-ornament { display: none; }
.page-header--product .page-header-figure {
  position: absolute;
  top: 50%;
  right: max(24px, 4vw);
  transform: translateY(-50%);
  height: clamp(180px, 20vw, 290px);
  aspect-ratio: 4 / 3;
  width: auto;
  border-radius: 18px;
  background: linear-gradient(150deg, #FBF9FF 0%, #EFEAF7 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.page-header--product .page-header-figure img { max-width: 86%; max-height: 82%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 820px) {
  .page-header--product .container { padding-right: 24px; text-align: center; }
  .page-header--product .page-subtitle { margin-left: auto; }
  .page-header--product .page-header-figure { display: none; }
}

/* --- 罗勇页：工厂地图模块 --- */
.zh-map {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--zh-line);
  box-shadow: 0 18px 48px rgba(31, 20, 51, 0.12);
}
.zh-map-canvas { position: relative; line-height: 0; }
.zh-map iframe { display: block; width: 100%; height: 440px; border: 0; }
/* 嵌入地图的图钉就在画布正中（中心点与标记点是同一坐标），把公司名压在图钉头部上方 */
.zh-map-pinlabel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  margin-top: -44px;
  padding: 7px 13px;
  border-radius: 9px;
  background: #fff;
  color: var(--zh-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.zh-map-pinlabel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
}
/* 客户一旦拖动/缩放地图，图钉离开中心，标签同步隐藏，避免指错地方 */
.zh-map-canvas.is-interacted .zh-map-pinlabel { opacity: 0; }
.zh-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid var(--zh-line);
}
.zh-map-addr { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.zh-map-addr strong { font-size: 0.95rem; color: var(--zh-ink); letter-spacing: 0.02em; }
.zh-map-addr span { font-size: 0.85rem; color: var(--zh-ink-2); }
.zh-map-bar .btn { flex: 0 0 auto; }
.zh-map-hint { display: none; }
.zh-map-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
@media (max-width: 720px) {
  .zh-map iframe { height: 320px; }
  .zh-map-pinlabel { font-size: 0.74rem; padding: 6px 10px; margin-top: -38px; }
  .zh-map-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; text-align: center; }
  .zh-map-addr { align-items: center; }
  .zh-map-bar .btn { width: 100%; }
  .zh-map-hint { display: block; font-size: 0.76rem; line-height: 1.5; color: var(--text-muted); margin: 0; }
}

/* 用户偏好减少动态效果：停用首屏视频，改用 poster 静态图 */
@media (prefers-reduced-motion: reduce) {
  .zh-hero-video { display: none; }
  .zh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/hero-poster.jpg") center / cover no-repeat;
    filter: brightness(0.5) saturate(0.9) contrast(1.08);
  }
}

/* ============================================================
   顶部公司全称窄条（2026-10）
   固定在最上方，导航整体下移一个条高；body 同步下移，保持原有留白关系
   ============================================================ */
body { padding-top: 34px; }

.zh-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 34px;
  display: flex;
  align-items: center;
  background: var(--zh-ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.zh-topbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.zh-topbar-brand {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zh-topbar-brand strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.zh-topbar-side { white-space: nowrap; flex: 0 0 auto; }
.zh-topbar-side a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
}
.zh-topbar-side a:hover { color: #fff; border-bottom-color: #fff; }

.navbar { top: 34px; }

@media (max-width: 767px) {
  body { padding-top: 30px; }
  .zh-topbar { height: 30px; font-size: 0.72rem; }
  .zh-topbar-side { display: none; }
  .zh-topbar-brand .zh-topbar-long { display: none; }
  .navbar { top: 30px; }
  .nav-links { max-height: calc(100vh - 94px); }
}

/* ============================================================
   右下角悬浮微信二维码（2026-10）
   ============================================================ */
/* 页脚底部留白：滚到最底时按钮不会压住版权行 */
.footer { padding-bottom: 96px; }

.zh-wxfab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: inherit;
}

.zh-wxfab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: #07C160;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(7, 193, 96, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.zh-wxfab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(7, 193, 96, 0.42);
}
.zh-wxfab-btn svg { flex: 0 0 auto; display: block; }

.zh-wxfab-panel {
  width: 236px;
  margin-bottom: 12px;
  padding: 16px 16px 14px;
  border: 1px solid var(--zh-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(22, 32, 46, 0.18);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.zh-wxfab-panel strong {
  display: block;
  font-size: 0.95rem;
  color: var(--zh-ink);
}
.zh-wxfab-panel img {
  display: block;
  width: 190px;
  height: 190px;
  margin: 10px auto;
  border-radius: 6px;
}
.zh-wxfab-panel span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--zh-ink-2);
}
.zh-wxfab-panel a { color: var(--accent-purple); text-decoration: none; }

.zh-wxfab.is-open .zh-wxfab-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) {
  .zh-wxfab:hover .zh-wxfab-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .zh-wxfab { right: 14px; bottom: 14px; }
  .zh-wxfab-btn { padding: 10px 14px; font-size: 0.85rem; }
  .zh-wxfab-panel {
    width: min(76vw, 240px);
    padding: 14px 14px 12px;
  }
  .zh-wxfab-panel img {
    width: 100%;
    height: auto;
    max-width: 196px;
  }
}
