:root {
  --primary: #56b0a7;
  --primary-dark: #3d8f87;
  --primary-light: #e8f5f3;
  --text: #333;
  --text-sub: #666;
  --text-light: #999;
  --border: #e5e5e5;
  --bg: #f7f9f9;
  --container: 1200px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); transition: color .15s; }
a:hover { color: var(--primary-dark); }

/* 按钮 */
.btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-size: 14px; cursor: pointer; transition: all .2s; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 13px; }

/* ============ Header ============ */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; }
.logo-text { font-size: 20px; font-weight: bold; color: var(--primary); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav-item { padding: 8px 16px; color: var(--text); font-size: 15px; border-radius: 4px; transition: all .15s; }
.nav-item:hover, .nav-item.is-active { color: var(--primary); background: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone { display: flex; align-items: center; gap: 6px; color: var(--primary); font-weight: bold; font-size: 15px; }
.phone-icon { font-size: 16px; }
.menu-toggle { display: none; font-size: 24px; color: var(--primary); margin-left: auto; }

@media (max-width: 960px) {
  .header-inner { height: 60px; gap: 12px; }
  .nav { display: none; }
  .phone-num { display: none; }
  .menu-toggle { display: block; }
  .logo-text { font-size: 16px; }
  .logo-mark { width: 34px; height: 34px; font-size: 18px; }
}

/* ============ Footer ============ */
.site-footer { background: #2c3e3b; color: #cfd8d6; margin-top: 60px; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: bold; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 8px; line-height: 1.8; }
.footer-col a { color: #cfd8d6; }
.footer-col a:hover { color: var(--primary); }
.footer-slogan { color: #fff; font-size: 15px; margin-bottom: 8px; }
.footer-qr-box { width: 100px; height: 100px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.footer-qr-placeholder { color: var(--text-light); font-size: 12px; }
.small { font-size: 12px; color: #99a8a5; }
.footer-bottom { border-top: 1px solid #3d4f4c; padding: 20px 0; text-align: center; font-size: 13px; color: #99a8a5; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; }
  .site-footer { padding-top: 30px; }
}

/* ============ Section ============ */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: var(--text); margin-bottom: 10px; font-weight: bold; }
.section-title p { color: var(--text-sub); font-size: 15px; }

/* ============ Banner ============ */
.banner { position: relative; height: 420px; overflow: hidden; background: var(--primary-light); }
.banner-item { width: 100%; height: 100%; object-fit: cover; }
.banner-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #56b0a7 0%, #3d8f87 100%); color: #fff; font-size: 36px; font-weight: bold; letter-spacing: 4px; }

/* ============ Quick Nav ============ */
.quick-nav { background: #fff; margin-top: -60px; position: relative; z-index: 2; border-radius: 8px; box-shadow: 0 4px 24px rgba(0,0,0,.08); padding: 30px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 10px; border-radius: 8px; transition: all .2s; color: var(--text); }
.quick-item:hover { background: var(--primary-light); transform: translateY(-2px); }
.quick-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.quick-label { font-size: 15px; color: var(--text); }

/* ============ Department Cards ============ */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all .2s; color: var(--text); }
.dept-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(86,176,167,.15); transform: translateY(-2px); }
.dept-cover { height: 160px; background: var(--primary-light); overflow: hidden; }
.dept-cover img { width: 100%; height: 100%; object-fit: cover; }
.dept-body { padding: 16px; }
.dept-name { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: var(--text); }
.dept-intro { font-size: 13px; color: var(--text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ Doctor Cards ============ */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doctor-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; display: flex; gap: 16px; transition: all .2s; color: var(--text); }
.doctor-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(86,176,167,.15); }
.doctor-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--primary-light); }
.doctor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor-info { flex: 1; min-width: 0; }
.doctor-name { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.doctor-title { font-size: 13px; color: var(--primary); margin-bottom: 4px; }
.doctor-dept { font-size: 13px; color: var(--text-sub); }

/* ============ Article Cards ============ */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all .2s; color: var(--text); }
.article-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(86,176,167,.15); transform: translateY(-2px); }
.article-cover { height: 180px; background: var(--primary-light); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px; }
.article-title { font-size: 16px; font-weight: bold; line-height: 1.5; margin-bottom: 10px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-summary { font-size: 13px; color: var(--text-sub); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 22px; }
  .section-title { margin-bottom: 24px; }
  .banner { height: 240px; }
  .quick-nav { margin-top: -30px; padding: 20px; }
  .quick-icon { width: 48px; height: 48px; font-size: 20px; }
}
