/* ============================================================
   邢台晨风自行车有限公司 — 全站样式
   Chenfeng Bicycle — Global Stylesheet
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-primary: #0d3b66;
  --c-primary-dark: #082846;
  --c-primary-mid: #14507f;
  --c-primary-light: #e8f0f8;
  --c-accent: #f57c1f;
  --c-accent-dark: #d9631a;
  --c-accent-light: #fff2e6;
  --c-ink: #0f1622;
  --c-body: #4a5568;
  --c-muted: #7b8794;
  --c-line: #e3e8ef;
  --c-line-soft: #eef2f7;
  --c-bg: #ffffff;
  --c-bg-alt: #f6f9fc;
  --c-dark: #071426;
  --c-wa: #25d366;
  --c-wc: #07c160;

  --ff: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --sh-sm: 0 1px 2px rgba(15, 22, 34, .06), 0 1px 3px rgba(15, 22, 34, .04);
  --sh: 0 4px 12px rgba(15, 22, 34, .07), 0 2px 4px rgba(15, 22, 34, .04);
  --sh-md: 0 12px 28px rgba(15, 22, 34, .10), 0 4px 10px rgba(15, 22, 34, .05);
  --sh-lg: 0 24px 48px rgba(15, 22, 34, .14);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 72px;
  --topbar-h: 38px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 12px);
}

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

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; color: var(--c-ink); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid rgba(245, 124, 31, .55); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-primary); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. 布局容器 ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.sec { padding: 84px 0; }
.sec--alt { background: var(--c-bg-alt); }
.sec--tight { padding: 48px 0; }
.sec__more { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. 区块标题 ---------- */
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head__kicker {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); background: var(--c-accent-light); border-radius: 999px;
}
.sec-head__title { margin: 0 0 14px; }
.sec-head__title::after {
  content: ''; display: block; width: 56px; height: 4px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); border-radius: 4px;
}
.sec-head--left .sec-head__title::after { margin-left: 0; }
.sec-head__sub { margin: 0; color: var(--c-muted); font-size: 1.03rem; }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--light .sec-head__sub { color: rgba(255, 255, 255, .78); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border: 2px solid transparent; border-radius: var(--r);
  font-size: .95rem; font-weight: 600; line-height: 1.2; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-mid)); color: #fff; box-shadow: var(--sh); }
.btn--primary:hover { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); color: #fff; box-shadow: var(--sh-md); }

.btn--accent { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark)); color: #fff; box-shadow: 0 6px 18px rgba(245, 124, 31, .3); }
.btn--accent:hover { color: #fff; box-shadow: 0 12px 28px rgba(245, 124, 31, .4); }

.btn--outline { background: transparent; border-color: var(--c-line); color: var(--c-primary); }
.btn--outline:hover { border-color: var(--c-primary); background: var(--c-primary-light); color: var(--c-primary); }

.btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; border-color: #fff; }

.btn--wa { background: var(--c-wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .28); }
.btn--wa:hover { background: #1eb257; color: #fff; }

.btn--sm { padding: 9px 16px; font-size: .875rem; }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. 顶栏 ---------- */
.site-header { position: relative; z-index: 900; }

/* 顶栏必须自带层叠上下文（z-index 高于 .navbar 的 800），
   否则里面的语言下拉菜单会被后面出现的 .navbar 盖住 */
.topbar {
  position: relative; z-index: 860;
  background: var(--c-dark); color: rgba(255, 255, 255, .78);
  font-size: .82rem; height: var(--topbar-h);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar__left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__left > a, .topbar__addr { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.topbar__left > a:hover { color: #fff; }
.topbar__left svg { opacity: .7; flex: none; }
.topbar__right { display: flex; align-items: center; gap: 18px; }

.social { display: flex; align-items: center; gap: 6px; }
.social__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .08);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social__item:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); }

.lang { position: relative; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .08); border: 0; color: rgba(255, 255, 255, .86);
  padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 500;
}
.lang__toggle:hover { background: rgba(255, 255, 255, .16); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: #fff; border-radius: var(--r); box-shadow: var(--sh-md);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s var(--ease); z-index: 50;
}
.lang:hover .lang__list, .lang:focus-within .lang__list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: .88rem; color: var(--c-ink); }
.lang__item:hover { background: var(--c-bg-alt); }
.lang__item.is-active { background: var(--c-primary-light); color: var(--c-primary); font-weight: 600; }

