/* 郭灿 · guocancpa.cn — 全站样式
   深蓝主色，克制的排版，中文优先字体栈。 */

:root {
  --ink:      #1a2332;
  --ink-soft: #46536b;
  --muted:    #7a8699;
  --navy:     #12294d;
  --accent:   #1f4e8c;
  --accent-2: #2f6db5;
  --line:     #e3e7ee;
  --line-2:   #eef1f6;
  --bg:       #f6f8fb;
  --white:    #ffffff;
  --radius:   10px;
  --radius-lg:16px;
  --shadow:   0 1px 2px rgba(18,41,77,.05), 0 8px 24px -12px rgba(18,41,77,.14);
  --wrap:     880px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.4; font-weight: 700; color: var(--ink); }
ul, ol { padding-left: 1.35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ── 顶部 ───────────────────────────────────────────── */
.site-head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.brand-role {
  font-size: 12px; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: 10px;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  font-size: 14px; color: var(--ink-soft); padding: 5px 11px; border-radius: 6px;
  text-decoration: none; transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--line-2); color: var(--accent); text-decoration: none; }
.site-nav a.active { color: var(--navy); background: #eaf0f9; font-weight: 600; }

/* ── 首页首屏 ───────────────────────────────────────── */
.hero {
  background: linear-gradient(165deg, #12294d 0%, #1b3a67 55%, #234b80 100%);
  color: #fff;
  padding: 76px 0 68px;
}
.hero-inner { max-width: var(--wrap); }
.hero-role {
  font-size: 13px; letter-spacing: .18em; color: #9db8dd;
  text-transform: none; margin-bottom: 14px;
}
.hero-name {
  font-size: 46px; color: #fff; letter-spacing: .06em;
  margin-bottom: 18px; font-weight: 700;
}
.hero-headline {
  font-size: 20px; color: #eaf1fb; font-weight: 600;
  line-height: 1.6; margin-bottom: 16px; max-width: 30em;
}
.hero-lead {
  font-size: 15.5px; color: #b9cbe4; max-width: 34em; line-height: 1.85;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 按钮 ───────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); border-color: #c3d2e6; }
.btn-ghost:hover { background: #fff; border-color: var(--accent); }
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #eaf1fb; color: var(--navy); }
.hero .btn-ghost { color: #d6e4f7; border-color: rgba(255,255,255,.34); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

/* ── 区块 ───────────────────────────────────────────── */
.sec { padding: 60px 0; }
.sec-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title {
  font-size: 22px; margin-bottom: 28px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line); letter-spacing: .02em;
}
.sec-title::after {
  content: ''; display: block; width: 46px; height: 2px;
  background: var(--accent); margin-bottom: -14px;
}
.more { margin-top: 22px; font-size: 14.5px; }

/* ── 卡片网格 ───────────────────────────────────────── */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 20px;
  display: flex; flex-direction: column;
}
.sec-alt .card { background: var(--bg); }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; flex: 1; }
.card-link { transition: border-color .15s, box-shadow .15s, transform .12s; }
.card-link:hover {
  text-decoration: none; border-color: #b9cbe4; box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-link:hover h3 { color: var(--accent); }
.card-more { margin-top: 14px; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.card-muted { opacity: .82; }
.tag {
  margin-top: 14px; align-self: flex-start; font-size: 12px;
  background: #eef1f6; color: var(--muted); padding: 3px 9px; border-radius: 4px;
}

/* ── 信任要素 ───────────────────────────────────────── */
.trust-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust-item h3 {
  font-size: 16px; margin-bottom: 10px; padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.trust-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }

/* ── 问答 ───────────────────────────────────────────── */
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.sec-alt .qa { background: var(--bg); }
.qa summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '+'; color: var(--accent); font-weight: 400; font-size: 20px;
  line-height: 1; flex: none; transition: transform .15s;
}
.qa[open] summary::after { content: '−'; }
.qa summary:hover { color: var(--accent); }
.qa-body { padding: 0 20px 18px; border-top: 1px solid var(--line-2); margin-top: -1px; }
.qa-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; padding-top: 14px; }

/* ── 选题列表 ───────────────────────────────────────── */
.topic-list, .article-list { list-style: none; padding: 0; }
.topic-list li, .article-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 2px; border-bottom: 1px solid var(--line);
}
.topic-list li:last-child, .article-list li:last-child { border-bottom: none; }
.topic { font-size: 15.5px; color: var(--ink); }
.article-list a { font-size: 15.5px; font-weight: 600; }
.date, .article-list .date { font-size: 13px; color: var(--muted); flex: none; }

/* ── 预约区块 ───────────────────────────────────────── */
.cta-lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 内页通用 ───────────────────────────────────────── */
.page { padding: 46px 22px 72px; }
.page-head { margin-bottom: 34px; }
.page-head h1 { font-size: 30px; margin-bottom: 12px; letter-spacing: .02em; }
.page-sub { font-size: 15.5px; color: var(--ink-soft); max-width: 40em; line-height: 1.85; }
.block-title {
  font-size: 18px; margin: 44px 0 20px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.page-cta { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.note { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.empty { color: var(--muted); }
.empty-box {
  background: var(--white); border: 1px dashed #cfd8e6; border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.empty-box p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.85; }
.empty-box p:last-child { margin-bottom: 0; }

/* ── 正文排版 ───────────────────────────────────────── */
.prose { max-width: 100%; }
.prose h1 { font-size: 30px; margin-bottom: 10px; }
.prose .meta { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.prose p { font-size: 16px; color: #2b3648; margin-bottom: 18px; line-height: 1.95; }
.prose h2 { font-size: 20px; margin: 36px 0 14px; }
.prose h3 { font-size: 17px; margin: 28px 0 12px; }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose li { font-size: 16px; color: #2b3648; margin-bottom: 9px; line-height: 1.9; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 3px solid var(--line); padding-left: 16px; color: var(--muted);
  margin: 0 0 18px;
}
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 20px; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--line-2); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 34px 0 22px; }
.prose em { color: var(--muted); font-style: normal; font-size: 14.5px; }

/* ── 服务详情 ───────────────────────────────────────── */
.svc-lead {
  background: #eef3fa; border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin-bottom: 24px;
  font-size: 15.5px; color: #2b3648; line-height: 1.85;
}
.svc-lead strong { color: var(--navy); }
.svc-body h3 {
  font-size: 18px; margin: 38px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.svc-body ol, .svc-body ul { margin: 0 0 20px; }
.svc-body li { font-size: 15.5px; color: #2b3648; margin-bottom: 10px; line-height: 1.9; }
.svc-body > p { font-size: 15.5px; color: #2b3648; margin-bottom: 16px; line-height: 1.9; }
.svc-items { display: grid; gap: 14px; margin-bottom: 8px; }
.svc-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.svc-item h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--navy); }
.svc-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.todo { color: var(--muted); font-style: normal; font-size: 14px; }
.svc-meta {
  margin-top: 34px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px 20px;
}
.svc-meta > div {
  display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.svc-meta > div:last-child { border-bottom: none; }
.svc-meta dt { flex: none; width: 5em; font-size: 14px; color: var(--muted); }
.svc-meta dd { font-size: 15px; color: #2b3648; line-height: 1.8; }
.other-links { margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.other-links a { margin-right: 16px; }

/* ── 时间线（关于我） ──────────────────────────────── */
.timeline { border-left: 2px solid var(--line); margin-left: 6px; }
.tl-row { display: flex; gap: 20px; padding: 0 0 26px 24px; position: relative; }
.tl-row::before {
  content: ''; position: absolute; left: -7px; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--accent);
}
.tl-year {
  flex: none; width: 3.4em; font-size: 14px; font-weight: 700;
  color: var(--accent); padding-top: 4px; letter-spacing: .02em;
}
.tl-cont .tl-body { padding-top: 4px; }
.tl-body p { font-size: 15.5px; color: #2b3648; line-height: 1.9; }

/* ── 联系方式 ───────────────────────────────────────── */
.contact-list {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 8px 24px; margin-bottom: 8px;
}
.contact-list > div {
  display: flex; gap: 20px; padding: 16px 0;
  border-bottom: 1px solid var(--line-2); align-items: baseline;
}
.contact-list > div:last-child { border-bottom: none; }
.contact-list dt { flex: none; width: 4.5em; font-size: 14px; color: var(--muted); }
.contact-list dd { font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }

.steps { padding-left: 1.3em; }
.steps li { font-size: 15.5px; color: #2b3648; margin-bottom: 12px; line-height: 1.9; }
.steps strong { color: var(--navy); }

.res-list { list-style: none; padding: 0; }
.res-list li {
  font-size: 15px; color: #2b3648; padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--line-2); position: relative;
}
.res-list li::before {
  content: '·'; position: absolute; left: 8px; color: var(--accent);
  font-weight: 700; font-size: 18px; line-height: 1.6;
}
.res-list li:last-child { border-bottom: none; }

/* ── 微信二维码 ─────────────────────────────────────── */
.qr-block {
  display: flex; align-items: center; gap: 22px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 22px;
}
.qr-block img {
  display: block; flex: none; border-radius: 8px;
  border: 1px solid var(--line-2);
}
.qr-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.qr-note { font-size: 14.5px; color: var(--ink-soft); }
.qr-compact { padding: 16px 20px; gap: 18px; }
.qr-compact .qr-title { font-size: 15px; }
.qr-compact .qr-note { font-size: 14px; }

/* ── 分类标签 ───────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-size: 13px; color: var(--ink-soft); background: var(--white);
  border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px;
}

/* ── 页脚 ───────────────────────────────────────────── */
.site-foot {
  background: var(--white); border-top: 1px solid var(--line);
  padding: 34px 0 42px; margin-top: 20px;
}
.foot-line { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }
.foot-note { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* ── 响应式 ─────────────────────────────────────────── */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero { padding: 52px 0 46px; }
  .hero-name { font-size: 34px; }
  .hero-headline { font-size: 17.5px; }
  .hero-lead { font-size: 15px; }
  .sec { padding: 44px 0; }
  .sec-title { font-size: 19px; }
  .page { padding: 32px 22px 56px; }
  .page-head h1, .prose h1 { font-size: 24px; }
  .grid { grid-template-columns: 1fr; }
  .head-inner { padding-top: 11px; padding-bottom: 11px; }
  .brand-role { display: none; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 5px 9px; font-size: 13.5px; }
  .tl-row { gap: 12px; padding-left: 18px; }
  .tl-year { width: 3em; font-size: 13px; }
  .svc-meta > div, .contact-list > div { flex-direction: column; gap: 4px; }
  .svc-meta dt, .contact-list dt { width: auto; }
  .qr-block { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 420px) {
  .site-nav a { padding: 4px 7px; font-size: 13px; }
  .hero-name { font-size: 30px; }
}
