/* 瑞安顶新口腔 - 全站样式（移动端优先 · 商业质感版） */
:root {
  --primary: #0068ab;      /* 品牌蓝 */
  --primary-dark: #00528a;
  --primary-deep: #00365c; /* 遮罩深蓝 */
  --primary-light: #e8f2fb;
  --accent: #e8a13a;       /* 暖金 */
  --accent-dark: #cf8420;
  --text: #1f2f3d;
  --text-light: #64788a;
  --bg: #f6f9fc;
  --white: #ffffff;
  --border: #e3ecf6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,52,88,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--primary-deep);
  color: #cfe4f2;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 10px; }

/* ---------- 导航（毛玻璃） ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 2px 14px rgba(0,52,88,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; color: var(--primary-dark); }
.logo .mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2196d8);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: 0 4px 12px rgba(0,104,171,.35);
}
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--text-light); }
.nav-links { display: none; gap: 2px; font-size: 15px; align-items: center; }
.nav-links > a, .nav-item > a { padding: 10px 14px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s, background .2s; border-radius: 9px 9px 0 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }
.nav-item { position: relative; }
.nav-item > a::after { content: none; } /* 按用户要求去掉下拉箭头 */
.nav-item:hover > a { color: var(--primary); background: var(--primary-light); }
.nav-item .dropdown {
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--primary);
  border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; color: var(--text); }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.nav-phone { display: none; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 15px; }

#menu-toggle { display: none; }
.menu-btn { font-size: 26px; color: var(--primary-dark); cursor: pointer; padding: 0 4px; }
#menu-toggle:checked ~ .mobile-menu { display: block; }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); }
.mobile-menu a { display: block; padding: 13px 6%; border-bottom: 1px solid var(--border); }
@media (min-width: 860px) {
  .menu-btn, .mobile-menu { display: none !important; }
  .nav-links { display: flex; }
  .nav-phone { display: flex; }
}

/* ---------- 首屏（背景图 + 遮罩） ---------- */
.hero {
  position: relative;
  background-image: url("../img/real/interior.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,56,95,.86) 0%, rgba(11,92,100,.66) 48%, rgba(0,104,171,.42) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 92px 0 104px; text-align: center; }
.hero h1 { font-size: clamp(28px, 5.2vw, 46px); margin-bottom: 16px; text-shadow: 0 2px 14px rgba(0,0,0,.3); letter-spacing: 1px; }
.hero .lead { font-size: clamp(15px, 2.3vw, 18px); opacity: .94; max-width: 660px; margin: 0 auto 22px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.btn {
  display: inline-block; padding: 13px 36px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 6px 16px rgba(207,132,32,.4); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* 首屏信任徽章 */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  padding: 18px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22); max-width: 760px; margin: 0 auto;
}
.trust-bar .item { text-align: center; }
.trust-bar .num { font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; color: #fff; }
.trust-bar .num span { color: var(--accent); }
.trust-bar .lbl { font-size: 12.5px; opacity: .85; margin-top: 2px; }

/* 悬浮预约按钮（移动端） */
.float-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; text-align: center;
  padding: 13px 0; font-size: 16px; font-weight: 700; box-shadow: 0 -3px 14px rgba(0,0,0,.2);
}
@media (min-width: 860px) { .float-book { display: none; } }
body { padding-bottom: 52px; }
@media (min-width: 860px) { body { padding-bottom: 0; } }

/* ---------- 通用区块 ---------- */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 38px; }
.section-title h2 { font-size: clamp(23px, 3.6vw, 31px); color: var(--primary-dark); }
.section-title p { color: var(--text-light); margin-top: 8px; font-size: 15px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
.g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .g2, .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s; box-shadow: 0 4px 14px rgba(0,52,88,.05);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.card p { font-size: 14px; color: var(--text-light); }

/* ---------- 服务/中心 ---------- */
.center-item { text-align: center; }
.center-item .icon { margin: 0 auto 14px; }

/* ---------- 医生 ---------- */
.doctor-card { text-align: center; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), #2196d8);
  color: #fff; font-size: 40px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,104,171,.3);
}
.doctor-card h3 { font-size: 19px; }
.doctor-card .title { color: var(--accent-dark); font-size: 14px; margin: 4px 0 10px; font-weight: 600; }
.doctor-card ul { list-style: none; font-size: 13.5px; color: var(--text-light); text-align: left; margin-top: 12px; }
.doctor-card ul li { padding: 5px 0 5px 20px; position: relative; border-top: 1px dashed var(--border); }
.doctor-card ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--primary); }

