/* ============================================================
   安达精密机械官网 · 首页样式（pages/index.html）
   ------------------------------------------------------------
   结构索引：
   1. 全局重置与基础排版      2. 通用工具类
   3. 按钮                    4. 顶部导航 Header
   5. 导航下拉菜单            6. 站内搜索条
   7. 移动端导航              8. 首页轮播横幅
   9. 关于安达                10. 数据统计
   11. 产品分类网格            12. 明星产品轮播
   13. 核心优势                14. 新闻资讯
   15. 联系引导 CTA            16. 页脚
   17. 返回顶部                18. 悬浮社交面板
   19. 滚动入场动画            20. 响应式（平板 / 手机）
   21. 无障碍（减少动态效果）
   ------------------------------------------------------------
   说明：类名与 index.html 中的 class 一一对应，修改样式时请同步核对 HTML。
   ============================================================ */

/* ============================================================
   一、全局重置与通用工具类
   ============================================================ */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: currentColor;
}

/* ============================================================
   二、首页各区块样式
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
/* 裁掉超出视口的横向内容（发展历程等模块的 100vw 通栏背景会略微超出，
   100vw 包含滚动条宽度），不产生横向滚动条；clip 不创建滚动容器，不影响 sticky */
html, body { overflow-x: clip; }
body {
  font-family: var(--anda-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.font-sans { font-family: var(--anda-font-sans); }

/* ---- 页面容器：统一最大宽度 1400px 并居中 ----
   说明：Tailwind 浏览器版会把编译出的 .container 工具类（width:100% + 各断点 max-width）
   注入到 <head> 末尾，位于本文件之后；这里用双类名提高特异性，
   确保 1400px 的业务宽度不被 Tailwind 生成的断点宽度覆盖 */
.container.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 区块通用底座：上下留白与标题层级基础 ---- */
.section { padding: 88px 0; }
section[id] { scroll-margin-top: 80px; }

/* ---- 文本排版工具类：标题字阶、描述文字、对齐方式 ---- */
h1, h2, h3, h4 {
  text-wrap: balance;
  word-break: keep-all;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anda-primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--anda-foreground);
}
.section-title.center { text-align: center; }
.section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--anda-ink-2);
  margin-top: 12px;
}
.section-subtitle.center { text-align: center; }
.section-head {
  max-width: 800px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-cta { margin-top: 44px; }
.section-cta.center { text-align: center; }

/* ---- 按钮：主按钮 / 描边按钮 / 文字按钮及其悬停反馈 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--anda-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 180ms cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--anda-primary);
  color: var(--anda-primary-foreground);
}
.btn-primary:hover { background: var(--anda-blue-800); transform: translateY(-1px); box-shadow: var(--anda-shadow-2); }
.btn-secondary {
  background: transparent;
  color: var(--anda-foreground);
  border-color: var(--anda-border);
}
.btn-secondary:hover {
  border-color: var(--anda-primary);
  color: var(--anda-primary);
  background: var(--anda-surface);
}
.btn-outline-primary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--anda-primary);
  background: transparent;
  border: 1px solid var(--anda-primary);
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: color 260ms ease;
}
.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background: var(--anda-primary);
  transition: width 300ms ease;
}
.btn-outline-primary:hover {
  color: var(--anda-white);
}
.btn-outline-primary:hover::before {
  width: 100%;
}
.btn-white {
  background: var(--anda-background);
  color: var(--anda-primary);
}
.btn-white:hover { filter: brightness(0.96); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: var(--anda-primary-foreground);
  border-color: color-mix(in srgb, var(--anda-primary-foreground) 45%, transparent);
}
.btn-outline-white:hover {
  border-color: var(--anda-primary-foreground);
  background: color-mix(in srgb, var(--anda-primary-foreground) 12%, transparent);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--anda-primary);
  text-decoration: none;
  transition: gap 160ms cubic-bezier(.2,.8,.2,1);
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---- 顶部导航：吸顶、毛玻璃背景、滚动后收缩态 ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: transparent;
  transform: translateY(-100%);
  transition: background 220ms cubic-bezier(.2,.8,.2,1),
              box-shadow 220ms cubic-bezier(.2,.8,.2,1),
              transform 600ms cubic-bezier(.2,.8,.2,1);
}
body.is-loaded .site-header { transform: translateY(0); }
.site-header.scrolled {
  background: color-mix(in srgb, var(--anda-white) 96%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -8px color-mix(in srgb, var(--anda-ink) 16%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
/* 默认（透明导航栏、压在深色 banner 上）：logo 显示为白色；
   logo.png 是蓝色单色透明 PNG，用滤镜把有色像素统一转白，透明区域保持不变。
   页面下拉后导航栏切为白底（.scrolled），恢复蓝色原图 */
.site-header:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.site-header.scrolled .logo-img { filter: none; }
/* 例外：新闻详情页无 banner，导航栏初始即为白底，logo 必须保持蓝色 */
body.news-detail-page .site-header:not(.scrolled) .logo-img { filter: none; }
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-item { position: relative; }
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  z-index: 100;
}
.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: var(--anda-ink);
  text-decoration: none;
  padding: 8px 0;
  transition: color 160ms cubic-bezier(.2,.8,.2,1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.site-header:not(.scrolled) .nav-link { color: var(--anda-white); }
/* .site-header.scrolled .nav-link { color: var(--anda-ink); } */
.nav-link:hover { color: var(--anda-primary); }
.site-header:not(.scrolled) .nav-link:hover { color: var(--anda-blue-500); }
.nav-link.active { color: var(--anda-primary); }
/* 当前页对应的大栏目：任何导航状态（透明/白底）下文字都用蓝色 */
.site-header:not(.scrolled) .nav-link.active { color: #fff; opacity: 1; }

/* ---- 内页头部导航：与首页一致，透明背景 + 白色文字，覆盖在 Banner 上层 ---- */
/* （首页和内页统一：未滚动时透明背景+白字，滚动后白色背景+深字） */
/* 例外：新闻详情页无 Banner，header 需白色背景+深色文字 */
body.news-detail-page .site-header:not(.scrolled) {
  background: color-mix(in srgb, var(--anda-white) 96%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -8px color-mix(in srgb, var(--anda-ink) 16%, transparent);
}
body.news-detail-page .site-header:not(.scrolled) .nav-link { color: var(--anda-ink); }
body.news-detail-page .site-header:not(.scrolled) .nav-link:hover { color: var(--anda-primary); }
body.news-detail-page .site-header:not(.scrolled) .nav-link.active { color: var(--anda-primary); }
body.news-detail-page .site-header:not(.scrolled) .icon-btn { color: var(--anda-ink); }
body.news-detail-page .site-header:not(.scrolled) .lang-link { color: var(--anda-ink-2); }
body.news-detail-page .site-header:not(.scrolled) .lang-link.active { color: var(--anda-primary); }
body.news-detail-page .site-header:not(.scrolled) .hamburger { color: var(--anda-ink); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--anda-primary);
  transition: width 220ms cubic-bezier(.2,.8,.2,1);
}
.site-header:not(.scrolled) .nav-link::after { background: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
/* 带子栏目箭头的导航：横线只到文字宽度（箭头 14px + 间距 4px），箭头下方不画线 */
.nav-link:has(.nav-chevron):hover::after,
.nav-link:has(.nav-chevron).active::after { width: calc(100% - 18px); }
.nav-link .nav-chevron {
  width: 14px; height: 14px;
  transition: transform 200ms ease;
}
.nav-item:hover .nav-link .nav-chevron { transform: rotate(180deg); }

/* ---- 导航下拉菜单：普通下拉 + 产品中心大分类面板 ---- */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--anda-background);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  box-shadow: var(--anda-shadow-dropdown);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  pointer-events: none;
  z-index: 101;
}
.dropdown.mega {
  left: 50%;
  width: 800px;
  transform: translateX(-50%) translateY(5px);
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-item:hover > .dropdown.mega,
.nav-item:focus-within > .dropdown.mega {
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  color: var(--anda-ink-2);
  text-decoration: none;
  border-radius: var(--anda-radius-sm);
  transition: background 160ms ease, color 160ms ease;
}
.dropdown a:hover {
  background: var(--anda-surface);
  color: var(--anda-primary);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.dropdown-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--anda-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 10px 4px;
  grid-column: 1 / -1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  color: var(--anda-ink);
  cursor: pointer;
  border-radius: var(--anda-radius-sm);
  transition: color 160ms ease, background 160ms ease;
}
.site-header:not(.scrolled) .icon-btn { color: var(--anda-white); }
.site-header.scrolled .icon-btn { color: var(--anda-ink); }
.icon-btn:hover { color: var(--anda-primary); background: var(--anda-surface); }
.site-header:not(.scrolled) .icon-btn:hover { color: var(--anda-blue-500); background: color-mix(in srgb, var(--anda-white) 12%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px;
}
.lang-link {
  color: var(--anda-ink-2);
  text-decoration: none;
  transition: color 160ms ease;
}
.lang-link.active {
  color: var(--anda-primary);
  font-weight: 600;
}
.site-header:not(.scrolled) .lang-link { color: color-mix(in srgb, var(--anda-white) 90%, transparent); }
.site-header.scrolled .lang-link { color: var(--anda-ink-2); }
.site-header:not(.scrolled) .lang-link.active,
.site-header.scrolled .lang-link.active { color: #fff; }
.lang-link:hover { color: var(--anda-primary); }
.site-header:not(.scrolled) .lang-link:hover { color: var(--anda-white); }
.lang-sep {
  color: var(--anda-ink-3);
  user-select: none;
}
.site-header:not(.scrolled) .lang-sep { color: color-mix(in srgb, var(--anda-white) 60%, transparent); }
.site-header.scrolled .lang-sep { color: var(--anda-ink-3); }
.lang-switch-mobile { display: none; position: relative; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 110px;
  background: var(--anda-background);
  border-radius: var(--anda-radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  z-index: 200;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--anda-ink-2);
  text-decoration: none;
		text-align:center;
  transition: background 160ms ease, color 160ms ease;
}
.lang-option.active { color: var(--anda-primary); font-weight: 600; }
.lang-option:hover { background: var(--anda-muted); color: var(--anda-primary); }
.hamburger {
  display: none;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--anda-ink);
  cursor: pointer;
  border-radius: var(--anda-radius-sm);
  position: relative;
}
.site-header:not(.scrolled) .hamburger { color: var(--anda-white); }
.site-header.scrolled .hamburger { color: var(--anda-ink); }
.hamburger svg { width: 22px; height: 22px; }
.hamburger .icon-menu,
.hamburger .icon-close {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  margin-left: -11px;
  transition: opacity 220ms ease, transform 220ms ease;
}
.hamburger .icon-menu { opacity: 1; transform: rotate(0deg) scale(1); }
.hamburger .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.7); }
.hamburger.open .icon-menu { opacity: 0; transform: rotate(90deg) scale(0.7); }
.hamburger.open .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* ---- 站内搜索条：点击放大镜后展开的输入面板 ---- */
.search-bar {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--anda-background);
  box-shadow: var(--anda-shadow-2);
  padding: 16px 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1),
              opacity 220ms ease,
              visibility 220ms;
  z-index: 98;
}
.search-bar.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.search-bar-inner { display: flex; justify-content: center; }
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}
.search-input {
  flex: 1;
  padding: 12px 18px;
  font-size: 16px;
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  background: var(--anda-card);
  color: var(--anda-foreground);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-input:focus {
  border-color: var(--anda-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--anda-primary) 16%, transparent);
}
.search-submit { padding: 12px 24px; }
.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  color: var(--anda-ink-2);
  cursor: pointer;
  border-radius: var(--anda-radius-sm);
  transition: color 160ms ease, background 160ms ease;
}
.search-close:hover { color: var(--anda-primary); background: var(--anda-surface); }

