/* 关于我们 / 联系我们 — CDN：https://cdn.youshengkeji.com/template/pc/skin/style/about-contact.css */
.about-contact-page {
  background: #fff;
  color: #333;
}

/*
 * 正文区默认仍按栏目 18.8vw；关于我们区块按设计稿单独定边距。
 */
.about-contact-inner {
  width: calc(100% - 37.6vw);
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
}

/*
 * 首屏设计稿 1920：含 nav 总高 610（134+476）
 * 左 262 / 上 202；副文 530；右侧插画 656×476 上 134 右 264
 */
.about-contact-page .homepage-banner {
  height: 31.770833vw; /* 610@1920，含顶部 nav 区域 */
  overflow: hidden;
  background: #f5f8fc;
}

.about-contact-page .homepage-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top; /* 优先保证右侧插画完整 */
}

.about-contact-page .page-banner-box.about-page {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 0;
  height: 31.770833vw; /* 610 */
  box-sizing: border-box;
}

/*
 * 左侧文案（相对首屏 610 绝对定位）：
 * 上 202 → 标题(余高 73) → 23 → 副文1 28 → 23 → 副文2 19 → 80 → 按钮 44 → 底 118
 * （标题标注 33 与整链 610 对不上，按其余间距反推标题占位）
 */
.about-contact-page .page-banner-box .page-banner-top {
  float: none;
  margin: 0;
  position: static;
}

.about-contact-page .page-banner-box .banner-top-content {
  position: static;
}

.about-contact-page .page-banner-box .banner-top-title {
  position: absolute;
  left: 13.645833vw; /* 262 */
  top: 10.520833vw; /* 202 */
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  height: 3.802083vw; /* 73 */
  font-size: 2.9vw;
  line-height: 3.802083vw;
  letter-spacing: 0;
}

.about-contact-page .ac-banner-mid {
  display: contents;
}

.about-contact-page .ac-banner-sub {
  position: absolute;
  left: 13.645833vw; /* 262 */
  top: 15.520833vw; /* 202+73+23 = 298 */
  width: 27.604167vw; /* 530 */
  max-width: 27.604167vw;
  height: 1.458333vw; /* 28 */
  margin: 0;
  padding: 0;
  font-size: 1.458333vw;
  font-weight: 400;
  color: #000000;
  line-height: 1.458333vw;
  white-space: nowrap;
}

.about-contact-page .ac-banner-tag {
  position: absolute;
  left: 13.59375vw; /* 261 */
  top: 18.177083vw; /* 298+28+23 = 349 */
  width: 18.28125vw; /* 351 */
  max-width: 18.28125vw;
  height: 0.989583vw; /* 19 */
  margin: 0;
  padding: 0;
  font-size: 0.989583vw;
  font-weight: 400;
  color: #000000;
  line-height: 0.989583vw;
  white-space: nowrap;
}

/* 按钮：底 118、160×44、间距 19；顶 448 → 距副文2 80 */
.about-contact-page .page-banner-box .banner-top-btn {
  position: absolute;
  left: 13.59375vw; /* 261 */
  bottom: 6.145833vw; /* 118 */
  margin: 0;
  padding: 0;
}

.about-contact-page .page-banner-box .banner-top-btn a {
  width: 8.333333vw; /* 160 */
  height: 2.291667vw; /* 44 */
  line-height: 2.291667vw;
  font-size: 0.9375vw;
  border-radius: 0.208333vw;
  box-sizing: border-box;
}

.about-contact-page .page-banner-box .banner-top-btn .ra {
  margin-left: 0.989583vw; /* 19 */
}

/* —— 关于我们：设计稿 1920×790.5（正文顶 273 / 框标 440 / 底 77.5）——
 * 实测正文略超 440，区块与文框略加高避免裁切；左 262 / 右 186
 * 文 904；图 569×357 底 139.5
 */
.ac-about {
  position: relative;
  z-index: 2;
  margin-top: 0; /* 不再上叠，避免裁切首屏右侧插画 */
  height: 42.1875vw; /* 810：273+460+77，保证末行不被裁 */
  padding: 0;
  background: #fff;
  box-sizing: border-box;
}

.ac-about .about-contact-inner {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.ac-section-title {
  margin: 0;
  text-align: center;
  font-size: 68px;
  line-height: 1.3;
  font-weight: 400;
  color: #000;
}

.ac-about .ac-section-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 5.5vw; /* 落在上 215 区域内居中 */
  z-index: 1;
}