/* ---------- 7. 主导航 ---------- */
.navbar {
  background: #fff; border-bottom: 1px solid var(--c-line-soft);
  position: sticky; top: 0; z-index: 800; transition: box-shadow .25s var(--ease);
}
.navbar.is-stuck { box-shadow: var(--sh-md); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: var(--c-ink); white-space: nowrap;
}
.nav > ul > li > a:hover { color: var(--c-primary); background: var(--c-bg-alt); }
.nav > ul > li > a svg { opacity: .5; }

.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -8px);
  width: min(940px, 94vw); background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 22px 22px 0;
  opacity: 0; visibility: hidden; transition: all .24s var(--ease); z-index: 60;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0 0 16px; max-width: none; }
.mega__item { display: flex; gap: 12px; padding: 10px; border-radius: var(--r); transition: background .18s var(--ease); }
.mega__item:hover { background: var(--c-bg-alt); }
.mega__thumb { flex: none; width: 72px; height: 54px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-bg-alt); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega__text strong { color: var(--c-ink); font-size: .92rem; }
.mega__text em { font-style: normal; font-size: .78rem; color: var(--c-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 -22px; padding: 13px; background: var(--c-bg-alt);
  border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: .88rem; font-weight: 600;
}
.mega__all:hover { background: var(--c-primary-light); }

.navbar__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: all .25s var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 8. 轮播 ---------- */
.slider { position: relative; overflow: hidden; background: var(--c-dark); }
.slider--full { height: clamp(460px, 72vh, 760px); }
.slider--half { height: clamp(300px, 46vh, 480px); }
.slider--half-hero { height: clamp(320px, 50vh, 560px); }

.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s var(--ease); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active .slide__img { transform: scale(1); }
.slide__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 20, 38, .88) 0%, rgba(7, 20, 38, .62) 42%, rgba(7, 20, 38, .18) 78%, rgba(7, 20, 38, .42) 100%);
}
.slider--half .slide__scrim, .slider--half-hero .slide__scrim {
  background: linear-gradient(100deg, rgba(7, 20, 38, .82) 0%, rgba(7, 20, 38, .5) 48%, rgba(7, 20, 38, .2) 100%);
}
.slide__caption { position: absolute; inset: 0; display: flex; align-items: center; }
.slide__caption .container { max-width: 1240px; }
.slide__kicker {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(245, 124, 31, .92); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.slide__title {
  max-width: 760px; margin: 0 0 16px; color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 3.05rem); font-weight: 800; line-height: 1.16;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  animation: slideUp .85s var(--ease) both;
}
.slide__sub {
  max-width: 620px; margin: 0 0 28px; color: rgba(255, 255, 255, .9);
  font-size: clamp(.95rem, 1.35vw, 1.12rem); line-height: 1.65;
  animation: slideUp .85s .12s var(--ease) both;
}
.slide__caption .btn { animation: slideUp .85s .24s var(--ease) both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); color: #fff;
  display: flex; align-items: center; justify-content: center; z-index: 4;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.slider__arrow:hover { background: var(--c-accent); border-color: var(--c-accent); }
.slider__arrow svg { width: 20px; height: 20px; }
.slider__arrow--prev { left: 22px; transform: translateY(-50%) rotate(90deg); }
.slider__arrow--next { right: 22px; transform: translateY(-50%) rotate(-90deg); }

.slider__dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 10px; z-index: 4; }
.slider__dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); transition: all .28s var(--ease); }
.slider__dot:hover { background: rgba(255, 255, 255, .8); }
.slider__dot.is-active { width: 30px; background: var(--c-accent); }