/* ---- 移动端导航：汉堡按钮、抽屉面板、子菜单手风琴 ---- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--anda-background);
  box-shadow: var(--anda-shadow-2);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(.2,.8,.2,1),
              padding 300ms cubic-bezier(.2,.8,.2,1);
  z-index: 99;
}
.mobile-nav.open {
  max-height: calc(100vh - 72px);
  max-height: calc(100dvh - 72px);
  padding: 12px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--anda-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--anda-border);
  transition: color 160ms ease;
}
.mobile-nav-link:hover { color: var(--anda-primary); }
.mobile-nav-link.active { color: var(--anda-primary); font-weight: 600; }
.mobile-submenu {
  max-height: none;
  overflow: visible;
  padding-left: 0px;
  padding-bottom: 8px;
}
.mobile-nav-link[data-toggle] .mobile-chevron { display: none; }
.mobile-submenu a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--anda-ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--anda-border);
}
.mobile-submenu a:last-child { border-bottom: none; }
.mobile-submenu a:hover { color: var(--anda-primary); }
.mobile-search-form {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 8px;
  border-bottom: 0px solid var(--anda-primary);
}
.mobile-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--anda-ink);
  background: var(--anda-surface);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  outline: none;
}
.mobile-search-input:focus { border-color: var(--anda-primary); }
.mobile-search-submit {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}
.mobile-submenu--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  padding-bottom: 12px;
}
.mobile-submenu--grid a {
  border-bottom: none;
  padding: 5px 0;
}
.mobile-chevron { transition: transform 200ms ease; }
.mobile-nav-link[aria-expanded="true"] .mobile-chevron { transform: rotate(180deg); }

/* ---- 首页轮播横幅：幻灯片叠放、指示点、左右箭头、文字动效 ---- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--anda-foreground);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease-in-out, visibility 900ms ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* 与内页 page-banner 一致：当前幻灯片激活后从 1 缓慢放大到 1.12 */
  transform: scale(1);
  transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-bg { transform: scale(1.12); }
/* 非当前幻灯片：不做过渡，切走时立即回位（避免在 900ms 淡出期间出现反向缩小） */
.hero-slide:not(.active) .hero-slide-bg { transition: none; }
/* 视频背景：覆盖整个幻灯片 */
.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  /* 深蓝通栏遮罩：整体加深，减少图片透出的灰调 */
  background: linear-gradient(90deg, color-mix(in srgb, var(--anda-blue-900) 95%, transparent) 0%, color-mix(in srgb, var(--anda-blue-900) 75%, transparent) 55%, color-mix(in srgb, var(--anda-blue-900) 40%, transparent) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--anda-white);
  max-width: 760px;
  padding-top: 72px;
}
.banner-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--anda-blue-500);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
}
.banner-title {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--anda-white);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.banner-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.75;
  color: color-mix(in srgb, var(--anda-white) 86%, transparent);
  max-width: 560px;
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.banner-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
/* 首屏文字入场：挂 is-loaded 标记触发。第一屏的 .active 是 HTML 预置的，
   若直接用 .hero-slide.active，首次绘制时已处于最终态、加载动画会被浏览器跳过 */
body.is-loaded .hero-slide.active .banner-eyebrow { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
body.is-loaded .hero-slide.active .banner-title { opacity: 1; transform: translateY(0); transition-delay: 360ms; }
body.is-loaded .hero-slide.active .banner-subtitle { opacity: 1; transform: translateY(0); transition-delay: 480ms; }
body.is-loaded .hero-slide.active .banner-cta { opacity: 1; transform: translateY(0); transition-delay: 600ms; }

.banner-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--anda-white) 92%, transparent);
  border: none;
  color: var(--anda-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 200ms ease, visibility 200ms ease,
              background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--anda-shadow-2);
  opacity: 0;
  visibility: hidden;
}
.hero-banner:hover .banner-control,
.hero-banner:focus-within .banner-control { opacity: 1; visibility: visible; }
.banner-control:hover { background: var(--anda-white); transform: translateY(-50%) scale(1.06); }
.banner-control.prev { left: 24px; }
.banner-control.next { right: 24px; }
.banner-control svg { width: 22px; height: 22px; }

.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.banner-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--anda-white) 35%, transparent);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 200ms ease, transform 200ms ease;
}
.banner-dot:hover { background: color-mix(in srgb, var(--anda-white) 65%, transparent); }
.banner-dot.active { background: var(--anda-white); transform: scale(1.25); }

/* ---- 关于安达：图文左右排布与公司简介排版 ---- */
.about { background: #ffffff; overflow: visible; }
.about-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 100px;
  align-items: start;
}
.about-text {
  position: relative;
  align-self: center;
}
.about-text .btn { margin-top: 25px; }
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.about-img-wrap {
  overflow: hidden;
  border-radius: var(--anda-radius-lg);
  box-shadow: var(--anda-shadow-2);
  transition: box-shadow 260ms cubic-bezier(.2,.8,.2,1);
}
.about-img-wrap:hover { box-shadow: var(--anda-shadow-3); }
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
  pointer-events: none;
}
.about-img-wrap:hover .about-img { transform: scale(1.05); }
.about-img-high { margin-top: 25px; }
.about-img-low { margin-top: -25px; }
.about-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--anda-ink-2);
  margin: 18px 0 0;
		text-align: justify; /* 两端对齐 */
}
.about-stats {
  display: flex;
  gap: 56px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.about-stat-figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.about-stat-num {
  font-size: 52px;
  font-weight: 700;
  color: var(--anda-primary);
  line-height: 1;
  display: inline-block;
}
.about-stats.stats-animate .about-stat-num {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1),
              transform 650ms cubic-bezier(.2,.8,.2,1);
}
.about-stats.stats-animate .about-stat-num.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.about-stat-num sup {
  font-size: 0.42em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 2px;
  line-height: 1;
}
.about-stat-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--anda-ink-2);
}
.about-stat-label {
  font-size: 14px;
  color: var(--anda-ink-3);
  margin-top: 8px;
}

