/* ========================================
   郑州安美星河 - 官网视觉 + 博客内容
   主色调：玫瑰金/香槟金 #C9A67A
   ======================================== */

:root {
  --primary: #C9A67A;
  --primary-light: #E5D4C0;
  --primary-dark: #A68B5B;
  --bg-white: #FFFFFF;
  --bg-light: #FAFAFA;
  --bg-cream: #FDF8F3;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --border: #EEEEEE;
  --shadow: rgba(0, 0, 0, 0.08);
  --wechat-color: #07C160;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.8;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   Header 导航
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 15px;
  color: var(--text-gray);
  position: relative;
  padding: 5px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.wechat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--wechat-color), #06AD56);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(7, 193, 96, 0.3);
}

.wechat-top svg {
  width: 18px;
  height: 18px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
  padding: 160px 40px 100px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 50%, #FEF9F5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(201, 166, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-wechat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wechat-color), #06AD56);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(7, 193, 96, 0.35);
  margin-bottom: 30px;
}

.hero-wechat svg {
  width: 22px;
  height: 22px;
}

.hero-domain {
  color: var(--text-light);
  font-size: 14px;
}

.hero-domain a {
  color: var(--primary);
}

/* ========================================
   页面头部（通用）
   ======================================== */
.page-header {
  padding: 140px 40px 60px;
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-white));
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-gray);
}

.page-wechat-strip {
  background: linear-gradient(135deg, var(--wechat-color), #06AD56);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 3px 15px rgba(7, 193, 96, 0.3);
}

/* ========================================
   主内容区域
   ======================================== */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-gray);
  font-size: 15px;
}

/* ========================================
   文章卡片
   ======================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-cream), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.article-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.article-content {
  padding: 25px;
}

.article-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.article-tag {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.author-name {
  font-size: 13px;
  color: var(--text-gray);
}

/* ========================================
   人物卡片
   ======================================== */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.person-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 20px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
}

.person-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  font-weight: 600;
  position: relative;
}

.person-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--primary-light);
}

.person-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.person-title {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 15px;
}

.person-intro {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.person-tag {
  background: var(--bg-cream);
  color: var(--text-gray);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}

/* ========================================
   随笔内容详情
   ======================================== */
.essay-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 2px 20px var(--shadow);
}

.essay-meta {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.essay-category {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 13px;
  margin-bottom: 20px;
}

.essay-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.essay-info {
  color: var(--text-light);
  font-size: 14px;
}

.essay-content {
  font-size: 16px;
  line-height: 2;
  color: var(--text-gray);
}

.essay-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.essay-content h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 30px 0 15px;
}

.essay-quote {
  background: var(--bg-cream);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dark);
}

/* ========================================
   联系方式
   ======================================== */
.contact-section {
  text-align: center;
  padding: 60px 40px;
}

.contact-wechat {
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-white));
  border: 2px solid var(--primary-light);
  border-radius: 20px;
  padding: 50px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.contact-wechat h3 {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.wechat-qr {
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 60px;
}

.wechat-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wechat-color), #06AD56);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(7, 193, 96, 0.35);
}

.wechat-number svg {
  width: 24px;
  height: 24px;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  color: var(--text-gray);
  font-size: 15px;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.disclaimer {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
  text-align: left;
}

.disclaimer h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.disclaimer p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   底部
   ======================================== */
.footer {
  background: var(--bg-dark, #1a1a1a);
  color: #888;
  padding: 50px 40px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer p {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer a {
  color: var(--primary);
}

/* ========================================
   响应式
   ======================================== */

/* 医师搜索标签区块 */
.doctor-tags-section {
    background: linear-gradient(135deg, #fdf3e8 0%, #f9e8d4 100%);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.doctor-section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 600;
}
.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.doctor-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: var(--text-dark);
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--primary);
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}
.doctor-tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,166,122,0.3);
}
@media (max-width: 768px) {
/* 移动端医师搜索标签突出样式 */
.doctor-tags-section {
    background: linear-gradient(135deg, #f5d5a8 0%, #eec68e 100%);
    padding: 35px 0;
}
.doctor-section-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-align: center;
}
.doctor-tags {
    gap: 12px;
    padding: 0 5px;
}
.doctor-tag {
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 30px;
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(201,166,122,0.15);
}
.doctor-tag:hover, .doctor-tag:active {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

  .header-inner {
    padding: 0 20px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 20px var(--shadow);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 120px 20px 60px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .page-header {
    padding: 120px 20px 40px;
  }
  
  .page-header h1 {
    font-size: 28px;
  }
  
  .main {
    padding: 40px 20px;
  }
  
  .articles-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }
  
  .essay-detail {
    padding: 25px;
  }
  
  .essay-title {
    font-size: 24px;
  }
  
  .contact-wechat {
    padding: 30px 20px;
  }
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   博客内容页通用样式
   ======================================== */
.blog-article {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 20px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-article:hover {
  border-color: var(--primary-light);
}

.blog-article-header {
  margin-bottom: 20px;
}

.blog-article-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-article-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 15px;
}

.blog-article-title:hover {
  color: var(--primary);
}

.blog-article-excerpt {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
}

.blog-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.blog-article-tag {
  background: var(--bg-cream);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 15px;
  font-size: 12px;
}

.read-more {
  color: var(--primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  gap: 10px;
}

/* 团队展示区域 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 30px auto;
    max-width: 800px;
}

.team-grid p {
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.team-grid p:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hero-wechat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #07c160;
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 18px;
    margin: 20px auto;
}

.hero-wechat svg {
    width: 24px;
    height: 24px;
}

.hero-wechat strong {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* 固定底部联系方式栏 */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
.contact-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}
.contact-left {
    flex: 1;
    padding: 14px 18px;
    background: #1a1a1a;
    color: #ffd700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.contact-left strong {
    color: #fff;
    font-size: 1.05rem;
    word-break: break-all;
}
.contact-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 22px;
    background: #07c160;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-width: 120px;
}
.contact-right:hover {
    background: #06ad56;
    transform: scale(1.02);
}
.contact-right:active {
    background: #059a4c;
    transform: scale(0.97);
}
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 10001;
    display: none;
}
.copy-toast.show {
    display: block;
}
body {
    padding-bottom: 80px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fixed-contact-bar { width: 100vw; }
    .contact-left { font-size: 0.82rem; padding: 12px 10px; }
    .contact-left strong { font-size: 0.9rem; }
    .contact-right { padding: 12px 12px; font-size: 0.78rem; min-width: 90px; }
    body { padding-bottom: 70px; }
}