.slider__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 4; }
.slider__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-accent), #ffb066); }
.slider__bar span.is-running { animation: barFill 6s linear forwards; }
@keyframes barFill { from { width: 0; } to { width: 100%; } }

.hero-wrap { position: relative; }

/* ---------- 9. 数据条 ---------- */
.stats-strip { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid)); color: #fff; }
.stats-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.stat span { display: block; margin-top: 5px; font-size: .85rem; color: rgba(255, 255, 255, .72); }

/* ---------- 10. 产品卡片 ---------- */
.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--c-line); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__model {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px;
  background: rgba(13, 59, 102, .88); color: #fff; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(4px);
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard__title { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.4; }
.pcard__title a { color: var(--c-ink); }
.pcard__title a:hover { color: var(--c-primary); }
.pcard__desc { flex: 1; margin: 0 0 16px; font-size: .875rem; color: var(--c-muted); line-height: 1.6; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--c-line-soft); }
.pcard__quote {
  padding: 7px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; color: var(--c-primary); font-size: .8rem; font-weight: 600;
  transition: all .2s var(--ease);
}
.pcard__quote:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- 11. 分类卡片 ---------- */
.ccard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.ccard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ccard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.08); }
.ccard__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ccard__title { margin: 0 0 8px; font-size: 1.05rem; }
.ccard__title a { color: var(--c-ink); }
.ccard__title a:hover { color: var(--c-primary); }
.ccard__desc { flex: 1; margin: 0 0 16px; font-size: .865rem; color: var(--c-muted); line-height: 1.6; }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--c-line-soft); }
.ccard__count { font-size: .8rem; color: var(--c-muted); }

/* ---------- 12. 优势卡片 ---------- */
.wcard {
  position: relative; padding: 32px 26px; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-line-soft); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.wcard::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.wcard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.wcard:hover::before { transform: scaleX(1); }
.wcard__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 18px; border-radius: var(--r);
  background: var(--c-primary-light); color: var(--c-primary);
}
.wcard h3 { margin: 0 0 10px; font-size: 1.05rem; }
.wcard p { margin: 0; font-size: .885rem; color: var(--c-muted); line-height: 1.65; }

/* ---------- 13. 左右分栏 ---------- */
.split-sec { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--c-bg-alt); }
.split-sec__media { position: relative; }
.split-sec__media .slider { height: 100%; min-height: 340px; }
.split-sec__body { display: flex; align-items: center; }
.split-sec__inner { padding: 64px clamp(28px, 5vw, 72px); max-width: 640px; }
.split-sec__inner h2 { margin: 6px 0 18px; }
.split-sec__inner p { color: var(--c-body); line-height: 1.75; }

.tick { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.tick li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.tick svg { flex: none; margin-top: 3px; color: var(--c-accent); }
.tick--lg li { font-size: 1rem; }

/* ---------- 14. 证书 ---------- */
.cert-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.certcard {
  display: block; background: #fff; border: 1px solid var(--c-line-soft);
  border-radius: var(--r); overflow: hidden; transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.certcard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.certcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--c-bg-alt); }
.certcard__name { display: block; padding: 12px 12px 14px; font-size: .78rem; font-weight: 600; color: var(--c-ink); line-height: 1.4; }
.cert-slider-sec { position: relative; }

.certgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.certcard--lg { border-radius: var(--r-lg); }
.certcard--lg .certcard__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--c-bg-alt); cursor: zoom-in; }
.certcard--lg .certcard__media img { aspect-ratio: 3 / 4; }
.certcard__zoom {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 59, 102, .88); color: #fff; border-radius: 50%; font-size: 1.3rem; line-height: 1;
}
.certcard__body { padding: 20px; }
.certcard__body h3 { margin: 0 0 8px; font-size: 1rem; }
.certcard__body p { margin: 0 0 14px; font-size: .86rem; color: var(--c-muted); line-height: 1.6; }
.certcard__body footer { display: flex; justify-content: space-between; font-size: .78rem; color: var(--c-muted); padding-top: 12px; border-top: 1px solid var(--c-line-soft); }

