/* 文件描述：客户服务页样式（结构对齐旧站 afteSaleService.css，视觉对齐 zst2026 设计变量） */

body.csv-page {
  padding-top: 0;
  background: var(--slate-50, #f5f7fa);
}

/* 内页头部 Banner 样式见 common/inner-topbanner.css */
/* Banner 描述适配约 2 行：加宽文案区，避免挤成 3 行 */
.csv-page .inner-topbanner-content {
  max-width: clamp(560px, calc(100vw * 720 / 1440), 760px);
}

.csv-page .inner-topbanner-btns .btn-secondary {
  white-space: normal;
  text-align: center;
}

.csv-page .inner-topbanner-btns .btn-secondary img {
  flex-shrink: 0;
}




/* ── 主内容区 ── */
.csv-main {
  padding: clamp(64px, calc(100vw * 100 / 1440), 100px) 0 clamp(80px, calc(100vw * 120 / 1440), 120px);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, color-mix(in srgb, var(--primary) 6%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 55%, color-mix(in srgb, var(--primary) 4%, transparent), transparent 70%);
}

.csv-main .container {
  max-width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.csv-section + .csv-section {
  margin-top: clamp(80px, calc(100vw * 160 / 1440), 160px);
}

.csv-section-title {
  margin: 0;
  font-size: clamp(28px, calc(100vw * 36 / 1440), 36px);
  font-weight: 600;
  color: var(--on-surface, #1a2736);
  text-align: center;
  line-height: 1.2;
}

/* ── 服务价值 ── */
.csv-value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 20px;
  margin: clamp(40px, calc(100vw * 60 / 1440), 60px) 0 0;
  padding: 0;
  list-style: none;
}

.csv-value-item {
  width: calc(33.333% - 16px);
  min-width: 280px;
  flex: 1 1 300px;
  max-width: 380px;
}

.csv-value-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.csv-value-icon {
  flex: 0 0 30px;
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.csv-value-name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--on-surface-variant, #37475a);
}

.csv-value-text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 2;
  color: var(--on-surface-variant, #37475a);
}

/* ── 服务类别：固定两行，同行 flex 补位 ── */
.csv-type-grid {
  margin-top: 40px;
}

.csv-type-grid--pc {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.csv-type-grid--mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.csv-type-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.csv-type-grid--pc .csv-type-card {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 第一行 3 张：展开约 580px，窄卡约 280px */
.csv-type-row--1 .csv-type-card.is-active {
  flex: 2.07 1 0;
}

.csv-type-row--1 .csv-type-card.is-sm {
  flex: 1 1 0;
}

/* 第二行 4 张：展开约 499px，窄卡约 217px */
.csv-type-row--2 .csv-type-card.is-active {
  flex: 2.3 1 0;
}

.csv-type-row--2 .csv-type-card.is-sm {
  flex: 1 1 0;
}

.csv-type-card {
  position: relative;
  min-height: 260px;
  padding: 32px;
  border-radius: 4px;
  background: var(--slate-100, #f3f5f9);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.csv-type-card.is-active {
  background: color-mix(in srgb, var(--primary) 8%, #ffffff);
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.1);
}

.csv-type-card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--on-surface, #1a2736);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.csv-type-card.is-active .csv-type-card-title {
  color: var(--primary);
}

.csv-type-summary {
  margin-top: 12px;
  position: relative;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.csv-type-card.is-active .csv-type-summary {
  opacity: 0;
}

.csv-type-grid--pc .csv-type-card.is-active .csv-type-summary {
  display: none;
}

.csv-type-summary p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface-variant, #5e6978);
}

.csv-type-arrow {
  position: absolute;
  left: 32px;
  bottom: 26px;
  width: 16px;
  height: 16px;
  background-image: url(/static/skin/images/service/customer/icon_arrow.svg);
  background-position: 0 0;
  z-index: 3;
  transition: left 0.3s ease, opacity 0.3s ease;
}

.csv-type-card:hover .csv-type-arrow {
  background-position-x: -16px;
  left: 42px;
}

.csv-type-card.is-active .csv-type-arrow {
  opacity: 0;
}

.csv-type-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 150px;
  background-image: url(/static/skin/images/service/customer/icon_service_type.svg);
  background-position-y: 0;
  z-index: 1;
  pointer-events: none;
}

.csv-type-card.is-active .csv-type-bg {
  background-position-y: -150px;
}

.csv-type-bg--1 { background-position-x: 0; }
.csv-type-bg--2 { background-position-x: -200px; }
.csv-type-bg--3 { background-position-x: -400px; }
.csv-type-bg--4 { background-position-x: -600px; }
.csv-type-bg--5 { background-position-x: -800px; }
.csv-type-bg--6 { background-position-x: -1000px; }
.csv-type-bg--7 { background-position-x: -1200px; }

.csv-type-detail {
  position: absolute;
  top: 130px;
  left: 32px;
  right: 32px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease, top 0.3s ease;
}

/* PC 展开：详情参与文档流，同行卡片随 align-items:stretch 等高 */
.csv-type-grid--pc .csv-type-card.is-active {
  overflow: visible;
}

.csv-type-grid--pc .csv-type-card.is-active .csv-type-detail {
  position: static;
  flex: 1 1 auto;
  margin-top: 8px;
  top: auto;
  opacity: 1;
}

.csv-type-card.is-active:not(.is-sm) .csv-type-detail {
  opacity: 1;
}

.csv-type-detail-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface, #1a2736);
}

.csv-type-detail-row strong {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
}

/* 移动端服务类别：两行分组，卡片纵向堆叠、全部展开 */
.csv-type-grid--mobile .csv-type-row {
  flex-direction: column;
  gap: 16px;
}

.csv-type-grid--mobile .csv-type-card {
  flex: none !important;
  width: 100% !important;
  min-height: auto;
  overflow: visible;
  cursor: default;
  display: block;
  background: var(--slate-100, #f3f5f9);
  box-shadow: none;
}

.csv-type-grid--mobile .csv-type-card.is-active {
  background: var(--slate-100, #f3f5f9);
  box-shadow: none;
}

.csv-type-grid--mobile .csv-type-card.is-active .csv-type-card-title {
  color: var(--on-surface, #1a2736);
}

.csv-type-grid--mobile .csv-type-summary,
.csv-type-grid--mobile .csv-type-arrow {
  display: none;
}

.csv-type-grid--mobile .csv-type-detail {
  position: static;
  opacity: 1;
  margin-top: 16px;
  top: auto;
}

.csv-type-grid--mobile .csv-type-bg {
  opacity: 0.85;
}

/* ── 服务流程 ── */
.csv-process-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 60px;
}

/* ── 客户口碑 ── */
.csv-section--feedback .container {
  max-width: min(1180px, 100%);
}

.csv-feedback {
  position: relative;
  margin-top: 40px;
}

.csv-feedback-viewport {
  overflow: hidden;
}

.csv-feedback-track {
  display: flex;
  transition: transform 0.6s ease;
}

.csv-feedback-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.csv-feedback-card {
  position: relative;
  min-height: 270px;
  padding: 32px 40px;
  border-radius: 4px;
  background: var(--slate-100, #f3f5f9);
}

.csv-feedback-logo {
  width: 300px;
  max-width: 100%;
  height: 64px;
  background-image: url(/static/skin/images/service/customer/customers_logo.png);
  background-repeat: no-repeat;
  background-size: 200%;
}

.csv-feedback-logo--logo_1 { background-position: 0 0; }
.csv-feedback-logo--logo_2 { background-position: -300px 0; }
.csv-feedback-logo--logo_3 { background-position: 0 -64px; }
.csv-feedback-logo--logo_4 { background-position: -300px -64px; }
.csv-feedback-logo--logo_5 { background-position: 0 -128px; }
.csv-feedback-logo--logo_6 { background-position: -300px -128px; }
.csv-feedback-logo--logo_7 { background-position: 0 -192px; }
.csv-feedback-logo--logo_8 { background-position: -300px -192px; }
.csv-feedback-logo--logo_9 { background-position: 0 -256px; }
.csv-feedback-logo--logo_10 { background-position: -300px -256px; }
.csv-feedback-logo--logo_11 { background-position: 0 -320px; }
.csv-feedback-logo--logo_12 { background-position: -300px -320px; }
.csv-feedback-logo--logo_13 { background-position: 0 -384px; }
.csv-feedback-logo--logo_14 { background-position: -300px -384px; }
.csv-feedback-logo--logo_15 { background-position: 0 -448px; }
.csv-feedback-logo--logo_16 { background-position: -300px -448px; }
.csv-feedback-logo--logo_17 { background-position: 0 -512px; }
.csv-feedback-logo--logo_18 { background-position: -300px -512px; }
.csv-feedback-logo--logo_19 { background-position: 0 -576px; }
.csv-feedback-logo--logo_20 { background-position: -300px -576px; }

.csv-feedback-quote {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url(/static/skin/images/service/customer/icon_dh.svg);
}

.csv-feedback-quote--open {
  top: 106px;
  left: 40px;
  background-position: 0 0;
}

.csv-feedback-quote--close {
  right: 40px;
  bottom: 20px;
  background-position: -40px 0;
}

.csv-feedback-text {
  margin: 30px 0 0;
  font-size: 14px;
  line-height: 2;
  color: var(--on-surface, #1a2736);
}

.csv-feedback-case {
  position: absolute;
  top: 54px;
  right: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--on-surface-variant, #5e6978);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.csv-feedback-case::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(/static/skin/images/service/customer/icon_arrow.svg);
}

.csv-feedback-card:hover .csv-feedback-case {
  transform: translateX(10px);
  color: var(--primary);
}

.csv-feedback-card:hover .csv-feedback-case::after {
  background-position-x: -16px;
}

.csv-feedback-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border: none;
  background-color: transparent;
  background-image: url(/static/skin/images/service/customer/icon_bigarrow.svg);
  background-repeat: no-repeat;
  cursor: pointer;
}

.csv-feedback-nav--prev {
  left: -100px;
  background-position: 0 -80px;
}

.csv-feedback-nav--prev:hover {
  background-position: 0 -160px;
}

.csv-feedback-nav--next {
  right: -100px;
  background-position: -80px -80px;
}

.csv-feedback-nav--next:hover {
  background-position: -80px -160px;
}

.csv-feedback-dots {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.csv-feedback-dot {
  width: 24px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 1px;
  background: color-mix(in srgb, var(--primary) 30%, transparent);
  cursor: pointer;
  transition: width 0.3s linear, background 0.3s linear;
}

.csv-feedback-dot.is-active {
  width: 40px;
  background: var(--primary);
}

/* ── 联系我们 ── */
.csv-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.csv-contact-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-height: 296px;
  padding: 30px 24px 28px;
  border-radius: 4px;
  background: var(--slate-100, #f3f5f9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.csv-contact-card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--on-surface, #1a2736);
}

.csv-contact-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(296px, 100%);
  height: 56px;
  margin: 0;
  padding: 0 12px;
  border-radius: 31px;
  background: #ffffff;
}

.csv-contact-phone a {
  font-size: 22px;
  font-weight: 600;
  color: #d08000;
  text-decoration: none;
}

.csv-contact-phone-icon {
  width: 44px;
  height: 44px;
  background-image: url(/static/skin/images/service/customer/icon_phone.svg);
}

.csv-contact-qr {
  border-radius: 2px;
}

.csv-contact-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface-variant, #5e6978);
}

/* ── 底部下载 CTA（上下间距对称：上浮量 = 区块内边距） ── */
.csv-download {
  --csv-download-gap: clamp(80px, calc(100vw * 120 / 1440), 120px);
  padding: var(--csv-download-gap) 0;
  background: #002847;
}

.csv-download-card {
  max-width: 800px;
  margin: 0 auto ;
  padding: clamp(40px, calc(100vw * 56 / 1440), 56px) clamp(24px, calc(100vw * 40 / 1440), 40px);
  border-radius: 6px;
  text-align: center;
  background: var(--hero-primary-gradient);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.csv-download-text {
  margin: 0;
  font-size: clamp(18px, calc(100vw * 24 / 1440), 24px);
  line-height: 1.5;
  color: var(--hero-on-primary);
}

.csv-download-btn {
  display: inline-block;
  min-width: 180px;
  height: 56px;
  margin-top: 32px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  font-size: 20px;
  line-height: 54px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.csv-download-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 1320px) {
  .csv-feedback-nav--prev { left: -20px; }
  .csv-feedback-nav--next { right: -20px; }
}

@media (max-width: 1280px) {
  .csv-type-grid--pc { display: none; }
  .csv-type-grid--mobile { display: flex; }
  .csv-feedback-nav { display: none; }
}

@media (max-width: 768px) {
  .csv-download {
    --csv-download-gap: 64px;
  }

  .csv-value-item {
    width: 100%;
    max-width: none;
  }

  .csv-feedback-page {
    grid-template-columns: 1fr;
  }

  .csv-contact-card {
    max-width: none;
    width: 100%;
  }
}