.ac-about-label {
  position: absolute;
  left: 13.645833vw; /* 262，与首屏左缘对齐 */
  top: 11.197917vw; /* 215 */
  width: 9.895833vw; /* 190 */
  margin: 0;
  font-size: 1.666667vw; /* 32 */
  line-height: 2.5vw; /* 48 */
  color: #181818;
  font-weight: 400;
  white-space: nowrap;
}

.ac-about-row {
  display: contents; /* 子项相对 .about-contact-inner 定位 */
}

.ac-about-text {
  position: absolute;
  left: 13.645833vw; /* 262（设计标注约 260） */
  top: 14.21875vw; /* 273 正文顶 */
  bottom: 4.036458vw; /* 77.5 */
  width: 47.083333vw; /* 904 */
  height: auto; /* 在 top~bottom 之间撑满，避免写死 440 裁字 */
  margin: 0;
  font-size: 1.041667vw; /* 20 */
  line-height: 1.5625vw; /* 30 */
  font-weight: 400;
  color: #333333;
  text-align: justify;
  overflow: visible;
}

/* 设计稿无段间距，只保留固定行距 */
.ac-about-text p {
  margin: 0;
}

.ac-about-logo {
  position: absolute;
  right: 9.6875vw; /* 186 */
  bottom: 7.265625vw; /* 139.5 */
  width: 29.635417vw; /* 569 */
  height: 18.59375vw; /* 357 */
  margin: 0;
}

.ac-about-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

/* —— 资质证书：1920×804；图 1445×545；上 195 / 左 219 / 右 256 / 底 64 —— */
.ac-cert {
  position: relative;
  width: 100%;
  height: 41.875vw; /* 804@1920 */
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(0deg, #ffffff, #eff8ff);
}

.ac-cert .about-contact-inner {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.ac-cert .ac-section-title {
  position: absolute;
  left: 50%;
  top: 5.208333vw; /* 100 */
  transform: translateX(-50%);
  width: 13.854167vw; /* 266 */
  height: 3.28125vw; /* 63 */
  margin: 0;
  z-index: 1;
  font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 3.541667vw; /* 68 */
  line-height: 2.5vw; /* 48 */
  color: #000000;
  text-align: center;
  white-space: nowrap;
}

.ac-cert-img {
  position: absolute;
  left: 11.40625vw; /* 219 */
  bottom: 3.333333vw; /* 64 */
  display: block;
  width: 75.260417vw; /* 1445 */
  height: 28.385417vw; /* 545 */
  margin: 0;
  object-fit: fill;
}

/* —— 企业客户：1920×686；首行距顶 318；4×42 + 3×40 行距；底 80 —— */
.ac-clients {
  position: relative;
  width: 100%;
  height: 35.729167vw; /* 686@1920 */
  padding: 0;
  box-sizing: border-box;
  background: #f7faff;
  overflow: hidden;
}

.ac-clients .about-contact-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
  padding-top: 0;
}

.ac-clients .ac-section-title {
  position: absolute;
  left: 50%;
  top: 5.3125vw; /* 102 距区块顶 */
  z-index: 1;
  box-sizing: border-box;
  width: 31.666667vw; /* 608 */
  height: 3.333333vw; /* 64 */
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 3.541667vw; /* 68 */
  color: #000000;
  line-height: 2.5vw; /* 48 */
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ac-industry {
  position: absolute;
  left: 50%;
  top: 11.770833vw; /* 226 距区块顶 */
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 27.083vw); /* 左右约 260 → 内容区约 1400 */
  margin: 0;
  transform: translateX(-50%);
  gap: 0.572917vw; /* ~11 */
}

.ac-industry span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 6.770833vw; /* 130 */
  width: 6.770833vw;
  min-width: 0;
  height: 2.1875vw; /* 42 */
  padding: 0 0.2vw;
  border-radius: 4px;
  background: linear-gradient(90deg, #0489ff, #9241ff);
  color: #fff;
  font-size: 1.041667vw; /* 20 */
  font-weight: 400;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
}

/* 客户标签通栏：顶 318 / 高 288（4 行）/ 底留 80；JS 按 4 行收轨 */
.ac-clients .ac-client-list {
  position: absolute;
  left: 50%;
  top: 16.5625vw; /* 318 */
  width: 100vw;
  max-width: 100vw;
  height: 15vw; /* 288 = 42*4 + 40*3 */
  margin: 0;
  transform: translateX(-50%);
  overflow: hidden;
  box-sizing: border-box;
}

.ac-client-marquee {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}

.ac-client-list.is-scrolling .ac-client-marquee {
  max-width: none;
  animation: ac-client-marquee 55s linear infinite;
}

.ac-client-list.is-scrolling:hover .ac-client-marquee {
  animation-play-state: paused;
}

.ac-client-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 2.083333vw 40px; /* 行距 40@1920；列距固定 40 */
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

.ac-client-list.is-scrolling .ac-client-track {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  flex-shrink: 0;
  margin-right: 2.083333vw; /* 40，衔接下一段；勿用 padding，border-box 会吃掉轨宽挤行 */
}

.ac-client-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: 2.1875vw; /* 42 固定；宽随文案 */
  padding: 0.677083vw 1.770833vw; /* 13 34 — 文字距上下/左右 */
  border-radius: 1.09375vw; /* 21 */
  background: #e9f5ff;
  box-sizing: border-box;
  font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 0.833333vw; /* 16 */
  color: #333333;
  line-height: 1;
  white-space: nowrap;
}

