/* 郑州益好医院 - 共享样式（叠加在 Tailwind 之上做微调） */
:root {
  --brand-blue: #0c5fa3;
  --brand-blue-dark: #084a82;
  --brand-cyan: #1aa6c4;
  --brand-light: #e8f3fb;
}

html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; }

.brand-text { color: var(--brand-blue); }
.brand-bg { background-color: var(--brand-blue); }
.brand-bg-dark { background-color: var(--brand-blue-dark); }
.brand-border { border-color: var(--brand-blue); }

/* 顶部条 */
.topbar { background: var(--brand-blue-dark); color: #fff; font-size: 14px; }
.topbar a { color: #fff; }

/* 导航 */
.nav-link {
  position: relative;
  display: inline-block;
  padding: 22px 18px;
  font-size: 17px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--brand-blue); font-weight: 600; }
.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 10px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 3px;
}

/* 导航下拉菜单（手机/平板） */
.nav-menu-mobile {
  background: #fff;
  border-top: 1px solid #f0f3f7;
  box-shadow: 0 8px 16px rgba(0,0,0,.06);
}
.nav-menu-mobile li a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #f3f4f6;
}
.nav-menu-mobile li:last-child a { border-bottom: 0; }
.nav-menu-mobile li a.active { color: var(--brand-blue); font-weight: 600; background: #f3f8fd; }

/* Banner */
.hero {
  background: linear-gradient(120deg, rgba(12,95,163,.88), rgba(26,166,196,.72)),
              url("../images/hospital.png") center/cover no-repeat;
  min-height: 520px; color: #fff;
}
.hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,.35); }

/* 卡片 */
.card { transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(12,95,163,.18); }

/* 浮动咨询 */
.float-actions { position: fixed; right: 18px; bottom: 90px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-actions a {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.float-actions .fa-phone { background: #f59e0b; }
.float-actions .fa-chat { background: #16a34a; }
.float-actions .fa-top { background: #6b7280; }

/* 底部 */
footer { color: #d1d5db; }
footer a { color: #cbd5e1; }
footer a:hover { color: #fff; text-decoration: underline; }

/* 文章详情 */
.article-content p { margin-bottom: 14px; line-height: 1.95; color: #4b5563; }
.article-content h2, .article-content h3 { color: var(--brand-blue); margin: 26px 0 14px; }

/* 表格 */
.kv-table th, .kv-table td { padding: 12px 14px; border: 1px solid #e5e7eb; text-align: left; font-size: 14px; }
.kv-table th { background: #f3f8fd; color: var(--brand-blue); width: 30%; }

/* 响应式适配 */
@media (max-width: 768px) {
  .hero { min-height: 380px; }
  .hero h1 { font-size: 1.75rem !important; }
  .hero p { font-size: 0.95rem; }
  .nav-link { padding: 12px 10px; font-size: 15px; }
  .float-actions { right: 12px; bottom: 80px; }
  .float-actions a { width: 48px; height: 48px; font-size: 11px; }
}

@media (max-width: 480px) {
  .hero { min-height: 320px; }
  .hero h1 { font-size: 1.5rem !important; line-height: 1.3; }
}
