/* 定制化系列产品页 */

.page-pro-custom .scroll-animate.animated {
  visibility: hidden;
}

/* Banner 首屏：在 JS 初始化前就隐藏，避免入场前闪现 */
.page-pro-custom .row-banner .scroll-animate {
  visibility: hidden;
}

.page-pro-custom .row-banner .banner-title.scroll-animate,
.page-pro-custom .row-banner .banner-slogan-inner.scroll-animate,
.page-pro-custom .row-banner .more-area.scroll-animate,
.page-pro-custom .row-banner .bg.scroll-animate {
  animation-fill-mode: both;
}

.page-pro-custom .wrapper {
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 0.4rem;
  box-sizing: border-box;
}

/* ========== Banner ========== */
.page-pro-custom .row-banner {
  position: relative;
  box-sizing: border-box;
  height: calc(100vh - var(--global-header-height));
  min-height: 5.6rem;
  background-color: #d7e6f2;
  overflow: hidden;
}

.page-pro-custom .row-banner .bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.page-pro-custom .row-banner .meta {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.page-pro-custom .row-banner .banner-title {
  position: absolute;
  left: 4%;
  top: 8%;
  color: #2e2d2d;
  font-size: 0.48rem;
  font-weight: 500;
}

.page-pro-custom .row-banner .banner-slogan {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  display: flex;
  pointer-events: none;
}

.page-pro-custom .row-banner .banner-slogan-inner {
  width: 46%;
  max-width: 9rem;
  margin-left: 6%;
}

.page-pro-custom .row-banner .banner-slogan img {
  display: block;
  width: 100%;
  height: auto;
}

/* 浅色地面：深灰更清晰，并与「定制化系列」呼应 */
.page-pro-custom .row-banner .more {
  color: #333;
  text-shadow: none;
  filter: none;
  background-image: url(../images/icons/arrow-dot-right.svg);
}

.page-pro-custom .row-banner .more:hover {
  color: #000;
  opacity: 1;
}

/* 背景由大到正常：先铺开，再衔文案 */
.page-pro-custom .row-banner .bg.scroll-animate {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.page-pro-custom .row-banner .banner-title.scroll-animate,
.page-pro-custom .row-banner .banner-slogan-inner.scroll-animate,
.page-pro-custom .row-banner .more-area.scroll-animate {
  animation-duration: 0.85s;
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
}

/* ========== Outdoor Power（含顶部简介）==========
 * 仅保留布局/多处复用变量，其余直接改对应属性即可
 */
.page-pro-custom .row-outdoor {
  --od-box-width: 100%;
  --od-media-width: 52%;
  --od-summary-max: 14.8rem;
  --od-box-pad-y: 1rem;
  --od-icon-size: 0.56rem;

  position: relative;
  padding: 0 0 0.76rem;
  background-color: #fff;
  overflow: hidden;
}

.page-pro-custom .row-outdoor .summary {
  box-sizing: border-box;
  max-width: var(--od-summary-max);
  margin: 0 auto;
  padding: 1.2rem 0.4rem;
  text-align: center;
  color: #787878;
  font-size: 0.2rem;
}

.page-pro-custom .row-outdoor .feature-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: var(--od-box-width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--od-box-pad-y) 0 var(--od-box-pad-y) 8%;

  background-image: url(../images/pro-custom/01.webp);
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: 66.66% auto;
}

.page-pro-custom .row-outdoor .feature-text {
  box-sizing: border-box;
  width: 6.4rem;
  max-width: calc(100% - var(--od-media-width));
  min-width: 0;
  padding-right: 0.8rem;
}

.page-pro-custom .row-outdoor .feature-media {
  box-sizing: border-box;
  width: var(--od-media-width);
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.page-pro-custom .row-outdoor .feature-media img {
  width: 100%;
  display: block;
}

.page-pro-custom .row-outdoor .feature-title {
  font-size: 0.32rem;
  font-weight: 500;
  color: #323232;
  margin-bottom: 0.2rem;
}

.page-pro-custom .row-outdoor .feature-desc {
  color: #787878;
  font-size: 0.18rem;
  margin-bottom: 0.4rem;
}

.page-pro-custom .row-outdoor .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-pro-custom .row-outdoor .feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.56rem;
}

.page-pro-custom .row-outdoor .feature-list li:last-child {
  margin-bottom: 0;
}

.page-pro-custom .row-outdoor .feature-list .icon {
  width: var(--od-icon-size);
  height: var(--od-icon-size);
  margin-right: 0.32rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-pro-custom .row-outdoor .feature-list .icon img {
  width: var(--od-icon-size);
  height: var(--od-icon-size);
  object-fit: contain;
  object-position: center;
  display: block;
}

.page-pro-custom .row-outdoor .feature-list .meta {
  flex: 1;
  min-width: 0;
}

.page-pro-custom .row-outdoor .feature-list .title {
  font-size: 0.2rem;
  font-weight: 500;
  color: #323232;
  margin-bottom: 0.06rem;
}

.page-pro-custom .row-outdoor .feature-list .desc {
  font-size: 0.16rem;
  color: #787878;
}

.page-pro-custom .feature-title {
  font-size: 0.32rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.2rem;
}

.page-pro-custom .feature-desc {
  color: #787878;
  font-size: 0.2rem;
  margin-bottom: 0.36rem;
}

/* ========== BIPV ==========
 * 下列变量可按叠图微调
 */
.page-pro-custom .row-bipv {
  --bipv-building-top: 0;
  --bipv-building-width: 52%;
  --bipv-content-width: 7.4rem;
  --bipv-content-max: 50%;
  --bipv-content-right: 6%;

  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1920 / 977;
  height: auto;
  min-height: 0;
  background-color: #063d8a;
}

.page-pro-custom .row-bipv .bipv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(../images/pro-custom/bipv_bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-pro-custom .row-bipv .bipv-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 61, 138, 1) 0%, rgba(6, 61, 138, 0.2) 100%);
  pointer-events: none;
}