/* ---- 数据统计：品牌色底、四项数据、数字滚动入场 ---- */
.stats-section {
  position: relative;
  /* 背景图相对本文件（assets/css/）定位到 assets/img/ */
  background-image: url('../img/about-factory2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--anda-white);
  padding: 140px 0;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 43, 0.70);
}
.stats-container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 0 85px;
}
.stat-divider {
  width: 1px;
  height: 55px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
.stat-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stat-number-wrap {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}
.stat-num {
  font-family: "Plus Jakarta Sans", "Inter", "Noto Sans SC", sans-serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--anda-white);
  line-height: 1;
  display: inline-block;
}
.stats-section.stats-animate .stat-num {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1),
              transform 650ms cubic-bezier(.2,.8,.2,1);
}
.stats-section.stats-animate .stat-num.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.stat-plus {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  vertical-align: super;
  margin-left: 2px;
}
.stat-label-inline {
  font-size: 15px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  display: block;
}

/* ---- 产品分类网格：图片卡片 + 悬停放大与遮罩 ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--anda-foreground);
  text-decoration: none;
  background: var(--anda-card);
  border: 2px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  transition: color 220ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
  z-index: 1;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--anda-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
  z-index: -1;
}
.category-card:hover {
  border-color: var(--anda-primary);
  transform: translateY(-4px);
  color: var(--anda-primary-foreground);
  box-shadow: var(--anda-shadow-3);
}
.category-card:hover::before {
  transform: scaleX(1);
}

/* ---- 明星产品：横向轮播轨道、卡片、拖拽与箭头控制 ---- */
.featured-products {
  background: linear-gradient(180deg, var(--anda-primary) 0%, var(--anda-blue-300) 100%);
}
.featured-products .eyebrow,
.featured-products .section-title,
.featured-products .section-subtitle { color: var(--anda-white); }
.featured-products .eyebrow { opacity: 0.9; }
.featured-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 30px;
}
.featured-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  margin: -12px;
}
.featured-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  cursor: grab;
}
.featured-track.is-dragging { cursor: grabbing; }
.featured-carousel .product-card {
  flex: 0 0 calc((100% - 24px * 4) / 5);
  width: calc((100% - 24px * 4) / 5);
  background: var(--anda-card);
  border: 0px solid var(--anda-border);
  border-radius: var(--anda-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 350ms cubic-bezier(.2,.8,.2,1),
              box-shadow 350ms cubic-bezier(.2,.8,.2,1);
  user-select: none;
}
.featured-carousel .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--anda-primary) 16%, transparent);
}
.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--anda-surface);
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
  pointer-events: none;
}
.featured-carousel .product-card:hover .product-img { transform: scale(1.04); }
.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 12px;
}
.product-specs {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-specs li {
  font-size: 13px;
  color: var(--anda-ink-2);
  line-height: 1.5;
}
.featured-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}
.featured-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--anda-border);
  background: var(--anda-card);
  color: var(--anda-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--anda-shadow-1);
}
.featured-btn:hover {
  background: var(--anda-primary);
  border-color: var(--anda-primary);
  color: var(--anda-primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--anda-shadow-2);
}
.featured-btn svg { width: 22px; height: 22px; }

/* ---- 核心优势：卡片展开互动（鼠标悬停当前卡片展开，其他收缩） ---- */
.advantage-interactive {
  display: flex;
  height: 440px;
  gap: 12px;
}
.advantage-card {
  /* 收起态：flex-basis 0px 等分剩余宽度（0px ↔ 630px 可平滑过渡） */
  flex: 1 1 0px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* 每张卡片独立圆角 */
  border-radius: var(--anda-radius-lg);
  transition: flex-basis 600ms cubic-bezier(.2,.8,.2,1);
}
/* 默认（容器未被悬停时）第一张卡片保持展开：固定宽度 630px */
.advantage-interactive:not(:hover) .advantage-card:first-child { flex-basis: 630px; }
/* 鼠标悬停展开的卡片同样固定 630px，其余卡片等分剩余宽度 */
.advantage-card:hover { flex-basis: 630px; }
.advantage-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 800ms ease;
}
.advantage-card:hover .advantage-card-bg { transform: scale(1.08); }
.advantage-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, #03387c 10%, transparent) 0%, transparent 30%, color-mix(in srgb, #03387c 100%, transparent) 100%);
  transition: background 400ms ease;
}
.advantage-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  /* 文字区域宽度 = 展开后卡片宽度（630px）的 3/4，左对齐 */
  width: 85%;
  padding: 28px 24px;
  color: var(--anda-white);
  z-index: 2;
}

/* ---- 文字显示：编号与标题常显（白色），介绍内容仅展开时显示 ---- */
/* 数字编号：固定白色，默认显示；transition 用于鼠标移出后平滑恢复 */
.advantage-card-num {
  font-family: "Plus Jakarta Sans", "Inter", "Noto Sans SC", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--anda-white);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
  transition: opacity 300ms ease, transform 350ms cubic-bezier(.2,.8,.2,1);
}
/* 标题：默认显示 */
.advantage-card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  white-space: nowrap;
  transition: opacity 300ms ease, transform 350ms cubic-bezier(.2,.8,.2,1);
}
/* 介绍内容：默认隐藏，展开后隐现上移出现（纯 transition，无 keyframes） */
.advantage-card-desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  max-height: 0;
  transform: translateY(18px);
  overflow: hidden;
  transition: opacity 400ms ease, transform 450ms cubic-bezier(.2,.8,.2,1), max-height 500ms ease;
}

/* 默认展开的第一张：介绍内容直接显示（鼠标离开容器后恢复此状态） */
.advantage-interactive:not(:hover) .advantage-card:first-child .advantage-card-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}

/* 悬停展开的卡片（收起 → 展开）：
   0ms     编号、标题立即消失（keyframes 延迟期间保持 from 隐藏态）
   600ms   卡片 flex-basis 展开完成
   620ms → 编号隐现上移出现
   760ms → 标题隐现上移出现
   900ms → 介绍内容隐现上移出现 + 高度展开（transition-delay 实现等待） */
.advantage-interactive:hover .advantage-card:hover .advantage-card-num {
  animation: advRise 400ms cubic-bezier(.2,.8,.2,1) 620ms both;
}
.advantage-interactive:hover .advantage-card:hover .advantage-card-title {
  animation: advRise 400ms cubic-bezier(.2,.8,.2,1) 760ms both;
}
.advantage-interactive:hover .advantage-card:hover .advantage-card-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
  transition-delay: 900ms;
}
@keyframes advRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* 收起的卡片：介绍内容立即隐藏，编号与标题保持常显 */
.advantage-interactive:hover .advantage-card:not(:hover) .advantage-card-desc {
  opacity: 0;
  max-height: 0;
  transform: translateY(18px);
  transition-delay: 0ms;
}

/* 响应式：小屏改为纵向堆叠，文字常显、不做出现动画（触屏无悬停） */
@media (max-width: 1024px) {
  .advantage-interactive { height: auto; flex-direction: column; gap: 16px; }
  .advantage-card { flex: none; height: 120px; }
  .advantage-interactive:not(:hover) .advantage-card:first-child,
  .advantage-interactive:hover .advantage-card:not(:hover) { flex: none; }
  .advantage-interactive:hover .advantage-card:hover .advantage-card-num,
  .advantage-interactive:hover .advantage-card:hover .advantage-card-title { animation: none; }
  .advantage-card-num,
  .advantage-card-title,
  .advantage-card-desc {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }
  /* 覆盖桌面端两条高特异性显示规则（悬停展开 / 默认第一张） */
  .advantage-interactive:hover .advantage-card:hover .advantage-card-desc,
  .advantage-interactive:not(:hover) .advantage-card:first-child .advantage-card-desc {
    opacity: 1;
    transform: none;
    max-height: 60px;
    transition-delay: 0ms;
  }
  .advantage-card-desc { max-height: 60px; }
  .advantage-card-content { width: 100%; }
}
@media (max-width: 768px) {
  .advantage-card { height: 90px; }
  .advantage-card-num { font-size: 24px; }
  .advantage-card-title { font-size: 16px; }
}

/* ---- 新闻资讯：日期角标 + 标题摘要的列表卡片 ---- */
.news { background: var(--anda-background); }
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--anda-card);
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
		box-shadow: 0 0 3px 5px rgba(0, 0, 0, 0.03);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1),
              box-shadow 260ms cubic-bezier(.2,.8,.2,1);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.08);

}
.news-card:hover .news-title { color: var(--anda-primary); }
.news-card:hover .news-arrow {
  background: var(--anda-primary);
  color: var(--anda-white);
}
.news-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--anda-surface);
  flex-shrink: 0;
}
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-body {
  flex: 1;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 15px 15px;
  border: 1px solid #DDDDDD;
  border-top: none;
}
.news-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}
.news-title {
  min-height: 54px;
  font-size: 18px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 12px;
  line-height: 1.5;
  transition: color 260ms ease;
}
.news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: var(--anda-ink-2);
  margin: 0 0 18px;
}
.news-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--anda-primary);
  color: var(--anda-primary);
  border-radius: 50px;
  font-size: 14px;
  transition: background 260ms ease, color 260ms ease;
  margin-top: auto;
}
.news-more {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.news-more-card .news-date { min-height: 20px; }

/* ---- 联系引导条：底部电话 / 留言入口 ---- */
.contact-cta {
  position: relative;
  background:#000;
  color: var(--anda-primary-foreground);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}
/* 背景图片：铺满整条 CTA（section 本身即浏览器等宽），透明度 50%，
   蓝色底色透出与图片融合，内容文字置于图片上层 */
.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/ct.webp') center / cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}
.contact-cta > .container { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--anda-primary-foreground);
  margin: 0 0 16px;
}
.cta-subtitle {
  font-size: 16px;
  color: var(--anda-primary-foreground);
  opacity: 0.85;
  margin: 0 0 24px;
}
.cta-phone {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--anda-primary-foreground);
  margin: 0 0 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- 页脚：品牌信息、导航分组、二维码、版权条 ---- */