/* 透明卡片（刘小奇）：与两侧头像卡片同布局，背景透明、保留细边框界定 */
.doctor-card.transparent-card { background: transparent; border-color: rgba(0,104,171,.22); box-shadow: 0 4px 14px rgba(0,52,88,.06); }

/* 带照片的医生卡片（刘小奇）：照片整幅淡化作背景，白底信息卡浮其上 */
.doctor-card.has-photo {
  position: relative; overflow: hidden; padding: 0; text-align: center;
  min-height: 430px; display: flex; align-items: flex-end; justify-content: center;
}
.doctor-card.has-photo .doc-photo {
  position: absolute; inset: 0;
  background-image: var(--cover); background-size: cover; background-position: center 18%;
  background-color: #005085;
  transition: transform .4s ease;
}
/* 淡化遮罩：照片化作柔和背景，人物虚化融入，信息更清晰 */
.doctor-card.has-photo .doc-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,56,95,.16) 0%, rgba(0,56,95,.40) 52%, rgba(0,56,95,.60) 100%);
}
.doctor-card.has-photo:hover .doc-photo { transform: scale(1.05); }
.doctor-card.has-photo .doc-body {
  position: relative; z-index: 1; margin: 18px; width: calc(100% - 36px);
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 22px 22px 24px;
  box-shadow: 0 10px 30px rgba(0,52,88,.22); text-align: center;
}
.doctor-card.has-photo .avatar { display: none; }
.doctor-card.has-photo h3 { font-size: 19px; }
.doctor-card.has-photo .title { color: var(--accent-dark); font-size: 14px; margin: 4px 0 10px; font-weight: 600; }
.doctor-card.has-photo ul { list-style: none; font-size: 13.5px; color: var(--text-light); text-align: left; margin-top: 12px; }
.doctor-card.has-photo ul li { padding: 5px 0 5px 20px; position: relative; border-top: 1px dashed var(--border); }
.doctor-card.has-photo ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--primary); }

/* ---------- 价格表 ---------- */
.price-note { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 14px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 10px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--primary); color: #fff; font-weight: 600; }
.price-table tr:nth-child(even) td { background: #f4f8fc; }
.price-table tr:last-child td { border-bottom: none; }
.price-table .hot { color: #d8431a; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,52,88,.04); }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--primary-dark); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; color: var(--primary); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 20px 18px; font-size: 14.5px; color: var(--text-light); }
.faq-item .answer ul { padding-left: 20px; }

/* ---------- 案例 ---------- */
/* 案例图为 652x210 超宽横幅，用 aspect-ratio 匹配原图比例，
   避免 object-fit:cover 裁切左右两侧 */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-grid img { display: block; width: 100%; aspect-ratio: 652 / 210; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); cursor: zoom-in; background: #eef4fa; transition: transform .25s, box-shadow .25s; }
.case-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
/* 案例大图灯箱 */
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(1,18,32,.92); z-index: 1000; padding: 24px; cursor: zoom-out; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }

/* ---------- 诊所环境实拍画廊 ---------- */
.env-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .env-gallery { grid-template-columns: repeat(3, 1fr); } }
.env-gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.env-gallery img { width: 100%; height: 240px; object-fit: cover; transition: transform .35s; }
.env-gallery figure:hover img { transform: scale(1.06); }
.env-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,56,95,.8)); }
.env-facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .env-facts { grid-template-columns: repeat(4, 1fr); } }
.env-facts .ef { background: #f2f7fb; border: 1px solid #dbe7f0; border-radius: var(--radius); padding: 16px 18px; }
.env-facts .ef b { display: block; color: var(--primary-deep, #00365c); font-size: 16px; margin-bottom: 6px; }
.env-facts .ef span { color: #5a6a78; font-size: 13.5px; line-height: 1.6; }

/* ---------- CTA 背景带（牙医肖像 + 遮罩） ---------- */
.cta-band {
  position: relative; color: #fff; overflow: hidden;
  background-image: url("../img/bg/dentist-portrait.png");
  background-size: cover; background-position: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,56,95,.92) 0%, rgba(11,92,100,.78) 50%, rgba(0,104,171,.5) 100%); }
.cta-band .container { position: relative; z-index: 1; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: clamp(22px, 3.6vw, 32px); margin-bottom: 12px; }
.cta-band p { opacity: .92; max-width: 560px; margin: 0 auto 24px; font-size: 16px; }

/* ---------- 页面小标题横幅（背景图 + 遮罩） ---------- */
.page-banner {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background-image: url("../img/bg/hero-clinic.png");
  background-size: cover; background-position: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,56,95,.86), rgba(0,104,171,.6)); }
