/* =========================================================
   心脏护卫者廖清池 · 个人网站 设计系统
   医疗风格：信任蓝 + 心脏红，移动端优先，简洁专业
   ========================================================= */

:root {
  /* 品牌色 */
  --blue-900: #0a2540;
  --blue-700: #0d47a1;
  --blue-600: #1565c0;
  --blue-500: #1976d2;
  --blue-100: #e3f2fd;
  --blue-50:  #f2f8ff;

  --red-600:  #e53935;   /* 心脏红 / 品牌装饰 */
  --red-500:  #ef5350;
  --red-50:   #fdecea;

  --green-600:#1f9d55;   /* 问诊行动色 */
  --green-700:#188a4a;
  --green-50: #e8f6ee;

  --ink-900:  #15233b;   /* 主文字 */
  --ink-700:  #33415c;
  --ink-500:  #5b6b85;   /* 次要文字 */
  --ink-300:  #9aa7bd;

  --bg:       #f5f8fc;
  --surface:  #ffffff;
  --line:     #e4ebf3;

  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 10px 30px rgba(13, 71, 161, .08);
  --shadow-sm:0 4px 14px rgba(13, 71, 161, .06);
  --shadow-hover: 0 16px 40px rgba(13, 71, 161, .14);

  --maxw: 1140px;
  --nav-h: 64px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--ink-900); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue-600); background: var(--blue-100);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--ink-500); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 22px rgba(229,57,53,.32); }