.site-footer {
  background: var(--anda-footer);
  color: var(--anda-primary-foreground);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;

}
.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--anda-background);
  margin: 0 0 16px;
}
.footer-en {
  font-size: 13px;
  color: var(--anda-blue-200);
  margin: 0 0 12px;
}
.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--anda-blue-200);
  margin: 0;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  font-size: 14px;
  color: var(--anda-blue-200);
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-links a {
  color: var(--anda-blue-200);
  text-decoration: none;
  transition: color 160ms ease;
}
.footer-links a:hover { color: var(--anda-white); }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--anda-primary-foreground) 15%, transparent);
  padding: 24px 0;
  font-size: 13px;
  color: var(--anda-blue-200);
  margin-top:40px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.newsletter-input {
  flex: 1 1 160px;
  min-width: 160px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--anda-primary-foreground) 20%, transparent);
  border-radius: var(--anda-radius-md);
  background: color-mix(in srgb, var(--anda-primary-foreground) 8%, transparent);
  color: var(--anda-background);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.newsletter-input::placeholder { color: var(--anda-blue-300); }
.newsletter-input:focus {
  border-color: var(--anda-white);
  background: color-mix(in srgb, var(--anda-primary-foreground) 12%, transparent);
}
.newsletter-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--anda-white);
  background: var(--anda-blue-600);
  border: none;
  border-radius: var(--anda-radius-md);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.newsletter-btn:hover { background: var(--anda-blue-500); transform: translateY(-1px); }
.footer-company { margin: 8px 0 12px; }
.footer-contact-list { margin-top: 12px; }
.footer-contact-list li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* ---- 返回顶部：滚动超过 400px 后浮现的圆形按钮 ---- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--anda-primary);
  color: var(--anda-primary-foreground);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--anda-shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, background 180ms ease;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--anda-blue-800); transform: translateY(-2px); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---- 悬浮社交面板：右侧固定按钮与展开的二维码面板 ---- */
.floating-social {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 48px;
  height: 48px;
  z-index: 90;
}
.social-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff9c00;
  color: var(--anda-primary-foreground);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--anda-shadow-3);
  transition: background 180ms ease, transform 180ms ease;
  z-index: 2;
}
.social-toggle:hover { background: var(--anda-blue-800); transform: translateY(-2px); }
.social-toggle svg { width: 22px; height: 22px; }
.social-panel {
  position: absolute;
  right: 56px;
  bottom: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  white-space: nowrap;
}
.floating-social.open .social-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--anda-primary);
  color: var(--anda-primary-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--anda-shadow-2);
  transition: background 180ms ease, transform 180ms ease;
}
.social-btn:hover { background: var(--anda-blue-800); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }

/* ---- 滚动入场动画：淡入上移（reveal）/ 缩放（reveal-scale）---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1),
              transform 650ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1),
              transform 650ms cubic-bezier(.2,.8,.2,1);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }

/* ---- 响应式：平板断点（<= 1024px）---- */
@media (max-width: 1200px) {
  .nav-desktop ul { gap: 22px; }
  .dropdown.mega { width: 620px; }
}
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .lang-switch { display: none; }
  #searchToggle { display: none; }
  .lang-switch-mobile { display: block; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero-banner { height: 100vh; min-height: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text { align-self: start; }
  .about-images { grid-template-columns: 1fr 1fr; }
  .about-img-high { margin-top: 0; }
  .about-img-low { margin-top: 0; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-carousel .product-card {
    flex: 0 0 calc((100% - 24px * 2) / 3);
    width: calc((100% - 24px * 2) / 3);
  }
  .news-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-body { padding: 18px 22px; }
  .news-title { font-size: 18px; min-height: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---- 响应式：手机断点（<= 768px / 480px）---- */
@media (max-width: 768px) {
  /* 与基础规则保持同特异性（双类名），确保能覆盖基础内边距 */
  .container.container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .site-header { height: 64px; }
  .header-inner { height: 64px; }
  .logo-img { height: 34px; }
  .mobile-nav { top: 64px; }
  .mobile-nav.open { max-height: calc(100dvh - 64px); }
  .hero-banner { height: 100vh; min-height: 460px; }
  .hero-slide-content { padding-top: 64px; }
  .banner-title { font-size: clamp(28px, 8vw, 44px); margin-bottom: 14px; }
  .banner-subtitle { font-size: 16px; margin-bottom: 24px; }
  .banner-cta { gap: 12px; }
  .banner-control { width: 40px; height: 40px; opacity: 0; visibility: hidden; }
  .hero-banner:hover .banner-control,
  .hero-banner:focus-within .banner-control { opacity: 0; visibility: hidden; }
  .banner-control.prev { left: 12px; }
  .banner-control.next { right: 12px; }
  .banner-dots { bottom: 18px; gap: 10px; }
  .banner-dot { width: 10px; height: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-container { padding: 0 18px; }
  .featured-carousel { padding: 0; margin: 0; }
  .featured-carousel .product-card {
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
  }
  .featured-track { gap: 16px; }
  .featured-controls { margin-top: 32px; }
  .news-list { grid-template-columns: 1fr; }
  .news-body { padding: 18px 20px; }
  .news-title { font-size: 17px; min-height: auto; margin-bottom: 10px; }
  .news-arrow { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .floating-social { right: 24px; bottom: 80px; }
  .social-btn { width: 36px; height: 36px; }
  .social-btn svg { width: 16px; height: 16px; }
  .contact-cta { padding: 64px 0; }
  .about-stats { gap: 32px; }
  .about-stat-num { font-size: 40px; }
  .stats-section { background-attachment: scroll; }
  .stats-grid { flex-direction: column; gap: 32px; }
  .stat-divider {
    width: 80px;
    height: 1px;
  }
  .stat-item { padding: 0; }
  .stat-num { font-size: 52px; }
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .featured-carousel .product-card {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* ---- 无障碍：系统开启「减少动态效果」时关闭动画 ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
  html { scroll-behavior: auto; }
  .site-header { transform: translateY(0); }
}

/* ============================================================
   22. 内页通用 · 页面 Banner（图片微微放大 + 文字入场动效）
   ============================================================ */
.page-banner {
  position: relative;
  width: 100%;
  height: 650px;
  min-height: 380px;
  overflow: hidden;
  background: var(--anda-foreground);
  /* 置于浏览器顶部：导航栏（fixed + 未滚动时透明白字）覆盖在 banner 上层 */
  margin-top: 0;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease-out;
}
body.is-loaded .page-banner-bg { transform: scale(1.12); }
.page-banner-overlay {
  position: absolute;
  inset: 0;
  /* 深蓝通栏遮罩：整体加深，减少图片透出的灰调 */
  background: linear-gradient(90deg, color-mix(in srgb, #03387c 80%, transparent) 0%, color-mix(in srgb, #03387c 50%, transparent) 40%, color-mix(in srgb, #03387c 30%, transparent) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--anda-white);
  max-width: 1400px;
}
.page-banner-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
}
.page-banner-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--anda-white);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.page-banner-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--anda-white) 85%, transparent);
  max-width: 560px;
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
/* 入场节奏与首页 banner 完全一致： eyebrow 220ms → 标题 360ms → 副标题 480ms 依次上滑淡入 */
body.is-loaded .page-banner-eyebrow { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
body.is-loaded .page-banner-title { opacity: 1; transform: translateY(0); transition-delay: 360ms; }
body.is-loaded .page-banner-subtitle { opacity: 1; transform: translateY(0); transition-delay: 480ms; }

/* ---- 响应式 Banner ---- */
@media (max-width: 768px) {
  .page-banner { height: 320px; min-height: 240px; margin-top: 0; }
  .page-banner-title { font-size: clamp(22px, 6vw, 32px); }
  .page-banner-subtitle { font-size: 14px; }
}

/* ============================================================
   23. 内页通用 · 面包屑 + 子导航合并栏（子导航在左，面包屑在右）
   ============================================================ */
.subnav-bar {
  background: var(--anda-background);
  border-bottom: 1px solid var(--anda-border);
  position: sticky;
  top: 72px;
  z-index: 50;
}
@media (max-width: 1080px) {
  .subnav-bar { top: 64px; }
}
.subnav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

/* ---- 左侧：子导航 ---- */
.subnav-inline {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}
.subnav-inline::-webkit-scrollbar { display: none; }
.subnav-inline { -ms-overflow-style: none; scrollbar-width: none; }
.subnav-inline-link {
  display: inline-block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--anda-ink-2);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 180ms ease;
}
.subnav-inline-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--anda-primary);
  transform: scaleX(0);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.subnav-inline-link:hover { color: var(--anda-primary); }
.subnav-inline-link.active { color: var(--anda-primary); font-weight: 600; }
.subnav-inline-link.active::after { transform: scaleX(1); }

/* ---- 右侧：面包屑（带首页图标） ---- */
.breadcrumb-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--anda-ink-3);
  flex-shrink: 0;
  flex-wrap: nowrap;
  margin-left: auto;
}
.breadcrumb-inline a {
  color: var(--anda-ink-2);
  text-decoration: none;
  transition: color 160ms ease;
  display: inline-flex;
  align-items: center;
}
.breadcrumb-inline a:hover { color: var(--anda-primary); }
.breadcrumb-inline .current { color: var(--anda-primary); font-weight: 500; }
.breadcrumb-inline .sep { color: var(--anda-ink-3); font-size: 12px; user-select: none; }
.breadcrumb-inline .home-icon { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .subnav-bar-inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .breadcrumb-inline { padding: 8px 0 12px; font-size: 13px; }
  .subnav-inline-link { padding: 12px 16px; font-size: 14px; }
}

/* ============================================================
   25. 内页通用 · 主内容区容器
   ============================================================ */
.page-main { padding: 60px 0 80px; }
.page-main.section-sm { padding: 48px 0 64px; }
.page-content { max-width: 1200px; margin: 0 auto; }

/* ---- 内页通用段落排版 ---- */
.rich-text { font-size: 16px; line-height: 1.85; color: var(--anda-ink-2); }
.rich-text p { margin: 0 0 18px; text-align: justify; }
.rich-text h3 { font-size: 22px; font-weight: 600; color: var(--anda-foreground); margin: 36px 0 16px; }
.rich-text h4 { font-size: 18px; font-weight: 600; color: var(--anda-foreground); margin: 28px 0 12px; }
.rich-text img { max-width: 100%; border-radius: var(--anda-radius-md); margin: 20px 0; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 0px; }
.rich-text li { margin-bottom: 8px; line-height: 1.7; }
.rich-text strong { color: var(--anda-foreground); font-weight: 600; }

/* ============================================================
   26. 关于安达 · 锚点导航 + 板块排版
   ============================================================ */
.about-anchor-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.about-anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--anda-ink-2);
  text-decoration: none;
  border: 1px solid var(--anda-border);
  border-radius: 40px;
  transition: all 200ms cubic-bezier(.2,.8,.2,1);
}
.about-anchor-link:hover,
.about-anchor-link.active {
  color: var(--anda-primary-foreground);
  background: var(--anda-primary);
  border-color: var(--anda-primary);
}
.about-block { margin-bottom: 72px; scroll-margin-top: 140px; }
.about-block:last-child { margin-bottom: 0; }
.about-block-head {
  text-align: center;
  margin-bottom: 36px;
}
.about-block-head .eyebrow { margin-bottom: 8px; }

