/* ==========================================================================
   成都博智信息 · 官网改版预览  设计体系 v1.0
   主色玫粉体系 + 12 栅格 + 四断点响应式
   ========================================================================== */

:root {
  --brand: #1668DC;
  --brand-dark: #0B3D8C;
  --brand-mid: #7FB0F7;
  --brand-light: #E8F1FE;
  --brand-50: #F4F8FF;
  --ink: #1A1F2B;
  --gray: #6B7280;
  --gray-light: #9BA3AF;
  --line: #DEE6F0;
  --bg: #F4F7FB;
  --white: #FFFFFF;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(26, 31, 43, .06);
  --shadow-hover: 0 10px 28px rgba(11, 61, 140, .12);
  --container: 1200px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------------------------- 顶部导航 ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-cluster { display: flex; align-items: center; gap: 18px; margin-right: auto; }
.logo { display: flex; flex-direction: column; line-height: 1.15;border: none; }
.logo b { font-size: 20px; letter-spacing: .5px; }
.logo span { font-size: 10px; letter-spacing: 2.5px; color: var(--brand); font-weight: 700; }
.logo img { height: 46px; width: auto; display: block; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-dark); font-size: 17px; font-weight: 700; letter-spacing: .4px; white-space: nowrap; }
.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 14px; color: var(--ink);
  border-radius: var(--radius-sm); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.active { color: var(--brand-dark); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav a.nav-cta {
  background: var(--brand); color: #fff; padding: 8px 18px; margin-left: 8px;
}
.nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }
.nav a.nav-cta.active::after { display: none; }
.nav a.nav-cta.active { color: #fff; }

.menu-toggle { display: none; background: none; font-size: 24px; color: var(--ink); padding: 4px 8px; }

/* ---------------------------- 按钮 ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(22, 104, 220, .26); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 61, 140, .24); }
.btn-outline { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--brand-mid); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-light); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }

/* ---------------------------- 通用区块 ---------------------------- */
.section { padding: 76px 0; }
.section-sm { padding: 52px 0; }
.section-alt { background: var(--bg); }
.section-soft { background: var(--brand-light); }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--brand); background: #fff; border: 1px solid var(--brand-mid);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-title { font-size: 32px; line-height: 1.4; font-weight: 700; letter-spacing: -.3px; }
.sec-sub { margin-top: 14px; font-size: 15px; color: var(--gray); }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------- 卡片 ---------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .24s ease, box-shadow .24s ease, border-color .24s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand-mid); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray); }
.card .card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px;
}
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.card-link:hover { gap: 10px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12.5px; color: var(--brand-dark); background: var(--brand-light);
  border-radius: 999px; padding: 4px 12px;
}

