/* ============================================================
   首页整屏滚动（fullpage）样式
   依赖 fullpage.js；板块标记：<div class="fp-section" data-title="板块名">
   ============================================================ */

/* 每个整屏板块：至少占满一屏，内容垂直居中；高于一屏的板块保持自然高度 */
.fp-section {
  position: relative;
  min-height: 100vh;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
}

/* 产品中心板块：生成器给该容器写了 min-height:0，这里用 id+class 提高优先级，保证整屏 */
#w_grid-1619703087160.fp-section {
  min-height: 100vh;
}

/* banner 已按“可视区高度 - 固定导航”设定高度，首屏不再额外撑高 */
.banner.fp-section {
  min-height: 0;
}

/* 页脚板块撑满一屏时，用页脚同色填充，避免露出浅色底 */
.fp-section--foot {
 
  background: url(/images/bg-road.jpg) no-repeat center center;
}

/* 服务中心板块背景为固定图，撑满一屏时改为铺满，避免下方留白 */
.sy-fwbox.fp-section {
  background-size: cover;
}

/* 五大优势板块背景图高度 860px，撑满一屏时用白色补齐上下留白 */
.dwbj.fp-section {
  background-color: #fff;
}

/* 右侧圆点导航 */
.fp-nav {
  position: fixed;
  right: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2147483640;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.fp-nav-dot {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  text-decoration: none !important;
}

.fp-nav-dot i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .8);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.fp-nav-dot span {
  position: absolute;
  right: 30px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(14, 111, 218, .92);
  padding: 6px 10px;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  pointer-events: none;
}

.fp-nav-dot:hover span {
  opacity: 1;
  visibility: visible;
}

.fp-nav-dot:hover i {
  background: #0e6fda;
}

.fp-nav-dot.fp-active i {
  background: #0e6fda;
  -webkit-transform: scale(1.6);
  transform: scale(1.6);
  box-shadow: 0 0 0 3px rgba(14, 111, 218, .22);
}

/* 板块进入动画：淡入 + 上移（由 fullpage.js 给子元素加 fp-anim） */
.fp-anim {
  opacity: 0;
  -webkit-transform: translateY(46px);
  transform: translateY(46px);
  -webkit-transition: opacity .7s ease, -webkit-transform .8s cubic-bezier(.22, .61, .36, 1);
  transition: opacity .7s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}

.fp-section.fp-active .fp-anim,
.fp-section.fp-inview .fp-anim {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

/* 用户开启减弱动效时关闭动画 */
@media (prefers-reduced-motion: reduce) {
  .fp-anim {
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}
