/* =========================================================
   银江酱油 · 企业官网
   色调: 红色简约 / 环保可持续
   风格: 简洁大气、专业商务、现代感
   字体: Microsoft YaHei (微软雅黑)
   ========================================================= */

:root {
  --brand: #E50012;
  --brand-50: #FEF2F2;
  --brand-100: #FEE2E2;
  --brand-200: #FECACA;
  --brand-300: #FCA5A5;
  --brand-500: #E50012;
  --brand-600: #E50012;
  --brand-700: #BC000F;
  --brand-800: #89000B;
  --brand-900: #5C0007;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --nav-h: 88px;
  --nav-h-scrolled: 75px;
  --container: 100%; /* 自适应模式: 内容随视口宽度铺满,不再限制在固定宽度内 */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 3rem);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.3s ease;
}
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-brand {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(229, 0, 18, 0.35);
}
.btn-brand:hover { background: var(--brand-700); box-shadow: 0 10px 32px rgba(229, 0, 18, 0.5); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--brand); }
.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  backdrop-filter: blur(4px);
  background: transparent;
}
.btn-ghost:hover { background: var(--white); color: var(--ink-900); }
.btn-white { background: var(--white); color: var(--ink-900); }
.btn-white:hover { background: var(--brand); color: var(--white); }

/* ---------- 章节通用 ---------- */
.section { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--ink-500);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 0, 18, 0.1);
  color: var(--brand);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow svg { width: 1rem; height: 1rem; }

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-spring);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   顶部导航
   ========================================================= */
.navbar-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: transform 0.5s ease-out;
}
.navbar-wrap.nav-hidden { transform: translateY(-100%); }

.navbar {
  background: transparent;
  height: var(--nav-h);
  transition: height 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  border: 0;
  box-shadow: none;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 2.5rem; width: auto; transition: opacity 0.3s ease; }
@media (min-width: 768px) { .nav-logo img { height: 3rem; } }
.logo-light, .logo-dark { transition: opacity 0.3s ease, transform 0.3s ease; }
.logo-dark { display: none; }

/* 桌面导航菜单 */
.nav-menu { display: none; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  transition: color 0.3s ease, background-color 0.3s ease;
  position: relative;
}
.nav-link .icon-chevron {
  width: 0.875rem; height: 0.875rem;
  transition: transform 0.3s ease;
}
.nav-item:hover .icon-chevron { transform: rotate(180deg); }

/* 右侧操作区 */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  color: var(--ink-900);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn:hover { background: rgba(229, 0, 18, 0.1); color: var(--brand); transform: scale(1.05); }
.lang-btn {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-900);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.lang-btn svg { width: 1rem; height: 1rem; }
.lang-btn:hover { color: var(--brand); background: rgba(229, 0, 18, 0.08); }

/* 移动端菜单按钮:默认隐藏 */
.menu-btn { display: grid; }
.menu-btn .ic-close { display: none; }
.menu-btn.is-open .ic-open { display: none; }
.menu-btn.is-open .ic-close { display: block; }

/* ---------- 桌面端(≥1024px) 滚动状态 ---------- */
@media (min-width: 1024px) {
  .nav-menu { display: flex; gap: 0.625rem; }
  .lang-btn { display: flex; }
  .menu-btn { display: none; }

  /* 电脑版导航字体 18px */
  .nav-link { font-size: 18px; }

  /* 未滚动:透明背景 白字 白 logo */
  .navbar {
    background: transparent;
  }
  .navbar .nav-link { color: var(--white); }
  .navbar .icon-btn { color: var(--white); }
  .navbar .lang-btn { color: var(--white); }
  .logo-light { display: block; }
  .logo-dark { display: none; }

  /* hover: 文字变白 红色底 */
  .navbar .nav-link:hover {
    background: var(--brand);
    color: var(--white);
  }
  .navbar .icon-btn:hover { color: var(--white); background: rgba(255, 255, 255, 0.2); }
  .navbar .lang-btn:hover { color: var(--white); background: rgba(255, 255, 255, 0.15); }

  /* 当前状态: 白字红底 */
  .navbar .nav-link.is-active {
    background: var(--brand);
    color: var(--white);
  }

  /* 滚动后:白底 黑字 黑 logo 75px */
  .navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: var(--nav-h-scrolled);
  }
  .navbar.is-scrolled .nav-link { color: var(--ink-900); }
  .navbar.is-scrolled .icon-btn { color: var(--ink-900); }
  .navbar.is-scrolled .lang-btn { color: var(--ink-900); }
  .navbar.is-scrolled .logo-light { display: none; }
  .navbar.is-scrolled .logo-dark { display: block; }
  .navbar.is-scrolled .nav-link:hover {
    background: var(--brand);
    color: var(--white);
  }
  .navbar.is-scrolled .icon-btn:hover { color: var(--white); background: var(--brand); }
  .navbar.is-scrolled .lang-btn:hover { color: var(--white); background: var(--brand); }
  .navbar.is-scrolled .nav-link.is-active {
    background: var(--brand);
    color: var(--white);
  }
}

/* ---------- 移动端(<1024px):始终纯白底 #FFFFFF ---------- */
@media (max-width: 1023.98px) {
  .navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
  .navbar .nav-link,
  .navbar .icon-btn,
  .navbar .lang-btn { color: var(--ink-900); }
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

/* ---------- 产品中心 巨型下拉菜单 ---------- */
.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-top: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 40;
}
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 1024px) {
  .cat-card-body { padding: 0.5rem 0.25rem; }
  .cat-card-body .cn { font-size: 0.75rem; }
  .cat-card-body .en { font-size: 0.55rem; letter-spacing: 0.02em; }
}
.mega-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.mega-head h3 { font-size: 1.125rem; font-weight: 700; color: var(--ink-900); }
.mega-tip { font-size: 0.75rem; color: var(--ink-400); }