/* ---------- 15. 新闻 ---------- */
.ncard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--c-line-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.ncard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ncard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.06); }
.ncard__cat {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(245, 124, 31, .94); color: #fff; font-size: .72rem; font-weight: 700;
}
.ncard__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ncard__body time { font-size: .78rem; color: var(--c-muted); }
.ncard__body h3 { margin: 8px 0 10px; font-size: 1.02rem; line-height: 1.45; }
.ncard__body h3 a { color: var(--c-ink); }
.ncard__body h3 a:hover { color: var(--c-primary); }
.ncard__body p { flex: 1; margin: 0 0 14px; font-size: .865rem; color: var(--c-muted); line-height: 1.6; }

.nfeature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); margin-bottom: 56px; }
.nfeature__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--c-bg-alt); }
.nfeature__media img { width: 100%; height: 100%; object-fit: cover; }
.nfeature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.nfeature__cat { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--c-accent-light); color: var(--c-accent-dark); font-size: .74rem; font-weight: 700; }
.nfeature__body time { font-size: .82rem; color: var(--c-muted); }
.nfeature__body h2 { margin: 10px 0 14px; font-size: clamp(1.3rem, 2.1vw, 1.85rem); }
.nfeature__body h2 a { color: var(--c-ink); }
.nfeature__body p { color: var(--c-muted); line-height: 1.7; }
.nfeature__body .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- 16. 面包屑 / 内页头 ---------- */
.crumbs { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 14px 0; font-size: .82rem; color: var(--c-muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--c-line); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-primary); }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 600; }

.pagehero { position: relative; background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid)); color: #fff; padding: 62px 0; }
.pagehero--img { background-image: linear-gradient(120deg, rgba(7, 20, 38, .9), rgba(7, 20, 38, .62)), var(--ph-img); background-size: cover; background-position: center; }
.pagehero__inner { max-width: 900px; }
.pagehero h1 { color: #fff; margin: 0 0 12px; }
.pagehero p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1.02rem; max-width: 780px; }

/* ---------- 17. 产品列表 / 分类布局 ---------- */
.cat-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--c-line-soft); }
.cat-block__head h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cat-block__head p { margin: 0; color: var(--c-muted); font-size: .92rem; max-width: 720px; }

