/* ===== 全景医学影像 - 门户站点样式 ===== */
:root {
  --primary: #0e6fb8;
  --primary-dark: #0a5290;
  --primary-light: #e8f2fa;
  --accent: #14b5a5;
  --text: #22303c;
  --text-light: #5c6b78;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --border: #e2eaf1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 111, 184, 0.08);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(14, 111, 184, 0.1); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.brand-mark { flex: none; }
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-size: 18px; color: var(--text); letter-spacing: 1px; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: 3px; color: var(--primary); }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 15px;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 20%, rgba(20, 181, 165, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 90% at 80% 30%, rgba(87, 169, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #0a4e86 0%, #0e6fb8 55%, #1287a8 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 2px;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.85);
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.btn-ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }

/* ===== 数据概览 ===== */
.stats { background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 24px;
}
.stat-item {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.stat-item strong {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-item strong::after { content: "+"; font-size: 22px; }
.stat-item span { font-size: 13px; color: var(--text-light); }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: 1px; }
.section-head p { margin-top: 12px; color: var(--text-light); font-size: 15px; }

/* ===== 关于全景 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--text-light); font-size: 15.5px; }
.about-text p:first-child { color: var(--text); font-size: 16.5px; }
.about-points { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.about-points li {
  padding-left: 30px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 181, 165, 0.15);
}

/* PET/MR 卡片视觉 */
.about-visual { display: flex; justify-content: center; }
.scan-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(160deg, #0a4e86, #0e6fb8 60%, #1287a8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scan-rings { position: relative; width: 200px; height: 200px; }
.scan-rings i {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  animation: ringPulse 3.2s ease-out infinite;
}
.scan-rings i:nth-child(2) { animation-delay: 0.8s; }
.scan-rings i:nth-child(3) { animation-delay: 1.6s; }
.scan-rings i:nth-child(4) { animation-delay: 2.4s; }
@keyframes ringPulse {
  0%   { transform: scale(0.25); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.scan-line {
  position: absolute;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  animation: scanMove 3s ease-in-out infinite alternate;
}
@keyframes scanMove {
  from { top: 26%; }
  to   { top: 70%; }
}
.scan-label { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 2px; }
.scan-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 24px; }
.scan-tags span {
  font-size: 12px;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ===== 医疗服务 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: 1px; }
.service-card p { font-size: 14px; color: var(--text-light); flex: 1; }
.service-link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.service-link:hover { color: var(--primary-dark); }

/* ===== 全景中心 ===== */
.centers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.center-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.center-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.center-city {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}
.center-name { display: block; font-size: 16px; font-weight: 700; }
.center-addr { display: block; margin-top: 6px; font-size: 13px; color: var(--text-light); }

/* ===== 佲医荟 ===== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.expert-tier {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 16px;
}
.expert-card h3 { font-size: 19px; margin-bottom: 10px; }
.expert-card p { font-size: 14px; color: var(--text-light); }

.expert-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.expert-stats > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 10px;
}
.expert-stats strong { display: block; font-size: 32px; color: var(--primary); font-weight: 700; }
.expert-stats span { font-size: 13.5px; color: var(--text-light); }

/* ===== 新闻 ===== */
.news-list { display: grid; gap: 16px; }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.news-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.news-item time { font-size: 13px; color: var(--text-light); font-variant-numeric: tabular-nums; }
.news-item h3 { font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.news-arrow { color: var(--primary); font-size: 18px; text-align: right; }
.news-more { text-align: center; margin-top: 32px; }

/* ===== 预约咨询带 ===== */
.cta-band {
  background: linear-gradient(120deg, #0a4e86, #0e6fb8 60%, #1287a8);
  color: #fff;
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(20px, 3vw, 28px); letter-spacing: 1px; }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,0.8); font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.site-footer { background: #0d2436; color: rgba(255,255,255,0.75); padding: 64px 0 0; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { line-height: 1.8; font-size: 13.5px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { padding: 3px 0; font-size: 13.5px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.7);
}
.footer-bottom a:hover { color: #fff; }

/* ===== 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .centers-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(14,111,184,0.12);
  }
  .site-header.nav-open .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--bg-alt); }
  .site-header.nav-open .header-cta { display: inline-flex; margin: 12px 24px 0; }
  .hero { padding: 84px 0 72px; }
  .experts-grid { grid-template-columns: 1fr; }
  .expert-stats { grid-template-columns: 1fr; }
  .centers-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-arrow { display: none; }
  .cta-inner { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .section { padding: 64px 0; }
}
