/* ============================================================
   海蕴天成 tradeassist.cn — 全站样式
   设计参考：磐石出海（bsgrowth.com）版式体系
   主色：品牌蓝 #1858E6 / 深蓝 #002FA7
   ============================================================ */

:root {
  --blue: #1858e6;
  --blue-deep: #002fa7;
  --blue-soft: #eaf1fe;
  --ink: #0a0f1c;
  --ink-2: #111827;
  --body: #333c4d;
  --muted: #667085;
  --line: #e6eaf2;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 12px 32px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(24, 88, 230, .35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { flex: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 36px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-box {
  background: #fff; border-radius: 10px; padding: 7px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: box-shadow .35s ease;
  display: flex; align-items: center;
}
.brand-box img { height: 26px; width: auto; }
.brand-name { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .05em; transition: color .35s ease; line-height: 1.2; }
.brand-name small { display: block; font-size: 10px; font-weight: 400; opacity: .75; letter-spacing: .12em; }

.main-nav { flex: 1; display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
/* mega menu 以页头为定位基准，水平居中，避免右侧溢出屏幕 */
.main-nav > li.has-mega { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  height: var(--header-h); padding: 0 16px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.92);
  transition: color .25s ease;
  cursor: pointer;
}
.nav-link .chev { width: 10px; height: 10px; transition: transform .25s ease; }
.nav-link:hover, .main-nav > li.open .nav-link { color: #fff; }
.main-nav > li.open .nav-link .chev { transform: rotate(180deg); }
.header-cta { flex: none; }

/* 滚动后 / 浅色页头 */
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16,24,40,.06);
}
.site-header.scrolled .nav-link, .site-header.solid .nav-link { color: var(--ink-2); }
.site-header.scrolled .nav-link:hover, .site-header.solid .nav-link:hover,
.site-header.scrolled .main-nav > li.open .nav-link, .site-header.solid .main-nav > li.open .nav-link { color: var(--blue); }
.site-header.scrolled .brand-box, .site-header.solid .brand-box { box-shadow: 0 1px 4px rgba(16,24,40,.12); }
.site-header.scrolled .brand-name, .site-header.solid .brand-name { color: var(--ink-2); }
.site-header.solid .btn-ghost { color: var(--ink-2); border-color: var(--line); background: #fff; }
.site-header.solid .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Mega Menu ---------- */
.mega {
  position: absolute; top: var(--header-h); left: 50%;
  width: min(1080px, calc(100vw - 48px));
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-top: none;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 28px;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.main-nav > li.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-intro h4 { font-size: 17px; color: var(--ink-2); margin-bottom: 10px; font-weight: 600; }
.mega-intro p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; align-content: start; }
.mega-list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  transition: background .2s ease;
}
.mega-list a:hover { background: var(--blue-soft); }
.mega-list b { display: block; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.mega-list span { font-size: 12.5px; color: var(--muted); }
.mega-card {
  background: linear-gradient(160deg, #0f2b6e, #002fa7);
  border-radius: 14px; padding: 24px;
  color: #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.mega-card h5 { font-size: 15px; font-weight: 600; }
.mega-card p { font-size: 12.5px; color: rgba(255,255,255,.75); line-height: 1.6; }
.mega-card .btn { height: 40px; padding: 0 20px; font-size: 13.5px; background: #fff; color: var(--blue-deep); margin-top: auto; }
.mega-card .btn:hover { background: #eaf1fe; }
.mega-card .tel { font-size: 18px; font-weight: 600; letter-spacing: .02em; }

/* ---------- 移动端 ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: rgba(255,255,255,.12);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.scrolled .nav-toggle, .site-header.solid .nav-toggle { background: var(--blue-soft); }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span,
.site-header.scrolled .nav-toggle span::before, .site-header.solid .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after, .site-header.solid .nav-toggle span::after { background: var(--ink-2); }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99;
  padding: 20px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu .m-item { border-bottom: 1px solid var(--line); }
.mobile-menu .m-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 16px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
}
.mobile-menu .m-head .chev { width: 11px; height: 11px; transition: transform .3s ease; }
.mobile-menu .m-item.open .m-head .chev { transform: rotate(180deg); }
.mobile-menu .m-body { display: none; padding: 0 4px 14px; }
.mobile-menu .m-item.open .m-body { display: block; }
.mobile-menu .m-body a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--body); font-size: 14.5px; }
.mobile-menu .m-body a:hover { background: var(--bg); color: var(--blue); }
.mobile-menu .m-body a b { display: block; color: var(--ink-2); font-weight: 500; }
.mobile-menu .m-body a span { font-size: 12.5px; color: var(--muted); }
.mobile-menu .m-cta { margin-top: 24px; display: grid; gap: 12px; }
.mobile-menu .m-cta .btn { width: 100%; justify-content: center; }

/* ---------- Hero（首页深色） ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,10,22,.94) 30%, rgba(6,10,22,.62) 75%, rgba(6,10,22,.45));
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .18em; color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 28px;
}
.hero-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #5b8cff; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.22; font-weight: 600;
  max-width: 16em;
  margin-bottom: 22px;
}
.hero-sub { font-size: 16px; color: rgba(255,255,255,.78); max-width: 40em; margin-bottom: 36px; }
.hero-sub b { color: #fff; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 32px;
}
.hero-stats .stat { padding: 0 44px 0 0; margin-right: 44px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-stats .stat:last-child { border-right: none; margin-right: 0; }
.hero-stats b { display: block; font-size: 34px; font-weight: 600; color: #fff; line-height: 1.1; }
.hero-stats b i { font-style: normal; font-size: 16px; color: #7ea6ff; margin-left: 2px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.bg { background: var(--bg); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .16em;
  color: var(--blue); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3; color: var(--ink-2); font-weight: 600; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- 痛点卡片 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card .num { font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: .08em; display: block; margin-bottom: 16px; }
.pain-card h3 { font-size: 16.5px; color: var(--ink-2); font-weight: 600; line-height: 1.45; margin-bottom: 10px; }
.pain-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 0;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d9f8; }
/* 卡片底部配图（不影响文字阅读） */
.svc-pic {
  margin: 2px -28px 0;
  height: 150px;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  position: relative;
}
.svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-pic img { transform: scale(1.05); }
.svc-logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.svc-logo img { width: 100%; height: 100%; object-fit: contain; }
.svc-card h3 { font-size: 18px; color: var(--ink-2); font-weight: 600; }
.svc-card > p { font-size: 14px; color: var(--muted); flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  font-size: 12px; color: var(--blue-deep);
  background: var(--blue-soft); border-radius: 6px; padding: 4px 10px;
}
.svc-more { font-size: 14px; color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.svc-more:hover { gap: 10px; }
.svc-card.featured { background: linear-gradient(170deg, #0f2b6e, #002fa7); border-color: transparent; color: #fff; }
.svc-card.featured h3 { color: #fff; }
.svc-card.featured > p { color: rgba(255,255,255,.75); }
.svc-card.featured .svc-tags span { background: rgba(255,255,255,.14); color: #cfe0ff; }
.svc-card.featured .svc-logo { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.svc-card.featured .svc-more { color: #9db9ff; }

/* ---------- 对比表 ---------- */
.cmp-table {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.cmp-row { display: grid; grid-template-columns: 220px 1fr 1fr; }
.cmp-row > div { padding: 20px 24px; border-top: 1px solid var(--line); font-size: 14px; }
.cmp-row > div:first-child { font-weight: 500; color: var(--ink-2); background: var(--bg); }
.cmp-row.head > div { border-top: none; font-weight: 600; font-size: 15px; }
.cmp-row.head > div:nth-child(2) { color: var(--blue-deep); background: var(--blue-soft); }
.cmp-row.head > div:nth-child(3) { color: var(--muted); }
.cmp-row > div:nth-child(2) { color: var(--ink-2); background: #f7faff; }
.cmp-row > div:nth-child(3) { color: var(--muted); }
.cmp-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- 获客路径图 ---------- */
.flow {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px;
}
.flow-cols { display: grid; grid-template-columns: 1fr 46px 1.2fr 46px 1fr; align-items: center; gap: 0; }
.flow-col h4 { font-size: 15px; color: var(--ink-2); font-weight: 600; margin-bottom: 16px; text-align: center; }
.flow-items { display: grid; gap: 10px; }
.flow-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; background: #fff;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
}
.flow-item img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.flow-item small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.flow-arrow { display: flex; align-items: center; justify-content: center; }
.flow-arrow svg { width: 30px; height: 30px; }
.flow-final {
  background: linear-gradient(160deg, #0f2b6e, #002fa7);
  border-radius: 14px; padding: 24px; color: #fff; text-align: center;
}
.flow-final h5 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.flow-final p { font-size: 13px; color: rgba(255,255,255,.75); }
.flow-steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.flow-steps span { font-size: 12px; background: rgba(255,255,255,.14); border-radius: 6px; padding: 4px 10px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.case-card:hover .case-shot img { transform: scale(1.04); }
.case-meta { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.case-meta b { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.case-meta span { font-size: 12.5px; color: var(--muted); }
.case-note { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- 荣誉与商会动态 ---------- */
.honor-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.honor-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.honor-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.honor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.honor-photo figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.honor-photo.wide { grid-column: 1 / -1; }
.honor-photo.wide img { aspect-ratio: 16 / 9; }
/* 竖构图素材按原比例展示，避免裁掉聘书/奖杯/海报内容 */
.honor-photo.cert img { aspect-ratio: 3 / 4; }
.honor-photo.trophy img { aspect-ratio: 3 / 4; }
.honor-photo.scene img { aspect-ratio: 4 / 3; }
/* TikTok 活动海报为竖版，contain 完整展示不裁切 */
.honor-photo.poster { background: #f2f5fb; }
.honor-photo.poster img { aspect-ratio: 3 / 4; object-fit: contain; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 28px 8px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
}
.tl-date { font-size: 13px; color: var(--blue); font-weight: 500; margin-bottom: 4px; }
.tl-item h4 { font-size: 15.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; line-height: 1.5; }
.tl-item p { font-size: 13.5px; color: var(--muted); }
.tl-badge {
  display: inline-block; font-size: 11.5px; color: var(--blue-deep);
  background: var(--blue-soft); border-radius: 5px; padding: 2px 8px; margin-left: 8px;
  vertical-align: middle;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
}
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); position: relative; transition: transform .3s ease, background .3s ease; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--blue); border-radius: 2px; transition: background .3s ease; }
.faq-q .ic::before { width: 10px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 10px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--blue); }
.faq-item.open .faq-q .ic::before, .faq-item.open .faq-q .ic::after { background: #fff; }
.faq-a { display: none; padding: 0 24px 22px; font-size: 14px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- 合作方式 ---------- */
.coop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.coop-card .step { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.coop-card h3 { font-size: 17.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
.coop-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.coop-card .cond { font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 10px 14px; }
.coop-card .cond b { color: var(--blue-deep); font-weight: 500; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, #0f2b6e, #002fa7);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); }
.cta-band .btn-primary:hover { background: #eaf1fe; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; margin-top: 36px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.cta-meta b { color: #fff; font-weight: 500; }

/* ---------- 页脚（简约） ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 44px 0 32px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.foot-brand .brand-box { box-shadow: none; }
.foot-brand span { font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.foot-links a:hover { color: #fff; }
.foot-info { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px 0 0; font-size: 13px; }
.foot-info b { color: rgba(255,255,255,.85); font-weight: 500; }
.copyright { padding-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---------- 服务页 ---------- */
.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; background: linear-gradient(180deg, #eef3fd, #fff); }
.page-hero .sec-kicker { color: var(--blue-deep); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; color: var(--ink-2); font-weight: 600; max-width: 16em; margin-bottom: 18px; }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 44em; margin-bottom: 30px; }
.page-hero .hero-actions .btn-primary { color: #fff; }
.page-hero .btn-outline { background: #fff; }

.doc-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc-row { display: grid; grid-template-columns: 200px 1fr; }
.doc-row > div { padding: 18px 24px; border-top: 1px solid var(--line); font-size: 14px; }
.doc-row.head > div { border-top: none; background: var(--bg); font-weight: 600; color: var(--ink-2); }
.doc-row > div:first-child { font-weight: 500; color: var(--ink-2); background: #fafbfe; }
.doc-row > div:last-child { color: var(--body); }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.check-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--body); }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%; background: var(--blue-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231858e6" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center/11px no-repeat;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: .08em; margin-bottom: 14px;
}
.step-card h3 { font-size: 16px; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 服务页图文组件 ---------- */
/* Hero 双栏 */
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-visual { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-visual .visual-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-visual .visual-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dae6; }
.hero-visual .visual-bar i:first-child { background: #ff5f57; }
.hero-visual .visual-bar i:nth-child(2) { background: #febc2e; }
.hero-visual .visual-bar i:nth-child(3) { background: #28c840; }
.hero-visual .visual-bar span { margin-left: auto; font-size: 11.5px; color: var(--muted); }

/* 区块横幅图 */
.sec-banner { margin: -4px 0 44px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sec-banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* 文字 + 配图双栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-pic { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.split-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-pic figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }

/* FAQ + 配图双栏 */
.faq-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.faq-split .faq-pic { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq-split .faq-pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- 响应式 ---------- */
@media (max-width: 1366px) {
  .mega { width: min(1000px, calc(100vw - 48px)); }
}
@media (max-width: 1180px) {
  .main-nav > li:not(:last-child) .nav-link { padding: 0 12px; font-size: 14.5px; }
}
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { justify-content: space-between; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr 1fr; }
  .flow-cols { grid-template-columns: 1fr; gap: 20px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .honor-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cmp-row { grid-template-columns: 160px 1fr 1fr; }
  .cmp-row > div { padding: 16px; font-size: 13.5px; }
  .page-hero .container, .split, .faq-split { grid-template-columns: 1fr; }
  .page-hero .hero-visual { max-width: 560px; }
  .sec-banner img { aspect-ratio: 16 / 9; }
  .faq-split .faq-pic img { aspect-ratio: 16 / 9; }
  .svc-pic { height: 140px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 56px; }
  .hero-stats { gap: 20px 0; margin-top: 44px; }
  .hero-stats .stat { padding-right: 24px; margin-right: 24px; }
  .hero-stats b { font-size: 26px; }
  .pain-grid, .svc-grid, .case-grid, .coop-grid, .steps, .check-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { margin-bottom: 36px; }
  .flow { padding: 28px 20px; }
  .doc-row { grid-template-columns: 1fr; }
  .doc-row > div:first-child { background: var(--bg); }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { border-top: 1px solid var(--line); }
  .cmp-row.head > div:nth-child(2), .cmp-row.head > div:nth-child(3) { display: none; }
  .cmp-row > div::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
  body { font-size: 14.5px; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats .stat { padding-right: 16px; margin-right: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .honor-photos { grid-template-columns: 1fr; }
  .btn { height: 46px; }
}

/* ================= 文章页 ================= */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.article-meta b { color: var(--ink-2); font-weight: 500; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 40px 44px; }
.article-body h2 { font-size: 20px; margin: 36px 0 14px; padding-left: 12px; border-left: 3px solid var(--brand); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 15px; line-height: 1.85; color: var(--body); margin-bottom: 16px; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body figure { margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-body figure img { width: 100%; display: block; }
.article-body figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: #fafbfe; }
.article-qa { margin-top: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.article-qa h3 { font-size: 17px; margin-bottom: 14px; }
.article-qa p { font-size: 14.5px; line-height: 1.8; color: var(--body); margin-bottom: 12px; }
.article-qa p:last-child { margin-bottom: 0; }
.article-qa b { color: var(--ink); }

.art-list { display: grid; gap: 16px; }
.art-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: border-color .25s ease, transform .25s ease; }
.art-row:hover { border-color: var(--brand); transform: translateY(-2px); }
.art-date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.art-date b { display: block; font-size: 22px; color: var(--ink); font-weight: 600; }
.art-main h3 { font-size: 17px; margin-bottom: 6px; }
.art-main p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.art-go { color: var(--brand); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.wx-list { display: grid; gap: 14px; }
.wx-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; }
.wx-row:hover { border-color: var(--brand); }
.wx-row h3 { font-size: 16px; margin-bottom: 4px; }
.wx-row p { font-size: 13px; color: var(--muted); }
.wx-row .wx-src { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

@media (max-width: 768px) {
  .article-body { padding: 26px 22px; }
  .art-row, .wx-row { grid-template-columns: 1fr; gap: 10px; }
  .art-go { justify-self: start; }
}

/* ================= 导航 CTA：一键拨号 / 复制微信号 ================= */
.mega-wechat { display: block; margin-top: 12px; padding-left: 4px; font-size: 12.5px; color: var(--brand); }
.mega-wechat:hover { text-decoration: underline; }
.mega-wechat.copied { color: #0a9a5c; }

/* ================= 模块级链接、锚点定位、原图查看 ================= */
.svc-card h3 a { color: inherit; }
.svc-card h3 a:hover { color: var(--brand); }
.case-card { scroll-margin-top: 96px; }
.honor-photo > a { display: block; }
.honor-photo > a:hover img { opacity: .9; }
.sec-more-wrap { margin-top: 24px; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--brand); }
.sec-more:hover { text-decoration: underline; }
button.mega-wechat { background: none; border: 0; padding: 0 0 0 4px; font-family: inherit; line-height: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