.page-banner .container { position: relative; z-index: 1; padding: 52px 0; }
.page-banner h1 { font-size: clamp(24px, 4vw, 34px); text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.page-banner p { opacity: .9; margin-top: 8px; font-size: 15px; }

/* 医生页专用横幅（真实团队照） */
.page-banner.team { background-image: url("../img/doctor-team.jpg"); }
/* 医生页横幅：使用右侧三医生海报（原置于卡片后的整页背景，上移到此处） */

/* ---------- 预约表单 ---------- */
.booking-wrap { position: relative; max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: 40px 30px 34px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.booking-wrap::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }
.booking-head { text-align: center; margin-bottom: 26px; }
.booking-head .bh-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), #2196d8); box-shadow: 0 8px 18px rgba(0,104,171,.3); }
.booking-head h2 { font-size: 22px; color: var(--primary-dark); letter-spacing: .5px; }
.booking-head p { font-size: 14px; color: var(--text-light); margin-top: 6px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row label span { color: #d33; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fbfdfe;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); }
.form-msg { text-align: center; font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: #1a9a4b; }
.form-msg.err { color: #d33; }

/* ---------- 信息条 / 页脚 ---------- */
.info-strip { background: var(--primary-deep); color: #fff; }
.info-strip .container { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 42px 0; }
@media (min-width: 860px) { .info-strip .container { grid-template-columns: repeat(3, 1fr); } }
.info-strip h3 { font-size: 17px; margin-bottom: 10px; }
.info-strip p { font-size: 14px; opacity: .85; }
footer.site-footer { background: #00243d; color: #8db0cc; font-size: 13px; padding: 22px 0; }
footer.site-footer .container { display: flex; flex-direction: column; gap: 6px; text-align: center; }
@media (min-width: 860px) { footer.site-footer .container { flex-direction: row; justify-content: space-between; text-align: left; } }

.tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: 12.5px; padding: 3px 12px; border-radius: 999px; margin: 3px 4px 3px 0; }

/* 医生页 banner 用修复边缘后的团队照（覆盖默认） */
.page-banner.team { background-image: url("../img/doctor-team-intro.jpg"); background-size: cover; background-position: center top; }

/* 医生简介区：背景图已上移至顶部横幅，此处保持干净白底 */
.doctor-bg { position: relative; }
.doctor-bg .container { position: relative; z-index: 1; }
.doctor-bg .card { background: var(--white); }

/* 服务项目页：数字化诊疗 band（tech-blue 背景） */
.digi-band { position: relative; color: #fff; overflow: hidden; background-image: url("../img/bg/tech-blue.png"); background-size: cover; background-position: center; }
.digi-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,56,95,.9) 0%, rgba(11,92,100,.72) 100%); }
.digi-band .container { position: relative; z-index: 1; }
.digi-band .card { background: rgba(255,255,255,.95); }
.section-title.light h2, .section-title.light p { color: #fff; }

/* 预约页：微笑引导 band（雅致化）
   原 smile-portrait 为白底影棚人像，做整幅背景会露出大脸与白底、显得突兀。
   改为沉稳青绿渐变 + 柔和光晕 + 极淡“微笑弧线”装饰，安静高级、呼应主题。 */
.smile-band {
  position: relative; color: #fff; overflow: hidden;
  min-height: 340px; display: flex; align-items: center;
}
/* smile-band：纯净青绿渐变 + 柔光，无图片背景 */
.smile-band {
  position: relative; color: #fff; overflow: hidden;
  min-height: 300px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 56%, #1d92cf 100%);
}
.smile-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 86% 12%, rgba(232,161,58,.16) 0%, rgba(232,161,58,0) 52%),
    radial-gradient(90% 90% at 8% 110%, rgba(33,150,216,.40) 0%, rgba(33,150,216,0) 60%);
}
/* 横幅下方：放大展示的实景图片（contain 完整显示，浅底不裁切） */
.band-gallery { background: var(--bg); padding: 34px 0 16px; }
.band-gallery .bg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .band-gallery .bg-grid { grid-template-columns: repeat(4, 1fr); } }
.band-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #eef4fa; transition: transform .3s ease, box-shadow .3s ease; }
.band-gallery figure:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.band-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: #eef4fa; }
.band-gallery figcaption { padding: 9px 10px; font-size: 13px; font-weight: 600; color: var(--text); text-align: center; background: var(--white); }
.smile-band .container { position: relative; z-index: 2; text-align: center; padding: 58px 0; }
.smile-band h2 { font-size: clamp(22px, 3.6vw, 32px); margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.25); letter-spacing: .5px; }
.smile-band p { opacity: .92; margin-bottom: 22px; font-size: 16px; }