/* 蓝/紫按行首列交错：蓝紫蓝紫（JS 按行号加 is-purple） */
.ac-client-track span.is-purple {
  background: #ecedff;
}

@keyframes ac-client-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ac-client-list.is-scrolling .ac-client-marquee {
    animation: none;
  }
}

/* —— 联系 / 地图：左文（含标题）右图 —— */
.ac-contact {
  padding: 80px 0 96px;
  background: #fff;
}

.ac-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.ac-contact-left {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
}

.ac-contact .ac-section-title {
  text-align: left;
  margin: 0 0 48px;
}

.ac-contact-info {
  margin: 0;
}

.ac-contact-item {
  margin-bottom: 36px;
}

.ac-contact-item:last-child {
  margin-bottom: 0;
}

.ac-contact-item .ac-label {
  display: inline-block;
  font-size: 20px;
  color: #1e54ec;
  font-weight: 700;
  margin-bottom: 12px;
}

.ac-contact-item p {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  word-break: break-all;
}

.ac-contact-map {
  flex: 0 1 831px; /* 设计稿 831×524 */
  min-width: 0;
}

.ac-contact-map img {
  width: 831px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .ac-section-title {
    font-size: 48px;
  }
  .ac-cert {
    height: auto;
    padding: 48px 0 64px;
  }
  .ac-cert .ac-section-title,
  .ac-cert-img {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }
  .ac-cert .ac-section-title {
    margin-bottom: 24px;
  }
  .ac-clients {
    height: auto;
    padding: 48px 0 64px;
  }
  .ac-clients .about-contact-inner {
    padding-top: 0;
  }
  .ac-clients .ac-section-title {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    height: auto;
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    display: block;
    white-space: normal;
  }
  .ac-industry {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 92%;
    max-width: none;
    margin: 16px auto 24px;
    flex-wrap: wrap;
  }
  .ac-industry span {
    flex: 0 0 auto;
    width: auto;
    min-width: 100px;
    height: 36px;
    font-size: 14px;
    padding: 0 12px;
  }
  .ac-clients .ac-client-list {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    height: 220px;
  }
  .ac-client-list span {
    flex: 0 0 auto;
    width: auto;
    height: 36px;
    padding: 10px 20px;
    border-radius: 18px;
    font-size: 13px;
  }
  .ac-client-track {
    gap: 16px;
  }
  .ac-about {
    height: auto;
    padding: 48px 0 64px;
  }
  .ac-about .about-contact-inner {
    width: calc(100% - 37.6vw);
    height: auto;
    margin: 0 auto;
  }
  .ac-about .ac-section-title,
  .ac-about-label,
  .ac-about-text,
  .ac-about-logo {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .ac-about-label {
    display: block;
    margin: 32px 0 16px;
    font-size: 32px;
    line-height: 48px;
  }
  .ac-about-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 0;
  }
  .ac-about-text {
    font-size: 20px;
    line-height: 30px;
    overflow: visible;
  }
  .ac-about-logo,
  .ac-contact-left,
  .ac-contact-map {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .ac-about-logo img {
    width: 100%;
    max-width: 569px;
    height: auto;
    margin: 0 auto;
  }
  .ac-contact-row {
    flex-direction: column;
  }
  .ac-contact .ac-section-title {
    text-align: center;
  }
}
