/* 服务支持 page-specific styles can live here. Shared inner-page layout is in common.css. */
/* 服务支持 page-specific styles can live here. Shared inner-page layout is in common.css. */

.inner-banner img {
  object-position: 72% center;
}

.service-index {
  padding: clamp(52px, 5.2vw, 78px) var(--page-gutter) clamp(64px, 6.2vw, 98px);
  background: #ffffff;
}

.service-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.8vw, 48px);
  max-width: 1650px;
  margin: 0 auto;
}

.service-index-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 900px;
  min-height: clamp(330px, 25vw, 470px);
  padding: clamp(46px, 4.2vw, 70px) 30px clamp(34px, 2.8vw, 48px);
  color: #1d2630;
  text-align: center;
  text-decoration: none;
  background: #f2f7fb;
  border: 0;
  border-radius: var(--radius-md);
  scroll-margin-top: 112px;
  transition:
    color var(--duration-normal) var(--ease-standard),
    background-color var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

.service-index-card:hover,
.service-index-card:focus-visible {
  color: #16202b;
  background: #eef6fc;
  transform: translateY(-2px);
}

.service-index-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(118px, 8.8vw, 164px);
  height: clamp(118px, 8.8vw, 164px);
  color: #171d24;
  font-size: clamp(48px, 3.15vw, 62px);
  background: #ffffff;
  border-radius: 50%;
  transition:
    background-color var(--duration-normal) var(--ease-standard),
    color var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

.service-index-card__icon svg {
  width: 44%;
  height: 44%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transform-origin: center;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-index-card:hover .service-index-card__icon,
.service-index-card:focus-visible .service-index-card__icon,
.service-index-card__icon:hover {
  color: #ffffff;
  background: var(--color-primary);
  transform: scale(1.02);
}

.service-index-card:hover .service-index-card__icon svg,
.service-index-card:focus-visible .service-index-card__icon svg,
.service-index-card__icon:hover svg {
  transform: scale(1.1);
}

.service-index-card > strong,
.service-index-card__copy strong {
  display: block;
  margin-top: clamp(28px, 2.5vw, 38px);
  color: #1c2229;
  font-size: clamp(24px, 1.6vw, 32px);
  font-weight: 500;
  line-height: 1.28;
}

.service-index-card__desc {
  display: block;
  margin-top: 12px;
  color: #4f5c68;
  font-size: clamp(14px, 0.86vw, 17px);
  font-weight: 400;
  line-height: 1.65;
}

.service-index-card em,
.service-index-card__copy em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: clamp(34px, 3.4vw, 58px);
  color: #2a3037;
  font-size: clamp(14px, 0.82vw, 15px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  transition:
    color var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

.service-index-card em::after,
.service-index-card__copy em::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}

.service-index-card:hover em,
.service-index-card:focus-visible em,
.service-index-card:hover .service-index-card__copy em,
.service-index-card:focus-visible .service-index-card__copy em {
  color: #16202b;
  transform: translateX(2px);
}

.service-index-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
  justify-items: start;
  position: relative;
  min-height: clamp(260px, 20vw, 400px);
  padding: clamp(48px, 4.8vw, 82px) clamp(58px, 9vw, 180px);
  overflow: hidden;
  text-align: left;
}

.service-index-card--wide .service-index-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.service-index-card--wide .service-index-card__copy strong {
  margin-top: 0;
}

.service-index-card--wide .service-index-card__copy em {
  margin-top: clamp(36px, 4vw, 66px);
  padding-top: 0;
}

.service-index-card--media {
  background: #f2f7fb;
  transform: none;
}

.service-index-card--media:hover,
.service-index-card--media:focus-visible {
  background: #f2f7fb;
  transform: none;
}

.service-index-card__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66%, 980px);
  height: 100%;
  pointer-events: none;
}

.service-index-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #f2f7fb 0%, rgba(242, 247, 251, 0.94) 18%, rgba(242, 247, 251, 0.58) 42%, rgba(242, 247, 251, 0.08) 78%, rgba(242, 247, 251, 0) 100%),
    linear-gradient(0deg, rgba(242, 247, 251, 0.1), rgba(242, 247, 251, 0.1));
}

