/* =============================================================
   北京康美斯工程技术有限公司 · 企业官网
   style.css —— 全局样式
   配色：方案 A「科技蓝青」（取自 Logo 渐变 #009FE9 → #4DBEB7 → #95CD9C）
   风格：工业简约（大留白 / 硬朗边框 / 蓝色为主、橙色点缀）
   断点：992px / 768px / 568px
   ============================================================= */

/* ==========================================================
   1. 设计变量
   ========================================================== */
:root {
  /* 主色 */
  --c-primary:        #0A2647;
  --c-primary-dark:   #061A31;
  --c-primary-light:  #143A66;

  /* 辅助色 */
  --c-accent:         #009FE9;
  --c-accent-hover:   #0084C4;
  --c-accent-soft:    #E6F5FD;
  --c-accent-2:       #22D3C5;
  --c-warn:           #FF7A1A;
  --c-brand-gradient: linear-gradient(90deg, #009FE9 0%, #4DBEB7 55%, #95CD9C 100%);

  /* 文字 */
  --c-text:           #1A2233;
  --c-text-strong:    #0A2647;
  --c-text-muted:     #5B6B84;
  --c-text-on-dark:   #FFFFFF;
  --c-text-on-dark-m: #A9BDD6;

  /* 背景 */
  --c-bg:             #FFFFFF;
  --c-bg-alt:         #F4F8FC;
  --c-bg-dark:        #0A2647;
  --c-border:         #E2EAF3;
  --c-shadow:         0 4px 20px rgba(10, 38, 71, 0.08);
  --c-shadow-hover:   0 12px 32px rgba(10, 38, 71, 0.16);

  /* 圆角 */
  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        16px;
  --radius-pill:      999px;

  /* 尺寸 */
  --container:        1200px;
  --container-wide:   1440px;
  --gutter:           24px;
  --section-py:       80px;
  --header-h:         76px;

  --transition:       0.25s ease;
  --font-sans:        "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                      "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================
   2. 基础
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; border: 0; }

a { color: var(--c-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent-hover); }

h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--c-text-strong); line-height: 1.3; font-weight: 700; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ==========================================================
   3. 布局工具
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: 1500px; }  /* 宽屏自适应容器（关于页简介用） */

.section { padding: var(--section-py) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 48px 0; }

.page { min-height: 60vh; }

