/**
 * 全站底部 CTA：与「关于我们」开启数字化之旅同一套视觉
 * 设计基准：1651×274 @ 1920；3200 画布等比 2752×457
 * 画布页：外框定位仍由各页 .cta 负责，本文件只约束内部
 * 文档流页：加 .site-cta--flow
 */

.site-cta {
  overflow: hidden;
}

.site-cta img {
  max-width: none;
  height: auto;
}

.site-cta--flow {
  position: relative;
  width: 86.25%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1651 / 274;
  font-size: calc(100vw * 100 / 3200);
  z-index: 3;
}

.site-cta .cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.site-cta .cta__title,
.site-cta .cta__sub,
.site-cta .cta__btn {
  pointer-events: auto;
  user-select: text;
}

.site-cta .cta__title {
  position: absolute;
  left: 3.929%;
  top: 19.328%;
  margin: 0;
  z-index: 2;
  font-size: 0.5555em;
  line-height: 1.44;
  font-weight: 400;
  color: #fff;
  text-shadow: 0.01em 0.017em 0.1em rgba(52, 82, 167, 0.3);
  white-space: nowrap;
}

.site-cta .cta__sub {
  position: absolute;
  left: 4.082%;
  top: 40.569%;
  margin: 0;
  z-index: 2;
  font-size: 0.3889em;
  line-height: 1.457;
  font-weight: 400;
  color: #fff;
  text-shadow: 0.01em 0.017em 0.1em rgba(52, 82, 167, 0.3);
  white-space: nowrap;
}

.site-cta .cta__btn {
  position: absolute;
  top: 63.861%;
  height: 16.058%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  min-width: 0;
  min-height: 0;
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.site-cta .cta__btn--primary {
  left: 4.226%;
  width: 10.175%;
}

.site-cta .cta__btn--secondary {
  left: 4.226%;
  width: 7.813%;
}

.site-cta .cta__btn img {
  position: absolute;
  inset: -0.1em -0.1333em;
  width: calc(100% + 0.2666em);
  height: calc(100% + 0.2em);
  max-width: none;
  pointer-events: none;
}

.site-cta .cta__btn span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.3324em;
  line-height: 1.45;
  color: #196df4;
  white-space: nowrap;
}

.site-cta .cta__btn:hover {
  transform: none;
}

.site-cta .cta__title.item-reveal { transition-delay: 0.04s; }
.site-cta .cta__sub.item-reveal { transition-delay: 0.14s; }
.site-cta .cta__btn--primary.item-reveal { transition-delay: 0.24s; }
.site-cta .cta__btn--secondary.item-reveal { transition-delay: 0.32s; }

/* 文档流页窄屏：与关于我们一致改为居中堆叠 */
@media (max-width: 991px) {
  .site-cta--flow {
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto 48px;
    border-radius: 16px;
    font-size: 16px;
    text-align: center;
  }

  .site-cta--flow .cta__bg {
    object-fit: cover;
  }

  .site-cta--flow .cta__title,
  .site-cta--flow .cta__sub {
    position: relative;
    left: auto;
    top: auto;
    white-space: normal;
    padding: 0 20px;
  }

  .site-cta--flow .cta__title {
    padding-top: 32px;
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.4;
  }

  .site-cta--flow .cta__sub {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
  }

  .site-cta--flow .cta__btn {
    position: relative;
    left: auto !important;
    top: auto;
    display: inline-flex;
    width: auto;
    min-width: 140px;
    height: 44px;
    margin: 20px 10px 28px;
    padding: 0 20px;
  }

  .site-cta--flow .cta__btn span {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .site-cta--flow .cta__btn {
    display: flex;
    width: calc(100% - 40px);
    margin: 12px 20px;
    justify-content: center;
  }
}
