/* ==========================================================================
   培正骨科（北京培正诊所）官网样式表
   色彩系统：主色取自 LOGO 绿 #1E904A，强调色 #F2873B，深墨 #12352A
   ========================================================================== */

:root {
  --green: #1E904A;
  --green-dark: #167038;
  --green-deep: #0F5530;
  --green-soft: #E8F4EC;
  --green-line: #CFE6D8;
  --accent: #F2873B;
  --accent-soft: #FDF1E5;
  --ink: #12211A;
  --ink-2: #2C3A33;
  --text: #3D4A44;
  --muted: #6B7A73;
  --line: #E3E9E5;
  --bg: #FFFFFF;
  --bg-soft: #F5F9F6;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 4px rgba(18, 53, 42, .04), 0 10px 28px rgba(18, 53, 42, .07);
  --shadow-lg: 0 4px 8px rgba(18, 53, 42, .05), 0 20px 48px rgba(18, 53, 42, .11);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-dark); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
svg.ic { flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部信息栏 ---------------- */
.topbar { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); }

.infobar { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--green-soft), #fff 62%); }
.infobar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt b { font-size: 19px; color: var(--ink); letter-spacing: .5px; font-weight: 700; }
.brand-txt i { font-style: normal; font-size: 12.5px; color: var(--muted); }