.cat-cards { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
@media (max-width: 1023.98px) { .cat-cards { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid var(--gray-100);
  background: var(--white);
  text-align: left;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover, .cat-card.is-active {
  border-color: var(--brand);
  box-shadow: 0 12px 24px rgba(229, 0, 18, 0.12);
}
.cat-card-img {
  aspect-ratio: 1;
  background: var(--white);
  padding: 0.5rem;
  display: grid;
  place-items: center;
}
.cat-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.1); }
.cat-card-body { padding: 0.5rem 0.75rem; text-align: center; }
.cat-card-body .cn { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.cat-card-body .en {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}
.cat-card .cat-overlay {
  position: absolute; inset: 0;
  background: rgba(229, 0, 18, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cat-card:hover .cat-overlay, .cat-card.is-active .cat-overlay { opacity: 1; }

/* ---------- 搜索面板 ---------- */
.search-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid transparent; /* 关闭态(高度0)时避免 1px 灰线泄漏到导航底部 */
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  max-height: 0;
  overflow: hidden;
  visibility: hidden; /* 关闭态完全不渲染,避免背景白色泄漏出 1px 线 */
  transition: max-height 0.35s ease, visibility 0s linear 0.35s;
  z-index: 40;
}
.search-panel.is-open {
  max-height: 220px;
  border-top-color: var(--gray-100);
  visibility: visible;
  transition: max-height 0.35s ease, visibility 0s;
}
.search-panel .container { padding-top: 1rem; padding-bottom: 1rem; }
.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid rgba(229, 0, 18, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  transition: border-color 0.3s ease;
}
.search-box:focus-within { border-color: var(--brand); }
.search-box svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--ink-900);
  background: transparent;
  min-width: 0;
}
.search-box input::placeholder { color: var(--ink-400); }
.search-box button { color: var(--ink-500); padding: 0.25rem; border-radius: 9999px; transition: background-color 0.2s ease; }
.search-box button:hover { background: var(--gray-100); }
.search-box button svg { width: 1rem; height: 1rem; }
.search-hot {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.search-hot span { color: var(--ink-500); }
.search-hot button {
  background: var(--white);
  color: var(--ink-700);
  border-radius: 9999px;
  padding: 0.1rem 0.75rem;
  font-size: 0.875rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.search-hot button:hover { background: var(--brand); color: var(--white); }

/* ---------- 移动端抽屉菜单 ---------- */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 33.3333%;          /* 主流屏幕: 占屏幕 1/3(>=480px 时严格生效) */
  max-width: none;          /* 取消原 24rem 上限,避免撑出 1/3 */
  background: var(--white);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.15);
}
/* 抽屉内移动端 logo: 用 logo1.png,宽度自适应但有上限 */
.mobile-menu-head { padding: 0.875rem 0.75rem; }
.mobile-menu-head .mobile-logo { height: 2.25rem; width: auto; max-width: 100%; }
/* 抽屉菜单列表紧凑化,文字仍可容纳,但仍居抽屉内 1/3 */
.mobile-menu-list { padding: 0.75rem 0.5rem; }
.mobile-menu-list a {
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 极窄屏(<=480px): 抽屉 fallback 到 60%,保证菜单文字完整可读 */
@media (max-width: 480px) {
  .mobile-menu { width: 60%; }
  .mobile-menu-head .mobile-logo { height: 2rem; }
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu-head .mobile-logo { height: 2.5rem; width: auto; }
.mobile-menu-head button { color: var(--ink-900); padding: 0.25rem; }
.mobile-menu-head button svg { width: 1.5rem; height: 1.5rem; }
.mobile-menu-list { flex: 1; overflow-y: auto; padding: 1rem; }
.mobile-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-menu-list a:hover { background: rgba(229, 0, 18, 0.08); color: var(--brand); }
.mobile-menu-list a.is-active { background: var(--brand); color: var(--white); }
.mobile-menu-list .chevron { width: 1.25rem; height: 1.25rem; transition: transform 0.3s ease; }
.mobile-menu-list .chevron.open { transform: rotate(180deg); }

.mobile-subs { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-subs.open { max-height: 600px; }
.mobile-subs .sub-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  padding: 0.5rem 1rem 0.25rem 2.25rem;
}
.mobile-subs .sub-items { display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0.25rem 1rem 0.75rem 2.25rem; }
.mobile-subs .sub-items a {
  background: var(--white);
  border-radius: 9999px;
  padding: 0.1rem 0.625rem;
  font-size: 0.75rem;
  color: var(--ink-700);
}
.mobile-subs .sub-items a:hover { background: var(--brand); color: var(--white); }

.mobile-menu-foot { border-top: 1px solid var(--gray-100); padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}
.mobile-search svg { width: 1rem; height: 1rem; color: var(--ink-500); }
.mobile-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 0.875rem; min-width: 0; }
.mobile-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-900);
}
.mobile-lang svg { width: 1rem; height: 1rem; }
/* 英文版外链: 去掉 a 标签默认下划线/颜色继承 */
a.lang-btn, a.mobile-lang { text-decoration: none; color: inherit; }

/* =========================================================
   英雄区
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--white);
}
/* 轨道: 三张横排,按 data-active 平移,方向感知由 JS 计算目标位置 */
.hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex: 0 0 33.3333%;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s ease;
}
.hero-track[data-active="0"] .hero-slide:nth-child(1) img,
.hero-track[data-active="1"] .hero-slide:nth-child(2) img,
.hero-track[data-active="2"] .hero-slide:nth-child(3) img {
  transform: scale(1);
}

/* 轻微底部渐变(可读性,非蒙板) */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.05) 100%),
              linear-gradient(to top, rgba(0,0,0,0.35), transparent 55%);
  pointer-events: none;
}

/* 文案层 */
.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 48rem;
  transform: translateX(0);
  opacity: 1;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-spring);
}
.hero-copy.anim-left { transform: translateX(-40px); opacity: 0; }
.hero-copy.anim-right { transform: translateX(40px); opacity: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.hero-title .hero-t2 {
  display: block;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, #fff, #FCA5A5, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}
.hero-tags li { font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; }
@media (min-width: 768px) { .hero-tags li { font-size: 1.125rem; } }

.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* 箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
@media (min-width: 768px) { .hero-arrow { width: 3.5rem; height: 3.5rem; } }
.hero-arrow svg { width: 1.5rem; height: 1.5rem; }
.hero-arrow:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.1); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }
@media (min-width: 768px) { .hero-prev { left: 2rem; } .hero-next { right: 2rem; } }

/* 圆点指示器 */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-dots .dot {
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  width: 0.5rem;
  transition: width 0.5s ease, background-color 0.5s ease;
}
.hero-dots .dot:hover { background: var(--white); }
.hero-dots .dot.is-active { width: 3rem; background: var(--brand); }

