/* ==========================================================
   企业官网 · 响应式主样式
   断点：>=1200 宽屏 | 992~1199 桌面 | 768~991 平板 | <768 手机
   全部使用变量，改一处即可换主题；不依赖任何外部 CDN
   ========================================================== */

/* ---------- 主题变量 ---------- */
:root {
  --brand:        #1666f2;
  --brand-dark:   #0b47b8;
  --brand-light:  #e8f0ff;
  --accent:       #ff6a00;
  --ink:          #1b2330;
  --ink-2:        #3d4757;
  --ink-3:        #6b7684;
  --ink-4:        #9aa4b2;
  --line:         #e6eaf0;
  --bg:           #ffffff;
  --bg-soft:      #f6f8fb;
  --bg-dark:      #131a26;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 2px 8px rgba(20, 32, 60, .06);
  --shadow:       0 8px 28px rgba(20, 32, 60, .10);
  --shadow-lg:    0 18px 50px rgba(20, 32, 60, .16);
  --header-h:     76px;
  --container:    1220px;
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--ink); font-weight: 700; line-height: 1.35; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand); }
img, svg, video { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: var(--brand); color: #fff; }

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col { padding: 0 12px; flex: 1 1 0%; min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section { padding: 76px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #c9d2df; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide { display: none !important; }

/* ---------- 通用标题块 ---------- */
.title-block { text-align: center; margin-bottom: 48px; }
.title-block .sub {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 10px;
}
.title-block h2 { font-size: 2rem; margin-bottom: 12px; position: relative; }
.title-block h2::after {
  content: ''; display: block; width: 46px; height: 3px; margin: 16px auto 0;
  background: var(--brand); border-radius: 3px;
}
.title-block p.lead { color: var(--ink-3); max-width: 640px; margin: 14px auto 0; }
.section-dark .title-block h2 { color: #fff; }
.section-dark .title-block p { color: #9aa6b8; }
/* 左对齐变体 */
.title-left { text-align: left; }
.title-left h2::after { margin-left: 0; }
.title-left p.lead { margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .28s var(--ease); background: var(--brand); color: #fff;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 102, 242, .3); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand); box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-light); color: var(--brand); }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ==========================================================
   Header（导航栏）
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(230, 234, 240, .8);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .97); }
.header.transparent {
  background: transparent; border-bottom-color: rgba(255, 255, 255, .18);
}
.header.transparent .logo-name { color: #fff; }
.header.transparent .logo-sub { color: rgba(255, 255, 255, .7); }
.header.transparent .nav > ul > li > a { color: rgba(255, 255, 255, .92); }
.header.transparent .nav-toggle span { background: #fff; }
.header.transparent.scrolled { background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); }
.header.transparent.scrolled .logo-name { color: var(--ink); }
.header.transparent.scrolled .logo-sub { color: var(--ink-4); }
.header.transparent.scrolled .nav > ul > li > a { color: var(--ink-2); }
.header.transparent.scrolled .nav-toggle span { background: var(--ink); }
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.logo img, .logo svg { width: auto; height: 40px; }
.logo img { max-width: 220px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.logo-sub { font-size: 10px; color: var(--ink-4); letter-spacing: 1.2px; text-transform: uppercase; }

/* 主导航 */
.nav { flex: 1; display: flex; justify-content: flex-end; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 16px; border-radius: 8px;
  font-size: 15px; color: var(--ink-2); font-weight: 500; transition: all .25s var(--ease);
}
.nav > ul > li > a:hover { color: var(--brand); background: var(--brand-light); }
.nav > ul > li.active > a { color: var(--brand); }
.nav > ul > li.active > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
/* 下拉二级菜单 */
.nav > ul > li.has-sub > a::before {
  content: ''; width: 5px; height: 5px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform .25s var(--ease); opacity: .7;
}
.nav > ul > li.has-sub:hover > a::before { transform: rotate(-135deg); }
.nav .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 180px; padding: 8px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .26s var(--ease); border-top: 2px solid var(--brand);
}
.nav > ul > li.has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav .submenu a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.nav .submenu a:hover { background: var(--brand-light); color: var(--brand); }
/* 抽屉底部入口仅在移动端出现 */
.nav-foot { display: none; }

/* 顶部右侧联系 / 搜索 */
.header-extra { display: flex; align-items: center; gap: 14px; flex: none; }
.header-tel { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: 16px; }
.header-tel svg { width: 18px; height: 18px; fill: var(--brand); }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; cursor: pointer; position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: all .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* 移动端抽屉遮罩 */
.nav-mask {
  position: fixed; inset: 0; background: rgba(10, 16, 28, .55); z-index: 998;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.nav-mask.show { opacity: 1; visibility: visible; }

body.has-nav-open { overflow: hidden; }

/* 抽屉展开时头部强制白底，保证 LOGO 与汉堡按钮为深色、可辨识 */
body.has-nav-open .header,
body.has-nav-open .header.transparent,
body.has-nav-open .header.transparent.scrolled {
  background: #fff; border-bottom-color: var(--line);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.has-nav-open .header .logo-name,
body.has-nav-open .header.transparent .logo-name,
body.has-nav-open .header.transparent.scrolled .logo-name { color: var(--ink); }
body.has-nav-open .header .logo-sub,
body.has-nav-open .header.transparent .logo-sub { color: var(--ink-4); }
body.has-nav-open .header .nav-toggle span,
body.has-nav-open .header.transparent .nav-toggle span { background: var(--ink); }

/* ==========================================================
   Banner 轮播
   ========================================================== */
.banner { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: var(--bg-dark); }
.banner-slides { position: relative; height: 100%; }
.banner-item {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.banner-item.active { opacity: 1; visibility: visible; }
.banner-item::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8, 16, 34, .82) 0%, rgba(8, 16, 34, .55) 45%, rgba(8, 16, 34, .15) 100%);
}
.banner-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.banner-item.active .banner-img { transform: scale(1); }
.banner-caption {
  position: absolute; z-index: 2; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  padding: 0 20px;
}
.banner-caption .inner { max-width: var(--container); margin: 0 auto; }
.banner-caption .tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  color: #fff; font-size: 13px; letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, .2);
}
.banner-caption h1 { color: #fff; font-size: 3rem; line-height: 1.25; margin-bottom: 18px; font-weight: 800; }
.banner-caption h1 em { font-style: normal; color: var(--accent); }
.banner-caption .desc { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 560px; margin-bottom: 32px; }
.banner-caption .btns { display: flex; flex-wrap: wrap; gap: 14px; }
/* 动画 */
.banner-item.active .tag,
.banner-item.active h1,
.banner-item.active .desc,
.banner-item.active .btns { animation: fadeUp .9s var(--ease) both; }
.banner-item.active h1    { animation-delay: .12s; }
.banner-item.active .desc { animation-delay: .24s; }
.banner-item.active .btns { animation-delay: .36s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
/* 指示器 */
.banner-dots { position: absolute; z-index: 3; bottom: 42px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.banner-dots button {
  width: 28px; height: 4px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: all .3s var(--ease);
}
.banner-dots button.active { background: #fff; width: 44px; }
/* 箭头 */
.banner-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  background: rgba(0, 0, 0, .2); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: all .3s var(--ease); backdrop-filter: blur(4px);
}
.banner-arrow:hover { background: var(--brand); border-color: var(--brand); }
.banner-arrow.prev { left: 28px; } .banner-arrow.next { right: 28px; }
.banner-arrow svg { width: 20px; height: 20px; fill: #fff; }
/* 向下提示 */
.scroll-tip {
  position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .7); font-size: 12px; text-align: center; letter-spacing: 1px;
}
.scroll-tip::after {
  content: ''; display: block; width: 1px; height: 22px; margin: 6px auto 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .8), transparent);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* ==========================================================
   页面头部 Banner（内页）
   ========================================================== */
.page-banner {
  position: relative; padding: 128px 0 68px; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0d2f6b 0%, #1666f2 55%, #2b86ff 100%);
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='rgba(255,255,255,.07)' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='50'/%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .9;
}
.page-banner .inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 2.4rem; margin-bottom: 12px; }
.page-banner .lead { color: rgba(255, 255, 255, .8); font-size: 15px; margin: 0; }

/* 面包屑 */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; padding: 14px 0; color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--ink-4); }
.breadcrumb .cur { color: var(--ink); }

/* ==========================================================
   服务优势（数字 / 图标块）
   ========================================================== */
.advantage-bar { background: var(--bg-dark); color: #fff; padding: 44px 0; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-item { text-align: center; padding: 0 10px; position: relative; }
.advantage-item + .advantage-item::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .16), transparent);
}
.advantage-num {
  font-size: 2.3rem; font-weight: 800; line-height: 1.1;
  background: linear-gradient(180deg, #fff, #8ab4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.advantage-title { margin-top: 6px; color: #fff; font-size: 15px; font-weight: 600; }
.advantage-desc { color: #8b96a8; font-size: 13px; margin: 0; }

/* 图标卡 */
.feature-card {
  padding: 34px 26px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); text-align: center;
  transition: all .35s var(--ease); position: relative; overflow: hidden; z-index: 1;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(160deg, var(--brand-light), #fff 60%);
  transition: opacity .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 16px; background: var(--brand-light); color: var(--brand);
  transition: all .35s var(--ease);
}
.feature-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.feature-card:hover .feature-icon { background: var(--brand); color: #fff; transform: rotateY(180deg) scale(1.05); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ==========================================================
   产品卡片
   ========================================================== */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column;
  transition: all .35s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge {
  padding: 3px 9px; border-radius: 5px; font-size: 11px; color: #fff; font-weight: 500;
  background: var(--brand); letter-spacing: .5px;
}
.badge.new { background: #22b573; }
.badge.rec { background: var(--accent); }
.product-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-model { font-size: 12px; color: var(--ink-4); letter-spacing: .5px; }
.product-card h3 { font-size: 16px; margin: 4px 0 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .desc {
  color: var(--ink-3); font-size: 13.5px; margin-bottom: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.product-price { color: var(--accent); font-weight: 700; font-size: 15px; }
.product-more { font-size: 13px; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.product-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .3s var(--ease); }
.product-card:hover .product-more svg { transform: translateX(4px); }

/* 圆形分类块 */
.category-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; margin: 0 8px 10px 0;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); transition: all .28s var(--ease);
}
.category-pill:hover, .category-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 40px; }

/* ==========================================================
   产品详情
   ========================================================== */
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.gallery { position: relative; }
.gallery-main {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; aspect-ratio: 4/3; display: grid; place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 78px; height: 78px; padding: 0; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: #fff; transition: all .25s var(--ease); flex: none;
}
.gallery-thumbs button:hover, .gallery-thumbs button.active { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 1.9rem; margin-bottom: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-meta div { font-size: 13px; color: var(--ink-3); }
.detail-meta strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.detail-price-box { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.detail-price-box .p { color: var(--accent); font-size: 1.6rem; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* 富文本内容排版 */
.rich { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.rich h2 { font-size: 1.5rem; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--brand); }
.rich h3 { font-size: 1.2rem; margin-top: 1.4em; }
.rich p { margin-bottom: 1.1em; }
.rich img { border-radius: var(--radius); margin: 18px 0; }
.rich ul, .rich ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.rich ul li { list-style: disc; margin-bottom: .4em; }
.rich ol li { list-style: decimal; margin-bottom: .4em; }
.rich blockquote { margin: 20px 0; padding: 14px 20px; background: var(--bg-soft); border-left: 3px solid var(--brand); color: var(--ink-3); }
.rich table { margin: 20px 0; font-size: 14px; border: 1px solid var(--line); }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 14px; }
.rich th { background: var(--bg-soft); font-weight: 600; text-align: left; }

/* 参数表 */
.param-table { margin-top: 48px; }
.param-table h3 { margin-bottom: 18px; }
.param-table table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.param-table th, .param-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.param-table th { background: var(--bg-soft); width: 30%; text-align: left; font-weight: 600; color: var(--ink); }
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: 0; }

/* ==========================================================
   新闻
   ========================================================== */
.news-card {
  display: flex; gap: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  transition: all .35s var(--ease);
}
.news-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.news-date {
  flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink); border-right: 1px solid var(--line); align-self: stretch;
}
.news-date .d { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.news-date .m { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.news-card:hover .news-date { background: var(--brand); color: #fff; }
.news-card:hover .news-date .m { color: rgba(255, 255, 255, .8); }
.news-body { padding: 18px 22px; flex: 1; min-width: 0; }
.news-card h3 { font-size: 16px; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .desc { font-size: 13.5px; color: var(--ink-3); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .meta { font-size: 12px; color: var(--ink-4); display: flex; gap: 14px; }

/* 图文竖排新闻 */
.news-grid-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: all .35s var(--ease); }
.news-grid-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.news-grid-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); position: relative; }
.news-grid-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-grid-card:hover .thumb img { transform: scale(1.08); }
.news-grid-card .thumb .date-tag {
  position: absolute; left: 12px; top: 12px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px);
  color: #fff; padding: 5px 10px; border-radius: 6px; font-size: 12px; line-height: 1.3; text-align: center;
}
.news-grid-card .thumb .date-tag b { display: block; font-size: 17px; }
.news-grid-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-grid-card h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid-card .desc { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 侧边栏 */
.sidebar-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 24px; }
.sidebar-block h3 { font-size: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.side-list .no { flex: none; width: 20px; height: 20px; border-radius: 4px; background: var(--bg-soft);
  color: var(--ink-4); display: grid; place-items: center; font-size: 11px; font-weight: 600; margin-top: 3px; }
.side-list li:nth-child(-n+3) .no { background: var(--brand); color: #fff; }
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

/* ==========================================================
   案例
   ========================================================== */
.case-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; aspect-ratio: 4/3; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card:hover img { transform: scale(1.1); }
.case-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(to top, rgba(8, 16, 34, .9) 0%, rgba(8, 16, 34, .1) 65%, transparent 100%);
  color: #fff; transition: background .35s var(--ease);
}
.case-card:hover .overlay { background: linear-gradient(to top, rgba(22, 102, 242, .92) 0%, rgba(22, 102, 242, .3) 65%, transparent 100%); }
.case-card .cat { font-size: 12px; opacity: .85; margin-bottom: 4px; letter-spacing: .5px; }
.case-card h3 { color: #fff; font-size: 17px; margin: 0; }
.case-card .summary { font-size: 13px; opacity: 0; max-height: 0; overflow: hidden; transition: all .35s var(--ease); color: rgba(255, 255, 255, .9); }
.case-card:hover .summary { opacity: 1; max-height: 60px; margin-top: 6px; }

/* ==========================================================
   表单
   ========================================================== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form-label .req { color: #e5484d; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: all .25s var(--ease); font-size: 14.5px; color: var(--ink);
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 102, 242, .12); outline: none; }
textarea.form-control { min-height: 120px; resize: vertical; line-height: 1.7; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; }
.form-msg.err { background: #fdecec; color: #c62828; border: 1px solid #f8c9c9; }
.form-msg.ok  { background: #e9f7ef; color: #1e7e45; border: 1px solid #b7e3c9; }

/* 联系信息条 */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-item { text-align: center; padding: 26px 16px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: all .3s var(--ease); }
.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-item .ic { width: 52px; height: 52px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-light); color: var(--brand); }
.contact-item .ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.contact-item .lb { font-size: 13px; color: var(--ink-4); }
.contact-item .vl { font-size: 16px; font-weight: 600; color: var(--ink); word-break: break-all; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--bg-dark); color: #8b96a8; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer .logo-name { color: #fff; }
.footer-intro { margin: 16px 0; line-height: 1.8; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #8b96a8; }
.footer-list a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.7; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--brand); flex: none; margin-top: 4px; }
.footer-qr { display: flex; gap: 18px; align-items: center; }
.footer-qr img { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 8px; }
.footer-bottom a:hover { color: #fff; }

/* 移动端底部快捷栏 */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 14px rgba(20, 32, 60, .08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  transition: opacity .26s var(--ease), visibility .26s var(--ease), transform .26s var(--ease);
}
.mobile-bar .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px;
  font-size: 11px; color: var(--ink-3); text-align: center;
}
.mobile-bar a svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.mobile-bar a.on { color: var(--brand); }

/* 回到顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 90px; z-index: 990; width: 44px; height: 44px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink-3);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ==========================================================
   分页
   ========================================================== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 0; }
.page-link {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; color: var(--ink-2);
  transition: all .25s var(--ease);
}
a.page-link:hover { border-color: var(--brand); color: var(--brand); }
.page-link.current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.page-link.disabled { color: var(--ink-4); background: var(--bg-soft); cursor: not-allowed; }
.page-dots { padding: 0 4px; color: var(--ink-4); }
.page-total { font-size: 13px; color: var(--ink-4); margin-left: 10px; }

/* 滚动淡入 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.field-tip { color: #e5484d; font-size: 12px; margin-top: 4px; }

/* 空状态 */
.empty { text-align: center; padding: 70px 20px; color: var(--ink-4); }
.empty svg { width: 64px; height: 64px; opacity: .35; margin: 0 auto 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ==========================================================
   响应式：<=1200px
   ========================================================== */
@media (max-width: 1200px) {
  :root { --container: 100%; }
  .nav > ul > li > a { padding: 10px 12px; font-size: 14.5px; }
  .banner-caption h1 { font-size: 2.6rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- <=1024px ---------- */
@media (max-width: 1024px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { order: 2; }
  .detail-top { grid-template-columns: 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .advantage-item:nth-child(3)::before { display: none; }
}

/* ==========================================================
   响应式：<=900px  平板 / 手机（抽屉导航）
   ========================================================== */
@media (max-width: 900px) {
  :root { --header-h: 62px; }

  /* 【重要修复】.header 上的 backdrop-filter 会让 header 成为 position:fixed 子元素的
     包含块（CSS Filter Effects 规定），导致移动端抽屉导航 .nav 被压缩进 62px 高的头部内，
     菜单项全部溢出被裁掉、点了"显示不出来"。移动端关闭毛玻璃即可恢复整屏抽屉。 */
  .header,
  .header.transparent,
  .header.transparent.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav-toggle { display: block; }
  .header-extra .header-tel { display: none; }
  /* LOGO 兜底限宽，避免超宽 LOGO 图把汉堡按钮挤出屏幕 */
  .logo img { max-width: 50vw; }
  .logo-text { min-width: 0; }
  .logo-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }

  /* ===== 右侧抽屉导航（移动端） =====
     【踩坑记录】
     1) 抽屉本身必须脱离 flex：旧版把 .nav 设为 flex、靠 ul 的 align-items:stretch 撑宽，
        但 ul 作为 flex item 宽度是 shrink-to-fit，实测只有 100px，菜单项全挤在左边、
        右侧大片留白 —— 这就是"对不齐"的真正原因；
     2) 二级菜单必须彻底重置 transform：桌面 hover 规则 .has-sub:hover > .submenu 带着
        translateX(-50%)，在移动端点击后触发 :hover 残留，把子菜单整体左移半个宽度，
        跑到抽屉外面 —— 这就是"错位/遮挡"的原因；
     3) 子菜单展开不再用固定 max-height（分类多时会被裁切），改用 display 切换 + 入场动画。 */
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: auto;
    width: min(86vw, 330px); max-width: none;
    z-index: 999; display: block; flex: none;
    background: #fff; box-shadow: -14px 0 44px rgba(16, 26, 48, .18);
    transform: translateX(105%); visibility: hidden;
    transition: transform .32s var(--ease), visibility .32s var(--ease);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 6px 0 calc(26px + env(safe-area-inset-bottom));
    justify-content: flex-start;
  }
  .nav.open { transform: none; visibility: visible; }

  .nav > ul { display: block; width: 100%; padding: 0; margin: 0; }

  /* 一级菜单：整行铺满、左文字右箭头、细分隔线 */
  .nav > ul > li { display: block; width: 100%; }
  .nav > ul > li + li { border-top: 1px solid var(--line); }
  .nav > ul > li > a,
  .header .nav > ul > li > a,
  .header.transparent .nav > ul > li > a,
  .header.transparent.scrolled .nav > ul > li > a {
    display: flex; align-items: center; width: 100%;
    padding: 16px 20px; border: 0; border-radius: 0; background: transparent;
    font-size: 15.5px; font-weight: 500; color: var(--ink-2);
    text-align: left; line-height: 1.4;
  }
  /* 点击态 / 当前页高亮（必须带上与上面同级的 .header.transparent 选择器，
     否则会被"抽屉内文字统一深色"那条高优先级规则覆盖掉背景色） */
  .nav > ul > li > a:hover,
  .nav > ul > li > a:active,
  .header .nav > ul > li > a:hover,
  .header .nav > ul > li > a:active,
  .header.transparent .nav > ul > li > a:hover,
  .header.transparent.scrolled .nav > ul > li > a:hover { background: var(--bg-soft); color: var(--brand); }

  .nav > ul > li.active > a,
  .header .nav > ul > li.active > a,
  .header.transparent .nav > ul > li.active > a,
  .header.transparent.scrolled .nav > ul > li.active > a { color: var(--brand); background: var(--brand-light); }
  /* 当前页左侧竖条（需显式重置桌面下划线用的 right / height） */
  .nav > ul > li.active > a::after {
    content: ''; display: block; position: absolute;
    left: 0; right: auto; top: 13px; bottom: 13px; height: auto; width: 3px;
    border-radius: 0 3px 3px 0; background: var(--brand);
  }

  /* 展开箭头移到行尾（::before 是 flex 第一项，用 order 排到最后） */
  .nav > ul > li.has-sub:hover > a::before { transform: rotate(45deg) translate(-1px, -1px); }
  .nav > ul > li.has-sub > a::before {
    order: 2; margin-left: auto; margin-right: 2px;
    width: 6px; height: 6px; flex: none;
    border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px); opacity: .5;
  }
  .nav > ul > li.has-sub.open > a::before { transform: rotate(-135deg) translate(-1px, -1px); }

  /* 二级菜单：静态定位 + 浅底缩进 + 圆点标记 */
  .nav .submenu,
  .nav > ul > li.has-sub:hover > .submenu {
    position: static; left: auto; top: auto; min-width: 0; width: 100%;
    transform: none !important; opacity: 1; visibility: visible; pointer-events: auto;
    display: none; border: 0; border-radius: 0; box-shadow: none;
    background: var(--bg-soft); padding: 6px 0 10px; margin: 0;
  }
  .nav > ul > li.has-sub.open > .submenu { display: block; animation: navSubIn .22s var(--ease) both; }
  @keyframes navSubIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }

  .nav .submenu a {
    position: relative; display: block; width: 100%;
    padding: 12px 20px 12px 38px; border-radius: 0; background: transparent;
    font-size: 14.5px; color: var(--ink-3); white-space: normal; line-height: 1.45;
  }
  .nav .submenu a::before {
    content: ''; position: absolute; left: 24px; top: 17px;
    width: 5px; height: 5px; border-radius: 50%;
    background: currentColor; opacity: .4;
  }
  .nav .submenu a:hover,
  .nav .submenu a:active { background: rgba(22, 102, 242, .07); color: var(--brand); }
  .nav .submenu a:hover::before { opacity: 1; }

  /* 抽屉底部联系入口 */
  .nav-foot { display: block; padding: 22px 20px 6px; text-align: center; }
  .nav-foot a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 16px; border-radius: 10px;
    background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
    box-shadow: 0 6px 18px rgba(22, 102, 242, .26);
  }
  .nav-foot a:active { background: var(--brand-dark); }
  .nav-foot svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
  .nav-foot p { margin: 10px 0 0; font-size: 12px; color: var(--ink-4); }

  /* 抽屉打开时隐藏底部快捷栏，避免其遮住抽屉内容（两者 z-index 相同，底部栏 DOM 靠后会盖住） */
  body.has-nav-open .mobile-bar { opacity: 0; visibility: hidden; transform: translateY(100%); }

  /* Banner */
  .banner { height: 78vh; min-height: 440px; }
  .banner-caption { text-align: center; }
  .banner-caption h1 { font-size: 2.1rem; }
  .banner-caption .desc { font-size: 15px; margin-inline: auto; }
  .banner-caption .btns { justify-content: center; }
  .banner-arrow { display: none; }
  .banner-dots { bottom: 30px; }

  .page-banner { padding: 104px 0 46px; }
  .page-banner h1 { font-size: 1.8rem; }

  .section { padding: 52px 0; }
  .title-block { margin-bottom: 32px; }
  .title-block h2 { font-size: 1.6rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid { gap: 16px; }
}

/* ==========================================================
   响应式：<=640px  手机
   ========================================================== */
@media (max-width: 640px) {
  body { font-size: 14.5px; padding-bottom: 56px; }
  .container { padding: 0 16px; }

  .mobile-bar { display: block; }
  .to-top { bottom: 66px; right: 14px; }

  .logo img, .logo svg { height: 30px; }
  .logo img { max-width: 56vw; }
  .logo-name { font-size: 16px; }
  .logo-sub { display: none; }

  .banner { height: 68vh; min-height: 380px; }
  .banner-caption h1 { font-size: 1.7rem; margin-bottom: 12px; }
  .banner-caption .desc { font-size: 14px; margin-bottom: 24px; }
  .banner-caption .tag { font-size: 12px; margin-bottom: 14px; }
  .banner-caption .btns .btn { flex: 1 1 auto; padding: 12px 18px; }
  .scroll-tip { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-item { padding: 18px 10px; }
  .contact-item .ic { width: 44px; height: 44px; }
  .contact-item .vl { font-size: 14px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .advantage-item::before { display: none; }
  .advantage-num { font-size: 1.8rem; }

  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 24px; }
  .footer-qr { justify-content: center; }
  .footer-bottom { padding: 16px 0 calc(60px + env(safe-area-inset-bottom)); }

  .gallery-thumbs button { width: 64px; height: 64px; }

  .news-date { width: 64px; padding: 8px 4px; }
  .news-date .d { font-size: 1.5rem; }
  .news-body { padding: 14px 16px; }

  .product-body { padding: 16px 18px 18px; }

  .detail-info h1 { font-size: 1.4rem; }
  .detail-meta { gap: 14px; }
  .param-table th { width: 38%; }

  .pagination { gap: 4px; }
  .page-link { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
  .page-total { width: 100%; text-align: center; margin: 8px 0 0; }
}

/* ---------- >=1200 宽屏：容器居中留白 ---------- */
@media (min-width: 1400px) {
  :root { --container: 1320px; }
}

/* ---------- 打印 ---------- */
@media print {
  .header, .footer, .mobile-bar, .to-top, .banner-arrow, .banner-dots { display: none !important; }
  .banner { height: auto; }
}

/* ---------- 减弱动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
