/*
 * @kanway-css-index
 * 文件: css/service/service-after-sales.css
 * 引用: service-after-sales.html
 * 依赖: header.css, page-banner.css
 */

.svc-as-page {
  padding: 0 0 72px;
  clear: both;
}

.svc-as-intro {
  margin: 40px 0 36px;
  max-width: 820px;
}

.svc-as-intro__lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.85;
  color: #495057;
}

.svc-as-intro__links {
  margin: 0;
  font-size: 14px;
}

.svc-as-intro__links a {
  font-weight: 600;
  color: #1d5198;
}

.svc-as-section-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  padding-left: 14px;
  border-left: 4px solid #1d5198;
}

.svc-as-section-desc {
  margin: -8px 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #6c757d;
  max-width: 720px;
}

/* 服务亮点 */
.svc-as-highlights {
  margin-bottom: 48px;
}

.svc-as-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-as-card {
  padding: 24px 18px;
  background: #f8f9fb;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  text-align: center;
}

.svc-as-card .bx {
  font-size: 36px;
  color: #1d5198;
  line-height: 1;
}

.svc-as-card h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.svc-as-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6c757d;
}

/* 保修政策表 */
.svc-as-warranty {
  margin-bottom: 48px;
}

.svc-as-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
}

.svc-as-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.svc-as-table th,
.svc-as-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e8ecef;
  vertical-align: top;
}

.svc-as-table thead th {
  background: #1d5198;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.svc-as-table tbody tr:last-child td {
  border-bottom: 0;
}

.svc-as-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.svc-as-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #6c757d;
  background: #fff8f0;
  border: 1px solid #f0dcc4;
  border-radius: 8px;
}

.svc-as-note strong {
  color: #c45a00;
}

/* 保修范围 */
.svc-as-scope {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.svc-as-scope__box {
  padding: 24px 22px;
  border-radius: 12px;
  border: 1px solid #e1e5ea;
}

.svc-as-scope__box--yes {
  background: #f4f9f4;
  border-color: #c5e1c5;
}

.svc-as-scope__box--no {
  background: #fdf6f6;
  border-color: #ecd4d4;
}

.svc-as-scope__box h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
}

.svc-as-scope__box--yes h3 {
  color: #2d6a2d;
}

.svc-as-scope__box--no h3 {
  color: #a33;
}

.svc-as-scope__box ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #495057;
}

.svc-as-scope__box li + li {
  margin-top: 8px;
}

/* 报修流程 */
.svc-as-process {
  margin-bottom: 48px;
}

.svc-as-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: svc-step;
}

.svc-as-step {
  position: relative;
  padding: 20px 14px 18px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  text-align: center;
}

.svc-as-step::before {
  counter-increment: svc-step;
  content: counter(svc-step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  color: #1d5198;
  line-height: 1;
}

.svc-as-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.svc-as-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6c757d;
}

/* 联系条 */
.svc-as-contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #e8f0fa 0%, #f4f7fb 100%);
  border: 1px solid #c5d5eb;
  border-radius: 12px;
}

.svc-as-contact-bar__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #495057;
}

.svc-as-contact-bar__text strong {
  color: #1d5198;
}

.svc-as-contact-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.svc-as-btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.svc-as-btn--primary {
  background: #1d5198;
  color: #fff;
}

.svc-as-btn--primary:hover {
  background: #153a6b;
  color: #fff;
}

.svc-as-btn--outline {
  border: 2px solid #1d5198;
  color: #1d5198;
  background: #fff;
}

.svc-as-btn--outline:hover {
  background: #1d5198;
  color: #fff;
}

/* FAQ */
.svc-as-faq {
  margin-bottom: 40px;
}

.svc-as-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-as-faq__item {
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.svc-as-faq__item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.svc-as-faq__item summary::-webkit-details-marker {
  display: none;
}

.svc-as-faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: #1d5198;
}

.svc-as-faq__item[open] summary::after {
  content: '−';
}

.svc-as-faq__item summary:hover {
  background: #f8f9fb;
  color: #1d5198;
}

.svc-as-faq__body {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.svc-as-faq__body p {
  margin: 0;
}

/* 底部 CTA */
.svc-as-cta {
  margin-top: 8px;
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(135deg, #1d5198 0%, #2a6bb5 100%);
  border-radius: 12px;
  color: #fff;
}

.svc-as-cta h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.svc-as-cta p {
  margin: 0 0 20px;
  font-size: 15px;
  opacity: 0.92;
}

.svc-as-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.svc-as-cta .svc-as-btn--primary {
  background: #fff;
  color: #1d5198;
}

.svc-as-cta .svc-as-btn--primary:hover {
  background: #f0f4fa;
}

.svc-as-cta .svc-as-btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.svc-as-cta .svc-as-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .svc-as-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-as-scope {
    grid-template-columns: 1fr;
  }

  .svc-as-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .svc-as-highlights__grid,
  .svc-as-steps {
    grid-template-columns: 1fr;
  }

  .svc-as-contact-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .svc-as-contact-bar__actions {
    justify-content: center;
  }
}
