* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1e293b; background: #f8fafc; line-height: 1.7; }
a { color: #1e40af; text-decoration: none; transition: all 0.2s ease; }
a:hover { color: #3b82f6; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 - 知识门户风格 */
.header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e2e8f0; z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.45rem; font-weight: 700; color: #1e3a8a; letter-spacing: -0.5px; }
.logo span { color: #3b82f6; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a { color: #475569; font-size: 0.92rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav-desktop a:hover { color: #1e40af; }
.nav-desktop a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #3b82f6; transition: width 0.2s ease; }
.nav-desktop a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; border: none; }
.btn-primary { background: #1e40af; color: #fff; }
.btn-primary:hover { background: #1e3a8a; color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #1e40af; border: 1px solid #3b82f6; }
.btn-outline:hover { background: #eff6ff; color: #1e40af; }
.btn-phone { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; }
.btn-phone:hover { color: #fff; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #1e3a8a; padding: 4px 8px; }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; border-bottom: 1px solid #f1f5f9; color: #334155; font-weight: 500; }
.nav-mobile a:last-child { border-bottom: none; }

/* Hero 区域 - 知识门户大标题 */
.hero { position: relative; background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%); color: #fff; padding: 72px 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.03); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.8px; }
.hero p { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.88); margin-bottom: 28px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btns .btn { padding: 12px 28px; }
.btn-white { background: #fff; color: #1e40af; }
.btn-white:hover { background: #f8fafc; color: #1e3a8a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hero-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.hero-image img { width: 100%; height: 340px; object-fit: cover; }

/* 通用区块 */
section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag { display: inline-block; background: #eff6ff; color: #1e40af; padding: 5px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 500; margin-bottom: 12px; }
.section-header h2 { font-size: 1.85rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; letter-spacing: -0.5px; }
.section-header p { color: #64748b; font-size: 0.98rem; max-width: 600px; margin: 0 auto; }

/* 服务分类 */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 24px 20px; transition: all 0.25s ease; }
.service-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(30,64,175,0.08); transform: translateY(-2px); }
.service-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; color: #1e40af; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: #64748b; line-height: 1.65; margin-bottom: 14px; }
.service-link { font-size: 0.85rem; color: #2563eb; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.service-link:hover { gap: 6px; }

/* 试管婴儿技术 */
.ivf { background: #f8fafc; }
.ivf-intro { background: #fff; border-radius: 12px; padding: 32px; margin-bottom: 32px; border: 1px solid #e2e8f0; }
.ivf-intro h3 { font-size: 1.3rem; font-weight: 600; color: #0f172a; margin-bottom: 14px; }
.ivf-intro p { color: #475569; line-height: 1.8; margin-bottom: 12px; }
.ivf-intro .note { background: #f1f5f9; border-left: 3px solid #3b82f6; padding: 12px 16px; border-radius: 0 6px 6px 0; font-size: 0.9rem; color: #475569; margin-top: 16px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.25s ease; }
.tech-card:hover { box-shadow: 0 12px 28px rgba(30,64,175,0.08); }
.tech-header { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #fff; padding: 24px; }
.tech-num { font-size: 2.2rem; font-weight: 700; opacity: 0.3; margin-bottom: 4px; }
.tech-card h4 { font-size: 1.15rem; font-weight: 600; }
.tech-body { padding: 24px; }
.tech-body h5 { font-size: 0.92rem; font-weight: 600; color: #1e40af; margin: 14px 0 6px; }
.tech-body h5:first-child { margin-top: 0; }
.tech-body p, .tech-body li { font-size: 0.88rem; color: #475569; line-height: 1.7; }
.tech-body ul { padding-left: 18px; }
.tech-body li { margin-bottom: 4px; }

/* 知识分类 */
.departments { background: #fff; }
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dept-item { background: #f8fafc; border-radius: 8px; padding: 20px; border-left: 3px solid #3b82f6; transition: all 0.2s ease; }
.dept-item:hover { background: #eff6ff; transform: translateX(4px); }
.dept-item h4 { font-size: 0.98rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.dept-item p { font-size: 0.85rem; color: #64748b; line-height: 1.6; }

/* 就诊流程 */
.process { background: #f8fafc; }
.process-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 24px; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 5%; right: 5%; height: 2px; background: #dbeafe; z-index: 0; }
.step-item { position: relative; z-index: 1; text-align: center; flex: 1; }
.step-num { width: 64px; height: 64px; background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(30,64,175,0.2); }
.step-item h4 { font-size: 1rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.step-item p { font-size: 0.85rem; color: #64748b; padding: 0 8px; line-height: 1.6; }
.process-note { background: #fff; border-radius: 8px; padding: 20px; border: 1px solid #e2e8f0; text-align: center; color: #64748b; font-size: 0.9rem; line-height: 1.7; }

/* 科普指南 */
.guide { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-card { background: #f8fafc; border-radius: 8px; padding: 20px; border: 1px solid #e2e8f0; transition: all 0.2s ease; }
.guide-card:hover { border-color: #93c5fd; background: #f0f7ff; }
.guide-card h4 { font-size: 0.98rem; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.guide-card p { font-size: 0.85rem; color: #64748b; line-height: 1.65; }

/* 专家团队 - 知识作者风格 */
.experts { background: #f8fafc; }
.experts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expert-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; text-align: center; padding: 32px 24px; transition: all 0.25s ease; }
.expert-card:hover { box-shadow: 0 8px 24px rgba(30,64,175,0.08); }
.expert-avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #1e40af; }
.expert-card h4 { font-size: 1.1rem; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.expert-title { font-size: 0.85rem; color: #2563eb; font-weight: 500; margin-bottom: 10px; }
.expert-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin-bottom: 16px; }
.expert-meta { font-size: 0.82rem; color: #94a3b8; padding-top: 12px; border-top: 1px solid #f1f5f9; }

/* 资讯列表 - 门户文章列表风格 */
.news { background: #fff; }
/* 强制资讯网格规则 */
ul.article-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; width: 100%; box-sizing: border-box; }
ul.article-cards > li.article-card { min-width: 0; width: auto; max-width: none; margin: 0; float: none; box-sizing: border-box; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: all 0.25s ease; }
ul.article-cards > li.article-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(30,64,175,0.08); transform: translateY(-2px); }
.article-card .card-thumb { width: 100%; overflow: hidden; }
.article-card .card-thumb img { display: block; width: 100%; max-width: 100%; height: 180px; object-fit: cover; }
.article-card .card-body { padding: 18px; }
.article-card .card-title { overflow-wrap: anywhere; font-size: 1rem; font-weight: 600; color: #1e293b; margin-bottom: 8px; line-height: 1.5; }
.article-card .card-date { display: block; font-size: 0.82rem; color: #94a3b8; margin-bottom: 8px; }
.article-card .card-summary { overflow-wrap: anywhere; font-size: 0.88rem; color: #64748b; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ */
.faq { background: #f8fafc; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
.faq-q { padding: 18px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 500; color: #1e293b; font-size: 0.95rem; transition: background 0.2s ease; }
.faq-q:hover { background: #f8fafc; }
.faq-q .icon { font-size: 1.2rem; color: #3b82f6; transition: transform 0.25s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }
.faq-a p { color: #64748b; font-size: 0.92rem; line-height: 1.75; }

/* 关于我们 */
.about { background: #fff; }
.about-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.about-text { font-size: 1rem; color: #475569; line-height: 1.85; margin-bottom: 28px; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.about-item { text-align: center; padding: 20px; }
.about-item-icon { width: 52px; height: 52px; background: #eff6ff; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #1e40af; }
.about-item h4 { font-size: 0.95rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.about-item p { font-size: 0.82rem; color: #64748b; line-height: 1.6; }
.disclaimer { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 18px 22px; margin-top: 28px; font-size: 0.88rem; color: #991b1b; line-height: 1.7; text-align: left; }

/* 联系方式 */
.contact { background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.contact-info p { color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 24px; font-size: 0.98rem; }
.contact-phone { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 10px; padding: 24px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.15); }
.contact-phone-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-phone-text .label { font-size: 0.85rem; opacity: 0.8; margin-bottom: 4px; }
.contact-phone-text .num { font-size: 1.5rem; font-weight: 700; }
.contact-form { background: #fff; border-radius: 12px; padding: 28px; color: #1e293b; }
.contact-form h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 20px; color: #0f172a; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: #334155; margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.92rem; font-family: inherit; transition: border-color 0.2s ease; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-note { font-size: 0.8rem; color: #94a3b8; margin-top: 12px; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 20px; color: #1e40af; font-weight: 500; }

/* 页脚 */
.footer { background: #0f172a; color: #94a3b8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; }
.footer-col h4 { color: #f1f5f9; font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.footer-col a { display: block; color: #94a3b8; font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: #3b82f6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.footer-links a { color: #64748b; font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.83rem; }
.grouplinks { margin-top: 12px; font-size: 0.82rem; }
.grouplinks a { color: #64748b; margin: 0 8px; }
.grouplinks a:hover { color: #3b82f6; }

/* 文章详情页 */
.article-hero { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 24px 0 0; }
.breadcrumb { font-size: 0.88rem; color: #94a3b8; margin-bottom: 24px; }
.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #1e40af; }
.article-header { max-width: 780px; margin: 0 auto; text-align: center; padding-bottom: 32px; }
.article-header h1 { font-size: 2rem; font-weight: 700; color: #0f172a; line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.5px; }
.article-meta { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 0.88rem; color: #94a3b8; }
.article-summary { max-width: 780px; margin: 0 auto; background: #f8fafc; border-left: 3px solid #3b82f6; padding: 16px 20px; border-radius: 0 6px 6px 0; color: #475569; font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; }
.article-cover { max-width: 900px; margin: 0 auto 32px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.article-cover img { width: 100%; height: auto; }
.article-content { max-width: 780px; margin: 0 auto; padding-bottom: 60px; }
.article-content p { font-size: 1rem; line-height: 1.85; color: #334155; margin-bottom: 20px; }
.article-content h2 { font-size: 1.45rem; font-weight: 700; color: #0f172a; margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.article-content h3 { font-size: 1.18rem; font-weight: 600; color: #1e293b; margin: 28px 0 12px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { font-size: 0.98rem; line-height: 1.8; color: #334155; margin-bottom: 6px; }
.article-content img { border-radius: 8px; margin: 20px 0; }
.article-content blockquote { background: #f8fafc; border-left: 4px solid #3b82f6; padding: 16px 20px; margin: 20px 0; border-radius: 0 6px 6px 0; color: #475569; }

/* 响应式 */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .dept-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps { flex-direction: column; gap: 20px; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-image img { height: 220px; }
  .services-grid, .dept-grid, .guide-grid, .experts-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .article-header h1 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}