/* 网站样式表
   版式：大图 Banner / 卡片网格 / 数据条 / 多标签资讯 / 页脚链接矩阵
   主色：品牌红 #e62125，与公司红色 Logo 保持一致；样式变量集中管理 */

:root {
  --brand: #e62125;
  --brand-dark: #b71619;
  --brand-soft: #fff1f1;
  --ink: #3d4246;
  --ink-2: #6f7a83;
  --line: #e7ebef;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --bg-deep: #222a30;
  --radius: 4px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }

/* ---------- 顶部工具条 ---------- */
.topbar { background: var(--bg-deep); color: #c8d0d6; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar b { color: #fff; font-weight: 600; }

/* ---------- 主导航 ---------- */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; height: 74px; gap: 18px; }
/* Logo 不参与收缩：避免公司名被压缩后盖住导航首项 */
.logo { display: flex; align-items: center; gap: 10px; min-width: 210px; flex: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 6px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
}
/* 真实公司 Logo：透明底圆形图，不加底色与圆角裁切；独立于上方文字标记，避免影响首页 */
.logo-img { width: 46px; height: 46px; flex: none; display: block; object-fit: contain; }
/* 公司名与英文副标题固定为上下两行，避免 Logo 不收缩时被拉成一行挤占导航 */
.logo-txt, .logo-sub { display: block; }
.logo-txt { font-size: 18px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.logo-sub { font-size: 10px; color: var(--ink-2); letter-spacing: 1px; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; height: 100%; align-items: stretch; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav > li > a {
  padding: 0 12px; font-size: 15px; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; height: 100%; border-bottom: 3px solid transparent;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--brand); border-bottom-color: var(--brand); }
.nav .caret { font-size: 10px; margin-left: 5px; opacity: .6; }
.hotline { border-left: 1px solid var(--line); padding-left: 14px; white-space: nowrap; }
.hotline small { display: block; color: var(--ink-2); font-size: 11px; line-height: 1.3; }
.hotline b { color: var(--brand); font-size: 17px; letter-spacing: .5px; line-height: 1.2; }
.hotline-fixed { display: block; color: var(--ink-2); font-size: 11px; line-height: 1.3; margin-top: 3px; }
.hotline-fixed .tel-link { color: var(--brand); font-size: 12px; }
/* 电话号码点击拨号链接：继承所在区域颜色，仅在页脚/工具条点按提示 */
.tel-link { text-decoration: none; }
.tel-link:hover { text-decoration: underline; }

/* 解决方案大下拉（参考站「按业务需求 / 按行业需求」双列组织） */
.mega {
  display: none; position: absolute; top: 100%; left: -180px;
  width: min(760px, 88vw); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 30, 40, .13); padding: 24px 26px; z-index: 50;
}
.nav li.has-mega:hover .mega { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mega h4 { font-size: 13px; color: var(--brand); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.mega a { font-size: 13px; color: var(--ink-2); }
.mega a:hover { color: var(--brand); }
.mega-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-2); background: var(--bg-soft); padding: 8px 12px; }

