/* ==========================================================================
   湖北中测鸿程工程咨询有限公司 · 官方网站
   全局样式表  style.css
   设计调性：专业稳重（深蓝主色 + 金色点缀）
   ========================================================================== */

:root {
  --navy-900: #0a2540;
  --navy-800: #0e3358;
  --navy-700: #12386b;
  --navy-600: #1a4b8c;
  --navy-500: #2461ad;
  --gold-600: #b08a2e;
  --gold-500: #c8a45c;
  --gold-400: #d9bf85;
  --ink-900: #172230;
  --ink-700: #33414f;
  --ink-500: #5d6b7a;
  --ink-300: #8b97a6;
  --line: #e2e8f0;
  --bg-soft: #f5f8fc;
  --bg-alt: #eef3f9;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, .16);
  --max-w: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用标题 ---------- */
.sec { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-navy { background: var(--navy-800); color: #dfe8f2; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.sec-head .en {
  display: inline-block; font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: 12px;
}
.sec-head h2 {
  font-size: 32px; color: var(--navy-800); font-weight: 800; letter-spacing: .02em; line-height: 1.35;
}
.sec-head h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600)); border-radius: 2px;
}
.sec-head p { margin-top: 18px; color: var(--ink-500); font-size: 15px; }
.sec-navy .sec-head h2 { color: #fff; }
.sec-navy .sec-head p { color: #a9bdd4; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-900); color: #9fb4cd; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; gap: 8px; }
.topbar .tb-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-items svg { width: 14px; height: 14px; fill: var(--gold-500); }
.topbar .tb-right { display: flex; align-items: center; gap: 18px; }

/* ---------- 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; flex: none; border-radius: 9px;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(18,56,107,.28);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, transparent 55%, rgba(200,164,92,.55));
}
.brand-mark span { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .04em; position: relative; z-index: 1; }
.brand-text .cn { display: block; font-size: 16px; font-weight: 800; color: var(--navy-800); letter-spacing: .02em; line-height: 1.3; white-space: nowrap; }
.brand-text .en { display: block; font-size: 10px; color: var(--ink-300); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li > a {
  display: block; padding: 10px 15px; font-size: 15px; font-weight: 600; color: var(--ink-700);
  border-radius: 6px; position: relative;
}
.menu > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu > li > a:hover { color: var(--navy-700); }
.menu > li > a:hover::after, .menu > li.active > a::after { transform: scaleX(1); }
.menu > li.active > a { color: var(--navy-700); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px;
  border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: .28s var(--ease); white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); color: #fff; box-shadow: 0 8px 20px rgba(18,56,107,.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18,56,107,.34); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 8px 20px rgba(176,138,46,.26); }
.btn-gold:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(176,138,46,.36); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { border-color: var(--navy-600); color: var(--navy-600); }
.btn-line:hover { background: var(--navy-600); color: #fff; }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background:
    radial-gradient(1100px 520px at 78% 12%, rgba(200,164,92,.16), transparent 62%),
    linear-gradient(135deg, #0a2540 0%, #0e3358 46%, #1a4b8c 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 560px; height: 560px;
  border-radius: 50%; border: 1px solid rgba(200,164,92,.28);
  box-shadow: inset 0 0 0 60px rgba(200,164,92,.04);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-inner { max-width: 760px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 40px;
  background: rgba(200,164,92,.14); border: 1px solid rgba(200,164,92,.4);
  color: var(--gold-400); font-size: 13px; font-weight: 600; letter-spacing: .05em; margin-bottom: 26px;
}
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 800; letter-spacing: .01em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { font-size: 17px; color: #c3d3e6; max-width: 640px; margin-bottom: 34px; line-height: 1.85; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 首屏数据条 */
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden;
}
.hero-stats .stat { background: rgba(10,37,64,.42); padding: 26px 22px; text-align: center; }
.hero-stats .num { font-size: 34px; font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.hero-stats .num small { font-size: 16px; margin-left: 2px; }
.hero-stats .label { font-size: 13.5px; color: #b8c9dd; margin-top: 8px; }

/* ---------- 页头（内页 Banner） ---------- */
.pagehead {
  position: relative; padding: 74px 0 62px; color: #fff;
  background:
    radial-gradient(760px 320px at 82% 10%, rgba(200,164,92,.18), transparent 60%),
    linear-gradient(135deg, #0a2540, #12386b 70%, #1a4b8c);
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
}
.pagehead .container { position: relative; z-index: 2; }
.pagehead h1 { font-size: 34px; font-weight: 800; letter-spacing: .03em; }
.pagehead .crumb { margin-top: 14px; font-size: 13.5px; color: #a9bdd4; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.pagehead .crumb a:hover { color: var(--gold-400); }
.pagehead .crumb .sep { opacity: .5; }

/* ---------- 通用栅格 / 卡片 ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: .3s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold-500), var(--navy-600));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card .ico {
  width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--bg-alt), #fff); border: 1px solid var(--line);
}
.card .ico svg { width: 26px; height: 26px; fill: var(--navy-600); }
.card h3 { font-size: 18px; color: var(--navy-800); font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.8; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--navy-600); font-size: 14px; font-weight: 600; }
.card .more:hover { color: var(--gold-600); gap: 10px; }

/* 业务大卡（编号式） */
.svc-card { padding: 38px 32px; }
.svc-card .no {
  position: absolute; right: 24px; top: 14px; font-size: 62px; font-weight: 800;
  color: #eef3f9; line-height: 1; letter-spacing: -.03em; pointer-events: none;
}
.svc-card h3 { position: relative; }
.svc-card ul { margin-top: 14px; }
.svc-card ul li { color: var(--ink-500); font-size: 14px; padding-left: 18px; position: relative; line-height: 1.9; }
.svc-card ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* ---------- 优势列表（带序号） ---------- */
.adv { display: grid; gap: 22px; }
.adv-item { display: flex; gap: 20px; align-items: flex-start; }
.adv-item .idx {
  flex: none; width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800)); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 14px rgba(18,56,107,.22);
}
.adv-item h4 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 6px; font-weight: 700; }
.adv-item p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- 两栏（图/文） ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split .visual {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 380px;
  background: linear-gradient(140deg, #12386b, #0a2540);
  box-shadow: var(--shadow-lg);
}
.split .visual .vn {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 40px;
}
.split .visual .vn b { display: block; font-size: 64px; color: rgba(200,164,92,.9); font-weight: 800; line-height: 1; }
.split .visual .vn span { display: block; margin-top: 14px; color: #cad9ea; font-size: 15px; letter-spacing: .05em; }
.split .visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.split h2 { font-size: 30px; color: var(--navy-800); font-weight: 800; line-height: 1.4; margin-bottom: 20px; }
.split .sub { color: var(--gold-600); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.split p { color: var(--ink-500); margin-bottom: 16px; line-height: 1.95; }
.split .checks { margin-top: 20px; display: grid; gap: 12px; }
.split .checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-700); font-size: 14.5px; }
.split .checks svg { width: 19px; height: 19px; flex: none; margin-top: 3px; fill: var(--gold-600); }

/* ---------- 案例 ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .3s var(--ease); display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case .thumb {
  height: 158px; background: linear-gradient(140deg, var(--navy-700), var(--navy-900)); position: relative;
  display: flex; align-items: flex-end; padding: 18px 22px;
}
.case .thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.case .tag {
  position: relative; z-index: 1; font-size: 12px; color: var(--gold-400); border: 1px solid rgba(200,164,92,.5);
  padding: 4px 12px; border-radius: 30px; background: rgba(200,164,92,.12);
}
.case .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case .body h3 { font-size: 16.5px; color: var(--navy-800); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.case .body p { color: var(--ink-500); font-size: 13.8px; line-height: 1.75; flex: 1; }
.case .body .meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-300); display: flex; justify-content: space-between; gap: 10px; }

/* ---------- 数据条 ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; }
.facts .f { padding: 30px 20px; text-align: center; background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.1); }
.facts .f:last-child { border-right: 0; }
.facts .f b { display: block; font-size: 34px; color: var(--gold-400); font-weight: 800; }
.facts .f span { display: block; margin-top: 8px; color: #a9bdd4; font-size: 14px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.tbl th, table.tbl td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.tbl th { background: var(--bg-alt); color: var(--navy-800); font-weight: 700; white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: #fafcff; }
table.tbl td:first-child { color: var(--ink-700); font-weight: 600; white-space: nowrap; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico {
  width: 46px; height: 46px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
}
.info-item .ico svg { width: 22px; height: 22px; fill: #fff; }
.info-item .k { font-size: 13px; color: var(--ink-300); margin-bottom: 3px; }
.info-item .v { font-size: 15.5px; color: var(--navy-800); font-weight: 600; line-height: 1.6; }

.map-box {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 340px;
  background: linear-gradient(140deg, #eef3f9, #e2ebf5); display: grid; place-items: center; text-align: center; padding: 40px;
}
.map-box .pin { color: var(--navy-600); }
.map-box .pin svg { width: 46px; height: 46px; fill: var(--navy-600); margin: 0 auto 14px; }
.map-box p { color: var(--ink-500); font-size: 14px; }
.map-box .addr { color: var(--navy-800); font-weight: 700; font-size: 15.5px; margin-bottom: 8px; }

/* ---------- 联系：地图定位 ---------- */
.map-wrap {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); min-height: 380px;
  background: linear-gradient(140deg, #eef3f9, #e2ebf5);
}
.map-wrap #companyMap { position: absolute; inset: 0; min-height: 380px; }
.map-wrap .map-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; padding: 38px 30px; background: linear-gradient(140deg, #eef3f9, #e2ebf5);
}
.map-fallback .transit { margin-top: 12px; font-size: 13.5px; color: var(--ink-500); line-height: 1.85; }
.map-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.map-actions a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600; background: var(--navy-700); color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.map-actions a.ghost { background: #fff; color: var(--navy-700); border: 1px solid var(--line); }
.map-actions a:hover { background: var(--gold-500); color: var(--navy-900); }
@media (max-width: 900px) { .map-wrap, .map-wrap #companyMap { min-height: 300px; } }

/* ---------- 占位标记 ---------- */
.placeholder {
  background: #fff9e8; border: 1px dashed var(--gold-500); color: #8a6d1f;
  border-radius: 6px; padding: 3px 9px; font-size: 13px; display: inline-block;
}

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-900); color: #93a8c1; font-size: 14px; }
.footer .ftop { padding: 62px 0 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold-500); }
.footer .fbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .fbrand .brand-mark { box-shadow: none; }
.footer .fbrand b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.footer p { line-height: 1.9; color: #93a8c1; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a:hover { color: var(--gold-400); }
.footer .fcontact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer .fcontact svg { width: 16px; height: 16px; fill: var(--gold-500); flex: none; margin-top: 4px; }
.footer .fbot {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #7488a3;
}
.footer .fbot a:hover { color: var(--gold-400); }

/* ==========================================================================
   v2 增补组件（素材版）
   ========================================================================== */

/* ---------- 品牌 logo 图 ---------- */
.brand-img { height: 42px; width: auto; display: block; }
.footer .brand-img { height: 40px; }

/* ---------- Hero 带实景图 ---------- */
.hero.photo {
  background:
    linear-gradient(100deg, rgba(10,37,64,.94) 0%, rgba(10,37,64,.86) 42%, rgba(14,51,88,.62) 72%, rgba(26,75,140,.42) 100%),
    url("../img/hero-wuhan.jpg") center 68% / cover no-repeat;
}
.hero.photo::before { opacity: .25; }

/* ---------- 通用图片展示 ---------- */
.ph-img { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 组织架构 ---------- */
.org-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: var(--shadow-sm); }
.org-box img { width: 100%; height: auto; }

/* ---------- 企业文化 ---------- */
.culture { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.culture .c-item {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff;
  border-radius: 10px; padding: 30px 24px; text-align: center; position: relative; overflow: hidden;
}
.culture .c-item::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(200,164,92,.12);
}
.culture .c-k { font-size: 13px; color: var(--gold-400); letter-spacing: .3em; margin-bottom: 12px; font-weight: 700; }
.culture .c-v { font-size: 19px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; }

/* ---------- 证书墙 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cert-grid .cert {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  transition: .3s var(--ease); cursor: zoom-in;
}
.cert-grid .cert:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-grid .cert img { width: 100%; height: 320px; object-fit: contain; background: #fafbfc; border-radius: 6px; }
.cert-grid .cert p { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy-800); line-height: 1.6; }

/* ---------- 科研成果 ---------- */
.sci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sci-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px;
  transition: .3s var(--ease);
}
.sci-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sci-card .covers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sci-card .covers img { width: 100%; border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sci-card h3 { font-size: 17px; color: var(--navy-800); line-height: 1.6; margin-bottom: 10px; font-weight: 700; }
.sci-card p { color: var(--ink-500); font-size: 13.8px; line-height: 1.8; }
.sci-card .badge {
  display: inline-block; font-size: 12px; color: var(--gold-600); border: 1px solid var(--gold-500);
  border-radius: 30px; padding: 3px 12px; margin-bottom: 12px; background: rgba(200,164,92,.08);
}

/* ---------- 合作单位墙（文字胶囊） ---------- */
.partner-wall { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.partner-wall .pw {
  padding: 13px 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink-700); transition: .25s var(--ease);
}
.partner-wall .pw:hover {
  color: var(--navy-700); border-color: var(--navy-600);
  box-shadow: var(--shadow-sm); transform: translateY(-2px);
}

/* ---------- 业绩大表 ---------- */
.perf-block { margin-bottom: 44px; }
.perf-block .pb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.perf-block .pb-head .bar { width: 5px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-500), var(--navy-600)); }
.perf-block .pb-head h3 { font-size: 19px; color: var(--navy-800); font-weight: 800; }
.perf-block .pb-head .cnt { font-size: 13px; color: var(--ink-300); }
.perf-list { display: grid; gap: 12px; }
.perf-item {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 17px 22px;
  transition: .25s var(--ease);
}
.perf-item:hover { border-color: var(--navy-500); box-shadow: var(--shadow-sm); }
.perf-item .t { font-size: 15px; font-weight: 700; color: var(--navy-800); line-height: 1.6; }
.perf-item .d { margin-top: 6px; font-size: 13.5px; color: var(--ink-500); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.perf-item .d b { color: var(--gold-600); font-weight: 700; }
.perf-item .amt {
  float: right; margin-left: 16px; font-size: 13px; color: var(--navy-700); background: var(--bg-alt);
  border-radius: 30px; padding: 2px 12px; font-weight: 700; white-space: nowrap;
}

/* ---------- 案例封面条 ---------- */
.case .thumb.imged { padding: 0; align-items: stretch; }
.case .thumb.imged img { width: 100%; height: 100%; object-fit: cover; }
.case .thumb.imged .tag { position: absolute; z-index: 2; left: 14px; bottom: 12px; }

/* ---------- 响应式（v2） ---------- */
@media (max-width: 1080px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .sci-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .culture { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid .cert img { height: 220px; }
  .sci-card { grid-template-columns: 1fr; }
  .sci-card .covers { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 620px) {
  .cert-grid { grid-template-columns: 1fr; }
  .culture { grid-template-columns: 1fr; }
  .partner-wall .pw { padding: 10px 18px; font-size: 13.5px; }
  .perf-item .amt { float: none; display: inline-block; margin: 8px 0 0; }
  .brand-img { height: 36px; }
}

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-700); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 90; border: 0;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--gold-600); }
.totop svg { width: 20px; height: 20px; fill: #fff; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .ftop { grid-template-columns: 1fr 1fr; }
  .brand-text .cn { font-size: 15px; }
  .brand-text .en { display: none; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .menu.open { max-height: 520px; }
  .menu > li > a { padding: 14px 24px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu > li > a::after { display: none; }
  .topbar .tb-right { display: none; }
}
@media (max-width: 620px) {
  .sec { padding: 58px 0; }
  .sec-head h2 { font-size: 25px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 29px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .num { font-size: 27px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .f b { font-size: 27px; }
  .g-2, .g-3, .g-4, .footer .ftop { grid-template-columns: 1fr; }
  .pagehead h1 { font-size: 25px; }
  .brand-text .cn { font-size: 14px; }
  .split h2 { font-size: 24px; }
  .topbar .tb-items { gap: 14px; font-size: 12px; }
  .btn { padding: 12px 24px; font-size: 14px; }
}
