/* ========================================
   叙清中医减重门诊 - 官网样式
   设计方向：东方雅致 × 现代医疗科技
   主色：墨绿 + 香槟金
   ======================================== */

:root {
  /* 色彩系统 */
  --c-primary: #1a3c34;          /* 墨绿 */
  --c-primary-dark: #0f2823;     /* 深墨绿 */
  --c-primary-light: #2d5d50;    /* 亮墨绿 */
  --c-accent: #c9a961;           /* 香槟金 */
  --c-accent-light: #ddc28a;     /* 亮香槟金 */
  --c-accent-dark: #a88a45;      /* 深香槟金 */
  --c-bg: #f7f5f0;               /* 米白背景 */
  --c-bg-alt: #efeae0;           /* 暖灰背景 */
  --c-white: #ffffff;
  --c-text: #1a1a1a;
  --c-text-light: #5a5a5a;
  --c-text-muted: #8a8a8a;
  --c-border: #e5e0d5;
  --c-shadow: rgba(26, 60, 52, 0.08);
  --c-shadow-strong: rgba(26, 60, 52, 0.16);

  /* 字体 */
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-latin: 'Cormorant Garamond', serif;

  /* 尺寸 */
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ==================== 顶部公告条 ==================== */
.top-bar {
  background: var(--c-primary-dark);
  color: var(--c-accent-light);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-text { letter-spacing: 0.5px; }
.top-bar-contact strong { color: var(--c-white); font-size: 15px; }

/* ==================== 导航 ==================== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.3s ease;
  top: 36px;
}
.header.scrolled {
  box-shadow: 0 4px 24px var(--c-shadow);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-mark {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 4px;
}
.logo-sub {
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--c-accent);
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 15px;
  color: var(--c-text);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--c-primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 20px; }
.nav-link.active { color: var(--c-primary); font-weight: 500; }
.nav-cta {
  background: var(--c-primary);
  color: var(--c-white) !important;
  padding: 10px 24px;
  margin-left: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--c-primary-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--c-primary);
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--c-shadow-strong);
}
.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn-block { width: 100%; }

/* ==================== 通用 Section ==================== */
.section { padding: 100px 0; position: relative; }
.section-head { margin-bottom: 56px; }
.section-head-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.3;
  letter-spacing: 1px;
}
.section-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--c-text-light);
  line-height: 1.8;
}

