/* ========== 全局滚动修复：消除双滚动条 ========== */
html {
  overflow-x: hidden;
  max-width: 100vw;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
  overflow-y: visible;
  margin: 0;
  padding: 0;
}
.floorIntro, .container, .content-cards, .card, .floor-wrapper {
  overflow: visible !important;
  height: auto !important;
  position: relative;
}

/* 吸顶锚点 挪到navBox上方，永久静态不跟随fixed */
.sticky-anchor {
  width: 100%;
  height: 1px;
  position: relative;
  margin-top: -1px;
}
/* 占位容器，过渡平滑高度变化，防止窜动 */
.nav-placeholder {
  display: none;
  width: 100%;
  height: 0px;
  transition: height 0.15s linear;
}
.nav-placeholder.active {
  display: block;
}

/* Banner 区域 */
.spacNavBanner {
  width: 100%;
  height: calc(100vw / 2.67);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.spacNavBanner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}
.bannWrapper {
  width: 83%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.63vw;
  font-weight: 400;
  color: #fff;
  position: relative;
  z-index: 2;
}
.bannWrapper h2 {
  font-weight: 600;
  font-size: 2.1rem;
}
.bannWrapper h3 {
  font-size: 1.1rem;
}

/* 内容区块 */
.floorIntro {
  width: 100%;
  background: #fff;
  padding: 4.18vw 0 6.97vw;
}
.container {
  width: 83%;
  margin: 0 auto;
  position: relative;
  height: auto !important;
}

