/* 售后服务落地页：header / footer 走 site-shell，本文件只管主内容 */
:root {
  --as-blue: #165dff;
  --as-ink: #333;
  --as-muted: #4e5969;
  --as-surface: #f8f9fd;
  --content: 1280px;
  --page-gutter: clamp(40px, 6vw, 108px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body[data-page="aftersales-v2"] {
  margin: 0;
  color: var(--as-ink);
  background: var(--as-surface);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-page="aftersales-v2"] img { display: block; max-width: 100%; }
body[data-page="aftersales-v2"] a { text-decoration: none; }
body[data-page="aftersales-v2"] a.enter-button,
body[data-page="aftersales-v2"] a.primary-button,
body[data-page="aftersales-v2"] .final-cta__buttons a.secondary-button {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
body[data-page="aftersales-v2"] .as-hero-actions a.secondary-button,
body[data-page="aftersales-v2"] .as-more a.secondary-button {
  color: var(--as-blue);
  -webkit-text-fill-color: var(--as-blue);
}
body[data-page="aftersales-v2"] h1,
body[data-page="aftersales-v2"] h2,
body[data-page="aftersales-v2"] h3,
body[data-page="aftersales-v2"] h4,
body[data-page="aftersales-v2"] p { margin: 0; }

.as-container {
  width: min(var(--content), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.as-section { padding: 64px 0; }
.as-section--white { background: #fff; }
.as-heading { text-align: center; }
.as-heading h2 {
  color: #333;
  font-size: 42px;
  line-height: 1.4;
  font-weight: 700;
}
.as-heading p {
  margin-top: 24px;
  color: #000;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.as-hero {
  position: relative;
  overflow: hidden;
  height: 880px;
  min-height: 880px;
  background: #f3f9ff url("/static/website-v2/figma-export/aftersales-assets/hero-visual.jpg") center / cover no-repeat;
}
.as-hero::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  z-index: 0;
  width: calc(994 / 1920 * 100%);
  height: 100%;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 100%);
  pointer-events: none;
}
.as-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: 228px;
}
body[data-page="aftersales-v2"] .as-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(720px, 100%);
  gap: 68px;
}
body[data-page="aftersales-v2"] .as-hero h1 {
  margin: 0;
  background: linear-gradient(100deg, #053f8b, #0551ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 700;
}
body[data-page="aftersales-v2"] .as-hero h1 span {
  display: block;
  white-space: nowrap;
}
body[data-page="aftersales-v2"] .as-hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: #003eca;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 400;
}
.as-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.as-hero-actions .primary-button,
.as-hero-actions .secondary-button {
  min-width: 190px;
  min-height: 64px;
  padding: 0 48px;
  border-radius: 15px;
  font-size: 24px;
  font-weight: 500;
}
.as-hero-actions .secondary-button {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(-43deg, #0551ff 12%, #87bbff 100%) border-box;
}

/* 我们的服务 */
.as-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.as-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 344px;
  padding: 32px 24px 24px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, .1);
  text-align: center;
}
.as-service-card__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
}
.as-service-card h3 {
  color: #333;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}
.as-service-card p {
  margin-top: 16px;
  color: #4e5969;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/* 我们的响应 */
.as-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.as-channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  text-align: center;
}
.as-channel-card__icon {
  width: 68px;
  height: 68px;
}
.as-channel-card h3 {
  margin-top: 24px;
  color: #333;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}
.as-channel-card p {
  min-height: 48px;
  margin-top: 8px;
  color: #4e5969;
  font-size: 16px;
  line-height: 1.5;
}
.as-channel-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 6px 16px;
  border-radius: 41px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}
.as-channel-card--hotline { --as-ch: #007232; --as-ch-bg: #e9fff3; }
.as-channel-card--im { --as-ch: #165dff; --as-ch-bg: #e8efff; }
.as-channel-card--ticket { --as-ch: #2b00c5; --as-ch-bg: #f8f6ff; }
.as-channel-card--docs { --as-ch: #88006f; --as-ch-bg: #ffeefb; }
.as-channel-tag {
  color: var(--as-ch);
  background: var(--as-ch-bg);
}
.as-channel-link {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
  color: var(--as-ch);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

/* 服务标准 */
body[data-page="aftersales-v2"] .as-subheading {
  margin: 48px 0 32px;
  color: #1a1d2c;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}
.as-heading + .as-subheading { margin-top: 48px; }
.as-subheading--center { text-align: center; }
.as-sla-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.as-sla-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}
.as-sla-icon {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.as-sla-icon img { width: 24px; height: 24px; }
.as-sla-icon--bell { background: rgba(22, 93, 255, .1); }
.as-sla-icon--clipboard { background: #c4f7ff; }
.as-sla-icon--alert { background: #ffdbd0; }
.as-sla-icon--refresh { background: #e8e6ff; }
.as-sla-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.as-sla-copy h4 {
  color: #1a1d2c;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}
.as-sla-copy p {
  color: #5e6475;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
}

/* 问题分级 */
.as-level-table {
  overflow: hidden;
  margin-top: 0;
  border: 1px solid #e8eef8;
  border-radius: 16px;
}
.as-level-row {
  display: grid;
  grid-template-columns: 140px minmax(180px, 1.3fr) 160px minmax(220px, 1.5fr);
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
}
.as-level-row--head {
  background: #f0f4f8;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}
.as-level-row:not(.as-level-row--head) {
  color: #333;
  font-size: 16px;
}
.as-level-time {
  color: #1a1d2c;
  font-weight: 700;
}
.as-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 4px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
}
.as-badge--p1 { color: #f53f3f; background: #ffece8; }
.as-badge--p2 { color: #ba8700; background: #fff7e8; }
.as-badge--p3 { color: #0088ff; background: #ebf3fe; }
.as-badge--p4 { color: #00b050; background: #e6f4ea; }

/* 客户案例 */
.as-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.as-case-card {
  min-height: 0;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}
.as-case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.as-case-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #1d2129;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}
.as-case-brand img {
  width: auto;
  height: 38px;
  max-width: 95px;
  object-fit: contain;
}
.as-tag {
  flex: 0 0 auto;
  padding: 6px 16px;
  border-radius: 38px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.as-tag--orange { background: #e94f06; }
.as-tag--red { background: #9f0028; }
.as-case-align {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
}
.as-case-story {
  flex: 1;
  min-width: 0;
}
body[data-page="aftersales-v2"] .as-case-story > p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
body[data-page="aftersales-v2"] .as-case-story h4 {
  margin: 0 0 16px;
  color: #1d2129;
  font-size: 16px;
  font-weight: 700;
}
body[data-page="aftersales-v2"] .as-case-story h4.as-case-response {
  margin-top: 16px;
  color: #165dff;
}
.as-case-story ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
.as-case-story li + li { margin-top: 4px; }
.as-case-media {
  position: static;
  flex: 0 0 206px;
  width: 206px;
}
.as-case-photo {
  position: static;
  display: block;
  width: 206px;
  height: 206px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.as-case-copy {
  min-width: 0;
  padding-right: 0;
  margin-top: 16px;
}
body[data-page="aftersales-v2"] .as-case-copy h4 {
  margin: 0 0 16px;
  color: #1d2129;
  font-size: 16px;
  font-weight: 700;
}
.as-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.as-metric b {
  display: block;
  color: #165dff;
  font-family: DIN, "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.as-metric span {
  display: block;
  margin-top: 7px;
  color: #4e5969;
  font-size: 12px;
  line-height: 1.4;
}
.as-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.as-more .secondary-button {
  min-height: 0;
  padding: 16px 48px;
  border: 2px solid transparent;
  border-radius: 15px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(-43deg, #0551ff 2%, #87bbff 100%) border-box;
  font-size: 24px;
  font-weight: 500;
}

@media (max-width: 1599px) {
  :root {
    --content: 1120px;
    --page-gutter: clamp(48px, 7vw, 112px);
  }
  .as-heading h2 { font-size: 36px; }
  .as-heading p { font-size: 20px; }
  body[data-page="aftersales-v2"] .as-hero h1 { font-size: 52px; }
  body[data-page="aftersales-v2"] .as-hero-copy > p { font-size: 24px; }
  .as-hero-actions .primary-button,
  .as-hero-actions .secondary-button {
    min-width: 170px;
    min-height: 56px;
    font-size: 20px;
  }
  body[data-page="aftersales-v2"] .as-subheading { font-size: 28px; }
}

@media (max-width: 1439px) {
  .as-service-grid,
  .as-channel-grid { gap: 16px; }
  .as-case-media {
    flex-basis: 180px;
    width: 180px;
  }
  .as-case-photo {
    width: 180px;
    height: 180px;
  }
  .as-sla-copy { flex-direction: column; align-items: flex-start; }
  .as-sla-copy p { text-align: left; }
}

@media (max-width: 1199px) {
  .as-service-grid,
  .as-channel-grid { grid-template-columns: 1fr 1fr; }
  .as-case-grid,
  .as-sla-grid { grid-template-columns: 1fr; }
  .as-level-table { overflow-x: auto; }
  .as-level-row { min-width: 720px; }
}

@media (max-width: 1023px) {
  .as-hero {
    height: auto;
    min-height: 0;
    padding-bottom: 48px;
    background-position: 70% center;
  }
  .as-hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.2) 100%);
  }
  .as-hero-inner { padding: 120px 0 0; height: auto; }
  body[data-page="aftersales-v2"] .as-hero-copy { width: 100%; gap: 28px; }
  body[data-page="aftersales-v2"] .as-hero h1 { font-size: 36px; }
  body[data-page="aftersales-v2"] .as-hero h1 span { white-space: normal; }
  body[data-page="aftersales-v2"] .as-hero-copy > p { font-size: 18px; max-width: none; }
  .as-hero-actions { gap: 16px; }
  .as-hero-actions .primary-button,
  .as-hero-actions .secondary-button {
    min-width: 0;
    min-height: 48px;
    padding: 0 28px;
    font-size: 16px;
  }
  .as-heading p { font-size: 16px; }
  .as-section { padding: 56px 0; }
  .as-case-align {
    flex-direction: column;
    gap: 16px;
  }
  .as-case-media {
    flex: none;
    width: 100%;
  }
  .as-case-photo {
    width: 100%;
    height: 220px;
  }
  .as-case-card { min-height: 0; }
}

@media (max-width: 767px) {
  :root { --page-gutter: 16px; }
  .as-hero { padding-bottom: 40px; }
  .as-hero-inner { padding-top: 88px; }
  body[data-page="aftersales-v2"] .as-hero h1 { font-size: 24px; letter-spacing: -.02em; }
  body[data-page="aftersales-v2"] .as-hero-copy { gap: 16px; }
  body[data-page="aftersales-v2"] .as-hero-copy > p { font-size: 14px; line-height: 1.5; }
  .as-section { padding: 36px 0; }
  .as-heading h2 { font-size: 20px; }
  .as-heading p { font-size: 13px; }
  .as-service-grid,
  .as-channel-grid,
  .as-sla-grid { grid-template-columns: 1fr; }
  .as-hero-actions {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  .as-hero-actions .primary-button,
  .as-hero-actions .secondary-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    max-width: 136px;
    min-height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }
  .as-service-grid,
  .as-channel-grid,
  .as-sla-grid {
    gap: 8px;
    margin-top: 16px;
  }
  .as-service-card,
  .as-channel-card {
    min-height: 0;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(210, 220, 238, .9);
    text-align: left;
  }
  .as-service-card__icon,
  .as-channel-card__icon {
    width: 36px;
    height: 36px;
    margin: 0 0 8px;
  }
  .as-service-card h3,
  .as-channel-card h3 {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.4;
  }
  .as-service-card p,
  .as-channel-card p {
    min-height: 0;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .as-channel-tag {
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .as-sla-card {
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(210, 220, 238, .9);
  }
  .as-sla-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .as-sla-icon img { width: 16px; height: 16px; }
  .as-sla-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .as-sla-copy h4 {
    white-space: normal;
    font-size: 14px;
  }
  .as-sla-copy p {
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
  }
  body[data-page="aftersales-v2"] .as-subheading { font-size: 16px; }
  .as-case-grid { gap: 0; margin-top: 16px; }
  .as-case-card:nth-child(n + 2) { display: none; }
  .as-case-card {
    padding: 12px 14px;
    border-radius: 10px;
    min-height: 0;
  }
  .as-case-brand { font-size: 14px; }
  .as-case-brand img { max-height: 24px; }
  .as-case-align { gap: 10px; }
  .as-case-photo { height: 140px; border-radius: 8px; }
  body[data-page="aftersales-v2"] .as-case-story > p,
  .as-case-story li,
  .as-case-copy li { font-size: 12px; line-height: 1.45; }
  body[data-page="aftersales-v2"] .as-case-story h4,
  body[data-page="aftersales-v2"] .as-case-copy h4 { font-size: 13px; }
  .as-more .secondary-button { font-size: 14px; padding: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button,
  .secondary-button { transition: none; }
}