/* ==================== Hero ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--c-primary-dark);
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201,169,97,0.15);
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 30px;
  color: var(--c-accent-light);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-white);
  letter-spacing: 2px;
}
.hero-title-line { display: block; }
.hero-title-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-accent);
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
}
.hero-desc {
  margin-top: 28px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-latin);
  font-size: 44px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.hero-stat-unit {
  font-family: var(--font-latin);
  font-size: 24px;
  color: var(--c-accent);
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* Hero 视觉区 */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s ease;
}
.hero-card-main {
  top: 10%; left: 10%;
  width: 280px;
}
.hero-card-1 {
  top: 45%; right: 5%;
  width: 220px;
}
.hero-card-2 {
  bottom: 8%; left: 20%;
  width: 240px;
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: var(--c-primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-card-body h3 {
  color: var(--c-white);
  font-size: 16px;
  margin-bottom: 4px;
}
.hero-card-body p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.hero-seal {
  position: absolute;
  top: 0; right: 15%;
  width: 90px; height: 90px;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 8px 32px rgba(201,169,97,0.4);
  animation: floatSeal 4s ease-in-out infinite;
}
@keyframes floatSeal {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 2px;
}
.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==================== 品牌理念 ==================== */
.section-philosophy { background: var(--c-bg); }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.phil-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.phil-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--c-shadow-strong);
}
.phil-card:hover::before { transform: scaleX(1); }
.phil-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--c-accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}
.phil-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
  font-weight: 600;
}
.phil-card p {
  color: var(--c-text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* ==================== 关于叙清 ==================== */
.section-about { background: var(--c-white); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-frame {
  position: relative;
}
.about-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-light));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,169,97,0.08) 0, rgba(201,169,97,0.08) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(201,169,97,0.08) 0, rgba(201,169,97,0.08) 1px, transparent 1px, transparent 20px);
}
.about-img-text {
  position: relative;
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--c-accent-light);
  letter-spacing: 8px;
  text-align: center;
  z-index: 1;
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201,169,97,0.3);
}
.about-img-badge strong {
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 700;
}
.about-img-badge span {
  font-size: 12px;
  letter-spacing: 2px;
}
.about-text .section-title { margin-bottom: 24px; }
.about-para {
  color: var(--c-text-light);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.about-list { margin-bottom: 32px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--c-text);
}
.about-list-dot {
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==================== 企业文化 ==================== */
.section-culture {
  background: var(--c-primary-dark);
  color: var(--c-white);
}
.section-culture .section-title { color: var(--c-white); }
.section-culture .section-lead { color: rgba(255,255,255,0.7); }
.culture-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.culture-values {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}
.culture-value h4 {
  font-family: var(--font-latin);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.culture-value p {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-white);
}
.culture-visual {
  display: flex;
  justify-content: center;
}
.culture-circle {
  position: relative;
  width: 340px; height: 340px;
}
.culture-circle-inner {
  position: absolute;
  inset: 40px;
  border: 2px solid var(--c-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.culture-char {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.culture-char-sub {
  font-family: var(--font-serif);
  font-size: 32px;
  color: rgba(201,169,97,0.5);
  letter-spacing: 12px;
  margin-top: 8px;
}
.culture-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(201,169,97,0.3);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== 特色技术 / 解决方案 ==================== */
.section-tech { background: var(--c-bg); }
.tech-block { margin-bottom: 72px; }
.tech-block:last-child { margin-bottom: 0; }
.tech-block-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}
.tech-block-label {
  font-family: var(--font-latin);
  font-size: 48px;
  font-weight: 300;
  color: var(--c-accent);
  line-height: 1;
}
.tech-block-head h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--c-primary-dark);
  font-weight: 600;
}
.tech-block-head p {
  color: var(--c-text-light);
  margin-left: auto;
}

/* 运营赋能 */
.empower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.empower-item {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--c-border);
  transition: all 0.3s ease;
}
.empower-item:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--c-shadow);
}
.empower-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: var(--c-accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.empower-item h4 {
  font-size: 18px;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
}
.empower-item p {
  color: var(--c-text-light);
  font-size: 14px;
}

/* 产品矩阵 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--c-border);
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--c-shadow-strong);
  border-color: var(--c-accent);
}
.product-card-feature {
  grid-column: span 2;
  text-align: left;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-card-feature h4 { color: var(--c-white); }
.product-card-feature p { color: rgba(255,255,255,0.7); }
.product-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.product-icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--c-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-feature .product-icon-wrap {
  background: rgba(201,169,97,0.2);
  margin: 0 0 20px;
}
.product-icon {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-primary);
}
.product-card-feature .product-icon { color: var(--c-accent); }
.product-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.product-card p {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ==================== 专家团队 ==================== */
.section-team { background: var(--c-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--c-shadow);
  border-color: var(--c-accent);
}
.team-avatar {
  width: 100px; height: 100px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--c-accent);
}
.team-avatar-text {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--c-accent-light);
}
.team-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--c-primary-dark);
  margin-bottom: 6px;
}
.team-role {
  color: var(--c-accent);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.team-desc {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ==================== 历程 ==================== */
.section-timeline { background: var(--c-bg-alt); }
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-border));
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 18px; height: 18px;
  background: var(--c-white);
  border: 3px solid var(--c-accent);
  border-radius: 50%;
}
.timeline-dot-active {
  background: var(--c-accent);
  box-shadow: 0 0 0 6px rgba(201,169,97,0.2);
}
.timeline-content {
  background: var(--c-white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
.timeline-date {
  font-family: var(--font-latin);
  font-size: 14px;
  color: var(--c-accent);
  letter-spacing: 2px;
  font-weight: 600;
}
.timeline-content h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-primary-dark);
  margin: 8px 0;
}
.timeline-content p {
  color: var(--c-text-light);
  font-size: 14px;
}