/* ---------- 右侧悬浮工具（桌面端） ---------- */
.side-tools { position: fixed; right: 18px; bottom: 96px; z-index: 98; display: none; flex-direction: column; gap: 12px; }
@media (min-width: 861px) { .side-tools { display: flex; } }
.side-tools a {
  width: 54px; height: 54px; border-radius: 15px; background: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10.5px; color: var(--primary); border: 1px solid var(--border);
  transition: transform .15s, background .2s; text-align: center; line-height: 1.1; padding: 4px;
}
.side-tools a:hover { transform: translateY(-2px); background: var(--primary-light); }
.side-tools .ic { font-size: 21px; line-height: 1; margin-bottom: 3px; }
.side-tools a.book { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 12px; font-weight: 700; border: none; }
.side-tools a.book .ic { font-size: 20px; }
.side-tools a.top { display: none; }
.side-tools a.top.show { display: flex; }

/* ---------- 首页：医院简介 ---------- */
.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1.05fr .95fr; } }
.intro-text h2 { font-size: clamp(22px, 3.4vw, 30px); color: var(--primary-dark); margin-bottom: 14px; }
.intro-text .lead-line { color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 12px; line-height: 1.7; }
.intro-text p { color: var(--text-light); margin-bottom: 12px; font-size: 15px; }
.intro-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 20px; }
.intro-stats b { font-size: 27px; color: var(--primary); display: block; line-height: 1; }
.intro-stats span { font-size: 13px; color: var(--text-light); }
.intro-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.intro-media img { width: 100%; height: 340px; object-fit: cover; }
.intro-media .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,56,95,.82)); }

/* ---------- 首页：新闻动态 ---------- */
.news-list { display: grid; gap: 14px; }
.news-item { display: flex; gap: 18px; align-items: stretch; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-date { flex: 0 0 78px; text-align: center; border-right: 1px solid var(--border); padding-right: 16px; color: var(--text-light); display: flex; flex-direction: column; justify-content: center; }
.news-date b { font-size: 28px; color: var(--primary); line-height: 1.05; }
.news-date span { font-size: 12px; }
.news-body { flex: 1; }
.news-body h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 6px; }
.news-body p { font-size: 14px; color: var(--text-light); }
.news-more { text-align: center; margin-top: 22px; }

