/* ========== 内页通用样式 ========== */

/* 内容区通用布局 */
.page-content {
  padding: 80px 0;
}

.content-section {
  margin-bottom: 80px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-title-left {
  font-size: 30px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 16px;
}

.section-title-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  border-radius: 2px;
}

/* 双栏图文 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse .text-col { order: 2; }
.two-col.reverse .img-col { order: 1; }

.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.two-col-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.two-col-text h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.two-col-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* 特性列表 */
.feature-list {
  margin-top: 24px;
}

.feature-list-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.feature-list-item:last-child { border-bottom: none; }

.feature-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-list-icon svg { width: 20px; height: 20px; }

.feature-list-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 600;
}

.feature-list-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* 数据亮点条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  margin-bottom: 60px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-big-num {
  font-size: 36px;
  font-weight: 600;
  font-family: "Noto Serif SC", serif;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-big-num span {
  font-size: 16px;
  font-weight: 400;
  color: var(--mint);
  margin-left: 2px;
}

.stat-big-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* 服务项目卡片组 */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--mint-soft);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint-soft), #F0FDFA);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-family: "Noto Sans SC", sans-serif;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card li {
  font-size: 13px;
  color: var(--text-body);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

.service-card .price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.service-card .price strong {
  font-size: 22px;
  color: var(--primary);
  font-weight: 600;
  font-family: "Noto Serif SC", serif;
}

/* 流程时间线 */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--mint-soft), var(--mint), var(--mint-soft));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-light);
  z-index: 2;
}

.timeline-left {
  text-align: right;
  padding-right: 20px;
}

.timeline-right {
  text-align: left;
  padding-left: 20px;
}

.timeline-item:nth-child(even) .timeline-left { order: 2; text-align: left; padding-left: 20px; padding-right: 0; }
.timeline-item:nth-child(even) .timeline-right { order: 1; text-align: right; padding-right: 20px; padding-left: 0; }

.timeline-step-num {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-family: "Noto Sans SC", sans-serif;
}

.timeline p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 团队/医生卡片 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
  text-align: center;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-avatar {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--mint-soft), #CCFBF1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  font-family: "Noto Serif SC", serif;
}

.team-info {
  padding: 20px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-title {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
}

.team-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 资质证书网格 */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.cert-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cert-icon svg { width: 32px; height: 32px; }

.cert-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
  font-family: "Noto Sans SC", sans-serif;
}

.cert-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* 环境图片画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 适用人群 */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.people-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
}

.people-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mint-soft);
}

.people-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.people-card-icon svg { width: 24px; height: 24px; }

.people-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  font-family: "Noto Sans SC", sans-serif;
}

.people-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA 条 */
.page-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cta::before,
.page-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-cta::before {
  width: 300px; height: 300px;
  top: -100px; left: -50px;
}

.page-cta::after {
  width: 250px; height: 250px;
  bottom: -80px; right: -30px;
}

.page-cta h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.page-cta .btn {
  position: relative;
  z-index: 2;
}

.page-cta .btn-gold {
  background: var(--gold);
  color: #fff;
}

.page-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.page-cta .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.page-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* 响应式 */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse .text-col { order: 1; }
  .two-col.reverse .img-col { order: 2; }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 24px;
  }

  .stat-item:not(:last-child)::after { display: none; }
  .stat-item:nth-child(odd)::after {
    display: block;
  }

  .service-cards { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 24px; }
  .timeline-dot { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 60px; }
  .timeline-left,
  .timeline-right { text-align: left !important; padding: 0 !important; }
  .timeline-item:nth-child(even) .timeline-left { order: 1; }
  .timeline-item:nth-child(even) .timeline-right { order: 2; }
}

@media (max-width: 640px) {
  .page-content { padding: 48px 0; }
  .content-section { margin-bottom: 48px; }
  .section-title-left { font-size: 22px; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-big-num { font-size: 28px; }

  .team-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .page-cta h3 { font-size: 22px; }
  .page-cta-actions { flex-direction: column; align-items: center; }
  .page-cta-actions .btn { width: 100%; max-width: 280px; }
}