/* ---- 公司介绍 · 数据表 ---- */
.company-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.company-stat-card {
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  padding: 24px;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.company-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--anda-shadow-2);
}
.company-stat-label { font-size: 14px; color: var(--anda-ink-3); margin-bottom: 8px; }
.company-stat-value { font-size: 28px; font-weight: 700; color: var(--anda-primary); }

/* ---- 总经理致辞 ---- */
.ceo-message {
  background: var(--anda-surface);
  border-radius: var(--anda-radius-lg);
  padding: 48px;
  border-left: 4px solid var(--anda-primary);
}
.ceo-message .rich-text { font-size: 17px; line-height: 2; }

/* ---- 发展历程 · 时间线 ---- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--anda-primary), var(--anda-blue-300));
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--anda-primary);
  border: 3px solid var(--anda-background);
  box-shadow: 0 0 0 2px var(--anda-primary);
}
.timeline-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--anda-primary);
  margin-bottom: 6px;
}
.timeline-event {
  font-size: 15px;
  line-height: 1.7;
  color: var(--anda-ink-2);
}

/* ---- 荣誉证书 · 图墙 ---- */
/* 荣誉证书：单排横向轮播 */
.honor-carousel { position: relative; }
.honor-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px 10px;
}
.honor-track::-webkit-scrollbar { display: none; }
.honor-item {
  flex: 0 0 calc((100% - 72px) / 4);
  text-align: center;
}
/* 箭头移到列表下方，居中排列，颜色淡 */
.honor-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.honor-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--anda-border) 60%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--anda-ink-3) 70%, transparent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.honor-btn:hover {
  background: var(--anda-primary);
  color: var(--anda-primary-foreground);
  border-color: var(--anda-primary);
}
.honor-btn svg { width: 20px; height: 20px; }
.honor-btn[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }
.honor-img-wrap {
  aspect-ratio: 3 / 4;
  background: var(--anda-surface);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
}
.honor-item:hover .honor-img-wrap {
  transform: translateY(-6px);
  box-shadow: var(--anda-shadow-3);
}
.honor-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.honor-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: var(--anda-ink-3);
  font-size: 13px;
}
.honor-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.honor-name { font-size: 14px; color: var(--anda-ink-2); margin-top: 12px; }

@media (max-width: 1024px) {
  .company-stats { grid-template-columns: repeat(2, 1fr); }
  .honor-item { flex-basis: calc((100% - 48px) / 3); }  /* 一屏 3 张 */
}
@media (max-width: 768px) {
  .company-stats { grid-template-columns: 1fr; }
  .honor-item { flex-basis: calc((100% - 24px) / 2); }
  .honor-btn { width: 36px; height: 36px; }
  .ceo-message { padding: 28px 20px; }
  .about-anchor-link { padding: 8px 18px; font-size: 14px; }
}

/* ============================================================
   27. 产品列表 · 侧边栏分类 + 产品网格 + 分页
   ============================================================ */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.products-sidebar {
  position: sticky;
  top: 130px;
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  /* 左右内边距为 0：让每条分类（含子级）的高亮背景通栏铺满整个卡片宽度 */
  padding: 20px 0;
}
.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--anda-primary);
}
.category-tree { list-style: none; margin: 0; padding: 0; }
.category-tree-item { margin-bottom: 2px; }
.category-tree-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 背景通栏铺满卡片宽度：左右内边距改为 20px，与标题栏对齐，圆角去掉 */
  padding: 10px 20px;
  font-size: 14px;
  color: var(--anda-ink-2);
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.category-tree-link:hover { background: var(--anda-surface); color: var(--anda-primary); }
.category-tree-link.active { background: var(--anda-primary); color: var(--anda-primary-foreground); font-weight: 500; }
.category-tree-link .chevron { width: 14px; height: 14px; transition: transform 200ms ease; }
.category-tree-link.expanded .chevron { transform: rotate(90deg); }
.category-sub {
  list-style: none;
  margin: 0;
  /* 缩进改由子项文字内边距体现，子级背景同样通栏铺满 */
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.category-sub.open { max-height: 500px; }
.category-sub a {
  display: block;
  padding: 8px 20px 8px 36px;
  font-size: 13px;
  color: var(--anda-ink-3);
  text-decoration: none;
  border-radius: 0;
  transition: color 160ms ease, background 160ms ease;
}
.category-sub a:hover { color: var(--anda-primary); background: var(--anda-surface); }
.category-sub a.active { color: var(--anda-primary); font-weight: 500; }

/* ---- 产品网格 ---- */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.products-count { font-size: 14px; color: var(--anda-ink-3); }
.products-count strong { color: var(--anda-primary); font-weight: 600; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-item {
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
}
.product-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--anda-shadow-3);
}
.product-item-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--anda-surface);
}
.product-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.product-item:hover .product-item-img { transform: scale(1.06); }
.product-item-body { padding: 16px 20px 20px; }
.product-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 8px;
  transition: color 200ms ease;
}
.product-item:hover .product-item-name { color: var(--anda-primary); }
.product-item-desc {
  font-size: 13px;
  color: var(--anda-ink-3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 分页 ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--anda-ink-2);
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
}
.page-btn:hover { border-color: var(--anda-primary); color: var(--anda-primary); }
.page-btn.active {
  background: var(--anda-primary);
  border-color: var(--anda-primary);
  color: var(--anda-primary-foreground);
  font-weight: 600;
}
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-btn svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   28. 产品详情 · 图集 + 参数 + 相关产品
   ============================================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.detail-gallery { position: sticky; top: 130px; }