.btn--primary:hover { background: #d32f2f; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229,57,53,.4); }
.btn--ghost { background: #fff; color: var(--blue-700); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.btn--blue { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(21,101,192,.28); }
.btn--blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn--consult { background: var(--green-600); color: #fff; box-shadow: 0 8px 22px rgba(31,157,85,.3); }
.btn--consult:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,157,85,.4); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--blue-900); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: 0 6px 14px rgba(229,57,53,.3);
}
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-500); letter-spacing: 1px; }
.brand-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18); flex: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink-700);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-cta { margin-left: 8px; }
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; background: var(--green-700); }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-50); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--blue-700); margin: 4px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(229,57,53,.18), transparent 60%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
  color: #fff;
}
.hero .container { padding-top: 84px; padding-bottom: 84px; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: #ffd9d6; background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 50px); color: #fff; margin-bottom: 8px; line-height: 1.15; }
.hero h1 .accent { color: #ff8a80; }
.hero .role { font-size: 18px; color: #cfe2ff; font-weight: 600; margin-bottom: 18px; }
.hero .lead { font-size: 17px; color: #e8f1ff; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.hero-actions .btn--ghost:hover { background: rgba(255,255,255,.2); }

/* Hero stats */
.hero-stats { display: flex; gap: 10px; margin-top: 34px; flex-wrap: nowrap; justify-content: center; }
.hero-side { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.hero-card { width: 100%; max-width: 380px; }
.hero-side .hero-stats { margin-top: 0; width: 100%; max-width: 380px; justify-content: center; }
.stat {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.stat b { display: block; font-size: 19px; color: #fff; }
.stat span { font-size: 11px; color: #cfe2ff; }

/* Hero card (doctor portrait placeholder) */
.hero-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(6px); text-align: center;
}
.hero-card .hero-photo {
  width: 124px; height: 124px; border-radius: 50%; margin: 0 auto 16px;
  object-fit: cover; display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); border: 4px solid rgba(255,255,255,.5);
}
.hero-card h3 { color: #fff; font-size: 22px; }
.hero-card .sub { color: #cfe2ff; font-size: 14px; margin-bottom: 14px; }
.hero-card .tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-card .tags span { font-size: 12px; background: rgba(255,255,255,.16); color: #fff; padding: 4px 10px; border-radius: 999px; }

/* ---------- Cards grid (articles) ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--blue-100); }
.card .cat {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue-600);
  background: var(--blue-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 15px; flex: 1; }
.card .more {
  margin-top: 18px; font-weight: 700; color: var(--red-600); font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* feature icon card */
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: var(--blue-50); margin-bottom: 16px;
}

/* ---------- Video section ---------- */
.video-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.video-player {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  background: linear-gradient(135deg, #102a4c, #1d4e89); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.video-player .play {
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; color: var(--red-600); font-size: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s;
}
.video-player:hover .play { transform: scale(1.08); }
.video-player span.label { position: absolute; bottom: 14px; left: 16px; color: #cfe2ff; font-size: 13px; }
.platform-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.platform-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-700);
  transition: border-color .15s, color .15s;
}
.platform-links a:hover { border-color: var(--blue-500); color: var(--blue-500); }

/* ---------- Stories ---------- */
.story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.story::before { content: "“"; position: absolute; top: 8px; left: 20px; font-size: 64px; color: var(--blue-100); font-family: Georgia, serif; }
.story .tag { font-size: 12px; font-weight: 700; color: var(--red-600); margin-bottom: 12px; }
.story h3 { font-size: 19px; margin-bottom: 10px; }
.story p { color: var(--ink-500); font-size: 15px; }
.story .more { margin-top: 14px; color: var(--blue-600); font-weight: 700; font-size: 14px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; font-size: 16.5px; font-weight: 700; color: var(--ink-900);
}
.faq-q .qmark {
  flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--red-50); color: var(--red-600);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.faq-q .chev { margin-left: auto; transition: transform .25s; color: var(--ink-300); font-size: 14px; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--blue-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 22px 66px; color: var(--ink-700); font-size: 15.5px; }
/* 超过 4 条折叠：默认隐藏第 5 条及以后 */
.faq.collapsed .faq-item:nth-child(n+5) { display: none; }
.story-grid.collapsed .story:nth-child(n+5),
#storyList.collapsed .story:nth-child(n+5) { display: none; }
.faq-toggle-wrap { text-align: center; margin-top: 26px; }
.faq-toggle-wrap .btn { font-size: 15px; }
.faq-toggle-wrap .chev-down { transition: transform .25s; display: inline-block; }
.faq.collapsed .faq-toggle-wrap .chev-down { transform: rotate(0deg); }

/* ---------- 文字科普专题聚合 ---------- */
.agg { max-width: 860px; margin: 44px auto 0; }
.agg-head { text-align: center; margin-bottom: 22px; }
.agg-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue-600); background: var(--blue-100);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.agg-head h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; }
.agg-head p { color: var(--ink-500); font-size: 15px; }
.agg-list { display: flex; flex-direction: column; gap: 14px; }
.agg-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.agg-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--blue-100); }
.agg-item .src {
  flex: none; font-size: 12px; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 999px;
}
.src--weibo   { background: #e6162d; }
.src--toutiao { background: #fe2d46; }
.src--baidu   { background: #2932E1; }
.src--site    { background: var(--blue-600); }
.agg-body { flex: 1; min-width: 0; }
.agg-body h4 { font-size: 16px; line-height: 1.45; color: var(--ink-900); margin-bottom: 4px; }
.agg-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; }
.agg-go { flex: none; font-weight: 700; color: var(--red-600); font-size: 14px; white-space: nowrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.about-portrait {
  max-width: 280px; border-radius: var(--radius); background: linear-gradient(160deg, #e3f2fd, #bbdefb);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: inherit; display: block; }
.about h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.about .role { color: var(--blue-600); font-weight: 700; margin-bottom: 18px; }
.about p { color: var(--ink-700); margin-bottom: 14px; }
.about .cred-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.about .cred-tags span { font-size: 13px; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); padding: 6px 12px; border-radius: 999px; }
.about-bio.collapsed .about-rest { display: none; }
.contact-card { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: 0 12px 30px rgba(20,80,160,.08); }
.contact-card .weixin-id { font-size: 16px; margin: 18px 0 6px; }
.contact-card .tip { color: var(--ink-600); font-size: 14px; }

/* ===== 联系作者页 ===== */
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-hero { text-align: center; margin-bottom: 26px; background: linear-gradient(135deg, #ffffff, var(--blue-50)); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 12px 30px rgba(20,80,160,.06); }
.contact-hero h2 { font-size: 30px; margin: 0 0 14px; }
.contact-intro { color: var(--ink-500); font-size: 16px; line-height: 1.9; max-width: 620px; margin: 0 auto; }
.author-card { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 12px 30px rgba(20,80,160,.06); margin-bottom: 22px; }
.author-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--ink-900); }
.author-card p { color: var(--ink-700); font-size: 15.5px; line-height: 1.85; margin-bottom: 12px; }
.author-card p:last-child { margin-bottom: 0; }
.wx-card { background: linear-gradient(135deg, #ffffff, var(--blue-50)); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 30px 28px; text-align: center; box-shadow: 0 12px 30px rgba(20,80,160,.08); margin-bottom: 22px; }
.wx-card h3 { font-size: 21px; margin-bottom: 6px; color: var(--ink-900); }
.wx-card .wx-sub { color: var(--blue-600); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.wx-id { display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--blue-700); background: #fff; border: 2px dashed var(--blue-500); border-radius: 12px; padding: 10px 22px; margin: 4px 0 2px; }
.wx-qr { width: 180px; margin: 18px auto 12px; border: 1px solid var(--blue-100); border-radius: 12px; overflow: hidden; background: #fff; }
.wx-qr img { width: 100%; display: block; }
.wx-note { color: var(--ink-500); font-size: 13.5px; margin-bottom: 16px; }
.wx-warn { background: var(--red-50); border: 1px solid #f3c9c6; border-left: 4px solid var(--red-600); border-radius: 10px; padding: 12px 16px; color: var(--ink-700); font-size: 13.5px; line-height: 1.7; text-align: left; max-width: 480px; margin: 0 auto; }
.disclaimer-box { border: 1px solid #f0c9c9; background: #fff7f7; border-radius: 14px; padding: 24px 26px; }
.disclaimer-box h3 { color: var(--red-600); font-size: 17px; margin-bottom: 14px; }
.disclaimer-box ol { margin: 0; padding-left: 22px; }
.disclaimer-box li { color: var(--ink-700); font-size: 14.5px; line-height: 1.85; margin-bottom: 8px; }
.disclaimer-box li:last-child { margin-bottom: 0; }
.disclaimer-box .sign { margin-top: 14px; color: var(--ink-500); font-size: 13.5px; }

/* 联系页独立「互联网医院」卡片（医疗行动色） */
.consult-card--inline { margin: 0 0 22px; border-left: 4px solid var(--green-600); }
.consult-card--inline h3 { color: var(--ink-900); }
.consult-card--inline .btn--consult { margin-top: 6px; }

/* ===== 知乎电子书板块（首页）：可展开目录 ===== */
.ebook-toc { margin-top: 8px; border: 1px solid var(--blue-100); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(20,80,160,.06); }
.toc-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #fff; border: none; border-bottom: 1px solid var(--blue-100); cursor: pointer; text-align: left; font: inherit; transition: background .2s; }
.toc-item:last-of-type { border-bottom: none; }
.toc-item:hover { background: var(--blue-50); }
.toc-no { font-size: 14px; font-weight: 800; color: var(--blue-500); min-width: 24px; }
.toc-title { flex: 1; font-size: 16.5px; font-weight: 700; color: var(--ink-900); line-height: 1.4; }
.toc-chev { color: var(--blue-500); font-size: 12px; transition: transform .25s; }
.toc-item.open .toc-chev { transform: rotate(180deg); }
.toc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--blue-50); }
.toc-panel-inner { padding: 4px 22px 18px 60px; }
.toc-panel ul { list-style: none; margin: 0; padding: 0; }
.toc-panel li { position: relative; padding: 8px 0 8px 18px; color: var(--ink-700); font-size: 14.5px; line-height: 1.6; border-bottom: 1px dashed var(--blue-100); }
.toc-panel li:last-child { border-bottom: none; }
.toc-panel li::before { content: "›"; position: absolute; left: 2px; color: var(--blue-500); font-weight: 800; }
.toc-link { display: inline-block; margin-top: 14px; color: var(--blue-700); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.toc-link:hover { text-decoration: underline; }
.ebook-cta { text-align: center; margin-top: 28px; }
@media (max-width: 640px) { .toc-panel-inner { padding-left: 22px; } }

/* ===== 文章页文末知乎电子书引流 ===== */
.article-ebook { margin: 30px 0 6px; background: var(--blue-50); border: 1px solid var(--blue-100); border-left: 4px solid var(--blue-600); border-radius: 12px; padding: 16px 20px; }
.article-ebook p { color: var(--ink-700); font-size: 15px; line-height: 1.7; margin: 0; }
.article-ebook a { color: var(--blue-700); font-weight: 700; }
.expertise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.expertise li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); }
.expertise li::before { content: "✓"; color: var(--red-600); font-weight: 800; }

/* ---------- Consultation ---------- */
.consult-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.consult-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.consult-card .ic { font-size: 26px; margin-bottom: 12px; }
.consult-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 44px; }
.consult-logo img { max-height: 44px; max-width: 180px; width: auto; object-fit: contain; }
.consult-logo .logo-text { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 9px; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: .5px; }
.logo-subei .logo-text { background: linear-gradient(135deg, #1e6fd9, #1452a8); }
.logo-internet .logo-text { background: linear-gradient(135deg, #e1251b, #b81c14); }
.consult-card h3 { font-size: 18px; margin-bottom: 12px; }
.consult-card p, .consult-card li { color: var(--ink-700); font-size: 15px; }
.consult-card ul { margin: 6px 0 16px; }
.consult-card li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.consult-card li::before { content: "•"; position: absolute; left: 4px; color: var(--blue-500); }
.booking-qr-wrap { margin-top: 18px; text-align: center; }
.booking-qr {
  max-width: 170px; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  background: #fff;
}
.booking-qr-caption { font-size: 13px; color: var(--ink-600); margin-top: 10px; margin-bottom: 0; }
.consult-cta {
  margin-top: 36px; text-align: center; background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: var(--radius); padding: 40px; color: #fff;
}
.consult-cta h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.consult-cta p { color: #d7e8ff; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9cbe6; padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: #b9cbe6; display: block; padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--red-600), var(--red-500)); display: grid; place-items: center; color: #fff; }
.footer-note { font-size: 13px; line-height: 1.7; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 12.5px; color: #8aa3c4; text-align: center; }
.footer-bottom { text-align: center; font-size: 13px; color: #8aa3c4; margin-top: 18px; }

/* ---------- Article page ---------- */
.article-hero { background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); color: #fff; padding: 56px 0 64px; }
.breadcrumb { font-size: 13.5px; color: #bcd4f5; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.article-hero .cat { display: inline-block; font-size: 12px; font-weight: 700; color: #ffd9d6; background: rgba(255,255,255,.14); padding: 5px 13px; border-radius: 999px; margin-bottom: 14px; }
.article-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); max-width: 820px; line-height: 1.25; }
.article-meta { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; color: #cfe2ff; font-size: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-body { max-width: 760px; margin: 0 auto; padding: 48px 20px 20px; }
.article-body h2 { font-size: 24px; margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--red-600); }
.article-body h3 { font-size: 19px; margin: 26px 0 10px; color: var(--blue-700); }
.article-body p { color: var(--ink-700); margin-bottom: 16px; font-size: 16.5px; }
.article-body ul.tips { margin: 0 0 18px; }
.article-body ul.tips li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-700); }
.article-body ul.tips li::before { content: "•"; position: absolute; left: 6px; color: var(--red-600); font-weight: 800; }
.callout {
  background: var(--red-50); border: 1px solid #f5c6c2; border-left: 4px solid var(--red-600);
  border-radius: 12px; padding: 18px 20px; margin: 24px 0; color: var(--ink-700); font-size: 15.5px;
}
.callout b { color: var(--red-600); }

.related { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0; }
.article-cta { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); border-radius: var(--radius); padding: 36px; text-align: center; color: #fff; margin: 40px auto; max-width: 760px; }
.article-cta h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: #d7e8ff; margin-bottom: 20px; }

/* ---------- 关注矩阵 ---------- */
.follow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.follow-grid.collapsed .follow-card:nth-child(n+6) { display: none; }
.follow-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.follow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--blue-100); }
.follow-card .badge {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center;
  font-size: 26px; color: #fff;
}
.follow-card .badge img { width: 30px; height: 30px; object-fit: contain; display: block; }
.follow-card h3 { font-size: 17px; margin-bottom: 6px; }
.follow-card p { font-size: 13.5px; color: var(--ink-500); margin-bottom: 14px; min-height: 38px; }
.follow-card .qr {
  width: 100%; aspect-ratio: 1/1; border-radius: 12px; margin-bottom: 14px; border: 1px dashed var(--line);
  background: repeating-linear-gradient(45deg, #f0f4fa, #f0f4fa 10px, #e8eef6 10px, #e8eef6 20px);
  display: grid; place-items: center; color: var(--ink-300); font-size: 13px;
}
.follow-card .qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.follow-card .qr.qr-img { background: #fff; border-style: solid; border-color: var(--line); }
/* 视频科普精选墙 */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 32px; }
.video-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--blue-100); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e8f0fb; display: grid; place-items: center; }
.video-thumb .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21,101,192,.42), rgba(13,71,161,.16)); }
.video-thumb--wechat::after { background: linear-gradient(135deg, rgba(7,193,96,.42), rgba(6,173,86,.16)); }
.video-thumb .play { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--blue-700); display: grid; place-items: center; font-size: 22px; }
.video-meta { padding: 16px 18px 20px; }
.video-tag { display: inline-block; font-size: 12px; color: #fff; background: var(--blue-600); padding: 3px 11px; border-radius: 999px; margin-bottom: 10px; }
.video-tag--wechat { background: #07c160; }
.video-meta h3 { font-size: 16px; line-height: 1.5; margin: 0 0 7px; color: var(--ink); }
.video-meta p { font-size: 13px; color: var(--ink-500); margin: 0; }
.follow-card .feature-post {
  text-align: left; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: 12px; padding: 13px 14px; margin-bottom: 16px;
}
.feature-tag {
  display: inline-block; font-size: 12px; line-height: 1; color: var(--blue-700);
  background: var(--blue-100); padding: 4px 9px; border-radius: 999px; margin-bottom: 9px;
}
.feature-title {
  display: block; font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.45;
  text-decoration: none; transition: color .2s;
}
.feature-title:hover { color: var(--blue-600); }
.feature-desc { margin: 7px 0 0; font-size: 13px; color: var(--ink-500); line-height: 1.55; }
.follow-card .btn { width: 100%; justify-content: center; white-space: normal; }
.bg-weibo   { background: #e6162d; }
.bg-wechat  { background: #07c160; }
.bg-toutiao { background: #fe2d46; }
.bg-douyin  { background: #161823; }
.bg-shipin  { background: #1296db; }
.bg-baidu   { background: #2932E1; }
.bg-zhihu   { background: #0084ff; }
.follow-tip { max-width: 760px; margin: 30px auto 0; text-align: center; color: var(--ink-500); font-size: 13px; line-height: 1.8; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-s { margin-top: 14px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .video-wrap, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .consult-grid, .grid-2 { grid-template-columns: 1fr; }
  .expertise { grid-template-columns: 1fr; }
  .follow-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero-card { max-width: 360px; margin: 0 auto; }
  .about-portrait { max-width: 280px; aspect-ratio: 4/5; margin: 0 auto; }
}
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .follow-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 8px; flex-wrap: wrap; }
  .stat { min-width: 0; flex: 1; }
  .consult-cta, .article-cta { padding: 28px 20px; }
}
