/**
 * 博精仪器 — 实验室仪器/科学器材企业官网样式
 * 设计基调：冷静 · 专业 · 科学 · 严谨
 * 主色：深蓝 #1A365D / 中蓝 #2B6CB0 / 白 #FFF / 浅灰 #F7FAFC / 银灰 #E2E8F0
 * 技术栈：原生CSS + CSS变量 + AOS动画兼容 + Swiper
 * ★ 所有 z-index 已规划层级 (13.3)
 */


/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 主色调 — 深蓝系 */
  --primary: #1A365D;
  --primary-dark: #0F2440;
  --primary-light: #2B6CB0;
  --primary-dim: rgba(26, 54, 93, 0.06);
  --primary-glow: rgba(26, 54, 93, 0.12);

  /* 辅助色 */
  --accent: #3182CE;
  --accent-light: #63B3ED;

  /* 背景色阶 */
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-lighter: #EDF2F7;
  --bg-card: #FFFFFF;
  --bg-section-alt: #F7FAFC;

  /* 文字色阶 */
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-muted: #A0AECB;
  --text-inverse: #FFFFFF;

  /* 边框 */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E0;
  --border-blue: rgba(43, 108, 176, 0.2);

  /* 阴影 — 克制、专业 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(26, 54, 93, 0.1);

  /* 圆角 — 小圆角专业感 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* 间距 */
  --section-py: 90px;
  --section-py-sm: 60px;
  --container-max: 1200px;
  --header-h: 76px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* 字体 */
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
}

/* ============================================================
   全局重置
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: var(--bg-section-alt);
}

.section--primary {
  background: var(--primary);
  color: var(--text-inverse);
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--ghost {
  color: var(--primary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: var(--primary-dim);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: var(--bg-lighter);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   Header — 白色实底+深色文字 (13.11)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.header__logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--primary);
  background: var(--primary-dim);
}

/* Nav Dropdown (13.3: z-index fix) */
.header__nav-item {
  position: relative;
}
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 60;
}
.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.header__dropdown a:hover {
  background: var(--primary-dim);
  color: var(--primary);
}

/* Header CTA */
.header__cta {
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}
.header__cta:hover {
  background: var(--primary-light);
}

/* Hamburger (13.4: 独立于 nav__actions) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 105;
  box-shadow: var(--shadow-lg);
  padding: 80px 24px 40px;
  overflow-y: auto;
  transition: right var(--duration-normal) var(--ease-out);
}
.mobile-nav.active { right: 0; }
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}
.mobile-nav__overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav__link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}
.mobile-nav__sub {
  display: none;
  padding: 4px 0 12px 16px;
}
.mobile-nav__sub.active { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   Hero / Banner
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero .swiper { width: 100%; height: 100%; }
.hero .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 36, 64, 0.65) 0%, rgba(26, 54, 93, 0.4) 50%, rgba(15, 36, 64, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 750px;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__actions .btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.hero__actions .btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.hero .swiper-pagination {
  bottom: 40px !important;
  z-index: 4;
}
.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}
.hero .swiper-pagination-bullet-active {
  background: #fff;
}

.hero__scroll {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(150%); }
  100% { transform: translateY(150%); }
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  margin-top: var(--header-h);
}
.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 64, 0.7) 0%, rgba(26, 54, 93, 0.55) 100%);
}
.inner-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.inner-banner__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.inner-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { margin: 0 6px; font-size: 0.6rem; color: var(--text-muted); }

/* ============================================================
   数字统计区
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-white);
}
.stat-item {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid var(--border-light);
  transition: all var(--duration-normal);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--primary-dim); }
.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   卡片系统
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-lighter);
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.card:hover .card__image img {
  transform: scale(1.04);
}
.card__body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card__title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}
.card__meta i { color: var(--primary-light); font-size: 0.75rem; }

/* 产品卡片变体 */
.card--product .card__image {
  aspect-ratio: 1 / 1;
  background: var(--bg-light);
  padding: 24px;
}
.card--product .card__image img {
  object-fit: contain;
}
.card--product .card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.card--product .card__param {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* 分类卡片 */
.card--category {
  text-align: center;
  padding: 36px 20px;
  align-items: center;
  cursor: pointer;
}
.card--category .card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-dim);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 14px;
  transition: all var(--duration-normal);
}
.card--category:hover .card__icon {
  background: var(--primary);
  color: #fff;
}
.card--category .card__title {
  font-size: 1.02rem;
}

