/* 服务中心总页 - service_center.html */

:root {
  --sc-text: #333333;
  --sc-text-muted: #666666;
  --sc-line: #e8e8e8;
  --sc-font-section: clamp(24px, 2.083vw, 40px);
}

.site-main--sc {
  min-height: auto;
  overflow: hidden;
}

/* ========== Intro ========== */

.sc-intro {
  padding: clamp(56px, 5.208vw, 100px) 0 clamp(48px, 4.167vw, 80px);
  background: #ffffff;
  text-align: center;
}

.sc-intro__title {
  margin: 0;
  font-size: var(--sc-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--sc-text);
}

.sc-intro__desc {
  margin: clamp(20px, 1.667vw, 32px) 0 0;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.9;
  color: var(--sc-text-muted);
  text-align: left;
}

/* ========== Service cards ========== */

.sc-cards {
  padding: 0 0 clamp(72px, 6.25vw, 120px);
  background: #ffffff;
}

.sc-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.083vw, 40px) clamp(20px, 1.667vw, 32px);
}

.sc-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--sc-line);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.sc-card__link:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.sc-card__media {
  overflow: hidden;
  background: #f0f0f0;
}

.sc-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 496 / 302;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sc-card__link:hover .sc-card__media img {
  transform: scale(1.03);
}

.sc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 1.667vw, 32px) clamp(18px, 1.458vw, 28px)
    clamp(22px, 1.875vw, 36px);
}

.sc-card__title {
  margin: 0;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--sc-text);
}

.sc-card__desc {
  margin: clamp(12px, 0.833vw, 16px) 0 0;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.75;
  color: var(--sc-text-muted);
}

.sc-card__arrow {
  display: inline-flex;
  margin-top: auto;
  padding-top: clamp(18px, 1.458vw, 28px);
}

.sc-card__arrow img {
  display: block;
  width: clamp(28px, 1.771vw, 34px);
  height: auto;
}

/* ========== Responsive ========== */

@media (max-width: 991px) {
  .sc-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sc-cards__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