/* 滚动指示器 */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) { .hero-scroll { display: flex; } }
.hero-scroll > span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-mouse {
  width: 1.25rem; height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}
.hero-mouse span {
  width: 0.25rem; height: 0.375rem;
  border-radius: 9999px;
  background: var(--white);
  animation: mouseWheel 1.6s infinite;
}
@keyframes mouseWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* =========================================================
   产品分类
   ========================================================= */
.products {
  background: linear-gradient(to bottom, var(--white), rgba(254, 242, 242, 0.5), var(--white));
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(3rem);
  background: rgba(229, 0, 18, 0.05);
  pointer-events: none;
}
.blob-1 { top: -5rem; right: -5rem; width: 20rem; height: 20rem; }
.blob-2 { bottom: -5rem; left: -5rem; width: 20rem; height: 20rem; }
.blob-3 { top: 25%; right: -8rem; width: 24rem; height: 24rem; }

/* 产品分类: 横向滚动轮播 */
.prod-carousel {
  position: relative;
}
.prod-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  /* 顶部留出上浮空间(卡片 hover 时 translateY(-6px)),避免边框被滚动容器裁剪;负 margin 补偿保持布局不变 */
  padding: 0.75rem 0.5rem 1rem;
  margin-top: -0.75rem;
  scrollbar-width: none;
}
.prod-track::-webkit-scrollbar { display: none; }
.prod-track .prod-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .prod-track .prod-card { flex-basis: 340px; }
}
@media (min-width: 1024px) {
  .prod-track .prod-card { flex-basis: 360px; }
}
/* 超宽屏:一屏刚好放下 5 张卡片(5×卡宽 + 4×1.25rem gap = 轨道宽度) */
@media (min-width: 1536px) {
  .prod-track .prod-card { flex-basis: calc((100% - 5rem) / 5); }
}

/* 左右滚动按钮 */
.prod-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.prod-arrow svg { width: 1.5rem; height: 1.5rem; }
.prod-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(229, 0, 18, 0.3);
}
.prod-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.prod-prev { left: -0.75rem; }
.prod-next { right: -0.75rem; }
@media (min-width: 768px) {
  .prod-prev { left: -1rem; }
  .prod-next { right: -1rem; }
}

.prod-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(229, 0, 18, 0.3);
}
.prod-img {
  position: relative;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 4 / 3;
}
.prod-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.7s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.1) rotate(1deg); }
.prod-img .prod-overlay {
  position: absolute; inset: 0;
  background: rgba(229, 0, 18, 0.04);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.prod-card:hover .prod-overlay { opacity: 1; }
/* 桌面端图片区固定高度,配合 body 紧凑化,卡片总高度比原版减少约 100px */
@media (min-width: 1024px) {
  .prod-img { aspect-ratio: auto; height: 200px; }
}
.prod-body { padding: 1rem; }
.prod-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.prod-title-row h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink-900); transition: color 0.3s ease; }
.prod-card:hover .prod-title-row h3 { color: var(--brand); }
.prod-en { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); }
.prod-desc {
  font-size: 0.875rem;
  color: var(--ink-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-tags { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.prod-tags span {
  background: var(--white);
  border-radius: 9999px;
  padding: 0.1rem 0.625rem;
  font-size: 0.75rem;
  color: var(--ink-500);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.prod-card:hover .prod-tags span { background: rgba(229, 0, 18, 0.1); color: var(--brand); }
.prod-more {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.prod-more svg { width: 1rem; height: 1rem; }
.prod-card:hover .prod-more { opacity: 1; transform: translateX(0); }
.prod-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--brand), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-bar { transform: scaleX(1); }

.prod-cta { margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.prod-cta-tip {
  background: rgba(229, 0, 18, 0.05);
  color: var(--brand);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* =========================================================
   关于我们
   ========================================================= */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-year {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(229, 0, 18, 0.9), transparent);
  padding: 1.5rem;
  color: var(--white);
}
.about-year-num { font-size: 1.875rem; font-weight: 800; }
.about-year-label { font-size: 0.875rem; opacity: 0.9; }

.about-cert {
  margin-top: 1.5rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.about-cert-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.about-cert-head svg { width: 1.25rem; height: 1.25rem; color: var(--brand); }
.about-cert-head span { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.about-cert-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.about-cert-tags span {
  border: 1px solid rgba(229, 0, 18, 0.3);
  background: rgba(229, 0, 18, 0.05);
  color: var(--brand);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.about-copy h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
  margin: 0.5rem 0 2rem;
}
@media (min-width: 768px) { .about-copy h2 { font-size: 3rem; } }
.about-copy h2 em { font-style: normal; color: var(--brand); }

.about-paras p {
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.9;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .about-paras p { font-size: 1.0625rem; } }
.about-paras p:first-child::first-letter {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand);
  margin-right: 0.25rem;
}
.about-paras p.more-para { display: none; }
.about-paras.expanded p.more-para { display: block; }

.about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  transition: color 0.3s ease;
  margin-bottom: 2rem;
}
.about-toggle:hover { color: var(--brand-700); }
.about-toggle svg { width: 1rem; height: 1rem; transition: transform 0.3s ease; }
.about-toggle.expanded svg { transform: rotate(180deg); }

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .about-facts { grid-template-columns: repeat(3, 1fr); } }
.fact-num { font-size: 1.5rem; font-weight: 700; color: var(--brand); }
.fact-label { font-size: 0.75rem; color: var(--ink-500); margin-top: 0.25rem; }

/* =========================================================
   数据统计
   ========================================================= */
.stats { background: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }

.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(229, 0, 18, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.stat-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0.25rem;
  background: linear-gradient(to right, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-icon {
  width: 3rem; height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: rgba(229, 0, 18, 0.1);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.stat-icon svg { width: 1.5rem; height: 1.5rem; }
.stat-card:hover .stat-icon { background: var(--brand); color: var(--white); }
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .stat-num { font-size: 1.875rem; } }
.stat-suffix { color: var(--brand); }
.stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-500); }

/* =========================================================
   故事区
   ========================================================= */
.story {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
@media (min-width: 768px) { .story { padding: 8rem 0; } }
.story-bg { position: absolute; inset: 0; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; }
.story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.3));
}
.story-copy { position: relative; max-width: 48rem; }
.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.story-eyebrow svg { width: 1rem; height: 1rem; }
.story-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}
.story-copy h2 em { font-style: normal; color: var(--brand-300); }
.story-sub { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
@media (min-width: 768px) { .story-sub { font-size: 1.5rem; } }
.story-text { margin-top: 2rem; font-size: 1rem; color: rgba(255, 255, 255, 0.75); line-height: 1.9; max-width: 40rem; }
@media (min-width: 768px) { .story-text { font-size: 1.125rem; } }
.story-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.story-timeline { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.tl-badge {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}
.tl-line { width: 2rem; height: 1px; background: rgba(255, 255, 255, 0.3); }

/* =========================================================
   产品定制
   ========================================================= */
.customization { background: linear-gradient(135deg, var(--gray-50), var(--white) 60%, rgba(254, 242, 242, 0.6)); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { border-color: rgba(229, 0, 18, 0.4); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(229, 0, 18, 0.15);
  transition: color 0.3s ease;
}
.step-card:hover .step-num { color: rgba(229, 0, 18, 0.3); }
.step-card h3 { margin-top: 0.75rem; font-size: 1.125rem; font-weight: 700; color: var(--ink-900); }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-500); line-height: 1.7; }
.step-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--brand), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.step-card:hover .step-bar { transform: scaleX(1); }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--gray-100);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.feat-card:hover { background: var(--white); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
.feat-icon {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  border-radius: 9999px;
  background: rgba(229, 0, 18, 0.1);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.feat-icon svg { width: 1.25rem; height: 1.25rem; }
.feat-card h4 { font-size: 1rem; font-weight: 600; color: var(--ink-900); }
.feat-card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-500); }

