/* ==========================================================================
   Capture One · 广告投放与商业咨询服务平台 —— 全站共享样式（基座文件）
   --------------------------------------------------------------------------
   归属：主会话（编排者）独家维护。并行子会话【不要】修改本文件；
        若某页确实需要新样式，写在该页 <style> 里，并在汇报中写明"样式增量"。
   设计取向：中文 B2B 服务站，克制、可信、信息密度高；不做花哨动效。
   无障碍/取证：正文不依赖 JS，纯 HTML+CSS 即可完整阅读与打印（便于公证取证）。
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --ink:        #0d1420;   /* 主文字 */
  --ink-2:      #35415a;   /* 次文字 */
  --ink-3:      #6b7793;   /* 弱文字 */
  --line:       #e2e7f0;   /* 分割线 */
  --line-2:     #eef1f7;   /* 浅分割线 */
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;   /* 浅底区块 */
  --bg-ink:     #0d1420;   /* 深底区块 */

  --brand:      #1b4dff;   /* 品牌蓝：投放、数据 */
  --brand-dk:   #1338c4;
  --brand-sf:   #eef2ff;
  --click:      #f4511e;   /* 点击橙：点击付费广告 / CTA */
  --click-sf:   #fff3ee;

  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 2px rgba(13, 20, 32, .04), 0 8px 24px rgba(13, 20, 32, .06);
  --maxw:       1180px;
  --gutter:     24px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(28px, 4.2vw, 42px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p  { margin: 0 0 1.1em; }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dk); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: .3em 0; }
strong { color: var(--ink); font-weight: 600; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }

/* ---------- 布局 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--bg-ink); color: #b9c3d8; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding: 44px 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
@media (max-width: 900px) {
  .grid--3, .grid--4, .grid--sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 48px 0; }
}

/* ---------- 页眉 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--font-en); font-size: 19px; font-weight: 700;
  color: var(--ink); letter-spacing: -.015em; white-space: nowrap;
}
.brand__r { font-size: 11px; vertical-align: super; color: var(--ink-3); font-weight: 500; }
.brand__zh { font-size: 12px; color: var(--ink-3); margin-left: 2px; white-space: nowrap; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); font-size: 15px; white-space: nowrap;
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav__item--active > .nav__link { color: var(--brand); background: var(--brand-sf); font-weight: 600; }

/* 下拉：纯 CSS，hover + focus-within，无 JS 也可用 */
.nav__item--has-sub { position: relative; }
.nav__caret { display: inline-block; margin-left: 4px; font-size: 10px; color: var(--ink-3); }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub .nav__link { padding: 7px 10px; font-size: 14.5px; }

/* 移动端汉堡：checkbox 技巧，零 JS */
.nav-toggle { display: none; }
.nav-toggle__btn {
  display: none; margin-left: auto; padding: 6px 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); font-size: 14px;
  user-select: none;
}
@media (max-width: 980px) {
  .nav-toggle__btn { display: block; }
  .nav { display: none; margin-left: 0; width: 100%; }
  .nav-toggle:checked ~ .nav { display: block; }
  .site-header__bar { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav__link { padding: 10px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 6px 10px; padding: 0 0 0 8px;
  }
  .nav__caret { display: none; }
}

/* ---------- 首屏 / 页头横幅 ---------- */
.hero { padding: 76px 0 68px; background:
  radial-gradient(1000px 420px at 12% -8%, var(--brand-sf) 0%, transparent 62%),
  radial-gradient(760px 340px at 92% 0%, var(--click-sf) 0%, transparent 58%); }
.hero__eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 5px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
}
.hero__title { max-width: 20em; }
.hero__lead { font-size: clamp(16px, 1.6vw, 18.5px); max-width: 44em; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.page-head { padding: 52px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head__title { margin-bottom: .35em; }
.page-head__lead { max-width: 50em; margin: 0; color: var(--ink-2); }
.breadcrumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dk); color: #fff; }
.btn--click { background: var(--click); color: #fff; }
.btn--click:hover { background: #d8420f; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 8px 16px; font-size: 14px; }

/* ---------- 卡片 / 通用块 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: .18s ease;
}
.card--hover:hover { border-color: #c8d3ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px; border-radius: 9px;
  background: var(--brand-sf); color: var(--brand);
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
}
.card__no--click { background: var(--click-sf); color: var(--click); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.lead { font-size: 17.5px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }

.tag {
  display: inline-block; padding: 3px 10px; margin: 0 6px 6px 0;
  background: var(--brand-sf); color: var(--brand-dk);
  border-radius: 999px; font-size: 13px; white-space: nowrap;
}
.tag--click { background: var(--click-sf); color: #c23c0e; }
.tag--plain { background: var(--bg-soft); color: var(--ink-2); }

/* 核定服务项目条目：贯穿全站，用于把页面内容锚到第 35 类核定项目 */
.classitem {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
}
.classitem__code {
  flex: 0 0 auto; font-family: var(--font-en); font-weight: 700;
  color: var(--brand); font-size: 13px; padding-top: 2px;
}
.classitem--click { border-left-color: var(--click); }
.classitem--click .classitem__code { color: var(--click); }

/* 图文两栏 */
.media { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.media--flip > :first-child { order: 2; }
@media (max-width: 860px) { .media { grid-template-columns: minmax(0, 1fr); gap: 28px; } .media--flip > :first-child { order: 0; } }

/* 流程步骤 */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 46px; border-left: 2px solid var(--line); margin-left: 16px;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: -17px; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
}
.steps h3 { margin-bottom: .3em; }

/* 数据表 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.tbl th, table.tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl thead th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl caption { caption-side: bottom; padding-top: 10px; font-size: 13px; color: var(--ink-3); text-align: left; }

/* 提示条 */
.note {
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2);
}
.note--brand { background: var(--brand-sf); border-color: #d5deff; }
.note strong { color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

/* 定义列表（品牌释义、术语） */
.defs { margin: 0; }
.defs dt { color: var(--ink); font-weight: 700; margin-top: 18px; }
.defs dt:first-child { margin-top: 0; }
.defs dd { margin: .3em 0 0; }

/* 资质图片展示 */
.doc-shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.doc-shot img { width: 100%; }
.doc-shot figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* CTA 条 */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: 30px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #0d1420 0%, #17233c 100%); color: #b9c3d8;
}
.cta h3 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-ink); color: #8d99b3; font-size: 14px; padding: 52px 0 26px; }
.site-footer a { color: #b9c3d8; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 8px 0; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__zh, .footer__brand .brand__r { color: #8d99b3; }
.footer__legal {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid #22304d;
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #737f99;
}
.footer__tm {
  margin-top: 14px; font-size: 13px; color: #737f99; line-height: 1.8;
}

/* ---------- 打印（公证取证会打印页面，务必可读） ---------- */
@media print {
  .site-header, .nav, .nav-toggle__btn, .cta, .hero__actions { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section, .hero, .page-head { padding: 12pt 0; background: none !important; }
  .card, .note, .classitem { border: 1pt solid #999 !important; background: none !important; break-inside: avoid; }
  .site-footer { background: none; color: #000; border-top: 1pt solid #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
}
