/* ============================================================
   慈铭体检中心（乌鲁木齐分院）- 预约合作站点
   温馨暖色系 v2：深玫红 + 暖米 + 暖金（非橙）
   ============================================================ */
:root {
  --primary: #B23A5C;        /* 深玫红 */
  --primary-hi: #D67B95;      /* 浅玫粉 */
  --primary-deep: #7E2440;    /* 酒红 */
  --accent: #87224E;          /* 深梅紫（替代原暖金） */
  --accent-hi: #E4A9C0;       /* 柔玫瑰（替代原浅金） */
  --price: #A92B4F;           /* 价格玫红 */
  --bg: #FAF3EB;              /* 暖米 */
  --bg-soft: #F2E6D5;         /* 米杏 */
  --bg-section: #F7ECDC;      /* 分区背景 */
  --card: #FFFFFF;
  --line: #E8D8C5;
  --text: #2E2429;            /* 深咖 */
  --text-2: #5A4548;
  --muted: #8B6E78;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(178, 58, 92, .10);
  --shadow-lg: 0 10px 40px rgba(126, 36, 64, .12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 86px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: var(--text); background: var(--bg);
  font-size: 15px; line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* ---------- 顶部条 ---------- */
.topbar { background: linear-gradient(90deg, var(--primary-deep), var(--primary)); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .co-tag { background: rgba(255,255,255,.18); border-radius: 20px; padding: 1px 10px; }
.topbar .tel { font-weight: 700; letter-spacing: .5px; }
.topbar .tel b { font-size: 15px; }

/* ---------- 头部 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 12px rgba(126,36,64,.04); }
.hd { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; box-shadow: 0 4px 12px rgba(178,58,92,.25); }
.logo-name { font-size: 21px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; color: var(--primary-deep); }
.logo-name small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 2px; }
.hd-tel { text-align: right; white-space: nowrap; }
.hd-tel .t1 { font-size: 12px; color: var(--muted); }
.hd-tel .t2 { font-size: 19px; font-weight: 800; color: var(--primary); }

/* 导航 */
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a { display: block; padding: 10px 15px; font-size: 15.5px; font-weight: 600; border-radius: 10px; white-space: nowrap; }
.nav > li > a:hover, .nav > li.on > a { color: var(--primary); background: #F7E8EE; }
.nav .caret { font-size: 10px; margin-left: 3px; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 215px; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 99; }
.nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(2px); }
.dropdown a { display: block; padding: 8px 12px; font-size: 14px; border-radius: 8px; }
.dropdown a:hover { background: #F7E8EE; color: var(--primary); }

/* ---------- H1 页面标题 banner（非首页） ---------- */
.page-h1 {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-hi) 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.page-h1::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.page-h1::after {
  content: ""; position: absolute; left: -60px; bottom: -100px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(228,169,192,.20) 0%, transparent 70%);
  border-radius: 50%;
}
.page-h1 .container { position: relative; z-index: 2; }
.page-h1 h1 {
  font-size: 36px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: 14px;
}
.page-h1 h1::before {
  content: ""; width: 6px; height: 32px; background: var(--accent-hi);
  border-radius: 3px; box-shadow: 0 0 12px rgba(228,169,192,.55);
}
.page-h1 .sub { font-size: 15px; opacity: .9; letter-spacing: 1px; margin-bottom: 14px; }
.crumb { font-size: 13px; opacity: .85; }
.crumb a { color: #fff; opacity: .9; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
.crumb .sep { margin: 0 8px; opacity: .6; }
.crumb .cur { max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: -3px; }

/* ---------- 主体两栏布局 ---------- */
.main-wrap { padding: 36px 0 60px; background: var(--bg); }
.main-grid { display: grid; grid-template-columns: 1fr 290px; gap: 28px; }
.main-grid > * { min-width: 0; } /* tj 修复：grid 项默认 min-width:auto 会被内容里的宽表格撑破，导致移动端整页横向溢出 */
@media (max-width: 960px) { .main-grid { grid-template-columns: 1fr; } }

/* ---------- 侧边栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sb-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.sb-title {
  font-size: 17px; font-weight: 800; color: #fff;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  display: flex; align-items: center; gap: 8px;
}
.sb-title::before { content: ""; width: 4px; height: 18px; background: var(--accent-hi); border-radius: 2px; }
.sb-body { padding: 14px 16px; }
.sb-cats { display: flex; flex-direction: column; }
.sb-cats a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
  transition: .15s;
}
.sb-cats a:last-child { border-bottom: 0; }
.sb-cats a:hover { background: #F7E8EE; color: var(--primary); padding-left: 20px; }
.sb-cats a .arr { color: var(--muted); font-size: 12px; }
.sb-cats a:hover .arr { color: var(--primary); }

.sb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-tags a {
  display: inline-block; padding: 5px 12px; font-size: 13px;
  background: var(--bg-soft); color: var(--text-2);
  border-radius: 16px; transition: .15s;
}
.sb-tags a:hover { background: var(--primary); color: #fff; }

.sb-contact { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; }
.sb-contact .sb-title { background: rgba(0,0,0,.15); }
.sb-contact .sb-body { padding: 18px 16px; }
.sb-contact .ct { font-size: 14px; line-height: 2; opacity: .95; }
.sb-contact .ct b { color: var(--accent-hi); }
.sb-contact .ct .tl { font-size: 20px; font-weight: 800; color: #fff; display: block; margin: 6px 0; letter-spacing: 1px; }
.sb-contact .ct .addr { font-size: 13px; opacity: .85; line-height: 1.6; }

/* ---------- 首页 banner ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #7E2440 0%, #B23A5C 50%, #D67B95 100%);
  color: #fff; padding: 80px 0 90px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/banner.jpg') center/cover;
  opacity: .35; mix-blend-mode: overlay;
}
.hero::after {
  content: ""; position: absolute; right: -100px; bottom: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(228,169,192,.22) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 44px; font-weight: 800; line-height: 1.25; letter-spacing: 2px; margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero h1 small { display: block; font-size: 22px; font-weight: 500; opacity: .92; margin-top: 8px; letter-spacing: 1px; }
.hero p { font-size: 16px; opacity: .95; line-height: 1.9; max-width: 640px; margin-bottom: 22px; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 28px; font-size: 15px; font-weight: 700; border-radius: 30px; transition: .18s; }
.btn-pri { background: linear-gradient(135deg, #C0506F 0%, #B23A5C 45%, #87224E 100%); color: #fff; box-shadow: 0 6px 20px rgba(126,36,64,.35); }
.btn-pri:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(126,36,64,.42); }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ---------- 通用区段 ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-section); }
.sec-title { text-align: center; margin-bottom: 36px; }
.sec-title .eyebrow { display: inline-block; font-size: 13px; color: var(--primary); letter-spacing: 4px; font-weight: 700; margin-bottom: 8px; }
.sec-title h2 { font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: 1px; }
.sec-title h2::after { content: ""; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin: 14px auto 0; border-radius: 2px; }
.sec-title p { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- 数字栏 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: -50px 0 0; position: relative; z-index: 5; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat .n { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 9 分类卡片网格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: #fff; border-radius: var(--radius); padding: 22px 14px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: .2s; position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-hi); }
.cat-card .img { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.cat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .nm { font-size: 15px; font-weight: 700; color: var(--text); }
.cat-card .ct { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 套餐卡片 ---------- */
.pkg-card {
  background: #fff; border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: .2s; position: relative;
}
.pkg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-hi); }
.pkg-card .thumb { width: 100%; height: 160px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #F7E8EE, #F2E6D5); margin-bottom: 14px; }
.pkg-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.pkg-card .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #F7E8EE; color: var(--primary); font-weight: 600; }
.pkg-card .tag.gold { background: #F7E8EE; color: #87224E; }
.pkg-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; min-height: 48px; color: var(--text); margin-bottom: 10px; }
.pkg-card h3 a:hover { color: var(--primary); }
.pkg-card .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.pkg-card .meta span { margin-right: 10px; }
.pkg-card .price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.pkg-card .num { font-size: 26px; font-weight: 800; color: var(--price); }
.pkg-card .num i { font-size: 15px; font-weight: 600; }
.pkg-card .num s { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.pkg-card .num s::before { content: "市场价¥"; }
.pkg-card .num s::after { content: ""; }
.pkg-card .go { display: inline-block; padding: 6px 14px; font-size: 13px; background: var(--primary); color: #fff; border-radius: 20px; margin-left: auto; }
.pkg-card .go:hover { background: var(--primary-deep); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pkg-grid { grid-template-columns: 1fr; } }

/* 列表页：筛选 Tab + 分类分组 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; background: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 22px; align-items: center; }
.filter-bar .lab { font-size: 14px; font-weight: 700; color: var(--text-2); margin-right: 4px; }
.filter-bar a { padding: 5px 14px; font-size: 13.5px; border-radius: 18px; background: var(--bg-soft); color: var(--text-2); }
.filter-bar a:hover, .filter-bar a.on { background: var(--primary); color: #fff; }
.cat-group { margin-bottom: 30px; }
.cat-group .gh { font-size: 20px; font-weight: 800; color: var(--primary-deep); padding: 0 0 10px; margin-bottom: 14px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 10px; }
.cat-group .gh::before { content: ""; width: 4px; height: 18px; background: var(--accent); border-radius: 2px; }
.cat-group .gh .more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-group .gh .more:hover { color: var(--primary); }

/* ---------- 详情页 ---------- */
.det-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 22px; }
.det-hero .pic { border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #F7E8EE, #F2E6D5); }
.det-hero .pic img { width: 100%; height: 320px; object-fit: cover; display: block; }
.det-hero h1 { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: 12px; }
.det-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.det-hero .meta .tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; background: #F7E8EE; color: var(--primary); font-weight: 600; }
.det-hero .meta .tag.gold { background: #F7E8EE; color: #87224E; }
.det-hero .intro { font-size: 14.5px; color: var(--text-2); line-height: 1.85; margin: 12px 0 16px; }
.det-hero .price-box { background: linear-gradient(135deg, #F7E8EE, #FCEEF2); border-radius: 12px; padding: 16px 18px; margin: 14px 0; border: 1px dashed var(--primary-hi); }
.det-hero .price-box .num { font-size: 32px; font-weight: 800; color: var(--price); }
.det-hero .price-box .num i { font-size: 18px; }
.det-hero .price-box .num s { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.det-hero .price-box .num s::before { content: "市场价¥"; }
.det-hero .price-box .num s::after { content: ""; }
.det-hero .price-box .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.det-hero .btns { display: flex; gap: 10px; margin-top: 16px; }
.det-hero .btns a { flex: 1; padding: 11px 0; text-align: center; border-radius: 24px; font-size: 14.5px; font-weight: 700; }
.det-hero .btns .go { background: var(--primary); color: #fff; }
.det-hero .btns .go:hover { background: var(--primary-deep); }
.det-hero .btns .tel { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }

.det-section { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 20px; }
.det-section h2 { font-size: 20px; font-weight: 800; color: var(--primary-deep); padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid var(--bg-soft); display: flex; align-items: center; gap: 10px; }
.det-section h2::before { content: ""; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.det-section p, .det-section li { color: var(--text-2); font-size: 14.5px; line-height: 1.95; }
.det-section ul { padding-left: 22px; list-style: disc; }
.det-section ul li { margin-bottom: 6px; }

/* 重点筛查 4 卡片 */
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
.hl-card { background: linear-gradient(160deg, #F7E8EE, #FCEEF2); border: 1px solid var(--line); border-radius: 10px; padding: 16px 14px; text-align: center; transition: .2s; }
.hl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hl-card .ic { font-size: 24px; color: var(--primary); margin-bottom: 6px; }
.hl-card .nm { font-size: 14px; font-weight: 700; color: var(--text); }
.hl-card .ds { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* 套餐项目明细表 */
.pkg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pkg-table th, .pkg-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.pkg-table th { background: linear-gradient(90deg, #F7E8EE, #FCEEF2); color: var(--primary-deep); font-weight: 700; font-size: 14px; }
.pkg-table tr:hover td { background: #FBF6F8; }
.pkg-table td.cat { background: #F2E6D5; font-weight: 700; color: var(--primary-deep); width: 22%; }
.pkg-table tr.cat-row td { background: var(--primary); color: #fff; font-weight: 700; }
.pkg-table tr.cat-row td.cat { background: var(--primary-deep); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .2s; }
.faq-item:hover { border-color: var(--primary-hi); box-shadow: var(--shadow-lg); }
.faq-item .q { font-size: 16px; font-weight: 700; color: var(--text); display: flex; gap: 10px; align-items: flex-start; }
.faq-item .q::before { content: "Q"; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; margin-top: 2px; }
.faq-item .a { font-size: 14.5px; color: var(--text-2); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); line-height: 1.85; }
.faq-item .a::before { content: "A"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.faq-item .meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.faq-item a.read-more { color: var(--primary); font-size: 13px; font-weight: 600; }

/* ---------- 文章列表（新闻/资讯） ---------- */
.art-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .art-list { grid-template-columns: 1fr; } }
.art-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .2s; display: flex; flex-direction: column; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.art-card .thumb { width: 100%; height: 180px; overflow: hidden; background: linear-gradient(135deg, #F7E8EE, #F2E6D5); }
.art-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-card .bd { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.art-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.art-card h3 a:hover { color: var(--primary); }
.art-card .desc { font-size: 13.5px; color: var(--text-2); line-height: 1.7; flex: 1; }
.art-card .meta { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* 首页常见问题（FAQ） */
.faq-home { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-section) 100%); }
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.faq-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.faq-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.faq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-hi); }
.faq-card:hover::before { transform: scaleX(1); }
.faq-card .q { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 3px 10px rgba(178,58,92,.28); }
.faq-card h3 { font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--text); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 47px; transition: color .2s; }
.faq-card:hover h3 { color: var(--primary); }
.faq-card .a { font-size: 13px; color: var(--text-2); line-height: 1.75; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.faq-card .more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.faq-card .more i { font-style: normal; font-family: Arial, sans-serif; transition: transform .2s; }
.faq-card:hover .more i { transform: translateX(3px); }
@media (max-width: 1080px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr; } }

/* 文章详情 */
.art-body { background: #fff; border-radius: var(--radius); padding: 32px 38px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.art-body .art-h1 { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.4; margin: 0 0 14px; padding: 0; border: 0; background: none; text-align: left; }
.art-body .art-h1::before { display: none; }
.art-body .art-meta { font-size: 13px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.art-body .art-pic { width: 100%; border-radius: 10px; margin-bottom: 22px; }
.art-body p { color: var(--text-2); font-size: 15px; line-height: 2; margin-bottom: 14px; }
.art-body h3 { font-size: 18px; font-weight: 800; color: var(--primary-deep); margin: 22px 0 10px; padding-left: 12px; border-left: 4px solid var(--primary); }
.art-body ul { padding-left: 24px; list-style: disc; margin: 10px 0; }
.art-body ul li { color: var(--text-2); font-size: 14.5px; line-height: 1.95; margin-bottom: 4px; }

/* ---------- 通用单页内容（须知/介绍/免责） ---------- */
.page-box { background: #fff; border-radius: var(--radius); padding: 36px 42px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.page-box h2 { font-size: 22px; font-weight: 800; color: var(--primary-deep); margin: 26px 0 12px; padding-left: 14px; border-left: 5px solid var(--primary); }
.page-box h2:first-child { margin-top: 0; }
.page-box h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 18px 0 8px; }
.page-box p, .page-box li { color: var(--text-2); font-size: 15px; line-height: 2; }
.page-box ul { padding-left: 24px; list-style: disc; }
.page-box ul li { margin-bottom: 4px; }
.page-box strong { color: var(--primary-deep); }

/* ---------- 预约表单 ---------- */
.book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .book-grid { grid-template-columns: 1fr; } }
.book-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.book-form label .req { color: var(--primary); }
.book-form input, .book-form select, .book-form textarea {
  width: 100%; padding: 11px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #FBF8F4; color: var(--text); transition: .15s; font-family: inherit;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(178,58,92,.1); }
.book-form .full { grid-column: 1 / -1; }
.book-form .submit { width: 100%; padding: 14px; margin-top: 18px; background: linear-gradient(90deg, var(--primary), var(--primary-deep)); color: #fff; font-size: 16px; font-weight: 700; border: 0; border-radius: 26px; cursor: pointer; transition: .2s; }
.book-form .submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(178,58,92,.3); }
/* tj 定制 v3：表单行内验证 + 提交成功面板 */
.book-form .fld-err { display: none; font-size: 12.5px; color: #B3274D; margin-top: 5px; line-height: 1.5; }
.book-form input.invalid, .book-form textarea.invalid, .book-form select.invalid { border-color: #C9506F !important; background: #FDF2F6 !important; }
.book-form input.invalid:focus, .book-form textarea.invalid:focus { box-shadow: 0 0 0 3px rgba(201,80,111,.15) !important; }
.book-form .form-ok { text-align: center; padding: 46px 20px; }
.book-form .form-ok .ok-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #C0506F, #87224E); color: #fff; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(126,36,64,.3); }
.book-form .form-ok b { display: block; font-size: 20px; color: var(--primary-deep); margin-bottom: 8px; }
.book-form .form-ok p { font-size: 14px; color: var(--text-2); line-height: 1.9; }
.book-form .form-ok .ok-tel { display: inline-block; margin-top: 14px; padding: 10px 26px; border-radius: 24px; background: linear-gradient(135deg, #C0506F, #87224E); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.book-info { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; border-radius: var(--radius); padding: 30px; }
.book-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
.book-info .tl { font-size: 32px; font-weight: 800; color: var(--accent-hi); margin: 14px 0; letter-spacing: 1px; }
.book-info ul { line-height: 2.2; font-size: 14.5px; opacity: .96; }
.book-info ul li { padding-left: 22px; position: relative; }
.book-info ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-hi); font-weight: 800; }

/* ---------- 地图区 ---------- */
.map-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 720px) { .map-box { grid-template-columns: 1fr; } }
.map-box .map-iframe { width: 100%; height: 360px; border: 0; }
.map-box .map-info { background: linear-gradient(160deg, #F7E8EE, #FCEEF2); padding: 28px 26px; }
.map-box .map-info h3 { font-size: 22px; font-weight: 800; color: var(--primary-deep); margin-bottom: 14px; }
.map-box .map-info p { font-size: 14.5px; color: var(--text-2); line-height: 2; margin-bottom: 8px; }
.map-box .map-info p b { color: var(--primary); }
.map-box .map-info .btn-go { display: inline-block; margin-top: 14px; padding: 10px 22px; background: var(--primary); color: #fff; border-radius: 22px; font-size: 14px; font-weight: 700; }
.map-box .map-info .btn-go:hover { background: var(--primary-deep); }

/* ---------- footer ---------- */
.footer { background: linear-gradient(180deg, #2E2429 0%, #1F1719 100%); color: #C0AEB0; padding: 50px 0 24px; }
.footer .ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 30px; }
@media (max-width: 720px) { .footer .ft-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 1px; padding-left: 12px; border-left: 3px solid var(--accent); }
.footer ul li { font-size: 13.5px; line-height: 2.1; opacity: .85; }
.footer ul li a:hover { color: var(--accent-hi); }
.footer .ft-about .logo-name { color: #fff; }
.footer .ft-about .logo-name small { color: #999; }
.footer .ft-about p { font-size: 13px; line-height: 1.85; margin-top: 12px; opacity: .8; }
.footer .ft-tel { font-size: 22px; font-weight: 800; color: var(--accent-hi); margin: 8px 0; }
.footer .ft-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer .ft-tags a { display: inline-block; padding: 3px 10px; font-size: 12px; background: rgba(255,255,255,.06); border-radius: 12px; opacity: .8; }
.footer .ft-tags a:hover { background: var(--primary); color: #fff; opacity: 1; }
.footer .ft-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer .ft-links a { font-size: 13px; opacity: .8; }
.footer .ft-links a:hover { color: var(--accent-hi); }
.footer .ft-bot { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: 12.5px; text-align: center; opacity: .65; }
.footer .ft-bot a { color: inherit; }

/* ---------- 流程步骤 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 720px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.flow .step { background: #fff; border-radius: var(--radius); padding: 18px 14px; text-align: center; border: 1px solid var(--line); position: relative; }
.flow .step .n { font-size: 24px; font-weight: 800; color: var(--primary); }
.flow .step .t { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 6px 0 4px; }
.flow .step .d { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- 字号/工具 ---------- */
.txt-c { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero h1 { font-size: 28px; }
  .hero h1 small { font-size: 16px; }
  .page-h1 h1 { font-size: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .art-body { padding: 22px 18px; }
  .art-body .art-h1 { font-size: 22px; }
  .page-box { padding: 22px 18px; }
  .det-hero { grid-template-columns: 1fr; }
}

/* 详情页 page-h1 标题（非 h1 标签，避免与正文 h1 重复） */
.ph1-title {
  font-size: 36px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: 14px;
}
.ph1-title::before {
  content: ""; width: 6px; height: 32px; background: var(--accent-hi);
  border-radius: 3px; box-shadow: 0 0 12px rgba(228,169,192,.55);
}
@media (max-width: 768px) { .ph1-title { font-size: 24px; } }

/* ============================================================
   v4 增补（2026-10-10）：详情页排版/表格/支付/地图/科室/分页/移动端
   ============================================================ */

/* ---------- 套餐详情页 rich 内容排版 ---------- */
.rich { margin-bottom: 30px; }
.rich > p { color: var(--text-2); font-size: 14.5px; line-height: 2; margin-bottom: 14px; }
.rich h2 {
  font-size: 20px; font-weight: 800; color: var(--primary-deep);
  margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-soft);
  display: flex; align-items: center; gap: 10px;
}
.rich h2::before { content: ""; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; flex: 0 0 auto; }
/* 明细分组标题（实验室检查/科室检查/医技检查/其他） */
.rich h3 {
  font-size: 16px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-hi));
  display: inline-block; padding: 6px 18px; border-radius: 18px;
  margin: 26px 0 12px;
}
.rich ul { padding-left: 22px; list-style: disc; margin: 10px 0 14px; }
.rich ul li { color: var(--text-2); font-size: 14.5px; line-height: 1.95; margin-bottom: 6px; }
.rich .pkg-tip { font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }

/* 项目明细表格：完整边框+斑马纹，滚动容器防移动端错乱 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.pkg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.pkg-table th, .pkg-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.pkg-table th:last-child, .pkg-table td:last-child { border-right: 0; }
.pkg-table tr:last-child td { border-bottom: 0; }
.pkg-table th { background: linear-gradient(90deg, #F7E8EE, #FCEEF2); color: var(--primary-deep); font-weight: 700; }
.pkg-table tbody tr:nth-child(even) td { background: #FBF7F3; }
.pkg-table tr:hover td { background: #F7E8EE; }

/* 尾部三段卡片：适用人群 / 为什么值得做 / 检查前须知 */
.pkg-ext { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; margin-bottom: 26px; }
.ext-block { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px 24px; }
.ext-block h3 {
  font-size: 16.5px; font-weight: 800; color: var(--primary-deep);
  margin: 0 0 10px; padding: 0 0 8px; border-bottom: 1px dashed var(--line);
  display: flex; align-items: center; gap: 8px;
}
.ext-block h3::before { content: ""; width: 4px; height: 15px; background: var(--accent); border-radius: 2px; }
.ext-block p { color: var(--text-2); font-size: 14.5px; line-height: 2; margin: 0; }

/* ---------- 在线支付按钮 ---------- */
.pay-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pay-row .pay-lab { font-size: 13px; color: var(--muted); }
.pay-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 22px; font-size: 13.5px; font-weight: 700; color: #fff; transition: .18s; }
.pay-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.pay-btn.pay-ali { background: #1678FF; }
.pay-btn.pay-wx { background: #07C160; }

/* ---------- 科室图文列表/详情 ---------- */
.keshi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.keshi-card { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: .2s; }
.keshi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-hi); }
.keshi-card .pic { width: 44%; flex: 0 0 auto; overflow: hidden; background: var(--bg-soft); }
.keshi-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.keshi-card .bd { padding: 18px 20px; display: flex; flex-direction: column; }
.keshi-card h3 { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.keshi-card:hover h3 { color: var(--primary); }
.keshi-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; flex: 1; }
.keshi-card .more { font-size: 13px; color: var(--primary); font-weight: 700; margin-top: 10px; }
.keshi-pic { border-radius: 10px; overflow: hidden; margin: 6px 0 18px; }
.keshi-pic img { width: 100%; display: block; }
.keshi-cta { display: flex; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.btn-ghost2 { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost2:hover { background: #F7E8EE; }

/* ---------- 地图卡（机构介绍/预约咨询） ---------- */
.det-map { margin-bottom: 20px; }
.map-box .map-pic { min-height: 260px; }
.map-box .map-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-box .map-info .map-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.map-box .map-info .btn-go { display: inline-block; padding: 10px 20px; background: var(--primary); color: #fff; border-radius: 22px; font-size: 14px; font-weight: 700; }
.btn-dist { padding: 10px 20px; background: #fff; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 22px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-dist:hover { background: #F7E8EE; }
.btn-dist:disabled { opacity: .6; cursor: wait; }
.dist-result { margin-top: 12px; font-size: 13.5px; color: var(--text-2); background: #fff; border: 1px dashed var(--primary-hi); border-radius: 10px; padding: 10px 14px; line-height: 1.9; }
.dist-result b { color: var(--price); font-size: 16px; }

/* ---------- 分页条 ---------- */
.pagebar { margin-top: 26px; text-align: center; }
.pagebar a, .pagebar span { display: inline-block; min-width: 36px; padding: 7px 13px; margin: 0 4px; font-size: 13.5px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.pagebar a:hover { border-color: var(--primary); color: var(--primary); }
.pagebar span.current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

/* ---------- 表单：套餐带入提示 ---------- */
.pkg-hint { background: #F7E8EE; border: 1px dashed var(--primary-hi); color: var(--primary-deep); border-radius: 10px; padding: 10px 16px; font-size: 14px; margin-bottom: 16px; }
.pkg-hint b { color: var(--price); }

/* ---------- 首页 banner v2：突出院内场景（去掉红色渐变遮挡） ---------- */
.hero { background: #241A1E; color: #fff; padding: 100px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/banner.jpg') center/cover;
  opacity: 1; mix-blend-mode: normal;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,20,24,.82) 0%, rgba(30,20,24,.55) 38%, rgba(30,20,24,.15) 68%, rgba(30,20,24,0) 85%);
}
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero p { text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* ---------- 头部右侧（汉堡按钮） ---------- */
.hd-right { display: flex; align-items: center; gap: 14px; }
.m-menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--primary-deep); cursor: pointer; align-items: center; justify-content: center; }
body.m-lock { overflow: hidden; }

/* ---------- 移动端抽屉菜单 ---------- */
.m-mask { display: none; position: fixed; inset: 0; background: rgba(30,20,24,.5); z-index: 190; opacity: 0; transition: .2s; }
.m-mask.show { display: block; opacity: 1; }
.m-nav {
  position: fixed; top: 0; right: 0; width: 78vw; max-width: 340px; height: 100vh; height: 100dvh;
  background: #fff; z-index: 200; flex-direction: column;
  box-shadow: -6px 0 24px rgba(0,0,0,.12);
  /* tj 修复：屏幕外 fixed 抽屉（right/transform/visibility 方案）都会被 Chrome 计入视口可滚动宽度，
     导致移动端页面可左右拖动。display:none 完全移出布局，零溢出且不影响 site-header 的 sticky。 */
  display: none;
}
.m-nav.open { display: flex; animation: mnavIn .25s ease; }
@keyframes mnavIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.m-nav-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--primary-deep); font-size: 15.5px; flex: 0 0 auto; }
.m-nav-body { flex: 1; overflow-y: auto; padding: 10px 12px 20px; }
.m-nav-body > a { display: block; padding: 12px; font-size: 15px; font-weight: 600; color: var(--text); border-radius: 10px; }
.m-nav-body > a:hover { background: #F7E8EE; color: var(--primary); }
.m-group { margin: 2px 0; }
.m-gt { display: flex; justify-content: space-between; align-items: center; padding: 12px; font-size: 15px; font-weight: 600; color: var(--text); border-radius: 10px; }
.m-gt:hover { background: #F7E8EE; color: var(--primary); }
.m-gt i { font-style: normal; color: var(--muted); padding: 4px 8px; transition: transform .2s; }
.m-group.open .m-gt i { transform: rotate(180deg); }
.m-sub { display: none; padding: 2px 0 6px 14px; }
.m-group.open .m-sub { display: block; }
.m-sub a { display: block; padding: 9px 12px; font-size: 14px; color: var(--text-2); border-left: 2px solid var(--line); margin-left: 8px; }
.m-sub a:hover { color: var(--primary); border-left-color: var(--primary); }
.m-nav-tel { flex: 0 0 auto; display: block; margin: 12px; padding: 13px; text-align: center; background: linear-gradient(90deg, var(--primary), var(--primary-deep)); color: #fff; font-weight: 700; border-radius: 24px; font-size: 15px; }

/* ---------- 移动端底部固定导航（桌面隐藏） ---------- */
.m-bnav { display: none; }

/* ---------- 移动端适配 v4 ---------- */
@media (max-width: 768px) {
  /* 顶部条：只留电话，防止换行把头部顶出间隙 */
  .topbar .co-tag { display: none; }
  .topbar .container { height: 30px; }
  .topbar .tel { font-size: 12.5px; white-space: nowrap; }
  .topbar .tel b { font-size: 13.5px; }
  /* 头部：隐藏固定电话文案，显示汉堡按钮 */
  .hd { height: 58px; }
  .hd-tel { display: none; }
  .logo-name { font-size: 18px; }
  .logo-name small { font-size: 10.5px; letter-spacing: 1px; }
  .m-menu-btn { display: flex; }
  html { scroll-padding-top: 66px; }
  /* 首页 banner */
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 26px; }
  .hero h1 small { font-size: 15px; }
  /* 底部固定导航（v2：去点击蓝闪 + 毛玻璃 + 顶部指示条） */
  .m-bnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -6px 24px rgba(126,36,64,.10);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .m-bnav::before {
    content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,36,64,.14), transparent);
  }
  .m-bnav a {
    -webkit-tap-highlight-color: transparent; /* 去掉点击蓝闪 */
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 0 6px; font-size: 10.5px; color: var(--muted);
    position: relative; user-select: none; -webkit-user-select: none;
    transition: color .15s ease, transform .15s ease;
  }
  .m-bnav a:active { transform: scale(.9); color: var(--primary); } /* 按压反馈替代蓝闪 */
  .m-bnav a svg { width: 22px; height: 22px; }
  .m-bnav a.on { color: var(--primary); font-weight: 700; }
  .m-bnav a.on::after {
    content: ""; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hi));
  }
  .m-bnav a.on svg { transform: translateY(1px); }
  body { padding-bottom: 58px; }
  /* 浮动电话按钮上移，避开底部导航 */
  .float-tel { bottom: 72px; }
  .float-tel .f-top { display: none; }
  /* footer 单列重排 */
  .footer { padding: 34px 0 20px; }
  .footer .ft-grid { grid-template-columns: 1fr !important; gap: 22px; margin-bottom: 20px; }
  .footer .ft-about p { margin-top: 10px; }
  .footer .ft-tel { font-size: 20px; }
  .footer .ft-links-wrap { margin-bottom: 16px !important; }
  .footer .ft-bot { text-align: left; line-height: 1.8; }
  /* 详情页富文本 */
  .rich h2 { margin: 30px 0 14px; font-size: 18px; }
  .rich h3 { margin: 20px 0 10px; }
  .ext-block { padding: 16px 18px; }
  .art-body { padding: 22px 16px; }
  .keshi-grid { grid-template-columns: 1fr; }
  .keshi-card .pic { width: 38%; }
  .keshi-card .bd { padding: 14px; }
  .pay-row { margin-top: 10px; }
}

/* 支付行显隐开关 */
.pay-row[data-on="0"] { display: none; }

/* ================= v5（2026-10-10 晚） ================= */
/* 修复：v4 hero::after 未覆盖 v3 的 500px 圆形尺寸，深色渐变被裁成圆 → 重置尺寸 */
.hero::after { inset: 0; width: 100%; height: 100%; border-radius: 0; }
/* 列表卡"详情"按钮防压缩：flex 收缩会把按钮挤成竖排两字 */
.pkg-card .go { flex: none; white-space: nowrap; align-self: center; }
/* 机构介绍 .page-box.rich 叠加导致 h2 出现两条竖线：去掉 page-box 的左边框，保留 rich 的细条 */
.page-box.rich h2 { border-left: none; padding-left: 0; }

/* 首页 banner 文字毛玻璃面板：重叠区域背景模糊 + 底色加深，文字更清晰 */
.hero-panel {
  max-width: 680px;
  background: rgba(26,16,20,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero-panel h1 { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero-panel p { text-shadow: 0 1px 10px rgba(0,0,0,.55); color: rgba(255,255,255,.96); }
@media (max-width: 560px) { .hero-panel { padding: 24px 20px; border-radius: 14px; } }

/* tag 亮色多彩背景（footer 热门标签 + 侧边栏热门标签，8 色循环） */
.footer .ft-tags a { opacity: 1; font-weight: 600; border-radius: 14px; }
.ft-tags a:nth-child(8n+1), .sb-tags a:nth-child(8n+1) { background: #FF6B81; color: #fff; }
.ft-tags a:nth-child(8n+2), .sb-tags a:nth-child(8n+2) { background: #FFA94D; color: #fff; }
.ft-tags a:nth-child(8n+3), .sb-tags a:nth-child(8n+3) { background: #FFD43B; color: #6B4E00; }
.ft-tags a:nth-child(8n+4), .sb-tags a:nth-child(8n+4) { background: #69DB7C; color: #0B4D1C; }
.ft-tags a:nth-child(8n+5), .sb-tags a:nth-child(8n+5) { background: #4DABF7; color: #fff; }
.ft-tags a:nth-child(8n+6), .sb-tags a:nth-child(8n+6) { background: #B197FC; color: #fff; }
.ft-tags a:nth-child(8n+7), .sb-tags a:nth-child(8n+7) { background: #66D9E8; color: #004B56; }
.ft-tags a:nth-child(8n+8), .sb-tags a:nth-child(8n+8) { background: #F783AC; color: #fff; }
.ft-tags a:hover, .sb-tags a:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sb-tags a { border: none; }

/* ================= v6（2026-10-10 夜） ================= */
/* 价格行 <s>市场价 防拆行：划线文字整体不断行 */
.pkg-card .num s,
.det-hero .price-box .num s { white-space: nowrap; display: inline-block; vertical-align: baseline; }
.pkg-card .price { flex-wrap: wrap; }

/* 首页正文区热门标签条 */
.home-tags-sec .home-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.home-tags-sec .home-tags a { display: inline-block; padding: 7px 16px; border-radius: 16px; font-size: 13.5px; font-weight: 600; box-shadow: 0 3px 10px rgba(0,0,0,.08); }

/* 联系页微信咨询卡（左文案+右二维码布局） */
.wx-hero { display: flex; gap: 34px; align-items: stretch; margin-top: 16px; background: linear-gradient(135deg, #F0FAF4, #E6F7EC); border: 1px solid #CDEBD8; border-radius: 16px; padding: 26px 30px; }
.wx-hero-txt { flex: 1; min-width: 0; }
.wx-hero-txt h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; color: #0B7A3E; margin: 0 0 10px; }
.wx-hero-txt h3 .wx-ic { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #07C160, #059A4C); color: #fff; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(7,193,96,.35); }
.wx-hero-txt > p { font-size: 14.5px; color: #2F6B49; }
.wx-hero-txt ul { margin: 8px 0 16px; }
.wx-hero-txt ul li { position: relative; padding-left: 18px; font-size: 14px; color: #2F6B49; line-height: 1.9; }
.wx-hero-txt ul li::before { content: "✓"; position: absolute; left: 0; color: #07C160; font-weight: 700; }
.wx-chat { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 30px; background: linear-gradient(135deg, #07C160, #06AD56); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; box-shadow: 0 8px 20px rgba(7,193,96,.35); animation: wxBounce 1.8s ease-in-out infinite; }
.wx-chat:hover { filter: brightness(1.06); }
.wx-chat.wx-off { opacity: .5; cursor: default; animation: none; }
@keyframes wxBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.wx-note { margin-top: 12px; font-size: 12.5px; color: #5C8A70; }
.wx-hero .wx-qrbox { flex: 0 0 auto; text-align: center; align-self: center; }
.wx-qrbox img { width: 150px; height: 150px; object-fit: cover; border: 4px solid #fff; border-radius: 12px; background: #fff; display: block; box-shadow: 0 6px 18px rgba(11,122,62,.18); }
.wx-qrbox .wx-qrtip { font-size: 12.5px; color: #2F6B49; margin-top: 8px; }

/* 侧边栏微信咨询卡 */
.sb-wx .sb-body { text-align: center; }
.sb-wx-qr { margin-bottom: 12px; }
.sb-wx-qr img { width: 150px; height: 150px; object-fit: cover; border: 4px solid #F0FAF4; border-radius: 12px; background: #fff; }
.sb-wx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 0; border-radius: 26px; background: linear-gradient(135deg, #07C160, #06AD56); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 6px 16px rgba(7,193,96,.3); animation: wxBounce 1.8s ease-in-out infinite; }
.sb-wx-btn.wx-off { opacity: .82; cursor: default; animation: none; box-shadow: 0 4px 12px rgba(7,193,96,.18); }
.sb-wx-btn:hover { filter: brightness(1.06); }
.sb-wx-tip { font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.sb-wx-tip2 { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* footer 服务保障条 */
.ft-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0 6px; border-top: 1px dashed rgba(255,255,255,.18); margin-bottom: 18px; }
.ft-feat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 12px 14px; }
.ft-feat b { display: block; font-size: 14.5px; margin-bottom: 3px; color: #F7C9D6; }
.ft-feat span { font-size: 12.5px; opacity: .8; line-height: 1.6; }
.ft-slogan { margin-top: 8px; font-size: 12.5px; opacity: .75; letter-spacing: .5px; }
.footer .ft-book { display: inline-block; margin-top: 6px; padding: 6px 16px; background: linear-gradient(135deg, #C0506F, #87224E); border-radius: 18px; color: #fff; font-size: 13px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.footer .ft-book:hover { filter: brightness(1.1); }
@media (max-width: 900px) { .ft-feats { grid-template-columns: repeat(2, 1fr); } .wx-hero { flex-direction: column-reverse; padding: 20px; } .wx-hero .wx-qrbox { align-self: center; } }

/* 科室详情页 art-h1 美化（真正的 h1） */
.art-body h1.art-h1 { position: relative; font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.4; margin: 0 0 10px; padding: 0 0 14px; border: 0; background: none; text-align: left; }
.art-body h1.art-h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.art-meta-tag { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 12px; vertical-align: 1px; }

/* 顶部防亚像素白线：html 底色用主题深色，缩放取整缝隙不再露白 */
html { background: #7E2440; }

/* 移动端底部导航：中间套餐突出（微凸放大 + 主题色），其余保持原尺寸 */
@media (max-width: 768px) {
  .m-bnav a.bn-mid { color: var(--primary); }
  .m-bnav a.bn-mid svg { width: 31px; height: 31px; margin-top: -4px; filter: drop-shadow(0 3px 6px rgba(126,36,64,.28)); }
  .m-bnav a.bn-mid span { font-size: 12.5px; font-weight: 800; }
}

/* 全局去移动端点击蓝色高亮（用户反馈闪烁刺眼），交互反馈统一交给 :active 样式 */
a, button, input, select, textarea, label, [role="button"], .btn {
  -webkit-tap-highlight-color: transparent;
}

/* 按压反馈：去掉系统蓝闪后，常用按钮用缩放+透明度给出触感 */
.btn:active, .go:active, .tel:active, .ft-book:active, .sb-wx-btn:active, .m-nav-tel:active { transform: scale(.97); opacity: .85; }