.center { text-align: center; margin-top: 3rem; }

/* =========================================================
   服务支持
   ========================================================= */
.service { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  border-color: rgba(229, 0, 18, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(229, 0, 18, 0.3);
  transition: transform 0.3s ease;
}
.service-icon svg { width: 1.75rem; height: 1.75rem; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(6deg); }
.service-card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 700; color: var(--ink-900); }
.service-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-500); line-height: 1.7; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.service-more svg { width: 0.875rem; height: 0.875rem; }
.service-card:hover .service-more { opacity: 1; transform: translateX(0); }

/* =========================================================
   新闻资讯
   ========================================================= */
.news { background: var(--white); }
.news-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .news-head { flex-direction: column; align-items: center; text-align: center; }
}
.news-head h2 { font-size: 1.875rem; font-weight: 800; color: var(--ink-900); }
@media (min-width: 768px) { .news-head h2 { font-size: 3rem; } }
.news-head p { margin-top: 0.75rem; color: var(--ink-500); max-width: 36rem; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  white-space: nowrap;
  transition: gap 0.3s ease;
}
.news-more svg { width: 1rem; height: 1rem; }
.news-more:hover { gap: 0.75rem; }

.news-carousel { position: relative; }
.news-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.news-track::-webkit-scrollbar { display: none; }
.news-track .news-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .news-track .news-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .news-track { gap: 2rem; }
  .news-track .news-card { flex-basis: calc((100% - 4rem) / 3); }
}
.news-arrow { top: 42%; }
.news-prev { left: -0.75rem; }
.news-next { right: -0.75rem; }
@media (min-width: 768px) {
  .news-prev { left: -1rem; }
  .news-next { right: -1rem; }
}

.news-card {
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}
.news-card:hover { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.news-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-card:hover .news-img img { transform: scale(1.1); }
.news-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(229, 0, 18, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.news-card:hover .news-shade { opacity: 1; }
.news-body { padding: 1.5rem; }
.news-date { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--ink-500); margin-bottom: 0.75rem; }
.news-date svg { width: 0.875rem; height: 0.875rem; }
.news-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.news-card:hover .news-body h3 { color: var(--brand); }
.news-body > p {
  font-size: 0.875rem;
  color: var(--ink-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.news-link svg { width: 0.875rem; height: 0.875rem; }
.news-card:hover .news-link { opacity: 1; transform: translateX(0); }
.news-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--brand), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.news-card:hover .news-bar { transform: scaleX(1); }

/* =========================================================
   页脚
   ========================================================= */
.footer {
  position: relative;
  background: var(--white);
  color: var(--ink-700);
}
.footer-topline {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brand), transparent);
}
.footer .container { padding-top: 4rem; padding-bottom: 5px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 2fr 3fr 3fr; } }

.footer-logo { height: 3.5rem; width: auto; max-width: 100%; margin-bottom: 1.25rem; object-fit: contain; }
.footer-brand > p { font-size: 0.875rem; color: var(--ink-500); line-height: 1.8; margin-bottom: 1.5rem; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-certs span {
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--ink-500);
  border-radius: 9999px;
  padding: 0.1rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-col h4 span {
  position: absolute;
  left: 0; bottom: -4px;
  width: 2rem; height: 2px;
  background: var(--brand);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul a, .footer-col ul span { font-size: 0.875rem; color: var(--ink-500); transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--brand); }
.footer-col ul li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-col ul li svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.15rem; color: var(--brand); }

.footer-socials { display: flex; gap: 1.5rem; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.qr-code {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.5rem;
  width: 7.5rem; height: 7.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.qr-code svg { width: 100%; height: 100%; }
.qr-label { text-align: center; }
.qr-label b { display: block; font-size: 0.75rem; color: var(--ink-900); }
.qr-label span { font-size: 0.625rem; color: var(--ink-400); }
.footer-social-tip { margin-top: 1rem; font-size: 0.75rem; color: var(--ink-400); line-height: 1.6; }

.footer-divider {
  margin: 5px 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(17, 24, 39, 0.1), transparent);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  height: 60px;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: center; align-items: center; }
}
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #333;
}
.footer-icp {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}
.footer-icp:hover { color: var(--brand); text-decoration: underline; }

/* =========================================================
   响应式细节
   ========================================================= */
