/* =========================================================
   苏州思齐电子科技有限公司 — 站点公共样式（v2，对齐原站视觉）
   siqipower-website / assets / css / common.css
   规范说明：
   1. 全站设计令牌（Design Tokens）集中于 :root 变量；
   2. 响应式断点：≥576 / ≥768 / ≥992 / ≥1200；
   3. 命名采用 BEM 简化风格；所有交互态均有可见反馈。
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --c-primary: #00b277;
  --c-primary-dark: #009966;
  --c-primary-soft: rgba(0, 178, 119, .08);
  --c-dark: #333333;
  --c-title: #333333;
  --c-text: #666666;
  --c-muted: #999999;
  --c-line: #d9d9d9;
  --c-bg-soft: #f6f6f6;
  --c-white: #ffffff;
  --ff-base: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-h2: 28px;
  --header-h: 80px;
  --container: 1440px;
  --radius: 5px;
  --shadow-sm: 0 0 4px rgba(0, 0, 0, .25);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .10);
  --ease: cubic-bezier(.33, .78, .28, .99);
  --t-fast: .25s;
  --t-mid: .4s;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: var(--fs-base); outline: none; }
table { border-collapse: collapse; width: 100%; }
i, em { font-style: normal; }
svg { vertical-align: middle; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--c-primary); color: #fff; padding: 8px 16px; }
/* 视觉隐藏（供搜索引擎/读屏器识别，不影响页面显示） */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { left: 0; }

/* ---------- 3. 通用布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 8px; }
.section { padding: 10px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: #f6f8f7; } /* 首页区块浅灰节奏（与详情/列表页统一色） */
.section.section--flush { padding: 0; } /* 产品中心/产品列表页：去掉 section 上下间距 */

