﻿/* ==========================================================================
   福州贝臣齿科 官网样式
   配色取自机构 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; } }