@media (max-width: 1023.98px) {
  html { scroll-padding-top: calc(var(--nav-h) + 4px); }
  .hero { min-height: 560px; }
  .hero-content .container { padding-top: 4rem; }
  .hero-copy { max-width: 100%; }
  .hero-tags { gap: 0.35rem 0.75rem; }
  .hero-tags li { font-size: 0.875rem; }
  .section { padding: 3.5rem 0; }
  .stats-grid { gap: 0.75rem; }
  .stat-card { padding: 1rem 0.75rem; }
  .stat-num { font-size: 1.25rem; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   公司简介页 (company.html)
   ========================================================= */

/* ---------- 内页横幅 ---------- */
.cp-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}
.cp-hero-bg { position: absolute; inset: 0; }
.cp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17, 24, 39, 0.45), rgba(17, 24, 39, 0.175)),
    linear-gradient(105deg, rgba(229, 0, 18, 0.275), rgba(17, 24, 39, 0.05));
}
.cp-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; color: var(--white); }
.cp-crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}
.cp-crumb a { color: rgba(255, 255, 255, 0.75); transition: color 0.3s ease; }
.cp-crumb a:hover { color: var(--white); }
.cp-crumb svg { width: 0.9rem; height: 0.9rem; }
.cp-crumb span { color: var(--white); font-weight: 500; }
.cp-hero-title { font-size: 2.25rem; font-weight: 800; line-height: 1.15; letter-spacing: 0.02em; }
.cp-hero-sub { margin-top: 0.75rem; font-size: 1rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.06em; }
@media (min-width: 768px) {
  .cp-hero { min-height: 380px; }
  .cp-hero-title { font-size: 3rem; }
  .cp-hero-sub { font-size: 1.125rem; }
}

/* ---------- 公司介绍 ---------- */
.cp-about { background: var(--white); }
.cp-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .cp-about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
}
.cp-about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.cp-about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cp-about-year {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(229, 0, 18, 0.9), transparent);
  padding: 1.5rem;
  color: var(--white);
}
.cp-about-year-num { font-size: 1.875rem; font-weight: 800; }
.cp-about-year-label { font-size: 0.875rem; opacity: 0.9; }
.cp-about-cert {
  margin-top: 1.5rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.cp-about-cert-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.cp-about-cert-head svg { width: 1.25rem; height: 1.25rem; color: var(--brand); }
.cp-about-cert-head span { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.cp-about-cert-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cp-about-cert-tags span {
  border: 1px solid rgba(229, 0, 18, 0.3);
  background: rgba(229, 0, 18, 0.05);
  color: var(--brand);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.cp-about-copy h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 768px) { .cp-about-copy h2 { font-size: 2.25rem; } }
.cp-about-lead { font-size: 1.125rem; font-weight: 600; color: var(--brand); margin-bottom: 1.25rem; }
.cp-about-paras p {
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.9;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .cp-about-paras p { font-size: 1.0625rem; } }
.cp-about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.5rem 0;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 640px) { .cp-about-facts { grid-template-columns: repeat(4, 1fr); } }
.cp-about-fact { text-align: center; }
.cp-fact-num { font-size: 1.375rem; font-weight: 700; color: var(--brand); }
.cp-fact-label { font-size: 0.75rem; color: var(--ink-500); margin-top: 0.25rem; }

/* ---------- 企业优势 ---------- */
.cp-adv { background: var(--white); }
.cp-adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cp-adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cp-adv-grid { grid-template-columns: repeat(4, 1fr); } }
.cp-adv-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.cp-adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
  border-color: rgba(229, 0, 18, 0.35);
}
.cp-adv-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: rgba(229, 0, 18, 0.08);
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.cp-adv-icon svg { width: 1.625rem; height: 1.625rem; }
.cp-adv-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.75rem; }
.cp-adv-card p { font-size: 0.9375rem; color: var(--ink-500); line-height: 1.7; }

/* ---------- 资质证书:两张证书并排展示 + 点击放大 ---------- */
.cp-cert { background: var(--white); }
.cp-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .cp-cert-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.cp-cert-slide {
  margin: 0;
  background: var(--white);
  border: 1px solid #e9ebef;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cp-cert-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
}
.cp-cert-slide img { display: block; width: 100%; height: auto; }
/* 五大体系认证标签 */
.cp-cert-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.25rem;
}
.cp-cert-tags span {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  background: var(--white);
  font-size: 0.8125rem;
  color: var(--ink-600);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.cp-cert-tags span:hover { border-color: var(--brand); color: var(--brand); }

/* 证书大图预览弹层 */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 24, 39, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cert-lightbox.is-open { display: flex; }
.cert-lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 0.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.cert-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cert-lightbox-close:hover { background: var(--brand); }

/* ---------- 厂房展示 ---------- */
.cp-gallery { background: var(--white); }
.cp-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cp-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.cp-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cp-gallery-item:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1); }
.cp-gallery-item img { aspect-ratio: 16 / 10; width: 100%; height: 100%; object-fit: cover; }
.cp-gallery-item figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--white);
}

