/* =========================================
   燕赵医院肾病科 - 主样式表
   ========================================= */

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

:root {
  --primary: #1a6eb5;
  --primary-dark: #135294;
  --primary-light: #e8f2fb;
  --accent: #e85d04;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --bg-gray: #f7fafc;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(26,110,181,0.1);
  --radius: 10px;
}

body {
  font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- 顶部通知栏 ---- */
.top-bar {
  background: #1a3a6b;
  color: #cce4ff;
  font-size: 13px;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.top-bar span i { margin-right: 6px; color: #7ec8e3; }

/* ---- 导航栏 ---- */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), #2192ff);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white;
}
.logo-text h1 { font-size: 22px; color: var(--primary-dark); }
.logo-text p { font-size: 12px; color: var(--text-light); }

.nav ul { display: flex; gap: 5px; }
.nav ul li a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s;
}
.nav ul li a:hover, .nav ul li a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.btn-appoint {
  background: linear-gradient(135deg, var(--accent), #ff6b2b);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(232,93,4,0.4);
  transition: transform 0.2s;
}
.btn-appoint:hover { transform: translateY(-2px); }
.btn-appoint i { margin-right: 6px; }

/* ---- Hero Banner ---- */
.hero {
  background: linear-gradient(135deg, #0b2447 0%, #19376d 50%, #1a6eb5 100%);
  color: white;
  padding: 80px 20px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -200px; right: -200px;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; margin-bottom: 40px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff6b2b);
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(232,93,4,0.5);
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-item .num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #ffd700;
}
.stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ---- 快捷导航 ---- */
.quick-nav {
  background: white;
  padding: 28px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.qnav-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.qnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: var(--bg-gray);
  border: 1px solid var(--border);
  transition: all 0.2s;
  font-size: 13px;
  color: var(--text);
}
.qnav-item i {
  font-size: 24px;
  color: var(--primary);
}
.qnav-item:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary);
}
.qnav-item.highlight {
  background: linear-gradient(135deg, var(--accent), #ff6b2b);
  color: white;
  border-color: transparent;
}
.qnav-item.highlight i { color: white; }
.qnav-item.highlight:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(232,93,4,0.4); }

/* ---- 通用 Section ---- */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 {
  font-size: 32px;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), #2192ff);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 10px;
}