.service-index-card__media picture,
.service-index-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-index-card__media img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(1.06);
}

@media (max-width: 1280px) {
  .service-index {
    padding-top: 48px;
    padding-bottom: 76px;
  }

  .service-index__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .service-index-card {
    min-height: 320px;
    padding: 42px 24px 32px;
  }

  .service-index-card__icon {
    width: 112px;
    height: 112px;
    font-size: 46px;
  }

  .service-index-card > strong,
  .service-index-card__copy strong {
    margin-top: 26px;
    font-size: 24px;
  }

  .service-index-card__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.58;
  }

  .service-index-card em,
  .service-index-card__copy em {
    padding-top: 32px;
    font-size: 14px;
  }

  .service-index-card--wide {
    min-height: 280px;
    padding-inline: clamp(44px, 8vw, 90px);
  }

  .service-index-card--wide .service-index-card__copy em {
    margin-top: 34px;
  }

  .service-index-card__media {
    width: 64%;
  }
}

@media (max-width: 980px) {
  .service-index {
    padding: 42px 28px 66px;
  }

  .service-index__grid {
    gap: 20px;
  }

  .service-index-card {
    min-height: 280px;
    padding: 34px 20px 28px;
  }

  .service-index-card__icon {
    width: 92px;
    height: 92px;
    font-size: 38px;
  }

  .service-index-card > strong,
  .service-index-card__copy strong {
    margin-top: 22px;
    font-size: 21px;
    line-height: 1.3;
  }

  .service-index-card__desc {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.56;
  }

  .service-index-card em,
  .service-index-card__copy em {
    padding-top: 28px;
    font-size: 13px;
  }

  .service-index-card--wide {
    min-height: 250px;
    padding: 36px 42px;
  }

  .service-index-card--wide .service-index-card__copy em {
    margin-top: 28px;
  }
}

@media (max-width: 760px) {
  .inner-banner img {
    object-position: 76% center;
  }

  .service-index {
    padding: 32px 18px 54px;
  }

  .service-index__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-index-card {
    min-height: 240px;
    padding: 28px 18px 24px;
  }

  .service-index-card__icon {
    width: 82px;
    height: 82px;
    font-size: 34px;
  }

  .service-index-card > strong,
  .service-index-card__copy strong {
    margin-top: 18px;
    font-size: 20px;
  }

  .service-index-card__desc {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .service-index-card em,
  .service-index-card__copy em {
    gap: 6px;
    padding-top: 22px;
    font-size: 12px;
  }

  .service-index-card--wide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 230px;
    padding: 28px 18px 24px;
  }

  .service-index-card--wide .service-index-card__copy {
    align-items: center;
    max-width: 72%;
  }

  .service-index-card--wide .service-index-card__copy strong {
    margin-top: 0;
  }

  .service-index-card--wide .service-index-card__copy em {
    margin-top: 24px;
    padding-top: 0;
  }

  .service-index-card__media {
    width: 70%;
  }

  .service-index-card__media::before {
    background:
      linear-gradient(90deg, #f2f7fb 0%, rgba(242, 247, 251, 0.96) 36%, rgba(242, 247, 251, 0.62) 68%, rgba(242, 247, 251, 0.18) 100%),
      linear-gradient(0deg, rgba(242, 247, 251, 0.18), rgba(242, 247, 251, 0.18));
  }
}

@media (max-width: 480px) {
  .service-index {
    padding: 28px 16px 48px;
  }

  .service-index__grid {
    gap: 20px;
  }

  .service-index-card {
    min-height: 218px;
    padding: 24px 16px 22px;
  }

  .service-index-card__icon {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .service-index-card > strong,
  .service-index-card__copy strong {
    margin-top: 16px;
    font-size: 18px;
  }

  .service-index-card--wide {
    min-height: 210px;
    padding: 24px 16px 22px;
  }

  .service-index-card--wide .service-index-card__copy {
    max-width: 76%;
  }
}