.page-pro-custom .row-bipv .bipv-building {
  position: absolute;
  left: 0;
  top: var(--bipv-building-top);
  bottom: 0;
  z-index: 2;
  width: var(--bipv-building-width);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}

.page-pro-custom .row-bipv .bipv-building img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.page-pro-custom .row-bipv .wrapper {
  position: relative;
  z-index: 3;
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 0 var(--bipv-content-right) 0 0;
}

.page-pro-custom .row-bipv .feature-text {
  box-sizing: border-box;
  width: var(--bipv-content-width);
  max-width: var(--bipv-content-max);
  margin: 0;
  padding: 0.4rem 0 0;
  color: #fff;
}

.page-pro-custom .row-bipv .feature-title {
  color: #fff;
  margin-bottom: 0.28rem;
}

.page-pro-custom .row-bipv .feature-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.52rem;
}

.page-pro-custom .bipv-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -0.6rem;
  list-style: none;
  padding: 0;
}

.page-pro-custom .bipv-grid li {
  box-sizing: border-box;
  width: 50%;
  padding: 0 0.6rem;
  margin-bottom: 0.28rem;
}

.page-pro-custom .bipv-grid .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-pro-custom .bipv-grid .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.page-pro-custom .bipv-grid .meta {
  min-width: 0;
}

.page-pro-custom .bipv-grid .title {
  font-size: 0.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.06rem;
}

.page-pro-custom .bipv-grid .desc {
  font-size: 0.16rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  min-height: 0.96rem;
}

/* ========== Responsive ========== */

