/* ==========================================================================
   百听听力 · 站点样式
   设计目标：GEO 优先 —— 信息密度高、层级清晰、无装饰性动效拖累首屏
   ========================================================================== */

:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --ink: #1a2332;
  --ink-2: #41505f;
  --ink-3: #6b7a89;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --bg-warm: #fdf8f6;
  --radius: 10px;
  --maxw: 1120px;
  --maxw-narrow: 760px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-text strong { display: block; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.brand-text small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: -2px; }

.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a {
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--red); border-bottom-color: var(--red); text-decoration: none; }

.header-phone {
  font-size: 14px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.header-phone span { font-size: 12px; color: var(--ink-3); font-weight: 400; }

.nav-toggle, .nav-btn { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(170deg, #fdf8f6 0%, #ffffff 62%); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding: 56px 20px 52px;
}
.eyebrow {
  font-size: 13px; font-weight: 600; color: var(--red);
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.hero h1 { font-size: 38px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 20px; }
.definition { font-size: 16.5px; line-height: 1.85; color: var(--ink-2); margin-bottom: 22px; }
.definition strong { color: var(--ink); font-weight: 700; }

.facts-inline {
  display: flex; flex-wrap: wrap; gap: 28px; list-style: none;
  padding: 16px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts-inline li { font-size: 13px; color: var(--ink-3); }
.facts-inline b { display: block; font-size: 22px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.facts-inline.block { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 18px 0 28px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(26,35,50,0.10); }
.hero-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-align: center; cursor: pointer;
  border: 1px solid transparent; transition: all 0.18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(200,16,46,0.22); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }

/* ---------- 区块 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head h2 { font-size: 27px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-2); font-size: 15.5px; }

h1 { font-size: 32px; line-height: 1.35; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
h2 { font-size: 23px; font-weight: 700; margin: 36px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.85; margin-bottom: 28px; }
p { margin-bottom: 14px; }
.center { text-align: center; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color 0.18s, box-shadow 0.18s;
}
.card:hover { border-color: #c9d4df; box-shadow: 0 6px 20px rgba(26,35,50,0.06); }
.card h3 { font-size: 16.5px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red); text-decoration: none; }
.card > p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 0; }
.card-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--red);
  background: var(--bg-warm); padding: 3px 9px; border-radius: 4px; margin-bottom: 10px;
}
.link-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; }

address { font-style: normal; }
.store-card address { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 12px; }
.store-card address div { display: flex; gap: 8px; padding: 3px 0; border-bottom: 1px dashed #eef2f6; }
.store-card address div:last-child { border-bottom: 0; }
.store-card .k { color: var(--ink-3); flex-shrink: 0; width: 32px; font-size: 12.5px; }

.mini { font-size: 13px; margin: 10px 0; }
.mini dt { color: var(--ink-3); font-size: 12px; display: inline; }
.mini dt::after { content: "："; }
.mini dd { display: inline; color: var(--ink-2); margin-right: 12px; }

.qa-answer { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0 32px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
caption { caption-side: top; text-align: left; font-size: 13px; color: var(--ink-3); padding: 12px 16px 0; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfd; }
td a { font-weight: 600; }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; max-width: var(--maxw); margin: 0 auto; padding: 11px 20px; }
.breadcrumb li { color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c3ccd6; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- 答案框（GEO 核心）---------- */
.answer-box {
  background: linear-gradient(180deg, #fdf8f6, #fff);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 24px 0 30px;
}
.answer-box .q { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.answer-box .a { font-size: 16px; line-height: 1.85; color: var(--ink); margin-bottom: 0; }

.keyfacts { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; margin: 24px 0 32px; }
.keyfacts dt {
  font-size: 12.5px; color: var(--ink-3); font-weight: 600;
  letter-spacing: 0.02em; margin-top: 12px;
}
.keyfacts dd { font-size: 15px; color: var(--ink); margin-bottom: 12px; line-height: 1.7; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; counter-reset: step; margin: 18px 0 30px; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.steps strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.steps p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 0; line-height: 1.7; }

/* ---------- 列表 ---------- */
.checklist { list-style: none; margin: 14px 0 24px; }
.checklist li {
  position: relative; padding-left: 24px; margin-bottom: 9px;
  font-size: 15px; color: var(--ink-2); line-height: 1.72;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: 0.65;
}

/* ---------- NAP 框 ---------- */
.nap-box {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; margin: 26px 0 32px;
}
.nap-box h2 { margin-top: 0; font-size: 18px; }
.nap { display: grid; grid-template-columns: 100px 1fr; gap: 10px 16px; font-size: 15px; }
.nap dt { color: var(--ink-3); font-size: 13.5px; padding-top: 2px; }
.nap dd { color: var(--ink); font-weight: 500; }
.nap.compact { grid-template-columns: 52px 1fr; gap: 6px 12px; font-size: 14px; }
.meta { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d8e0e8; }

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: #fff; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 16px 22px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--ink); }
.faq summary::after {
  content: "+"; font-size: 20px; color: var(--ink-3); font-weight: 400;
  flex-shrink: 0; line-height: 1;
}
.faq[open] summary::after { content: "−"; color: var(--red); }
.faq[open] summary { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.faq-a { padding: 16px 22px 20px; }
.faq-a p { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 0; }

/* ---------- 知识库列表 ---------- */
.kb-group { margin-bottom: 36px; }
.kb-group h2 { font-size: 19px; margin-top: 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.kb-list { list-style: none; }
.kb-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.kb-list h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.kb-list a:hover h3 { color: var(--red); }
.kb-list p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 0; line-height: 1.7; }

/* ---------- 文章元信息 ---------- */
.byline {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 13px; color: var(--ink-3);
  padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}

/* ---------- 提示框 ---------- */
.clinic-box, .notice {
  background: var(--bg-warm); border: 1px solid #f2e2dc;
  border-radius: var(--radius); padding: 22px 26px; margin: 30px 0;
}
.clinic-box h2, .notice h2 { margin-top: 0; font-size: 17px; color: var(--red-dark); }
.clinic-box p, .notice p { font-size: 15px; color: var(--ink-2); margin-bottom: 0; line-height: 1.8; }

.cta-box {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 34px 30px; margin: 40px 0 0; text-align: center;
}
.cta-box h2 { margin-top: 0; font-size: 21px; color: #fff; }
.cta-box p { color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 18px; }
.cta-box .btn-primary { background: var(--red); }

.panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { font-size: 16.5px; }
.panel p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 0; line-height: 1.75; }

/* ---------- 表单 ---------- */
.form {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px; margin: 26px 0 40px;
}
.form h2 { margin-top: 0; font-size: 19px; }
.form label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .req { font-size: 11.5px; color: var(--red); font-weight: 500; margin-left: 6px; }
.form input, .form select {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  border: 1px solid #d5dde5; border-radius: 7px; background: #fff;
}
.form input:focus, .form select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.10);
}
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.65; }
.form-note.is-error { color: var(--red); font-weight: 500; }
.form-note.is-ok { color: #1e7d4f; font-weight: 500; }

/* ---------- 占位符标记 ---------- */
.todo {
  color: #b3261e; background: #fdecea;
  padding: 1px 6px; border-radius: 4px; font-size: 0.92em;
  border-bottom: 1px dashed #e8a29b;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 48px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 0.9fr; gap: 40px; padding-bottom: 36px; }
.footer-brand { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; line-height: 1.8; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-legal { font-size: 12.5px !important; color: rgba(255,255,255,0.48); }
.site-footer strong { display: block; color: #fff; font-size: 13.5px; margin: 14px 0 8px; }
.site-footer strong:first-child { margin-top: 0; }
.footer-dl { font-size: 12.5px; }
.footer-dl dt { color: rgba(255,255,255,0.48); margin-top: 8px; }
.footer-dl dd { color: rgba(255,255,255,0.8); }
.site-footer .todo { background: rgba(200,16,46,0.22); color: #ffb4ad; border-bottom-color: rgba(255,180,173,0.4); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 12.5px; color: rgba(255,255,255,0.45);
}

/* ---------- 移动端底栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
  .hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .header-inner { height: 60px; gap: 12px; }
  .main-nav {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none; box-shadow: 0 8px 24px rgba(26,35,50,0.10);
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-btn {
    display: block; margin-left: auto; width: 40px; height: 40px;
    cursor: pointer; position: relative; flex-shrink: 0;
  }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after {
    position: absolute; left: 9px; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px; content: "";
  }
  .nav-btn span { top: 19px; }
  .nav-btn span::before { left: 0; top: -7px; }
  .nav-btn span::after { left: 0; top: 7px; }
  .header-phone { font-size: 13px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 22px; }
  .facts-inline { gap: 20px; }
  .facts-inline b { font-size: 19px; }
  .answer-box { padding: 18px 20px; }
  .nap { grid-template-columns: 1fr; gap: 3px; }
  .nap dt { margin-top: 8px; }
  .form { padding: 22px 20px; }
  .cta-box { padding: 26px 20px; }

  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 12px;
    gap: 10px; box-shadow: 0 -2px 12px rgba(26,35,50,0.08);
  }
  .mobile-bar a {
    flex: 1; text-align: center; padding: 11px 0; border-radius: 7px;
    font-size: 15px; font-weight: 600;
  }
  .mobile-bar a:first-child { background: var(--bg-alt); color: var(--ink); }
  .mobile-bar a:last-child { background: var(--red); color: #fff; }
  body { padding-bottom: 64px; }
}

@media print {
  .site-header, .site-footer, .mobile-bar, .cta-box, .breadcrumb { display: none; }
  body { font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 论证型文章：依据 / 结论 / 参考来源 ---------- */
.evidence-list {
  list-style: none;
  margin: 14px 0 26px;
  padding: 0;
}
.evidence-list li {
  position: relative;
  padding: 12px 16px 12px 40px;
  margin-bottom: 10px;
  background: #f7f8fa;
  border-left: 3px solid #c8102e;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}
.evidence-list li::before {
  content: "依据";
  position: absolute;
  left: 12px;
  top: 13px;
  font-size: 11px;
  color: #c8102e;
  font-weight: 700;
  letter-spacing: .5px;
}
.conclusion-box {
  margin: 28px 0;
  padding: 18px 22px;
  background: #fff8f9;
  border: 1px solid #f3d3d8;
  border-radius: 10px;
}
.conclusion-box h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--red-dark);
}
.conclusion-box p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 500;
}
.refs-list {
  margin: 14px 0 26px;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}
.refs-list a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.source {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: -6px;
  line-height: 1.7;
}

/* ---------- 微信内容主题列表 ---------- */
.topic-list { list-style: none; margin: 16px 0 28px; padding: 0; }
.topic-list li {
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.topic-list h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.topic-list p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
