/*
Theme Name: 集好达 JiHaoda
Theme URI: https://www.ji-haoda.com
Author: 河北集好健康管理有限公司
Description: 集好达品牌官网主题。含首页、关于、产品中心（自定义文章类型）、科普资讯中心（详情页自动净版）、招商落地页、资料中心与线索管理后台。响应式支持 PC / 平板 / 手机。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: jihaoda
*/

/* ==========================================================================
   1. 基础变量与重置
   ========================================================================== */
:root {
  --navy: #10365b;
  --navy-deep: #0a2540;
  --navy-light: #1c4c78;
  --graphite: #2f3439;
  --graphite-soft: #5b636b;
  --silver: #f4f6f8;
  --line: #e3e8ed;
  --white: #ffffff;
  --accent: #a8813f;
  --accent-soft: #f6f1e7;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(16, 54, 91, 0.08);
  --shadow-lg: 0 8px 32px rgba(16, 54, 91, 0.12);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
  background: var(--white);
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy-deep);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

h1 { font-size: 38px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 16px; }

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; border: 0; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { font-weight: 500; color: var(--navy-deep); }

/* ==========================================================================
   2. 布局
   ========================================================================== */
.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  width: 880px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--silver); }
.section-navy { background: var(--navy-deep); color: rgba(255,255,255,.86); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head p {
  color: var(--graphite-soft);
  font-size: 16px;
  margin: 0 auto;
  max-width: 720px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 10px;
}

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

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }

/* ==========================================================================
   3. 页头与导航
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: #fff; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand img { height: 40px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { margin: 0; position: relative; }
.nav-menu a {
  color: var(--graphite);
  font-size: 15px;
  padding: 6px 0;
  display: block;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--navy); }
.nav-menu .current-menu-item > a { font-weight: 500; }
.nav-menu > li > a::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  width: 0;
  transition: width .25s;
}
.nav-menu .current-menu-item > a::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  margin: 4px auto; transition: .25s;
}

/* ==========================================================================
   4. 按钮
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: .2s;
  font-family: var(--font);
  line-height: 1.5;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-gold:hover { background: #8f6d31; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* ==========================================================================
   5. 首屏 Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #17456f 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
/* 后台设置了首屏背景图时启用：图 + 深色遮罩（保证白字可读） */
.hero-has-bg {
  background-image:
    linear-gradient(rgba(10, 32, 54, var(--hero-dim, .7)), rgba(10, 32, 54, var(--hero-dim, .7))),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-has-bg::after { display: none; }
.hero h1 { color: #fff; font-size: 44px; margin-bottom: 20px; max-width: 720px; }
.hero .hero-sub { font-size: 18px; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats .stat-num { font-size: 30px; color: #fff; line-height: 1.2; }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,.66); }

/* ==========================================================================
   6. 卡片
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: .25s;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow); border-color: #d3dce5; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--silver);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
}
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--graphite-soft); font-size: 15px; margin-bottom: 0; }

/* 关注方向卡片 */
.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-top: 3px solid var(--navy);
  height: 100%;
}
.topic-card h3 { font-size: 18px; }
.topic-card ul { padding-left: 18px; font-size: 15px; color: var(--graphite-soft); margin-bottom: 14px; }
.topic-card .topic-note { font-size: 13px; color: var(--graphite-soft); margin: 0; }

/* ==========================================================================
   7. 产品
   ========================================================================== */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-thumb {
  background: var(--silver);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 14px;
}
.product-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17px; margin-bottom: 8px; }
.product-meta { font-size: 13px; color: var(--graphite-soft); margin-bottom: 14px; }
.product-body .link-more { margin-top: auto; font-size: 14px; }

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--silver);
  color: var(--navy);
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-qual { background: #eaf1f7; color: var(--navy); }
.tag-pending { background: var(--accent-soft); color: #8a6a2f; }

.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { background: var(--silver); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}
.spec-table th { width: 130px; color: var(--navy-deep); font-weight: 500; background: #fafbfc; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cert-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.cert-block h3 { margin-bottom: 8px; }
.cert-note { font-size: 14px; color: var(--graphite-soft); margin-bottom: 16px; }
.cert-img { display: inline-block; }
.cert-img img {
  max-width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
}

/* ==========================================================================
   8. 文章 / 资讯
   ========================================================================== */
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-thumb { background: var(--silver); aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.news-excerpt { font-size: 14px; color: var(--graphite-soft); margin-bottom: 14px; }
.news-foot { margin-top: auto; font-size: 13px; color: #8b939b; display: flex; gap: 12px; }

.post-head { text-align: center; margin-bottom: 40px; }
.post-head h1 { font-size: 32px; margin-bottom: 12px; }
.post-meta { font-size: 14px; color: #8b939b; }

.article-body { font-size: 17px; line-height: 1.85; }
.article-body h2 { font-size: 24px; margin-top: 40px; }
.article-body h3 { font-size: 19px; margin-top: 30px; }
.article-body img { border-radius: var(--radius); margin: 20px 0; }
.article-body blockquote {
  margin: 24px 0; padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: var(--silver);
  color: var(--graphite-soft);
  font-size: 16px;
}
.article-body ul li { margin-bottom: 10px; }

.disclaimer {
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--silver);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--graphite-soft);
}

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; font-size: 15px; flex-wrap: wrap; }

/* ==========================================================================
   9. 表单
   ========================================================================== */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--navy-deep); }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dfe6;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--graphite);
  min-height: 46px;
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,54,91,.08); }
textarea.form-control { min-height: 96px; resize: vertical; }
.form-note { font-size: 12px; color: #8b939b; margin-top: 10px; line-height: 1.6; }
.form-success {
  background: #eaf4ee; border: 1px solid #b7ddc5; color: #20603a;
  padding: 14px 18px; border-radius: 6px; font-size: 15px; margin-bottom: 16px;
}
.form-error {
  background: #fdecec; border: 1px solid #f2b8b8; color: #8f2b2b;
  padding: 14px 18px; border-radius: 6px; font-size: 15px; margin-bottom: 16px;
}

/* ==========================================================================
   10. 转化组件（净版模式下自动隐藏）
   ========================================================================== */
.float-bar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-item {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--navy);
  cursor: pointer;
  transition: .2s;
  text-align: center;
  line-height: 1.2;
  padding: 0;
  font-family: var(--font);
}
.float-item:hover { background: var(--navy); color: #fff; }
.float-item .qr-pop {
  display: none;
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  width: 150px;
}
.float-item-wrap { position: relative; display: flex; }
.float-item-wrap:hover .qr-pop { display: block; }
.qr-pop img { width: 100%; }
.qr-pop p { font-size: 12px; margin: 8px 0 0; text-align: center; color: var(--graphite-soft); }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(10, 37, 64, .97);
  color: #fff;
  z-index: 940;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sticky-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-cta p { margin: 0; font-size: 14px; }
.sticky-cta .sticky-phone { color: #fff; font-size: 18px; font-weight: 500; }

/* 科普文章详情页：净版模式 */
.is-clean .float-bar,
.is-clean .sticky-cta { display: none !important; }
.is-clean body,
body.is-clean { padding-bottom: 0; }

.back-top {
  position: fixed;
  right: 18px; bottom: 90px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(16,54,91,.85);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  z-index: 930;
  display: none;
  font-family: var(--font);
}
.back-top.show { display: block; }
.is-clean .back-top { bottom: 20px; }

/* ==========================================================================
   11. 提示框 / 资质墙
   ========================================================================== */
.notice-box {
  background: var(--accent-soft);
  border: 1px solid #e6d7ba;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: #6d5722;
  margin-bottom: 24px;
}
.notice-box strong { color: #5c4a1d; }

.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qual-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  text-align: center;
}
.qual-item .qual-name { font-size: 15px; color: var(--navy-deep); font-weight: 500; }
.qual-item .qual-status { font-size: 13px; color: var(--graphite-soft); margin-top: 6px; }

/* ==========================================================================
   证书墙（资质与荣誉证件展示）
   证书是竖版/横版混排，用 contain 保证不裁切，点开看大图
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }

.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow .25s, transform .25s;
}
.cert-card:hover { box-shadow: 0 10px 28px rgba(16, 54, 91, .13); transform: translateY(-2px); }

.cert-shot {
  height: 250px;
  padding: 12px;
  background: #f5f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-shot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 2px 10px rgba(16, 54, 91, .1);
}

.cert-meta { padding: 16px 18px 18px; }
.cert-meta h4 { font-size: 15px; color: var(--navy-deep); margin-bottom: 6px; font-weight: 500; }
.cert-meta p { font-size: 13px; color: var(--graphite-soft); margin: 0; line-height: 1.65; }

.cert-note {
  font-size: 13px;
  color: var(--graphite-soft);
  line-height: 1.75;
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

/* 证书灯箱 */
.jh-lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  background: rgba(10, 37, 64, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  cursor: zoom-out;
}
.jh-lightbox.show { display: flex; }
.jh-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  background: #fff;
}
.jh-lightbox-close {
  position: absolute;
  top: 16px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  opacity: .7;
}
.jh-lightbox-close:hover { opacity: 1; }

@media (max-width: 900px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; gap: 16px; }
  .cert-shot { height: 220px; }
  .jh-lightbox { padding: 40px 14px; }
}