/* 区块标题 */
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 700; margin-bottom: 10px;
}
.section__title { font-size: 32px; margin-bottom: 12px; }
.section__desc { color: var(--c-text-muted); font-size: 16px; }
.section--dark .section__desc { color: var(--c-text-on-dark-m); }
.section__title::after {
  content: ''; display: block; width: 48px; height: 4px; margin: 16px auto 0;
  background: var(--c-brand-gradient); border-radius: 2px;
}
.section__head--left .section__title::after { margin-left: 0; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all var(--transition); background: var(--c-accent); color: #fff;
}
.btn:hover { background: var(--c-accent-hover); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: transparent; border-color: var(--c-accent); color: var(--c-accent); }
.btn--outline:hover { background: var(--c-accent); color: #fff; }
.btn--primary-dark { background: var(--c-primary); }
.btn--primary-dark:hover { background: var(--c-primary-light); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* 通用网格 */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 空状态 / 提示 */
.empty {
  padding: 60px 24px; text-align: center; color: var(--c-text-muted);
  background: var(--c-bg-alt); border: 1px dashed var(--c-border); border-radius: var(--radius-md);
}
.notice {
  padding: 12px 16px; border-left: 3px solid var(--c-warn); background: #FFF7F0;
  color: #8A4B10; font-size: 14px; border-radius: var(--radius-sm); margin: 16px 0;
}
.badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; background: var(--c-accent-soft); color: var(--c-accent);
}
.badge--warn { background: #FFF1E6; color: var(--c-warn); }

/* 面包屑 */
.breadcrumb {
  padding: 16px 0; font-size: 14px; color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { margin: 0 6px; }

/* ==========================================================
   4. 页头
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: 0 2px 16px rgba(10,38,71,.10); }

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.logo__text { display: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 16px;
  font-size: 15px; font-weight: 500; color: var(--c-text-strong); border-radius: var(--radius-sm);
}
.nav__link:hover { color: var(--c-accent); background: var(--c-accent-soft); }
.nav__link.is-active { color: var(--c-accent); font-weight: 700; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--c-brand-gradient); border-radius: 1px;
}

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__tel {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--c-primary); font-size: 16px; white-space: nowrap;
}
.header__tel small { font-weight: 400; font-size: 12px; color: var(--c-text-muted); display: block; line-height: 1.2; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--c-primary);
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   5. 页脚
   ========================================================== */
.site-footer { background: var(--c-bg-dark); color: var(--c-text-on-dark-m); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__logo-plate {
  display: inline-block; background: #fff; padding: 10px 16px; border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.footer__logo-plate img { height: 36px; width: auto; }
.footer__title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer__title a { color: #fff; }
.footer__title a:hover { color: var(--c-accent); }
.footer__list li { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.footer__list a { color: var(--c-text-on-dark-m); }
.footer__list a:hover { color: #fff; }
.footer__list .f-phone,
.footer__list .f-mobile { color: #fff; font-weight: 700; font-size: 17px; }
.footer__desc { font-size: 14px; line-height: 1.8; }
/* 主要客户：完整文字名单（按类别分组、纯文字）
   ① 通栏铺在页脚上方三栏之下，用一条细线与上方分隔，不再挤在窄列里
      （此前只取前 2 个分组、且列宽仅 269px，名单既不完整也排不开）；
   ② 组名白色加粗 + 客户名顿号相连，与后台「客户名单」的书写格式一致，
      分类清晰、便于核对；组内 4 列并排（991 → 2 列，568 → 1 列）。 */
.footer__clients { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__clients-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 32px; }
.footer__clients-row { margin: 0; font-size: 13px; line-height: 1.9; }
.footer__clients-label { color: #fff; font-weight: 700; }
.footer__clients-names { color: var(--c-text-on-dark-m); }
.footer__bottom {
  margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; flex-wrap: wrap;
}
.footer__bottom a { color: var(--c-text-on-dark-m); }

/* ==========================================================
   6. 首页 Hero 轮播
   ========================================================== */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--c-primary-dark); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.hero__slide.is-active { opacity: 1; }
/* 首屏背景照片待补充（2026-09-22 撤下实拍照片）：保留该张幻灯片的位置，
   改用斜纹底 + 虚线标注；文案层与分页圆点均在更上层，版式不变 */
.hero__slide--ph { background: repeating-linear-gradient(135deg, #061A31 0 18px, #0C2C4A 18px 36px); }
.hero__ph {
  position: absolute; top: 22px; right: 24px; z-index: 3;
  padding: 8px 16px; border-radius: var(--radius-md);
  border: 1px dashed rgba(255,255,255,.38);
  color: rgba(255,255,255,.78); font-size: 14px; letter-spacing: .05em;
}
.hero__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,26,49,.88) 0%, rgba(6,26,49,.62) 45%, rgba(6,26,49,.25) 100%);
}
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; max-width: 720px;
  color: #fff;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-pill);
  font-size: 13px; letter-spacing: .08em; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent-2); }
.hero__title { font-size: 46px; color: #fff; margin-bottom: 18px; letter-spacing: .01em; }
.hero__subtitle { font-size: 17px; color: rgba(255,255,255,.86); margin-bottom: 32px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__dots {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 3;
}
.hero__dot {
  width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background var(--transition), width var(--transition);
}
.hero__dot.is-active { background: var(--c-accent); width: 52px; }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: rgba(6,26,49,.3); color: #fff; cursor: pointer; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.hero__arrow:hover { background: var(--c-accent); border-color: var(--c-accent); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* 数字带 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-primary); color: #fff; }
.stats__item { padding: 36px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stats__item:last-child { border-right: 0; }
.stats__num { font-size: 42px; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stats__num small { font-size: 16px; font-weight: 600; margin-left: 4px; color: var(--c-accent-2); }
.stats__label { margin-top: 10px; font-size: 14px; color: var(--c-text-on-dark-m); }

/* ==========================================================
   7. 产品卡片
   ========================================================== */
.p-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition);
  height: 100%;
}
.p-card:hover { border-color: var(--c-accent); box-shadow: var(--c-shadow-hover); transform: translateY(-4px); }
.p-card__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--c-bg-alt); overflow: hidden;
}
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted); font-size: 13px; background: repeating-linear-gradient(
    45deg, #F4F8FC, #F4F8FC 12px, #EDF3F9 12px, #EDF3F9 24px);
}
.p-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: #fff; background: rgba(10,38,71,.78);
  backdrop-filter: blur(4px);
}
.p-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.p-card__cat { font-size: 12px; color: var(--c-accent); font-weight: 600; margin-bottom: 8px; }
.p-card__title { font-size: 18px; margin-bottom: 10px; }
.p-card__desc {
  font-size: 14px; color: var(--c-text-muted); margin-bottom: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.p-card__tags span {
  font-size: 12px; padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--c-bg-alt); color: var(--c-text-muted);
}
.p-card__more {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: var(--c-accent); margin-top: auto;
}
.p-card__more::after { content: '→'; transition: transform var(--transition); }
.p-card:hover .p-card__more::after { transform: translateX(4px); }

/* ==========================================================
   8. 四大优势
   ========================================================== */
.adv-card {
  padding: 32px 26px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); position: relative; overflow: hidden;
  transition: all var(--transition); height: 100%;
}
.adv-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--c-brand-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-card:hover { box-shadow: var(--c-shadow-hover); transform: translateY(-4px); }
.adv-card__no {
  font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: var(--c-brand-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-bottom: 16px;
}
.adv-card__title { font-size: 18px; margin-bottom: 10px; }
.adv-card__desc { font-size: 14px; color: var(--c-text-muted); }

/* ==========================================================
   9. 合作流程
   ========================================================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process__step { position: relative; padding: 0 14px; text-align: center; }
.process__step::after {
  content: ''; position: absolute; top: 23px; right: -50%; width: 100%; height: 1px;
  background: var(--c-border); z-index: 0;
}
.process__step:nth-child(5n)::after { display: none; }
.process__dot {
  position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 16px;
  border-radius: 50%; background: #fff; border: 2px solid var(--c-accent);
  color: var(--c-accent); font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.process__step:hover .process__dot { background: var(--c-accent); color: #fff; transform: scale(1.08); }
.process__title { font-size: 16px; margin-bottom: 8px; }
.process__desc { font-size: 13px; color: var(--c-text-muted); }

/* ==========================================================
   10. 新闻卡片
   ========================================================== */
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); height: 100%;
}
.news-card:hover { box-shadow: var(--c-shadow-hover); transform: translateY(-4px); border-color: var(--c-accent); }
.news-card__media { aspect-ratio: 16 / 9; background: var(--c-bg-alt); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 13px; color: var(--c-text-muted); margin-bottom: 10px; }
.news-card__title {
  font-size: 17px; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__summary {
  font-size: 14px; color: var(--c-text-muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 新闻列表行 */
.news-row {
  display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}
.news-row:hover { background: var(--c-bg-alt); padding-left: 16px; padding-right: 16px; }
.news-row__date {
  flex-shrink: 0; width: 92px; text-align: center; border-right: 1px solid var(--c-border); padding-right: 20px;
}
.news-row__day { font-size: 32px; font-weight: 800; color: var(--c-primary); line-height: 1; }
.news-row__ym { font-size: 13px; color: var(--c-text-muted); }
.news-row__body { flex: 1; }
.news-row__title { font-size: 18px; margin-bottom: 8px; }
.news-row__summary { font-size: 14px; color: var(--c-text-muted); margin: 0; }

/* 文章正文 */
.article { max-width: 860px; margin: 0 auto; }
.article__title { font-size: 34px; margin-bottom: 14px; }
.article__meta {
  font-size: 14px; color: var(--c-text-muted); padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border); margin-bottom: 28px;
}
.article__body { font-size: 16px; line-height: 1.9; }
.article__body p { margin-bottom: 1.2em; }
.article__body img { border-radius: var(--radius-md); margin: 20px 0; }

/* ==========================================================
   11. 表单
   ========================================================== */
.form { display: grid; gap: 18px; }
.form--inline { grid-template-columns: 1fr 1fr; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 14px; font-weight: 600; color: var(--c-text-strong); }
.form__label .req { color: var(--c-warn); margin-left: 2px; }
.form__control {
  width: 100%; padding: 13px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  background: #fff; color: var(--c-text); transition: border-color var(--transition), box-shadow var(--transition);
}
.form__control:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.form__control.is-error { border-color: var(--c-warn); }
textarea.form__control { min-height: 130px; resize: vertical; }
select.form__control { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-text-muted) 50%),
                    linear-gradient(135deg, var(--c-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.form__error { font-size: 13px; color: var(--c-warn); min-height: 0; }
.form__hint { font-size: 13px; color: var(--c-text-muted); }
.form__msg {
  padding: 14px 18px; border-radius: var(--radius-md); font-size: 14px;
  display: none; align-items: flex-start; gap: 10px;
}
.form__msg.is-ok { display: flex; background: #EAF9F1; color: #14724B; border: 1px solid #BFE8D4; }
.form__msg.is-err { display: flex; background: #FFF4EC; color: #8A4B10; border: 1px solid #FFD9BC; }

/* ==========================================================
   12. 筛选
   ========================================================== */
.filter { margin-bottom: 36px; }
.filter__group { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.filter__group:last-child { border-bottom: 0; }
.filter__label { flex-shrink: 0; width: 88px; font-size: 14px; font-weight: 700; color: var(--c-text-strong); padding-top: 7px; }
.filter__items { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.chip {
  padding: 7px 18px; border: 1px solid var(--c-border); border-radius: var(--radius-pill);
  background: #fff; color: var(--c-text); font-size: 14px; cursor: pointer;
  transition: all var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.chip.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; font-weight: 600; }
.chip.is-active::after { content: '×'; font-size: 15px; line-height: 1; opacity: .8; }
.chip__count { font-size: 12px; opacity: .7; }
.filter__result { display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: 14px; color: var(--c-text-muted); }

/* ==========================================================
   13. 产品详情
   ========================================================== */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pd__cover {
  border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden;
  background: var(--c-bg-alt); aspect-ratio: 4 / 3; cursor: zoom-in;
}
.pd__cover img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd__thumb {
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; cursor: pointer; background: var(--c-bg-alt); padding: 0;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb.is-active, .pd__thumb:hover { border-color: var(--c-accent); }
.pd__title { font-size: 30px; margin-bottom: 12px; }
.pd__cat { font-size: 13px; color: var(--c-accent); font-weight: 600; margin-bottom: 10px; }
.pd__desc { color: var(--c-text-muted); margin-bottom: 22px; }
.pd__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pd__tags span { font-size: 13px; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--c-accent-soft); color: var(--c-accent); }
.pd__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pd-block { margin-top: 56px; }
.pd-block__title {
  font-size: 20px; margin-bottom: 20px; padding-left: 14px; position: relative;
}
.pd-block__title::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  background: var(--c-brand-gradient); border-radius: 2px;
}

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table caption { text-align: left; color: var(--c-text-muted); font-size: 14px; padding-bottom: 12px; }
.spec-table th, .spec-table td { padding: 14px 18px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.spec-table th { width: 220px; background: var(--c-bg-alt); font-weight: 600; color: var(--c-text-strong); }
.spec-table tr:hover td { background: #FAFCFE; }
.spec-table td .pending { color: var(--c-warn); font-weight: 600; }

/* 特点 / 应用列表 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.feature-list li { position: relative; padding-left: 28px; font-size: 15px; }
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.app-list { display: flex; flex-wrap: wrap; gap: 10px; }
.app-list li {
  padding: 8px 18px; background: var(--c-bg-alt); border-radius: var(--radius-md);
  font-size: 14px; color: var(--c-text);
}

/* 图集 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button {
  padding: 0; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; background: var(--c-bg-alt); aspect-ratio: 1;
}
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.08); }

/* ==========================================================
   14. 应用案例（业绩数据条 / 分类标签 / 业绩表 / 现场图集）
   ----------------------------------------------------------
   数据条：KMS.getBizStats()      标签与表格：KMS.getBiz().tabs
   图集：  KMS.getCases()         结构见 cases.html + main.js 第 8 节
   ========================================================== */

/* ---- 业绩数据条 ---- */
.biz-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--c-primary); color: var(--c-text-on-dark);
  border-radius: var(--radius-md); overflow: hidden; margin-bottom: 44px;
}
.biz-stat {
  padding: 30px 20px; text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.biz-stat:last-child { border-right: 0; }
.biz-stat__num { font-size: 38px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.biz-stat__num small { font-size: 15px; font-weight: 600; margin-left: 4px; color: var(--c-accent-2); }
.biz-stat__label { margin-top: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.biz-stat__note { margin-top: 4px; font-size: 12.5px; color: var(--c-text-on-dark-m); }

/* ---- 分类标签 ---- */
.biz-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 34px; }
.biz-tab {
  padding: 11px 26px; font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--c-text); background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-pill); cursor: pointer; transition: all var(--transition);
}
.biz-tab:hover { border-color: var(--c-accent); color: var(--c-accent); }
.biz-tab.is-active {
  background: var(--c-accent); border-color: var(--c-accent); color: #fff;
  box-shadow: 0 6px 16px rgba(0, 159, 233, .25);
}
.biz-tab:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
/* 标签内的张数小徽标（首页工程掠影用） */
.biz-tab i {
  font-style: normal; font-weight: 500; font-size: 12.5px;
  margin-left: 8px; opacity: .55;
}
.biz-tab.is-active i { opacity: .85; }

/* ---- 面板 ---- */
.biz-pane { display: none; }
.biz-pane.is-active { display: block; animation: bizFade .45s ease both; }
@keyframes bizFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.biz-panel__intro { max-width: 860px; margin: 0 auto 24px; text-align: center; }
.biz-panel__title { font-size: 22px; margin-bottom: 8px; }
.biz-panel__desc { font-size: 15px; color: var(--c-text-muted); }

/* ---- 表头上方的汇总数据条 ---- */
.biz-summary {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px;
  padding: 16px 22px; margin-bottom: 20px;
  background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: var(--radius-md);
}
.biz-summary__item { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--c-text-muted); }
.biz-summary__item b { font-size: 22px; font-weight: 800; color: var(--c-text-strong); }
.biz-summary__item em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--c-accent); }
.biz-summary__item i { font-style: normal; }

/* ---- 搜索 + 计数 ---- */
.biz-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.biz-search { position: relative; display: block; flex: 1 1 320px; max-width: 460px; }
.biz-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--c-text-muted); pointer-events: none;
}
.biz-search input {
  width: 100%; padding: 11px 16px 11px 42px; font-family: inherit; font-size: 14.5px;
  color: var(--c-text); background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); outline: none; transition: all var(--transition);
}
.biz-search input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(0, 159, 233, .12); }
.biz-count { font-size: 13.5px; color: var(--c-text-muted); white-space: nowrap; }

/* ---- 业绩表 ---- */
.biz-table-wrap {
  overflow: auto; max-height: 640px; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  box-shadow: var(--c-shadow);
}
.biz-table-wrap:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.biz-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.biz-table th, .biz-table td {
  padding: 12px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}
.biz-table thead th {
  position: sticky; top: 0; z-index: 2; white-space: nowrap;
  background: var(--c-bg-alt); color: var(--c-text-strong); font-weight: 700;
  border-bottom: 2px solid var(--c-accent);
}
.biz-table tbody tr:nth-child(even) { background: #FAFCFE; }
.biz-table tbody tr:hover { background: var(--c-accent-soft); }
.biz-table tbody tr:last-child td { border-bottom: 0; }
.biz-table .is-center { text-align: center; white-space: nowrap; }
.biz-table__no { width: 64px; text-align: center; white-space: nowrap; color: var(--c-text-muted); }
.biz-table__empty { padding: 44px 16px; text-align: center; color: var(--c-text-muted); }

/* 窄屏提示：表格可横向滑动 */
.biz-hint { display: none; margin-top: 10px; font-size: 13px; color: var(--c-text-muted); text-align: center; }

/* ---- 数据来源 ---- */
.biz-source { margin-top: 24px; text-align: center; font-size: 13px; color: var(--c-text-muted); }

/* ==========================================================
   15. 资质荣誉
   ========================================================== */
.honor-group { margin-bottom: 56px; }
.honor-group__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 2px solid var(--c-border); }
.honor-group__head h3 { margin: 0; }
.honor-group__head span { font-size: 14px; color: var(--c-text-muted); }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  overflow: hidden; cursor: zoom-in; transition: all var(--transition);
}
.honor-card:hover { box-shadow: var(--c-shadow-hover); transform: translateY(-4px); border-color: var(--c-accent); }
.honor-card__img { aspect-ratio: 3 / 4; overflow: hidden; background: #fff; padding: 10px; }
.honor-card__img img { width: 100%; height: 100%; object-fit: contain; }
.honor-card__title {
  padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--c-text-muted);
  border-top: 1px solid var(--c-border); min-height: 62px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.honor-card__type {
  display: inline-block; margin: 0 14px 12px; padding: 2px 9px; font-size: 12px;
  border-radius: var(--radius-pill); background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600;
}

/* ==========================================================
   16. 手风琴 FAQ
   ========================================================== */
.faq { border-top: 1px solid var(--c-border); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q {
  width: 100%; padding: 24px 56px 24px 0; border: 0; background: transparent; text-align: left;
  font-size: 17px; font-weight: 600; color: var(--c-text-strong); cursor: pointer; position: relative;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--c-accent); }
.faq__q::after {
  content: ''; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--transition);
}
.faq__item.is-open .faq__q::after { transform: translateY(-25%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 40px 24px 0; color: var(--c-text-muted); font-size: 15px; line-height: 1.85; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ==========================================================
   17. 灯箱
   ========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; background: rgba(6,26,49,.92);
  padding: 40px; backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 24px;
  cursor: pointer; line-height: 1; transition: background var(--transition);
}
.lightbox__close:hover { background: var(--c-accent); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.1);
  color: #fff; font-size: 22px; cursor: pointer; line-height: 1;
}
.lightbox__nav:hover { background: var(--c-accent); border-color: var(--c-accent); }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
.lightbox__caption {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 14px; text-align: center; max-width: 80%;
}

