@charset "utf-8";
/* ============================================================
   湖北正佳生物科技有限公司 官网样式
   纯静态 · 响应式 · 无第三方依赖
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --green-900: #0f3d22;
  --green-800: #14532d;
  --green-700: #1f6b3a;
  --green-600: #2e7d32;
  --green-500: #43a047;
  --green-300: #a5d6a7;
  --green-100: #e8f5e9;
  --gold: #c8a951;
  --gold-dark: #a98c37;
  --text: #26312a;
  --muted: #6b7a6f;
  --border: #e3e9e1;
  --bg-soft: #f6f8f4;
  --white: #fff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(15, 61, 34, .06);
  --shadow: 0 8px 28px rgba(15, 61, 34, .10);
  --shadow-lg: 0 16px 48px rgba(15, 61, 34, .16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--green-900);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}

/* ---------- 通用排版组件 ---------- */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 52px 0; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head .sub { color: var(--muted); margin-top: 12px; font-size: 16px; }
.sec-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--outline { background: #fff; color: var(--green-700); border-color: var(--green-300); }
.btn--outline:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.btn--gold { background: var(--gold); color: #3b2f08; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar a:hover { color: #fff; }
.topbar .sp { opacity: .4; margin: 0 8px; }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  display: grid; place-items: center;
  color: #fff;
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__txt b { display: block; font-size: 18px; color: var(--green-900); letter-spacing: .02em; line-height: 1.2; }
.brand__txt span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a {
  display: block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.menu a:hover { color: var(--green-600); }
.menu > li > a.active { color: var(--green-700); font-weight: 700; }
.menu > li > a.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--green-600); border-radius: 2px;
}

/* 下拉 */
.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
}
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 172px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0; visibility: hidden;
  transition: all .2s;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { padding: 9px 14px; font-size: 14px; }
.submenu a:hover { background: var(--green-100); }