/* ==========================================================================
   12. 步骤 / 时间轴
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--graphite-soft); margin: 0; }

/* ==========================================================================
   13. 页脚
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
  font-size: 14px;
}
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-logo img { height: 36px; margin-bottom: 16px; }

body { padding-bottom: 64px; }

/* ==========================================================================
   14. 招商落地页专用
   ========================================================================== */
.fran-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 70px 0 80px;
}
.fran-hero h1 { color: #fff; font-size: 40px; }
.fran-hero .hero-sub { color: rgba(255,255,255,.8); font-size: 17px; }
.fran-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.fran-form-sticky { position: sticky; top: 96px; }

.model-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: #fff;
  height: 100%;
}
.model-item h4 { margin-bottom: 8px; }
.model-item p { font-size: 14px; color: var(--graphite-soft); margin: 0; }

.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h4 { margin-bottom: 8px; font-size: 16px; }
.faq-item p { margin: 0; font-size: 15px; color: var(--graphite-soft); }

/* ==========================================================================
   15. 响应式：< 1200px
   ========================================================================== */
@media (max-width: 1199px) {
  .fran-layout { grid-template-columns: 1fr; }
  .fran-form-sticky { position: static; max-width: 520px; }
  .product-detail { gap: 32px; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .product-detail { grid-template-columns: 1fr; }
}

/* ==========================================================================
   16. 响应式：手机 < 768px
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 72px; }
  h1 { font-size: 27px; }
  h2 { font-size: 23px; }
  h3 { font-size: 18px; }

  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }

  .topbar { text-align: center; }
  .topbar .container { justify-content: center; gap: 6px; }

  .nav { height: 60px; }
  .nav-brand img { height: 32px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-child { border-bottom: 0; }
  .nav-menu a { padding: 13px 0; font-size: 16px; }
  .nav-menu > li > a::after { display: none; }

  .hero { padding: 52px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .hero-stats .stat-num { font-size: 24px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .qual-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .form-control { min-height: 48px; font-size: 16px; }

  .article-body { font-size: 16px; line-height: 1.8; }
  .post-head h1 { font-size: 24px; }

  /* 悬浮客服：手机上收成右下角小圆钮 */
  .float-bar { right: 12px; top: auto; bottom: 84px; transform: none; gap: 8px; }
  .float-item { width: 48px; height: 48px; }
  .float-item .qr-pop { display: none !important; }

  .sticky-cta { padding: 8px 0; }
  .sticky-cta p { font-size: 13px; }

  .spec-table th { width: 100px; font-size: 14px; }
  .spec-table th, .spec-table td { padding: 11px 10px; font-size: 14px; }
}

/* ==========================================================================
   17. 工具类
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
