/* ============================================================
   服务与支持-售后服务 (page-after-sales) — 设计稿 491:2037
   banner(品质服务背景图) + 承诺标题 + 标准/增值双卡 + 联系我们
   ============================================================ */
body.page-after-sales { background: #F5F6FA; }

/* ---------- 顶部导航: 白色底子 (设计稿 顶部-白色底子) ---------- */
/* ---------- 顶部导航: 白色底子 ---------- */
body.page-after-sales .site-header {
  background: #fff;
  box-shadow: inset 0 -1px 0 0 #EBEBEB;
}
body.page-after-sales .site-header .logo .logo-dark { display: block; }
body.page-after-sales .site-header .logo .logo-light { display: none; }
body.page-after-sales .site-header .navbar > li > a { color: #2E3033; }
body.page-after-sales .site-header .navbar > li > a:hover { color: #2168E5; opacity: 1; }
body.page-after-sales .site-header .navbar > li.active > a { color: #2168E5; }
body.page-after-sales .site-header .vr-pill { border-color: #5C6066; color: #2E3033; }
body.page-after-sales .site-header:not(.is-scrolled):not(.dd-open) .icon-btn img { filter: none; }
body.page-after-sales .site-header:not(.is-scrolled):not(.dd-open) .nav-toggle span { background: #2E3033; }
body.page-after-sales .site-header.is-scrolled,
body.page-after-sales .site-header.dd-open {
  background: #fff;
  box-shadow: inset 0 -1px 0 0 #EBEBEB;
}

/* ============================================================
   区块1: banner (设计稿 1920×464, 品质服务背景图 + 深字)
   ============================================================ */
.as-banner {
  position: relative;
  height: 464px;
  overflow: hidden;
  margin-top: 64px;
}
.as-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.as-banner-img--m { display: none; }
.as-banner-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 154px;              /* 标题 y=218, banner 顶 64 → 154 */
}
.as-banner-title {
  font-family: 'Dream Han Sans CN', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 48px;
  font-weight: 749;
  line-height: 72px;
  color: #222426;
}
.as-banner-sub {
  margin-top: 12px;
  font-family: 'Dream Han Sans CN', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 22px;
  font-weight: 513;
  line-height: 40px;
  color: #393C40;
}

/* ============================================================
   区块2: 承诺标题 (设计稿 499:2565, 居中)
   ============================================================ */
.as-title { margin-top: 80px; text-align: center; }
.as-title h2 {
  font-size: 36px;
  font-weight: 749;
  line-height: 46px;
  color: #222426;
}
.as-title p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 489;
  line-height: 28px;
  color: #393C40;
}

/* ============================================================
   区块3: 标准服务 / 增值服务 双卡 (设计稿 708×740 r16)
   ============================================================ */
.as-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.as-card {
  position: relative;
  width: 100%;
  height: 740px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
/* 卡头: 英文水印 + 标题 (设计稿 watermark 200×80, 标题 28px) */
.as-card-head {
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.as-card-stbg {
    border-radius: 12px;
    padding: 20px 24px;
    color: #ffffff;
    width: 200px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #3888FC 0%, #005AFA 100%);
} 
.as-card-vabg .as-card-en {
    color: #9E7221;
}
.as-card-vabg {
    border-radius: 12px;
    padding: 20px 24px;
    color: #ffffff;
    width: 200px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #FFCC92 0%, #FFB162 100%);
}
.as-card-en {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: 2px;
    color: #CBDEFD;
    white-space: nowrap;
    text-align: center;
}
.as-card h3 {
  margin-top: 50px;                 /* 水印框 80 高 + 24 间距, 标题 y=942 */
  font-size: 28px;
  font-weight: 749;
  line-height: 40px;
  color: #222326;
  white-space: nowrap;
}
/* 三个特性 (设计稿 卡+80/+284/+488, y 卡+280, icon 54) */
.as-features {
    display: flex;
    justify-content: center;
    margin: 60px 0;
    gap: 60px;
}
.as-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}
.as-feature img { width: 54px; height: 54px; }
.as-feature b {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 749;
  line-height: 30px;
  color: #2D2F33;
  white-space: nowrap;
}
.as-feature i {
  margin-top: 4px;
  font-style: normal;
  font-size: 14px;
  font-weight: 489;
  line-height: 20px;
  color: #393C40;
  white-space: nowrap;
}
/* 卡底图 (设计稿 560×280 / 366×280, 卡底对齐) */
.as-card-img {
    width: 560px;
    height: 280px;
    display: block;
    margin: 0 auto;
}
.as-card-img--narrow {
  left: 171px;
  width: 366px;
}

/* ============================================================
   区块4: 联系我们 (设计稿 1117:19716, 白底)
   ============================================================ */
.as-contact {
  margin-top: 100px;
  background: #fff;
}
.as-contact-inner { padding: 80px 24px 120px; }  /* 保留 .container 水平 24px */
.as-contact-title {
  text-align: center;
  font-size: 36px;
  font-weight: 749;
  line-height: 46px;
  color: #222426;
}
/* 小 banner (1440×334 图 + 渐变遮罩 + 左文) */
.as-contact-banner {
  position: relative;
  margin-top: 64px;                 /* 标题底 1724 → banner 1788 */
  height: 334px;
  border-radius: 12px;
  overflow: hidden;
}
.as-contact-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-contact-banner-text {
  position: relative;
  z-index: 1;
  padding: 100px 0 0 120px;        /* 文案 (360,1888) 相对 banner (240,1788) */
}
.as-contact-banner-text h3 {
  font-size: 28px;
  font-weight: 666;
  line-height: 42px;
  color: #fff;
}
.as-contact-banner-text p {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 489;
  line-height: 28px;
  color: #EAEBED;
}
.as-contact-banner-text a {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    width: fit-content;
    height: 36px;
    padding: 0 14px 0 20px;
    font-size: 14px;
    font-weight: 489;
    color: #fff;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 18px;
}

/* 联系卡片 (热线 708 / 邮箱 708 / 扫码 1440) */
.as-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.as-contact-card {
  position: relative;
  height: 334px;
  background: #F4F5F7;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.as-contact-icon { width: 56px; height: 56px; }
.as-contact-card b {
  margin-top: 24px;
  font-size: 28px;
  font-weight: 749;
  line-height: 42px;
  color: #222426;
}
.as-contact-card > span {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 489;
  line-height: 28px;
  color: #393C40;
}
/* 扫码卡: 左文 + 两个二维码 */
.as-contact-scan {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0 120px;
  gap: 0;
}
.as-scan-text { margin-right: auto; }
.as-scan-text h4 {
  font-size: 28px;
  font-weight: 749;
  line-height: 42px;
  color: #222426;
}
.as-scan-text p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 18px;
  font-weight: 489;
  line-height: 28px;
  color: #393C40;
}

.as-scan-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 40px;
}
.as-scan-qr-img {
  width: 162px;
  height: 162px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.as-scan-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.as-scan-qr > span:last-child {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 749;
  line-height: 30px;
  color: rgb(45 47 51 / 75%);
}

/* ============================================================
   响应式 (≤1440 / ≤1100 / ≤900 / ≤767 / ≤400)
   ============================================================ */
@media (max-width: 1440px) {
  .as-banner { height: 420px; }
  .as-banner-inner { padding-top: 130px; }
}
@media (max-width: 1100px) {
  .as-banner { height: 380px; }
  .as-banner-inner { padding-top: 110px; }
  .as-banner-title { font-size: 40px; line-height: 56px; }
  .as-banner-sub { font-size: 18px; line-height: 32px; }
  .as-cards { grid-template-columns: 1fr; }
  .as-card { width: 100%; }
  .as-contact-grid { grid-template-columns: 1fr; }
  .as-contact-card { width: 100%; }
}
@media (max-width: 900px) {
  .as-banner { height: 340px; }
  .as-banner-inner { padding-top: 96px; }
  .as-banner-title { font-size: 34px; line-height: 48px; }
  .as-banner-sub { font-size: 16px; line-height: 28px; }
  .as-contact-scan { flex-wrap: wrap; padding: 32px 24px; gap: 24px; }
  .as-scan-text { margin-right: 0; width: 100%; }
  .as-scan-qr { margin-left: 0; }
}
@media (max-width: 767px) {
  .as-scan-text {
    text-align: center;
}
.as-scan-text p {
    justify-content: center;
}
  .as-banner { height: 280px; }
  .as-banner-inner { padding-top: 76px; }
  .as-banner-title { font-size: 28px; line-height: 40px; }
  .as-banner-sub { margin-top: 8px; font-size: 14px; line-height: 24px; }
  .as-banner-img--pc { display: none; }
  .as-banner-img--m { display: block; }
  /* 深色半透明遮罩: 保证文字可读 (同首页品质服务移动端) */
  .as-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 28, .55);
    z-index: 1;
  }
  .as-banner-inner { z-index: 2; }
  .as-banner-title { color: #fff; }
  .as-banner-sub { color: rgba(255, 255, 255, .92); }
  .as-title { margin-top: 48px; }
  .as-title h2 { font-size: 28px; line-height: 40px; }
  .as-title p { font-size: 14px; line-height: 24px; }
  .as-cards { margin-top: 40px; }
  .as-card { height: auto; min-height: 0; }
  .as-card-head { margin-top: 56px; }
  .as-features { gap: 16px; flex-wrap: wrap; margin-bottom: 30px; margin: 30px 0; align-items: flex-start; }   /* 客户指定: 新增 align-items: flex-start */
  .as-feature { width: 29%; justify-content: center; text-align: center; }   /* 客户指定: 一行 3 个 + 居中 */
  .as-feature img { width: 30px; height: 30px; }   /* 客户指定: 图标 54 → 30px */
  /* 卡片文字: 取消 nowrap + 字号收小。
     原 nowrap + h3 28px / 特性标题 20px 在窄屏会溢出卡片并压住相邻文字 */
  .as-card-en { font-size: 17px; letter-spacing: 1px; white-space: normal; overflow-wrap: break-word; }
  .as-card h3 { font-size: 20px; line-height: 1; white-space: normal; margin-top: 30px; text-align: center; }   /* 客户指定: 新增 text-align: center */
  .as-feature b { font-size: 14px; line-height: 20px; white-space: normal; }
  .as-feature i { font-size: 12px; line-height: 18px; white-space: normal; }
  .as-card-img, .as-card-img--narrow { left: 0; width: 100%; height: auto; }
  .as-contact { margin-top: 64px; }
  .as-contact-inner { padding: 48px 24px 64px; }
  .as-contact-title { font-size: 28px; line-height: 40px; }
  .as-contact-banner { margin-top: 32px; height: 240px; }
  .as-contact-banner-text { padding: 56px 0 0 24px; }
  .as-contact-banner-text h3 { font-size: 24px; line-height: 36px; }
  .as-contact-banner-text p { font-size: 16px; line-height: 26px; }
  .as-contact-grid { margin-top: 16px; }
  .as-contact-card { height: 260px; }
  .as-contact-scan { height: auto;         justify-content: center;}
  .as-scan-qr-img { width: 120px; height: 120px; }
}
@media (max-width: 400px) {
  .as-banner { height: 240px; }
  .as-banner-inner { padding-top: 64px; }
  .as-banner-title { font-size: 24px; line-height: 34px; }
  .as-banner-sub { font-size: 13px; line-height: 22px; }
  .as-feature { width: 29%; justify-content: center; text-align: center; }   /* 客户指定: 一行 3 个 + 居中 */
  .as-contact-banner { height: 220px; }
}

/* 移动端: 扫码区文字 (客户要求, 在基础样式上补 text-align: center) */
@media (max-width: 767px) {
  .as-scan-qr > span:last-child {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 749;
    line-height: 30px;
    color: rgb(45 47 51 / 75%);
    text-align: center;
  }
}

/* 移动端: 去掉 banner 遮罩 (客户要求) */
@media (max-width: 767px) {
  .as-banner::before { display: none; }
}
