* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: #f4f6f9; color: #333; line-height: 1.8; }

/* ===== Navigation ===== */
.top-nav { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; padding: 0 20px; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #0d47a1; text-decoration: none; margin-right: auto; }
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: #555; text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 6px; transition: all 0.2s; }
.nav-links a:hover { background: #e8f0fe; color: #1a73e8; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: #333; cursor: pointer; padding: 8px; }

/* ===== Container ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px 40px; }

/* ===== Hero ===== */
.hero { position: relative; border-radius: 0 0 24px 24px; overflow: hidden; margin: 0 -20px 30px; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,71,161,0.85), rgba(26,115,232,0.7)); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 80px 30px; color: #fff; }
.hero-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: 2px; }
.hero-content p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.hero-content .sub { font-size: 14px; opacity: 0.7; margin-top: 12px; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 30px 0; }
.card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); transition: all 0.3s; cursor: default; border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(26,115,232,0.12); border-color: #e8f0fe; }
.card-icon { font-size: 36px; margin-bottom: 12px; }
.card h3 { color: #0d47a1; font-size: 18px; margin-bottom: 10px; }
.card p { color: #666; font-size: 14px; line-height: 1.7; }
.card a { color: #1a73e8; text-decoration: none; display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.card a:hover { text-decoration: underline; }

/* ===== Page Content ===== */
.page-content { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin: 24px 0; }
.page-content h1 { color: #0d47a1; font-size: 28px; margin-bottom: 16px; }
.page-content h2 { color: #1565c0; font-size: 22px; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #e8f0fe; }
.page-content h3 { color: #1976d2; font-size: 18px; margin: 20px 0 10px; }
.page-content p { margin: 12px 0; color: #444; }
.page-content ul, .page-content ol { margin: 12px 0 12px 24px; }
.page-content li { margin: 8px 0; color: #444; }
.page-content .meta { color: #999; font-size: 14px; }

/* ===== Doctor Cards ===== */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 24px 0; }
.doctor-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: all 0.3s; }
.doctor-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.doctor-img-wrap { width: 100%; height: 220px; overflow: hidden; background: #f0f4ff; }
.doctor-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.05); }
.doctor-info { padding: 20px; }
.doctor-info h3 { color: #0d47a1; font-size: 18px; margin-bottom: 4px; }
.doctor-info .title { color: #888; font-size: 13px; margin-bottom: 12px; }
.doctor-info .bio { color: #555; font-size: 14px; line-height: 1.7; }
.doctor-info strong { color: #1565c0; }

/* ===== Contact ===== */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.contact-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.contact-card h3 { color: #0d47a1; margin-bottom: 16px; font-size: 18px; }
.contact-card p { margin: 10px 0; color: #555; }
.contact-icon { font-size: 24px; margin-right: 10px; }
.transit-card { background: #f8faff; border-radius: 12px; padding: 20px; margin: 12px 0; border-left: 4px solid #1a73e8; }
.transit-card h4 { color: #0d47a1; margin-bottom: 8px; }
.transit-card p { color: #555; font-size: 14px; }

/* ===== Articles ===== */
.article-list { list-style: none; }
.article-list li { padding: 18px 24px; background: #fff; border-radius: 12px; margin: 10px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: all 0.2s; border: 1px solid #f0f0f0; }
.article-list li:hover { box-shadow: 0 4px 16px rgba(26,115,232,0.1); border-color: #e8f0fe; }
.article-list a { color: #0d47a1; text-decoration: none; font-size: 16px; font-weight: 500; }
.article-list a:hover { color: #1a73e8; }
.article-list .cat { display: inline-block; background: #e8f0fe; color: #1a73e8; padding: 2px 12px; border-radius: 12px; font-size: 12px; margin-left: 10px; }
.article-hero { background: linear-gradient(135deg, #0d47a1, #1a73e8); color: #fff; padding: 60px 40px; border-radius: 16px; margin: 24px 0; text-align: center; }
.article-hero h1 { color: #fff !important; font-size: 28px; margin-bottom: 8px !important; }
.article-hero .meta { color: rgba(255,255,255,0.7) !important; }

/* ===== Footer ===== */
.footer { background: #0d1b2a; color: rgba(255,255,255,0.7); padding: 40px 20px 0; margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 2; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; }

/* ===== Section Banners ===== */
.section-banner { position: relative; height: 240px; border-radius: 16px; overflow: hidden; margin: 24px 0; }
.section-banner img { width: 100%; height: 100%; object-fit: cover; }
.section-banner .overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,71,161,0.8), rgba(26,115,232,0.6)); display: flex; align-items: center; justify-content: center; }
.section-banner h2 { color: #fff; font-size: 28px; letter-spacing: 4px; }

/* ===== Stats ===== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.stat-box { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; }
.stat-num { font-size: 32px; font-weight: 800; color: #1a73e8; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 0; padding: 10px 0; }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 10px 14px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .page-content { padding: 20px; }
}
