/* =====================================================
   维佳康口腔官网样式表
   字体：Noto Sans SC（思源黑体）
   主题：医疗蓝绿 + 暖金点缀
   ===================================================== */

:root {
  --brand-primary: #0F766E;
  --brand-primary-light: #14B8A6;
  --brand-primary-dark: #115E59;
  --brand-accent: #F59E0B;
  --brand-accent-hover: #D97706;
  --navy: #1E293B;
  --text: #1F2937;
  --text-light: #4B5563;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-warm: #FFFBEB;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  color: var(--brand-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  color: var(--navy);
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-warm {
  background: var(--bg-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.32);
}

.btn-accent {
  background: linear-gradient(135deg, #FBBF24, var(--brand-accent));
  color: #78350F;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-hover));
  color: #78350F;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* 顶部信息条 */
.topbar {
  background: var(--navy);
  color: #E2E8F0;
  font-size: 13px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: #E2E8F0;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-right a {
  color: var(--brand-accent);
  font-weight: 600;
}

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.main-nav a {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.25s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 4px;
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #F0FDFA 0%, #E0F2FE 55%, #F0F9FF 100%);
  padding: 100px 0 120px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #CCFBF1;
  color: var(--brand-primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--brand-primary);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 20px;
}

.hero-float-text strong {
  display: block;
  color: var(--navy);
}

.hero-float-text span {
  font-size: 13px;
  color: var(--muted);
}

/* 服务卡片 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #99F6E4;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F0FDFA;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  color: var(--text-dark);
}
.service-card h3 .service-en {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 16px;
}

.service-link {
  font-weight: 600;
  font-size: 14px;
}

/* 关于我们 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.125rem;
  color: var(--brand-primary-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #CCFBF1;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.about-feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* 发展历程 */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-primary-light), var(--brand-primary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
  top: 4px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* 医生 */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.doctor-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-soft);
}

.doctor-info {
  padding: 22px;
}

.doctor-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.doctor-title {
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.doctor-bio {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 简介被截断时的「查看完整简介」提示 */
.doctor-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--brand-primary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  user-select: none;
  transition: color .2s, gap .2s;
}

.doctor-more::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid currentColor;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  transition: transform .2s;
}

.doctor-more:hover {
  color: var(--brand-accent);
  gap: 7px;
}

.doctor-card.is-open .doctor-more::after {
  transform: rotate(90deg);
}

/* 完整简介浮窗 */
.bio-tip {
  position: fixed;
  z-index: 9999;
  width: max-content;
  max-width: min(340px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .18);
  padding: 18px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}

.bio-tip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bio-tip-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.bio-tip-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-primary);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.bio-tip-text {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
}

.bio-tip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
}

.bio-tip-close:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.doctor-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #F0FDFA, #E0F2FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* 设备/品牌 */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tech-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.tech-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.tech-card span {
  font-size: 13px;
  color: var(--muted);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.brand-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* 环境 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* 4S */
.four-s-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.four-s-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border-top: 4px solid var(--brand-primary);
  box-shadow: var(--shadow);
}

.four-s-letter {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.four-s-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.four-s-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* 加减号由 CSS 伪元素绘制，与 aria-expanded 状态严格同步 */
.faq-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--brand-primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s ease;
}

/* 横线：常驻 */
.faq-toggle::before {
  width: 14px;
  height: 2px;
  opacity: 1;
}

/* 竖线：收起时显示，展开时淡出并旋转 */
.faq-toggle::after {
  width: 2px;
  height: 14px;
  opacity: 1;
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question:hover {
  background: var(--bg-soft);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-light);
}

/* 社会责任 */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.social-list {
  list-style: none;
  padding: 0;
}

.social-list li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.social-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F0FDFA;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: #94A3B8;
}

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748B;
}

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--border);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero .container,
  .about-grid,
  .social-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .four-s-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .topbar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    margin: 12px 0 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 40px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 4px;
    right: auto;
  }

  .four-s-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .doctor-card,
  .btn {
    transition: none;
  }
}

/* ===== 门店网络 / 机构布局 ===== */
.section-locations{background:var(--bg-soft);}
.loc-group{margin-bottom:36px;}
.loc-group:last-child{margin-bottom:0;}
.loc-province{
  font-size:20px;font-weight:700;color:var(--navy);
  margin:0 0 18px;padding-left:14px;position:relative;
}
.loc-province::before{
  content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;
  border-radius:3px;background:var(--brand-primary);
}
.loc-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;
}
.loc-card{
  background:var(--bg);border:1px solid var(--border);border-radius:14px;
  padding:18px 18px 16px;box-shadow:var(--shadow);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.loc-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px -8px rgba(15,118,110,.28);border-color:var(--brand-primary-light);}
.loc-name{font-size:16px;font-weight:700;color:var(--brand-primary-dark);margin-bottom:8px;}
.loc-addr{font-size:14px;line-height:1.6;color:var(--text-light);}
@media (max-width:600px){
  .loc-grid{grid-template-columns:1fr;}
  .loc-province{font-size:18px;}
}

/* GEO 实体事实块（集中品牌事实，接入 speakable，便于 AI 提取） */
.entity-facts{
  list-style:none;
  margin:24px 0 0;
  padding:18px 22px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 28px;
  background:var(--brand-primary);
  border-radius:12px;
  color:#fff;
}
.entity-facts li{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-size:.95rem;
  line-height:1.5;
}
.entity-facts li strong{
  flex:0 0 auto;
  opacity:.8;
  font-weight:600;
}
.entity-facts li span{font-weight:500;}
.entity-facts a{color:#fff;text-decoration:underline;}
@media (max-width:600px){
  .entity-facts{grid-template-columns:1fr;}
}
