﻿/* ==========================================================================
   福州贝臣齿科 官网样式
   配色取自机构 Logo：主色青蓝 #34B3E1，辅色叶绿 #8CBF2F。
   修改 --brand 系列变量即可全站换色。
   ========================================================================== */

:root {
  /* 品牌色（源自 Logo） */
  --logo-blue: #34b3e1;
  --logo-green: #8cbf2f;

  /* 交互用色（同色系加深，保证白字可读） */
  --brand: #1687b0;
  --brand-dark: #0e6e92;
  --brand-deep: #08496a;
  --brand-light: #e6f6fc;
  --brand-soft: #f1fafd;
  --accent: #7bab24;

  --ink: #172a35;
  --ink-2: #445a67;
  --ink-3: #7c909c;
  --line: #e2ecf1;
  --bg: #ffffff;
  --bg-2: #f5fafc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 62, 88, .08);
  --shadow-hover: 0 18px 40px rgba(10, 62, 88, .14);
  --max: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.35; font-weight: 600; letter-spacing: -.2px; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.muted { color: var(--ink-3); font-size: 14px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部咨询条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 500; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #8cbf2f; display: inline-block; margin-right: 6px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { height: 42px; width: auto; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, #1687b0 0%, #34b3e1 100%);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: .5px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 19px; letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--ink-3); letter-spacing: 1.6px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); font-size: 15px; padding: 8px 13px; border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.is-active { color: var(--brand-dark); font-weight: 600; background: var(--brand-light); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2;
  margin-right: 4px;
}
.header-phone small { font-size: 11px; color: var(--ink-3); }
.header-phone b { font-size: 17px; color: var(--brand-dark); letter-spacing: .3px; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; font-size: 20px; color: var(--ink-2);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all .2s;
  white-space: nowrap; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(17, 128, 140, .22); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 128, 140, .28); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-sm { padding: 7px 15px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, #08496a 0%, #0e6e92 45%, #1687b0 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 68%);
}
.hero::before {
  content: ""; position: absolute; left: -160px; bottom: -220px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 220, 220, .18) 0%, rgba(120, 220, 220, 0) 70%);
}
.hero .wrap { position: relative; z-index: 1; padding: 74px 20px 78px; }
.hero-inner { max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .5px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  margin-bottom: 22px;
}
.hero h1 { font-size: 42px; line-height: 1.28; margin-bottom: 18px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #a8dff5; }
.hero p.lead { font-size: 16.5px; color: rgba(255, 255, 255, .85); margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points {
  display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-points div { display: flex; flex-direction: column; }
.hero-points b { font-size: 22px; color: #fff; }
.hero-points span { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* 轮播（CSS 滚动 + 少量 JS） */
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 8px; margin-top: 34px; }
.hero-dots button {
  width: 26px; height: 4px; border-radius: 2px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .3); padding: 0; transition: all .25s;
}
.hero-dots button.is-active { background: #fff; width: 40px; }

/* ---------- 快捷入口条 ---------- */
.quickbar { background: #fff; border-bottom: 1px solid var(--line); }
.quickbar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.quickbar a {
  display: flex; align-items: center; gap: 12px; padding: 22px 20px;
  color: var(--ink); border-right: 1px solid var(--line);
}
.quickbar a:last-child { border-right: 0; }
.quickbar a:hover { background: var(--brand-soft); }
.quickbar .qi {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 19px;
}
.quickbar b { display: block; font-size: 15px; font-weight: 600; }
.quickbar span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 2.4px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
.section-head h2 { font-size: 30px; margin-bottom: 12px; }
.section-head p { color: var(--ink-3); margin: 0; font-size: 15.5px; }

/* ---------- 项目卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cfe3e6; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; }
.card-body p { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; flex: 1; }
.card-more { font-size: 14px; color: var(--brand); font-weight: 500; }
.card-thumb {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eaf7fc, #d3edf8);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .ph { font-size: 34px; opacity: .35; }

/* 服务图标卡 */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: all .25s; display: block; color: inherit;
}
.svc-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.svc-card .icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand-dark); font-size: 22px; margin-bottom: 16px;
}
.svc-card h3 { font-size: 17px; margin-bottom: 6px; }
.svc-card p { color: var(--ink-3); font-size: 13.5px; margin: 0; line-height: 1.65; }

/* ---------- 医生 ---------- */
.doctor-card { text-align: center; }
.doctor-avatar {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #dceff8, #bfe3f4); overflow: hidden;
  display: grid; place-items: center; font-size: 36px; color: var(--brand-dark);
  border: 3px solid #fff; box-shadow: 0 4px 16px rgba(12, 62, 70, .1);
}
.doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card h3 { font-size: 17px; margin-bottom: 3px; }
.doctor-title { font-size: 13px; color: var(--brand); margin-bottom: 10px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d8ecee;
}

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 28px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.stat b { display: block; font-size: 30px; color: var(--brand-dark); line-height: 1.2; }
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 文章 ---------- */
.post-card { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-card:first-child { padding-top: 0; }
.post-card .pc-thumb {
  width: 168px; height: 112px; flex: 0 0 auto; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #eaf7fc, #d3edf8); display: grid; place-items: center;
  color: var(--brand); opacity: 1;
}
.post-card .pc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 17px; margin-bottom: 6px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.post-meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.post-meta .pill { background: var(--brand-soft); color: var(--brand-dark); padding: 1px 9px; border-radius: 999px; }

/* ---------- 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: 30px; margin-bottom: 14px; }
.article-body { font-size: 16.5px; line-height: 1.95; color: #26343d; }
.article-body h3 { margin-top: 1.8em; font-size: 19px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article-body h2 { margin-top: 1.6em; font-size: 21px; }
.article-body img { border-radius: 10px; margin: 1.4em 0; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
  margin: 1.4em 0; padding: 14px 20px; background: var(--brand-soft);
  border-left: 3px solid var(--brand); color: var(--ink-2); border-radius: 0 8px 8px 0;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--bg-2); }
.article-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-nav { display: grid; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.article-nav a { color: var(--ink-2); }
.article-nav a:hover { color: var(--brand); }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-list a { font-size: 14px; color: var(--ink-2); line-height: 1.55; display: block; }
.side-list a:hover { color: var(--brand); }
.side-cta { background: linear-gradient(150deg, var(--brand-deep), var(--brand)); color: #fff; border: 0; }
.side-cta h3 { color: #fff; border-color: rgba(255, 255, 255, .2); }
.side-cta p { color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.side-cta .btn { margin-top: 12px; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- 页头（内页） ---------- */
.page-hero {
  background: linear-gradient(125deg, #08496a, #1687b0);
  color: #fff; padding: 54px 0 50px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -100px; top: -80px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13), transparent 68%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 680px; font-size: 15px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .68); margin-bottom: 14px; }
.crumb a { color: rgba(255, 255, 255, .82); }
.crumb a:hover { color: #fff; }

/* ---------- 活动卡 ---------- */
.campaign-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.campaign-card .cc-media {
  min-height: 240px; background: linear-gradient(140deg, #0e6e92, #34b3e1);
  display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 44px;
  position: relative;
}
.campaign-card .cc-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.campaign-card .cc-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.campaign-card h3 { font-size: 21px; margin-bottom: 8px; }
.badge {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px;
  background: #f2f8e6; color: #5c7d16; border: 1px solid #dbeac0; margin-bottom: 12px;
}
.highlights { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 9px; }
.highlights li { font-size: 14.5px; color: var(--ink-2); padding-left: 24px; position: relative; }
.highlights li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand-dark); font-size: 11px; display: grid; place-items: center;
}

/* ---------- 表单 ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: #d9534f; margin-left: 3px; }
.input, .textarea, .select {
  width: 100%; padding: 11px 14px; border: 1px solid #d8e2e6; border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17, 128, 140, .12);
}
.textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.notice-success {
  background: #eaf8f1; border: 1px solid #c6ead8; color: #1d7a52;
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14.5px;
}
.notice-warn {
  background: #fdf6e8; border: 1px solid #f0e0bd; color: #8a6516;
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14px;
}

/* ---------- 联系信息 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; }
.info-list .ii {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand-dark); display: grid; place-items: center; font-size: 18px; flex: 0 0 auto;
}
.info-list b { display: block; font-size: 15px; margin-bottom: 3px; }
.info-list span { font-size: 14px; color: var(--ink-2); word-break: break-all; }
.map-box {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-height: 300px; background: var(--bg-2); display: grid; place-items: center;
  color: var(--ink-3); font-size: 14px; text-align: center; padding: 30px;
}

/* ---------- CTA 区块 ---------- */
.cta-band {
  background: linear-gradient(125deg, #08496a, #1687b0);
  color: #fff; padding: 56px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 26px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: #06304a; color: rgba(255, 255, 255, .68); padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, .5); }
.footer-brand p { font-size: 13.5px; line-height: 1.8; margin-bottom: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  font-size: 12.5px; color: rgba(255, 255, 255, .5); display: flex; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* ---------- 移动端底部咨询条 ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(12, 62, 70, .08);
}
.mobile-bar .mb { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 12px; color: var(--ink-2); padding: 7px 4px; border-radius: 9px;
}
.mobile-bar a b { font-size: 15px; }
.mobile-bar a.called { background: var(--brand-light); color: var(--brand-dark); }
.mobile-bar a.primary { background: var(--brand); color: #fff; }
.mobile-bar a.primary b { font-size: 14px; }

/* ---------- 提示/空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty b { display: block; font-size: 17px; color: var(--ink-2); margin-bottom: 8px; }

/* ---------- 浮动客服 ---------- */
.float-service {
  position: fixed; right: 18px; bottom: 96px; z-index: 70;
  display: flex; flex-direction: column; gap: 10px;
}
.float-service a {
  width: 50px; height: 50px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; font-size: 20px; color: var(--brand-dark);
}
.float-service a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .hero .wrap { padding: 52px 20px 56px; }
  .hero h1 { font-size: 30px; }
  .hero-points { gap: 20px; margin-top: 30px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .quickbar .wrap { grid-template-columns: 1fr 1fr; }
  .quickbar a:nth-child(2n) { border-right: 0; }
  .quickbar a { border-bottom: 1px solid var(--line); padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .campaign-card { grid-template-columns: 1fr; }
  .campaign-card .cc-media { min-height: 180px; }
  .campaign-card .cc-body { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 23px; }
  .article-body { font-size: 16px; }
  .page-hero { padding: 38px 0 34px; }
  .page-hero h1 { font-size: 24px; }
  .post-card { gap: 12px; }
  .post-card .pc-thumb { width: 108px; height: 80px; }
  .post-card h3 { font-size: 15.5px; }
  .post-card p { display: none; }
  .mobile-bar { display: block; }
  .float-service { display: none; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 70px; }
  .topbar-left span.hide-sm { display: none; }
  .topbar .wrap { height: auto; padding: 8px 20px; justify-content: center; }
  .topbar-left { gap: 12px; font-size: 12px; }
}

/* 移动端抽屉导航 */
.nav-open .nav {
  display: flex; position: absolute; left: 0; right: 0; top: var(--header-h);
  flex-direction: column; align-items: stretch; gap: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 10px 16px 18px; box-shadow: 0 16px 30px rgba(12, 62, 70, .12);
}
.nav-open .nav a { padding: 12px 14px; border-radius: 8px; font-size: 15.5px; }
/* ==========================================================================
   品牌渠道入口（企业微信 / 美团 / 抖音 / 本站预约）
   ========================================================================== */
.btn-wecom {
  background: #fff; border-color: #cbe6f2; color: #0e6e92;
}
.btn-wecom:hover { background: #eef9fd; border-color: #34b3e1; color: #0b5771; }

.channel-band { background: #fff; border-top: 1px solid var(--line); padding: 44px 0; }
.channel-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.channel-text h2 { font-size: 21px; margin-bottom: 6px; }
.channel-text p { color: var(--ink-3); font-size: 14px; margin: 0; max-width: 420px; }
.channel-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ch-btn {
  display: flex; flex-direction: column; gap: 2px; min-width: 148px;
  padding: 13px 20px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: all .2s;
}
.ch-btn b { font-size: 15px; font-weight: 600; }
.ch-btn span { font-size: 12px; color: var(--ink-3); }
.ch-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.ch-meituan { border-color: #ffd9a8; }
.ch-meituan:hover { border-color: #ffb454; }
.ch-meituan b { color: #e07a00; }
.ch-douyin { border-color: #f2d5e2; }
.ch-douyin:hover { border-color: #ef94bb; }
.ch-douyin b { color: #c0316a; }
.ch-wecom { border-color: #cbe6f2; }
.ch-wecom:hover { border-color: #34b3e1; }
.ch-wecom b { color: #0e6e92; }
.ch-self { border-color: #cfe7d8; background: #f6fbf8; }
.ch-self:hover { border-color: #6bcf9a; }
.ch-self b { color: #1d7a52; }

/* 浮窗企业微信按钮 */
.float-service a.fs-wecom { background: #eef9fd; border-color: #cbe6f2; color: #0e6e92; font-size: 17px; font-weight: 600; }
.float-service a.fs-wecom:hover { background: #1687b0; color: #fff; border-color: #1687b0; }
.mobile-bar a.wecom { background: #eef9fd; color: #0e6e92; }

/* 页脚渠道链接 */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-social a {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .82);
}
.footer-social a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.footer-muted { color: rgba(255, 255, 255, .45); font-size: 12.5px; }

/* 门店卡片 */
.store-card-body { padding: 24px; display: flex; flex-direction: column; height: 100%; }
.store-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.store-head h3 { font-size: 17px; margin: 0 0 8px; }
.store-hours { font-size: 12.5px; color: var(--brand-dark); background: var(--brand-light); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.store-info { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.store-info li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.store-info .si { color: var(--brand); flex: 0 0 auto; width: 16px; text-align: center; }
.store-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 16px; }
.store-actions { display: flex; gap: 10px; margin-top: auto; }

@media (max-width: 860px) {
  .channel-band { padding: 32px 0; }
  .channel-inner { gap: 20px; }
  .channel-btns { width: 100%; }
  .ch-btn { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 11px 14px; }
  .ch-btn b { font-size: 14px; }
  .ch-btn span { font-size: 11px; }
  .header-cta .btn-wecom { display: none; }
}

/* ==========================================================================
   首屏对比度修正：主色按钮在蓝色渐变上不可见，改用高对比方案
   ========================================================================== */
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(4, 32, 50, .28); }
.hero h1 em { color: #a8dff5; }
.hero p.lead { color: rgba(255, 255, 255, .92); }
.hero-tag { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .34); }

/* 首屏主按钮：白底 + 品牌字色，保证在深蓝背景上清晰可辨 */
.hero .btn-primary,
.cta-band .btn-primary {
  background: #fff;
  color: #0e6e92;
  box-shadow: 0 8px 22px rgba(3, 26, 40, .28);
}
.hero .btn-primary:hover,
.cta-band .btn-primary:hover {
  background: #f2fbff;
  color: #08496a;
  box-shadow: 0 12px 28px rgba(3, 26, 40, .34);
}
.hero .btn-outline-light,
.cta-band .btn-outline-light {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .1);
}
.hero .btn-outline-light:hover,
.cta-band .btn-outline-light:hover {
  background: rgba(255, 255, 255, .22);
}
.hero-points b { color: #fff; }
.hero-points span { color: rgba(255, 255, 255, .82); }

/* 活动卡片左侧媒体区：改为品牌色浅渐变，避免大面积纯色块显得空 */
.campaign-card .cc-media {
  background: linear-gradient(140deg, #e8f7fd 0%, #cfeaf7 55%, #b8e0f2 100%);
  color: rgba(14, 110, 146, .45);
}

/* 美团 / 抖音专用按钮 */
.btn-meituan { background: #ffc300; color: #4a3200; border-color: #ffc300; }
.btn-meituan:hover { background: #ffb800; color: #3a2700; border-color: #ffb800; }
.btn-douyin { background: #161823; color: #fff; border-color: #161823; }
.btn-douyin:hover { background: #2b2d3a; color: #fff; border-color: #2b2d3a; }

/* 合规信息区（备案、广审） */
.compliance-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 0 4px; font-size: 12px; line-height: 1.9;
  color: rgba(255, 255, 255, .45);
}
.compliance-bar a { color: rgba(255, 255, 255, .55); }
.compliance-bar a:hover { color: rgba(255, 255, 255, .8); }
.compliance-bar span { margin-right: 14px; }

/* ==========================================================================
   弹窗公告（PC / 手机共用）
   ========================================================================== */
.popup-mask {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6, 30, 44, .58);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .25s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.popup-mask.is-open { opacity: 1; }
.popup-mask[hidden] { display: none !important; }

.popup-box {
  position: relative; background: #fff; border-radius: 16px;
  width: 100%; max-width: 430px; max-height: 86vh; overflow-y: auto;
  box-shadow: 0 26px 70px rgba(4, 30, 46, .34);
  transform: translateY(14px) scale(.97); transition: transform .25s;
}
.popup-mask.is-open .popup-box { transform: none; }

.popup-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); color: #445a67;
  font-size: 21px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(10, 40, 60, .16);
  transition: all .18s;
}
.popup-close:hover { background: #fff; color: #0e6e92; transform: rotate(90deg); }

.popup-img { width: 100%; background: var(--brand-soft); }
.popup-img img { width: 100%; max-height: 300px; object-fit: cover; display: block; }

.popup-body { padding: 24px 24px 22px; text-align: center; }
.popup-body h3 { font-size: 19px; margin-bottom: 10px; }
.popup-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; margin-bottom: 20px; }
.popup-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.popup-actions .btn { padding: 10px 20px; font-size: 14.5px; }

body.popup-lock { overflow: hidden; }

@media (max-width: 520px) {
  .popup-mask { padding: 16px; align-items: center; }
  .popup-box { max-width: 100%; border-radius: 14px; }
  .popup-body { padding: 20px 18px 18px; }
  .popup-body h3 { font-size: 17px; }
  .popup-actions { flex-direction: column; }
  .popup-actions .btn { width: 100%; }
  .popup-img img { max-height: 230px; }
}

/* ==========================================================================
   环境与服务：图片网格与灯箱
   ========================================================================== */
.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-item {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  transition: all .25s;
}
.gallery-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cfe3ea; }
.gallery-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover .gallery-thumb img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 12px 16px; font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed; inset: 0; z-index: 520; background: rgba(6, 24, 36, .9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; gap: 14px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-cap { color: rgba(255,255,255,.82); font-size: 14px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff;
  font-size: 24px; cursor: pointer; display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }

@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item figcaption { padding: 8px 10px; font-size: 12.5px; }
  .lightbox { padding: 20px 12px; }
}

/* 来院路线 */
.transit-box {
  margin-top: 26px; padding: 20px 22px;
  background: var(--brand-soft); border: 1px solid #daedf6; border-radius: var(--radius);
}
.transit-box h3 { font-size: 15.5px; margin-bottom: 12px; color: var(--brand-dark); }
.transit-text {
  font-size: 13.8px; line-height: 2; color: var(--ink-2);
  white-space: pre-line; word-break: break-word;
}
@media (max-width: 620px) {
  .transit-box { padding: 16px; }
  .transit-text { font-size: 13px; line-height: 1.9; }
}

/* ==========================================================================
   渠道分组（美团按门店分开展示）
   ========================================================================== */
.channel-groups { display: grid; gap: 22px; }
.channel-group-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 12px; letter-spacing: .5px;
}
.cg-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.cg-meituan { background: #ffc300; }
.cg-other { background: var(--brand); }

/* ==========================================================================
   企业微信引导卡片
   ========================================================================== */
.wecom-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; text-align: center; box-shadow: var(--shadow);
}
.wecom-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  background: linear-gradient(135deg, #1687b0, #34b3e1); color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 600;
}
.wecom-card h2 { font-size: 21px; margin-bottom: 10px; }
.wecom-card > p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 24px; }
.wecom-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.btn-lg { padding: 13px 28px; font-size: 15.5px; }

.wecom-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
  text-align: left;
}
.wecom-step { display: flex; gap: 10px; align-items: flex-start; }
.wecom-step > span {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 600;
}
.wecom-step b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.wecom-step p { font-size: 12.5px; color: var(--ink-3); margin: 0; line-height: 1.6; }

@media (max-width: 700px) {
  .wecom-card { padding: 26px 20px; }
  .wecom-steps { grid-template-columns: 1fr; gap: 12px; }
  .wecom-actions { flex-direction: column; }
  .wecom-actions .btn { width: 100%; }
}

/* 大众点评按钮与分组标识 */
.btn-dianping { background: #ff6633; color: #fff; border-color: #ff6633; }
.btn-dianping:hover { background: #f25422; color: #fff; border-color: #f25422; }
.ch-dianping { border-color: #ffd6c4; }
.ch-dianping:hover { border-color: #ff8a5c; }
.ch-dianping b { color: #e04e1f; }
.cg-dianping { background: #ff6633; }

/* 页脚品牌 logo：原色图 + 白色圆角底衬（深色页脚上更清晰） */
.logo-on-dark {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  line-height: 0;
}
.logo-on-dark img { height: 40px; width: auto; }
@media (max-width: 860px) { .logo-on-dark { padding: 8px 12px; } .logo-on-dark img { height: 34px; } }

/* ==========================================================================
   移动端专用布局（数据与 PC 共用，仅展示形式不同）
   ========================================================================== */

/* ---- 手机底部栏：等宽两按钮，居中 ---- */
.mobile-bar .mb { grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-bar .mb a { width: 100%; justify-self: stretch; }

/* ---- 渠道区：PC 双列分组；移动端紧凑 ---- */
.channel-groups { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
@media (max-width: 1080px) {
  .channel-groups { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .channel-groups { grid-template-columns: 1fr; gap: 18px; }
  .channel-btns { grid-template-columns: 1fr 1fr; display: grid; gap: 8px; }
  .ch-btn { padding: 9px 10px; }
  .ch-btn b { font-size: 13px; }
  .ch-btn span { font-size: 11px; }
}

/* ---- 诊疗项目：移动端图标+文字菜单（一行两个）---- */
@media (max-width: 860px) {
  .svc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .svc-grid .svc-card {
    display: flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 14px 12px; text-align: center;
  }
  .svc-grid .svc-card .icon {
    width: 36px; height: 36px; border-radius: 10px; font-size: 17px;
    margin: 0; flex: 0 0 auto;
  }
  .svc-grid .svc-card h3 { font-size: 13.5px; margin: 0; }
  .svc-grid .svc-card p { display: none; }

  /* 项目列表页卡片：移动端改为一行两个的小卡，隐藏长简介 */
  .svc-grid .card { display: flex; flex-direction: row; align-items: center; }
  .svc-grid .card .card-thumb { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 12px; }
  .svc-grid .card .card-body { flex: 1; padding: 12px 14px; }
  .svc-grid .card .card-body h3 { font-size: 14px; margin-bottom: 0; }
  .svc-grid .card .card-body p { display: none; }
  .svc-grid .card .card-body .card-more { display: none; }

  /* ---- 医生：移动端一行三个小卡 ---- */
  .doctor-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
  .doctor-grid > * { padding: 14px 8px !important; }
  .doctor-grid .doctor-avatar { width: 58px; height: 58px; margin-bottom: 10px; font-size: 22px; }
  .doctor-grid h3 { font-size: 13.5px; }
  .doctor-grid .doctor-title { font-size: 11.5px; margin-bottom: 6px; }
  .doctor-grid .doctor-tags { display: none; }
  .doctor-grid .doctor-card > div[style*="display:flex"] { flex-direction: column !important; align-items: center !important; text-align: center; }
  .doctor-grid .doctor-card > div[style*="display:flex"] .doctor-avatar { margin: 0 auto 10px !important; width: 58px !important; height: 58px !important; }
  .doctor-grid .doctor-card .muted, .doctor-grid .doctor-card p.muted { display: none; }

  /* ---- 门店：移动端紧凑卡 ---- */
  .store-grid { gap: 12px; }
  .store-grid .store-card-body { padding: 16px; }
  .store-grid .store-head { margin-bottom: 10px; }
  .store-grid .store-head h3 { font-size: 15px; }
  .store-grid .store-info { gap: 7px; margin-bottom: 10px; }
  .store-grid .store-info li { font-size: 12.5px; }
  .store-grid .store-actions { flex-wrap: wrap; }
}

/* ---- 修正移动端横向溢出：装饰光圈与统计栏撑宽页面导致右侧裁切 ---- */
body { overflow-x: hidden; }
@media (max-width: 860px) {
  .stats { gap: 8px; }
  .stat { padding: 16px 8px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 11.5px; }
  .svc-grid .svc-card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .quickbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero::before, .hero::after { display: none; }
}

/* 平台团购入口：PC 端一行排列（美团/点评/抖音） */
@media (min-width: 861px) {
  .channel-btns-flat { flex-wrap: nowrap; }
  .channel-btns-flat .ch-btn { flex: 1; min-width: 0; align-items: flex-start; }
  .channel-btns-flat .ch-btn b { font-size: 13.5px; white-space: nowrap; }
  .channel-btns-flat .ch-btn span { font-size: 11.5px; }
}

/* ==========================================================================
   渠道卡片矩阵（PC 重排版）：平台一行三卡，联系方式一行两卡
   ========================================================================== */
.ch-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ch-cards-contact { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.ch-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.ch-card:hover { border-color: #cfe3ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.chc-head { display: flex; align-items: center; gap: 12px; }
.chc-badge {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .5px;
}
.chc-badge-mt { background: #ffc300; color: #5a3d00; }
.chc-badge-dp { background: #ff6633; }
.chc-badge-dy { background: #161823; }
.chc-badge-wc { background: linear-gradient(135deg, #1687b0, #34b3e1); }
.chc-badge-tel { background: var(--brand-light); color: var(--brand-dark); font-size: 18px; }
.chc-titles { min-width: 0; }
.chc-titles b { display: block; font-size: 15.5px; line-height: 1.4; }
.chc-titles span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.chc-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.chc-btn {
  flex: 1; min-width: 90px; text-align: center; font-size: 13px; font-weight: 500;
  padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line);
  color: var(--ink-2); background: #fbfdfd; transition: all .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chc-btn:hover { transform: translateY(-1px); }
.chc-btn-mt { border-color: #ffe08a; color: #8a5f00; background: #fff9e8; }
.chc-btn-mt:hover { background: #fff3d1; color: #6d4a00; }
.chc-btn-dp { border-color: #ffd0bd; color: #c14a22; background: #fff3ee; }
.chc-btn-dp:hover { background: #ffe8df; color: #a03c18; }
.chc-btn-dy { border-color: #d4d6de; color: #161823; background: #f4f5f8; }
.chc-btn-dy:hover { background: #e8eaf0; }
.chc-btn-wc { border-color: #bfe3f2; color: #0e6e92; background: #eef9fd; }
.chc-btn-wc:hover { background: #ddf2fa; }
.chc-btn-tel { border-color: #cfe3ea; color: var(--brand-dark); background: var(--brand-soft); font-size: 14px; }
.chc-btn-tel:hover { background: var(--brand-light); }
.chc-contact .chc-btns { flex-wrap: nowrap; }

@media (max-width: 1080px) {
  .ch-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ch-cards, .ch-cards-contact { grid-template-columns: 1fr; gap: 12px; }
  .ch-card { padding: 16px; gap: 12px; }
  .chc-btn { padding: 10px 12px; font-size: 13.5px; }
}

/* ==========================================================================
   左右翻页轨道（近期活动 / 医生团队）
   ========================================================================== */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-item { scroll-snap-align: start; flex: 0 0 auto; }
/* 活动：一屏两张；医生：一屏三张 */
.campaign-carousel .car-item { width: calc((100% - 22px) / 2); }
.doctor-carousel .car-item { width: calc((100% - 44px) / 3); }
.car-item > .campaign-card, .car-item > .card { height: 100%; }

.car-btn {
  position: absolute; top: 50%; transform: translateY(-60%);
  z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .96);
  color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: all .2s;
}
.car-btn:hover { color: var(--brand-dark); border-color: var(--brand); }
.car-btn.is-disabled { opacity: .35; pointer-events: none; }
.car-prev { left: -16px; }
.car-next { right: -16px; }

/* 移动端：活动一屏一张（露出下一张一角），医生一屏两张，隐藏箭头改用手势 */
@media (max-width: 860px) {
  .car-track { gap: 12px; }
  .campaign-carousel .car-item { width: 82%; }
  .doctor-carousel .car-item { width: calc((100% - 12px) / 2); }
  .car-btn { display: none; }
  .carousel { margin: 0 -16px; }
  .carousel .car-track { padding-left: 16px; padding-right: 16px; }
}

/* 页头 logo 防挤压变形 */
.site-header .logo { flex: 0 0 auto; }
.logo img { height: 42px; width: auto; max-width: 190px; object-fit: contain; flex: 0 0 auto; }
@media (max-width: 860px) { .logo img { height: 34px; max-width: 150px; } }

/* ==========================================================================
   首页紧凑重排版（v1.1）
   ========================================================================== */
.sec-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 26px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.sec-bar-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-bar-l h2 { font-size: 24px; margin: 0; }
.sec-bar-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gp-flag {
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1px;
  background: linear-gradient(120deg, #ff6633, #ff8a5c);
  padding: 3px 10px; border-radius: 6px;
}
.gp-sub { font-size: 13px; color: var(--ink-3); }
.gp-more { font-size: 13.5px; color: var(--brand); white-space: nowrap; }
.gp-more:hover { color: var(--brand-dark); }

/* 团购平台胶囊（区块头右侧） */
.gp-ch {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
  white-space: nowrap; transition: all .18s;
}
.gp-ch:hover { transform: translateY(-1px); }
.gp-ch-mt { border-color: #ffe08a; color: #8a5f00; background: #fff9e8; }
.gp-ch-dp { border-color: #ffd0bd; color: #c14a22; background: #fff3ee; }
.gp-ch-dy { border-color: #d4d6de; color: #161823; background: #f5f6f9; }

/* 团购小卡：一屏 4 张 */
.gp-section { background: linear-gradient(180deg, #fff7f2 0%, #ffffff 100%); }
.gp-carousel .car-item { width: calc((100% - 66px) / 4); }
.gp-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; height: 100%; color: inherit;
  transition: all .22s;
}
.gp-card:hover { border-color: #ffcdb8; box-shadow: var(--shadow-hover); transform: translateY(-3px); color: inherit; }
.gp-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(140deg, #ffe9df, #ffd9c7);
  display: grid; place-items: center;
}
.gp-media > span { font-size: 30px; color: rgba(193, 74, 34, .35); }
.gp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 11px; padding: 2px 8px; border-radius: 5px;
  background: #ff5a2b; color: #fff;
}
.gp-body { padding: 12px 13px 14px; }
.gp-body b { display: block; font-size: 14px; line-height: 1.45; margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-body span { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 医生小卡：一屏 4 位 */
.doctor-carousel .car-item { width: calc((100% - 66px) / 4); }
.doc-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 16px; height: 100%; color: inherit; transition: all .22s;
}
.doc-card:hover { border-color: #bfe0ea; box-shadow: var(--shadow-hover); transform: translateY(-3px); color: inherit; }
.doc-card .doctor-avatar { width: 78px; height: 78px; margin-bottom: 12px; font-size: 30px; }
.doc-card b { font-size: 15.5px; margin-bottom: 3px; }
.dc-title { font-size: 12.5px; color: var(--brand); margin-bottom: 8px; }
.dc-sp {
  font-size: 11.5px; color: var(--ink-3); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 诊疗项目：一行六个小方块 */
.svc-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.svc-tile {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 20px 8px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: inherit; transition: all .2s; text-align: center;
}
.svc-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.svc-tile .st-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand-dark); display: grid; place-items: center; font-size: 18px;
}
.svc-tile b { font-size: 13.5px; font-weight: 500; }

/* 为什么选择：一行四条 */
.why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why-item {
  padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.why-item b { display: block; font-size: 14.5px; margin-bottom: 6px; color: var(--brand-dark); }
.why-item span { font-size: 12.5px; color: var(--ink-3); line-height: 1.65; }

/* 口腔科普：三列横卡 */
.post-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card-h {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; color: inherit; transition: all .22s;
}
.post-card-h:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: inherit; }
.ph-thumb {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #eaf7fc, #d3edf8);
  display: grid; place-items: center; color: var(--brand); font-size: 26px;
  position: relative; overflow: hidden;
}
.ph-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; }
.ph-body b {
  font-size: 14.5px; line-height: 1.5; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ph-sum {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ph-meta { font-size: 11.5px; color: var(--ink-3); margin-top: auto; }

/* 渠道胶囊条（原大卡片矩阵压缩为一行） */
.ch-strip { background: var(--brand-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.ch-strip-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ch-strip-label { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); white-space: nowrap; }
.ch-strip-btns { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chp {
  font-size: 13px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  transition: all .18s; white-space: nowrap;
}
.chp:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10,62,88,.1); }
.chp-mt { border-color: #ffe08a; color: #8a5f00; background: #fff9e8; }
.chp-dp { border-color: #ffd0bd; color: #c14a22; background: #fff3ee; }
.chp-dy { border-color: #d4d6de; color: #161823; background: #f5f6f9; }
.chp-wc { border-color: #bfe3f2; color: #0e6e92; background: #eef9fd; }
.chp-tel { border-color: #cfe3ea; color: var(--brand-dark); background: #fff; font-weight: 600; }

/* 服务页：四列网格 */
.svc-full-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-full-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; color: inherit; transition: all .22s;
}
.svc-full-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #bfe0ea; color: inherit; }
.sf-thumb {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #eaf7fc, #d3edf8);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.sf-thumb .ph { font-size: 30px; opacity: .35; }
.sf-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.sf-cat { font-size: 11.5px; color: var(--brand); background: var(--brand-light); align-self: flex-start; padding: 1px 8px; border-radius: 999px; }
.sf-body h3 { font-size: 15.5px; margin: 2px 0 0; }
.sf-body p { font-size: 12.5px; color: var(--ink-3); margin: 0; flex: 1; line-height: 1.6; }

/* 页脚 */
.footer-addr { font-size: 13px; color: rgba(255,255,255,.5); margin: 10px 0 0; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.fb-row { width: 100%; display: block; }

/* ---- 首页紧凑区块的移动端适配 ---- */
@media (max-width: 1080px) {
  .gp-carousel .car-item, .doctor-carousel .car-item { width: calc((100% - 36px) / 3); }
  .svc-row { grid-template-columns: repeat(3, 1fr); }
  .svc-full-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sec-bar { align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .sec-bar-l h2 { font-size: 19px; }
  .gp-carousel .car-item, .doctor-carousel .car-item { width: calc((100% - 12px) / 2); }
  .svc-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .svc-tile { padding: 14px 4px; }
  .svc-tile b { font-size: 12px; }
  .why-row { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 1fr; }
  .svc-full-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ch-strip-in { gap: 10px; }
  .ch-strip-label { width: 100%; }
  .ch-strip-btns { gap: 6px; }
  .chp { font-size: 12px; padding: 6px 12px; }
}

/* ==========================================================================
   首页网格（修正版）：医生与团购均为一行三个、自动换行
   ========================================================================== */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gp-grid .gp-card, .doc-grid .doc-card { width: 100%; }

@media (max-width: 1080px) {
  .doc-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gp-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .doc-card { padding: 18px 12px; }
  .doc-card .doctor-avatar { width: 64px; height: 64px; font-size: 26px; }
}

/* ==========================================================================
   居中焦点轮播（院内活动 / 医生团队）：中间大图，两侧露出
   ========================================================================== */
.fc-wrap { position: relative; padding: 0 44px; }
.fc-stage {
  position: relative; height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.fc-card {
  position: absolute; top: 50%; left: 50%;
  width: min(600px, 62%); color: inherit; cursor: pointer;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .45s;
  will-change: transform;
}
.fc-inner {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.fc-card.is-mid .fc-inner { box-shadow: var(--shadow-hover); }
.fc-card.is-left  { transform: translate(-124%, -50%) scale(.82); opacity: .5; z-index: 1; }
.fc-card.is-right { transform: translate(24%, -50%) scale(.82); opacity: .5; z-index: 1; }
.fc-card.is-mid   { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.fc-card.is-far-l { transform: translate(-150%, -50%) scale(.68); opacity: 0; z-index: 0; pointer-events: none; }
.fc-card.is-far-r { transform: translate(50%, -50%) scale(.68); opacity: 0; z-index: 0; pointer-events: none; }
.fc-card.is-mid.is-left, .fc-card.is-mid.is-right { }

.fc-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(140deg, #e8f7fd, #cfeaf7); overflow: hidden; }
.fc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-ph { font-size: 46px; color: rgba(14, 110, 146, .3); }
.fc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 12px; padding: 3px 11px; border-radius: 6px;
  background: #ff5a2b; color: #fff;
}
.fc-cap { display: block; padding: 16px 20px 18px; }
.fc-cap b { display: block; font-size: 18px; line-height: 1.45; margin-bottom: 5px; }
.fc-cap span { display: block; font-size: 13px; color: var(--ink-3); }

/* 医生焦点卡 */
.fc-card.fc-card-doc { width: min(300px, 38%); }
.fc-inner.docc {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 22px 26px; gap: 6px;
}
.docc .doctor-avatar { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: linear-gradient(135deg, #dceff8, #bfe3f4); color: var(--brand-dark); display: grid; place-items: center; font-size: 38px; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(10,62,88,.12); }
.docc .doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.docc .dc-name { font-size: 18px; font-weight: 600; }
.docc .dc-title { font-size: 13px; color: var(--brand); }
.docc .dc-sp { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.fc-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 22px; line-height: 1; cursor: pointer; z-index: 5;
  display: grid; place-items: center; box-shadow: var(--shadow); transition: all .18s;
}
.fc-btn:hover { color: var(--brand-dark); border-color: var(--brand); }
.fc-prev { left: 0; }
.fc-next { right: 0; }
.fc-dots { display: flex; gap: 7px; justify-content: center; margin-top: 16px; }
.fc-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cfdde4; cursor: pointer; transition: all .25s; }
.fc-dots button.is-active { background: var(--brand); width: 22px; border-radius: 5px; }

/* 团购平台面板 */
.gp-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gp-panel {
  border-radius: 14px; padding: 22px; border: 1px solid var(--line);
  background: #fff; display: flex; flex-direction: column; gap: 16px;
  transition: all .22s;
}
.gp-panel:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.gp-panel-mt { border-top: 3px solid #ffc300; }
.gp-panel-dp { border-top: 3px solid #ff6633; }
.gp-panel-dy { border-top: 3px solid #161823; }
.gpp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gpp-logo {
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; color: #fff;
}
.gp-panel-mt .gpp-logo { background: #ffc300; color: #5a3d00; }
.gp-panel-dp .gpp-logo { background: #ff6633; }
.gp-panel-dy .gpp-logo { background: #161823; }
.gpp-head b { font-size: 16.5px; }
.gpp-sub { font-size: 12px; color: var(--ink-3); width: 100%; }
.gpp-btns { display: grid; gap: 8px; }
.gpp-btns a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fbfdfd; transition: all .18s;
}
.gpp-btns a b { font-size: 13.5px; font-weight: 500; }
.gpp-btns a span { font-size: 12px; color: var(--brand); white-space: nowrap; }
.gp-panel-mt .gpp-btns a:hover { border-color: #ffd970; background: #fffaf0; }
.gp-panel-dp .gpp-btns a:hover { border-color: #ffb99f; background: #fff5f1; }
.gp-panel-dy .gpp-btns a:hover { border-color: #b9bcc9; background: #f5f6f9; }

@media (max-width: 1080px) {
  .fc-stage { height: 320px; }
  .fc-card { width: 72%; }
  .fc-card.fc-card-doc { width: min(260px, 46%); }
  .fc-card.is-left { transform: translate(-132%, -50%) scale(.74); }
  .fc-card.is-right { transform: translate(32%, -50%) scale(.74); }
  .gp-panels { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .fc-wrap { padding: 0 8px; }
  .fc-stage { height: 260px; }
  .fc-card { width: 86%; }
  .fc-card.is-left, .fc-card.is-right { opacity: .32; }
  .fc-card.is-left { transform: translate(-122%, -50%) scale(.7); }
  .fc-card.is-right { transform: translate(22%, -50%) scale(.7); }
  .fc-btn { width: 32px; height: 32px; font-size: 18px; }
  .fc-cap b { font-size: 15.5px; }
  .fc-card.fc-card-doc { width: min(230px, 66%); }
  .docc { padding: 22px 16px 20px; }
  .docc .doctor-avatar { width: 84px; height: 84px; font-size: 30px; }
  .docc .dc-name { font-size: 16px; }
  .gpp-btns a { padding: 12px 14px; }
}

/* ==========================================================================
   院内活动：海报式焦点卡（无图也不空扁）
   ========================================================================== */
.fc-card.fc-card-poster { width: min(640px, 64%); }
.fc-inner.poster {
  position: relative; display: block; height: 330px; border-radius: 18px;
  overflow: hidden; color: #fff; border: 0;
  background: linear-gradient(128deg, #08496a 0%, #0e6e92 52%, #1687b0 100%);
}
.poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-card-poster .poster-bg + .poster-body::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,40,58,.15) 0%, rgba(6,40,58,.72) 68%, rgba(6,40,58,.86) 100%);
}
.poster-deco { position: absolute; inset: 0; overflow: hidden; }
.no-img .poster-deco { opacity: .9; }
.fc-card-poster:not(.no-img) .poster-deco { opacity: 0; }
.pd-ring {
  position: absolute; right: -60px; top: -70px; width: 230px; height: 230px;
  border-radius: 50%; border: 42px solid rgba(255,255,255,.08);
}
.pd-ring2 { right: 120px; top: 130px; width: 130px; height: 130px; border-width: 26px; opacity: .7; }
.pd-dot {
  position: absolute; right: 46px; bottom: 42px; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(143,230,233,.5), rgba(255,255,255,.05) 70%);
}
.poster-body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 26px 30px 24px;
}
.poster-top { display: flex; align-items: center; gap: 10px; margin-bottom: auto; padding-bottom: 12px; }
.poster-kicker {
  font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.85);
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
}
.fc-badge2 {
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: #ff5a2b; color: #fff; box-shadow: 0 4px 12px rgba(255,90,43,.4);
}
.poster-title { font-size: 25px; line-height: 1.35; font-weight: 700; letter-spacing: .3px; text-shadow: 0 2px 12px rgba(3,26,40,.35); }
.poster-sub { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 7px; max-width: 480px; }
.poster-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.poster-chips em {
  font-style: normal; font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #eaf8fd;
}
.poster-cta {
  margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #08496a;
  background: #fff; padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(3,26,40,.25); transition: transform .2s;
}
.fc-card-poster:hover .poster-cta { transform: translateX(3px); }

@media (max-width: 1080px) {
  .fc-card.fc-card-poster { width: 74%; }
  .fc-inner.poster { height: 300px; }
  .poster-title { font-size: 21px; }
}
@media (max-width: 860px) {
  .fc-card.fc-card-poster { width: 88%; }
  .fc-stage { height: 300px; }
  .fc-inner.poster { height: 268px; }
  .poster-body { padding: 18px 18px 16px; }
  .poster-title { font-size: 18.5px; }
  .poster-sub { font-size: 12.5px; }
  .poster-chips { display: none; }
  .poster-cta { margin-top: 12px; font-size: 12.5px; padding: 7px 14px; }
}

/* ==========================================================================
   口腔科普：六分类切换面板
   ========================================================================== */
.kb-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.kb-tab {
  padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 14px; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.kb-tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.kb-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.kb-panel { display: none; }
.kb-panel.is-active { display: block; animation: fadeUp .35s ease; }
.kb-more { margin-top: 18px; text-align: right; }
.kb-more a { font-size: 13.5px; color: var(--brand); }
.kb-more a:hover { color: var(--brand-dark); }
@media (max-width: 860px) {
  .kb-tabs { gap: 8px; }
  .kb-tab { padding: 8px 16px; font-size: 13px; }
}

/* ---- 优惠活动列表：每行两个 ---- */
.camp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.camp-grid .campaign-card { grid-template-columns: 1fr; }
.camp-grid .cc-media { min-height: 170px; }
.camp-grid .cc-body { padding: 22px 24px 24px; }
.camp-grid .campaign-card h3 { font-size: 18px; }
@media (max-width: 860px) {
  .camp-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v4：banner 背景图 / 六分类带图卡片 / 项目页区块化 / 活动三列
   ========================================================================== */
/* banner 背景图（后台横幅 image 字段） */
.hero-slide { position: relative; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,42,62,.86) 0%, rgba(6,42,62,.55) 48%, rgba(6,42,62,.18) 100%); }
.hero-slide.has-img .hero-inner { position: relative; z-index: 2; }
.hero-slide.has-img .hero-dots { position: relative; z-index: 2; }

/* 六分类带图卡片 */
.svc-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.svc-cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: all .25s; color: inherit; }
.svc-cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cfe3e6; }
.scc-media { aspect-ratio: 16/9; overflow: hidden; background: var(--brand-soft); }
.scc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-cat-card:hover .scc-media img { transform: scale(1.04); }
.scc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.scc-body b { font-size: 18px; }
.scc-body > span { font-size: 13px; color: var(--ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scc-go { color: var(--brand); font-size: 13px; font-weight: 600; margin-top: 4px; }
@media (max-width: 1080px) { .svc-cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .svc-cat-grid { grid-template-columns: 1fr; } }

/* 项目详情页首屏：左文右图 */
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.svc-hero-media { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 44px rgba(3,25,38,.35); }
.svc-hero-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; } .svc-hero-media { order: -1; } }

/* 项目正文区块化：重点突出 */
.svc-body h3 { font-size: 19px; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.svc-body > p:first-child { font-size: 16px; color: var(--ink-2); }
.fit-box { background: var(--brand-soft); border: 1px solid #d6eaf2; border-radius: 14px; padding: 20px 22px; margin: 18px 0 8px; }
.fit-box h3 { margin: 0 0 14px; padding: 0; border: 0; font-size: 17px; }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-col b { display: block; font-size: 14px; margin-bottom: 8px; }
.fit-yes b { color: #1d7a52; }
.fit-wait b { color: #8a6516; }
.fit-col ul { margin: 0; padding-left: 1.2em; }
.fit-col li { font-size: 13.5px; color: var(--ink-2); margin-bottom: 5px; }
@media (max-width: 640px) { .fit-cols { grid-template-columns: 1fr; } }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 14px 0 8px; }
.sub-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.sub-item b { display: block; font-size: 14.5px; margin-bottom: 4px; color: var(--brand-dark); }
.sub-item span { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 640px) { .sub-grid { grid-template-columns: 1fr; } }
.flow-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; counter-reset: fs; }
.flow-step { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px 8px 8px; }
.flow-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: 0 0 auto; }
.flow-step b { font-size: 13.5px; font-weight: 500; }
.svc-faq-list { display: grid; gap: 10px; margin: 14px 0 8px; }
.svc-faq-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px; transition: all .2s; color: inherit; }
.svc-faq-item:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(22,135,176,.12); }
.faq-arrow { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.svc-faq-item b { flex: 1; font-size: 14px; font-weight: 500; }
.faq-go { font-size: 12.5px; color: var(--brand); flex: 0 0 auto; }
.side-list a.is-on { color: var(--brand-dark); font-weight: 600; }

/* 优惠活动：一行三个 */
.camp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; }
.camp-grid .cc-media { min-height: 140px; }
.camp-grid .cc-body { padding: 18px 20px 20px; }
.camp-grid .campaign-card h3 { font-size: 16.5px; }
.camp-grid .highlights { margin: 10px 0 14px; gap: 6px; }
.camp-grid .highlights li { font-size: 13px; }
@media (max-width: 1080px) { .camp-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 640px) { .camp-grid { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   v5：分页拖拽轮播 / 专题页 / 分类卡专题入口
   ========================================================================== */
.page-car { position: relative; padding: 0 46px; }
.pc-viewport { overflow: hidden; }
.pc-track { display: flex; transition: transform .45s ease; cursor: grab; }
.pc-track.is-drag { transition: none; cursor: grabbing; }
.pc-slide { flex: 0 0 calc(100% / 3); min-width: 0; padding: 0 11px; box-sizing: border-box; }
.pc-slide .card, .pc-slide .campaign-card { height: 100%; }
.camp-track .campaign-card { grid-template-columns: 1fr; }
.camp-track .cc-media { min-height: 140px; }
.camp-track .cc-body { padding: 18px 20px 20px; }
.camp-track .campaign-card h3 { font-size: 16.5px; }
.pc-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.96); color: var(--ink-2);
  font-size: 20px; line-height: 1; cursor: pointer; transition: all .2s; }
.pc-btn:hover { border-color: var(--brand); color: var(--brand); }
.pc-prev { left: 0; }
.pc-next { right: 0; }
.pc-dots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.pc-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #cfdde4; cursor: pointer; transition: all .25s; }
.pc-dots button.is-active { background: var(--brand); width: 18px; border-radius: 4px; }
@media (max-width: 1080px) { .pc-slide { flex-basis: 50%; } }
@media (max-width: 640px) { .pc-slide { flex-basis: 100%; } .page-car { padding: 0 34px; } }


/* 问答更多文章入口 */
.svc-faq-more { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
.svc-faq-more:hover { text-decoration: underline; }

/* v5b：轮播每屏两行六卡（3列x2行） */
.pc-track { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc(100% / 3); }
.pc-slide { flex: none; width: auto; }
@media (max-width: 1080px) { .pc-track { grid-auto-columns: 50%; } }
@media (max-width: 640px) { .pc-track { grid-auto-columns: 100%; } }

/* v6：轮播两行间隔 */
.pc-track { row-gap: 22px; }

/* ==========================================================================
   v9：哀悼模式全站灰度 / 深色模式
   ========================================================================== */
html.mourning { filter: grayscale(1); }
/* 深色模式：变量覆盖 + 硬编码白色修正 */
html.dark {
  --brand: #4cc3ea; --brand-dark: #8fdcf7; --brand-deep: #0b3348;
  --brand-light: #123a4d; --brand-soft: #0f2e3d;
  --ink: #e8f1f6; --ink-2: #c3d4dd; --ink-3: #8fa6b2;
  --line: #24404e; --bg: #0d1a22; --bg-2: #10222c;
  --shadow: 0 10px 30px rgba(0,0,0,.4); --shadow-hover: 0 18px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}
html.dark .site-header { background: rgba(13,26,34,.94); }
html.dark .card, html.dark .campaign-card, html.dark .svc-cat-card, html.dark .sub-item,
html.dark .flow-step, html.dark .svc-faq-item, html.dark .side-card, html.dark .pc-btn,
html.dark .m-ch-row2, html.dark .popup-box, html.dark .quickbar, html.dark .kb-tab,
html.dark .chp, html.dark .empty { background: #12242e; border-color: var(--line); color: var(--ink); }
html.dark .ch-strip { background: var(--bg-2); }
html.dark .fit-box { background: var(--brand-soft); border-color: var(--line); }
html.dark .article-body table th, html.dark .article-body table td { border-color: var(--line); }
html.dark .btn-ghost { background: #12242e; border-color: var(--line); color: var(--ink-2); }
html.dark .theme-toggle { border-color: var(--line); background: #12242e; color: #ffd76a; }
html.dark img { opacity: .92; }
/* 深色切换按钮 */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 17px; cursor: pointer; transition: all .2s; flex: 0 0 auto; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* v9b：哀悼灰度双保险 + 深色对比修正 */
html.mourning body { filter: grayscale(1); }
html.dark .mac-media, html.dark .cm-media, html.dark .mdc-avatar, html.dark .r-thumb,
html.dark .doctor-avatar, html.dark .ph-thumb { background: linear-gradient(140deg, #12303f, #0f2e3d); color: rgba(140,190,215,.5); }
html.dark .mbtn-primary, html.dark .btn-primary { color: #06283a; }
html.dark .mac-badge, html.dark .badge { filter: saturate(.85); }

/* v9c：深色下六格项目卡 */
html.dark .svc-tile { background: #12242e; border-color: var(--line); color: var(--ink); }
html.dark .svc-tile .st-icon { background: var(--brand-light); color: var(--brand-dark); }

/* ---------- 视频封面点击播放 ---------- */
.vp { position: relative; cursor: pointer; background: #000; }
.vp .vp-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.vp .vp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(8, 73, 106, .78); color: #fff; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.vp .vp-play span { font-size: 22px; margin-left: 4px; }
.vp:hover .vp-play { background: var(--brand); transform: translate(-50%, -50%) scale(1.06); }
.vp.is-playing { cursor: default; }
.vp video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }

/* ---------- 深色模式补全：白底与蓝底全部覆盖 ---------- */
html.dark .hero { background: linear-gradient(125deg, #0a161d 0%, #0e222b 45%, #12303c 100%); }
html.dark .page-hero { background: linear-gradient(125deg, #0e222b, #12303c); }
html.dark .cta-band { background: linear-gradient(125deg, #0e222b, #12303c); }
html.dark .logo-mark { background: linear-gradient(135deg, #12303f, #0f2e3d); color: #7cc7e8; }
html.dark .card-thumb, html.dark .pc-thumb, html.dark .sf-thumb, html.dark .fc-media,
html.dark .gp-media, html.dark .ph-thumb, html.dark .r-thumb { background: linear-gradient(140deg, #12303f, #0f2e3d); color: rgba(140,190,215,.5); }
html.dark .form-wrap, html.dark .input, html.dark .textarea, html.dark .select,
html.dark .gallery-item, html.dark .wecom-card, html.dark .ch-card, html.dark .gp-card,
html.dark .gp-panel, html.dark .gpp-btns a, html.dark .why-item, html.dark .m-card,
html.dark .notice-warn, html.dark .transit-box, html.dark .map-box, html.dark .info-list li,
html.dark .kb-panel, html.dark .post-card, html.dark .channel-band, html.dark .mobile-bar,
html.dark .float-service a, html.dark .pc-dots button, html.dark .fc-dots button { background: #12242e; border-color: var(--line); color: var(--ink); }
html.dark .gp-section { background: var(--bg-2); }
html.dark .gp-panel-mt .gpp-btns a:hover, html.dark .gp-panel-dp .gpp-btns a:hover { background: #16303c; }
html.dark .chp-mt, html.dark .gp-ch-mt, html.dark .chc-btn-mt { background: #2e2a1a; color: #ffd76a; border-color: #6b5a26; }
html.dark .chp-dp, html.dark .gp-ch-dp, html.dark .chc-btn-dp { background: #2e211c; color: #ff9a76; border-color: #6b3a2a; }
html.dark .chp-tel { background: #12242e; color: #7cc7e8; border-color: var(--line); }
html.dark .hero-tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
html.dark .hero .btn-primary, html.dark .cta-band .btn-primary { background: #35b3e1; color: #06283a; }
html.dark .btn-wecom { background: #12303c; border-color: #1d4a5c; color: #7cc7e8; }
html.dark .fc-card-poster .poster-deco .pd-ring { border-color: rgba(124,199,232,.25); }
html.dark .video-card b { color: var(--ink); }
html.dark .m-tag { background: #12303c; color: #7cc7e8; border-color: #1d4a5c; }
html.dark .tag { background: #12303c; color: #7cc7e8; border-color: #1d4a5c; }
html.dark .side-cta { background: linear-gradient(150deg, #0e222b, #12303c); }
html.dark .notice-warn { color: #ffd76a; }
html.dark .mfs3-meta, html.dark .footer-muted { color: var(--ink-3); }

/* ---------- 视频播放按钮叠放画面居中 ---------- */
.video-frame.vp { position: relative; }
.vp .vp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.vp .vp-cover { position: relative; z-index: 1; }
.video-grid .video-card b { display: block; margin-top: 10px; font-size: 14px; }

/* ---------- 深色模式：焦点轮播与海报卡 ---------- */
html.dark .fc-card-doc, html.dark .fc-inner.docc { background: #12242e; color: var(--ink); }
html.dark .fc-card-doc .dc-name { color: var(--ink); }
html.dark .fc-card-doc .dc-title { color: #7cc7e8; }
html.dark .fc-card-doc .dc-sp { color: var(--ink-3); }
html.dark .docc .doctor-avatar { border-color: #1d3440; background: linear-gradient(140deg, #12303f, #0f2e3d); color: rgba(140,190,215,.6); }
html.dark .fc-btn { background: #12242e; border-color: var(--line); color: #dce8ef; }
html.dark .fc-inner.poster { background: linear-gradient(128deg, #0a161d 0%, #0e222b 52%, #12303c 100%); }
html.dark .poster-cta { background: #16303c; color: #7cc7e8; }
html.dark .poster-chips em { background: rgba(124,199,232,.12); color: #9fd4ea; border-color: rgba(124,199,232,.25); }
html.dark .fc-badge2 { filter: saturate(.8); }
html.dark .fc-dots button { background: #2a4450; }
html.dark .fc-dots button.is-active { background: #35b3e1; }
html.dark .docc .dc-name { color: var(--ink); }
html.dark .docc .dc-title { color: #7cc7e8; }
html.dark .docc .dc-sp { color: var(--ink-3); }

/* ---------- 播放器锁定卡片尺寸 + 关闭按钮 ---------- */
.vp { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.vp .vp-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vp .vp-close { position: absolute; top: 8px; right: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(6,30,44,.72); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.vp .vp-close:hover { background: rgba(6,30,44,.92); }
.vp:not(.is-playing):hover .vp-play { background: var(--brand); }

/* ---------- AI 生成示意角标 ---------- */
.scc-media, .svc-hero-media { position: relative; }
.ai-note { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 10.5px; color: rgba(23,42,53,.6); background: rgba(255,255,255,.68); padding: 2px 8px; border-radius: 6px; letter-spacing: .5px; pointer-events: none; }
html.dark .ai-note { color: rgba(220,232,239,.7); background: rgba(13,26,34,.6); }

/* ---------- 贝臣标准 · 深蓝金高级展示 ---------- */
.std-band { background: linear-gradient(160deg, #081c26 0%, #0d2836 55%, #12303c 100%); padding: 64px 0; color: #e8d9b8; }
.std-head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.std-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 4px; color: #c9a86a; border: 1px solid rgba(201,168,106,.45); padding: 5px 16px; border-radius: 999px; margin-bottom: 16px; }
.std-head h2 { color: #f0e2c4; font-size: 28px; margin-bottom: 10px; letter-spacing: 1px; }
.std-head p { color: rgba(232,217,184,.72); font-size: 14px; }
.std-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.std-item { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(201,168,106,.35); background: rgba(255,255,255,.03); border-radius: 12px; padding: 14px 16px; transition: all .2s; }
.std-item:hover { border-color: rgba(201,168,106,.7); background: rgba(201,168,106,.08); }
.std-item i { font-style: normal; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; color: #c9a86a; min-width: 32px; }
.std-item b { font-size: 15px; color: #f0e2c4; font-weight: 600; letter-spacing: .5px; }
.std-nine { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 28px; }
.std-nine-t { color: #c9a86a; font-size: 14px; letter-spacing: 3px; margin-right: 6px; }
.std-chip { border: 1px solid rgba(201,168,106,.5); color: #e8d9b8; font-size: 13px; padding: 6px 16px; border-radius: 999px; }
@media (max-width: 900px) { .std-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- 页脚品牌区居中：口号居中于logo正下方 ---------- */
.footer-brand { text-align: center; }
.footer-brand .logo { display: flex; justify-content: center; margin-bottom: 10px; }
.footer-brand .footer-addr { text-align: center; }

/* ---------- 修复：vp 容器清除旧式16:9占位padding，封面贴顶无黑边 ---------- */
.vp, .video-frame.vp { padding-top: 0 !important; }

/* ---------- 封面绝对定位显式贴顶 ---------- */
.vp .vp-cover { top: 0; left: 0; right: 0; bottom: 0; }
.vp video { top: 0; left: 0; }

/* ---------- 封面清除正文img继承margin，彻底贴顶 ---------- */
.vp .vp-cover, .vp video { margin: 0 !important; }

/* ---------- 六格分类图标（图片版） ---------- */
.svc-tile .st-icon { width: 64px; height: 64px; border-radius: 14px; background: #fbfeff; object-fit: cover; }
html.dark .svc-tile .st-icon { background: #f2f8fb; }

/* ---------- 医生竖版照片卡（防变形） ---------- */
.doc-photo { width: 150px; height: 200px; border-radius: 14px; overflow: hidden; flex: 0 0 auto; background: linear-gradient(135deg, #dceff8, #bfe3f4); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.doc-photo .doc-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 44px; color: #7c909c; }
.doc-photo-lg { width: 210px; height: 280px; }
.doc-photo-lg .doc-ph { font-size: 64px; }
html.dark .doc-photo { background: #12303f; }
@media (max-width: 1080px) { .doc-photo { width: 120px; height: 160px; } }

/* ---------- 医生卡整链区域 ---------- */
.doc-card-link { color: inherit; text-decoration: none; cursor: pointer; }
.doc-card-link:hover h3 { color: var(--brand-dark); }

/* ---------- 活动卡修复：单行三张 + 整卡可点 ---------- */
.pc-track.camp-track { display: flex; }
.pc-track.camp-track .pc-slide { flex: 0 0 calc(100% / 3); }
@media (max-width: 1080px) { .pc-track.camp-track .pc-slide { flex-basis: 50%; } }
@media (max-width: 640px) { .pc-track.camp-track .pc-slide { flex-basis: 100%; } }
.camp-card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.camp-card-link:hover h3 { color: var(--brand-dark); }
.camp-track .campaign-card .cc-body { padding: 16px 20px 20px; }
.camp-track .campaign-card .cc-top-part { padding-bottom: 4px; }
.camp-track .campaign-card .cc-rest-part { padding-top: 2px; }

/* ---------- 首页活动海报：有封面图时纯图展示，不压文字与遮罩 ---------- */
.poster-hidden { display: none; }

/* ---------- v2021-fix：轨道统一单行三张（医生/活动同规） ---------- */
.pc-track { display: flex !important; }
.pc-slide { flex: 0 0 calc(100% / 3) !important; width: auto !important; }
@media (max-width: 1080px) { .pc-slide { flex-basis: 50% !important; } }
@media (max-width: 640px) { .pc-slide { flex-basis: 100% !important; } }

/* ---------- 首页纯图轮播（PC） ---------- */
.hero-img-wrap { position: relative; width: 100%; background: #08496a; }
.hero-img-slides { position: relative; width: 100%; }
.hero-img-slide { display: none; line-height: 0; }
.hero-img-slide.is-active { display: block; animation: heroFade .6s ease; }
@keyframes heroFade { from { opacity: .35; } to { opacity: 1; } }
.hero-img-slide img { width: 100%; height: auto; display: block; aspect-ratio: 1920 / 800; object-fit: cover; }
.hero-img-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 8px; justify-content: center; }
.hero-img-dots button { width: 26px; height: 4px; border-radius: 2px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.45); transition: all .25s; }
.hero-img-dots button.is-active { background: #fff; width: 40px; }
@media (max-width: 860px) {
  .hero-img-slide img { aspect-ratio: auto; max-height: 72vh; object-fit: contain; }
}

/* ---------- v2155：横幅高度收窄（PC 限高，避免占满一屏） ---------- */
.hero-img-slide img { max-height: 44vh; }
.hero-img-dots { bottom: 10px; }
@media (max-width: 860px) { .hero-img-slide img { max-height: none; } }

/* ---------- v22b：PC banner 与移动统一：整图显示不裁切，按 2.4:1 设计 ---- */
.hero-img-slide img { max-height: none !important; aspect-ratio: auto !important; object-fit: initial !important; width: 100%; height: auto; }

/* ---------- v22c：PC banner 限高横带 + 整图居中，不裁切 ---------- */
.hero-img-wrap { background: linear-gradient(135deg, #081c26 0%, #12455c 100%); }
.hero-img-slide img { max-height: none; aspect-ratio: auto; object-fit: initial; }
@media (min-width: 861px) {
  .hero-img-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 40vh;
    margin: 0 auto;
    display: block;
  }
}
.hero-img-dots { bottom: 92px; }

/* ---------- v22d：修正 v22b 的 !important，使 PC 限高生效（整图居中不裁切） ---------- */
@media (min-width: 861px) {
  .hero-img-slide img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 40vh !important;
    margin: 0 auto !important;
    display: block !important;
    aspect-ratio: auto !important;
    object-fit: initial !important;
  }
}

/* ---------- v22e：banner 统一规则——两端通栏铺开、按图片比例等比、零裁切（设计比例 4:1） ---------- */
.hero-img-slide img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  object-fit: initial !important;
  display: block !important;
}

/* ---------- v23：视频卡黑边修复——容器底色改页面色，封面强制铺满 ---------- */
.video-frame, .vp, .video-frame.vp { background: #eef4f7; }
.vp .vp-cover { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.video-grid .video-card { background: var(--card, #fff); border-radius: 16px; }

/* ---------- v27：环境画廊固定统一比例，首图不再超高 ---------- */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
}
.gallery-item { grid-column: auto !important; }
.gallery-thumb { aspect-ratio: 4 / 3 !important; height: auto !important; }
.gallery-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
@media (max-width: 1080px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr !important; } }


/* ================= v30 ================= */
/* PC：banner 下方悬浮菜单导航条（参考稿同款：深色圆角、图标+文字） */
.hero-img-wrap { position: relative; }
.catnav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 0 20px; pointer-events: none; }
.catnav-in { pointer-events: auto; max-width: var(--max); margin: 0 auto; display: flex; justify-content: center; gap: 2px; background: linear-gradient(180deg, rgba(14,110,146,.62) 0%, rgba(8,73,106,.82) 100%); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border-radius: 14px 14px 0 0; padding: 6px 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.catnav-item { display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,.92); padding: 9px 20px; border-radius: 10px; transition: all .2s; }
.catnav-item img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,.9); }
.catnav-item span { font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
.catnav-item:hover { background: rgba(255,255,255,.14); color: #fff; }
.catnav-all { justify-content: center; min-width: 78px; }
.catnav-all span { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 1080px) { .catnav { display: none; } }


/* ================= 团购内页 ================= */
.gb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.gb-step { position: relative; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.gb-step i { position: absolute; top: -12px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(22,135,176,.35); }
.gb-step b { display: block; font-size: 15.5px; margin: 6px 0 3px; }
.gb-step span { font-size: 12.5px; color: var(--ink-3); }
.gb-platform { margin-bottom: 30px; }
.gb-ph { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.gb-ph h2 { font-size: 20px; margin: 0; }
.gb-flag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 7px; align-self: center; }
.gb-flag-mt { background: #ffc300; color: #6b4e00; }
.gb-flag-dp { background: #ff6633; color: #fff; }
.gb-flag-dy { background: #161823; color: #fff; }
.gb-sub { font-size: 12.5px; color: var(--ink-3); }
.gb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gb-grid-one { grid-template-columns: 1fr; }
.gb-card { display: flex; flex-direction: column; gap: 8px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 20px 24px; color: inherit; transition: all .22s; position: relative; overflow: hidden; }
.gb-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.gb-card-mt::before { background: #ffc300; }
.gb-card-dp::before { background: #ff6633; }
.gb-card-dy::before { background: #161823; }
.gb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.gb-badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 6px; }
.gb-badge-mt { background: #fff6dd; color: #8a5f00; }
.gb-badge-dp { background: #ffefe8; color: #c14a22; }
.gb-badge-dy { background: #eceef2; color: #161823; }
.gb-store { font-size: 17px; }
.gb-addr { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.gb-meta { font-size: 12.5px; color: var(--ink-3); }
.gb-go { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
@media (max-width: 720px) { .gb-grid, .gb-steps { grid-template-columns: 1fr; } }