/* ---- 专家卡片 ---- */
.experts-section { background: var(--bg-gray); }
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expert-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,110,181,0.18);
}
.expert-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2192ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: white;
  flex-shrink: 0;
}
.expert-avatar.female { background: linear-gradient(135deg, #e879f9, #c026d3); }
.expert-avatar.male { background: linear-gradient(135deg, #38bdf8, #0284c7); }

.expert-info h3 { font-size: 18px; color: var(--text); margin-bottom: 4px; }
.expert-info .title {
  font-size: 12px;
  color: white;
  background: var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.expert-info .desc { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.btn-sm {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-sm:hover { background: var(--primary); color: white; }

.center-btn { text-align: center; margin-top: 30px; }
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-more:hover { background: var(--primary); color: white; }

/* ---- 病种中心 ---- */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.disease-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.disease-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(26,110,181,0.18);
}
.dc-icon {
  background: linear-gradient(135deg, var(--primary), #2192ff);
  color: white;
  font-size: 28px;
  padding: 22px;
  text-align: center;
}
.dc-body { padding: 18px; flex: 1; }
.dc-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.dc-body p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.dc-link { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ---- 为什么选择 ---- */
.why-section { background: var(--bg-gray); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.why-item:hover { transform: translateY(-4px); }
.wi-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), #2192ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: white;
  margin: 0 auto 16px;
}
.why-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--text); }
.why-item p { font-size: 13px; color: var(--text-light); }

/* ---- 出诊表格 ---- */
.schedule-table-wrap { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.schedule-table th {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
}
.schedule-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.schedule-table tr:nth-child(even) { background: var(--bg-gray); }
.schedule-table tr:hover { background: var(--primary-light); }
.doc-name { font-weight: 600; color: var(--primary); text-align: left; }
.am {
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 4px;
}
.pm {
  background: #fff3e0;
  color: #e65100;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 4px;
}
.schedule-note {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: 8px;
  padding: 12px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: #5d4037;
}
.schedule-note i { margin-right: 6px; color: #f57f17; }

/* ---- 页脚 ---- */
.footer {
  background: #0b2447;
  color: #a0aec0;
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-col h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
}
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 13px; color: #a0aec0; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.contact-items p i { margin-right: 8px; color: #7ec8e3; }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #718096;
}

/* =========================================
   专家介绍页
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, #0b2447, #19376d);
  color: white;
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 { font-size: 32px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 15px; }

.experts-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.expert-full-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.expert-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(26,110,181,0.2);
}
.efc-header {
  background: linear-gradient(135deg, var(--primary), #2192ff);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.efc-header.female { background: linear-gradient(135deg, #7e22ce, #c026d3); }
.efc-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: white;
}
.efc-header h3 { font-size: 24px; color: white; margin-bottom: 4px; }
.efc-header .efc-title {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
}
.efc-body { padding: 24px; }
.efc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.efc-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}
.efc-body p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.efc-appoint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.efc-appoint:hover { background: var(--primary-dark); }

/* =========================================
   病种文章页
   ========================================= */
.diseases-section { padding: 60px 0; }
.disease-article {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}
.da-header {
  background: linear-gradient(135deg, var(--primary), #2192ff);
  color: white;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.da-header i { font-size: 28px; }
.da-header h2 { font-size: 22px; }
.da-header p { font-size: 13px; opacity: 0.8; margin-top: 3px; }
.da-body { padding: 28px; }
.da-body h3 { font-size: 17px; color: var(--primary); margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.da-body h3 i { font-size: 16px; }
.da-body p { font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 12px; }
.da-body ul { padding-left: 20px; margin-bottom: 14px; }
.da-body ul li { font-size: 14px; color: var(--text); line-height: 2; }
.da-tip {
  background: #e8f2fb;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--primary-dark);
  margin-top: 16px;
}
.da-tip i { margin-right: 6px; }

/* =========================================
   预约挂号页
   ========================================= */
.appointment-section { padding: 60px 0; }
.appoint-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.appoint-info {
  background: linear-gradient(135deg, #0b2447, #19376d);
  color: white;
  border-radius: var(--radius);
  padding: 36px;
}
.appoint-info h2 { font-size: 24px; margin-bottom: 20px; }
.contact-block { margin-bottom: 28px; }
.contact-block h3 { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.phone-num {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.phone-num i { font-size: 22px; color: #7ec8e3; }
.phone-num .num { font-size: 22px; font-weight: 700; }
.phone-num .desc { font-size: 12px; opacity: 0.7; }
.appoint-steps { margin-top: 20px; }
.appoint-steps h3 { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.step-num {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item .step-text { font-size: 13px; line-height: 1.7; opacity: 0.9; }

.appoint-form {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.appoint-form h2 { font-size: 22px; margin-bottom: 24px; color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group label span { color: #e53e3e; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  background: var(--bg-gray);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), #2192ff);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 6px;
  font-family: inherit;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,110,181,0.4);
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
}

/* ---- 成功提示 ---- */
.success-msg {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #66bb6a;
  border-radius: 10px;
  padding: 18px 24px;
  text-align: center;
  margin-top: 16px;
  color: #2e7d32;
  font-weight: 600;
}
.success-msg i { font-size: 24px; margin-bottom: 6px; display: block; }

/* =========================================
   联系我们页
   ========================================= */
.contact-section { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-3px); }
.cc-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), #2192ff);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white;
  flex-shrink: 0;
}
.cc-info h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.cc-info p { font-size: 14px; color: var(--text-light); }
.cc-info .cc-highlight { font-size: 20px; font-weight: 700; color: var(--primary); }

/* 地图占位 */
.map-placeholder {
  background: var(--primary-light);
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  gap: 10px;
}
.map-placeholder i { font-size: 40px; }

/* =========================================
   响应式
   ========================================= */
@media (max-width: 1024px) {
  .experts-grid, .experts-full-grid { grid-template-columns: repeat(2, 1fr); }
  .disease-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qnav-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .experts-grid, .experts-full-grid { grid-template-columns: 1fr; }
  .disease-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .appoint-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .qnav-grid { grid-template-columns: repeat(4, 1fr); }
  .nav ul { display: none; }
  .header-btn { display: none; }
}