/* 案例卡片 */
.card--case .card__image {
  aspect-ratio: 16 / 10;
}

/* 新闻卡片 */
.card--news {
  flex-direction: row;
}
.card--news .card__image {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.card--news .card__body {
  padding: 20px 24px;
}
.card--news .card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   分类筛选条（产品列表页）
   ============================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.filter-pill:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-dim);
}
.filter-pill.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   网格系统
   ============================================================ */
.list-grid {
  display: grid;
  gap: 24px;
}
.list-grid--2 { grid-template-columns: repeat(2, 1fr); }
.list-grid--3 { grid-template-columns: repeat(3, 1fr); }
.list-grid--4 { grid-template-columns: repeat(4, 1fr); }
.list-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-section {
  background: var(--primary);
  padding: 70px 0;
  text-align: center;
}
.cta-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-section .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   关于我们
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   详情页
   ============================================================ */
.detail-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

/* 左侧边栏 */
.sidebar {
  flex-shrink: 0;
}
.sidebar__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.sidebar__nav {
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}
.sidebar__nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}
.sidebar__nav a:last-child { border-bottom: none; }
.sidebar__nav a:hover,
.sidebar__nav a.active {
  background: var(--primary-dim);
  color: var(--primary);
  font-weight: 500;
}

/* 产品详情 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.product-detail__gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
}
.product-detail__gallery .swiper-slide {
  aspect-ratio: 1;
}
.product-detail__gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.product-detail__info h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.product-detail__info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.product-detail__info .tag {
  font-size: 0.8rem;
  padding: 4px 14px;
  background: var(--primary-dim);
  color: var(--primary);
  border-radius: 20px;
  border: 1px solid var(--border-blue);
}
.product-detail__params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 24px;
}
.product-detail__param {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  background: var(--bg-white);
}
.product-detail__param:nth-child(odd) { border-right: 1px solid var(--border-light); }
.product-detail__param:nth-child(even) { border-right: none; }
.product-detail__param-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.product-detail__param-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Tab 切换 */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  gap: 0;
  margin-top: 48px;
}
.tab-btn {
  padding: 14px 28px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content {
  display: none;
  padding: 32px 0;
}
.tab-content.active { display: block; }

/* 内容正文 */
.content-body {
  line-height: 1.85;
  color: var(--text-secondary);
}
.content-body img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-body th, .content-body td { border: 1px solid var(--border-light); padding: 10px 14px; text-align: left; }
.content-body th { background: var(--bg-light); font-weight: 600; color: var(--text-primary); }

/* 上下篇 */
.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  margin-top: 40px;
}
.prev-next a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 45%;
}
.prev-next a:hover { color: var(--primary); }

/* 新闻元信息 */
.news-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.news-meta span { display: flex; align-items: center; gap: 6px; }
.news-meta i { color: var(--primary-light); }