/* ---------- 首屏 Banner ---------- */
.hero { position: relative; height: 470px; overflow: hidden; background: #131a20; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: flex; align-items: center;
  background: radial-gradient(circle at 78% 38%, rgba(230,33,37,.30), transparent 46%),
              linear-gradient(115deg, #17222b 0%, #24323c 58%, #101820 100%);
}
.slide.on { opacity: 1; }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.slide-2 { background: radial-gradient(circle at 22% 70%, rgba(230,33,37,.24), transparent 50%),
                       linear-gradient(115deg, #1b2630, #2c3b45 60%, #121b22); }
.slide-3 { background: radial-gradient(circle at 70% 20%, rgba(230,33,37,.20), transparent 50%),
                       linear-gradient(115deg, #141e26, #22313b 55%, #0f171d); }
.hero-inner { position: relative; z-index: 2; }
.eyebrow { color: #ffd9d9; font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: 42px; line-height: 1.35; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #ff7b7b; }
.hero p { color: #cbd6de; font-size: 16px; max-width: 620px; margin: 18px 0 28px; }
.hero-btns { display: flex; gap: 12px; }
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 2px; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 26px; height: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.on { background: var(--brand); }
/* 首屏 Logo 形象图（第二屏右侧） */
.hero-logo-art {
  position: absolute; z-index: 2; right: max(4%, calc((100% - 1240px) / 2)); top: 50%;
  transform: translateY(-50%); width: min(44%, 560px); height: auto;
  border-radius: 10px; box-shadow: 0 26px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}

/* ---------- 数据条 ---------- */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat .n { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.stat .n .ph { font-size: 14px; font-weight: 400; display: inline-block; line-height: 1.5; }
.stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-deep); color: #fff; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .kicker { color: var(--brand); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.sec-head h2 { font-size: 30px; font-weight: 700; margin: 8px 0 10px; }
.sec-head p { color: var(--ink-2); font-size: 14px; max-width: 700px; margin: 0 auto; }
.section.dark .sec-head p { color: #aab6bf; }
.more { display: block; width: fit-content; margin: 34px auto 0; padding: 9px 30px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.more:hover { border-color: var(--brand); color: var(--brand); }
.section.dark .more { border-color: rgba(255,255,255,.3); color: #dbe3e8; }

/* 业务板块卡片（对齐参考站「系统方案」图标网格） */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz {
  background: #fff; border: 1px solid var(--line); padding: 28px 26px;
  transition: .25s; position: relative; overflow: hidden;
}
.biz:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(25, 40, 55, .10); border-color: var(--brand); }
.biz .ico {
  width: 46px; height: 46px; border-radius: 8px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 16px;
}
.biz .no { position: absolute; right: 18px; top: 14px; font-size: 26px; color: #f0f2f4; font-weight: 800; }
.biz h3 { font-size: 18px; margin-bottom: 8px; }
.biz p { color: var(--ink-2); font-size: 13px; min-height: 66px; }
.biz .link { color: var(--brand); font-size: 12px; margin-top: 12px; display: inline-block; }

/* 解决方案：左大图 + 右双列标签 */
.solu { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.solu-visual {
  height: 330px; border-radius: 4px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1b2833, #334754 60%, #16222b);
  display: grid; place-items: center;
}
.solu-visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.045), 0 0 0 92px rgba(255,255,255,.03);
}
.solu-visual span { position: relative; color: #fff; font-size: 17px; letter-spacing: 3px; z-index: 2; }
.solu-visual small { display: block; text-align: center; color: #aab9c4; font-size: 12px; letter-spacing: 1px; }
.solu h3 { font-size: 13px; color: var(--brand); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 18px 0 12px; }
.solu h3:first-child { margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { border: 1px solid var(--line); background: #fff; padding: 6px 13px; font-size: 13px; color: var(--ink-2); }
.tags a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* 案例 */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: #fff; padding: 7px 20px; font-size: 13px;
  color: var(--ink-2); cursor: pointer;
}
.filters button.on, .filters button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: #fff; border: 1px solid var(--line); }
.case .thumb {
  position: relative; overflow: hidden;
  height: 168px; display: grid; place-items: center; color: rgba(255,255,255,.9);
  font-size: 15px; letter-spacing: 2px;
  background: linear-gradient(135deg, #2c3d49, #4a6273);
}
.case:nth-child(2) .thumb { background: linear-gradient(135deg, #3a4550, #6a7b88); }
.case:nth-child(3) .thumb { background: linear-gradient(135deg, #22343f, #3f5a68); }
.case:nth-child(4) .thumb { background: linear-gradient(135deg, #3d3a44, #6b6474); }
.case:nth-child(5) .thumb { background: linear-gradient(135deg, #2f4340, #547168); }
.case:nth-child(6) .thumb { background: linear-gradient(135deg, #353f4b, #5d6b7c); }
.case .thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.case .bd { padding: 16px 18px 20px; }
.case .bd h4 { font-size: 15px; margin-bottom: 6px; }
.case .bd p { font-size: 12px; color: var(--ink-2); }
.case .bd .tag { font-size: 11px; color: var(--brand); }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow .step { background: #fff; border: 1px solid var(--line); padding: 24px 18px; text-align: center; position: relative; }
.flow .step:not(:last-child)::after {
  content: "›"; position: absolute; right: -12px; top: 42%; font-size: 26px; color: var(--brand); z-index: 2;
}
.flow .step .num { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.flow .step h4 { font-size: 15px; margin-bottom: 6px; }
.flow .step p { font-size: 12px; color: var(--ink-2); }
.section.dark .flow .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.dark .flow .step p { color: #a9b6bf; }

/* 核心优势（对齐参考站「5项超能力」） */
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.adv { border-top: 3px solid var(--brand); background: #fff; padding: 24px 18px; }
.adv h4 { font-size: 17px; margin-bottom: 8px; }
.adv p { font-size: 12.5px; color: var(--ink-2); }

/* 首页证书预览 */
.honor-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hp-item { background: #fff; border: 1px solid var(--line); padding: 14px 14px 18px; transition: .25s; display: block; }
.hp-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25,40,55,.10); border-color: var(--brand); }
.hp-thumb { height: 150px; overflow: hidden; display: grid; place-items: center; background: #fff; margin-bottom: 12px; }
.hp-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.hp-item:hover .hp-thumb img { transform: scale(1.05); }
.hp-cat { font-size: 11px; color: var(--brand); }
.hp-item b { display: block; font-size: 13px; margin-top: 5px; line-height: 1.5; }

/* 资质 / 荣誉 */
.honor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.honor .h {
  height: 176px; border: 1px dashed var(--line); background: #fff;
  display: grid; place-items: center; text-align: center; color: var(--ink-2); font-size: 12px; padding: 16px;
}
.honor .h b { display: block; font-size: 26px; color: #d9e0e5; margin-bottom: 8px; }

/* 资讯多标签 */
.tabs { display: flex; gap: 26px; justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 2px 12px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
.panel { display: none; }
.panel.on { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.panel .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.panel .row time { color: var(--ink-2); font-size: 12px; flex: none; }
.panel .row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel .row a:hover { color: var(--brand); }

/* ---------- 页脚 ---------- */
.footer { background: #1b242b; color: #aab5bd; padding: 52px 0 0; font-size: 13px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer li { margin-bottom: 7px; }
.footer a:hover { color: #fff; }
.footer .brandline { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.footer .contact li { color: #d6dee3; }
.qr { width: 92px; height: 92px; background: #fff; display: grid; place-items: center; color: #1b242b; font-size: 11px; text-align: center; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding: 18px 0; text-align: center; font-size: 12px; }

/* 备案信息（集中配置见 assets/site-config.js，全站页脚统一渲染） */
.site-filing {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 14px;
  padding: 14px 0 4px;
  font-size: 12px;
  line-height: 1.9;
  color: #8f9ba4;
  text-align: center;
}
.site-filing .f-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 12px; }
.site-filing .f-item { white-space: nowrap; }
.site-filing .f-label { color: #8f9ba4; }
.site-filing .f-item a { color: #d6dee3; border-bottom: 1px solid rgba(255,255,255,.28); transition: .2s; }
.site-filing .f-item a:hover { color: #ff7b7b; border-bottom-color: #ff7b7b; }
.site-filing .f-meta { margin-top: 2px; }
.site-filing .f-meta b { color: #cdd6dc; font-weight: 500; }
.site-filing .f-query { margin-top: 2px; }
.site-filing .f-query a { color: #aeb9c1; transition: .2s; }
.site-filing .f-query a:hover { color: #ff7b7b; }
.site-filing .f-dot { color: #4f5b64; margin: 0 3px; }
@media (max-width: 680px) {
  .site-filing { font-size: 11px; line-height: 1.9; }
  .site-filing .f-row { gap: 0 8px; }
  .site-filing .f-dot { margin: 0 1px; }
}

/* ---------- 内页 ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; padding: 14px 0; color: var(--ink-2); }
.crumb b { color: var(--ink); }
.page-banner {
  height: 210px; display: grid; align-items: center; color: #fff;
  background: linear-gradient(115deg, #1b2833, #334754 65%, #16222b);
}
.page-banner h1 { font-size: 32px; }
.page-banner p { color: #c2ced6; margin-top: 8px; font-size: 14px; }
.inner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 54px 0 70px; }
.side { border: 1px solid var(--line); align-self: start; }
.side h3 { background: var(--brand); color: #fff; padding: 14px 18px; font-size: 16px; }
.side li { border-bottom: 1px solid var(--line); }
.side a { display: block; padding: 12px 18px; font-size: 14px; color: var(--ink-2); }
.side a.on, .side a:hover { background: var(--brand-soft); color: var(--brand); border-left: 3px solid var(--brand); }
.article h2 { font-size: 24px; margin-bottom: 12px; }
.article .lead { color: var(--ink-2); margin-bottom: 26px; }
.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-list .c { border: 1px solid var(--line); padding: 20px; }
.card-list .c h4 { font-size: 16px; margin-bottom: 8px; }
.card-list .c p { font-size: 13px; color: var(--ink-2); }

/* 解决方案：分类面板（侧栏切换 / hash 深链） */
.side li.grp { background: var(--bg-soft); color: var(--brand); font-weight: 700; padding: 9px 18px; font-size: 12px; letter-spacing: 1px; }
.sol-panel { display: none; }
.sol-panel.on { display: block; }
.article .sol-sub { font-size: 17px; margin: 26px 0 12px; padding-left: 10px; border-left: 3px solid var(--brand); }
.tags span { display: inline-block; border: 1px solid var(--line); background: var(--brand-soft); color: var(--brand); padding: 6px 13px; font-size: 13px; }
.flow-8 { grid-template-columns: repeat(4, 1fr); }
.flow-8 .step:not(:last-child)::after { content: none; }

/* 解决方案：分类项目实景展示 */
.sol-shot { margin-top: 28px; }
.sol-shot h3.sol-sub { margin-top: 0; }
.sol-shot figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.sol-shot figure img { display: block; width: 100%; height: auto; }
.sol-shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--ink-2); background: var(--bg-soft); border-top: 1px solid var(--line); }
.sol-shot figcaption b { color: var(--ink); font-weight: 600; }
.shot-pending { display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 11px; font-weight: 400; color: #a56a00; border: 1px dashed #d8a72a; background: #fff8e8; }

/* ---------- 资质证书模块 ---------- */
/* 页头横幅：在通用 page-banner 之上叠加品牌红渐变点缀 */
.cert-banner {
  height: 200px; position: relative;
  background: linear-gradient(115deg, #1b2833, #2f2226 62%, #16222b),
              radial-gradient(circle at 80% 30%, rgba(230,33,37,.35), transparent 50%);
}
.cert-banner::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent 70%);
}

/* 分类目录卡片 */
.cert-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); padding: 24px 22px;
  position: relative; transition: .25s; display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25,40,55,.09); border-color: var(--brand); }
.cat-card .cat-ico {
  width: 42px; height: 42px; border-radius: 8px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 19px; font-weight: 700; margin-bottom: 14px;
}
.cat-card h3 { font-size: 17px; margin-bottom: 6px; }
.cat-card p { font-size: 12.5px; color: var(--ink-2); min-height: 40px; }
.cat-card .cat-count { display: block; font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.cat-card .cat-count b { color: var(--brand); font-size: 16px; margin: 0 2px; }
.cat-card .cat-count i { float: right; font-style: normal; font-size: 18px; color: var(--brand); }

/* 筛选按钮 */
.cert-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.cert-filters button {
  border: 1px solid var(--line); background: #fff; padding: 8px 20px; font-size: 13px;
  color: var(--ink-2); cursor: pointer; transition: .2s;
}
.cert-filters button span { font-size: 11px; opacity: .65; margin-left: 3px; }
.cert-filters button.on, .cert-filters button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 证书卡片网格 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: .25s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25,40,55,.12); border-color: var(--brand); }
.cert-card .cert-thumb {
  height: 200px; overflow: hidden; background: var(--bg-soft); position: relative;
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.cert-card .cert-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .35s ease;
}
.cert-card:hover .cert-thumb img { transform: scale(1.05); }
.cert-card .cert-thumb::after {
  content: "点击放大 ›"; position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 12px; color: #fff; background: rgba(27,36,43,.82); padding: 7px 0;
  transform: translateY(100%); transition: .25s;
}
.cert-card:hover .cert-thumb::after { transform: translateY(0); }
.cert-pages {
  position: absolute; top: 10px; right: 10px; background: var(--brand); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 2px; z-index: 2;
}
.cert-card .cert-bd { padding: 15px 16px 18px; }
.cert-card .cert-bd h4 { font-size: 14px; margin: 8px 0 5px; line-height: 1.5; min-height: 42px; }
.cert-card .cert-bd p { font-size: 12px; color: var(--ink-2); }
.cert-tag { font-size: 11px; padding: 2px 8px; border-radius: 2px; display: inline-block; }
.tag-qualification { background: #fff1f1; color: #c62828; }
.tag-authorization { background: #eef4ff; color: #2f5fb3; }
.tag-copyright { background: #eef8f3; color: #1e8a5a; }
.tag-credit { background: #fff6e8; color: #b26a00; }
.tag-honor { background: #f3eefb; color: #7b3fb3; }
.cert-empty { text-align: center; color: var(--ink-2); padding: 50px 0; }

/* 灯箱 */
.cert-lightbox {
  position: fixed; inset: 0; background: rgba(12,18,23,.94); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.cert-lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.lb-figure img {
  max-height: calc(100vh - 180px); max-width: 100%; margin: 0 auto; object-fit: contain;
  box-shadow: 0 10px 50px rgba(0,0,0,.5); background: #fff;
}
.lb-figure figcaption { color: #fff; padding-top: 16px; }
.lb-figure figcaption h4 { font-size: 16px; font-weight: 600; }
.lb-figure figcaption p { font-size: 13px; color: #aab6bf; margin-top: 4px; }
.lb-figure figcaption span { display: block; font-size: 12px; color: var(--brand); margin-top: 6px; }
.cert-lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  width: 46px; height: 46px; font-size: 30px; line-height: 1; cursor: pointer; transition: .2s;
}
.cert-lightbox button:hover { background: var(--brand); }
.lb-close { top: 18px; right: 22px; font-size: 26px !important; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .nav { gap: 0; overflow-x: auto; }
  .nav > li > a { padding: 0 10px; font-size: 13px; }
  .hotline { display: none; }
  .mega { left: -120px; }
  .grid-3, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .solu, .inner { grid-template-columns: 1fr; }
  .flow, .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-8 { grid-template-columns: repeat(4, 1fr); }
  .honor { grid-template-columns: repeat(2, 1fr); }
  .honor-preview { grid-template-columns: repeat(3, 1fr); }
  .cert-catalog { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { height: auto; min-height: 34px; padding: 6px 0; justify-content: center; }
  .topbar .tb-right { gap: 4px 14px; flex-wrap: wrap; justify-content: center; }
  .topbar .tb-right > span { white-space: nowrap; }
  .hero { height: 430px; }
  .hero h1 { font-size: 28px; }
  /* 移动端：Logo 图作为右侧背景层，不遮挡文字 */
  .hero-logo-art {
    z-index: 1 !important; right: -6% !important; top: 42% !important;
    width: 72% !important; opacity: .22; filter: saturate(.7);
    border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
    mask-image: linear-gradient(90deg, transparent, #000 55%);
  }
  .slide .hero-inner { z-index: 2; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(2) { border: 0; }
  .grid-3, .case-grid, .card-list { grid-template-columns: 1fr; }
  .flow, .adv-grid, .panel.on { grid-template-columns: 1fr; }
  .flow-8 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .cert-catalog { grid-template-columns: 1fr 1fr; }
  .honor-preview { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-card .cert-thumb { height: 150px; }
  .cert-lightbox { padding: 50px 12px; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; }
  .cert-lightbox button { width: 36px; height: 36px; font-size: 24px !important; }
  .section { padding: 46px 0; }
  .nav { display: none; }
}