/* 区块标题（左对齐 + 绿色下划线，与原站一致） */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
/* 首页产品中心/热门产品/最新资讯标题上间距 30px */
.sec-head--mt30 { margin-top: 30px; }
.sec-head__cn {
  display: inline-block;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--c-title);
  line-height: 1.4;
  border-bottom: 2px solid var(--c-primary);
  padding-bottom: 6px;
}
.sec-head__cn em {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--c-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 0;
  padding-bottom: 0;
}
.sec-head__more {
  flex-shrink: 0;
  display: inline-block;
  margin-left: auto;
  padding: 0;
  border: 0;
  font-size: var(--fs-sm);
  color: var(--c-primary);
  background: none;
  transition: color var(--t-fast) var(--ease);
}
.sec-head__more:hover { color: var(--c-primary); font-weight: 600; background: none; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 152px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  background: var(--c-primary);
  color: #fff;
  transition: all var(--t-mid) var(--ease);
}
.btn:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn--ghost-dark { background: transparent; border: 1px solid var(--c-primary); color: var(--c-primary); }
.btn--ghost-dark:hover { background: var(--c-primary); color: #fff; }

/* 面包屑：通栏绿色条 #00b277（拉伸至屏幕最宽），高 50px，白字 */
.crumb { background: #00b277; font-size: var(--fs-sm); }
.crumb .container { height: 50px; display: flex; align-items: center; color: #fff; }
.crumb a { color: rgba(255,255,255,.88); }
.crumb a:hover { color: #fff; }
.crumb strong { color: #fff; font-weight: 600; }
.crumb__cur { display: inline; margin: 0; font: inherit; font-size: inherit; color: #fff; font-weight: 600; }
/* 无内页 Banner 的页面（产品中心/分类/详情）：面包屑为首元素，仅留固定页头高度，绿条紧贴页头下方 */
.crumb:first-child { padding-top: var(--header-h); }

/* ---------- 4. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgb(250, 253, 252);
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; align-items: center; height: 100%; }
.header__nav > li { position: relative; min-width: 120px; height: 100%; text-align: center; }
.header__nav > li > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  padding: 0 10px;
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-title);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
/* 当前栏目高亮 / 悬停：直接作用于 a，兼容模板中无 span 包裹的写法 */
.header__nav > li:hover > a,
.header__nav > li.is-active > a { color: var(--c-primary); }
.header__nav .caret { color: #aaa; transition: transform var(--t-mid) var(--ease); }
.header__nav > li:hover .caret { transform: rotate(180deg); color: var(--c-primary); }

/* 下拉菜单 */
.subnav {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 190px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: all var(--t-mid) var(--ease);
  z-index: 20;
}
.header__nav > li:hover .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav a {
  display: block;
  padding: 9px 22px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  white-space: nowrap;
}
.subnav a:hover { color: var(--c-primary); background: var(--c-bg-soft); }

/* 搜索 */
.header__tools { display: flex; align-items: center; height: 100%; }
.search-toggle {
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
  margin-left: 30px;
  border-radius: 50%;
  color: var(--c-title);
  transition: all var(--t-fast) var(--ease);
}
.search-toggle:hover, .search-toggle.is-open { background: var(--c-primary-soft); color: var(--c-primary); }
.search-panel {
  position: absolute;
  top: 100%; right: 15px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 12px;
  display: none;
}
.search-panel.is-open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input[type="search"] { width: 240px; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 8px 12px; }
.search-panel input[type="search"]:focus { border-color: var(--c-primary); }
.search-panel button { background: var(--c-primary); color: #fff; border-radius: var(--radius); padding: 0 18px; }
.search-panel button:hover { background: var(--c-primary-dark); color: #fff; }

/* 汉堡按钮（移动端） */
.nav-toggle { display: none; width: 30px; height: 30px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-title); transition: all var(--t-fast) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. 移动端抽屉导航 ---------- */
/* visibility 延迟切换：保证关闭时滑出动画播放完再隐藏 */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s .45s; }
/* 遮罩：品牌绿半透明 */
.drawer__mask { position: absolute; inset: 0; background: rgba(0, 178, 119, .78); opacity: 0; transition: opacity var(--t-mid) var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 85%; max-width: 340px;
  background: #fff;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
  padding: 20px 0 40px;
}
/* 面板内关闭按钮：右上角，悬停旋转 90° 并变绿 */
.drawer__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: var(--c-title);
  border-radius: 50%;
  font-size: 20px; line-height: 1;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.drawer__close:hover, .drawer__close:focus-visible { color: var(--c-primary); transform: rotate(90deg); }
.drawer__close:active { transform: rotate(90deg) scale(.9); }
.drawer.is-open { visibility: visible; transition: visibility 0s; }
.drawer.is-open .drawer__mask { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__panel a { display: block; padding: 13px 24px; font-size: var(--fs-md); color: var(--c-title); border-bottom: 1px solid var(--c-bg-soft); }
.drawer__group { position: relative; }
.drawer__group > a { padding-right: 56px; }
.drawer__toggle {
  position: absolute; right: 12px; top: 12px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted);
}
.drawer__toggle svg { transition: transform var(--t-fast) var(--ease); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(45deg); }
.drawer__sub { display: none; background: var(--c-bg-soft); }
.drawer__group.is-open .drawer__sub { display: block; }
.drawer__sub a { padding-left: 40px; font-size: var(--fs-sm); color: var(--c-text); }

/* ---------- 6. 首页 Banner（文字居中于半透明黑带，与原站一致） ---------- */
.banner { position: relative; overflow: hidden; background: var(--c-dark); margin-top: var(--header-h); } /* 为固定页头让位，避免横幅顶部被遮住 */
.banner__slide { position: relative; }
.banner__img { width: 100%; height: auto; }
.banner__text {
  position: absolute;
  top: 22%; left: 0;
  width: 100%;
  background: rgba(0, 0, 0, .35);
  padding: 4% 0;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.banner__text h1, .banner__text h2 { font-size: 40px; font-weight: 700; letter-spacing: 1px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.banner__text p { font-size: var(--fs-lg); line-height: 28px; margin-top: 30px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.banner__text .btn { margin-top: 60px; }
.banner__slide .fade-item { opacity: 0; transform: translateY(26px); }
.banner__slide.is-active .fade-item { animation: fadeUp .8s var(--ease) forwards; }
.banner__slide.is-active .fade-item:nth-child(1) { animation-delay: .2s; }
.banner__slide.is-active .fade-item:nth-child(2) { animation-delay: .4s; }
.banner__slide.is-active .fade-item:nth-child(3) { animation-delay: .6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Banner 信息条（绿色横条，与原站一致） */
.banner-bar { background: var(--c-primary); opacity: .92; box-shadow: 1px 2px 5px rgba(0,0,0,.25); position: relative; z-index: 5; }
.banner-bar__box { height: 50px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.banner-bar__num { display: flex; align-items: center; }
.banner-bar__num b { font-size: 20px; font-weight: 700; }
.banner-bar__num i { width: 1px; height: 16px; background: rgba(255,255,255,.75); margin: 0 10px; transform: rotate(20deg); }
.banner-bar__num em { font-size: 16px; }
.banner-bar__slogan { margin-left: 25px; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner-bar__mouse { color: #fff; position: absolute; left: 50%; top: 50%; animation: bounceCenter 1.6s ease-in-out infinite; }
@keyframes bounceCenter { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 5px)); } }

/* ---------- 7. 产品分类轮播（灰底卡片，悬停整卡覆盖，与原站一致） ---------- */
.cat-slider { position: relative; }
.cat-slider__track {
  display: flex;
  gap: 10px;
  overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; /* 左右滑动交给本元素，纵向手势仍交还页面滚动（写死 pan-x 会导致在此区域无法上下翻页） */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: 2px; /* 防止末张卡片右边框被滚动容器裁切（亚像素取整） */
}
.cat-slider__track::-webkit-scrollbar { display: none; }
/* 首页产品中心/关于我们/思齐文化/发展历程页的滑块：鼠标拖动光标与拖动中状态 */
.cat-slider--drag .cat-slider__track, .ab-adv__slider .cat-slider__track, .ab-gallery__slider .cat-slider__track, .ab-history__slider .cat-slider__track, .ab-honor__slider .cat-slider__track { cursor: grab; }
.cat-slider__track.is-dragging { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
.cat-card {
  position: relative;
  flex: 0 0 calc((100% - 30px) / 4);
  scroll-snap-align: start;
  background: var(--c-bg-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
}
.cat-card__img { display: flex; align-items: center; justify-content: center; padding: 50px 0 30px; }
.cat-card__img img { max-height: 80px; width: auto; max-width: 20%; object-fit: contain; }
.cat-card__info { text-align: center; }
.cat-card__info h3 { font-size: 24px; color: var(--c-title); font-weight: 700; padding: 0 15px; }
.cat-card__info p {
  padding: 20px 30px 50px;
  font-size: var(--fs-sm);
  line-height: 26px;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-card__hover {
  position: absolute; inset: 0;
  background: var(--c-dark) center/cover;
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 24px 35px;
  opacity: 0;
  transform: translateY(34px);
  transition: all var(--t-mid) var(--ease);
}
.cat-card__hover h3 { font-size: 24px; font-weight: 700; }
.cat-card__hover p { margin: 25px 0 20px; font-size: var(--fs-sm); line-height: 23px; opacity: .95; }
.cat-card__hover span {
  min-width: 152px; height: 45px;
  line-height: 45px;
  background: var(--c-primary);
  font-size: var(--fs-sm);
  transition: background var(--t-fast) var(--ease);
}
.cat-card:hover .cat-card__hover { opacity: 1; transform: translateY(0); }
/* 悬停覆盖层为链接元素：禁用全局绿色 hover，标题/描述/按钮保持白色 */
.cat-card__hover:hover, .cat-card__hover:hover h3, .cat-card__hover:hover p, .cat-card__hover:hover span { color: #fff; }
.cat-card__hover span { color: #fff; }
.cat-card__hover span:hover { background: var(--c-primary-dark); }
/* 左右切换按钮：与原站 products_prev/next 一致 —— 贴两侧边缘垂直居中、34px 绿色箭头、到头变灰 */
.cat-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  margin: 0 17px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--c-primary);
  transition: color var(--t-fast) var(--ease);
}
.cat-slider__btn--prev { left: 0; transform: translate(-50%, -50%); }
.cat-slider__btn--next { right: 0; transform: translate(50%, -50%); }
.cat-slider__btn svg { display: block; width: 34px; height: 34px; }
.cat-slider__btn:hover { color: var(--c-primary-dark); }
.cat-slider__btn.is-disabled { color: #d9d9d9; cursor: default; }
.cat-slider__btn.is-disabled:hover { color: #d9d9d9; }

/* ---------- 8. 热门产品/产品列表（圆角白卡：浅灰底衬浮起，悬停上浮+绿框+投影加深） ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  border: 1px solid #ececec; background: #fff; border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.prod-card__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-bg-soft); }
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid) var(--ease); }
.prod-card:hover .prod-card__img img { transform: scale(1.06); }
.prod-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.prod-card__body h3 { font-size: var(--fs-md); font-weight: 700; color: var(--c-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--t-fast) var(--ease); }
.prod-card:hover .prod-card__body h3, .prod-card:hover .prod-card__body h3 a { color: var(--c-primary); }
.prod-card__body p {
  margin-top: 8px; flex: 1;
  font-size: var(--fs-sm); color: var(--c-text); line-height: 24px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card__more { margin-top: 14px; font-size: var(--fs-sm); color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; }
.prod-card__more svg { transition: transform var(--t-fast) var(--ease); }
.prod-card:hover .prod-card__more svg { transform: translateX(4px); }
.prod-card h3 a:hover { color: inherit; }

/* 分页统一使用 .pagebar .pagination（见新闻列表页分页样式） */

/* ---------- 9. 关于我们（左图右绿色块 + 白色卡片，与原站一致） ---------- */
.about-hero { position: relative; display: flex; min-height: 620px; }
.about-hero__photo { width: 60%; background: var(--c-dark) center/cover no-repeat; }
.about-hero__green { width: 40%; background: var(--c-primary); opacity: .65; }
.about-hero__card-zone { position: absolute; inset: 0; display: flex; align-items: center; }
.about-hero__card-zone .container { display: flex; justify-content: flex-end; }
.about-hero__card {
  width: 50%;
  min-height: 480px;
  background: #fff;
  border-radius: 8px;
  padding: 50px 80px;
  display: flex;
  align-items: center;
}
.about-hero__card-in { width: 100%; }
.about-hero__card h2 { font-size: 40px; font-weight: 700; color: var(--c-title); }
.about-hero__card p { margin-top: 14px; color: var(--c-text); line-height: 24px; text-align: justify; }
.about-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 50px; }
.video-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 56px;
  background: #333;
  color: #fff;
  font-size: var(--fs-sm);
  transition: all var(--t-fast) var(--ease);
  border-radius:6px;
}
.video-btn-dark:hover { background: #000; color: #fff; }
/* 了解更多：与视频按钮同规格的描边按钮 */
.about-hero__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 56px;
  background: transparent;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  font-size: var(--fs-sm);
  transition: all var(--t-fast) var(--ease);
  border-radius:6px;
}
.about-hero__more:hover { background: var(--c-primary); color: #fff; }
.about-hero__more svg { transition: transform var(--t-fast) var(--ease); }
.about-hero__more:hover svg { transform: translateX(4px); }
.stat b { display: flex; justify-content: center; align-items: flex-start; font-size: 48px; font-weight: 700; color: #f00; line-height: 1.1; } /* 与原站一致：红色大号数字 */
.stat b i { font-style: normal; font-size: 16px; margin: 6px 0 0 3px; color: #333; }
.stat > span { font-size: var(--fs-sm); color: var(--c-muted); display: block; margin-top: 8px; } /* 仅作用于说明文字，避免冲突到 b 内的数字 span */
/* 关于我们页：数字统计条（白底红数字，与美化前一致） */
.stats-bar { padding: 34px 0 0px; background: #fff; }
.about__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
/* 关于我们页六区块标题统一样式名：ab-sec-head（居中 + 间距一并控制） */
.ab-sec-head { justify-content: center; margin: 0 0 36px; } /* 标题与下方内容统一 36px */
.ab-sec-head .sec-head__cn, .ab-sec-head .sec-head__cn em { text-align: center; } /* 标题+英文副标整体居中 */
.section > .container > .ab-sec-head:first-child { margin-top: 30px; } /* 公司简介：30px + section 顶 padding 50px = 80px */
.section > .container > .ab-sec-head:not(:first-child) { margin-top: 80px; } /* 其余标题与上方内容统一 80px */
/* 关于我们页：公司简介 / 企业文化（标题居中置于区块上方，左图错位底框 + 右文） */
.ab-intro, .ab-culture { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ab-frame { position: relative; }
.ab-frame::before { content: ''; position: absolute; top: 22px; left: -22px; width: 100%; height: 100%; background: var(--c-bg-soft); border: 1px solid var(--c-line); }
.ab-frame img { position: relative; width: 100%; border-radius: 8px; box-shadow: var(--shadow-md); display: block; }
.ab-intro__text p { margin-top: 14px; text-align: justify; text-indent: 2em; color: var(--c-text); line-height: 1.9; }
/* 关于我们页：企业文化列表 */
.ab-culture__list { margin-top: 16px; }
.ab-culture__list li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px dashed var(--c-line); font-size: 14px; color: #616161; line-height: 1.8; }
.ab-culture__list li:last-child { border-bottom: 0; }
.ab-culture__list li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 2px; background: var(--c-primary); }
.ab-culture__list li b { color: var(--c-title); }
/* 关于我们页：企业风采轮播（4 张/行） */
.ab-slide { flex: 0 0 calc((100% - 60px) / 4); margin: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 10px rgba(31, 61, 46, .05); transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.ab-slide:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(31, 61, 46, .12); }
.ab-slide img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform var(--t-mid) var(--ease); }
.ab-slide:hover img { transform: scale(1.06); }
/* 关于我们页：发展历程（浅灰通栏 + 横向时间轴卡片，同原站 .gsls） */
.ab-history { margin-top: 30px; background: #f6f6f6; padding: 30px 0; } /* 30px + 上个 section 的 padding-bottom 50px = 80px，与各区块间距一致 */
.tl-card { flex: 0 0 calc((100% - 60px) / 4); text-align: center; }
.tl-card__line { position: relative; height: 1px; background: #d1d1d1; margin-top: 8px; }
.tl-card__line::after { content: ''; position: absolute; left: 50%; top: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #d1d1d1; background: #fff; transform: translate(-50%, -50%); transition: all .4s var(--ease); }
.tl-card:hover .tl-card__line::after { border-color: var(--c-primary); background: var(--c-primary); }
.tl-card__year { margin-top: 32px; font-size: 16px; font-weight: 600; color: var(--c-title); line-height: 28px; height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tl-card__img { padding: 20px; overflow: hidden; }
.tl-card__img img { width: 100%; transition: transform .4s var(--ease); }
.tl-card:hover .tl-card__img img { transform: scale(1.08); }
.tl-card__txt { padding: 0 25px; color: #666; font-size: 14px; line-height: 24px; }
/* 关于我们页：荣誉资质轮播（与企业风采一致的左右切换，最宽一行 4 卡） */
.ab-honor { padding: 80px 0; }
.honor-slide { flex: 0 0 calc((100% - 60px) / 4); margin: 0; transition: transform var(--t-mid) var(--ease); }
.honor-slide:hover { transform: translateY(-4px); }
.honor-slide__img { border: 1px solid #ececec; background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 2px 10px rgba(31, 61, 46, .05); transition: box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.honor-slide:hover .honor-slide__img { border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.honor-slide__img img { width: 100%; height: 260px; object-fit: contain; display: block; }
.honor-slide figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--c-title); line-height: 1.5; }
/* 荣誉轮播箭头与图片区垂直居中（图 260px + 上下 padding 20px + 边框 2px = 282px，一半 141px） */
.ab-honor__slider .cat-slider__track { padding-block: 6px; margin-block: -6px; } /* 预留 hover 上浮空间，防止顶边框被 overflow-y:hidden 裁剪 */
.ab-honor__slider .cat-slider__btn { top: 147px; }
/* 关于我们页：产品优势轮播（企业文化下方，复用 .adv-card） */
.ab-adv-slide { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; }
.ab-adv-slide .adv-card { height: 100%; box-sizing: border-box; }
.ab-adv__slider .adv-card:hover { transform: none; box-shadow: none; } /* 轨道 overflow 裁切 hover 位移/阴影，轮播内只用描边+图标变色反馈 */
/* 图片灯箱（企业风采/荣誉资质点击放大） */
.js-lightbox { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1200; display: none; }
.lightbox.is-open { display: block; }
.lightbox__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.lightbox__figure { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; max-width: 86vw; text-align: center; }
.lightbox__img { max-width: 86vw; max-height: 78vh; display: block; margin: 0 auto; box-shadow: 0 12px 48px rgba(0, 0, 0, .5); background: #fff; }
.lightbox__cap { margin-top: 14px; color: #fff; font-size: 14px; letter-spacing: 1px; }
/* 灯箱切换动画：图片与名称带方向淡入 */
.lightbox__img.lb-anim, .lightbox__cap.lb-anim { animation: lbIn .32s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateX(var(--lb-dx, 0)); } to { opacity: 1; transform: translateX(0); } }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--t-fast) var(--ease); }
.lightbox__close:hover { background: var(--c-primary); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--t-fast) var(--ease); z-index:1; }
.lightbox__btn:hover { background: var(--c-primary); }
.lightbox__btn--prev { left: 18px; }
.lightbox__btn--next { right: 18px; }

/* ---------- 10. 新闻资讯（左特写 + 右列表，与原站一致） ---------- */
.news-tabs { display: flex; gap: 26px; justify-content: center; }
.news-tabs button {
  font-size: var(--fs-md);
  color: var(--c-text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.news-tabs button.is-active, .news-tabs button:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.news-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; margin-top: 30px; }
/* 页签切换动效：内容整体淡入上移，头条配图轻微缩放进场 */
@keyframes paneIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.js-news-pane.pane-in { animation: paneIn .45s var(--ease) both; }
.js-news-pane.pane-in .news-feature__img img { animation: featIn .6s var(--ease) both; }
@keyframes featIn {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js-news-pane.pane-in, .js-news-pane.pane-in .news-feature__img img { animation: none; }
}
.news-feature { display: block; min-width: 0; }
.news-feature time, .news-item time { font-size: var(--fs-xs); color: var(--c-muted); }
.news-feature h3 {
  font-size: 20px; font-weight: 700; color: var(--c-title); line-height: 1.5;
  /* 标题最多两行，超出省略 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-feature:hover h3 { color: var(--c-primary); }
.news-feature p {
  margin: 10px 0 16px; font-size: var(--fs-sm); color: var(--c-text); line-height: 24px;
  /* 简介最多两行，超出省略 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-feature__img { width: 100%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1000 / 654; box-shadow: 0 4px 16px rgba(31, 61, 46, .08); } /* 兜底比例与头条真实图一致，行内样式按各图实际尺寸覆盖 */
.news-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid) var(--ease); }
.news-feature:hover .news-feature__img img { transform: scale(1.05); }
.news-list { display: flex; flex-direction: column; min-width: 0; }
.news-item { display: block; padding: 22px 4px; border-bottom: 1px solid var(--c-line); }
.news-item:first-child { padding-top: 0; }
.news-item__top { display: flex; align-items: center; gap: 14px; }
.news-item__top h3 {
  flex: 1;
  font-size: var(--fs-md); font-weight: 700; color: var(--c-title);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-item:hover h3 { color: var(--c-primary); }
.news-item p {
  margin-top: 6px;
  font-size: var(--fs-sm); color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 11. 内页 Banner ---------- */
.page-banner {
  /* 面包屑在横幅上方，由 .crumb:first-child 负责为固定页头让位 */
  height: 280px;
  background: var(--c-dark) center/cover no-repeat;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,16,.62), rgba(10,20,16,.2));
}
.page-banner__text { position: relative; z-index: 1; color: #fff; text-align: center; width: 100%; }
.page-banner__text h1, .page-banner__text .banner-noh1 { font-size: 34px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.page-banner__text p { margin-top: 8px; font-size: var(--fs-md); opacity: .85; }

/* ---------- 12. 富文本 / 通用文章 ---------- */
.rich { max-width: 900px; margin: 0 auto; }
/* 内容以编辑器内联样式为准；以下兜底样式仅作用于无内联 style 的元素（老文章） */
.rich h1:not([style]), .rich h2:not([style]) { font-size: var(--fs-xl); color: var(--c-title); margin: 34px 0 14px; }
/* 正文标题左侧色条统一去除：老文章兜底伪元素竖条 + 编辑器内联 border-left 色条（含其 12px 左缩进） */
.rich h1:not([style])::before, .rich h2:not([style])::before { content: none; }
.rich h1[style*="border-left"], .rich h2[style*="border-left"], .rich h3[style*="border-left"],
.rich h4[style*="border-left"], .rich h5[style*="border-left"], .rich h6[style*="border-left"],
.rich p[style*="border-left"] { border-left: 0 !important; padding-left: 0 !important; }
/* 正文标题去除上间距：h1-h6 全覆盖（含编辑器内联 margin-top 与浏览器默认边距）+ 加粗小标题段落 */
.rich h1, .rich h2, .rich h3, .rich h4, .rich h5, .rich h6,
.rich p[style*="font-weight:bold"], .rich p[style*="font-weight: bold"] { margin-top: 0 !important; }
.rich p:not([style]) { margin: 12px 0; text-align: justify; }
.rich ul:not([style]) { margin: 10px 0; }
.rich ul li:not([style]) { position: relative; padding-left: 20px; margin: 8px 0; }
.rich ul li:not([style])::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.rich img { display: inline-block; vertical-align: middle; } /* 恢复行内级：父级 text-align:center 才能居中图片 */
.rich img[style*="height"] { height: auto !important; } /* 内联宽高被 max-width 压缩时保持宽高比 */
.rich img:not([style]) { display: block; margin: 16px auto; } /* 老文章无样式图片：块级居中 */

/* ---------- 13. 列表页通用 ---------- */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.list-grid--4 { grid-template-columns: repeat(4, 1fr); }

.gallery-card {
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.gallery-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid) var(--ease); }
.gallery-card:hover .gallery-card__img img { transform: scale(1.06); }
.gallery-card figcaption { padding: 12px 16px; font-size: var(--fs-sm); color: var(--c-title); text-align: center; }
/* 列表图片卡为链接卡（荣誉资质/企业风采列表页整卡可点） */
a.gallery-card { display: block; color: inherit; text-decoration: none; }
a.gallery-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
a.gallery-card .gallery-card__cap { display: block; padding: 12px 16px; font-size: var(--fs-sm); color: var(--c-title); text-align: center; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--c-line); }
.timeline__item { position: relative; padding-bottom: 38px; }
.timeline__item::before {
  content: "";
  position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
}
.timeline__year { font-size: 24px; font-weight: 700; color: var(--c-primary); }
.timeline__item h3 { font-size: var(--fs-md); color: var(--c-title); margin-top: 4px; }
.timeline__item p { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-muted); }

.culture-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.culture-card:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.culture-card h3 { font-size: var(--fs-md); color: var(--c-primary); font-weight: 700; }
.culture-card p { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-text); }

.faq-item { border: 1px solid var(--c-line); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px;
  font-size: var(--fs-md); font-weight: 600; color: var(--c-title);
  text-align: left;
}
.faq-item__q svg { flex-shrink: 0; color: var(--c-primary); transition: transform var(--t-fast) var(--ease); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { display: none; padding: 0 22px 18px; font-size: var(--fs-sm); color: var(--c-muted); }
.faq-item.is-open .faq-item__a { display: block; }

.solution-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
}
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid) var(--ease); }
.solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,16,.78) 0%, rgba(10,20,16,.1) 55%); }
.solution-card:hover img { transform: scale(1.06); }
.solution-card__body { position: relative; z-index: 1; padding: 22px; color: #fff; }
.solution-card__body h3 { font-size: var(--fs-lg); }
.solution-card__body p { margin-top: 6px; font-size: var(--fs-sm); opacity: .88; }

/* ---------- 在线留言（对齐原站 .lybd 表单：左字段列 + 右留言内容，灰底圆角行） ---------- */
.ly-title { margin-bottom: 40px; }
@media (min-width: 992px) { #liuyan .ly-title { margin-top: 30px; } } /* 联系页在线留言标题电脑端上间距 */
.ly-title .sec-head__cn { margin: 0; } /* 标题样式复用 .sec-head__cn（与热门产品分类等区块一致） */
.ly-title__sub { margin-top: 15px; color: #666; }
/* 留言区浅灰底衬白卡（#liuyan 为留言 section 的 id，无需改模板） */
#liuyan { background: #f6f8f7; }
.ly-form {
  margin-top: 40px;
  background: #fff; border: 1px solid #ececec; border-radius: 8px;
  padding: 40px 36px 44px; box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
}
.ly-form__cols { display: flex; justify-content: space-between; }
.ly-form__cols > div { width: 49%; }
.ly-form__item { display: flex; align-items: center; height: 70px; padding: 0 25px; background: #f7faf8; border: 1px solid transparent; border-radius: 5px; margin-bottom: 20px; transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.ly-form__item:focus-within { background: #fff; border-color: var(--c-primary); }
.ly-form__item:last-child { margin-bottom: 0; }
.ly-form__item label { font-size: 14px; color: #666; white-space: nowrap; }
.ly-form__item label b { color: var(--c-primary); font-size: 18px; font-weight: 400; }
.ly-form__item input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding-left: 10px; font-size: 14px; color: var(--c-text); outline: none; }
.ly-form__msg { display: flex; flex-direction: column; height: 340px; padding-top: 20px; background: #f7faf8; border: 1px solid transparent; border-radius: 5px; overflow: hidden; transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.ly-form__msg:focus-within { background: #fff; border-color: var(--c-primary); }
.ly-form__msg > label { padding-left: 20px; font-size: 14px; color: #666; }
.ly-form__msg > label b { color: var(--c-primary); font-size: 18px; font-weight: 400; }
.ly-form__msg textarea { flex: 1; padding: 10px 20px 20px; border: 0; background: transparent; resize: none; outline: none; font-size: 14px; color: var(--c-text); font-family: inherit; line-height: 1.7; }
.ly-form__item.is-error, .ly-form__msg.is-error { box-shadow: inset 0 0 0 1px #e05656; }
.ly-form__btns { display: flex; justify-content: center; margin-top: 50px; }
.ly-form__btns button { width: 205px; height: 46px; border: 0; border-radius: 5px; background: var(--c-primary); color: #fff; font-size: 18px; margin: 0 10px; cursor: pointer; transition: transform .4s var(--ease); }
.ly-form__btns button:hover { transform: scale(.95); }
.ly-form__btns .is-reset { background: #fff; color: var(--c-text); border: 1px solid #ccc; }
.ly-form__btns .is-reset:hover { border-color: var(--c-primary); color: var(--c-primary); }
.js-form-tip { margin-top: 18px; text-align: center; font-size: 14px; min-height: 20px; }
@media (max-width: 767.98px) {
  .ly-form { padding: 24px 18px 30px; }
  .ly-form__cols { flex-direction: column; }
  .ly-form__cols > div { width: 100%; }
  .ly-form__msg { height: 260px; margin-top: 20px; }
  .ly-title .sec-head__cn { font-size: 22px; }
}

/* 联系我们页（对齐原站 .zblxfs） */
.contact-head { margin-top: 10px; }
.contact-head .sec-head { margin-bottom: 0; } /* 标题样式复用 .sec-head（与热门产品分类等区块一致） */
.contact-sub { margin-top: 15px; color: #666; font-size: var(--fs-base); }
.contact-grid { display: flex; gap: 2%; margin-top: 40px; }
.contact-item {
  flex: 1; min-width: 0; height: 310px; padding: 0 10px;
  display: flex; flex-direction: column;
  border: 1px solid #ececec; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.contact-item:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.contact-item__img { margin: 50px auto 0; height: 110px; display: flex; align-items: center; justify-content: center; }
.contact-item__img img { max-width: 110px; max-height: 110px; transition: transform var(--t-mid) var(--ease); }
.contact-item__img svg { width: 76px; height: 76px; color: var(--c-primary); transition: transform var(--t-mid) var(--ease); }
.contact-item:hover .contact-item__img img,
.contact-item:hover .contact-item__img svg { transform: scale(1.1); }
.contact-item__h { margin: 10px 0; text-align: center; font-size: 22px; color: #333; transition: all var(--t-mid) var(--ease); }
.contact-item:hover .contact-item__h { margin-top: 15px; color: var(--c-primary); }
.contact-item__txt { flex: 1; padding: 0 30px; text-align: center; font-size: 18px; color: #616161; line-height: 1.7; }
.contact-item__txt a { color: #616161; }
.contact-item__txt a:hover { color: var(--c-primary); }
.contact-item__txt button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 18px; color: #616161; }
.contact-item__txt button:hover { color: var(--c-primary); }
.contact-item__txt small { font-size: 12px; }
/* 整卡可点击（电话/邮箱为 a，微信为 div[data-modal]） */
.contact-item--link { text-decoration: none; color: inherit; cursor: pointer; }
.contact-item[data-modal] { cursor: pointer; }
.contact-item:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
/* 产品优势卡片 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; } /* 最宽一行 4 卡 */
.adv-card {
  padding: 40px 22px 34px;
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid #ececec; background: #fff; border-radius: 10px; text-align: center;
  box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
a.adv-card { color: inherit; text-decoration: none; } /* 技术支持页卡片可整体点击跳转 */
.adv-card__icon { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 178, 119, .09); color: var(--c-primary); transition: background .5s cubic-bezier(.22, .61, .36, 1), color .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1); }
.adv-card:hover .adv-card__icon { background: var(--c-primary); color: #fff; transform: scale(1.08); }
.adv-card__h { margin: 20px 0 0; font-size: 20px; color: #333; transition: color .4s var(--ease), letter-spacing .4s var(--ease), transform .4s var(--ease); }
.adv-card:hover .adv-card__h { color: var(--c-primary); letter-spacing: 2px; transform: translateY(-2px); }
.adv-card__txt { margin-top: 12px; font-size: 14px; color: #616161; line-height: 1.8; text-align: justify; }

.detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
/* 多图切换展示 */
/* 主图：圆角卡片 + 柔和投影，悬停时投影轻微加深 */
.gallery__main {
  position: relative; border: 1px solid var(--c-line); border-radius: 8px;
  background: #fff; overflow: hidden;
  box-shadow: 0 6px 18px rgba(51, 51, 51, .05);
  transition: box-shadow .3s var(--ease);
}
.gallery__main:hover { box-shadow: 0 10px 28px rgba(51, 51, 51, .09); }
.gallery__main > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: opacity .3s var(--ease), transform .3s var(--ease); }
/* 切换效果：旧图淡出并带方向位移，新图自反方向淡入 */
.gallery__main > img.is-switching { opacity: 0; }
.gallery__main > img.is-switching--next { transform: translateX(-26px); }
.gallery__main > img.is-switching--prev { transform: translateX(26px); }
/* 产品大图按住拖动切换：指针跟随，松手吸附到下一张或回弹（鼠标与触屏通用） */
.gallery__main.is-swipeable { cursor: grab; touch-action: pan-y; }
.gallery__main.is-swipeable.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.gallery__main.is-swipeable > img { -webkit-user-drag: none; }
.gallery__main.is-dragging > img,
.gallery__main.is-dragging .gallery__ghost { transition: none; } /* 拖动中不做过渡，完全跟手 */
.gallery__ghost {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; pointer-events: none;
  transition: transform .3s var(--ease);
}
/* 切换按钮位于缩略图两侧，样式与相关产品滑块一致（绿色箭头） */
.gallery__thumbs { position: relative; display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 0 40px; }
.gallery__thumbs .cat-slider__btn { top: 50%; margin: 0; }
.gallery__thumbs .cat-slider__btn--prev { left: 0; transform: translateY(-50%); }
.gallery__thumbs .cat-slider__btn--next { right: 0; transform: translateY(-50%); }
.gallery__thumbs .cat-slider__btn svg { width: 26px; height: 26px; }
/* 缩略图轨道：一行固定 5 张（图少时不放大），超出一行的部分横向滚动查看，滚动条隐藏；
   左右箭头留在外层，不随内容滚动；缩略图数量不设上限 */
.gallery__thumbs-track {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  /* 上下各留 8px 缓冲区：供缩略图 hover 放大时使用，负 margin 抵消，不改变页面垂直布局 */
  padding-block: 8px;
  margin-block: -8px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab; /* 提示可按住左右拖动 */
  user-select: none;
  -webkit-user-select: none;
}
.gallery__thumbs-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* 拖动中：光标保持抓取态（覆盖缩略图按钮默认的 pointer） */
.gallery__thumbs-track.is-dragging,
.gallery__thumbs-track.is-dragging .gallery__thumb { cursor: grabbing; }
.gallery__thumbs .gallery__thumb {
  flex: 0 0 calc((100% - 40px) / 5); /* 固定宽度：一行 5 张，图少时不放大 */
  padding: 5px;
  border: 1px solid #e1e1e1; border-radius: 4px; background: #fff; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.gallery__thumbs .gallery__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gallery__thumbs .gallery__thumb:hover { border-color: var(--c-primary); transform: scale(1.06); position: relative; z-index: 2; }
.gallery__thumbs .gallery__thumb.is-active { border-color: var(--c-primary); box-shadow: 0 2px 10px rgba(0, 178, 119, .18); }
/* 产品标题：加大字号 + 底部绿色装饰短条 */
.detail__info h1 { font-size: 28px; color: var(--c-title); line-height: 1.4; padding-bottom: 16px; position: relative; }
.detail__info h1::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; border-radius: 2px; background: var(--c-primary);
}
.detail__info .desc { margin-top: 18px; color: #555; font-size: var(--fs-sm); line-height: 1.95; text-align: justify; }
.detail__info .desc p { text-indent: 2em; margin: 10px 0; }
.detail__info { display: flex; flex-direction: column; height: 100%; }
/* 三个不同颜色按钮：电话咨询 / 联系我们 / 在线留言 —— 同一行等宽铺满，底部与左侧图片区对齐 */
.detail-cta { margin-top: auto; padding-top: 26px; display: flex; gap: 14px; }
.detail-cta a {
  flex: 1; min-width: 0; height: 52px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius);
  font-size: var(--fs-md); font-weight: 600; color: #fff;
  transition: all var(--t-fast) var(--ease);
}
.detail-cta a svg { width: 18px; height: 18px; flex-shrink: 0; }
.detail-cta a:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.detail-cta .is-tel { background: var(--c-primary); }
.detail-cta .is-tel:hover { background: var(--c-primary-dark); }
.detail-cta .is-contact { background: #37474f; }
.detail-cta .is-contact:hover { background: #263238; }
.detail-cta .is-msg { background: #ff8c1f; }
.detail-cta .is-msg:hover { background: #e67e00; }
/* 产品特点展示 */
.feat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feat-card { display: flex; align-items: center; gap: 18px; padding: 24px 26px; background: var(--c-bg-soft); }
.feat-card img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.feat-card svg { width: 64px; height: 64px; color: #333; flex-shrink: 0; }
.feat-card h3 { font-size: 17px; color: var(--c-title); }
.feat-card p { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-muted); }
/* 产品参数页签（产品规格/产品特性/应用领域/功能说明） */
.spec-tabs-wrap { margin-top: 56px; }
/* 页签：整条浅灰底 + 图标，激活绿底白字并微微上浮，与下方内容卡片直接衔接 */
.spec-tabs {
  display: flex; gap: 4px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line); border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 4px 4px 0;
}
.spec-tabs button {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px;
  border: 0; border-radius: 5px 5px 0 0;
  background: transparent; font-size: 16px; color: #8b9490; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.spec-tabs button svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .6; transition: opacity .25s var(--ease); }
.spec-tabs button:hover { color: var(--c-primary); background: rgba(0, 178, 119, .07); }
.spec-tabs button.is-active {
  background: var(--c-primary); color: #fff;
  box-shadow: 0 -4px 12px rgba(0, 178, 119, .22); /* 激活页签微微上浮的光晕 */
}
.spec-tabs button.is-active svg { opacity: 1; }
/* 内容区：浅色圆角卡片容器（只包框架，面板内编辑器内容的内联样式不受影响），水平滑动切换 */
.spec-panes {
  background: #fbfcfb;
  border: 1px solid var(--c-line); border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden; transition: height .45s var(--ease);
  cursor: grab; /* 提示可按住左右拖动切换页签 */
  user-select: none; -webkit-user-select: none; /* 拖动切换优先于文本选择（与原站 Swiper 行为一致） */
}
.spec-panes.is-dragging { cursor: grabbing; }
.spec-panes__track { display: flex; transition: transform .45s var(--ease); }
.spec-pane { flex: 0 0 100%; min-width: 100%; align-self: flex-start; padding: 26px 15px 30px; background: none; border: 0; } /* align-self 防止面板被拉伸到最高面板高度；面板内容样式由编辑器内联样式自行控制 */
/* 相关产品滑块 */
.rel { margin-top: 56px; }
.rel-slider { position: relative; margin-top: 30px; }
.rel-slider__track {
  display: flex; gap: 20px;
  overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; /* 左右滑动交给本元素，纵向手势仍交还页面滚动（写死 pan-x 会导致在此区域无法上下翻页） */
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: 2px; /* 防止末张卡片右边框被滚动容器裁切（亚像素取整） */
  cursor: grab; /* 提示可按住左右拖动 */
  user-select: none; -webkit-user-select: none;
}
.rel-slider__track.is-dragging { cursor: grabbing; }
.rel-slider__track::-webkit-scrollbar { display: none; }
.rel-slider .prod-card { flex: 0 0 calc((100% - 64px) / 4); scroll-snap-align: start; } /* 多减 4px 留余量，保证末卡右边框完整 */

/* ---------- 新闻详情页（左侧正文 + 右侧相关新闻） ---------- */
/* 详情区：浅灰背景衬白卡，提升层次 */
.news-sec { background: #f6f8f7; padding: 26px 0 30px; }
/* 产品列表页：浅灰背景衬白卡，顶部简介卡片化 */
.prod-sec { background: #f6f8f7; padding: 26px 0 46px; }
.prod-sec > .container > .rich {
  max-width: 100%; margin: 0;
  background: #fff; border: 1px solid #ececec; border-radius: 8px;
  padding: 24px 28px 22px; box-shadow: 0 2px 10px rgba(31, 61, 46, .05);
}
.prod-sec > .container > .rich h1 { font-size: 22px; color: var(--c-title); margin: 0; }
.prod-sec > .container > .rich h1::after { content: ""; display: block; width: 46px; height: 3px; background: var(--c-primary); border-radius: 2px; margin-top: 12px; }
.prod-sec > .container > .rich p { margin: 14px 0 0; color: #666; font-size: var(--fs-sm); line-height: 1.9; }
.article-head { text-align: left; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.article-head h1 { font-size: 28px; color: var(--c-title); line-height: 1.5; margin: 0; }
.article-head h1::before { display: none; } /* 正文大标题不带绿色竖条 */
.article-head h1::after { content: ""; display: block; width: 46px; height: 3px; background: var(--c-primary); border-radius: 2px; margin-top: 16px; } /* 标题下绿色装饰短条，与产品详情页 h1 呼应 */
.article-head time { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 5px 14px; background: #f4f6f5; border-radius: 99px; font-size: var(--fs-xs); color: var(--c-muted); }
.article-head time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); } /* 绿点呼应主题色 */
/* 上一篇/下一篇：两卡并排，箭头引导，hover 绿色反馈
   （CMS 模板输出 <p>上一篇：<a>标题</a></p> 嵌套结构，交付包静态页输出扁平 <a>/<span>；
   卡片样式只作用于 .article-nav 的直接子元素，避免命中 p 内部的标题链接造成嵌套卡片） */
.article-nav { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: var(--fs-sm); }
.article-nav > p, .article-nav > a, .article-nav > span {
  display: block; margin: 0; position: relative; padding: 13px 16px 13px 44px;
  background: #f8faf9; border: 1px solid #e8edeb; border-radius: 6px; color: var(--c-muted); line-height: 1.6;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.article-nav > p::before, .article-nav > a::before, .article-nav > span::before { content: "\2190"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-primary); font-weight: 700; font-size: 16px; }
.article-nav > :last-child::before { content: "\2192"; }
.article-nav > p:hover, .article-nav > a:hover, .article-nav > span:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.article-nav > p a { color: var(--c-text); } /* 嵌套结构：p 内标题链接只改颜色 */
.article-nav > a { color: var(--c-text); } /* 扁平结构：整卡即链接 */

.news-detail { display: flex; align-items: flex-start; gap: 30px; margin-top: 0; }
/* 右侧相关新闻：白卡 + 吸附滚动（长文阅读时侧栏跟随） */
.news-detail__side {
  flex: 0 0 280px; order: 2;
  background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 20px 18px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  position: sticky; top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
  scrollbar-width: none;
}
.news-detail__side::-webkit-scrollbar { display: none; }
.news-detail__side-t { display: block; font-size: 20px; font-weight: 600; color: var(--c-title); padding: 0 0 14px; border-bottom: 1px solid var(--c-line); }
.news-detail__side-t::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--c-primary); margin-right: 10px; border-radius: 2px; vertical-align: -2px; }
.news-detail__side-t span { font-size: 12px; font-weight: 400; color: var(--c-muted); letter-spacing: 1px; margin-left: 10px; }
.news-detail__item { display: block; position: relative; padding: 12px 0 12px 15px; border-bottom: 1px solid var(--c-line); }
.news-detail__item::before { content: ""; position: absolute; left: 0; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-line); transition: background var(--t-fast) var(--ease); }
.news-detail__item:last-child { border-bottom: 0; }
.news-detail__item h3 { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.55; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--t-fast) var(--ease); }
.news-detail__item:hover h3 { color: var(--c-primary); }
.news-detail__item:hover::before { background: var(--c-primary); }
/* 正文：白卡容器 + 图片圆角投影 */
.news-detail__main {
  flex: 1; min-width: 0; max-width: none; margin: 0; order: 1;
  background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 34px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.news-detail__main img { border-radius: 6px; box-shadow: 0 3px 12px rgba(0, 0, 0, .07); }
@media (max-width: 991.98px) {
  .news-detail { flex-direction: column; margin-top: 0; }
  .news-detail__main { order: 1; width: 100%; padding: 22px 18px; }
  .news-detail__side { order: 2; flex: none; width: 100%; position: static; max-height: none; padding: 16px 16px 6px; }
  .article-nav { grid-template-columns: 1fr; }
}

/* ---------- 14. 页脚（浅色系，与原站一致） ---------- */
/* ---------- 页脚（深色商务版：品牌信息 + 双列导航 + 联系区） ---------- */
.site-footer { margin-top: 30px; background: #23272c; color: #9aa0a6; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 50px 15px 44px; }
.footer-brand__name { font-size: 20px; font-weight: 600; color: #fff; line-height: 1.4; }
.footer-brand__name a { color: #fff; }
.footer-brand__name a:hover { color: #fff; }
.footer-brand__name span { font-size: 12px; font-weight: 400; color: var(--c-primary); margin-left: 8px; letter-spacing: 1px; }
.footer-brand__desc { margin-top: 10px; font-size: var(--fs-xs); line-height: 24px; max-width: 360px; }
.footer-brand__addr { margin-top: 10px; font-size: 12px; color: #767c83; line-height: 22px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
/* 每个栏目下的链接排成两列（产品中心 8 项 → 2 列 4 行，服务支持 6 项 → 2 列 3 行） */
.footer-nav > div { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; align-content: start; }
.footer-nav h4 { grid-column: 1 / -1; font-size: var(--fs-sm); color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-nav h4 a { color: #fff; }
.footer-nav h4 a:hover { color: var(--c-primary); }
.footer-nav a { display: block; font-size: 12px; color: #9aa0a6; padding: 4px 0; transition: color var(--t-fast) var(--ease); }
.footer-nav a:hover { color: var(--c-primary); }
/* 联系区整体右对齐（品牌在左、联系在右，版面对称） */
.footer-cinfo { text-align: right; }
.footer-cinfo__label { font-size: 12px; color: #9aa0a6; }
.footer-cinfo__tel { display: inline-block; font-size: 26px; font-weight: 600; color: var(--c-primary); letter-spacing: .5px; margin-top: 4px; }
.footer-cinfo__tel:hover { color: #2fd39a; }
/* 微信二维码贴右缘（主轴反转后 flex-start 即贴右，说明文字在其左侧右对齐） */
.footer-cinfo__wx { display: flex; flex-direction: row-reverse; gap: 12px; align-items: center; justify-content: flex-start; margin-top: 18px; }
.footer-cinfo__wx img { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 4px; flex-shrink: 0; }
.footer-cinfo__wx p { font-size: 12px; color: #9aa0a6; line-height: 20px; }
.footer-bottom { background: #1c1f23; padding: 16px 0; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; font-size: 12px; color: #767c83; }
.footer-bottom__inner a { color: #767c83; }
.footer-bottom__inner a:hover { color: var(--c-primary); }
/* 顶级栏目行：桌面端隐藏（桌面页脚已有完整导航），仅移动端显示 */
.footer-topnav { display: none; }

/* ---------- 15. 视频弹窗 / 微信弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.modal__box {
  position: relative; z-index: 1;
  background: #fff;
  max-width: 860px; width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  animation: fadeUp .4s var(--ease);
}
.modal__box--video { background: #000; }
.modal__box video { width: 100%; display: block; }
.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease);
}
.modal__close:hover { background: #e05252; }
.modal__box--wx { max-width: 360px; text-align: center; padding: 0 28px 28px; }
.wx-card__head { margin: 0 -28px 22px; padding: 26px 20px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; }
.wx-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.wx-card__icon svg { width: 30px; height: 30px; color: var(--c-primary); }
.wx-card__head h3 { margin-top: 12px; font-size: 20px; color: #fff; letter-spacing: 1px; }
.wx-card__head p { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.6; }
.modal__box--wx .wx-card__qr { width: 210px; margin: 0 auto; padding: 10px; background: #fff; border: 1px solid #e3e8e5; border-radius: 10px; }
.wx-card__id { margin-top: 14px; font-size: var(--fs-sm); color: var(--c-muted); }
.wx-card__id b { color: var(--c-title); font-weight: 600; letter-spacing: .5px; }
.wx-copy { margin-top: 14px; width: 100%; padding: 12px 0; border-radius: 24px; background: var(--c-primary); color: #fff; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 1px; transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.wx-copy:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 178, 119, .35); }

/* 内页产品分类导航（对齐原站 .nyflqh 实际渲染样式：白底描边盒 + 右侧箭头区） */
.cat-nav { margin: 30px 0; }
.cat-nav__box { display: flex; flex-wrap: wrap; }
.cat-nav__item {
  width: 24%;
  height: 42px; line-height: 40px;
  font-size: 14px; font-weight: 300;
  border: 1px solid #ececec;
  background: #fff; border-radius: 6px; overflow: hidden;
  margin-right: 1%; margin-bottom: 10px;
  display: flex;
  color: var(--c-title);
  box-shadow: 0 2px 8px rgba(31, 61, 46, .04);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.cat-nav__item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 61, 46, .1); }
.cat-nav__item > span:first-child { flex: 1; overflow: hidden; padding-left: 5%; white-space: nowrap; text-overflow: ellipsis; }
.cat-nav__item > span:last-child {
  width: 20%; flex-shrink: 0;
  text-align: center;
  border-left: 1px solid #e1e1e1;
  font-size: 14px; line-height: 40px;
  transition: border-color var(--t-fast) var(--ease);
}
.cat-nav__item > span:last-child svg { width: 12px; height: 12px; vertical-align: -1px; }
.cat-nav__item:hover, .cat-nav__item.is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cat-nav__item:hover > span:last-child, .cat-nav__item.is-current > span:last-child { border-left-color: #fff; }
.cat-nav__item:hover { color: #fff; }

/* ---------- 16. 返回顶部 & 移动端底部条（白色系，与原站一致） ---------- */
.back-top {
  position: fixed; right: 0; bottom: 30px; z-index: 90;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all var(--t-mid) var(--ease);
}
/* 与原站一致：常显半透明，悬停恢复不透明 */
.back-top.is-show { opacity: .6; visibility: visible; transform: translateY(0); }
.back-top:hover { opacity: 1; background: var(--c-primary-dark); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  display: none;
  background: #fff;
  border-top: 1px solid #f6f6f6;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  transform: translateY(0);
  transition: transform var(--t-mid) var(--ease);
}
body.drawer-open .mobile-bar { transform: translateY(100%); } /* 抽屉导航打开时隐藏底条 */
.mobile-bar.is-hide { transform: translateY(100%); }
.mobile-bar__inner { display: flex; }
.mobile-bar__inner a, .mobile-bar__inner button {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 15px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.mobile-bar__inner a { background: var(--c-primary); color: #fff; }
.mobile-bar__inner a:hover { color: #fff; }
.mobile-bar__inner button { background: #f6f9fb; color: #1a1a2e; }

/* ---------- 17. 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .banner__slide .fade-item { transition: none; animation: none; opacity: 1; transform: none; }
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1199.98px) {
  .header__nav > li { min-width: 90px; }
  .banner__text .btn { display: none; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .list-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { gap: 30px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 60px; }
  .cat-nav__item { width: 32.32%; height: 38px; line-height: 35px; }
  .cat-nav__item > span:last-child { line-height: 35px; }
  .header__nav, .search-panel { display: none; }
  .nav-toggle { display: flex; }
  .search-toggle { margin-left: 0; }
  /* 搜索面板：移动端两侧等边距居中显示，输入框自适应拉伸 */
  .search-panel { left: 30px; right: 30px; }
  .search-panel form { width: 100%; }
  .search-panel input[type="search"] { flex: 1; width: auto; min-width: 0; }
  /* Banner：移动端图 250px 高，与原站一致 */
  .banner__img { height: 250px; object-fit: cover; }
  .banner__text { top: 0; height: 250px; display: flex; flex-direction: column; justify-content: center; padding: 0 15px; }
  .banner__text h1, .banner__text h2 { font-size: 24px; }
  .banner__text p { margin-top: 12px; font-size: var(--fs-sm); }
  .banner-bar__mouse { display: none; }
  .banner-bar__box { height: 40px;}
  .about-hero { flex-direction: column; min-height: 0; }
  /* 关于我们页响应式 */
  /* 自适应端：区块标题与各区块上间距统一 30px（覆盖桌面 80px 节奏） */
  .section > .container > .ab-sec-head:first-child,
  .section > .container > .ab-sec-head:not(:first-child) { margin-top: 30px; }
  .ab-adv, .ab-gallery { margin-top: 0; } /* 上间距由前置标题的 30px 承载，避免叠加 */
  .ab-history { margin-top: 0; padding-top: 30px; } /* 与上个 section 的 30px 底间距衔接 */
  .ab-honor { padding: 30px 0 0; } /* 上间距 30px，底部不留空 */
  .ab-intro, .ab-culture { grid-template-columns: 1fr; gap: 30px; }
  .ab-frame::before { top: 14px; left: -14px; }
  .ab-slide { flex-basis: calc((100% - 40px) / 3); }
  .tl-card { flex-basis: calc((100% - 40px) / 3); }
  .honor-slide { flex-basis: calc((100% - 40px) / 3); }
  .ab-adv-slide { flex-basis: calc((100% - 40px) / 3); }
  .about-hero__photo { width: 100%; height: 260px; }
  .about-hero__green { display: none; }
  .about-hero__card-zone { position: static; margin-top: -80px; }
  .about-hero__card { width: 100%; min-height: 0; padding: 30px 24px 10px; }
  .about-hero__card h2 { font-size: 28px; }
  /* 按钮保持同一行：两按钮等宽铺满 */
  .about-hero__btns { flex-wrap: nowrap; gap: 14px; margin-top: 30px; }
  .about-hero__btns > button, .about-hero__btns > a { flex: 1; min-width: 0; }
  .news-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail { grid-template-columns: 1fr; }
  /* 三个产品特点保持同一行，窄屏压缩布局 */
  .feat-row { gap: 12px; margin-top: 40px; }
  .feat-card { flex-direction: column; align-items: center; gap: 10px; padding: 16px 14px; text-align: center; }
  .feat-card img, .feat-card svg { width: 44px; height: 44px; } /* 窄屏竖排：图片与文字均居中 */
  .feat-card h3 { font-size: 15px; }
  .feat-card p { font-size: 13px; }
  .rel-slider .prod-card { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 15px 36px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  /* 页脚单列堆叠后联系区恢复左对齐（桌面端为右对齐） */
  .footer-cinfo { text-align: left; }
  .footer-cinfo__wx { flex-direction: row; justify-content: flex-start; }
  .mobile-bar { display: block; }
  .back-top { bottom: 76px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .list-grid, .list-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { flex-wrap: wrap; gap: 20px; }
  .contact-item { flex: 0 0 calc((100% - 20px) / 2); height: auto; min-height: 270px; padding-bottom: 20px; }
  .adv-grid { grid-template-columns: repeat(3, 1fr); } /* 优势卡片 ≤992 三列 */
  .cat-card { flex-basis: calc((100% - 10px) / 2); }
  .page-banner { height: 200px; }
}
@media (max-width: 575.98px) {
  .cat-nav { margin: 20px 0 10px; }
  .cat-nav__item { width: 49%; height: 35px; line-height: 33px; }
  .cat-nav__item > span:last-child { line-height: 33px; }
  body { font-size: 13px; }
  /* 关于我们页：数字两列、标题居中、卡片减为两列/单列 */
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .ab-intro__text, .ab-culture__text { text-align: center; }
  .ab-intro__text p, .ab-culture__list li { text-align: left; }
  .ab-slide { flex-basis: 100%; }
  .ab-slide img { height: 230px; }
  .tl-card { flex-basis: calc((100% - 20px) / 2); }
  .honor-slide { flex-basis: calc((100% - 20px) / 2); } /* 荣誉轮播最窄两卡 */
  .honor-slide__img img { height: 190px; }
  .ab-honor__slider .cat-slider__btn { top: 112px; } /* 最窄图高 190px + 22px = 212px，一半 106px，+6px 上浮预留 */
  .ab-adv-slide { flex-basis: calc((100% - 20px) / 2); } /* 产品优势轮播最窄两卡 */
  /* 详情页缩略图：窄屏改一行 4 张，缩略图不至于过小、便于点按 */
  .gallery__thumbs { padding: 0 34px; }
  .gallery__thumbs .gallery__thumb { flex: 0 0 calc((100% - 30px) / 4); }
  .lightbox__img { max-height: 70vh; }
  .lightbox__btn { width: 40px; height: 40px; }
  .lightbox__btn--prev { left: 8px; }
  .lightbox__btn--next { right: 8px; }
  .footer-cinfo__wx img { width: 80px; height: 80px; }
  /* 与原站一致：区块标题左、“了解更多+”始终右对齐，不换列 */
  .sec-head { flex-wrap: wrap; gap: 10px 14px; }
  .sec-head__more { margin-left: auto; }
  .sec-head__cn { font-size: 22px; }
  .prod-grid, .list-grid { grid-template-columns: 1fr; }
  .list-grid--4 { grid-template-columns: repeat(2, 1fr); } /* 企业文化荣誉资质/企业风采最窄仍一行2个 */
  .cat-card { flex-basis: 100%; }
  .rel-slider .prod-card { flex-basis: calc((100% - 24px) / 2); } /* 最少显示两张 */
  /* 两张窄卡：标题单行省略、描述最多 3 行省略 */
  .rel-slider .prod-card__body { padding: 12px 10px 14px; }
  .rel-slider .prod-card__body h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 1.45; }
  .rel-slider .prod-card__body p { -webkit-line-clamp: 3; font-size: 12px; line-height: 19px; margin-top: 6px; }
  .rel-slider .prod-card__more { margin-top: 10px; font-size: 12px; }
  .spec-tabs { padding: 3px 3px 0; gap: 3px; border-radius: 6px 6px 0 0; }
  .spec-tabs button { font-size: 13px; height: 38px; gap: 0; }
  .spec-tabs button svg { display: none; } /* 窄屏收起图标，只留文字 */
  .spec-pane { padding: 18px 5px 18px; }
  .detail-cta { gap: 8px; }
  .detail-cta a { font-size: 14px; height: 46px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 30px; }
  .stat b i { font-size: 13px; }
  .contact-item { flex: 0 0 100%; } /* 联系卡片最窄显示一个 */
  .adv-grid { grid-template-columns: repeat(2, 1fr); } /* 最窄两列 */
  .adv-card__txt { font-size: 13px; } /* 最窄两列时压缩描述字号 */
  .page-banner__text h1, .page-banner__text .banner-noh1 { font-size: 24px; }
  .article-head h1 { font-size: 20px; }
  .modal__box--video { max-width: 100%; }
}
/* 页脚：移动端精简为「品牌 + 顶级栏目一行 + 版权条居中」 */
@media (max-width: 767.98px) {
  .footer-nav, .footer-cinfo { display: none; }
  .footer-grid { padding: 36px 15px 22px; }
  .footer-brand { text-align: center; }
  .footer-brand__desc { margin: 10px auto 0; }
  .footer-brand__addr { display: none; }
  .footer-topnav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 0 15px 24px; }
  .footer-topnav a { position: relative; padding: 2px 5px; font-size: 12px; color: #9aa0a6; transition: color var(--t-fast) var(--ease); }
  .footer-topnav a + a::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 11px; margin-top: -5.5px; background: #4a5057; }
  .footer-topnav a:hover { color: var(--c-primary); }
  .footer-bottom__inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
}

/* ---------- 新闻列表页（浅灰背景衬白卡，与详情页风格统一） ---------- */
.news-row {
  display: flex; height: 230px; border: 1px solid #ececec; border-radius: 8px; overflow: hidden;
  margin-bottom: 24px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.news-row:hover { border-color: var(--c-primary); box-shadow: 0 8px 22px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.news-row__img { width: 26%; flex-shrink: 0; overflow: hidden; }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-row:hover .news-row__img img { transform: scale(1.06); }
.news-row__txt { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 46px; }
.news-row__box { width: 100%; }
.news-row__t { font-size: 24px; font-weight: 600; color: var(--c-title); line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease); }
.news-row__b { margin-top: 10px; color: #888; font-size: var(--fs-sm); line-height: 24px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-all; }
.news-row:hover .news-row__t { color: var(--c-primary); padding-left: 6px; }
.news-row__date { display: flex; align-items: center; padding: 0 70px 0 40px; flex-shrink: 0; }
.news-row__datebox { text-align: center; }
.news-row__datebox p { margin: 0 0 10px; font-size: 38px; font-weight: 600; color: #d3d8d5; line-height: 1; transition: color var(--t-fast) var(--ease); }
.news-row__datebox span { display: block; font-size: 22px; color: #d3d8d5; line-height: 1; transition: color var(--t-fast) var(--ease); }
.news-row:hover .news-row__datebox p, .news-row:hover .news-row__datebox span { color: var(--c-primary); }
/* ---------- 解决方案列表页（双列图文卡片网格） ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ececec; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.plan-card:hover { border-color: var(--c-primary); box-shadow: 0 8px 22px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.plan-card__img { position: relative; padding-top: 50%; overflow: hidden; }
.plan-card__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.plan-card:hover .plan-card__img img { transform: scale(1.06); }
.plan-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.plan-card__tags { font-size: 12px; color: var(--c-primary); line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.plan-card__tags:empty { display: none; }
.plan-card__t { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--c-title); line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: color var(--t-fast) var(--ease); }
.plan-card:hover .plan-card__t { color: var(--c-primary); }
.plan-card__b { margin-top: 8px; color: #888; font-size: var(--fs-sm); line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-all; }
.plan-card__more { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--c-primary); }
.plan-grid + .pagebar { padding-top: 4px; }
@media (max-width: 991.98px) {
  .plan-grid { gap: 16px; }
  .plan-card__body { padding: 12px 14px 14px; }
  .plan-card__t { font-size: 15px; }
  .plan-card__b { margin-top: 5px; line-height: 20px; }
  .plan-card__more { padding-top: 8px; font-size: 13px; }
}
@media (max-width: 767.98px) {
  .plan-grid { grid-template-columns: 1fr; gap: 15px; }
}
/* 分页（对齐原站 .pagebar .pagination，浅灰背景下的白底圆角按钮） */
.pagebar { padding: 10px 0 0; }
.pagebar .pagination { display: flex; justify-content: center; margin-top: 10px; }
.pagebar .pagination a, .pagebar .pagination span, .pagebar .pagination button {
  background: #fff; border: 1px solid #e3e6e4; color: #555; font-size: 13px; padding: 8px 10px; margin: 0 3px;
  border-radius: 6px; cursor: pointer; font-family: inherit; box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pagebar .pagination a:hover, .pagebar .pagination button:hover { color: var(--c-primary); border-color: var(--c-primary); background: var(--c-primary-soft); }
.pagebar .pagination .page-num-current { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
.pagebar .pagination .page-link--disabled { color: #bbb; background: #f7f8f7; border-color: #e9e9e9; box-shadow: none; }
.pagebar .pagination .page-link--info { color: var(--c-muted); background: #f7f8f7; border-color: transparent; box-shadow: none; }
/* 页码按钮为正方形（当前页与待选页码统一） */
.pagebar .pagination .page-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 6px; }
/* 上一页/下一页/总页码与页码按钮等高 */
.pagebar .pagination .page-link { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; }
/* 新闻列表响应式 */
@media (max-width: 1199.98px) {
  .news-row { height: 170px; }
  .news-row__txt { padding: 0 20px; }
  .news-row__date { padding: 0 20px; }
  .news-row__b { margin-top: 5px; }
}
@media (max-width: 991.98px) {
  .news-row { height: 120px; margin-bottom: 15px; }
  .news-row__txt { padding: 0 10px; }
  .news-row__box { padding-left: 5px; }
  .news-row__t { font-size: 18px; }
  .news-row__date { padding: 0 10px; }
  .news-row__datebox p { font-size: 30px; }
  .news-row__datebox span { font-size: 18px; }
}
@media (max-width: 767.98px) {
  .news-row { height: 85px; }
  .news-row__t { font-size: 16px; }
  .news-row__b { margin-top: 5px; font-size: 12px; line-height: 16px; }
  .news-row__date { display: none; }
}
/* 技术文章列表页：移动端不显示缩略图，整行只保留标题与摘要，文字区域更舒展 */
@media (max-width: 767.98px) {
  .news-list--no-thumb .news-row { height: auto; }
  .news-list--no-thumb .news-row__img { display: none; }
  .news-list--no-thumb .news-row__txt { padding: 14px 16px; }
  .news-list--no-thumb .news-row__box { padding-left: 0; }
}

/* ---------- 搜索结果页 ---------- */
.search-hero { margin-bottom: 40px; }
.search-form { display: flex; max-width: 760px; margin: 0 auto; border: 2px solid var(--c-primary); background: #fff; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 20px; height: 52px; font-size: 15px; color: var(--c-title); background: transparent; }
.search-form input::placeholder { color: #aaa; }
.search-form button { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--c-primary); color: #fff; font-size: 15px; padding: 0 32px; height: 52px; transition: background var(--t-fast) var(--ease); }
.search-form button:hover { background: #009c68; }
.search-tags { margin-top: 18px; text-align: center; font-size: var(--fs-sm); color: #888; }
.search-tag { display: inline-block; border: 1px solid var(--c-line); background: #fff; color: #666; font-size: var(--fs-xs); padding: 6px 16px; margin: 0 6px 8px; border-radius: 999px; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.search-tag:hover { border-color: var(--c-primary); color: var(--c-primary); }
.search-meta { text-align: center; color: #888; font-size: var(--fs-sm); margin-bottom: 22px; }
.search-meta b { color: var(--c-primary); }
/* 分类筛选胶囊（方案A：全部/产品/解决方案/技术文章/新闻） */
.search-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.search-filter { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--c-line); background: #fff; color: #666; font-size: var(--fs-xs); padding: 6px 18px; border-radius: 999px; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.search-filter:hover { border-color: var(--c-primary); color: var(--c-primary); }
.search-filter.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.search-filter[disabled], .search-filter.is-disabled { opacity: .45; cursor: not-allowed; }
.search-filter.is-disabled { pointer-events: none; } /* 无结果的分类不可点击 */
.search-filter em { font-style: normal; opacity: .75; }
/* 紧凑结果行：小图 + 分类标签 + 高亮标题 + 两行摘要 */
.search-list { border-top: 1px solid var(--c-line); }
.search-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 6px; border-bottom: 1px solid var(--c-line); background: transparent; transition: background var(--t-fast) var(--ease); }
.search-item:hover { background: #f8faf9; }
.search-item__thumb { flex: none; width: 150px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f2f5f3; }
.search-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.search-item:hover .search-item__thumb img { transform: scale(1.05); }
.search-item__thumb--ph { display: flex; align-items: center; justify-content: center; color: #c9cec9; }
.search-item__body { flex: 1; min-width: 0; }
.search-item h3 { font-size: 17px; font-weight: 600; color: var(--c-title); line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: color var(--t-fast) var(--ease); }
.search-item:hover h3 { color: var(--c-primary); }
.search-item__cat { display: inline-block; vertical-align: 2px; margin-right: 10px; font-size: var(--fs-xs); font-weight: 400; color: var(--c-primary); border: 1px solid var(--c-primary); padding: 2px 10px; border-radius: 2px; line-height: 1.4; }
.search-item h3 mark, .search-item p mark { background: rgba(0, 178, 119, .14); color: var(--c-primary); padding: 0 1px; }
.search-item p { margin-top: 8px; color: #888; font-size: var(--fs-sm); line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.search-item__date { display: block; margin-top: 8px; font-size: var(--fs-xs); color: #aaa; }
.search-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--c-line); background: #fff; }
.search-empty__t { font-size: var(--fs-md); color: var(--c-title); font-weight: 600; }
.search-empty__d { margin-top: 14px; color: #888; font-size: var(--fs-sm); line-height: 1.9; }
.search-empty__d a { color: var(--c-primary); }
@media (max-width: 575.98px) {
  .search-form button { padding: 0 18px; }
  .search-form button span { display: none; }
  .search-filters { justify-content: flex-start; gap: 6px; }
  .search-filter { padding: 5px 13px; }
  .search-item { padding: 14px 2px; gap: 12px; }
  .search-item__thumb { width: 96px; }
  .search-item h3 { font-size: 15px; }
}

/* ---------- 售后服务页 ---------- */
.svc-block { margin-top: 80px; }
.svc-block .sec-head { margin-bottom: 40px; justify-content: center; }
.svc-head .sec-head, .head-center .sec-head { justify-content: center; } /* 区块标题居中（售后服务承诺/产品优势） */
.svc-head .contact-sub, .head-center .contact-sub { text-align: center; }
.svc-head .sec-head__cn, .svc-head .sec-head__cn em, .head-center .sec-head__cn, .head-center .sec-head__cn em { text-align: center; } /* 标题+英文副标文字居中 */
.head-center .ly-title__sub, .head-center .sec-head__cn { text-align: center; } /* 在线留言标题居中 */
.ly-title.head-center { text-align: center; } /* inline-block 标题需在父容器上居中 */
.svc-block .sec-head__cn, .svc-block .sec-head__cn em { text-align: center; }
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.svc-step { position: relative; text-align: center; padding: 34px 22px 30px; background: #fff; border: 1px solid #ececec; border-radius: 10px; box-shadow: 0 2px 10px rgba(31, 61, 46, .05); transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.svc-step:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(31, 61, 46, .12); }
.svc-step::after { content: ''; position: absolute; top: 50%; right: -20px; width: 20px; height: 2px; background: var(--c-primary); opacity: .45; }
.svc-step:last-child::after { display: none; }
.svc-step__no { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(0, 178, 119, .09); color: var(--c-primary); font-size: 20px; font-weight: 700; transition: background .5s cubic-bezier(.22,.61,.36,1), color .5s cubic-bezier(.22,.61,.36,1); }
.svc-step:hover .svc-step__no { background: var(--c-primary); color: #fff; }
.svc-step__h { margin-top: 18px; font-size: var(--fs-md); font-weight: 700; color: var(--c-title); transition: color var(--t-fast) var(--ease); }
.svc-step:hover .svc-step__h { color: var(--c-primary); }
.svc-step__txt { margin-top: 10px; color: #888; font-size: var(--fs-sm); line-height: 1.75; text-align: left; }
.svc-policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-policy .culture-card { height: 100%; box-sizing: border-box; padding: 30px 26px; }
.ind-cta { margin-top: 36px; text-align: center; }
.svc-faq { max-width: 860px; margin: 0 auto; }
.svc-faq li { background: #f7faf8; border: 0; border-left: 3px solid var(--c-primary); border-radius: 6px; padding: 13px 18px 13px 20px; margin-bottom: 12px; transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.svc-faq li:hover { background: var(--c-primary-soft); box-shadow: 0 6px 16px rgba(31, 61, 46, .08); }
.svc-faq a { color: var(--c-title); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.svc-faq a:hover { color: var(--c-primary); }
.svc-faq__more { margin-top: 18px; text-align: center; color: #888; font-size: var(--fs-sm); }
.svc-faq__more a { color: var(--c-primary); }
@media (max-width: 991.98px) {
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-step::after { display: none; }
  .svc-policy { grid-template-columns: 1fr; }
  .svc-policy--min2 { grid-template-columns: repeat(2, 1fr); } /* 公司优势页窄屏仍两列 */
  .svc-block { margin-top: 40px; }
}
@media (max-width: 575.98px) {
  .svc-steps { grid-template-columns: 1fr; }
  .svc-policy--min2 { gap: 12px; }
  .svc-policy--min2 .culture-card { padding: 22px 14px; }
}

/* ---------- 21. 资料下载（列表 + 详情 + PDF 在线预览） ---------- */


.doc-list { display: flex; flex-direction: column; gap: 14px; }
.doc-row { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px 24px; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.doc-row:hover { border-color: #b9dfd0; box-shadow: 0 12px 28px rgba(17, 78, 53, .1); transform: translateY(-2px); }
.doc-row__badge { flex: none; width: 54px; height: 66px; border-radius: 9px; background: linear-gradient(160deg, #ff7d68 0%, #e2492f 80%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: .5px; box-shadow: 0 6px 14px rgba(226, 73, 47, .26); position: relative; overflow: hidden; }
.doc-row__badge::after { content: ""; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 13px 13px; border-color: transparent transparent rgba(255, 255, 255, .38) transparent; }
.doc-row__main { flex: 1; min-width: 0; }
.doc-row__t { font-size: 18px; font-weight: 700; line-height: 1.5; }
.doc-row__t a { color: var(--c-title); transition: color var(--t-fast) var(--ease); }
.doc-row__t a:hover { color: var(--c-primary); }
.doc-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 9px 0 7px; font-size: var(--fs-xs); color: #93a29a; }
.doc-row__cat { color: var(--c-primary); background: var(--c-primary-soft); border-radius: 999px; padding: 2px 11px; font-weight: 500; }
.doc-row__pages:not(:empty)::after { content: " 页"; }
.doc-row__ver:not(:empty)::before { content: "版本 "; opacity: .8; }
.doc-row__ver:not(:empty), .doc-row__pages:not(:empty) { display: inline-block; }
.doc-row__b { color: #85948c; font-size: var(--fs-sm); line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.doc-row__ops { flex: none; display: flex; flex-direction: column; gap: 9px; align-self: center; }
.doc-row__btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: var(--fs-sm); font-weight: 500; padding: 9px 20px; border-radius: 9px; text-align: center; white-space: nowrap; transition: all var(--t-fast) var(--ease); }
.doc-row__btn em { font-style: normal; opacity: .75; }
.doc-row__btn--view { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; box-shadow: 0 5px 12px rgba(0, 178, 119, .24); }
.doc-row__btn--view:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 178, 119, .32); }
.doc-row__btn--dl { border: 1px solid var(--c-line); color: #5d6b64; background: #fff; }
.doc-row__btn--dl:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-soft); }

/* 详情页 */
.doc-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #f7fbf9 0%, #edf6f1 100%); border: 1px solid #dbe9e0; border-radius: 14px; padding: 26px 30px; margin-bottom: 20px; }
.doc-hero__t h1 { font-size: 28px; font-weight: 700; color: var(--c-title); line-height: 1.45; }
.doc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-xs); color: #7c8c83; }
.doc-hero__meta em { font-style: normal; font-weight: 600; color: #5d7268; }
.doc-hero__meta > span { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid #dbe9e0; border-radius: 999px; padding: 4px 13px; }
.doc-hero__cat { color: var(--c-primary); background: var(--c-primary-soft); border-color: transparent; font-weight: 600; }
.doc-hero__ver { color: var(--c-primary); background: var(--c-primary-soft); border-color: transparent; font-weight: 600; }
.doc-hero__ops { flex: none; display: flex; gap: 10px; }
.doc-hero__dl, .doc-hero__new { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-md); padding: 12px 24px; border-radius: 10px; transition: all var(--t-fast) var(--ease); }
.doc-hero__dl { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(0, 178, 119, .26); }
.doc-hero__dl:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 9px 18px rgba(0, 178, 119, .32); }
.doc-hero__dl em, .doc-hero__new em { font-style: normal; opacity: .8; }
.doc-hero__new { border: 1px solid var(--c-line); color: #5d6b64; background: #fff; }
.doc-hero__new:hover { border-color: var(--c-primary); color: var(--c-primary); }

.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
/* 文档说明：仅对齐外层容器宽度，与上方 PDF 预览页左右齐平（取消 .rich 的 900px 居中；
   预览框 1px 边框 + 内部 12px 内边距 => 13px），正文来自 CMS 编辑器，不额外加样式 */
.doc-desc { margin: 26px 0 0; max-width: none; padding: 0 13px; }
.doc-desc .article-head h2 { font-size: var(--fs-xl); }

.doc-card { border: 1px solid var(--c-line); border-radius: 12px; padding: 20px; background: #fff; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(20, 70, 50, .04); }
.doc-card__t { position: relative; font-size: 16px; font-weight: 600; color: var(--c-title); margin-bottom: 16px; padding-left: 12px; }
.doc-card__t::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 15px; border-radius: 2px; background: var(--c-primary); }
.doc-card__info { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; margin: 0; font-size: var(--fs-sm); }
.doc-card__info dt { color: #98a69e; white-space: nowrap; padding: 7px 0; border-bottom: 1px dashed #edf2ee; }
.doc-card__info dd { margin: 0; color: var(--c-text); word-break: break-all; padding: 7px 0; border-bottom: 1px dashed #edf2ee; }
.doc-card__info dt:nth-last-of-type(1), .doc-card__info dd:nth-last-of-type(1) { border-bottom: 0; }
.doc-card__info dd:empty::after { content: "—"; color: #ccc; }
.doc-card__dl { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; font-weight: 600; font-size: var(--fs-md); padding: 12px 0; border-radius: 10px; box-shadow: 0 5px 12px rgba(0, 178, 119, .22); transition: all var(--t-fast) var(--ease); }
.doc-card__dl:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0, 178, 119, .3); }
.doc-card__dl em { font-style: normal; opacity: .8; }
.doc-card__list { display: flex; flex-direction: column; }
.doc-card__item { display: block; padding: 11px 8px; margin: 0 -8px; border-bottom: 1px dashed #edf2ee; border-radius: 8px; transition: background var(--t-fast) var(--ease); }
.doc-card__item:last-child { border-bottom: 0; }
.doc-card__item:hover { background: #f5faf7; }
.doc-card__item h3 { font-size: var(--fs-sm); font-weight: 500; color: var(--c-title); line-height: 1.55; transition: color var(--t-fast) var(--ease); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.doc-card__item:hover h3 { color: var(--c-primary); }
.doc-card__item p { margin-top: 4px; font-size: var(--fs-xs); color: #aab5ae; }
.doc-card__cat { display: inline-block; font-size: var(--fs-xs); color: var(--c-primary); background: var(--c-primary-soft); border-radius: 999px; padding: 0 9px; line-height: 1.7; margin-bottom: 4px; }

/* PDF 预览器 */
.docview { border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(20, 70, 50, .07); }
.docview__bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f5f8f6; border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.docview__name { flex: 1; min-width: 0; font-size: var(--fs-xs); color: #8a968f; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.docview__tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.docview__btn { font-size: var(--fs-xs); color: #55645d; border: 1px solid var(--c-line); background: #fff; border-radius: 4px; padding: 4px 9px; line-height: 1.5; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.docview__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.docview__btn--z { min-width: 30px; text-align: center; }
.docview__count, .docview__zoom { font-size: var(--fs-xs); color: #8a968f; white-space: nowrap; }
.docview__count b { color: var(--c-primary); font-weight: 600; }
.docview__stage { position: relative; height: 72vh; overflow: auto; background: #eef1ef; -webkit-overflow-scrolling: touch; }
.docview__pages { padding: 16px 12px 22px; width: fit-content; margin: 0 auto; }
.docview__page { position: relative; margin-bottom: 14px; background: #fff; border-radius: 2px; box-shadow: 0 1px 4px rgba(30, 45, 38, .16); overflow: hidden; }
.docview__canvas { display: block; width: 100%; height: 100%; }
.docview__no { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #b6bfb9; }
.docview__hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #98a39d; font-size: var(--fs-sm); pointer-events: none; }
.docview.is-loading .docview__stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid #cfd8d2; border-top-color: var(--c-primary); border-radius: 50%; animation: docview-spin .8s linear infinite; }
@keyframes docview-spin { to { transform: rotate(360deg); } }
.docview.is-fallback .docview__stage { height: auto; background: #fff; }
.docview.is-fallback .docview__pages { width: auto; } /* 降级 iframe 占满预览框，勿随 fit-content 塌缩 */
.docview__fb iframe { display: block; width: 100%; height: 72vh; border: 0; }
.docview__fb-tip { padding: 10px 14px; font-size: var(--fs-xs); color: #98a39d; background: #f5f8f6; border-top: 1px solid var(--c-line); }
.docview__fb-tip a { color: var(--c-primary); font-weight: 600; }
.docview:fullscreen { background: #2f3634; border-radius: 0; border: 0; display: flex; flex-direction: column; }
.docview:fullscreen .docview__bar { background: #262d2a; border-bottom-color: #3a443f; }
.docview:fullscreen .docview__name, .docview:fullscreen .docview__count, .docview:fullscreen .docview__zoom { color: #9aa8a1; }
.docview:fullscreen .docview__btn { background: transparent; border-color: #4a554f; color: #cfd8d2; }
.docview:fullscreen .docview__stage { flex: 1; height: auto; background: #3a423e; }
.docview:fullscreen .docview__pages { margin: 0 auto; }

/* 资料下载响应式 */
@media (max-width: 1199.98px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
}
@media (max-width: 991.98px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-row { padding: 16px 18px; gap: 14px; }
  .doc-row__t { font-size: 16px; }
  .doc-row__badge { width: 44px; height: 54px; font-size: 12px; }
  .doc-hero { padding: 20px 18px; }
  .doc-hero__t h1 { font-size: 21px; }
}
@media (max-width: 575.98px) {
  .docview__stage { height: 62vh; }
  .docview__fb iframe { height: 62vh; }
  .doc-row__ops { flex-direction: row; width: 100%; }
  .doc-row__btn { flex: 1; padding: 9px 0; }
  .doc-row { flex-wrap: wrap; padding: 16px 14px; gap: 12px; }
  .doc-row__main { flex: 1 1 calc(100% - 56px); }
  .doc-hero__ops { width: 100%; }
  .doc-hero__dl, .doc-hero__new { flex: 1; justify-content: center; padding: 11px 0; }
}