/* ============================================================
   联系页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* 表单 */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-group .required { color: #E53E3E; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--duration-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ============================================================
   技术资料（下载卡片）
   ============================================================ */
.resource-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal);
}
.resource-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-sm);
}
.resource-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.resource-card__info { flex: 1; }
.resource-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.resource-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.pagination a:hover,
.pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 空状态 */
.no-data {
  text-align: center;
  padding: 64px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.no-data i {
  display: block;
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* ============================================================
   搜索
   ============================================================ */
.search-bar {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 48px;
}
.search-bar .form-control { flex: 1; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}
.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 40px;
}
.footer__col-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer__links a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast);
}
.footer__links a:hover { color: #fff; }
.footer__contact-item {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  align-items: flex-start;
}
.footer__contact-item i {
  color: var(--accent-light);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__qrcode {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}
.footer__social a:hover {
  border-color: #fff;
  color: #fff;
}

/* 友链 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}
.friend-links__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.friend-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}
.friend-links a:hover { color: #fff; }

/* 底部版权栏 */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 0;
}
.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.online-service {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  cursor: pointer;
  transition: all var(--duration-normal);
}
.online-service:hover {
  background: var(--primary-light);
  transform: scale(1.08);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal);
  cursor: pointer;
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   应用方案区块
   ============================================================ */
.app-card {
  display: flex;
  gap: 32px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: all var(--duration-normal);
}
.app-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-sm);
}
.app-card__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border-medium);
  flex-shrink: 0;
  line-height: 1;
}
.app-card__content { flex: 1; }
.app-card__content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* ============================================================
   响应式 (断点768px)
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .list-grid--4, .list-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-page { grid-template-columns: 1fr; }
  .card--news { flex-direction: column; }
  .card--news .card__image { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; --section-py-sm: 40px; }

  .hero { height: 70vh; min-height: 420px; max-height: 560px; }
  .hero__title { font-size: 1.8rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; align-items: center; }

  .inner-banner { height: 200px; }
  .inner-banner__title { font-size: 1.5rem; }

  .section__title { font-size: 1.6rem; }
  .stat-item__number { font-size: 2.2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .list-grid--2, .list-grid--3, .list-grid--4, .list-grid--5 { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .tabs { overflow-x: auto; }
  .tab-btn { padding: 12px 16px; white-space: nowrap; font-size: 0.85rem; }

  .product-detail__params { grid-template-columns: 1fr; }
  .product-detail__param { border-right: none !important; }

  .app-card { flex-direction: column; gap: 16px; }

  .prev-next { flex-direction: column; gap: 8px; }
  .prev-next a { max-width: 100%; }
}

@media (max-width: 480px) {
  .list-grid--2, .list-grid--3, .list-grid--4, .list-grid--5 { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.4rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px; }
}
/* Mobile layout refinement: scientific catalogue, 2026-09-14.
   Desktop rules above remain unchanged. */
@media (max-width: 767px) {
  :root { --section-py: 32px; --section-py-sm: 24px; --header-h: 64px; }
  .container, .breadcrumb, .header__inner, .footer__grid, .footer__bottom-inner { padding-left: 16px; padding-right: 16px; }
  .header__inner { justify-content: space-between; gap: 10px; }
  .header__logo { min-width: 0; flex-shrink: 1; gap: 8px; }
  .header__logo-text { min-width: 0; }
  .header__logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .header__logo-name { font-size: 16px; }
  .header__logo-sub { font-size: 9px; letter-spacing: 0; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .mobile-nav { width: min(300px, 90vw); height: 100dvh; visibility: hidden; }
  .mobile-nav.active { visibility: visible; }
  [data-aos] { transform: none !important; opacity: 1 !important; }
  .hero { height: 350px; min-height: 350px; max-height: none; }
  .hero__content { padding: 24px 16px 70px; }
  .hero__title { font-size: 25px; margin-bottom: 12px; }
  .hero__subtitle { font-size: 14px; margin-bottom: 22px; }
  .hero__actions { flex-direction: row; gap: 10px; }
  .btn { padding: 10px 15px; font-size: 13px; min-height: 44px; white-space: normal; justify-content: center; }
  .hero__scroll { bottom: 35px; gap: 3px; font-size: 9px; }
  .hero__scroll-line { height: 15px; }
  .hero .swiper-pagination { bottom: 12px !important; }
  .inner-banner { height: 150px; }
  .inner-banner__subtitle { font-size: 13px; }
  .inner-banner__content { padding: 18px 16px; }
  .breadcrumb-bar { padding: 10px 0; }
  .breadcrumb { font-size: 12px; overflow-wrap: anywhere; }
  .section__header { margin-bottom: 22px; }
  .section__tag { font-size: 10px; margin-bottom: 6px; }
  .section__title { font-size: 22px; margin-bottom: 8px; }
  .section__subtitle { font-size: 13px; }
  .stat-item { padding: 18px 8px; }
  .stat-item__number { font-size: 28px; margin-bottom: 3px; }
  .stat-item__label { font-size: 12px; }
  .list-grid--2, .list-grid--3, .list-grid--4, .list-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .list-grid > *, .card__body, .resource-card__info, .product-detail > *, .detail-page > *, .form-group, .footer__grid > * { min-width: 0; }
  .card__body { padding: 12px; gap: 6px; }
  .card__title { font-size: 14px; overflow-wrap: anywhere; }
  .card__desc { font-size: 12px; display: block; overflow: visible; }
  .card__tag, .card__meta { font-size: 11px; }
  .card--product .card__image { padding: 10px; }
  .card--product .card__param { padding: 3px 6px; font-size: 10px; overflow-wrap: anywhere; }
  .card--category { padding: 16px 10px; }
  .card--category .card__icon { width: 40px; height: 40px; font-size: 20px; margin-bottom: 9px; }
  .card--category .card__title { font-size: 14px; }
  .card--category p { font-size: 11px !important; }
  .list-grid:has(> .resource-card) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .resource-card { padding: 14px; gap: 12px; }
  .resource-card__icon { width: 36px; height: 40px; font-size: 19px; }
  .resource-card__title { font-size: 14px; }
  .resource-card__meta { font-size: 12px; }
  .card--news { flex-direction: row; align-items: stretch; }
  .card--news .card__image { width: 30%; height: auto; min-height: 130px; }
  .card--news .card__body { padding: 12px; }
  .category-filter { margin-bottom: 20px; gap: 8px; }
  .filter-pill { padding: 8px 12px; font-size: 12px; }
  .pagination { flex-wrap: wrap; margin-top: 24px; }
  .pagination a { min-width: 32px; padding: 0 8px; }
  .cta-section { padding: 32px 0; }
  .cta-section__title { font-size: 22px; }
  .footer { padding-top: 30px; }
  .footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px 16px; }
  .footer__grid > :first-child, .footer__grid > :nth-child(3) { grid-column: 1 / -1; }
  .footer__grid > :nth-child(2) { grid-row: 2; }
  .footer__grid > :nth-child(4) { grid-row: 2; }
  .footer__col-title { font-size: 14px; margin-bottom: 10px; }
  .footer__brand-desc, .footer__links a, .footer__contact-item { font-size: 12px; }
  .footer__links a { padding: 8px 0; }
  .footer__contact-item { overflow-wrap: anywhere; padding: 5px 0; }
  .friend-links { margin-top: 24px; padding: 16px 0; gap: 10px; }
  .footer__bottom-inner { font-size: 11px; padding-bottom: 36px; overflow-wrap: anywhere; }
  .online-service { width: 44px; height: 44px; right: 12px; bottom: 16px; font-size: 19px; }
  .back-top { right: 12px; bottom: 70px; width: 40px; height: 40px; }
  .content-body { font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
  .content-body * { max-width: 100%; }
  .content-body img { height: auto !important; }
  .content-body table { table-layout: fixed; }
  .content-body th, .content-body td { padding: 8px 6px; overflow-wrap: anywhere; }
  .content-body [style*="grid-template-columns"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; }
  .product-detail, .detail-page, .about-grid, .contact-grid { gap: 24px; }
  .product-detail__gallery { max-width: 300px; width: 100%; margin-inline: auto; }
  .product-detail__info h1 { font-size: 22px; }
  .product-detail__params { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; }
  .product-detail__param { padding: 12px; overflow-wrap: anywhere; }
  .product-detail__param-value { font-size: 13px; }
  .tabs { margin-top: 24px; flex-wrap: wrap; overflow: visible; }
  .tab-btn { padding: 12px; font-size: 12px; }
  .tab-content { padding: 20px 0; }
  .app-card { flex-direction: row; padding: 16px; gap: 12px; }
  .app-card__num { font-size: 26px; }
  .app-card__content { min-width: 0; }
  .form-card { padding: 18px; }
  .form-card form > [style*="grid-template-columns"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  .form-control { min-width: 0; max-width: 100%; padding: 10px; font-size: 14px; }
  .form-group { margin-bottom: 14px; }
  .form-group:has([name="checkcode"]) > div { flex-wrap: wrap; }
  .contact-info-item { min-width: 0; padding: 16px 12px !important; gap: 10px; flex-direction: column; }
  .contact-info-value { font-size: 13px; overflow-wrap: anywhere; }
  .contact-info-icon { width: 32px; height: 32px; }
  .container > [style*="grid-template-columns"]:has(> .contact-info-item) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 767px) { .header:has(.hamburger.active) { z-index: 106; } }

