/* =========================================================
   玖伴养老 · 全局扁平化设计系统
   风格：minimal shadows / 浅边框 / 留白干净（与小程序统一）
   ========================================================= */

:root {
  --brand: #16a78a;
  --brand-dark: #0e8a72;
  --brand-soft: #e6f5f1;
  --accent: #ff8a4c;
  --accent-soft: #fff1e8;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #1b2a2e;
  --muted: #5e6e72;
  --line: #e7ecea;
  --line-strong: #d8e0dd;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(20, 40, 40, 0.04);
  --shadow-hover: 0 6px 18px rgba(20, 50, 45, 0.08);
  --maxw: 1160px;
  --header-h: 64px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI",
    system-ui, -apple-system, sans-serif;
}

* { 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);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 头部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff; font-size: 16px; font-weight: 800;
}
.brand small { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 2px; }

.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.18s ease;
}
.nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.nav a.active { color: var(--brand-dark); background: var(--brand-soft); font-weight: 600; }

.header .spacer { flex: 1; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--brand-dark); font-size: 15px;
  padding: 7px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}
.header-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 9px; width: 40px; height: 38px; color: var(--ink); font-size: 18px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(0.96); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-head { margin-bottom: 30px; }
.section-head .eyebrow {
  color: var(--brand-dark); font-weight: 600; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-head h2 { font-size: 27px; font-weight: 700; margin-top: 6px; letter-spacing: 0.5px; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.link-more { color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.link-more:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(820px 460px at 82% -12%, rgba(63,208,176,0.30), transparent 55%),
    radial-gradient(680px 420px at 8% 118%, rgba(255,138,76,0.14), transparent 60%),
    linear-gradient(135deg, #0b3a32 0%, #0e6b59 52%, #0e8a72 100%);
  padding: 104px 0 88px;
  color: #fff;
  overflow: hidden;
}
.hero h1 { font-size: 42px; line-height: 1.28; font-weight: 800; letter-spacing: 0.5px; color: #fff; }
.hero h1 .hl { color: #ff9a5e; }
.hero .lead { color: rgba(255,255,255,0.84); font-size: 17px; margin-top: 22px; max-width: 640px; }
.search-box {
  margin-top: 38px;
  background: #fff; border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 12px; display: flex; gap: 10px; max-width: 660px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}
.search-box select, .search-box input {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 15px; font-family: var(--font); color: var(--ink);
  background: #fff; outline: none;
}
.search-box select { width: 130px; }
.search-box input { flex: 1; }
.search-box select:focus, .search-box input:focus { border-color: var(--brand); }
.hero-stats {
  display: flex; gap: 0; margin-top: 48px; flex-wrap: wrap; justify-content: center;
}
.hero-stats > div {
  padding: 4px 34px; border-left: 1px solid rgba(255,255,255,0.18);
}
.hero-stats > div:first-child { border-left: none; padding-left: 0; }
.hero-stats .num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stats .lbl { color: rgba(255,255,255,0.72); font-size: 13.5px; }

/* Hero：居中、加宽铺满 */
.hero { text-align: center; }
.hero .container { max-width: 1360px; }   /* 比全站 1160 更宽，大屏铺满 */
.hero-inner { display: block; }
.hero-copy { max-width: none; }
.hero .lead { max-width: 820px; margin-left: auto; margin-right: auto; }
.search-box { margin: 38px auto 0; max-width: 760px; }
/* 统计：横排居中、竖向分隔线 */
.hero-stats {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 0;
  margin-top: 46px; align-items: center; justify-content: center;
}
.hero-stats > div {
  padding: 4px 34px; border-left: 1px solid rgba(255,255,255,0.18);
}
.hero-stats > div:first-child { border-left: none; padding-left: 0; }
.hero-stats .num { font-size: 28px; line-height: 1.15; }

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

/* ---------- 机构卡 ---------- */
.inst-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.18s ease;
}
.inst-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.inst-cover {
  height: 160px; position: relative; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.inst-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inst-cover .price-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.42); color: #fff;
  padding: 5px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
}
.inst-cover .price-tag b { color: #ffd9b8; }
.inst-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.inst-name { font-size: 17px; font-weight: 700; }
.inst-meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.inst-meta span { display: inline-flex; align-items: center; gap: 4px; }
.inst-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 500;
}
.tag.warm { background: var(--accent-soft); color: #d9662f; }
.inst-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.inst-foot .city { color: var(--muted); font-size: 13px; }

/* ---------- 方式卡（三种养老） ---------- */
.way-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
  transition: all 0.18s ease;
}
.way-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); }
.way-card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 14px;
}
.way-card h3 { font-size: 18px; font-weight: 700; }
.way-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.way-cover { margin: -26px -22px 18px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.way-cover img { width: 100%; height: 172px; object-fit: cover; display: block; }

/* ---------- 服务卡 ---------- */
.svc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all 0.18s ease;
}
.svc-card:hover { border-color: var(--brand); }
.svc-card .ico { font-size: 26px; line-height: 1; }
.svc-card h4 { font-size: 16px; font-weight: 700; }
.svc-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.svc-cover { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
.svc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 文章卡 ---------- */
.art-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.18s ease;
}
.art-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.art-cover { height: 150px; overflow: hidden; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin: 18px 0 24px; display: block; }
.art-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.art-body h4 { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.art-body .meta { color: var(--muted); font-size: 12.5px; }
.art-body .cat { color: var(--brand-dark); font-weight: 600; font-size: 12.5px; }

/* ---------- 平台优势 ---------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  text-align: center; padding: 22px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.feature .emoji { font-size: 30px; }
.feature h4 { margin-top: 10px; font-size: 16px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- CTA 区 ---------- */
.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.cta h2 { font-size: 25px; font-weight: 800; }
.cta p { opacity: 0.92; margin-top: 10px; }
.cta .btn-accent { margin-top: 20px; }

/* ---------- 筛选栏（找机构） ---------- */
.filter-bar {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px;
}
.filter-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-line > .flabel { width: 76px; color: var(--muted); font-size: 13.5px; font-weight: 600; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 13.5px; color: var(--muted); cursor: pointer;
  transition: all 0.15s ease; font-family: var(--font);
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.filter-search { display: flex; gap: 10px; }
.filter-search input {
  flex: 1; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 14.5px; font-family: var(--font); outline: none;
}
.filter-search input:focus { border-color: var(--brand); }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.result-count b { color: var(--ink); }

/* ---------- 机构详情 ---------- */
.detail-hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.detail-cover { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); display: block; }
.detail-info { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.detail-info h1 { font-size: 26px; font-weight: 800; }
.detail-info .price { font-size: 22px; font-weight: 800; color: var(--accent); }
.detail-info .price small { color: var(--muted); font-size: 13px; font-weight: 500; }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-meta div { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; }
.detail-meta div .k { color: var(--muted); font-size: 12px; }
.detail-meta div .v { font-weight: 600; margin-top: 2px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.panel ul.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.panel ul.feat li { display: flex; gap: 8px; color: var(--muted); font-size: 14px; }
.panel ul.feat li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb span { margin: 0 6px; }

/* ---------- 文章详情 ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-wrap h1 { font-size: 30px; font-weight: 800; line-height: 1.35; }
.article-meta { color: var(--muted); font-size: 13.5px; margin: 14px 0 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.article-body { font-size: 16px; line-height: 1.9; color: #25322f; }
.article-body h2 { font-size: 21px; font-weight: 700; margin: 28px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.article-body p { margin: 14px 0; }
.article-body ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.article-body ul li { margin: 8px 0; }
.article-body blockquote {
  border-left: 3px solid var(--brand); background: var(--brand-soft);
  padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-dark); margin: 16px 0;
}

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 14.5px; font-family: var(--font); outline: none; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 110px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-box .row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-box .row:last-child { border-bottom: none; }
.info-box .row .ico { font-size: 22px; }
.info-box .row .k { color: var(--muted); font-size: 13px; }
.info-box .row .v { font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer { background: #11201d; color: #cfe0db; margin-top: 60px; padding: 48px 0 26px; }
.footer a { color: #cfe0db; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #8fb3ab; }
.footer p.desc { color: #8fb3ab; font-size: 13.5px; margin-top: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.footer ul li { margin: 9px 0; font-size: 13.5px; }
.footer .phone-big { font-size: 20px; font-weight: 800; color: #fff; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid #20352f; margin-top: 32px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #7fa097; font-size: 12.5px;
}

/* ---------- 小程序引流 ---------- */
/* 全局浮动浮窗（右下角常驻，最强引流位） */
.mp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.mp-fab {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hover); cursor: pointer; border: none;
  transition: all .18s ease;
}
.mp-fab:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mp-panel {
  position: relative; width: 234px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 16px; text-align: center; box-shadow: var(--shadow-hover);
  display: none;
}
.mp-panel.open, .mp-float:hover .mp-panel { display: block; animation: mpPop .2s ease; }
@keyframes mpPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mp-panel .mp-title { font-weight: 700; font-size: 15px; }
.mp-panel .mp-sub { color: var(--muted); font-size: 12.5px; margin: 4px 0 12px; }
.mp-panel img { width: 182px; height: 182px; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line); }
.mp-panel .mp-tip { color: var(--muted); font-size: 12px; margin-top: 10px; }
.mp-close { position: absolute; top: 8px; right: 10px; border: none; background: none;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }

/* 二维码卡（联系页 / 详情页底部通用） */
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; }
.qr-card img { width: 184px; height: 184px; border: 1px solid var(--line);
  border-radius: 8px; margin: 0 auto; }
.qr-card h4 { font-size: 17px; font-weight: 700; margin-top: 12px; }
.qr-card p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.qr-card .btn { margin-top: 14px; }

/* 详情 / 文章页底部扫码引导块 */
.qr-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.qr-cta .txt { flex: 1; min-width: 200px; }
.qr-cta .txt h3 { font-size: 18px; font-weight: 700; }
.qr-cta .txt p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.qr-cta .txt .hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.qr-cta .qr-card { flex: 0 0 auto; padding: 16px; }

/* 首页 CTA 区：文案 + 二维码 左右布局 */
.cta-split { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 28px; align-items: center; text-align: left; }
.cta-split .qr { background: #fff; border-radius: var(--radius); padding: 16px; text-align: center; justify-self: end; }
.cta-split .qr img { width: 170px; height: 170px; border-radius: 8px; border: 1px solid var(--line); }
.cta-split .qr .t { color: var(--ink); font-weight: 700; font-size: 14px; margin-top: 8px; }
.cta-split .qr .s { color: var(--muted); font-size: 12px; }

/* ---------- 空态 ---------- */
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.empty .emoji { font-size: 40px; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4, .feature-row { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px; gap: 4px; }
  .nav.open a { padding: 12px 14px; }
  .grid-2, .grid-3, .grid-4, .feature-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 64px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 0; margin-top: 30px; }
  .hero-stats > div { flex: 1 1 0; min-width: 0; padding: 2px 3px; border-left: 1px solid rgba(255,255,255,0.16); }
  .hero-stats > div:first-child { border-left: none; padding-left: 3px; }
  .hero-stats .num { font-size: 19px; line-height: 1.15; }
  .hero-stats .lbl { font-size: 11px; }
  .search-box { flex-direction: column; }
  .search-box select { width: 100%; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 22px; }
  .detail-meta, .panel ul.feat { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 28px 20px; }
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-split .qr { justify-self: center; }
  /* 小程序浮窗 · 移动端精致化（避让安全区 + 底部居中弹层） */
  .mp-float { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mp-fab { padding: 10px 14px; font-size: 13px; }
  .mp-panel {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto; max-width: none;
  }
  .mp-panel img { width: 150px; height: 150px; }
  /* 详情 / 文章底部扫码块 · 移动端堆叠居中，去掉双层白卡 */
  .qr-cta { flex-direction: column; text-align: center; }
  .qr-cta .txt { min-width: 0; }
  .qr-cta .qr-card { width: 100%; box-sizing: border-box; border: none; background: transparent; padding: 4px; }
}

/* =========================================================
   二次开发新增组件（沿用既有设计 token，不引入新风格）
   ========================================================= */

/* 图集缩略图（详情页） */
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img {
  width: 76px; height: 56px; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}

/* 详情评分行 */
.rating-line { color: var(--muted); font-size: 14px; }
.rating-line b { color: var(--accent); font-size: 18px; }

/* 表单：两列排布 */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.jb-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* 标签页（联系页两个表单切换） */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs .tab {
  flex: 1; padding: 11px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: var(--font); transition: all .18s ease;
}
.tabs .tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.tabs .tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
/* 关于页品牌图 */
.about-banner {
  width: calc(100% - 48rpx); width: 100%;
  height: 300rpx; height: 300px;
  object-fit: cover; display: block;
  border-radius: var(--radius); margin-bottom: 24px;
  box-shadow: var(--shadow);
}

/* FAQ 正文 */
.faq-body { color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.faq-body p { margin: 10px 0; }
.faq-body h4 { color: var(--ink); font-size: 15px; margin: 14px 0 6px; }

/* 全局轻提示 */
.jb-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(12px);
  max-width: 86vw; padding: 12px 20px; border-radius: var(--radius-pill);
  background: #11201d; color: #fff; font-size: 14px; z-index: 90;
  opacity: 0; pointer-events: none; transition: all .22s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.jb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.jb-toast.ok { background: var(--brand); }
.jb-toast.err { background: #c0392b; }
.jb-toast.warn { background: #d98026; }

@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
  .about-banner { height: 180px; }
  .jb-toast { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* 落地页互链区（机构分类 / 周边城市）样式已随区块移除而删除，避免与筛选栏（城市/类型/区域）重叠 */
