/* ── 中医诊疗服务页面 - 传统与现代融合设计 ───────────────────────── */

/* Hero 区域 - 中医古典绿色主题 */
.tcm-hero-new {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  position: relative;
  height: 350px;
  min-height: 350px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.tcm-hero-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(72, 187, 120, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(56, 161, 105, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.tcm-hero-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tcm-hero-new .container {
  position: relative;
  z-index: 2;
}

.hero-content-new,
.tcm-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tcm-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-new,
.tcm-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #d4a853;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title-new,
.tcm-hero-title {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 6px;
}

.hero-title-new span,
.tcm-hero-title span {
  font-weight: 700;
  color: #d4a853;
}

.hero-desc-new,
.tcm-hero-desc {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  letter-spacing: 2px;
}

/* ── 服务介绍区块 ─────────────────────────────────────────── */
.intro-section-new {
  padding: 100px 0 60px;
  background: #fff;
}

.section-header-new {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.accent-line-new {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #276749, #38a169);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.section-title-new {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a4731;
  margin-bottom: 24px;
}

.section-desc-new {
  font-size: 1.15rem;
  color: #4a5568;
  line-height: 2;
}

/* ── 服务内容区块 ─────────────────────────────────────────── */
.services-section-new {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
  position: relative;
}

.services-section-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, #fff, transparent);
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .services-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services-grid-new {
    grid-template-columns: 1fr;
  }
}

.service-card-new {
  background: #fff;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(39, 103, 73, 0.08);
}

.service-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #276749, transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card-new:hover::before {
  transform: scaleX(1);
}

.service-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: rgba(39, 103, 73, 0.15);
}

.service-icon-new {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f0fff4, #c6f6d5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.2rem;
  color: #276749;
  border: 2px solid rgba(39, 103, 73, 0.15);
  transition: all 0.4s ease;
}

.service-card-new:hover .service-icon-new {
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
  transform: scale(1.05);
  border-color: rgba(39, 103, 73, 0.3);
}

.service-card-new h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a4731;
  margin-bottom: 16px;
}

.service-card-new p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
}

/* ── 我们的特色区块 ───────────────────────────────────────── */
.features-section-new {
  padding: 100px 0;
  background: #fff;
}

.features-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .features-grid-new {
    grid-template-columns: 1fr;
  }
}

.feature-card-new {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, #f0fff4, #fff);
  border-radius: 20px;
  border: 1px solid rgba(39, 103, 73, 0.08);
  transition: all 0.4s ease;
}

.feature-card-new:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: rgba(39, 103, 73, 0.15);
}

.feature-icon-new {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #276749, #38a169);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(39, 103, 73, 0.3);
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a4731;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
}

/* ── 整体调理理念区块 ─────────────────────────────────────── */
.philosophy-section-new {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a4731 0%, #276749 50%, #2f855a 100%);
  position: relative;
  overflow: hidden;
}

.philosophy-section-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.philosophy-content-new {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-title-new {
  font-size: 2.75rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 4px;
}

.philosophy-title-new span {
  font-weight: 600;
}

.philosophy-text-new {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  line-height: 2;
}

/* ── CTA 区块 ─────────────────────────────────────────────── */
.cta-section-new {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fff4 0%, #fff 50%, #f0fff4 100%);
  text-align: center;
  position: relative;
}

.cta-section-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23276749' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section-new .container {
  position: relative;
  z-index: 1;
}

.cta-title-new {
  font-size: 2.5rem;
  font-weight: 300;
  color: #1a4731;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.cta-title-new span {
  font-weight: 600;
}

.cta-text-new {
  font-size: 1.15rem;
  color: #4a5568;
  margin-bottom: 40px;
}

.cta-btn-new {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: linear-gradient(135deg, #276749, #38a169);
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(39, 103, 73, 0.4);
}

.cta-btn-new:hover {
  background: linear-gradient(135deg, #1a4731, #276749);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39, 103, 73, 0.5);
}

/* ── 响应式设计 ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .tcm-hero-new {
    height: 350px;
    min-height: 350px;
  }
  
  .hero-title-new {
    font-size: 3rem;
    letter-spacing: 4px;
  }
  
  .section-title-new {
    font-size: 2rem;
  }
  
  .philosophy-title-new {
    font-size: 2.25rem;
  }
  
  .cta-title-new {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .tcm-hero-new {
    height: 350px;
    min-height: 350px;
    padding: 0;
  }
  
  .hero-title-new {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  
  .hero-desc-new {
    font-size: 1.1rem;
  }
  
  .service-card-new {
    padding: 36px 24px;
  }
  
  .feature-card-new {
    flex-direction: column;
    text-align: center;
    padding: 28px;
  }
  
  .feature-icon-new {
    margin: 0 auto;
  }
  
  .philosophy-title-new {
    font-size: 1.75rem;
  }
  
  .cta-title-new {
    font-size: 1.6rem;
  }
  
  .cta-btn-new {
    padding: 16px 36px;
    font-size: 1rem;
  }
}