@media only screen and (max-width: 767px) {
  .page-pro-custom .wrapper {
    padding: 0 16px;
  }

  .page-pro-custom .row-banner {
    height: 280px;
    min-height: 0;
  }

  .page-pro-custom .row-banner .banner-title {
    left: 16px;
    top: 20px;
    font-size: 18px;
  }

  .page-pro-custom .row-banner .banner-slogan {
    top: 40%;
  }

  .page-pro-custom .row-banner .banner-slogan-inner {
    width: 72%;
  }

  .page-pro-custom .row-banner .more-area {
    left: 16px;
    bottom: 20px;
  }

  .page-pro-custom .row-banner .more {
    font-size: 14px;
  }

  .page-pro-custom .row-outdoor {
    --od-box-width: 100%;
    --od-media-width: 100%;
    --od-summary-max: none;
    --od-box-pad-y: 28px;
    --od-icon-size: 48px;
    padding: 0 0 44px;
  }

  .page-pro-custom .row-outdoor .summary {
    padding: 40px 16px 24px;
    font-size: 13px;
    line-height: 1.8;
  }

  .page-pro-custom .row-outdoor .feature-box {
    flex-wrap: wrap;
    padding: var(--od-box-pad-y) 16px 0;
    background-position: center top;
    background-size: cover;
  }

  .page-pro-custom .row-outdoor .feature-text,
  .page-pro-custom .row-outdoor .feature-media {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 0;
  }

  .page-pro-custom .row-outdoor .feature-text {
    margin-bottom: 28px;
  }

  .page-pro-custom .row-outdoor .feature-title {
    font-size: 20px;
    font-weight: 500;
    color: #323232;
    margin-bottom: 16px;
  }

  .page-pro-custom .row-outdoor .feature-desc {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 32px;
  }

  .page-pro-custom .row-outdoor .feature-list li {
    margin-bottom: 28px;
  }

  .page-pro-custom .row-outdoor .feature-list .icon {
    margin-right: 14px;
  }

  .page-pro-custom .row-outdoor .feature-list .title {
    font-size: 15px;
    font-weight: 500;
    color: #323232;
    margin-bottom: 6px;
  }

  .page-pro-custom .row-outdoor .feature-list .desc {
    font-size: 12px;
    color: #787878;
    line-height: 1.55;
  }

  .page-pro-custom .feature-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .page-pro-custom .feature-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .page-pro-custom .row-bipv {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
  }

  /* 天空 + 蓝底为主；建筑压到遮罩下方，只作底部氛围 */
  .page-pro-custom .row-bipv .bipv-mask {
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(6, 61, 138, 0.97) 0%,
      rgba(6, 61, 138, 0.94) 48%,
      rgba(6, 61, 138, 0.78) 100%
    );
  }

  .page-pro-custom .row-bipv .bipv-building {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 38%;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    animation: none !important;
    transform: none !important;
    visibility: visible !important;
  }

  .page-pro-custom .row-bipv .bipv-building img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left 75%;
    opacity: 0.35;
    filter: blur(0.6px);
  }

  .page-pro-custom .row-bipv .wrapper {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 20px 52px;
  }

  .page-pro-custom .row-bipv .feature-text {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
  }

  .page-pro-custom .row-bipv .feature-title {
    margin-bottom: 18px;
  }

  .page-pro-custom .row-bipv .feature-desc {
    margin-bottom: 36px;
    line-height: 1.75;
  }

  .page-pro-custom .bipv-grid {
    margin: 0;
  }

  .page-pro-custom .bipv-grid li {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin-bottom: 28px;
  }

  .page-pro-custom .bipv-grid li:last-child {
    margin-bottom: 0;
  }

  .page-pro-custom .bipv-grid .icon {
    width: 44px;
    height: 44px;
    margin: 2px 14px 0 0;
    flex-shrink: 0;
  }

  .page-pro-custom .bipv-grid .icon img {
    width: 44px;
    height: 44px;
  }

  .page-pro-custom .bipv-grid .meta {
    flex: 1;
    min-width: 0;
  }

  .page-pro-custom .bipv-grid .title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .page-pro-custom .bipv-grid .desc {
    font-size: 12px;
    line-height: 1.55;
    min-height: 0;
    max-width: none;
  }
}