/* 厂房轮播 */
.cp-factory-slider {
  position: relative;
  width: 100%;
  margin-top: 8px;
}
.cp-factory-viewport {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  border: 1px solid var(--gray-100);
}
.cp-factory-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.cp-factory-slide {
  flex: 0 0 25%;
  margin: 0;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
.cp-factory-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--white);
  border-radius: 0.75rem;
}
.cp-factory-slide figcaption {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink-700);
}
.cp-factory-prev,
.cp-factory-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: none;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cp-factory-prev { left: -1.25rem; }
.cp-factory-next { right: -1.25rem; }
.cp-factory-prev:hover,
.cp-factory-next:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}
.cp-factory-prev svg,
.cp-factory-next svg { width: 1.25rem; height: 1.25rem; }
.cp-factory-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.cp-factory-dots {
  display: flex;
  gap: 0.5rem;
}
.cp-factory-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cp-factory-dot:hover { background: var(--brand-300); }
.cp-factory-dot.is-active { background: var(--brand); transform: scale(1.2); }
.cp-factory-counter {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
  min-width: 3rem;
  text-align: center;
}
@media (max-width: 768px) {
  .cp-factory-slide { flex: 0 0 50%; }
  .cp-factory-prev { left: 0.5rem; }
  .cp-factory-next { right: 0.5rem; }
  .cp-factory-slide figcaption { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .cp-factory-slide { flex: 0 0 100%; }
  .cp-factory-prev,
  .cp-factory-next { width: 2.25rem; height: 2.25rem; }
  .cp-factory-prev svg,
  .cp-factory-next svg { width: 1rem; height: 1rem; }
}

/* ---------- CTA ---------- */
.cp-cta {
  position: relative;
  padding: 5rem 0;
  background: var(--white);
  overflow: hidden;
}
.cp-cta::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(229, 0, 18, 0.05);
}
.cp-cta::after {
  content: "";
  position: absolute;
  left: -80px; bottom: -140px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(229, 0, 18, 0.04);
}
.cp-cta-inner { position: relative; z-index: 1; text-align: center; color: var(--ink-900); }
.cp-cta h2 { font-size: 1.875rem; font-weight: 800; line-height: 1.25; }
@media (min-width: 768px) { .cp-cta h2 { font-size: 2.5rem; } }
.cp-cta p { margin-top: 1rem; font-size: 1.0625rem; color: var(--ink-500); }
.cp-cta-actions { margin-top: 2.25rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cp-cta-actions .btn-white { background: var(--brand); color: var(--white); }
.cp-cta-actions .btn-white:hover { background: var(--brand-700); color: var(--white); }
.cp-cta-actions .btn-ghost { border-color: var(--brand); color: var(--brand); backdrop-filter: none; }
.cp-cta-actions .btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* =========================================================
   产品中心页
   ========================================================= */
.pc-section { position: relative; background: var(--white); }

/* 分类筛选标签栏 */
.pc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.pc-tab,
.pc-filter a {
  display: inline-block;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--ink-600);
  font-size: 16px;
  font-weight: 300;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.pc-tab:hover,
.pc-filter a:hover { border-color: var(--brand); color: var(--brand); }
.pc-tab.is-active,
.pc-filter a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(229, 0, 18, 0.3);
}

/* 产品网格 */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .pc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .pc-grid { grid-template-columns: repeat(4, 1fr); } }

/* 分类分组：标题 + 更多链接 */
.pc-group { margin-bottom: 3rem; }
.pc-group:last-child { margin-bottom: 0; }
.pc-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}
.pc-group-head h3 {
  position: relative;
  padding-left: 0.875rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink-900);
}
.pc-group-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--brand);
}
.pc-group-en {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: var(--ink-400);
  text-decoration: none;
  transition: color 0.3s ease;
}
.pc-more svg { width: 1em; height: 1em; transition: transform 0.3s ease; }
.pc-more:hover { color: var(--brand); }
.pc-more:hover svg { transform: translateX(3px); }

/* 产品卡片 */
.pc-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e9ebef;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}
.pc-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #666;
}
.pc-card-img {
  position: relative;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1 / 1;
}
.pc-card-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.6s ease;
}
.pc-card:hover .pc-card-img img { transform: scale(1.08); }

/* 卡片可点击 */
a.pc-card { cursor: pointer; }

.pc-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.pc-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.pc-card-top h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink-900); }
.pc-spec {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(229, 0, 18, 0.08);
  border-radius: 0.375rem;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}
.pc-card-body p {
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--brand), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pc-card:hover .pc-bar { transform: scaleX(1); }

/* 筛选后强制显示(覆盖 reveal 动画) */
.pc-card.reveal-show { opacity: 1 !important; transform: none !important; }

/* =========================================================
   联系我们页 (ct-*)
   ========================================================= */
.ct-info { background: var(--white); }
.ct-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.ct-info-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.ct-info-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(229, 0, 18, 0.08);
  transform: translateY(-4px);
}
.ct-info-icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(229, 0, 18, 0.08);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.ct-info-icon svg { width: 1.5rem; height: 1.5rem; }
.ct-info-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.ct-info-card p { font-size: 0.9375rem; color: var(--ink-600); line-height: 1.7; }
.ct-info-card p a { color: var(--brand); font-weight: 600; }
.ct-info-card p a:hover { text-decoration: underline; }
.ct-info-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-300);
}

/* 社交媒体二维码 */
.ct-social { background: var(--white); }
.ct-social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* 电脑版二维码间距：原 40px + 50px = 90px（手机版在 ≤640px 断点单独设为 1.5rem） */
  gap: 90px;
}
.ct-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ct-social-qr {
  width: 180px; height: 180px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 0.75rem;
  display: grid;
  place-items: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.ct-social-qr:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.ct-social-qr svg { width: 100%; height: 100%; }
.ct-social-text {
  text-align: center;
}
.ct-social-text b { display: block; font-size: 1rem; font-weight: 700; color: var(--ink-900); }
.ct-social-text span { font-size: 0.8125rem; color: var(--ink-400); }

/* 工厂位置 - 百度地图 */
.ct-map-section { background: var(--white); }
.ct-map-wrap {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 16px 40px rgba(229, 0, 18, 0.08);
}
.ct-map-imagelink { display: block; }
.ct-map-img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}
.ct-map-imagelink:hover .ct-map-img { opacity: 0.92; }
.ct-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.ct-map-addr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
}
.ct-map-addr svg { width: 1.1em; height: 1.1em; color: var(--brand); flex-shrink: 0; }
.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.ct-map-link svg { width: 1em; height: 1em; transition: transform 0.3s ease; }
.ct-map-link:hover svg { transform: translateX(3px); }

@media (max-width: 640px) {
  .ct-map-bar { padding: 0.875rem 1rem; }
  .ct-social-qr { width: 150px; height: 150px; }
  .ct-social-grid { gap: 1.5rem; }
}

/* =========================================================
   新闻中心页
   ========================================================= */
.nc-section { position: relative; background: var(--white); }

.nc-filter { margin-bottom: 2.5rem; }

/* 新闻网格 */
.nc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .nc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nc-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

/* 新闻卡片 */
.nc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}
.nc-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}

/* 卡片图片区 */
.nc-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--white);
}
.nc-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.nc-card:hover .nc-card-img img { transform: scale(1.08); }

/* 遮罩 */
.nc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

/* 卡片正文 */
.nc-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.nc-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--ink-400);
  margin-bottom: 0.5rem;
}
.nc-date svg { width: 0.875rem; height: 0.875rem; }
.nc-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-card-body p {
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.nc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.3s ease;
}
.nc-link svg { width: 1rem; height: 1rem; }
.nc-card:hover .nc-link { gap: 0.5rem; }