.cat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 20px); }
.cat-side h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 14px; }
.cat-side__list { list-style: none; margin: 0 0 26px; padding: 0; border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.cat-side__list li { border-bottom: 1px solid var(--c-line-soft); }
.cat-side__list li:last-child { border-bottom: 0; }
.cat-side__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; font-size: .89rem; font-weight: 500; color: var(--c-ink); }
.cat-side__list a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.cat-side__list li.is-active a { background: var(--c-primary); color: #fff; font-weight: 600; }
.cat-side__list em { font-style: normal; font-size: .76rem; opacity: .6; }
.cat-side__cta { padding: 22px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-mid)); border-radius: var(--r-lg); color: #fff; }
.cat-side__cta p { margin: 0 0 16px; font-size: .87rem; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.cat-side__cta .btn { background: #fff; color: var(--c-primary); }
.cat-side__cta .btn:hover { background: var(--c-accent); color: #fff; }

.cat-main__intro { padding: 24px 26px; background: var(--c-bg-alt); border-radius: var(--r-lg); margin-bottom: 40px; }
.cat-main__title { font-size: 1.3rem; margin: 0 0 24px; }
.cat-main__title em { font-style: normal; color: var(--c-muted); font-weight: 500; font-size: .95rem; }

.cat-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.cat-nav__item { padding: 16px 20px; border: 1px solid var(--c-line); border-radius: var(--r); font-weight: 600; font-size: .92rem; background: #fff; }
.cat-nav__item::before { content: '← '; color: var(--c-muted); }
.cat-nav__item--next { text-align: right; }
.cat-nav__item--next::before { content: ''; }
.cat-nav__item--next::after { content: ' →'; color: var(--c-muted); }

/* ---------- 18. 产品详情 ---------- */
.pdetail { padding: 48px 0 8px; }
.pdetail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }

.pgallery__main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-alt); border: 1px solid var(--c-line-soft); }
.pgallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pgallery__model { position: absolute; left: 16px; top: 16px; padding: 6px 14px; background: rgba(13, 59, 102, .9); color: #fff; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .05em; }
.pgallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pgallery__thumb { width: 92px; height: 70px; padding: 0; border: 2px solid var(--c-line-soft); border-radius: var(--r-sm); overflow: hidden; background: var(--c-bg-alt); cursor: pointer; transition: border-color .2s var(--ease); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__thumb.is-active { border-color: var(--c-accent); }

.pdetail__crumbs { margin-bottom: 12px; font-size: .84rem; }
.pdetail__crumbs a { color: var(--c-muted); }
.pdetail__crumbs a:hover { color: var(--c-primary); }
.pdetail__info h1 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
.pdetail__short { font-size: 1rem; color: var(--c-body); line-height: 1.7; margin-bottom: 26px; }

.pdetail__keys { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--c-line-soft); }
.pdetail__keys li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--c-line-soft); font-size: .89rem; }
.pdetail__keys span { color: var(--c-muted); flex: none; }
.pdetail__keys strong { color: var(--c-ink); font-weight: 600; text-align: right; }

.pdetail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pdetail__note { font-size: .85rem; color: var(--c-muted); line-height: 1.65; }

.pdetail__body { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.pdetail__main h2 { margin: 40px 0 16px; font-size: 1.32rem; padding-bottom: 12px; border-bottom: 2px solid var(--c-line-soft); }
.pdetail__main h2:first-child { margin-top: 0; }
.pdetail__aside { position: sticky; top: calc(var(--header-h) + 24px); }

.quote-box { padding: 26px; background: var(--c-bg-alt); border-radius: var(--r-lg); border: 1px solid var(--c-line-soft); }
.quote-box h3 { margin: 0 0 10px; font-size: 1.1rem; }
.quote-box p { font-size: .87rem; color: var(--c-muted); line-height: 1.6; }
.quote-box hr { border: 0; border-top: 1px solid var(--c-line); margin: 20px 0; }
.quote-box__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quote-box__list li { display: flex; gap: 9px; font-size: .84rem; align-items: flex-start; }
.quote-box__list svg { flex: none; margin-top: 3px; color: var(--c-accent); width: 15px; height: 15px; }

.stable-wrap { overflow-x: auto; border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); }
.stable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.stable tr:nth-child(odd) { background: var(--c-bg-alt); }
.stable th, .stable td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line-soft); }
.stable tr:last-child th, .stable tr:last-child td { border-bottom: 0; }
.stable th { width: 34%; font-weight: 600; color: var(--c-ink); }
.stable td { color: var(--c-body); }

/* ---------- 19. 正文排版 ---------- */
.prose { font-size: 1rem; line-height: 1.85; color: var(--c-body); }
.prose--lg { font-size: 1.05rem; }
.prose p { margin: 0 0 1.25em; }
.prose h2, .prose h3 { margin: 1.8em 0 .7em; }
.prose ul { margin: 0 0 1.25em; }
.prose strong { color: var(--c-ink); }

/* ---------- 20. 车间 / 设备 / 图库 ---------- */
.wrow { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--c-line-soft); }
.wrow:last-child { border-bottom: 0; }
.wrow--rev .wrow__media { order: 2; }
.wrow__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.wrow__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wrow__num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--c-primary-light); line-height: 1; margin-bottom: 8px; }
.wrow__body h3 { margin: 0 0 12px; font-size: 1.4rem; }
.wrow__body p { margin: 0; color: var(--c-body); line-height: 1.8; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip { padding: 30px 24px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-line-soft); text-align: center; transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.equip:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.equip strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--c-primary); line-height: 1; margin-bottom: 8px; }
.equip span { font-size: .87rem; color: var(--c-muted); }

.galgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galtile { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--c-bg-alt); cursor: zoom-in; aspect-ratio: 4 / 3; }
.galtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.galtile:hover img { transform: scale(1.09); }

.visit-band { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid)); color: #fff; padding: 60px 0; }
.visit-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.visit-band h2 { color: #fff; margin: 0 0 12px; }
.visit-band p { margin: 0; max-width: 660px; color: rgba(255, 255, 255, .82); line-height: 1.75; }

/* ---------- 21. 文章页 ---------- */
.article { padding: 56px 0 20px; }
.article__head { margin-bottom: 28px; }
.article__head h1 { margin: 10px 0 16px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: .85rem; color: var(--c-muted); }
.article__tags { display: flex; gap: 7px; }
.article__tags em { font-style: normal; padding: 3px 10px; background: var(--c-bg-alt); border-radius: 999px; font-size: .76rem; }
.article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 34px; }
.article__lede { font-size: 1.12rem; line-height: 1.8; color: var(--c-ink); font-weight: 500; padding-left: 20px; border-left: 4px solid var(--c-accent); margin-bottom: 34px; }
.article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-line-soft); }
.article__share { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--c-muted); }
.article__share a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-body); }
.article__share a:hover { background: var(--c-primary); color: #fff; }
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.article__pager-item { padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--r); display: flex; flex-direction: column; gap: 6px; }
.article__pager-item span { font-size: .78rem; color: var(--c-muted); }
.article__pager-item strong { font-size: .92rem; color: var(--c-ink); font-weight: 600; }
.article__pager-item--next { text-align: right; }

/* ---------- 22. 关于我们 ---------- */
.tline { list-style: none; margin: 0; padding: 0; position: relative; }
.tline::before { content: ''; position: absolute; left: 78px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-accent), var(--c-primary-light)); }
.tline__item { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 34px; padding: 0 0 34px; }
.tline__year { font-size: 1.05rem; font-weight: 800; color: var(--c-primary); text-align: right; padding-top: 2px; }
.tline__body { position: relative; padding-left: 34px; }
.tline__body::before { content: ''; position: absolute; left: -9px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 0 0 4px var(--c-bg); }
.tline__body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.tline__body p { margin: 0; color: var(--c-muted); font-size: .92rem; line-height: 1.7; }

.vcard { padding: 30px 28px; background: #fff; border-radius: var(--r-lg); border-left: 4px solid var(--c-accent); box-shadow: var(--sh-sm); }
.vcard h3 { margin: 0 0 12px; font-size: 1.1rem; }
.vcard p { margin: 0; color: var(--c-muted); font-size: .92rem; line-height: 1.75; }

.mkt { display: grid; gap: 20px; }
.mbar__top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 8px; }
.mbar__top strong { color: var(--c-primary); }
.mbar__track { height: 10px; border-radius: 999px; background: var(--c-line-soft); overflow: hidden; }
.mbar__track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }

/* ---------- 23. 联系我们 ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ccardx { padding: 30px 26px; background: #fff; border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.ccardx:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ccardx__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--c-primary-light); color: var(--c-primary); margin-bottom: 16px; }
.ccardx h3 { margin: 0 0 8px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; }
.ccardx a, .ccardx p { margin: 0; font-size: .95rem; color: var(--c-ink); font-weight: 500; line-height: 1.6; word-break: break-word; }
.ccardx a:hover { color: var(--c-accent); }

/* ---------- 24. 询盘表单 ---------- */
.iform { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--c-line-soft); border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.iform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--c-ink); }
.field label i { font-style: normal; color: var(--c-accent); }
.field .hint { font-weight: 400; color: var(--c-muted); font-size: .76rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; color: var(--c-ink); font-size: .93rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(13, 59, 102, .1); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e53e3e; box-shadow: 0 0 0 4px rgba(229, 62, 62, .1); }
.iform__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.iform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.iform__privacy { margin: 0; font-size: .78rem; color: var(--c-muted); max-width: 460px; line-height: 1.55; }
.iform__msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--r); font-size: .9rem; display: none; }
.iform__msg.is-ok { display: block; background: #e8f8ee; color: #1b7a41; border: 1px solid #b7e4c7; }
.iform__msg.is-err { display: block; background: #fdecec; color: #b42318; border: 1px solid #f7c9c9; }
.iform__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-line-soft); font-size: .85rem; color: var(--c-muted); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: var(--c-bg-alt); color: var(--c-ink); }
.chip--wa { background: #e7f9ee; color: #12925a; }
.chip--wa:hover { background: var(--c-wa); color: #fff; }
.chip--mail { background: var(--c-primary-light); color: var(--c-primary); }
.chip--mail:hover { background: var(--c-primary); color: #fff; }

.btn__spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spin { display: block; }
.btn.is-loading .btn__label { opacity: .75; }
.btn.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 25. 悬浮按钮 / 弹窗 ---------- */
.floatbar { position: fixed; right: 18px; bottom: 24px; display: flex; flex-direction: column; gap: 11px; z-index: 700; }
.fab {
  width: 50px; height: 50px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--sh-md); background: var(--c-primary);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.fab--whatsapp { background: var(--c-wa); }
.fab--wechat { background: var(--c-wc); }
.fab--mail { background: var(--c-primary-mid); }
.fab--top { background: rgba(15, 22, 34, .78); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.fab--top svg { transform: rotate(180deg); }

.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 20, 38, .62); backdrop-filter: blur(4px); }
.modal__box { position: relative; background: #fff; border-radius: var(--r-lg); padding: 32px; width: min(360px, 90vw); text-align: center; box-shadow: var(--sh-lg); animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.modal__box h3 { margin: 0 0 18px; font-size: 1.1rem; }
.modal__box img { width: 240px; height: 240px; margin: 0 auto 16px; border-radius: var(--r); border: 1px solid var(--c-line-soft); object-fit: contain; background: var(--c-bg-alt); }
.modal__id { font-size: 1.02rem; font-weight: 700; color: var(--c-primary); margin: 0 0 8px; letter-spacing: .04em; }
.modal__hint { margin: 0; font-size: .84rem; color: var(--c-muted); }
.modal__close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--c-muted); }
.modal__close:hover { color: var(--c-ink); }

.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(7, 20, 38, .92); display: flex; align-items: center; justify-content: center; padding: 40px; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: var(--r); box-shadow: var(--sh-lg); }
.lightbox__close { position: absolute; right: 26px; top: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.5rem; }
.lightbox__close:hover { background: var(--c-accent); }