/* ---------------------------- 首屏 Hero ---------------------------- */
.hero {
  position: relative; overflow: hidden; background: #fff;
  padding: 76px 0 88px;
}
/* 极淡科技网格（白底上的科技感点缀） */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
      linear-gradient(rgba(22, 104, 220, .055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(22, 104, 220, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(900px 520px at 72% 12%, #000 22%, transparent 76%);
  mask-image: radial-gradient(900px 520px at 72% 12%, #000 22%, transparent 76%);
}
/* 右上淡蓝光晕 */
.hero::after {
  content: ""; position: absolute; right: -140px; top: -150px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 198, 255, .22), transparent 66%);
  filter: blur(6px);
}
.hero-inner { position: relative; z-index: 2; text-align: left; }
.hero h1 { font-size: 44px; line-height: 1.36; font-weight: 800; letter-spacing: -.5px; color: var(--brand-dark); text-wrap: balance; }
/* 「引领」与「数字化营销发展」两级放大，形成主次层次 */
.hero .sec-tag { margin-bottom: 22px; }
.hero h1 .lead { font-size: 1.3em; letter-spacing: 1px; color: var(--brand); }
/* 渐变文字（不支持时自动回退为纯蓝，避免文字不可见） */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .lead {
    background: linear-gradient(120deg, #0B3D8C 10%, #1668DC 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
}
.hero h1 em {
  font-style: normal; color: var(--brand); font-size: 1.16em;
  display: inline-block; letter-spacing: 1px;
}
.hero-desc { margin-top: 22px; font-size: 17px; line-height: 1.85; color: var(--gray); max-width: 680px; text-wrap: pretty; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }
.hero-badges { margin-top: 30px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-start; font-size: 12.5px; color: var(--gray); }
.hero-badges span { display: flex; align-items: center; gap: 7px; }
.hero-badges span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); flex: none;
}



/* ---------------------------- 数据带 ---------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.stats > div { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: none; }
.stats b { display: block; font-size: 34px; color: var(--brand-dark); font-weight: 800; line-height: 1.2; }
.stats small { font-size: 13.5px; color: var(--gray); }

/* ---------------------------- 首页卡通插画 ---------------------------- */
.illust {
  width: 100%; display: block; border-radius: 18px;
  box-shadow: 0 22px 52px rgba(3, 15, 33, .30);
}
/* AI 深蓝 band */
.ai-band {
  position: relative; overflow: hidden; color: #fff;
  background:
      radial-gradient(900px 430px at 80% -12%, rgba(56, 160, 255, .30), transparent 62%),
      linear-gradient(135deg, #061A33 0%, #0A2E63 46%, #125BC4 100%);
}
.ai-band::before {
  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: 58px 58px;
  -webkit-mask-image: radial-gradient(860px 500px at 72% 12%, #000 26%, transparent 76%);
  mask-image: radial-gradient(860px 500px at 72% 12%, #000 26%, transparent 76%);
}
.ai-band .container { position: relative; z-index: 2; }
.ai-band .sec-tag { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .38); color: #fff; }
.ai-band .sec-title { color: #fff; }
.ai-band .sec-sub { color: rgba(255, 255, 255, .86); }
.ai-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(4, 18, 38, .30); }
.ai-band .btn-primary:hover { background: #EDF5FF; color: var(--brand-dark); }
.ai-band .card { border: none; box-shadow: 0 16px 36px rgba(3, 15, 33, .32); }
.ai-band .card h3 { color: var(--ink); }
.ai-band-top {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px;
  align-items: center; margin-bottom: 46px;
}
.ai-band-top .sec-title { text-align: left; }
.ai-band-top .sec-sub { text-align: left; margin-left: 0; }
.ai-band-top .sec-tag { margin-left: 0; }
/* 客户信赖区标题左 · 插画右 */
.clients-head {
  display: grid; grid-template-columns: 1fr 380px; gap: 44px;
  align-items: center; margin-bottom: 30px;
}
.clients-head .sec-tag, .clients-head .sec-title, .clients-head .sec-sub { margin-left: 0; text-align: left; }

@media (max-width: 1023px) {
  .ai-band-top { grid-template-columns: 1fr; gap: 30px; margin-bottom: 36px; }
  .clients-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .clients-head .illust { max-height: 240px; object-fit: cover; }
}

/* ---------------------------- 客户展示（全彩 · 分组网格） ---------------------------- */
.client-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;padding: 10px;margin:-10px; }
.client-grid > div {
  height: 86px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; display: flex; align-items: center; justify-content: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.client-grid img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client-grid > div:hover {
  transform: translateY(-3px); border-color: var(--brand-mid);
  box-shadow: 0 10px 22px rgba(22, 104, 220, .16);
}

/* ---------------------------- 全链路图 ---------------------------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; }
.chain-item { position: relative; padding: 30px 22px; background: #fff; border: 1px solid var(--line); text-align: center; }
.chain-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain-item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.chain-item + .chain-item { border-left: none; }
.chain-item .no { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 14px; font-weight: 700; }
.chain-item h4 { font-size: 17px; margin-bottom: 8px; }
.chain-item p { font-size: 13.5px; color: var(--gray); }
.chain-item ul { margin-top: 12px; font-size: 12px; color: var(--brand-dark); }
.chain-item ul li { padding: 2px 0; }

/* ---------------------------- 证言 ---------------------------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.quote-card::before {
  content: "\201C"; position: absolute; top: 8px; right: 22px;
  font-size: 64px; color: var(--brand-light); line-height: 1; font-family: Georgia, serif;
}
.quote-card p { font-size: 15.5px; color: #3A3E46; margin-bottom: 20px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.quote-who b { display: block; font-size: 14px; }
.quote-who small { color: var(--gray); font-size: 12px; }

/* ---------------------------- 时间轴 ---------------------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--brand-mid); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item b { color: var(--brand-dark); font-size: 16px; }
.tl-item p { font-size: 14.5px; color: var(--gray); }

/* ---------------------------- 表单 ---------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: #4A4F58; font-weight: 600; }
.required-star { color: #E53935; }
.field input, .field select, .field textarea {
  height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 12px; color: var(--gray-light); margin-top: 10px; }
.form-msg { margin-top: 14px; font-size: 13.5px; color: var(--brand-dark); font-weight: 600; min-height: 22px; }

/* ---------------------------- 全局提示 ---------------------------- */
.toast-container {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-hover);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}
.toast-text { flex: 1; }
.toast-success { border-color: rgba(24, 137, 79, .28); }
.toast-success .toast-icon { background: rgba(24, 137, 79, .12); color: #18894F; }
.toast-error { border-color: rgba(192, 57, 43, .28); }
.toast-error .toast-icon { background: #fa5c5c; color: #fff; }
.toast-warning { border-color: rgba(180, 110, 12, .28); }
.toast-warning .toast-icon { background: rgba(180, 110, 12, .12); color: #B46E0C; }

/* ---------------------------- 页脚 ---------------------------- */
.site-footer { background: var(--brand-dark); color: #fff; padding: 56px 0 24px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h5 { font-size: 15px; margin-bottom: 14px; }
.foot-grid a, .foot-grid p { font-size: 13.5px; color: rgba(255, 255, 255, .76); line-height: 2; }
.foot-grid a:hover { color: #fff; }
.foot-logo { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 12px; color: rgba(255, 255, 255, .6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------------------- 页面头图 ---------------------------- */
.page-head { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 60px 0 56px; }
.page-head h1 { font-size: 36px; font-weight: 800; letter-spacing: -.3px; }
.page-head p { margin-top: 14px; font-size: 16.5px; color: rgba(255, 255, 255, .88); max-width: 720px; }
.page-head .btn { margin-top: 26px; }

/* ---------------------------- 筛选器 ---------------------------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: #4A4F58; transition: all .2s;
}
.filter-btn:hover { border-color: var(--brand-mid); color: var(--brand-dark); }
.filter-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------------------------- 案例详情弹层 ---------------------------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(34, 37, 43, .55); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 16px; max-width: 720px; width: 100%;
  max-height: 86vh; overflow: auto; padding: 34px 34px 30px;
}
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal .modal-sub { color: var(--gray); font-size: 13.5px; margin-bottom: 22px; }
.modal h4 { font-size: 15px; margin: 22px 0 8px; color: var(--brand-dark); }
.modal p, .modal li { font-size: 14px; color: #4A4F58; }
.modal ul { padding-left: 18px; list-style: disc; }
.modal-close { position: absolute; }
.modal .close-x { float: right; font-size: 26px; line-height: 1; color: var(--gray-light); background: none; }
.modal .close-x:hover { color: var(--brand-dark); }
.result-list { display: grid; gap: 10px; margin-top: 10px; }
.result-item { background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; }
.result-item b { color: var(--brand-dark); }
.result-item small { display: block; color: var(--gray-light); font-size: 12px; margin-top: 4px; }

/* ---------------------------- 新闻中心卡片（复刻原站 n-card 视觉） ---------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.n-card {
  background: #fff; border-radius: 8px; border: 1px solid #eee; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease;
}
.n-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 104, 220, .16), 0 0 20px 2px rgba(194, 200, 204, .5);
}
.n-card .img-box { height: 200px; width: 100%; overflow: hidden; background: var(--brand-50); }
.n-card .img-box img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.n-card:hover .img-box img { transform: scale(1.04); }
.n-card .content-box { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.n-card .title {
  font-size: 18px; line-height: 25px; color: #121212; margin-bottom: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
}
.n-card .content {
  font-size: 14px; line-height: 25px; font-weight: 300; color: #333;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
}
.n-card .time { font-size: 12px; color: #666; margin-top: 15px; display: flex; align-items: center; gap: 6px; }
.n-card .time::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.n-card .more {
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--brand-dark);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease;
}
.n-card:hover .more { gap: 10px; }

@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .n-card .img-box { height: 180px; }
}

/* ---------------------------- 资源卡片 ---------------------------- */
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .24s; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand-mid); }
.res-cover { height: 128px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; font-weight: 800; letter-spacing: 1px; }
.res-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.res-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.res-body p { font-size: 13.5px; color: var(--gray); flex: 1; }
.res-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 12px; color: var(--gray-light); }

/* ---------------------------- 活动图文画廊 ---------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: #fff; border: 1px solid var(--line); transition: transform .24s ease, box-shadow .24s ease;
}
.g-item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(11, 61, 140, .16); }
.g-item img { width: 100%; height: 210px; object-fit: cover; display: block; }
.g-cap { padding: 16px 18px 18px; }
.g-cap b { display: block; font-size: 16px; }
.g-cap small { display: block; font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.6; }
.g-item .zoom {
  position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(11, 61, 140, .72); color: #fff; font-size: 15px;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s;
}
.g-item:hover .zoom { opacity: 1; }

/* 图片灯箱 */
.lb-mask {
  position: fixed; inset: 0; background: rgba(12, 20, 36, .82); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 28px;
}
.lb-mask.show { display: flex; }
.lb-box { max-width: 980px; width: 100%; }
.lb-box img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 10px; background: #000; }
.lb-cap { color: #fff; margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.lb-cap b { font-size: 18px; }
.lb-cap p { font-size: 13px; color: rgba(255, 255, 255, .78); margin-top: 6px; }
.lb-close { background: none; color: #fff; font-size: 30px; line-height: 1; padding: 0 4px; }

/* ---------------------------- 资质 ---------------------------- */
.cert-item { text-align: center; padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cert-item .badge { font-size: 30px; margin-bottom: 10px; }
.cert-item b { display: block; font-size: 15px; }
.cert-item small { font-size: 12px; color: var(--gray); }

/* ---------------------------- 滚动动效 ---------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- 响应式（四断点） ---------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 100%; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 1023px) {
  .brand-cluster { gap: 12px; }
  .header-phone { font-size: 15px; }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
  .nav a.nav-cta { margin: 14px 0 0; text-align: center; border-bottom: none; }
  .menu-toggle { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 32px; }
  .g4, .g3, .g2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: none; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain-item:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .chain-item:nth-child(3) { border-left: 1px solid var(--line); border-radius: 0 0 0 var(--radius); }
  .client-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .section { padding: 44px 0; }
  .sec-title { font-size: 25px; }
  .hero h1 { font-size: 27px; line-height: 1.42; }
  .hero-desc { font-size: 15.5px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gallery { grid-template-columns: 1fr; }
  .client-grid > div { height: 74px; padding: 9px 10px; }
  .chain { grid-template-columns: 1fr; }
  .chain-item { border-left: 1px solid var(--line) !important; }
  .chain-item + .chain-item { border-top: none; }
  .chain-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .chain-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 27px; }
  .btn { height: 44px; padding: 0 20px; font-size: 14px; }
  .mobile-cta { display: flex !important; }
}

/* 移动端底部常驻 CTA */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 10px;
}
.mobile-cta a { flex: 1; text-align: center; height: 42px; line-height: 42px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.mobile-cta .m1 { background: var(--brand); color: #fff; }
.mobile-cta .m2 { background: var(--brand-light); color: var(--brand-dark); }
@media (max-width: 767px) { body { padding-bottom: 64px; } }

@media (max-width: 520px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .client-grid > div { height: 64px; padding: 7px 8px; }
}
@media (min-width: 1024px) and (max-width: 1400px) {
  .client-grid { grid-template-columns: repeat(7, 1fr); }
}


/* ==========================================================================
   设计体系 v2.0 · 视觉与体验增强层
   在不改动内容与品牌主色的前提下：统一 token、流体排版、层次化阴影、
   细腻动效、无障碍与降级。仅覆盖「视觉层次」属性，不动布局栅格。
   ========================================================================== */

:root {
  /* ---------- 流体字号阶梯（根字号 16px，随视口平滑缩放）
     整体下调一档：标题约 -6%，正文/小字 -3%~5%，小字降幅更大 ---------- */
  --fs-hero:  clamp(26px, 1.8vw + 14px, 43px);
  --fs-h1:    clamp(24px, 1.5vw + 13px, 36px);
  --fs-h2:    clamp(21px, 1.2vw + 10px, 30px);
  --fs-h3:    clamp(16px, 0.4vw + 13.5px, 18px);
  --fs-lead:  clamp(14.5px, 0.35vw + 12.5px, 16.5px);
  --fs-body:  15.5px;
  --fs-sm:    14px;
  --fs-xs:    12.5px;
  --fs-xxs:   12px;
  --fs-stat:  clamp(24px, 1.5vw + 13px, 32px);

  /* ---------- 行高 ---------- */
  --lh-tight: 1.26;
  --lh-title: 1.38;
  --lh-body:  1.78;

  /* ---------- 间距（8px 基准） ---------- */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-14: 56px; --sp-16: 64px;

  /* ---------- 圆角 ---------- */
  --r-xs: 6px;  --r-sm: 8px;  --r-md: 12px;
  --r-lg: 14px; --r-xl: 18px; --r-2xl: 24px;

  /* ---------- 阴影层级（统一冷蓝色调，避免脏灰） ---------- */
  --sh-xs: 0 1px 2px rgba(16, 42, 87, .05);
  --sh-sm: 0 2px 8px rgba(16, 42, 87, .05);
  --sh-md: 0 6px 18px rgba(16, 42, 87, .07);
  --sh-lg: 0 14px 34px rgba(16, 42, 87, .11);
  --sh-xl: 0 22px 52px rgba(16, 42, 87, .14);
  --sh-brand: 0 10px 26px rgba(22, 104, 220, .18);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, .6);

  /* ---------- 动效曲线 ---------- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.32, .64, 1);
  --dur-fast: .16s;
  --dur: .26s;
  --dur-slow: .5s;

  /* ---------- 阅读宽度 ---------- */
  --measure: 70ch;
}

/* ---------- 基础排版 ---------- */
body {
  line-height: var(--lh-body);
  letter-spacing: .1px;
  text-rendering: optimizeLegibility;
}
p { text-wrap: pretty; }
h1, h2, h3, h4, h5 { text-wrap: balance; line-height: var(--lh-title); font-weight: 700; }

/* ---------- 区块呼吸（流体留白，移动端自动收紧） ---------- */
.section { padding: clamp(52px, 5.5vw, 88px) 0; }
.section-sm { padding: clamp(36px, 3.6vw, 56px) 0; }

/* ---------- 区块标题层次 ---------- */
.sec-head { max-width: 740px; margin: 0 auto clamp(32px, 3.6vw, 52px); }
.sec-tag {
  font-size: var(--fs-xxs);
  letter-spacing: 1.6px;
  padding: 5px 15px;
  margin-bottom: var(--sp-4);
  background: #fff;
  box-shadow: var(--sh-xs);
}
.sec-title { font-size: var(--fs-h2); line-height: 1.34; letter-spacing: -.4px; }
.sec-sub {
  margin-top: var(--sp-3);
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--gray);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 页面头图：增加光晕层次 ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  background:
      radial-gradient(760px 320px at 82% -18%, rgba(88, 198, 255, .28), transparent 60%),
      linear-gradient(120deg, var(--brand-dark), var(--brand));
  padding: clamp(46px, 5vw, 72px) 0 clamp(44px, 4.6vw, 68px);
}
.page-head::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: 56px 56px;
  -webkit-mask-image: radial-gradient(720px 380px at 80% 10%, #000 20%, transparent 74%);
  mask-image: radial-gradient(720px 380px at 80% 10%, #000 20%, transparent 74%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: var(--fs-h1); line-height: 1.3; }
.page-head p { font-size: var(--fs-lead); line-height: 1.7; max-width: 66ch; }

/* ---------- 首屏：字号与节奏（压缩纵向节奏，让 AI 区块进入首屏） ---------- */
.hero { padding: clamp(34px, 3.2vw, 52px) 0 clamp(38px, 3.6vw, 56px); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.24; letter-spacing: -.6px; }
.hero .sec-tag { margin-bottom: 14px; }
.hero-desc { font-size: var(--fs-lead); line-height: 1.72; max-width: 62ch; margin-top: 14px; }
.hero-actions { margin-top: 22px; }
.hero-badges { margin-top: 18px; }

/* ---------- 数据带 ---------- */
.stats { border-radius: var(--r-lg); box-shadow: var(--sh-sm); border-color: var(--line); }
.stats > div { padding: clamp(22px, 2.4vw, 34px) var(--sp-5); }
.stats b { font-size: var(--fs-stat); letter-spacing: -.5px; }
.stats small { font-size: var(--fs-xs); }


/* ==========================================================================
   组件视觉层次增强
   ========================================================================== */

/* ---------- 卡片：静态微阴影 + 悬停升阶 ---------- */
.card {
  border-radius: var(--r-lg);
  padding: clamp(22px, 2vw, 30px) clamp(20px, 1.8vw, 28px);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
  transition:
      transform var(--dur) var(--ease),
      box-shadow var(--dur) var(--ease),
      border-color var(--dur) var(--ease);
  will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--brand-mid);
}
.card h3 { font-size: var(--fs-h3); line-height: 1.45; margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); line-height: 1.72; }

/* 卡片图标：柔和渐变 + 悬停放大 */
.card .card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-light) 0%, #D8E9FF 100%);
  box-shadow: var(--sh-inset), var(--sh-xs);
  font-size: 22px;
  margin-bottom: var(--sp-5);
  transition: transform var(--dur) var(--ease-spring);
}
.card:hover .card-icon { transform: scale(1.08) translateY(-2px); }

/* 卡片链接箭头 */
.card-link { font-size: var(--fs-xs); margin-top: var(--sp-4); transition: gap var(--dur) var(--ease); }

/* 标签 */
.tag {
  font-size: var(--fs-xxs);
  padding: 4px 12px;
  background: var(--brand-light);
  transition: background var(--dur-fast) var(--ease);
}
.tag-list { gap: var(--sp-2); margin-top: var(--sp-4); }

/* ---------- 按钮：光晕与焦点 ---------- */
.btn {
  height: 46px;
  padding: 0 clamp(20px, 1.6vw, 28px);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 999px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
  background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
  color var(--dur-fast) var(--ease);
}
.btn-primary { box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(22, 104, 220, .26); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--brand-mid); }
.btn-outline:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-light { box-shadow: var(--sh-md); }
.btn-sm { height: 38px; padding: 0 16px; font-size: var(--fs-xs); }

/* ---------- 导航：滚动态与下划线动画 ---------- */
.site-header {
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); background: rgba(255, 255, 255, .97); }
.nav a {
  font-size: var(--fs-sm);
  padding: 9px 15px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav a.active::after {
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-mid));
}
.nav a.nav-cta {
  border-radius: 999px;
  box-shadow: var(--sh-brand);
  transition: background var(--dur-fast) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(22, 104, 220, .28); }

/* ---------- 客户 logo 网格：更干净 ---------- */
.client-grid { gap: clamp(8px, .9vw, 14px); }
.client-grid > div {
  border-radius: var(--r-md);
  height: clamp(70px, 6vw, 88px);
  padding: clamp(8px, .9vw, 13px);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.client-grid > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--sh-md);
}

/* ---------- 新闻卡片：清理脏阴影，统一层次 ---------- */
.news-grid { gap: clamp(16px, 1.8vw, 24px); }
.n-card {
  border-radius: var(--r-lg);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.n-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.n-card .img-box { height: clamp(180px, 15vw, 210px); background: var(--brand-50); }
.n-card .content-box { padding: clamp(18px, 1.6vw, 24px); }
.n-card .title { font-size: var(--fs-h3); line-height: 1.5; margin-bottom: var(--sp-3); }
.n-card .content { font-size: var(--fs-sm); line-height: 1.7; }
.n-card .time { font-size: var(--fs-xxs); margin-top: var(--sp-4); }
.n-card .more { font-size: var(--fs-xs); margin-top: var(--sp-3); }

/* ---------- 资源卡片 ---------- */
.res-card { border-radius: var(--r-lg); box-shadow: var(--sh-sm); border-color: var(--line); }
.res-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.res-cover { height: clamp(112px, 10vw, 136px); }
.res-body { padding: clamp(18px, 1.6vw, 24px); }
.res-body h3 { font-size: var(--fs-h3); line-height: 1.5; }
.res-body p { font-size: var(--fs-xs); line-height: 1.7; }

/* ---------- 活动画廊 ---------- */
.gallery { gap: clamp(14px, 1.6vw, 22px); }
.g-item {
  border-radius: var(--r-lg);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.g-item:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.g-item img { height: clamp(180px, 16vw, 215px); }
.g-cap { padding: var(--sp-5) var(--sp-5) var(--sp-6); }
.g-cap b { font-size: var(--fs-sm); }
.g-item .zoom {
  width: 34px; height: 34px;
  background: rgba(11, 61, 140, .78);
  backdrop-filter: blur(4px);
  box-shadow: var(--sh-md);
}

/* ---------- 全链路图：渐变序章 ---------- */
.chain-item { padding: clamp(22px, 2.2vw, 32px) clamp(16px, 1.6vw, 24px); }
.chain-item .no {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  box-shadow: var(--sh-brand);
  font-size: var(--fs-xs);
}
.chain-item h4 { font-size: var(--fs-sm); }
.chain-item p { font-size: var(--fs-xs); line-height: 1.7; }

/* ---------- 证言卡：引号更雅 ---------- */
.quote-card {
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 30px);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.quote-card p { font-size: var(--fs-sm); line-height: 1.8; }

/* ---------- 时间轴：渐变轴线 + 发光节点 ---------- */
.timeline::before {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-mid) 60%, var(--brand-light) 100%);
  width: 2px;
}
.tl-item::before { box-shadow: 0 0 0 4px rgba(22, 104, 220, .10); }
.tl-item b { font-size: var(--fs-sm); }
.tl-item p { font-size: var(--fs-sm); line-height: 1.72; }

/* ---------- 资质卡 ---------- */
.cert-item {
  border-radius: var(--r-lg);
  padding: clamp(20px, 2vw, 28px) var(--sp-4);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cert-item b { font-size: var(--fs-sm); }

/* ---------- 筛选器 ---------- */
.filters { gap: var(--sp-2); margin-bottom: clamp(20px, 2.4vw, 32px); }
.filter-btn {
  padding: 9px 18px;
  font-size: var(--fs-xs);
  border-radius: 999px;
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }
.filter-btn.on { box-shadow: var(--sh-brand); }

/* ---------- 表单：焦点环 ---------- */
.field input, .field select, .field textarea {
  height: 46px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { height: 100px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand-mid); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 104, 220, .12);
}

/* ---------- 弹层与灯箱：更柔和 ---------- */
.modal { border-radius: var(--r-xl); box-shadow: var(--sh-xl); padding: clamp(26px, 2.6vw, 38px); }
.modal-mask { background: rgba(16, 24, 40, .58); backdrop-filter: blur(3px); }
.modal h3 { font-size: clamp(20px, 1.8vw, 25px); }
.lb-mask { backdrop-filter: blur(4px); }
.lb-box img { border-radius: var(--r-lg); box-shadow: var(--sh-xl); }

/* ---------- 页脚：层次更清晰 ---------- */
.site-footer { padding: clamp(44px, 4.6vw, 68px) 0 var(--sp-6); }
.foot-grid { gap: clamp(24px, 2.6vw, 40px); }
.foot-grid h5 { font-size: var(--fs-sm); margin-bottom: var(--sp-4); letter-spacing: .3px; }
.foot-grid a, .foot-grid p { font-size: var(--fs-xs); line-height: 2.05; }


/* ==========================================================================
   动效 · 无障碍 · 性能
   ========================================================================== */

/* ---------- 锚点跳转：避开吸顶导航 ---------- */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------- 滚动淡入：支持错落（--d 由 JS 按同组序号写入） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
      opacity var(--dur-slow) var(--ease-out),
      transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 图片：加载完成后淡入（.imgfade 由 JS 添加，无 JS 时不隐藏图片） ---------- */
.imgfade .client-grid img,
.imgfade .g-item img,
.imgfade .n-card .img-box img {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}
.imgfade img[data-loaded="1"] { opacity: 1; }

/* ---------- 焦点可见性（键盘导航无障碍） ---------- */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- 文本选择色（品牌一致性） ---------- */
::selection { background: rgba(22, 104, 220, .16); color: var(--ink); }

/* ---------- 细滚动条（WebKit） ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--brand-50); }
::-webkit-scrollbar-thumb { background: #C7D6EA; border-radius: 999px; border: 2px solid var(--brand-50); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-mid); }

/* ---------- 长列表渲染优化（106 个 logo 网格） ---------- */
.client-grid { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ---------- 降低动效偏好：系统级降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover, .n-card:hover, .g-item:hover, .client-grid > div:hover,
  .btn:hover, .cert-item:hover, .quote-card:hover, .res-card:hover {
    transform: none !important;
  }
  .imgfade .client-grid img,
  .imgfade .g-item img,
  .imgfade .n-card .img-box img { opacity: 1 !important; }
}

/* ---------- 打印优化（内部评审可导出 PDF） ---------- */
@media print {
  .site-header, .mobile-cta, .hero::before, .hero::after, .ai-band::before { display: none; }
  .section { padding: 24px 0; }
  .card, .n-card { box-shadow: none; break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   浅色 ↔ 深色 区块衔接：多段渐变过渡（消除生硬分界线）
   思路：白底区块底部渐变到「交界色」，深色区块顶部从同一个「交界色」继续
        渐变到深蓝，两端颜色一致，视觉上连成一条完整渐变。
   关键：深色区块**不能有任何一层背景在首行为深色**。区块首行像素会被
        半透明渲染（亚像素覆盖），底层深色会渗出来形成 1px 发丝暗线；
        因此深蓝主体同样从「交界色」起步，而不是把深蓝垫在底下。
   ========================================================================== */
.ai-band,
.band-cta {
  position: relative;
  overflow: hidden;
  --blend-junction: #DCEAFF;                  /* 交界共同色：两侧一致即可消除发丝线 */
  --blend-top: clamp(100px, 10vw, 148px);     /* 深色区块顶部过渡长度 */
  --blend-bot: clamp(96px, 9vw, 148px);       /* 深色区块底部收尾长度 */
  --hero-blend: clamp(72px, 7vw, 108px);      /* 浅色区块底部过渡长度 */
  /* 深色区块底部：渐隐到下方浅色区块 */
  --blend-bot-fade: linear-gradient(0deg,
  #FFFFFF 0px,
  rgba(255, 255, 255, 0.94) calc(var(--blend-bot) * 0.14),
  rgba(226, 239, 255, 0.80) calc(var(--blend-bot) * 0.34),
  rgba(176, 208, 250, 0.55) calc(var(--blend-bot) * 0.58),
  rgba(104, 158, 235, 0.28) calc(var(--blend-bot) * 0.78),
  rgba(24, 80, 170, 0) var(--blend-bot));
}
.ai-band .container,
.band-cta .container { position: relative; z-index: 2; }

/* 浅色区块（首屏、深色区块之前的白底区块）底部：渐变到交界色 */
.hero,
.blend-out {
  --hero-blend: clamp(90px, 9vw, 140px);
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg,
  rgba(220, 234, 255, 0) calc(100% - var(--hero-blend)),
  #DCEAFF 100%);
}

/* AI 驱动 band：顶部从交界色渐变到深蓝，叠蓝色光晕与右下暗角 */
.ai-band {
  padding-top: var(--blend-top);
  padding-bottom: var(--blend-bot);
  background-color: var(--blend-junction);
  background-image:
    /* 光晕放在过渡带以下的深色区，避免把浅色段"洗灰" */
      radial-gradient(1240px 340px at 50% 24%, rgba(88, 198, 255, 0.16), transparent 70%),
      radial-gradient(900px 430px at 82% 10%, rgba(56, 160, 255, 0.18), transparent 62%),
      linear-gradient(160deg, rgba(6, 26, 51, 0) 32%, rgba(6, 26, 51, 0.50) 100%),
      var(--blend-bot-fade),
        /* 顶部渐入：亮度匀速下降 + 保持蓝色饱和度（灰蓝会显得断档） */
      linear-gradient(180deg,
      var(--blend-junction) 0px,
      #AED2FC calc(var(--blend-top) * 0.125),
      #85BBF7 calc(var(--blend-top) * 0.25),
      #5FA3EF calc(var(--blend-top) * 0.375),
      #3F8AE3 calc(var(--blend-top) * 0.50),
      #2A72D2 calc(var(--blend-top) * 0.625),
      #1A56B4 calc(var(--blend-top) * 0.75),
      #133F8D calc(var(--blend-top) * 0.875),
      #0A2E63 var(--blend-top),
      #123F8B 58%,
      #125BC4 calc(100% - var(--blend-bot)),
      #FFFFFF 100%);
}

/* 底部 CTA band：上方接白色区块，下方接深蓝页脚，两端分别做渐变收尾 */
.band-cta {
  --blend-top: clamp(112px, 11vw, 166px);
  --blend-bot: clamp(72px, 6.5vw, 104px);
  /* 底部渐隐到页脚色，与深蓝页脚无缝衔接 */
  --blend-bot-fade: linear-gradient(0deg,
  #0B3D8C 0px,
  rgba(11, 61, 140, 0.88) calc(var(--blend-bot) * 0.26),
  rgba(11, 61, 140, 0.46) calc(var(--blend-bot) * 0.62),
  rgba(11, 61, 140, 0) var(--blend-bot));
  padding-top: var(--blend-top);
  padding-bottom: var(--blend-bot);
  /* 向下溢出 1px，覆盖页脚首行因亚像素渲染露出的浅色，使深蓝衔接无缝 */
  margin-bottom: -1px;
  background-color: var(--blend-junction);
  background-image:
      radial-gradient(1100px 300px at 50% 8%, rgba(88, 198, 255, 0.14), transparent 70%),
      var(--blend-bot-fade),
        /* 全程单调变暗：白 → 亮蓝 → 深蓝，与深蓝页脚同色收尾。
           注意：不要在区块内部放"最亮点"（如中段插 #1668DC 再回到 #0B3D8C），
           亮度折返会在折点处形成一道横向亮脊，看起来像没接好的接缝。 */
      linear-gradient(180deg,
      var(--blend-junction) 0px,
      #B4D6FC calc(var(--blend-top) * 0.125),
      #8ABDF6 calc(var(--blend-top) * 0.25),
      #62A5F0 calc(var(--blend-top) * 0.375),
      #4187E6 calc(var(--blend-top) * 0.50),
      #3374DA calc(var(--blend-top) * 0.625),
      #2763CC calc(var(--blend-top) * 0.75),
      #1E57C2 calc(var(--blend-top) * 0.875),
      #1A54BE var(--blend-top),
      #1450B4 42%,
      #0E46A0 70%,
      #0B3D8C 100%);
}

@media (max-width: 767px) {
  .ai-band { --blend-top: 100px; --blend-bot: 72px; }
  .band-cta { --blend-top: 96px; --blend-bot: 60px; }
  .hero, .blend-out { --hero-blend: 68px; }
}

@media print {
  .ai-band, .band-cta { padding: 24px 0; }
  .hero, .blend-out { background-image: none; }
}

/* ==========================================================================
   模块隐藏工具类
   用途：临时下线某个区块但保留 HTML 结构与数据，便于随时恢复。
   恢复方式：从目标元素的 class 中移除 module-hidden 即可。
   ========================================================================== */
.module-hidden { display: none !important; }