.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  background: var(--anda-surface);
  margin-bottom: 16px;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid var(--anda-border);
  border-radius: var(--anda-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 180ms ease;
}
.gallery-thumb.active { border-color: var(--anda-primary); }
.gallery-thumb:hover { border-color: var(--anda-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { display: flex; flex-direction: column; }
.detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--anda-foreground);
  margin: 0 0 12px;
}
.detail-subtitle { font-size: 16px; color: var(--anda-ink-3); margin-bottom: 24px; }
.detail-specs {
  background: var(--anda-surface);
  border-radius: var(--anda-radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.detail-specs-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 16px;
}
.detail-specs-table { width: 100%; border-collapse: collapse; }
.detail-specs-table th,
.detail-specs-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--anda-border);
  text-align: left;
}
.detail-specs-table th {
  color: var(--anda-ink-3);
  font-weight: 500;
  width: 40%;
}
.detail-specs-table td { color: var(--anda-foreground); font-weight: 500; }
.detail-specs-table tr:last-child th,
.detail-specs-table tr:last-child td { border-bottom: none; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- 详情描述区 ---- */
.detail-description {
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  padding: 40px;
  margin-bottom: 48px;
}
.detail-description-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--anda-blue-500);
}

/* ---- 上一条/下一条 ---- */
.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.detail-nav-item {
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  text-decoration: none;
  transition: all 200ms ease;
}
.detail-nav-item:hover { border-color: var(--anda-primary); box-shadow: var(--anda-shadow-1); }
.detail-nav-label { font-size: 13px; color: var(--anda-ink-3); margin-bottom: 6px; }
.detail-nav-title { font-size: 15px; color: var(--anda-foreground); font-weight: 500; transition: color 180ms ease; }
.detail-nav-item:hover .detail-nav-title { color: var(--anda-primary); }
.detail-nav-next { text-align: right; }

/* ---- 相关产品 ---- */
.related-section { margin-bottom: 0; }
.related-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--anda-primary);
}
.related-carousel {
  position: relative;
  overflow: hidden;
}
.related-track {
  display: flex;
  gap: 20px;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}
.related-card {
  flex: 0 0 calc((100% - 80px) / 5);
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--anda-shadow-2); }
.related-card-img-wrap { aspect-ratio: 1 / 1; overflow: hidden; background: var(--anda-surface); }
.related-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.related-card:hover .related-card-img { transform: scale(1.05); }
.related-card-name { padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--anda-foreground); }
.related-controls { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }

@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .detail-gallery { position: static; }
  .related-card { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 768px) {
  .detail-title { font-size: 22px; }
  .detail-description { padding: 24px 20px; }
  .related-card { flex: 0 0 calc((100% - 20px) / 2); }
}

/* ============================================================
   29. 新闻列表 · 分页展示
   ============================================================ */
.news-page-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-page-more { margin-top: 48px; display: flex; justify-content: center; }

@media (max-width: 1024px) {
  .news-page-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-page-list { grid-template-columns: 1fr; }
}

/* ============================================================
   30. 新闻详情 · 文章排版
   ============================================================ */
.article-layout { max-width: 900px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--anda-border); }
.article-title { font-size: 30px; font-weight: 700; color: var(--anda-foreground); margin: 0 0 16px; line-height: 1.4; }
.article-meta { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: var(--anda-ink-3); flex-wrap: wrap; }
.article-meta-item { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--anda-ink-2); }
.article-body p { margin: 0 0 22px; text-align: justify; }
.article-body img { max-width: 100%; border-radius: var(--anda-radius-md); margin: 24px 0; display: block; }
.article-body h3 { font-size: 20px; font-weight: 600; color: var(--anda-foreground); margin: 32px 0 16px; }

/* ---- 新闻详情 · 上下篇导航 ---- */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--anda-border);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .article-title { font-size: 22px; }
  .article-body { font-size: 15px; }
}

/* ============================================================
   31. 客户服务 · 销售网络 + 留言表单
   ============================================================ */
.network-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.network-intro .rich-text { font-size: 16px; }
.network-map {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 2 / 1;
  background: var(--anda-surface);
  border-radius: var(--anda-radius-lg);
  overflow: hidden;
}
.network-map svg { width: 100%; height: 100%; }
.network-center {
  fill: var(--anda-primary);
}
.network-line {
  stroke: var(--anda-primary);
  stroke-width: 1.5;
  fill: none;
  opacity: 0;
  stroke-dasharray: 8 4;
  animation: dashFlow 2s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}
.network-pulse {
  fill: var(--anda-primary);
  opacity: 0;
  transform-origin: center;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2); }
}

/* ---- 客户留言表单 ---- */
.contact-form-section {
  max-width: 760px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 14px;
  color: var(--anda-foreground);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-label .required { color: #e53e3e; margin-left: 2px; }
.form-input,
.form-textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-sm);
  background: var(--anda-card);
  color: var(--anda-foreground);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  font-family: var(--anda-font-sans);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--anda-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--anda-primary) 14%, transparent);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 12px; }

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ============================================================
   32. 人力资源 · 招聘列表
   ============================================================ */
.hr-intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.hr-intro-img {
  border-radius: var(--anda-radius-lg);
  overflow: hidden;
  background: var(--anda-surface);
}
/* 图片按自身比例显示，不裁剪 */
.hr-intro-img img { display: block; width: 100%; height: auto; }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  transition: box-shadow 220ms ease;
}
.job-card:hover { box-shadow: var(--anda-shadow-2); }
.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  flex-wrap: wrap;
}
.job-card-head:hover { background: var(--anda-surface); }
.job-title-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.job-title { font-size: 18px; font-weight: 600; color: var(--anda-foreground); }
.job-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  font-size: 13px;
  color: var(--anda-primary);
  background: color-mix(in srgb, var(--anda-primary) 10%, transparent);
  border-radius: 20px;
  font-weight: 500;
}
.job-date { font-size: 13px; color: var(--anda-ink-3); }
.job-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--anda-surface);
  color: var(--anda-ink-2);
  transition: transform 220ms ease, background 180ms ease;
}
.job-card.open .job-toggle { transform: rotate(180deg); background: var(--anda-primary); color: var(--anda-white); }
.job-toggle svg { width: 16px; height: 16px; }
.job-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
}
.job-card.open .job-card-body { max-height: 600px; }
.job-card-inner { padding: 20px 24px 24px; }
.job-section { margin-bottom: 20px; }
.job-section:last-child { margin-bottom: 0; }
.job-section-title { font-size: 15px; font-weight: 600; color: var(--anda-primary); margin: 0 0 10px; }
.job-section ul { list-style: none; margin: 0; padding: 0; }
.job-section li { font-size: 14px; color: var(--anda-ink-2); line-height: 1.8; padding-left: 16px; position: relative; }
.job-section li::before { content: '·'; position: absolute; left: 0; color: var(--anda-primary); font-weight: 700; }
.job-contact {
  margin-top: 16px;
  padding: 16px;
  /*background: var(--anda-muted);*/
  border-radius: var(--anda-radius-sm);
  font-size: 14px;
  color: var(--anda-ink-2);
}
.job-contact strong { color: var(--anda-primary); }

@media (max-width: 768px) {
  .hr-intro-section { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   32b. 人力资源 · v2 增强
   - 人才理念图片悬停放大（框不动）
   - 招聘卡片：默认收起 / 手风琴 / 鼠标经过互动
   - 招聘人数上下左对齐 / 发布时间靠右上下左对齐
   ============================================================ */
.hr-intro-img { position: relative; }
.hr-intro-img img {
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.hr-intro-img:hover img { transform: scale(1.08); }

/* 招聘卡片：交互强化 */
.job-card {
  transition: box-shadow 240ms ease, border-color 200ms ease, transform 240ms ease;
}
.job-card:hover {
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--anda-primary) 22%, transparent);
  border-color: color-mix(in srgb, var(--anda-primary) 50%, var(--anda-border));
  transform: translateY(-2px);
}
.job-card.open {
  border-color: var(--anda-primary);
  box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--anda-primary) 30%, transparent);
}
.job-card-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  transition: background 200ms ease;
}
.job-card-head:hover { background: var(--anda-surface); }
.job-card.open .job-card-head { background: var(--anda-surface); border-bottom: 1px solid var(--anda-border); }
.job-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.job-title { font-size: 17px; font-weight: 600; color: var(--anda-foreground); }
.job-count {
  display: inline-flex;
  align-items: center;
  padding: 3px 14px;
  font-size: 13px;
  color: var(--anda-primary);
  background: color-mix(in srgb, var(--anda-primary) 10%, transparent);
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.job-date {
  font-size: 13px;
  color: var(--anda-ink-2);
  text-align: right;
  justify-self: end;
  white-space: nowrap;
}
.job-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--anda-surface);
  color: var(--anda-ink-2);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), background 200ms ease, color 200ms ease;
}
.job-card.open .job-toggle {
  transform: rotate(180deg);
  background: var(--anda-primary);
  color: var(--anda-white);
}
@media (max-width: 600px) {
  .job-card-head {
    grid-template-columns: auto auto;
    gap: 12px 16px;
    padding: 18px 20px;
  }
  .job-date { grid-column: 1 / -1; text-align: left; justify-self: start; }
  .job-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
}