/* ---------- 26. 页脚 ---------- */
.site-footer { background: var(--c-dark); color: rgba(255, 255, 255, .7); margin-top: 0; }
.footer-cta { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-mid)); }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 24px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; margin: 0 0 12px; font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.footer-cta p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .82); line-height: 1.75; }
.footer-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding: 62px 24px 48px; }
.footer__col h3 { color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 20px; }
.footer__logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer__intro { font-size: .875rem; line-height: 1.75; color: rgba(255, 255, 255, .62); margin-bottom: 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__list a { color: rgba(255, 255, 255, .7); font-size: .885rem; }
.footer__list a:hover { color: var(--c-accent); padding-left: 4px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer__contact li { display: flex; gap: 11px; font-size: .865rem; line-height: 1.6; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 3px; opacity: .55; }
.footer__contact a { color: rgba(255, 255, 255, .7); }
.footer__contact a:hover { color: var(--c-accent); }
.social--footer .social__item { background: rgba(255, 255, 255, .08); }
.social--footer .social__item:hover { background: var(--c-accent); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: .82rem; color: rgba(255, 255, 255, .5); flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* ---------- 27. 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound__code { display: block; font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin: 12px 0; }

/* ---------- 28. 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 29. 响应式 ---------- */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .galgrid { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 240px 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--topbar-h) + var(--header-h));
    background: #fff; border-top: 1px solid var(--c-line-soft);
    max-height: calc(100vh - var(--topbar-h) - var(--header-h)); overflow-y: auto;
    padding: 14px 20px 34px; box-shadow: var(--sh-lg);
    transform: translateX(-100%); transition: transform .3s var(--ease); z-index: 790;
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--c-line-soft); }
  .nav > ul > li > a { padding: 15px 4px; font-size: 1rem; justify-content: space-between; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; padding: 0 0 12px; opacity: 1; visibility: visible; display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; padding: 0; }
  .mega__all { margin: 0; border-radius: var(--r); }
  .nav-toggle { display: block; }
  .navbar { position: sticky; }

  .split-sec { grid-template-columns: 1fr; }
  .split-sec__media .slider { min-height: 320px; }
  .pdetail__grid { grid-template-columns: 1fr; gap: 36px; }
  .pdetail__body { grid-template-columns: 1fr; gap: 40px; }
  .pdetail__aside { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-side__list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .nfeature { grid-template-columns: 1fr; }
  .ccards { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .certgrid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 64px 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; --topbar-h: 0px; }
  .container { padding: 0 18px; }
  .topbar { display: none; }
  .nav { top: var(--header-h); max-height: calc(100vh - var(--header-h)); }
  .brand img { height: 38px; }
  .navbar__actions .btn span { display: none; }
  .navbar__actions .btn { padding: 10px 12px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(even) { border-right: 0; }

  .slider--full { height: 66vh; min-height: 420px; }
  .slider--half, .slider--half-hero { height: 300px; }
  .slider__arrow { display: none; }
  .slide__caption { align-items: flex-end; padding-bottom: 40px; }
  .slider__dots { bottom: 14px; }

  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head__title::after { margin-top: 14px; }

  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .certgrid { grid-template-columns: 1fr; }
  .galgrid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: 1fr; }
  .ccards { grid-template-columns: 1fr; }
  .cat-side__list { grid-template-columns: 1fr; }

  .pdetail__actions { flex-direction: column; }
  .pdetail__actions .btn { width: 100%; }

  .wrow { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .wrow--rev .wrow__media { order: 0; }

  .iform { padding: 22px 18px; }
  .iform__grid { grid-template-columns: 1fr; }
  .iform__foot { flex-direction: column; align-items: stretch; }
  .iform__foot .btn { width: 100%; }

  .footer-cta__inner { flex-direction: column; align-items: flex-start; padding: 40px 18px; }
  .footer__main { grid-template-columns: 1fr; gap: 34px; padding: 44px 18px 34px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .article__pager { grid-template-columns: 1fr; }
  .article__pager-item--next { text-align: left; }

  .tline::before { left: 52px; }
  .tline__item { grid-template-columns: 52px 1fr; gap: 16px; }
  .tline__year { font-size: .92rem; }
  .tline__body { padding-left: 24px; }

  .floatbar { right: 12px; bottom: 16px; }
  .fab { width: 46px; height: 46px; }

  .visit-band__inner { flex-direction: column; align-items: flex-start; }
  .cat-nav { grid-template-columns: 1fr; }
  .cat-nav__item--next { text-align: left; }
}

@media (max-width: 420px) {
  .slider--full { min-height: 380px; }
  .slide__title { font-size: 1.5rem; }
  .cert-strip { grid-template-columns: 1fr 1fr; }
  .footer-cta__btns { width: 100%; }
  .footer-cta__btns .btn { flex: 1; }
}

/* ---------- 30. 打印 & 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .slide__img { transform: none !important; }
}
@media print {
  .site-header, .floatbar, .site-footer, .modal, .slider__arrow, .slider__dots { display: none !important; }
  body { color: #000; }
}