/* 导航盒子基础样式 */
.navBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.79vw;
  background: #fff;
  padding: 20px 0 0;
  transition: box-shadow 0.3s ease;
  overflow: visible !important;
  will-change: box-shadow;
}
/* 滚动吸顶激活样式 */
.navBox.sticky-active {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translate3d(-50%,0,0);
  width: 100%;
  padding: 0 8.5%;
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding-top: 16px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.page-title {
  display: flex;
  flex-direction: column;
  gap: 0.7vw;
  font-size: 2rem;
  line-height: 2.25rem;
  color: #929290;
  font-weight: 600;
}
.page-title h3 {
  color: #333;
}
.page-title p {
  font-size: 1.1rem;
  color: #C5C5CA;
  font-weight: 400;
  line-height: 1.5rem;
  text-transform: uppercase;
}
/* 吸顶隐藏标题，会压缩navBox高度 */
.navBox.sticky-active .page-title {
  display: none;
}

/* 导航下划线 */
.nav-tabs {
  display: flex;
  border-bottom: 1.4px solid rgba(51, 51, 51, 0.1);
  flex-wrap: wrap;
  position: relative;
  padding-bottom: 2.1vh;
}
.nav-tabs li span {
  font-size: 1rem;
  padding: 0.7vw 1.46vw 1.11vw;
  display: block;
  transition: color 0.3s ease;
  font-weight: 400;
  cursor: pointer;
}
.nav-tabs li.active span {
  color: #086FFF;
  font-weight: 600;
}
.tab-slider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: #086FFF;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 楼层内容：恢复原有高度逻辑，不absolute，避免页面高度突变 */
.floor-wrapper {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: unset !important;
}
.floor-content {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(30px);
}
.floor-content.active {
  height: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
  overflow: visible;
}
.floor-content.slide-out {
  transform: translateX(-30px);
  opacity: 0;
}

/* 卡片布局 */
.content-cards {
  display: flex;
  flex-direction: column;
  gap: 1.39vw;
}
.card {
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
}
.card.row-even {
  flex-direction: row-reverse;
}
.card-blue {
  background: #0046d1;
  color: #fff;
  padding: 2.79vw 2.78vw 3.48vw;
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.card.row-even .card-blue {
  background: #f5f5f5;
  color: #333;
}
.card-blue .big-letter {
  position: absolute;
  font-size: 12.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.1);
  bottom: 1.05vw;
  left: 1.04vw;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}
.card.row-even .card-blue .big-letter {
  right: 1.04vw;
  left: auto;
  color: rgba(51,51,51,0.06);
}
.card-blue .card-text {
  margin-bottom: 2.09vw;
  position: relative;
  z-index: 2;
}
.card-blue .card-title {
  font-size: 1.5rem;
  line-height: 1.63rem;
  font-weight: 600;
  margin-bottom: 2.09vw;
}
.card-blue .card-desc {
  font-size: 1rem;
  line-height: 1.63rem;
  font-weight: 400;
}
.card-blue .card-more {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.09vw;
  position: relative;
  z-index: 2;
}
.card.row-even .card-blue .card-more {
  border-top: 1px solid rgba(51,51,51,0.1);
}
.card-blue .card-more a {
  display: flex;
  align-items: center;
  gap: 0.77vw;
  font-size: 1rem;
  color: #fff;
}
.card.row-even .card-blue .card-more a {
  color: #333;
}
.card-blue .card-more a .rightArrow {
  width: 1.04vw;
  height: 0.35vw;
  background: url(/images/topRightArrow.svg) no-repeat center;
  background-size: contain;
  display: inline-block;
}
.card.row-even .card-blue .card-more a .rightArrow {
  background: url(/images/topRightArrowBlack.svg) no-repeat center;
  background-size: contain;
}
.card-white {
  width: 50%;
  height: auto;
  overflow: hidden;
}
.card-white .card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.card:hover .card-img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .navBox.sticky-active{top: 60px;}
}
/* ========== 移动端响应式 ========== */
@media (max-width: 767px) {
  html {
    overflow-x: hidden;
    max-width: 100vw;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    overflow: overlay;
    scrollbar-gutter: stable;
    box-sizing: border-box;
  }
  *, *::before, *::after {
    box-sizing: inherit;
  }
  body {
    overflow-x: hidden;
    max-width: 100vw;
    overflow-y: visible;
    height: auto;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
  }
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }
  html {
    scrollbar-width: none;
  }
  .spacNavBanner {
    height: 48vh;
    background-size: 300%;
    background-position: 25% 100%;
  }
  .bannWrapper{
    width: 89.3%;
    gap: 1.8vh;
  }
  .bannWrapper h2 {
    font-size: 2rem;
  }
  .floorIntro{
    padding: 7.5vh 0;
  }
  .container{
    width: 89.3%;
  }
  .page-title{
    font-size: 1.85rem;
    gap: 1.5vh;
  }
  .page-title p{
    font-size: 0.93rem;
  }
  .navBox {
    flex-direction: column;
    align-items: flex-start;
    gap: 4.5vh;
    margin-bottom: 6vh;
    padding-top: 16px !important;
    overflow: visible !important;
  }
  .navBox.sticky-active {
    padding: 0 5.35%;
    top: 60px;
  }
  .nav-tabs{
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    height: fit-content;
    overflow: overlay;
  }
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .nav-tabs li span{
    font-size: 1.1rem;
  }
  .content-cards {
    gap: 3vh;
  }
  .card,
  .card.row-even {
    flex-direction: column;
    width: 100%;
  }
  .card-blue,
  .card-white {
    width: 100% !important;
  }
  .card-white {
    height: 47.98vh;
  }
  .card-blue {
    padding: 6vh 5.35vw 7.5vh;
    overflow: hidden;
  }
  .card-blue .card-text{
    margin-bottom: 6vh;
  }
  .card-blue .card-title{
    font-size: 1.54rem;
    margin-bottom: 4.5vh;
  }
  .card-blue .card-desc {
    font-size: 1.1rem;
    line-height: 2rem;
  }
  .card-blue .card-more{
    padding-top: 4.5vh;
  }
  .card-blue .card-more a{
    font-size: 1.1rem;
    gap: 3.47vw;
  }
  .card-blue .card-more a .rightArrow{
    width: 4.68vw;
    height: 1.2vw;
  }
  .card-blue .big-letter,.card.row-even .card-blue .big-letter {
    font-size: 6rem !important;
    bottom: 2.8vh;
    left: 8px;
    right: unset;
  }
}