/* ---------- 首页：健康科普精选 ---------- */
.kp-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .kp-grid { grid-template-columns: repeat(3, 1fr); } }
.kp-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 4px 14px rgba(0,52,88,.05); transition: box-shadow .2s, transform .2s; }
.kp-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.kp-card .kicon { width: 52px; height: 52px; border-radius: 15px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 14px; }
.kp-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.kp-card p { font-size: 13.5px; color: var(--text-light); margin-bottom: 12px; }
.kp-card a { color: var(--accent-dark); font-weight: 600; font-size: 14px; }

/* ---------- 首页：就医指南 ---------- */
.guide-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: 0 4px 14px rgba(0,52,88,.05); }
.guide-card .gicon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 27px; margin: 0 auto 14px; }
.guide-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.guide-card p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 首页：分院 / 联系 ---------- */
.branch-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
.branch-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.branch-card .bhead { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 22px 24px; }
.branch-card .bhead h3 { font-size: 20px; margin-bottom: 4px; }
.branch-card .bhead p { font-size: 13px; opacity: .92; }
.branch-card .bbody { padding: 22px 24px; font-size: 14.5px; color: var(--text-light); flex: 1; }
.branch-card .bbody p { margin-bottom: 8px; }
.branch-card .bbody b { color: var(--text); }

/* ---------- 强化页脚（多列） ---------- */
.footer-cols { display: grid; gap: 26px; grid-template-columns: 1fr; padding: 44px 0 28px; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: 1.5fr 1fr 1.3fr .9fr; } }
.footer-cols .fcol h4 { color: #cfe4f2; font-size: 15px; margin-bottom: 14px; position: relative; padding-left: 12px; }
.footer-cols .fcol h4::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--accent); }
.footer-cols .fcol p, .footer-cols .fcol a { color: #8db0cc; font-size: 13px; display: block; margin-bottom: 9px; line-height: 1.6; }
.footer-cols .fcol a:hover { color: #fff; }
.footer-cols .fbrand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-cols .fbrand .mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), #2196d8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.footer-cols .footer-qr { width: 108px; height: 108px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; text-align: center; line-height: 1.5; padding: 5px; margin-top: 4px; }
.footer-cols .footer-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; color: #6f93a8; font-size: 12.5px; line-height: 1.8; }

/* ===== 真实素材上站（Logo/案例/视频/三院区） ===== */
/* 真实 Logo 图标（替换"顶"字占位） */
/* 高清 Logo（白底）在浅色页头上加一圈极淡描边，保证边界清晰 */
img.mark { background: none; object-fit: cover; display: block; border: 1px solid rgba(0,52,88,.08); }

/* 真实案例 · 诊疗现场图墙 */
.real-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .real-grid { grid-template-columns: repeat(3, 1fr); } }
.real-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.real-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; background: #eef4fa; transition: transform .35s; }
.real-grid figure:hover img { transform: scale(1.05); }
.real-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 10px; color: #fff; font-size: 13.5px; font-weight: 600; background: linear-gradient(transparent, rgba(0,56,95,.85)); }

/* 客户见证 · 院内日常视频 */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #000; }
.video-grid video { display: block; width: 100%; background: #000; }
.video-grid figcaption { padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--white); text-align: center; border-top: 1px solid var(--border); }

/* 三院区自适应栅格 */
@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }

/* ===== 方案B：首页钩子价横幅 + 品牌卡 ===== */
.hook-price { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 36px 26px 32px; margin-bottom: 22px; }
.hook-price::before, .hook-price::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.hook-price::before { width: 240px; height: 240px; top: -120px; left: -80px; }
.hook-price::after { width: 180px; height: 180px; bottom: -100px; right: -60px; }
.hook-price .hp-num { position: relative; z-index: 1; font-size: clamp(42px, 7vw, 60px); font-weight: 800; line-height: 1; letter-spacing: 1px; }
.hook-price .hp-num small { font-size: 18px; font-weight: 600; margin-left: 6px; }
.hook-price .hp-txt { position: relative; z-index: 1; margin: 14px auto 20px; max-width: 540px; font-size: 15px; opacity: .95; }
.hook-price .btn-primary { position: relative; z-index: 1; background: #fff; color: var(--primary-dark); border-color: #fff; font-weight: 700; }
.hook-price .btn-primary:hover { background: #f3f8fc; }
.brand-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .brand-row { grid-template-columns: repeat(5, 1fr); } }
.brand-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 16px 10px 14px; }
.brand-card .b { font-size: 15px; font-weight: 700; color: var(--text); }
.brand-card .c { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }
.brand-card .w { display: inline-block; font-size: 11.5px; color: var(--accent-dark); background: rgba(207,132,32,.08); border-radius: 999px; padding: 2px 10px; margin-top: 8px; }

/* ===== 方案E：服务页价格卡 ===== */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .price-cards { grid-template-columns: repeat(5, 1fr); } }
.p-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 24px 16px 18px; }
.p-card .p-brand { font-size: 16.5px; font-weight: 700; color: var(--text); }
.p-card .p-from { font-size: 12.5px; color: var(--text-light); }
.p-card .p-price { font-size: 25px; font-weight: 800; color: var(--accent-dark); margin: 4px 0 2px; }
.p-card .p-price small { display: block; font-size: 12px; font-weight: 600; color: var(--text-light); margin-top: 3px; letter-spacing: 0; }
.p-card ul { list-style: none; text-align: left; font-size: 13px; color: var(--text-light); margin: 2px 0 6px; flex: 1; }
.p-card ul li { padding: 4px 0 4px 18px; position: relative; }
.p-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.p-card .btn { display: block; font-size: 14px; padding: 10px 0; }

/* ===== 特约/特邀专家海报特辑 ===== */
.expert-posters { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .expert-posters { grid-template-columns: repeat(3, 1fr); } }
.expert-posters figure {
  margin: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease;
}
.expert-posters figure:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,56,95,.20); }
.expert-posters img { display: block; width: 100%; height: auto; background: #f6f8fc; }
.expert-posters figcaption { padding: 12px 14px 14px; text-align: center; border-top: 1px solid var(--border); }
.expert-posters .en { font-size: 16px; font-weight: 700; color: var(--text); }
.expert-posters .et { font-size: 12.5px; color: var(--text-light); margin-top: 3px; line-height: 1.5; }
.expert-posters .ehint { font-size: 12px; color: var(--primary); margin-top: 7px; font-weight: 600; }

/* ===== 为什么选择：本地人突出主卡 + 治疗跟进流程 ===== */
.why-lead {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,104,171,.09), rgba(232,161,58,.07));
  border: 1px solid rgba(0,104,171,.24);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.why-lead::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(0,104,171,.06);
}
.why-lead .wl-icon {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px;
  background: var(--white); box-shadow: 0 6px 18px rgba(0,56,95,.14); position: relative; z-index: 1;
}
.why-lead .wl-body { position: relative; z-index: 1; }
.why-lead .wl-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: linear-gradient(135deg, var(--primary), #2196d8);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.why-lead h3 { font-size: clamp(18px, 2.4vw, 21px); color: var(--text); margin-bottom: 9px; }
.why-lead p { font-size: 14.5px; line-height: 1.8; color: var(--text-light); }
.why-lead .wl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.why-lead .wl-tags span {
  font-size: 12.5px; color: var(--primary-dark); background: var(--white);
  border: 1px solid rgba(0,104,171,.26); border-radius: 999px; padding: 3px 13px;
}
@media (max-width: 600px) { .why-lead { flex-direction: column; gap: 14px; padding: 22px 20px; } }

.follow-flow {
  margin-top: 22px; padding: 24px 26px 22px; border-radius: var(--radius);
  background: #f5f8fc; border: 1px dashed rgba(0,104,171,.32);
}
.follow-flow h4 { font-size: 16.5px; color: var(--primary-dark); text-align: center; margin-bottom: 20px; }
.ff-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ff-step { text-align: center; position: relative; }
.ff-step b {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,104,171,.28); position: relative; z-index: 1;
}
.ff-step span { display: block; margin-top: 8px; font-size: 13px; color: var(--text); font-weight: 600; }
.ff-step:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px);
  height: 2px; background: rgba(0,104,171,.22);
}
.ff-note { margin-top: 16px; font-size: 12.5px; color: var(--text-light); text-align: center; line-height: 1.6; }
@media (max-width: 640px) {
  .ff-steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ff-step:not(:last-child)::after { display: none; }
}

