/* 服务与支持 — 参考普渡布局，众鼠品牌色 */
.support-page {
  --support-primary: #00a85a;
  --support-primary-dark: #05763a;
  --support-primary-soft: #e8f7ef;
  --support-link: #00a85a;
  --support-text: rgba(0, 0, 0, 0.9);
  --support-text-soft: rgba(0, 0, 0, 0.6);
  --support-surface: #f2f3f5;
  --support-border: #d8d8d8;
  --support-shell: min(1200px, calc(100% - 48px));
}

.support-page main.site-main {
  padding-top: 0;
}

.support-main {
  background: #fff;
}

.support-hero.page-banner {
  color: #fff;
  background: #eef2f6;
}

/* Main content */
.support-content {
  background: #fff;
  padding: 32px 0 48px;
}

.support-content__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-inline: 24px;
}

.support-divider {
  display: none;
  height: 1px;
  background: var(--support-border);
}

.support-divider--mobile {
  display: block;
  width: 100%;
}

/* Entry cards */
.support-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.support-card {
  display: block;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.support-card:focus-visible {
  outline: 2px solid var(--support-primary);
  outline-offset: 2px;
}

.support-card__body {
  min-height: 98px;
  padding: 16px 24px;
  background: var(--support-surface);
  display: flex;
  align-items: center;
  gap: 24px;
}

.support-card__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  color: var(--support-primary);
}

.support-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.support-card__text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--support-text);
}

.support-card__desc {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--support-text);
}

.support-card__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  line-height: 16px;
  color: var(--support-link);
}

.support-card__link::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8 5l5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8 5l5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Care section */
.support-care {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.support-care__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.support-care__brand {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--support-primary);
}

.support-care__desc {
  margin: 32px 0 0;
  max-width: 826px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--support-text);
}

.support-care__more {
  margin-top: 21px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  line-height: 16px;
  color: var(--support-link);
  text-decoration: none;
}

.support-care__more::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8 5l5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8 5l5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.support-care__banner {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.support-care__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-care__features {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.support-care__feature {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  min-height: 104px;
  padding-top: 4px;
}

.support-care__feature p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--support-text);
}

.support-care__feature-line {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  height: 1px;
  background: var(--support-border);
}

.support-care__feature:last-child .support-care__feature-line {
  display: none;
}

.support-care__feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--support-primary-soft);
  position: relative;
}

.support-care__feature-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--support-primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.support-care__feature-icon--fast::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.support-care__feature-icon--install::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v4M8 7h8M6 11h12v8H6v-8z' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v4M8 7h8M6 11h12v8H6v-8z' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.support-care__feature-icon--maintenance::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14.7 6.3a4 4 0 00-5.4 5.4l-5.8 5.8 2.1 2.1 5.8-5.8a4 4 0 005.4-5.4l-2.3 2.3-2.1-2.1 2.3-2.3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14.7 6.3a4 4 0 00-5.4 5.4l-5.8 5.8 2.1 2.1 5.8-5.8a4 4 0 005.4-5.4l-2.3 2.3-2.1-2.1 2.3-2.3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.support-care__feature-icon--quality::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l2.4 4.8 5.4.8-3.9 3.8.9 5.3L12 15.8 8.2 17.7l.9-5.3L5.2 8.6l5.4-.8L12 3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l2.4 4.8 5.4.8-3.9 3.8.9 5.3L12 15.8 8.2 17.7l.9-5.3L5.2 8.6l5.4-.8L12 3z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Contact */
.support-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.support-contact__title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  color: var(--support-text);
}

.support-contact__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.support-contact__card {
  min-height: 184px;
  padding: 24px;
  background: var(--support-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.support-contact__card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: var(--support-text);
}

.support-contact__card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-contact__card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--support-text);
}

.support-contact__card-body a {
  color: inherit;
  text-decoration: none;
}

.support-contact__card-body a:hover {
  color: var(--support-link);
}

.support-contact__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--support-primary-soft);
  position: relative;
}

.support-contact__card-icon::after {
  content: "";
  position: absolute;
  inset: 16px;
  background: var(--support-primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.support-contact__card-icon--chat::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 6.5A2.5 2.5 0 016.5 4h11A2.5 2.5 0 0120 6.5V14a2.5 2.5 0 01-2.5 2.5H9l-4 3.5V6.5z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 6.5A2.5 2.5 0 016.5 4h11A2.5 2.5 0 0120 6.5V14a2.5 2.5 0 01-2.5 2.5H9l-4 3.5V6.5z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.support-contact__card-icon--phone::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 4.5c.5 3 1.8 5.8 3.8 7.8s4.8 3.3 7.8 3.8c.8-1.2 1.9-2.2 3.2-2.8-1-2.2-2.4-4.2-4.2-6-1.8-1.8-3.8-3.2-6-4.2-.6 1.3-1.6 2.4-2.8 3.2z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 4.5c.5 3 1.8 5.8 3.8 7.8s4.8 3.3 7.8 3.8c.8-1.2 1.9-2.2 3.2-2.8-1-2.2-2.4-4.2-4.2-6-1.8-1.8-3.8-3.2-6-4.2-.6 1.3-1.6 2.4-2.8 3.2z' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.support-shell {
  width: var(--support-shell);
  margin-inline: auto;
}

/* Desktop */
@media (min-width: 1024px) {
  .support-content {
    padding: 120px 0;
  }

  .support-content__inner {
    gap: 120px;
    padding-inline: 0;
  }

  .support-divider--mobile {
    display: none;
  }

  .support-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 122px;
  }

  .support-card__body {
    min-height: 256px;
    padding: 32px 40px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .support-card__icon {
    width: 96px;
    height: 96px;
  }

  .support-card__text {
    align-items: center;
    max-width: 404px;
    gap: 12px;
  }

  .support-card__title {
    font-size: 20px;
    line-height: 24px;
  }

  .support-card__desc,
  .support-card__link {
    font-size: 16px;
    line-height: 24px;
  }

  .support-care {
    gap: 48px;
  }

  .support-care__intro {
    gap: 24px;
  }

  .support-care__brand {
    font-size: 28px;
    line-height: 36px;
  }

  .support-care__desc {
    margin-top: 0;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
  }

  .support-care__more {
    margin-top: 0;
    font-size: 18px;
    line-height: 26px;
  }

  .support-care__banner {
    height: 462px;
    aspect-ratio: auto;
  }

  .support-care__features {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 68px;
    min-height: 148px;
  }

  .support-care__feature {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    padding-top: 0;
  }

  .support-care__feature p {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
  }

  .support-care__feature-line {
    display: none;
  }

  .support-contact {
    gap: 64px;
  }

  .support-contact__title {
    font-size: 36px;
    line-height: 44px;
  }

  .support-contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }

  .support-contact__card {
    min-height: 296px;
    padding: 32px 40px;
    gap: 12px;
  }

  .support-contact__card-icon {
    width: 96px;
    height: 96px;
  }

  .support-contact__card-body p {
    font-size: 16px;
    line-height: 24px;
  }
}