/* ============================================================
   33. 联系我们 · 信息展示 + 地图
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  transition: box-shadow 200ms ease;
}
.contact-info-item:hover { box-shadow: var(--anda-shadow-1); }
.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--anda-radius-sm);
  background: color-mix(in srgb, var(--anda-primary) 10%, transparent);
  color: var(--anda-primary);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-text { flex: 1; }
.contact-info-label { font-size: 14px; color: var(--anda-ink-3); margin-bottom: 4px; }
.contact-info-value { font-size: 16px; color: var(--anda-foreground); font-weight: 500; line-height: 1.6; }

.contact-map-wrap {
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--anda-surface);
}
.contact-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--anda-ink-3);
}
.contact-map-placeholder svg { width: 64px; height: 64px; opacity: 0.3; }
.contact-map-placeholder span { font-size: 14px; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map-wrap { aspect-ratio: 4 / 3; }
}

/* ============================================================
   33b. 联系我们 · v2 增强（左右等高 + 卡片悬停上移变蓝）
   ============================================================ */
.contact-layout { align-items: stretch; }
.contact-info-list { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
  height: 100%;
}
.contact-info-item {
  flex: 1;
  border: 1px solid var(--anda-border);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 200ms ease;
}
.contact-info-item:hover {
  transform: translateY(-6px);
  border-color: var(--anda-primary);
  border-left-color: var(--anda-primary);
  box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--anda-primary) 28%, transparent);
}
.contact-info-item:hover .contact-info-icon {
  background: var(--anda-primary);
  color: var(--anda-white);
  transform: scale(1.08);
}
.contact-info-item:hover .contact-info-label { color: var(--anda-primary); }
.contact-info-icon { transition: transform 220ms ease, background 200ms ease, color 200ms ease; }
.contact-map-wrap {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
}
@media (max-width: 768px) {
  .contact-info-list { gap: 12px; }
  .contact-info-item { flex: 0 0 auto; }
  .contact-map-wrap { min-height: 300px; aspect-ratio: 4 / 3; }
}

/* ============================================================
   34. 客户服务 · v2（1400px 宽度 + 静态世界地图）
   ============================================================ */
body[data-page="service"] .page-main > .container,
body[data-page="service"] .service-main { max-width: 1400px; }
.service-network-map {
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 0;
  border-radius: var(--anda-radius-lg);
  overflow: hidden;
  background: var(--anda-surface);
  border: 1px solid var(--anda-border);
  position: relative;
}
.service-network-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.service-network-map .map-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: color-mix(in srgb, #000 60%, transparent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.service-main { max-width: 1400px; margin: 0 auto; }
.service-block { max-width: 1400px; margin: 0 auto; }
.service-block .contact-form-section { max-width: 1400px; }
@media (max-width: 1500px) {
  body[data-page="service"] .page-main > .container,
  body[data-page="service"] .service-main,
  .service-block,
  .service-block .contact-form-section { max-width: 1180px; }
}
@media (max-width: 768px) {
  body[data-page="service"] .page-main > .container,
  body[data-page="service"] .service-main,
  .service-block,
  .service-block .contact-form-section { max-width: 100%; }
}

/* ============================================================
   35. 新闻详情 · v2（去 banner + 相关新闻横滚 4 个一排）
   ============================================================ */
body.news-detail-page .article-layout { max-width: 960px; margin: 30px auto 0; }
/* 新闻详情页无 banner，subnav-bar 需避开 fixed header(72px)，否则标题被遮盖 */
body.news-detail-page .subnav-bar { margin-top: 72px; }
@media (max-width: 1080px) {
  body.news-detail-page .subnav-bar { margin-top: 64px; }
}
.related-news-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}
.related-news-track {
  display: flex;
  gap: 20px;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}
.related-news-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 240ms ease, border-color 200ms ease;
}
.related-news-card:hover {
  border-color: var(--anda-primary);
  box-shadow: var(--anda-shadow-2);
}
.related-news-card:hover .news-title { color: var(--anda-primary); }
.related-news-card .news-img-wrap { aspect-ratio: 16 / 9; overflow: hidden; background: var(--anda-surface); }
.related-news-card .news-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.related-news-card:hover .news-img { transform: scale(1.05); }
.related-news-card .news-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.related-news-card .news-date { font-size: 13px; color: var(--anda-ink-3); margin-bottom: 8px; }
.related-news-card .news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 8px;
  line-height: 1.5;
  transition: color 200ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-news-card .news-excerpt {
  font-size: 13px;
  color: var(--anda-ink-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-news-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 10px;
  box-sizing: border-box;
}
.related-news-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  color: var(--anda-ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 220ms ease;
  box-shadow: var(--anda-shadow-1);
}
.related-news-btn:hover {
  background: var(--anda-primary);
  color: var(--anda-white);
  border-color: var(--anda-primary);
  transform: translateY(-50%) scale(1.08);
}
.related-news-btn svg { width: 20px; height: 20px; }
.related-news-btn.disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 1024px) {
  .related-news-card { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 768px) {
  .related-news-card { flex: 0 0 calc((100% - 20px) / 2); }
}

/* ============================================================
   36. 产品列表 · v2（分类树增强 + 当前分类标题 + 卡片阴影加深）
   ============================================================ */
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 卡片左右内边距已改为 0，此处只需抵消顶部内边距贴到卡片顶边 */
  margin: -20px 0 0;
  padding: 0 20px;
  background: #215ea1;
  height: 55px;
  border-bottom: none;
  box-sizing: border-box;
  border-radius: var(--anda-radius-md) var(--anda-radius-md) 0 0;
}
.sidebar-head .sidebar-title {
  margin: 0;
  border: none;
  padding: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 55px;
}
.sidebar-toggle-all {
  font-size: 12px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  transition: opacity 200ms ease;
}
.sidebar-toggle-all:hover { opacity: 0.7; text-decoration: underline; }

/* 一级分类焦点状态 */
.category-tree-link.active,
.category-tree-link.focused {
  background: color-mix(in srgb, var(--anda-primary) 12%, transparent);
  color: var(--anda-primary);
  font-weight: 600;
}
.category-tree-link[data-has-children].expanded {
  background: color-mix(in srgb, var(--anda-primary) 8%, transparent);
  color: var(--anda-primary);
  font-weight: 600;
}
.category-tree-link[data-has-children].expanded .chevron { transform: rotate(90deg); color: var(--anda-primary); }

/* 当前分类标题（在产品个数左边显示） */
.products-toolbar-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}
.current-cat-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--anda-primary);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  padding-left: 14px;
}
.current-cat-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: var(--anda-primary);
  border-radius: 2px;
}
.products-count-inline { font-size: 14px; color: var(--anda-ink-3); }
.products-count-inline strong { color: var(--anda-primary); font-weight: 600; }
.products-toolbar-right { margin-left: auto; }

/* 卡片悬停阴影加深 */
.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--anda-primary) 30%, transparent),
              0 8px 16px -8px color-mix(in srgb, #000 18%, transparent);
  border-color: color-mix(in srgb, var(--anda-primary) 35%, var(--anda-border));
}

/* ============================================================
   37. 产品详情 · v2（图集箭头+拖动 / 参数去背景加横线 / 描述阴影）
   ============================================================ */
.gallery-main { position: relative; user-select: none; -webkit-user-select: none; }
.gallery-main-img { cursor: grab; -webkit-user-drag: none; user-drag: none; }
.gallery-main.dragging .gallery-main-img { cursor: grabbing; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, #000 45%, transparent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  backdrop-filter: blur(6px);
  z-index: 5;
}
.gallery-arrow:hover {
  background: var(--anda-primary);
  transform: translateY(-50%) scale(1.1);
}
.gallery-arrow svg { width: 22px; height: 22px; }
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }

/* 产品参数：去掉背景底色，每条参数下面加横线（基础样式，后台换表无需另加样式） */
.detail-specs {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 28px;
}
.detail-specs-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--anda-foreground);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--anda-primary);
}
/* 通用规范表：每行底部一条横线 */
.detail-specs-table { width: 100%; border-collapse: collapse; }
.detail-specs-table th,
.detail-specs-table td {
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--anda-border);
  text-align: left;
}
.detail-specs-table tr:last-child th,
.detail-specs-table tr:last-child td { border-bottom: none; }
.detail-specs-table th {
  color: var(--anda-ink-3);
  font-weight: 500;
  width: 35%;
}
.detail-specs-table td { color: var(--anda-foreground); font-weight: 500; }