/* 底部色条 */
.nc-bar {
  display: block;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.nc-card:hover .nc-bar { transform: scaleX(1); }

.nc-card.is-hidden { display: none; }

/* 分页 */
.nc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.nc-page {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--ink-600);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0 0.75rem;
  transition: all 0.3s ease;
}
.nc-page:hover { border-color: var(--brand); color: var(--brand); }
.nc-page.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(229, 0, 18, 0.25);
}
.nc-page-next { gap: 0.375rem; }
.nc-page-next svg { width: 1rem; height: 1rem; }
.nc-page-dots {
  color: var(--ink-300);
  font-size: 0.875rem;
  padding: 0 0.25rem;
}

@media (max-width: 640px) {
  .nc-grid { gap: 1.25rem; }
  .nc-card-body { padding: 1rem; }
  .nc-pagination { flex-wrap: wrap; }
}

/* =========================================================
   服务支持页 (sv-*)
   ========================================================= */
.sv-overview { background: var(--white); }
.sv-faq { background: var(--white); }
.sv-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.sv-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--ink-500);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.sv-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sv-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.sv-list {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sv-item {
  background: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.sv-item.is-open {
  border-color: var(--brand);
  box-shadow: 0 4px 24px rgba(229, 0, 18, 0.08);
}
.sv-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  transition: color 0.25s ease;
}
.sv-q:hover { color: var(--brand); }
.sv-q-text { flex: 1; line-height: 1.5; }
.sv-q-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-500);
  transition: all 0.3s ease;
}
.sv-q-icon svg { width: 1.125rem; height: 1.125rem; }
.sv-item.is-open .sv-q-icon {
  background: var(--brand);
  color: var(--white);
  transform: rotate(180deg);
}
.sv-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sv-item.is-open .sv-a { max-height: 500px; }
.sv-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-500);
}

@media (max-width: 640px) {
  .sv-tab { padding: 0.4rem 0.875rem; font-size: 0.8125rem; }
  .sv-q { padding: 1rem 1.25rem; font-size: 0.9375rem; }
  .sv-a-inner { padding: 0 1.25rem 1rem; }
}

/* =========================================================
   产品详情页 (pd-*)
   ========================================================= */

/* ---------- 横幅(紧凑型,复用 cp-hero) ---------- */
.pd-hero { min-height: 260px; }
@media (min-width: 768px) { .pd-hero { min-height: 300px; } }
.pd-hero-title { font-size: 1.75rem; }
@media (min-width: 768px) { .pd-hero-title { font-size: 2.5rem; } }
.pd-hero .cp-hero-inner { padding-bottom: 2.25rem; }

/* ---------- 产品主区 ---------- */
.pd-main {
  background: var(--white);
  padding: 3.5rem 0 2.25rem;
}
.pd-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .pd-main-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; }
}

/* 图集 */
.pd-gallery { display: flex; flex-direction: column; }
.pd-view {
  position: relative;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  background: var(--white);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pd-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  transition: transform 0.6s ease;
}
.pd-view:hover img { transform: scale(1.04); }
.pd-thumbs {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
/* 电脑端:缩略图竖排放大图左侧 */
@media (min-width: 1024px) {
  .pd-gallery { flex-direction: row; gap: 1rem; align-items: flex-start; }
  .pd-view { flex: 1; min-width: 0; }
  .pd-thumbs {
    order: -1;
    margin-top: 0;
    flex-shrink: 0;
    width: 92px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}
.pd-thumb {
  position: relative;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.625rem;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.pd-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.pd-thumb:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.pd-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(229, 0, 18, 0.15);
}

/* 产品信息 */
.pd-name {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-900);
}
.pd-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.pd-spec {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(229, 0, 18, 0.08);
  border-radius: 0.5rem;
  padding: 0.3rem 0.75rem;
}
.pd-hot {
  font-size: 0.875rem;
  background: var(--brand);
  color: var(--white);
  border-radius: 0.5rem;
  padding: 0.3rem 0.75rem;
  font-weight: 600;
}
.pd-desc {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-500);
}
.pd-features {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
.pd-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.625rem;
  padding: 0.7rem 1rem;
}
.pd-features svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--brand);
}
.pd-tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pd-tags span {
  font-size: 0.8125rem;
  color: var(--ink-500);
  background: var(--white);
  border-radius: 9999px;
  padding: 0.3rem 0.875rem;
}
.pd-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-outline {
  border: 2px solid var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}
.pd-trust {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
}
.pd-trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
}

/* ---------- 产品详情(无参数模块,内容居中) ---------- */
.pd-detail { background: var(--white); padding: 2.25rem 0 5rem; }
.pd-detail-grid {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
}
#pdDetailText {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
#pdDetailText p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-700);
  margin-bottom: 1.125rem;
}
#pdDetailText p:last-child { margin-bottom: 0; }
/* 详情图文:图片通栏堆叠,间距统一(原图 790px 宽,超出部分不再放大) */
#pdDetailText img {
  display: block;
  width: 100%;
  max-width: 790px;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  margin: 0 auto 1.5rem;
}
#pdDetailText p:last-child img:last-child { margin-bottom: 0; }
#pdDetailText img:last-child { margin-bottom: 0; }
/* 详情规格表:浅灰边框,规格/CTNS 列逐行下划线,文字距左 8px */
#pdDetailText table.ts {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 1.5rem;
  border-collapse: collapse;
  border: 1px solid #d9dde3;
  table-layout: fixed;
  background: var(--white);
}
/* 手机端:表格保持可读宽度,容器横向滚动 */
@media (max-width: 767px) {
  #pdDetailText { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #pdDetailText table.ts { min-width: 720px; margin-bottom: 1rem; }
}
#pdDetailText table.ts td {
  border: 1px solid #d9dde3;
  padding: 0.5rem 0.625rem 0.5rem 8px;
  vertical-align: top;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ink-700);
}
#pdDetailText table.ts tr.firstRow td {
  text-align: center;
  font-weight: 700;
  color: var(--ink-900);
  padding: 0.75rem 8px;
  background: #f1f1f1;
}
#pdDetailText table.ts td .ts-line {
  display: block;
  border-bottom: 1px solid #d9dde3;
  padding: 0.25rem 0.625rem 0.25rem 8px;
  margin: 0 -0.625rem 0 -8px; /* 负外边距让下划线左右顶满单元格边框 */
}
#pdDetailText table.ts td .ts-line:last-child {
  border-bottom: none; /* 每格最后一行不加下划线 */
}