/* ==================== 门诊展示 ==================== */
.section-clinic { background: var(--c-white); }
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.clinic-card { overflow: hidden; border-radius: var(--radius-lg); }
.clinic-card-lg { grid-column: span 2; grid-row: span 2; }
.clinic-img {
  width: 100%; height: 100%;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.clinic-img-1 { background: linear-gradient(135deg, #2d5d50, #1a3c34); }
.clinic-img-2 { background: linear-gradient(135deg, #1a3c34, #0f2823); }
.clinic-img-3 { background: linear-gradient(135deg, #0f2823, #2d5d50); }
.clinic-img-4 { background: linear-gradient(135deg, #2d5d50, #1a3c34); }
.clinic-img-5 { background: linear-gradient(135deg, #1a3c34, #2d5d50); }
.clinic-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(201,169,97,0.06) 0, rgba(201,169,97,0.06) 1px, transparent 1px, transparent 16px);
}
.clinic-img:hover { transform: scale(1.05); }
.clinic-img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(15,40,35,0.8), transparent 60%);
}
.clinic-label {
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 2px;
}

/* ==================== 门店网络 ==================== */
.section-network { background: var(--c-primary-dark); color: var(--c-white); }
.section-network .section-title { color: var(--c-white); }
.section-network .section-lead { color: rgba(255,255,255,0.7); }
.network-map {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 440px;
}
.network-map-bg {
  position: absolute;
  inset: 48px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(201,169,97,0.05), transparent 60%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
.network-points {
  position: relative;
  width: 100%; height: 320px;
}
.network-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.network-pulse {
  width: 12px; height: 12px;
  background: var(--c-accent);
  border-radius: 50%;
  position: relative;
}
.network-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--c-accent);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}
.network-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  white-space: nowrap;
}
.network-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.network-stat { text-align: center; }
.network-stat strong {
  font-family: var(--font-latin);
  font-size: 40px;
  font-weight: 700;
  color: var(--c-accent);
  display: block;
}
.network-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ==================== 资讯科普 ==================== */
.section-news { background: var(--c-bg); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; }
.section-news .section-head { flex-wrap: wrap; gap: 24px; }
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.news-tab {
  padding: 8px 20px;
  border: 1px solid var(--c-border);
  border-radius: 30px;
  font-size: 14px;
  color: var(--c-text-light);
  transition: all 0.25s ease;
  background: var(--c-white);
}
.news-tab:hover { border-color: var(--c-accent); color: var(--c-primary); }
.news-tab.active {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--c-shadow);
}
.news-card-feature { grid-column: span 2; grid-row: span 1; }
.news-card-feature .news-img { height: 240px; }
.news-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.news-img-1 { background: linear-gradient(135deg, #1a3c34, #2d5d50); }
.news-img-2 { background: linear-gradient(135deg, #c9a961, #a88a45); }
.news-img-3 { background: linear-gradient(135deg, #2d5d50, #1a3c34); }
.news-img-4 { background: linear-gradient(135deg, #a88a45, #c9a961); }
.news-img-5 { background: linear-gradient(135deg, #1a3c34, #0f2823); }
.news-img-6 { background: linear-gradient(135deg, #2d5d50, #c9a961); }
.news-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 12px);
}
.news-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.news-body { padding: 24px; }
.news-date {
  font-family: var(--font-latin);
  font-size: 13px;
  color: var(--c-accent);
  letter-spacing: 1px;
}
.news-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--c-primary-dark);
  margin: 8px 0 12px;
  line-height: 1.4;
  font-weight: 600;
}
.news-card-feature .news-body h3 { font-size: 22px; }
.news-body p {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.news-link {
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 500;
}

/* ==================== 招商合作 ==================== */
.section-join { background: var(--c-white); }
.join-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.join-mode {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
}
.join-mode:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--c-shadow-strong);
}
.join-mode-feature {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: var(--c-white);
  border-color: var(--c-primary);
}
.join-mode-feature h3 { color: var(--c-white); }
.join-mode-feature p { color: rgba(255,255,255,0.7); }
.join-mode-feature .join-mode-icon { background: rgba(201,169,97,0.2); color: var(--c-accent); }
.join-mode-feature .join-mode-list li { color: rgba(255,255,255,0.8); }
.join-mode-tag {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}
.join-mode-icon {
  width: 56px; height: 56px;
  background: var(--c-white);
  color: var(--c-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.join-mode h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
}
.join-mode p {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.join-mode-list li {
  font-size: 14px;
  color: var(--c-text-light);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.join-mode-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* 加盟流程 */
.join-process {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.join-process-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--c-primary-dark);
  text-align: center;
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -12px; top: 16px;
  color: var(--c-accent);
  font-size: 20px;
}
.process-step:last-child::after { display: none; }
.process-num {
  font-family: var(--font-latin);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-accent);
  display: block;
  line-height: 1;
}
.process-step h4 {
  font-size: 16px;
  color: var(--c-primary-dark);
  margin: 12px 0 6px;
}
.process-step p {
  font-size: 13px;
  color: var(--c-text-light);
}

/* ==================== 联系/表单 ==================== */
.section-contact { background: var(--c-primary-dark); color: var(--c-white); }
.section-contact .section-title { color: var(--c-white); }
.section-contact .section-lead { color: rgba(255,255,255,0.7); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-items {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: rgba(201,169,97,0.15);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 15px;
  color: var(--c-white);
}

.contact-form-wrap {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.form-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--c-primary-dark);
  margin-bottom: 8px;
}
.form-sub {
  color: var(--c-text-light);
  font-size: 14px;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--c-text);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group label span { color: #e74c3c; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--c-bg);
  transition: all 0.25s ease;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.1);
}
.form-tip {
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 16px;
}
.form-tip a { color: var(--c-accent); text-decoration: underline; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--c-text-light);
  font-size: 15px;
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201,169,97,0.15);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 20px; }
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-hotline strong {
  font-family: var(--font-latin);
  font-size: 24px;
  color: var(--c-accent);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h5 {
  color: var(--c-white);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  gap: 24px;
}
.footer-legal p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-disclaim { font-size: 12px !important; opacity: 0.6; max-width: 600px; }
.footer-qr {
  text-align: center;
  flex-shrink: 0;
}
.footer-qr-box {
  width: 100px; height: 100px;
  background: var(--c-white);
  border-radius: var(--radius);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--c-primary);
}
.footer-qr span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ==================== 悬浮工具 ==================== */
.float-tools {
  position: fixed;
  right: 24px; bottom: 100px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 40px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 4px 16px var(--c-shadow);
  transition: all 0.3s ease;
  color: var(--c-text);
}
.float-tool:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
  transform: translateX(-4px);
}
.float-tool-icon {
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: var(--c-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.float-tool:hover .float-tool-icon { background: var(--c-accent); color: var(--c-primary-dark); }
.float-tool-text {
  font-size: 13px;
  white-space: nowrap;
}
.float-tool-top { display: none; }
.float-tool-top.show { display: flex; }

/* ==================== 动画 ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .about-layout, .culture-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .empower-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-feature { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-feature { grid-column: span 2; }
  .join-modes { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-step:nth-child(3)::after,
  .process-step:nth-child(6)::after { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }

  /* 顶栏 */
  .top-bar { display: none; }
  .header { top: 0; }

  /* 导航 */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 340px;
    height: 100vh;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    gap: 8px;
    transition: right 0.35s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.active { right: 0; box-shadow: -8px 0 40px rgba(0,0,0,0.15); }
  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
  }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; }
  .menu-toggle { display: flex; z-index: 100; position: relative; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 40px); min-height: auto; padding-bottom: 60px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 32px; }
  .hero-visual { display: none; }
  .scroll-hint { display: none; }

  /* Section */
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: 36px; }
  .section-head-center { text-align: left; }

  /* 哲学 */
  .philosophy-grid { gap: 16px; }
  .phil-card { padding: 28px 24px; }

  /* 关于 */
  .about-img-badge { width: 90px; height: 90px; bottom: -12px; right: -12px; }
  .about-img-badge strong { font-size: 24px; }

  /* 文化 */
  .culture-circle { width: 260px; height: 260px; }
  .culture-char { font-size: 60px; }
  .culture-values { gap: 20px; }

  /* 技术 */
  .tech-block-head { flex-wrap: wrap; gap: 8px; }
  .tech-block-head p { margin-left: 0; width: 100%; }
  .tech-block-label { font-size: 36px; }
  .tech-block-head h3 { font-size: 22px; }
  .empower-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-feature { grid-column: span 1; }

  /* 团队 */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 28px 16px; }
  .team-avatar { width: 72px; height: 72px; }
  .team-avatar-text { font-size: 28px; }

  /* 门诊 */
  .clinic-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }

  /* 网络 */
  .network-map { padding: 24px; min-height: 360px; }
  .network-points { height: 240px; }
  .network-stats { gap: 32px; flex-wrap: wrap; }

  /* 新闻 */
  .section-head { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-feature { grid-column: span 1; }
  .news-card-feature .news-img { height: 180px; }

  /* 招商 */
  .join-modes { grid-template-columns: 1fr; }
  .join-process { padding: 32px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-step::after { display: none; }

  /* 联系 */
  .contact-items { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }

  /* 页脚 */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .footer-qr { align-self: flex-end; }

  /* 悬浮工具 */
  .float-tools { right: 12px; bottom: 80px; }
  .float-tool { padding: 10px; }
  .float-tool-text { display: none; }
  .float-tool-icon { width: 44px; height: 44px; font-size: 18px; }
}

@media (max-width: 480px) {
  .clinic-gallery { grid-template-columns: 1fr; }
  .clinic-card-lg { grid-column: span 1; grid-row: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