/* 产品描述框阴影 */
.detail-description {
  background: var(--anda-card);
  border: 1px solid var(--anda-border);
  border-radius: var(--anda-radius-lg);
  padding: 48px;
  margin-bottom: 56px;
  box-shadow: 0 12px 32px -10px color-mix(in srgb, var(--anda-primary) 14%, transparent),
              0 4px 12px -4px color-mix(in srgb, #000 8%, transparent);
  transition: box-shadow 260ms ease;
}
.detail-description:hover {
  box-shadow: 0 20px 48px -12px color-mix(in srgb, var(--anda-primary) 22%, transparent),
              0 8px 20px -6px color-mix(in srgb, #000 12%, transparent);
}
@media (max-width: 768px) {
  .detail-description { padding: 28px 20px; }
}

/* ============================================================
   38. 关于安达 · v2（1400px + 创意图文布局 + 角标 + 横向时间线）
   ============================================================ */
body[data-page="about"] .page-main > .container { max-width: 1400px; }
body[data-page="about"] .about-block { max-width: 1400px; margin: 0 auto 80px; }
body[data-page="about"] .about-block-head { margin-bottom: 40px; }

/* 发展历程：整个模块内容底层铺一张背景图，透明度 50%，内容置于其上层
   —— 背景横向通栏铺满浏览器宽度（突破 .container 的 1400px 限制），
      上下留白（模块内边距）一并被背景图覆盖 */
#development {
  position: relative;
  padding: 80px 0;
  min-height: 780px;
}
#development::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;               /* 通栏：以视口宽度为准 */
  transform: translateX(-50%);
  background: url('../img/delevopment.webp') center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}
/* 模块的标题、副标题、时间线等内容提到背景图上层 */
#development > * { position: relative; z-index: 1; }

/* 背景图之上：模块内文字全部改为白色 */
#development .eyebrow,
#development .section-title,
#development .section-subtitle,
#development .timeline-h-year,
#development .timeline-h-event { color: var(--anda-white); }

/* 公司介绍：创意图文布局 */
.about-intro-creative {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.about-intro-creative::before {
  content: '';
  position: absolute;
  top: 0px;
  left: -25px;
  width: 50px;
  height: 50px;
  border-top: 3px solid var(--anda-primary);
  border-left: 3px solid var(--anda-primary);
  border-radius: 0 0 0 0;
  opacity: 0.5;
}
.about-intro-text { padding: 8px 0; }
.about-intro-text .rich-text { font-size: 16px; line-height: 2; }
.about-intro-text .rich-text p { margin-bottom: 18px; }
.about-intro-img-wrap {
  position: relative;
  border-radius: var(--anda-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--anda-shadow-2);
}
.about-intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.about-intro-img-wrap:hover img { transform: scale(1.05); }
.about-intro-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--anda-primary);
  opacity: 0.08;
  border-radius: var(--anda-radius-md);
  z-index: -1;
}
/* 公司介绍：响应式 —— 平板 / 手机收为单列，避免文字被挤压 */
@media (max-width: 1024px) {
  .about-intro-creative {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  .about-intro-creative::before { left: -6px; }  /* 角标装饰向内收，避免贴边 */
}
@media (max-width: 600px) {
  .about-intro-creative { gap: 24px; }
  .about-intro-text { padding: 0; }
  .about-intro-text .rich-text { font-size: 15px; line-height: 1.9; }
  .about-intro-img-wrap { aspect-ratio: 3 / 2; }
}

/* 核心数据：去掉几项，其他数据一排布局，+号变角标 */
.company-stats-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 0;
  padding: 30px 25px;
  /* background: linear-gradient(135deg, color-mix(in srgb, var(--anda-primary) 5%, transparent), color-mix(in srgb, var(--anda-blue-300) 10%, transparent)); */
  border-radius: 0;
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--anda-primary) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--anda-primary) 30%, transparent);
}
.company-stat-inline {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 8px 12px;
}
.company-stat-inline .stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--anda-primary);
  line-height: 1.2;
  display: inline-flex;
  align-items: baseline;
  position: relative;
}
.company-stat-inline .stat-value sup {
  font-size: 14px;
  font-weight: 600;
  color: var(--anda-primary);
  line-height: 1;
  position: relative;
  top: -0.8em;
  margin-left: 1px;
}
.company-stat-inline .stat-value .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--anda-ink-2);
  margin-left: 4px;
}
.company-stat-inline .stat-label {
  font-size: 13px;
  color: var(--anda-ink-3);
  margin-top: 10px;
  letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
  .company-stats-inline { flex-wrap: wrap; }
  .company-stat-inline { min-width: 30%; }
}
@media (max-width: 600px) {
  .company-stat-inline { min-width: 45%; }
  .company-stat-inline .stat-value { font-size: 28px; }
}

/* 总经理致辞：全宽灰色背景，高度600px，标题和内容在背景区域内 */
#ceo-message {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  margin-bottom: 0 !important;
}
#ceo-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: color-mix(in srgb, var(--anda-surface) 35%, var(--anda-background));
  z-index: 0;
}
#ceo-message > * { position: relative; z-index: 1; }

/* 总经理致辞：图文布局，与公司介绍不重样 */
.ceo-message-creative {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}
.ceo-message-creative::before {
  display: none;
}
.ceo-portrait {
  width: 100%;
  border-radius: var(--anda-radius-md);
  overflow: hidden;
  background: var(--anda-card);
  box-shadow: var(--anda-shadow-2);
  position: relative;
  z-index: 1;
}
/* 图片按自身比例显示，不裁剪 */
.ceo-portrait img { display: block; width: 100%; height: auto; }
.ceo-portrait-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, color-mix(in srgb, #000 70%, transparent));
  color: #fff;
  padding: 32px 16px 14px;
  font-size: 14px;
  text-align: center;
}
.ceo-message-text {
  position: relative;
  z-index: 1;
}
.ceo-message-text .rich-text { font-size: 17px; line-height: 2.1; color: var(--anda-ink-2); }
.ceo-message-text .rich-text p { margin-bottom: 20px; }
.ceo-signature {
  margin-top: 24px;
  font-size: 15px;
  color: var(--anda-primary);
  font-weight: 600;
  text-align: right;
}
@media (max-width: 768px) {
  .ceo-message-creative { grid-template-columns: 1fr; gap: 28px; }
  .ceo-portrait { max-width: 100%; margin: 0 auto; }
  #ceo-message { min-height: auto; padding: 48px 0; }
}

/* 发展历程：横向时间线，箭头切换（默认5个，超出箭头翻页） */
.timeline-wrapper {
  position: relative;
}
.timeline-horizontal {
  position: relative;
  overflow: hidden;
  padding: 40px 0 24px;
}
.timeline-h-track {
  display: flex;
  gap: 0;
  padding: 0;
  position: relative;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.timeline-h-track::before {
  content: '';
  position: absolute;
  left: 0;
  /* 横线长度 = 轨道全部内容宽度（含切换到视野外的年份），
     由 main.js 在 updateTimeline 里写入 --line-w；未写入时退化为 100% */
  width: var(--line-w, 100%);
  top: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--anda-primary), var(--anda-blue-300));
}
.timeline-h-item {
  flex: 0 0 calc(100% / 5);
  text-align: center;
  padding: 0 12px;
  position: relative;
  box-sizing: border-box;
}
.timeline-h-year {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  /* 悬停时数字放大，移开恢复原大小 */
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.timeline-h-item:hover .timeline-h-year { transform: scale(1.35); }
.timeline-h-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--anda-card);
  border: 3px solid var(--anda-primary);
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  /* 模块底层是 50% 透明度的背景图：点位外圈改半透明白色光圈，
     与底图融合，同时保持「隔断横线」的效果 */
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--anda-white) 40%, transparent);
  transition: transform 220ms ease;
}
.timeline-h-item:hover .timeline-h-dot { transform: scale(1.3); background: var(--anda-primary); }
.timeline-h-event {
  font-size: 14px;
  color: var(--anda-ink-2);
  line-height: 1.6;
  padding: 0 4px;
}
/* 箭头控制：置于历程横线的左右两端，并向外各移出一个按钮宽度（44px），
   落在横线区域的外侧
   （横线在 wrapper 内的纵向位置 = timeline-horizontal 上内边距 40px + 轨道横线 top 60px = 100px） */
.timeline-controls {
  position: absolute;
  top: 100px;
  left: -44px;
  right: -44px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  pointer-events: none;   /* 中间空档不拦截时间线的鼠标拖动 */
  z-index: 3;
}
/* 视口 ≤1500px 时容器外侧只剩 24px 内边距，外移幅度收窄，避免箭头被视口裁切 */
@media (max-width: 1500px) {
  .timeline-controls { left: -24px; right: -24px; }
}
.timeline-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--anda-border);
  background: color-mix(in srgb, var(--anda-card) 88%, transparent);
  color: var(--anda-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.timeline-arrow:hover {
  background: var(--anda-primary);
  color: var(--anda-primary-foreground);
  transform: scale(1.05);
}
.timeline-arrow svg { width: 20px; height: 20px; }
.timeline-arrow[disabled] { opacity: 0.3; cursor: default; pointer-events: none; }
/* 背景图片 */
.timeline-bg-image {
  margin-top: 40px;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--anda-radius-lg);
  position: relative;
}
.timeline-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .timeline-h-item { flex: 0 0 calc(100% / 2); }
  .timeline-bg-image { height: 180px; }
  /* 手机端：箭头缩小（36px），外移幅度按容器 18px 内边距收窄，避免盖住年份文字 / 被视口裁切 */
  .timeline-arrow { width: 36px; height: 36px; }
  .timeline-arrow svg { width: 16px; height: 16px; }
  .timeline-controls { left: -18px; right: -18px; padding: 0; }
}
.timeline-h-tip { display: none; }