.infobar-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--green-deep);
  background: #fff; border: 1px solid var(--green-line);
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(30, 144, 74, .07);
}
.infobar-phone:hover { color: #fff; background: var(--green); border-color: var(--green); }

/* ---------------- 主导航 ---------------- */
.navbar { background: #fff; border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }

.nav-list { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 15px 16px; font-size: 15.5px; color: var(--ink-2); font-weight: 500;
  border-bottom: 3px solid transparent; transition: all .18s var(--ease);
}
.nav-item > a:hover, .nav-item > a.active { color: var(--green-deep); border-bottom-color: var(--green); }
.nav-item .caret { opacity: .5; transition: transform .2s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .2s var(--ease); z-index: 60;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 9px 14px; font-size: 14.5px; color: var(--text); border-radius: 6px;
}
.submenu a:hover { background: var(--green-soft); color: var(--green-deep); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--green-dark); background: var(--green-soft); border: 1px solid var(--green-line);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 30px; letter-spacing: .3px; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }

h3.section-title { font-size: 23px; margin-bottom: 14px; }
.section p { color: var(--text); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.two-col h2 { font-size: 20px; margin: 26px 0 10px; padding-left: 12px; border-left: 3px solid var(--green); }
.two-col h2:first-child { margin-top: 0; }
.two-col > div > p { margin-bottom: 4px; }

.tick-list { margin-top: 8px; display: grid; gap: 9px; }
.tick-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; }
.tick-list li svg { color: var(--green); margin-top: 4px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding-top: 18px; padding-bottom: 4px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { margin: 0 7px; color: #B9C4BE; }

/* ---------------- 页面头图 ---------------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green) 55%, #2BA85C);
  color: #fff; padding: 58px 0 62px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.page-hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .28);
  padding: 5px 13px; border-radius: 999px; font-size: 13px; margin-bottom: 14px;
}
.page-hero h1 { font-size: 36px; color: #fff; letter-spacing: .5px; }
.page-hero p { margin-top: 13px; font-size: 16.5px; color: rgba(255, 255, 255, .9); max-width: 760px; }

/* ---------------- 首页首屏 ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D4A28 0%, var(--green-deep) 34%, var(--green) 78%, #2FA85E 100%);
  color: #fff; padding: 76px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.13), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,.08), transparent 42%);
}
.hero::after {
  content: ""; position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; opacity: .13;
  background: currentColor; -webkit-mask: none; mask: none;
  border: 24px solid rgba(255,255,255,.5); border-radius: 40px; transform: translateY(-50%) rotate(45deg);
  display: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.hero-badge { margin-bottom: 18px; }
.hero h1 { font-size: 42px; line-height: 1.28; color: #fff; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #FFD9A8; }
.hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.9); max-width: 620px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.72); }

.hero-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px; padding: 28px 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-card .kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.22); font-size: 14.5px; }
.hero-card .kv:last-child { border-bottom: 0; }
.hero-card .kv span { color: rgba(255,255,255,.72); }
.hero-card .kv b { color: #fff; font-weight: 600; text-align: right; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease);
  min-height: 46px; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242, 135, 59, .3); }
.btn-primary:hover { background: #dd7529; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242, 135, 59, .36); }
.btn-ghost { background: #fff; color: var(--green-deep); border-color: var(--green-line); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-deep); border-color: var(--green); }
.hero .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------------- 数据信任区 ---------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-line); }
.stat b { display: block; font-size: 34px; color: var(--green-deep); line-height: 1.15; font-weight: 700; }
.stat b i { font-style: normal; font-size: 17px; color: var(--green); margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------------- 卡片网格 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.col-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-line); }
.card-ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep); margin-bottom: 16px;
}
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 600; color: var(--green-dark); }
.card .more svg { transition: transform .2s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12.5px; color: var(--green-dark); background: var(--green-soft);
  border: 1px solid var(--green-line); padding: 3px 10px; border-radius: 999px;
}

/* ---------------- 信息卡 / 表单 ---------------- */
.info-card {
  background: #fff; border: 1px solid var(--green-line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: sticky; top: 96px;
}
.info-card h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--green-deep); }
.info-card h3 svg { color: var(--green); }
.info-card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

.lead-form { display: grid; gap: 11px; }
.lead-form input {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 46px;
}
.lead-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 144, 74, .13); }
.lead-form input[aria-invalid="true"] { border-color: #D9534F; }
.form-tip { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------------- 相关推荐 ---------------- */
.rel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rel-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all .22s var(--ease); color: var(--ink);
}
.rel-card:hover { transform: translateY(-3px); border-color: var(--green-line); box-shadow: var(--shadow-lg); }
.rel-ic {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--green-soft); color: var(--green-deep);
}
.rel-card b { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.rel-card i {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
  font-style: normal; font-size: 13.5px; color: var(--green-dark); font-weight: 600;
}

/* ---------------- 强转化区 ---------------- */
.strong-cta { background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; padding: 60px 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.cta-left h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.cta-left > p { color: rgba(255,255,255,.9); font-size: 16px; }
.cta-perks { margin-top: 20px; display: grid; gap: 10px; }
.cta-perks li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #fff; }
.cta-perks svg { color: #9BE0B4; }
.cta-right { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 16px; padding: 24px 22px; }
.cta-phone { display: flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.cta-phone a { color: #fff; font-size: 25px; font-weight: 700; letter-spacing: .5px; }
.cta-right .lead-form input { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.96); }
.cta-right .form-tip { color: rgba(255,255,255,.75); }

/* ---------------- 时间轴 / 团队 ---------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--green-line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-line);
}
.tl-item h3 { font-size: 17px; margin-bottom: 6px; }
.tl-item h3 span { font-size: 14px; color: var(--green-dark); margin-right: 10px; font-weight: 700; }
.tl-item p { font-size: 15px; color: var(--muted); }

.team-card { text-align: center; }
.team-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep);
}
.team-card h3 { font-size: 19px; }
.team-card .role { font-size: 13.5px; color: var(--green-dark); font-weight: 600; margin: 5px 0 10px; }
.team-card p { font-size: 14.5px; color: var(--muted); text-align: left; }
.team-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* 主诊医师形象照 */
.doctor-card { text-align: left; }
.doctor-card .doctor-photo { margin: 0 0 18px; }
.doctor-card .doctor-photo img {
  width: 100%; max-width: 320px; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); display: block; margin: 0 auto;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.doctor-card h3, .doctor-card .role { text-align: center; }
.doctor-card .tags { justify-content: flex-start; }

/* 学术成果清单 */
.ach-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px;
}
.ach-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px; box-shadow: var(--shadow);
}
.ach-list li b { display: block; font-size: 15px; color: var(--green-dark); margin-bottom: 4px; }
.ach-list li span { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: flex-start; gap: 12px;
  font-size: 16.5px; font-weight: 600; color: var(--ink); transition: background .18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--green-soft); }
.faq-item summary::after {
  content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--green-dark);
  line-height: 1; flex: none; transition: transform .22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .qa { padding: 0 22px 20px 22px; font-size: 15.5px; color: var(--text); }
.faq-item .qa p { margin-top: 10px; }

/* ---------------- 案例页 ---------------- */
.case-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.case-block h2 { font-size: 22px; margin-bottom: 20px; }
.case-block h3 { font-size: 16px; color: var(--green-deep); margin: 18px 0 7px; display: flex; align-items: center; gap: 7px; }
.case-block h3::before { content: ""; width: 4px; height: 15px; background: var(--green); border-radius: 2px; }
.case-block p { font-size: 15.5px; }
.case-note { margin-top: 18px; padding: 13px 16px; background: var(--bg-soft); border-left: 3px solid var(--green-line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; color: var(--muted); }

/* ---------------- 资讯 ---------------- */
.news-item { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: all .22s var(--ease); }
.news-item:hover { transform: translateY(-3px); border-color: var(--green-line); box-shadow: var(--shadow-lg); }
.news-date { flex: none; width: 78px; text-align: center; padding: 10px 6px; background: var(--green-soft); border-radius: var(--radius-sm); height: fit-content; }
.news-date b { display: block; font-size: 22px; color: var(--green-deep); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--green-dark); }
.news-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.news-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.news-meta a { color: var(--green-dark); font-weight: 600; }

.article { max-width: 860px; margin: 0 auto; }
.article h2 { font-size: 21px; margin: 32px 0 12px; padding-left: 13px; border-left: 3px solid var(--green); }
.article p { font-size: 16px; line-height: 1.9; margin-bottom: 14px; color: var(--text); }
.article .lead { font-size: 17px; color: var(--ink-2); background: var(--green-soft); padding: 20px 22px; border-radius: var(--radius); margin-bottom: 28px; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.contact-card .ic-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); flex: none; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--muted); word-break: break-all; }
.contact-card a { font-weight: 600; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0D3B24; color: rgba(255, 255, 255, .72); padding-top: 52px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 34px; }
.f-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.f-links li { margin-bottom: 9px; }
.f-links a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.f-links a:hover { color: #9BE0B4; }
.f-addr { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-top: 11px; line-height: 1.6; }
.f-addr svg { color: #7FCF9C; margin-top: 4px; }
.f-addr a { color: #fff; font-weight: 600; }
.site-footer .brand-txt b { color: #fff; }
.site-footer .brand-txt i { color: rgba(255, 255, 255, .62); }

.footer-meta { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.f-small { font-size: 13px; color: rgba(255, 255, 255, .58); }
.f-small a { color: #9BE0B4; }
.footer-meta > a { font-size: 13.5px; color: rgba(255, 255, 255, .78); margin-right: 18px; }
.footer-meta > a:hover { color: #9BE0B4; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.f-disclaimer { max-width: 720px; font-size: 12.5px !important; color: rgba(255, 255, 255, .5) !important; line-height: 1.7; }

/* ---------------- 悬浮工具条 ---------------- */
.float-bar { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fb {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 58px; min-height: 58px; padding: 8px 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  color: var(--green-deep); font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.3;
  transition: all .2s var(--ease);
}
.fb:hover { transform: translateY(-3px); color: #fff; background: var(--green); border-color: var(--green); }
.fb-phone { background: var(--green); color: #fff; border-color: var(--green); }
.fb-phone:hover { background: var(--green-dark); }
.fb-top { min-height: 44px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: all .26s var(--ease); z-index: 200;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 定义段 / 数据锚点 / HowTo / 参考来源 ---------------- */
.def-block {
  background: #fff; border: 1px solid var(--green-line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); margin-bottom: 26px;
}
.def-block h2 { font-size: 20px; margin-bottom: 12px; color: var(--green-deep); }
.def-block p { font-size: 16px; line-height: 1.85; }

.anchor-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.anchor-bar li {
  background: var(--green-soft); border: 1px solid var(--green-line);
  border-radius: var(--radius-sm); padding: 16px 14px; text-align: center;
}
.anchor-bar b { display: block; font-size: 19px; color: var(--green-deep); font-weight: 700; line-height: 1.3; word-break: break-word; }
.anchor-bar span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.howto-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow); max-width: 940px; margin: 0 auto;
}
.howto-block h2 { font-size: 22px; margin-bottom: 8px; }
.howto-meta { font-size: 13.5px; color: var(--green-dark); font-weight: 600; margin-bottom: 18px; }
.howto-list { counter-reset: ht; display: grid; gap: 16px; }
.howto-list li {
  counter-increment: ht; position: relative; padding-left: 46px;
}
.howto-list li::before {
  content: counter(ht, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.howto-list b { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }
.howto-list span { font-size: 15px; color: var(--muted); line-height: 1.75; }

.refs-block {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; max-width: 940px;
}
.refs-block h2 { font-size: 18px; margin-bottom: 14px; color: var(--green-deep); }
.refs-block li {
  position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted);
  line-height: 1.75; margin-bottom: 10px;
}
.refs-block li:last-child { margin-bottom: 0; }
.refs-block li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
}

/* ---------------- 列表页工具条 ---------------- */
.list-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.chip.on, .chip:hover { background: var(--green); border-color: var(--green); color: #fff; }
.count-note { font-size: 14px; color: var(--muted); }

/* ---------------- 404 ---------------- */
.err-page { text-align: center; padding: 90px 0; }
.err-code { font-size: 88px; font-weight: 700; color: var(--green-line); line-height: 1; }
.err-page h1 { font-size: 26px; margin: 18px 0 12px; }
.err-page p { color: var(--muted); margin-bottom: 26px; }
.err-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 34px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .cta-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wrap { padding: 0 18px; }
  .infobar-inner { min-height: 60px; }
  .brand-txt i { display: none; }
  .brand-txt b { font-size: 17px; }
  .infobar-phone span { display: none; }
  .infobar-phone { padding: 9px 12px; }

  .nav-toggle { display: block; margin-left: auto; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px 18px 16px;
    max-height: 76vh; overflow-y: auto;
  }
  .nav-list.open { display: flex; }
  .nav-item > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-item > a:hover, .nav-item > a.active { border-bottom-color: var(--line); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 2px 0 8px 14px; min-width: 0;
  }
  .submenu a { padding: 9px 0; font-size: 15px; }

  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 24px; }
  .page-hero { padding: 42px 0 46px; }
  .page-hero h1 { font-size: 27px; }
  .hero { padding: 52px 0 58px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15.5px; }
  .hero-card { padding: 22px 20px; }
  /* 移动端为悬浮工具条预留安全区，避免遮挡内容 */
  .hero-inner, .cta-grid { padding-bottom: 4px; }
  .hero-card { margin-bottom: 8px; }

  .card-grid, .card-grid.col-2, .card-grid.col-4 { grid-template-columns: 1fr; }
  .rel-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-bar { right: 10px; bottom: 12px; gap: 8px; }
  .fb { min-width: 46px; min-height: 46px; font-size: 10.5px; padding: 6px 8px; border-radius: 12px; }
  .fb svg { width: 18px; height: 18px; }
  .fb-top { min-height: 40px; }
  .fb span { display: none; }
  .fb-phone span { display: none; }
  .cta-left h2 { font-size: 23px; }
  .cta-phone a { font-size: 21px; }
  .news-item { flex-direction: column; gap: 14px; }
  .news-date { width: auto; display: flex; gap: 8px; align-items: baseline; padding: 6px 12px; }
  .news-date b { font-size: 16px; }
  .two-col h2 { font-size: 18px; }
  .article p { font-size: 15.5px; }
  .anchor-bar { grid-template-columns: repeat(2, 1fr); }
  .howto-block { padding: 22px 20px; }
  .howto-list li { padding-left: 40px; }
  .def-block { padding: 20px 18px; }
  .refs-block { padding: 20px 18px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 25px; }
  .sec-head h2 { font-size: 21px; }
  .btn { padding: 11px 20px; font-size: 15px; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 13px; }
  .footer-grid { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .topbar, .float-bar, .strong-cta, .toast { display: none !important; }
  body { color: #000; }
  .site-footer { background: #fff; color: #000; }
}

/* 诊所实景画廊 */
.clinic-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:8px}
.clinic-gallery .g-item{margin:0;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.clinic-gallery .g-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.clinic-gallery .g-item img{width:100%;height:230px;object-fit:cover;display:block;background:var(--bg-soft)}
.clinic-gallery .g-item figcaption{padding:12px 14px;font-size:14px;color:var(--ink-2);font-weight:600;text-align:center}
@media (max-width:980px){.clinic-gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.clinic-gallery{grid-template-columns:1fr}}

/* 发展历程·学历与临床照片条 */
.history-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.history-strip .h-item{margin:0;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.history-strip .h-item img{width:100%;height:300px;object-fit:cover;display:block;background:var(--bg-soft)}
.history-strip .h-item figcaption{padding:12px 14px;font-size:14px;color:var(--ink-2);font-weight:600;text-align:center}
@media (max-width:820px){.history-strip{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.history-strip{grid-template-columns:1fr}.history-strip .h-item img{height:240px}}

/* 公安联网备案标识 */
.police-beian a{display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);text-decoration:none;font-weight:600}
.police-beian a:hover{color:var(--green)}
.beian-shield{width:15px;height:15px;fill:#165DDB;flex:none}