/* ===== 品牌名加长（瑞安顶新口腔）后的小屏适配 ===== */
@media (max-width: 420px) {
  .logo { font-size: 17px; gap: 8px; }
  .logo .mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo small { font-size: 10px; }
}

/* ===== 医生团队：团队合影 + 新版灯箱海报墙 ===== */
.team-banner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #eef4fa; }
.team-banner img { display: block; width: 100%; height: auto; }
.team-banner .tb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; text-align: center; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px; background: linear-gradient(transparent, rgba(0,54,92,.88)); }

.doc-posters { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .doc-posters { grid-template-columns: repeat(3, 1fr); } }
.doc-posters figure { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; }
.doc-posters figure:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,56,95,.20); }
.doc-posters img { display: block; width: 100%; height: auto; background: #f6f8fc; }
.doc-posters figcaption { padding: 12px 14px 14px; text-align: center; border-top: 1px solid var(--border); }
.doc-posters .en { font-size: 16px; font-weight: 700; color: var(--text); }
.doc-posters .et { font-size: 12.5px; color: var(--text-light); margin-top: 3px; line-height: 1.5; }
.doc-posters .ehint { font-size: 12px; color: var(--primary); margin-top: 7px; font-weight: 600; }

/* ===== 科普页：风险知情专题区 ===== */
.risk-box { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.risk-box .rb-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 14px; background: linear-gradient(135deg, rgba(0,104,171,.07), rgba(232,161,58,.06)); border-bottom: 1px solid var(--border); }
.risk-box .rb-ico { font-size: 26px; line-height: 1; }
.risk-box .rb-head h3 { margin: 0 0 4px; font-size: 17px; color: var(--text); }
.risk-box .rb-head p { margin: 0; font-size: 13.5px; color: var(--text-light); line-height: 1.6; }
.rb-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 16px 20px 4px; }
@media (min-width: 760px) { .rb-grid { grid-template-columns: repeat(3, 1fr); } }
.rb-card { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px 16px; background: #fbfcfe; }
.rb-card h4 { margin: 0 0 3px; font-size: 15px; color: var(--text); }
.rb-card > p { margin: 0 0 8px; font-size: 12.5px; color: var(--text-light); }
.rb-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-light); line-height: 1.85; }
.rb-card.ok { border-top: 3px solid #2e9e6b; }
.rb-card.warn { border-top: 3px solid #e0873a; }
.rb-card.info { border-top: 3px solid var(--primary); }
.rb-note { margin: 0; padding: 12px 20px 16px; font-size: 12.5px; color: #8a6d3b; line-height: 1.7; }

/* ===== 首页：种植牙知识速览 ===== */
.know-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.know-tabs a { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--primary-dark); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .25s ease; }
.know-tabs a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ===== 大家都在问（GEO 问答区） ===== */
.qa-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .qa-list { grid-template-columns: repeat(2, 1fr); } }
.qa-item { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 10px; padding: 16px 18px; box-shadow: 0 3px 10px rgba(0,52,88,.04); }
.qa-item h3 { font-size: 15.5px; color: var(--primary-dark); margin-bottom: 7px; line-height: 1.5; }
.qa-item p { font-size: 13.5px; color: var(--text-light); line-height: 1.85; margin: 0; }