/* 卖点卡片 */
.pd-highlights {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .pd-highlights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pd-highlights { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.pd-hl {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.875rem;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.pd-hl:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}
.pd-hl-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(229, 0, 18, 0.08);
  color: var(--brand);
}
.pd-hl-icon svg { width: 1.375rem; height: 1.375rem; }
.pd-hl h4 {
  margin-top: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}
.pd-hl p {
  margin-top: 0.375rem;
  font-size: 0.8435rem;
  line-height: 1.65;
  color: var(--ink-500);
}

/* ---------- 相关产品 ---------- */
.pd-related { background: var(--white); padding: 4.5rem 0 5rem; }
.pd-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .pd-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pd-related-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 移动端适配 ---------- */
@media (max-width: 640px) {
  .pd-main { padding: 2.5rem 0 3rem; }
  .pd-view img { padding: 1.5rem; }
  .pd-features { gap: 0.5rem; }
  .pd-features li { padding: 0.6rem 0.875rem; font-size: 0.875rem; }
  .pd-actions .btn { flex: 1; justify-content: center; }
  .pd-trust { gap: 0.875rem 1.5rem; }
  .pd-detail { padding: 3rem 0 3.5rem; }
  .pd-highlights { margin-top: 1.75rem; }
  .pd-related { padding: 3rem 0 3.5rem; }
}

/* =========================================================
   文章详情页 (nd-*)
   ========================================================= */
.nd-section { background: var(--white); padding: 3.5rem 0 4.5rem; }

.nd-article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
}

/* 文章头部 */
.nd-head { text-align: center; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.nd-cat {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.125rem;
}

.nd-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 1.125rem;
}

.nd-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.55);
}

.nd-info-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.nd-info-item svg { width: 0.9375rem; height: 0.9375rem; stroke: var(--brand); }

/* 封面图 */
.nd-cover {
  margin: 2rem 0 2.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.nd-cover img { display: block; width: 100%; height: auto; }

/* 正文 */
.nd-body {
  font-size: 1.0625rem;
  line-height: 1.95;
  color: rgba(0, 0, 0, 0.78);
}

.nd-body p { margin: 0 0 1.375rem; text-align: justify; }

.nd-body h2 {
  position: relative;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.25rem 0 1.125rem;
  padding-left: 0.875rem;
}
.nd-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3125rem;
  bottom: 0.3125rem;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
}

.nd-body blockquote {
  margin: 1.75rem 0;
  padding: 1.125rem 1.5rem;
  border-left: 4px solid var(--brand);
  background: rgba(229, 0, 18, 0.06);
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.85;
}

.nd-body ul { margin: 0 0 1.375rem; padding-left: 1.25rem; }
.nd-body li { margin-bottom: 0.5rem; }

/* 文章底部:标签 + 返回 */
.nd-foot {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nd-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nd-tags span {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
}

.nd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.25s;
}
.nd-back svg { width: 1rem; height: 1rem; }
.nd-back:hover { gap: 0.625rem; }

/* 上一篇 / 下一篇 */
.nd-nav {
  max-width: 860px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.nd-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1.125rem 1.375rem;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.nd-nav-item:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(229, 0, 18, 0.12);
  transform: translateY(-2px);
}

.nd-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.nd-nav-label svg { width: 0.9375rem; height: 0.9375rem; }

.nd-nav-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-nav-item.nd-next { text-align: right; align-items: flex-end; }
.nd-nav-item.nd-next .nd-nav-label { flex-direction: row-reverse; }

.nd-nav-item.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  background: rgba(0, 0, 0, 0.02);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 640px) {
  .nd-section { padding: 2.25rem 0 3rem; }
  .nd-info { gap: 0.375rem 1.125rem; font-size: 0.8125rem; }
  .nd-cover { margin: 1.5rem 0 1.75rem; }
  .nd-body { font-size: 1rem; line-height: 1.9; }
  .nd-body h2 { font-size: 1.1875rem; }
  .nd-foot { flex-direction: column; align-items: flex-start; }
  .nd-nav { grid-template-columns: 1fr; gap: 0.875rem; margin-top: 1.75rem; }
  .nd-nav-item.nd-next { text-align: left; align-items: flex-start; }
}

/* 卡片可点击:文章卡片链接态 */
a.nc-card { cursor: pointer; text-decoration: none; color: inherit; }
.nc-card-img::after {
  content: "阅读全文";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}
a.nc-card:hover .nc-card-img::after { opacity: 1; }

/* =========================================================
   右侧在线客服悬浮窗（参考 haday.com c-side-nav）
   ========================================================= */
.side-float {
  position: fixed;
  right: 1.125rem;
  bottom: 50px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.side-item { position: relative; }
.side-btn {
  width: 3.75rem;
  padding: 0.625rem 0.25rem 0.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid #e9ebef;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3125rem;
  color: var(--ink-700);
  font-size: 0.6875rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.side-btn svg { width: 1.25rem; height: 1.25rem; }
.side-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 0.375rem 1.25rem rgba(229, 0, 18, 0.25);
  transform: translateY(-2px);
}
/* 微信二维码弹层（鼠标经过在线客服时出现） */
.side-pop {
  position: absolute;
  right: calc(100% + 0.875rem);
  top: 50%;
  transform: translateY(-50%) translateX(0.5rem);
  width: 10rem;
  background: var(--white);
  border: 1px solid #e9ebef;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.15);
  padding: 0.75rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.side-item:hover .side-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.side-pop img {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
}
.side-pop p {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-600);
  line-height: 1.5;
}
/* 弹层右侧小箭头 */
.side-pop-arrow {
  position: absolute;
  right: -0.375rem;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--white);
  border-right: 1px solid #e9ebef;
  border-top: 1px solid #e9ebef;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 1023.98px) {
  /* 手机/平板（与导航抽屉同断点）：不显示右侧在线客服悬浮窗，仅电脑版可见 */
  .side-float { display: none; }
}

/* 悬浮窗 - 返回顶部按钮：默认不占位隐藏，滚动后由 .is-scrolled 显示 */
.side-top { display: none; }
.side-float.is-scrolled .side-top {
  display: flex;
  animation: sideTopIn 0.3s ease;
}
@keyframes sideTopIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