/* ==========================================================
   18. 联系页
   ========================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  display: flex; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); transition: all var(--transition);
}
.contact-card:hover { border-color: var(--c-accent); box-shadow: var(--c-shadow); }
.contact-card__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--c-accent-soft); color: var(--c-accent); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.contact-card__label { font-size: 13px; color: var(--c-text-muted); margin-bottom: 4px; }
.contact-card__value { font-size: 16px; font-weight: 600; color: var(--c-text-strong); word-break: break-all; }
.contact-card__value.is-pending { color: var(--c-warn); font-weight: 500; font-size: 14px; }

/* 公司简介：左文右视频一屏呈现（参考示例版式，文字精简）
   整块随视口宽度自适应缩放：容器 1500px 上限，字号/间距用 clamp 流式缩放 */
.about-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.about-intro > * { min-width: 0; }  /* 防止视频固有宽度(1280px)撑破网格列导致整页横向溢出 */
.about-intro__name { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; color: var(--c-primary); margin: 0 0 8px; }
.about-intro__en { color: var(--c-muted); font-size: clamp(12.5px, 1vw, 15px); letter-spacing: .06em; margin: 0 0 clamp(16px, 2vw, 28px); }
.about-intro__desc { color: var(--c-text); font-size: clamp(14px, 1.1vw, 16.5px); line-height: 2; margin: 0 0 clamp(16px, 2vw, 28px); }
.about-intro__quals { display: flex; flex-wrap: wrap; gap: clamp(8px, .9vw, 12px); list-style: none; margin: 0 0 clamp(20px, 2.4vw, 34px); padding: 0; }
.about-intro__quals li {
  padding: clamp(6px, .7vw, 9px) clamp(11px, 1.2vw, 17px); background: var(--c-bg-alt); border: 1px solid var(--c-border);
  border-radius: 999px; font-size: clamp(12px, .9vw, 14px); font-weight: 500; color: var(--c-text-strong);
}
.about-intro__media {
  position: relative;
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow);
}
.about-intro__media img { width: 100%; }
.about-intro__media video {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  background: #EAF9FC;   /* 宣传片本身就是浅青底，未加载出画面时同底，不出现深色块 */
}
/* 「开启解说」按钮：压在画面右下、原生控制条之上 */
.about-intro__sound {
  position: absolute; right: 14px; bottom: 56px; z-index: 3;
  padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: #fff;
  background: rgba(4, 40, 78, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(4, 40, 78, .22);
  transition: background .2s, transform .2s;
}
.about-intro__sound:hover { background: var(--c-primary); transform: translateY(-1px); }
.about-intro__sound.is-on { background: rgba(4, 40, 78, .5); }
.quals { display: grid; gap: 12px; margin-top: 24px; }
.quals li {
  padding: 14px 20px; background: var(--c-bg-alt); border-left: 3px solid var(--c-accent);
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 500;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  padding: 28px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  text-align: center;
}
.team-card__avatar {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--c-brand-gradient); color: #fff; font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.team-card__name { font-size: 17px; margin-bottom: 6px; }
.team-card__role { font-size: 13px; color: var(--c-accent); font-weight: 600; margin-bottom: 10px; }
.team-card__desc { font-size: 14px; color: var(--c-text-muted); }

/* 客户墙：纯 Logo 等高墙（板块内零文字）
   ① 格宽用**百分比基准**而不是固定 px —— 固定 px 一旦和容器实宽对不上，每行就会
      少排一格并把两侧空出来（曾写 --cell-w:216px、按 1392px 容器推算，而实际容器
      只有 1353px → 桌面变成每行 5 格、左右各空 105px）。百分比基准让 N 格永远正好铺满。
   ② 墙内不出现任何文字：没有分组标题、没有公司名、没有文字回退。
   ③ 残行靠 justify-content:center 居中 → 视觉上是「居中收尾」而不是「缺了一块」；
      满分行各格左边缘完全对齐（同一套格宽与间距，跨行竖线也对齐）。
      另有一套配平：39 客户 + 3 张宽标 = 42 格位，能被主断点列数 6/3/2 整除，
      这三档永远是整行收尾，5/4 档才靠居中收尾。
   ④ 所有 Logo 按同一 max-height 等比缩放并居中 → 各元素视觉尺寸一致。
   ⚠️ 列数阶梯的硬约束：每一档都必须满足
        「单格内容宽 ≥ 4.14 × max-height」
      4.14 是 39 张里除 3 张宽标外最大的宽高比（国家能源集团）。
      满足它，则其余 36 张一律按同一高度显示、比例天然一致；
      不满足就会有个别 Logo 被格宽压小（曾出现 40px vs 45px、离散 11%）。
      chongqing / pangang（~7:1）与 liugang（4:1）用 --wide 占两格，
      前两张是防压缩，第三张是配平格位。
      容器内容宽 = min(视口, 1500) − 2×gutter（gutter 24 / ≤992 为 20 / ≤568 为 16），
      桌面还会再减掉约 15px 竖滚动条。 */
.clients-band { padding: 56px 0; }

.logo-wall {
  --cols: 6;                       /* 桌面 6 格：视口 ≥1360 时容器 ≥1342 → 单格 ≥210px */
  --cell-gap: 16px;
  /* 单格宽 = (容器内容宽 - (N-1) 个间隙) / N，随容器自动伸缩 */
  --cell-w: calc((100% - (var(--cols) - 1) * var(--cell-gap)) / var(--cols));
  display: flex; flex-wrap: wrap; justify-content: center;
  align-content: flex-start; gap: var(--cell-gap);
  margin: 0; padding: 0; list-style: none;
}
.logo-wall__cell {
  flex: 0 0 var(--cell-w); min-width: 0;
  display: flex; align-items: center; justify-content: center;
  height: 84px; padding: 0 12px; overflow: hidden;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.logo-wall__cell:hover {
  border-color: var(--c-accent); box-shadow: var(--c-shadow); transform: translateY(-2px);
}
/* 超宽标（~7:1）占两格：2 格宽 + 1 个间隙 */
.logo-wall__cell--wide { flex-basis: calc(var(--cell-w) * 2 + var(--cell-gap)); }
.logo-wall__img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 44px; object-fit: contain;
}

/* ---- 列数阶梯（必须从大 max-width 往小写，后写的规则才能覆盖前面的）----
   6 格(≥1360) / 5 格(≥1160) / 4 格(≥905) / 3 格(≥720) / 2 格(其余) */
@media (max-width: 1359px) { .logo-wall { --cols: 5; --cell-gap: 12px; } }
@media (max-width: 1159px) { .logo-wall { --cols: 4; } }
@media (max-width: 904px)  { .logo-wall { --cols: 3; } }
@media (max-width: 719px)  { .logo-wall { --cols: 2; } }
@media (max-width: 991px) {
  .clients-band { padding: 44px 0; }
  .logo-wall__cell { height: 76px; }
}
@media (max-width: 768px) {
  .logo-wall__cell { height: 72px; padding: 0 8px; }
}
@media (max-width: 568px) {                     /* 小屏：2 格 · 单格约 160~260px */
  .clients-band { padding: 36px 0; }
  .logo-wall { --cell-gap: 10px; }
  .logo-wall__cell { height: 66px; }
  .logo-wall__img { max-height: 36px; }        /* 36px：≥375 宽的手机上 ar≤4.14 者仍不被压缩 */
}
@media (max-width: 430px) {
  .logo-wall__cell { height: 62px; }
}

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer; color: var(--c-text);
}
.pager button:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pager button.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* 侧栏布局 */
.with-side { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
.side-card__title { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.side-links li { padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--c-border); }
.side-links li:last-child { border-bottom: 0; }

/* ==========================================================
   19. 滚动入场动画
   ========================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }
.reveal--delay-5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c-primary); color: #fff; font-size: 18px; line-height: 1;
  box-shadow: var(--c-shadow); opacity: 0; visibility: hidden; transition: all var(--transition);
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-accent); }

/* ==========================================================
   20. 子页头图 / 产品视频（后台可配）
   ========================================================== */
.page-banner {
  background: var(--c-primary); color: #fff; padding: 56px 0;
  position: relative; overflow: hidden;
}
.page-banner--image { background-size: cover; background-position: center; padding: 88px 0; }
.page-banner--image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,26,49,.86) 0%, rgba(6,26,49,.55) 60%, rgba(6,26,49,.3) 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner__title { color: #fff; font-size: 32px; margin-bottom: 10px; }
.page-banner__desc { color: rgba(255,255,255,.85); font-size: 16px; max-width: 720px; margin: 0; }

.pd__video {
  width: 100%; max-width: 860px; border-radius: var(--radius-md);
  background: #000; display: block;
}
.pd__video-frame {
  position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9;
  border-radius: var(--radius-md); overflow: hidden; background: var(--c-primary-dark);
}
.pd__video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================
   21. 响应式
   ========================================================== */

/* ---- 992px：平板横屏 ---- */
@media (max-width: 992px) {
  :root { --section-py: 60px; --gutter: 20px; }

  h1 { font-size: 32px; }
  h2, .section__title { font-size: 26px; }
  .hero { height: 520px; }
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 16px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-intro__sound { right: 10px; bottom: 50px; padding: 7px 14px; font-size: 12.5px; }

  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process__step::after { display: none; }

  .pd { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .with-side { grid-template-columns: 1fr; gap: 32px; }
  .feature-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-stats { grid-template-columns: repeat(2, 1fr); }
  .biz-stat:nth-child(2n) { border-right: 0; }
  .biz-stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  /* 2 列模式下第三栏会落单、右侧空出一格 —— 让品牌栏通栏，三栏自然两行铺满 */
  .footer__grid > *:first-child { grid-column: 1 / -1; }
  .footer__clients { margin-top: 36px; padding-top: 26px; }
  .footer__clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }

  /* 导航折叠 */
  .burger { display: block; }
  .header__tel { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 40px;
    background: #fff; border-top: 1px solid var(--c-border);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s .3s; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
  .nav__link {
    padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--c-border); border-radius: 0;
  }
  .nav__link.is-active::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
  .nav .btn { margin-top: 20px; }
}

/* ---- 768px：平板竖屏 ---- */
@media (max-width: 768px) {
  :root { --section-py: 48px; --header-h: 64px; }

  .page-banner { padding: 36px 0; }
  .page-banner--image { padding: 56px 0; }
  .page-banner__title { font-size: 24px; }
  .page-banner__desc { font-size: 14px; }

  .section__head { margin-bottom: 32px; }
  .hero { height: 460px; }
  .hero__title { font-size: 27px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 24px; }
  .hero__arrow { display: none; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 16px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 26px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__num { font-size: 32px; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .form--inline { grid-template-columns: 1fr; }

  /* 应用案例：表头保持可读，表格横向滑动 */
  .biz-summary { gap: 10px 22px; padding: 14px 16px; }
  .biz-summary__item b { font-size: 19px; }
  .biz-table { min-width: 780px; font-size: 13.5px; }
  .biz-table th, .biz-table td { padding: 10px 12px; }
  .biz-table__no { width: 52px; }
  .biz-table-wrap { max-height: 480px; }
  .biz-hint { display: block; }
  .biz-panel__title { font-size: 20px; }

  .pd__title { font-size: 24px; }
  .spec-table th { width: 130px; padding: 11px 12px; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 14px; }
  .pd__thumbs { grid-template-columns: repeat(4, 1fr); }

  .news-row { flex-direction: column; gap: 12px; }
  .news-row__date { width: auto; text-align: left; border-right: 0; padding-right: 0; display: flex; align-items: baseline; gap: 8px; }
  .news-row__day { font-size: 24px; }

  .filter__group { flex-direction: column; gap: 10px; }
  .filter__label { width: auto; padding-top: 0; }
  .chip { padding: 6px 14px; font-size: 13px; }

  .article__title { font-size: 24px; }
  .contact-card { padding: 18px; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
  .lightbox { padding: 16px; }
  .lightbox__nav { display: none; }
}

/* ---- 568px：手机 ---- */
@media (max-width: 568px) {
  :root { --gutter: 16px; --section-py: 40px; }

  body { font-size: 15px; }
  h1 { font-size: 24px; }
  h2, .section__title { font-size: 21px; }
  h3 { font-size: 18px; }
  .section__desc { font-size: 14px; }

  .logo img { height: 32px; }
  .hero { height: 420px; }
  .hero__title { font-size: 22px; }
  .hero__subtitle { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__dot { width: 24px; }
  .hero__dot.is-active { width: 36px; }

  .btn { padding: 11px 22px; font-size: 14px; }
  .honor-grid { grid-template-columns: 1fr; }
  .honor-card__img { aspect-ratio: 4 / 3; }
  .process { grid-template-columns: 1fr; }
  .stats__num { font-size: 27px; }
  .adv-card { padding: 24px 20px; }
  .p-card__body { padding: 16px; }
  .pd__thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .faq__q { font-size: 15px; padding: 18px 40px 18px 0; }
  .faq__a-inner { padding-right: 8px; font-size: 14px; }
  .footer__logo-plate img { height: 30px; }
  .footer__clients { margin-top: 28px; padding-top: 22px; }
  .footer__clients-grid { grid-template-columns: 1fr; gap: 6px; }
  .clients { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card__icon { width: 40px; height: 40px; font-size: 17px; }

  /* 应用案例：数据条两列、标签与搜索占满整行 */
  .biz-stats { margin-bottom: 32px; }
  .biz-stat { padding: 20px 12px; }
  .biz-stat__num { font-size: 28px; }
  .biz-stat__num small { font-size: 13px; }
  .biz-stat__label { font-size: 14px; }
  .biz-stat__note { display: none; }
  .biz-tabs { gap: 8px; margin-bottom: 26px; }
  .biz-tab { padding: 9px 18px; font-size: 14px; }
  .biz-search { flex-basis: 100%; max-width: none; }
  .biz-count { width: 100%; }
  .biz-table { min-width: 720px; }
  .biz-source { font-size: 12px; text-align: left; }
}

/* ==========================================================
   22. 分组图集（产品实拍图库 / 物料实验数据 / 知识产权 / 工程现场）
   ========================================================== */
.gal-group { margin-bottom: 56px; }
.gal-group:last-child { margin-bottom: 0; }
.gal-group__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.gal-group__head h3 { margin: 0; font-size: 20px; color: var(--c-text-strong); }
.gal-group__head span { font-size: 14px; color: var(--c-text-muted); }
.gal-group__desc { font-style: normal; font-size: 14px; color: var(--c-text-muted); }

.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gal-item {
  display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition);
}
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--c-shadow-hover); border-color: var(--c-accent); }
.gal-item__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.gal-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-item:hover .gal-item__img img { transform: scale(1.06); }
.gal-item__body { display: block; padding: 12px 14px 14px; }
.gal-item__name { display: block; font-size: 15px; font-weight: 600; color: var(--c-text-strong); line-height: 1.5; }
.gal-item__tag {
  display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px;
  padding: 2px 10px; border-radius: var(--radius-pill);
  background: rgba(0, 159, 233, .1); color: var(--c-accent);
}

/* 证书类：竖长扫描件，白底 contain 不裁切 */
.gal-grid--cert .gal-item__img { aspect-ratio: 3 / 4; background: #fff; padding: 10px; }
.gal-grid--cert .gal-item__img img { object-fit: contain; }
.gal-grid--cert .gal-item:hover .gal-item__img img { transform: none; }

/* 数字带可点：物料实验数据 / 知识产权 */
.stats__item--link { text-decoration: none; color: inherit; display: block; }
.stats__more { display: block; margin-top: 8px; font-size: 12px; color: var(--c-accent-2); opacity: .85; }
.stats__item--link:hover .stats__more { opacity: 1; }
.adv-card--link { text-decoration: none; color: inherit; display: block; }

@media (max-width: 992px) {
  .gal-grid, .gal-grid--cert { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gal-grid, .gal-grid--cert { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gal-group { margin-bottom: 40px; }
  .gal-item__name { font-size: 14px; }
}
@media (max-width: 568px) {
  .gal-grid, .gal-grid--cert { grid-template-columns: 1fr; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, .to-top, .hero__dots, .hero__arrow { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