.nav__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav__tel { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green-700); font-size: 15px; }
.nav__tel svg { width: 17px; height: 17px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--green-800); border-radius: 2px;
  transition: all .25s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  background: linear-gradient(160deg, #0f3d22 0%, #1f6b3a 52%, #2e7d32 100%);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; opacity: .5; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner { position: relative; padding: 92px 0; }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.22;
  margin-bottom: 20px;
  max-width: 15em;
}
.hero h1 em { font-style: normal; color: var(--green-300); }
.hero__lead { font-size: clamp(15px, 1.7vw, 18px); color: rgba(255, 255, 255, .88); max-width: 34em; margin-bottom: 32px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 780px; }
.hero__stats div { border-left: 2px solid rgba(255, 255, 255, .28); padding-left: 14px; }
.hero__stats b { display: block; font-size: clamp(22px, 3vw, 32px); color: #fff; line-height: 1.2; }
.hero__stats b i { font-style: normal; font-size: .55em; margin-left: 2px; opacity: .85; }
.hero__stats span { font-size: 13px; color: rgba(255, 255, 255, .74); }

/* ---------- 特性卡 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-300); }
.feature__ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-100);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature__ico svg { width: 27px; height: 27px; color: var(--green-600); }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- 两栏介绍 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); }
.split__media img { width: 100%; }
.badge-years {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(255, 255, 255, .96);
  border-radius: var(--radius);
  padding: 14px 22px;
  box-shadow: var(--shadow);
}
.badge-years b { display: block; font-size: 30px; color: var(--green-700); line-height: 1.1; }
.badge-years span { font-size: 12.5px; color: var(--muted); }

.checklist li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--muted); font-size: 15px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--green-100);
}
.checklist li::after {
  content: "";
  position: absolute; left: 5px; top: 13px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

/* ---------- 产品卡 ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-300); }
.pcard__thumb {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.pcard__thumb svg { width: 46%; height: auto; }
.pcard__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-700);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.pcard__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.pcard__body h3 { font-size: 19px; margin-bottom: 4px; }
.pcard__body .en { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.pcard__body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pcard__meta span {
  font-size: 12px; background: var(--green-100); color: var(--green-700);
  padding: 3px 10px; border-radius: 5px;
}
.pcard__link {
  margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--green-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.pcard__link::after { content: "→"; transition: transform .2s; }
.pcard:hover .pcard__link::after { transform: translateX(4px); }

/* ---------- 资质证书 ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
  transition: all .3s;
}
.cert:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert img { width: 100%; border-radius: 6px; }
.cert figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 4px 4px; line-height: 1.5; }

/* ---------- 数据条 ---------- */
.statbar { background: var(--green-800); color: #fff; padding: 54px 0; }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.statbar__grid b { display: block; font-size: clamp(26px, 4vw, 40px); color: #fff; line-height: 1.15; }
.statbar__grid b i { font-style: normal; font-size: .5em; margin-left: 3px; opacity: .8; }
.statbar__grid span { font-size: 14px; color: rgba(255, 255, 255, .76); }

/* ---------- 新闻列表 ---------- */
.nlist { display: grid; gap: 20px; }
.nitem {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 26px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all .3s;
}
.nitem:hover { box-shadow: var(--shadow); border-color: var(--green-300); transform: translateX(4px); }
.nitem__date {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  color: var(--green-700);
}
.nitem__date b { display: block; font-size: 30px; line-height: 1; }
.nitem__date span { font-size: 12.5px; color: var(--muted); }
.nitem h3 { font-size: 18px; margin-bottom: 6px; transition: color .2s; }
.nitem:hover h3 { color: var(--green-600); }
.nitem p { color: var(--muted); font-size: 14.5px; margin: 0; }
.nitem__arrow { color: var(--green-300); font-size: 22px; padding-right: 8px; }

/* 文章正文 */
.article { max-width: 860px; margin-inline: auto; }
.article__meta { color: var(--muted); font-size: 14px; text-align: center; margin-bottom: 34px; }
.article h2 { font-size: 23px; margin: 38px 0 14px; }
.article p { font-size: 16.5px; color: #3c4a40; }
.article ul.checklist { margin: 16px 0; }
.article__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; }

/* ---------- 案例 ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ccard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: all .3s;
}
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ccard__top { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; }
.ccard__top svg { width: 40%; height: auto; }
.ccard__loc {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0, 0, 0, .4); color: #fff;
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ccard__body { padding: 22px 24px 26px; }
.ccard__body h3 { font-size: 18px; margin-bottom: 10px; }
.ccard__body p { color: var(--muted); font-size: 14.5px; }
.ccard__kpi { display: flex; gap: 22px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); }
.ccard__kpi div b { display: block; color: var(--green-600); font-size: 19px; line-height: 1.2; }
.ccard__kpi div span { font-size: 12.5px; color: var(--muted); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 900px; margin-inline: auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--green-500), var(--green-300));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -34px; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green-500);
}
.tl-item b { color: var(--green-700); font-size: 15px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.info-card {
  background: var(--green-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
}
.info-card h2 { color: #fff; font-size: 25px; margin-bottom: 8px; }
.info-card > p { color: rgba(255, 255, 255, .78); font-size: 14.5px; margin-bottom: 28px; }
.info-row { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.info-row__ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.info-row__ico svg { width: 18px; height: 18px; }
.info-row b { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .62); font-weight: 500; }
.info-row span { font-size: 15.5px; font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 25px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label i { color: #d64545; font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 15px;
  font-family: inherit;
  background: #fcfdfc;
  transition: all .2s;
  color: var(--text);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(67, 160, 71, .13);
}
.field input.err,
.field textarea.err { border-color: #d64545; background: #fff6f6; }
.field__msg { display: none; font-size: 12.5px; color: #d64545; margin-top: 5px; }
.field__msg.show { display: block; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-alert { display: none; padding: 13px 16px; border-radius: 9px; font-size: 14.5px; margin-bottom: 18px; }
.form-alert.show { display: block; }
.form-alert.ok { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-300); }
.form-alert.bad { background: #fdecec; color: #a02828; border: 1px solid #f5c2c2; }

/* ---------- 地图占位 ---------- */
.mapbox {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.mapbox__head { padding: 18px 26px; background: #fff; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 16px; }
.mapbox__body { aspect-ratio: 21 / 7; min-height: 240px; display: grid; place-items: center; background: var(--green-100); }
.mapbox__body svg { width: 100%; height: 100%; }

/* ---------- CTA 条 ---------- */
.cta {
  background: linear-gradient(120deg, var(--green-700), var(--green-900));
  color: #fff;
  padding: 62px 0;
  text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .8); max-width: 40em; margin: 0 auto 28px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #0d2f1a; color: rgba(255, 255, 255, .7); padding: 62px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .brand__txt b { color: #fff; }
.footer .brand__txt span { color: rgba(255, 255, 255, .5); }
.footer__about { font-size: 14px; margin-top: 16px; max-width: 30em; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 9px; }
.footer__contact svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 5px; color: var(--green-300); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  border: 0; display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: all .3s;
  z-index: 90;
}
.totop.show { opacity: 1; visibility: visible; }
.totop:hover { background: var(--green-700); }
.totop svg { width: 19px; height: 19px; }

/* ---------- 面包屑 / 页头 ---------- */
.pagehead {
  background: linear-gradient(140deg, var(--green-800), var(--green-600));
  color: #fff;
  padding: 56px 0 50px;
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.pagehead h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 10px; }
.pagehead p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 44em; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 7px; opacity: .5; }

/* ---------- 筛选 tab ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  padding: 9px 22px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s;
}
.tab:hover { border-color: var(--green-300); color: var(--green-600); }
.tab.is-active { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tabpane { display: none; }
.tabpane.is-active { display: block; animation: fadeUp .4s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* 滚动进场 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 表格（产品参数） ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.spec-table th { background: var(--green-100); color: var(--green-800); font-weight: 700; width: 30%; }
.spec-table tr:nth-child(even) td { background: #fcfdfc; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav__cta .btn { display: none; }
  .menu {
    position: fixed;
    top: 74px; left: 0; right: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 18px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: all .25s;
  }
  .menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .menu > li > a { padding: 13px 22px; font-size: 16px; border-radius: 0; }
  .menu > li > a.active::after { display: none; }
  .submenu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0 18px;
    min-width: 0;
    background: var(--bg-soft);
  }
  .has-sub > a::after { float: right; margin-top: 8px; }

  .pgrid, .cgrid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 0; }
  .hero__inner { padding: 66px 0; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nitem { grid-template-columns: 118px 1fr; }
  .nitem__arrow { display: none; }
  .section { padding: 56px 0; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .hide-sm { display: none; }
  .brand__txt b { font-size: 16.5px; }
  .brand__txt span { display: none; }
  .features, .pgrid, .cgrid, .certs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .frow { grid-template-columns: 1fr; }
  .hero__btns .btn { flex: 1 1 auto; justify-content: center; }
  .nitem { grid-template-columns: 1fr; text-align: left; }
  .nitem__date { display: flex; align-items: baseline; gap: 8px; padding: 9px 14px; width: fit-content; }
  .nitem__date b { font-size: 22px; }
  .info-card, .form-card { padding: 28px 22px; }
  .article h2 { font-size: 20px; }
  .timeline { padding-left: 26px; }
  .tl-item::before { left: -26px; }
}

/* 打印 & 减弱动画 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 图片灯箱 ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 26, 15, .9);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
}
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer figure { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.viewer img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.viewer__cap { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 14px; }
.viewer__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 26px; line-height: 1;
}
.viewer__close:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf h1 { font-size: 90px; color: var(--green-300); line-height: 1; }
