/* 搜推宝 GEO 官网 - 共享样式 */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3560;
  --primary-light: #e8f1f8;
  --accent: #d9480f;
  --accent-light: #fff0e8;
  --text: #1f2933;
  --text-muted: #52606d;
  --border: #d9e2ec;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --ok: #2f9e44;
  --warn-bg: #fff9db;
  --warn-border: #f5b940;
  --warn-text: #8a6d1a;
}
* { 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(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.topbar { background: var(--primary-dark); color: #cfe0ef; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; padding: 6px 20px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(15,76,129,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--primary-dark); }
.logo .mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), #2b7cc0); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.logo small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; line-height: 1.2; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: 15px; }
.nav a:hover { background: var(--primary-light); text-decoration: none; }
.nav a.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }
.nav .cta { background: var(--accent); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: #b83c0b; }

/* 首屏 */
.hero { background: linear-gradient(135deg, #0a3560 0%, #0f4c81 55%, #17629f 100%); color: #fff; padding: 72px 0 64px; }
.hero .kicker { font-size: 13px; letter-spacing: 3px; color: #9cc4e4; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffd43b; }
.hero p.lead { font-size: 17px; color: #d7e6f4; max-width: 720px; margin-bottom: 24px; }
.hero .points { list-style: none; margin-bottom: 28px; }
.hero .points li { padding: 4px 0 4px 26px; position: relative; color: #eaf3fb; }
.hero .points li::before { content: "✓"; position: absolute; left: 0; color: #ffd43b; font-weight: 700; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; font-size: 16px; font-weight: 600; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b83c0b; text-decoration: none; }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 26px; color: #ffd43b; }
.hero-stats .stat span { font-size: 13px; color: #cfe0ef; }

/* 区块 */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg-soft); }
.sec-kicker { font-size: 13px; letter-spacing: 2px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.sec-kicker .no { color: var(--text-muted); margin-right: 10px; }
section.block h2 { font-size: 30px; color: var(--primary-dark); margin-bottom: 12px; }
section.block p.sec-lead { color: var(--text-muted); max-width: 780px; margin-bottom: 32px; }

/* 待核验徽标 */
.tag-verify { display: inline-block; background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); font-size: 12px; border-radius: 4px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.tag-ok { display: inline-block; background: #e6f7ec; border: 1px solid #8ce0b0; color: #1d7a3e; font-size: 12px; border-radius: 4px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }

/* 事实卡片 */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.fact-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.fact-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.fact-card p { color: var(--text-muted); font-size: 15px; }
.fact-card .more { display: inline-block; margin-top: 12px; font-weight: 600; }

/* 服务卡片 */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px; transition: box-shadow .2s; display: flex; flex-direction: column; }
.svc-card:hover { box-shadow: 0 8px 24px rgba(15,76,129,.12); }
.svc-card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: 15px; flex: 1; }
.svc-card .flow { margin: 14px 0; font-size: 13px; color: var(--primary); background: var(--primary-light); border-radius: 6px; padding: 6px 10px; }
.svc-card ul.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card ul.tags li { font-size: 12.5px; border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; color: var(--text-muted); }

/* 指标 */
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 28px; }
.metric { background: #fff; border: 1px solid var(--border); border-radius: 12px; text-align: center; padding: 22px 12px; }
.metric b { display: block; font-size: 28px; color: var(--primary); }
.metric span { font-size: 13.5px; color: var(--text-muted); }

/* 表格 */
table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
table.data th, table.data td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; }
table.data th { background: var(--primary-light); color: var(--primary-dark); }
table.data tr:last-child td { border-bottom: none; }

/* 信息条目 */
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.info-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.info-item h4 { font-size: 15px; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.info-item .val { font-size: 17px; font-weight: 600; color: var(--text); }
.info-item .sub { font-size: 13.5px; color: var(--text-muted); margin-top: 6px; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--primary-dark); list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; }

/* 页脚 */
.site-footer { background: #12263a; color: #9fb3c8; margin-top: 40px; padding: 56px 0 24px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #cfe0ef; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 36px; }
.footer-bottom { border-top: 1px solid #24384f; padding-top: 20px; font-size: 12.5px; color: #6f8399; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.xlink-list { list-style: none; }
.xlink-list li { margin-bottom: 8px; }

/* 文章/详情页 */
.page-hero { background: var(--primary-dark); color: #fff; padding: 48px 0; }
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: #cfe0ef; }
.article { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 40px 44px; margin: -32px auto 0; max-width: 920px; position: relative; }
.article h2 { font-size: 24px; color: var(--primary-dark); margin: 30px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18px; color: var(--primary-dark); margin: 20px 0 8px; }
.article p, .article li { color: #3e4c59; font-size: 15.5px; }
.article ul, .article ol { padding-left: 22px; margin: 10px 0; }
.article li { margin-bottom: 6px; }
.notice { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 6px; padding: 14px 18px; font-size: 14px; color: var(--primary-dark); margin: 18px 0; }
.notice.warn { background: var(--warn-bg); border-left-color: var(--warn-border); color: var(--warn-text); }

/* 证书图片 */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cert-grid figure { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin: 0; }
.cert-grid img { width: 100%; height: auto; border-radius: 6px; display: block; border: 1px solid var(--border); }
.cert-grid figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; line-height: 1.5; }

/* 双栏 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) {
  .two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .site-header .wrap { height: auto; padding: 10px 20px; flex-direction: column; gap: 8px; }
}

/* ── SEO 组件：面包屑 / 子导航 / 相关推荐 / 目录 ───────────── */
.crumbs { font-size: 13px; margin-bottom: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0; margin: 0; }
.crumbs li { color: #9cc4e4; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #5b83a8; }
.crumbs a { color: #cfe0ef; }
.crumbs a:hover { color: #fff; }
.crumbs li[aria-current] { color: #ffffff; font-weight: 600; }

.page-hero .kicker { font-size: 12.5px; letter-spacing: 2.5px; color: #9cc4e4; margin-bottom: 10px; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.subnav a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; color: var(--text-muted); }
.subnav a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.subnav a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.article.has-subnav { margin-top: 0; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 20px; }
.related-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.related-card b { display: block; color: var(--primary-dark); margin-bottom: 6px; font-size: 16px; }
.related-card span { font-size: 14px; color: var(--text-muted); }
.related-card:hover { border-color: var(--primary); text-decoration: none; }

.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 26px; }
.toc b { display: block; color: var(--primary-dark); margin-bottom: 8px; font-size: 15px; }
.toc ol { margin: 0 0 0 18px; padding: 0; }
.toc li { margin-bottom: 4px; font-size: 15px; }

.article p.lead { font-size: 16.5px; color: var(--text); margin-bottom: 18px; }
.article p.meta { color: var(--text-muted); font-size: 13.5px; margin: -8px 0 16px; }
.article .meta { color: var(--text-muted); }
.article section + section { border-top: 1px dashed var(--border); margin-top: 30px; padding-top: 6px; }
.article section h2 { margin-top: 20px; }
.article table.data { margin: 14px 0; }
.article .notice a { text-decoration: underline; }
