html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

html::-webkit-scrollbar-track {
  background-color: transparent;
}

/* 适用于 Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

section {
  height: 100vh;
  position: relative;
}

/* 轮播容器样式 */
.banner {
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 轮播列表样式 */
.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 轮播项样式 */
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

/* 激活状态轮播项 */
.banner-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.banner-slide.is-active img {
  animation: banscaleDraw 9s ease-in-out forwards;
}

.banner-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 轮播描述文字 */
.banner-description {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  margin: 0 auto;
  font-size: clamp(1.5rem, 4.2vw, 4.2rem);
  color: #fff;
  letter-spacing: 0.4rem;
  width: 100%;
  white-space: pre-line;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.banner-slide.is-active .banner-description {
  animation: fadeInUp 1.5s;
}

.indicators {
  position: absolute;
  left: 10%;
  bottom: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 4;
}

.icon-arrow-right,
.icon-arrow-left {
  font-size: 1.25rem;
  color: #fff;
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

.icon-arrow-right:hover,
.icon-arrow-left:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* 轮播指示器 */
.banner-indicators {
  display: flex;
  gap: 1rem;
}

.banner-indicator {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.banner-indicator:hover {
  transform: scale(1.2);
}

.banner-indicator.is-active {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.banner .scroll {
  position: absolute;
  right: 5%;
  bottom: 8.75rem;
  transform: translateX(-50%);
  text-align: center;
  z-index: 4;
}

.banner .scroll p {
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  writing-mode: vertical-rl;
  letter-spacing: 0.5em;
}

.banner .scroll i {
  display: inline-block;
  width: 1px;
  height: 5rem;
  background-color: rgb(255, 255, 255);
  position: absolute;
}

.banner .scroll i::before {
  content: "";
  display: inline-block;
  width: 0.25rem;
  height: 0.9375rem;
  background-color: rgb(255, 255, 255);
  position: absolute;
  left: 1px;
  top: 0.625rem;
  border-radius: 0.0938rem;
  animation: 3s ease 0s infinite normal none running scroll;
}

@keyframes banscaleDraw {

  /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
  0% {
    transform: scale(1);
    /*开始为原始大小*/
  }

  25% {
    transform: scale(1.05);
    /*放大1.1倍*/
  }

  50% {
    transform: scale(1.1);
  }

  75% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes scroll {
  0% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 3.125rem);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 990px) {
  .banner {
    height: 80vh;
  }

  .banner .scroll {
    display: none;
  }

  .banner-description {
    padding: 0 var(--container);
  }

  .indicators {
    left: var(--container);
  }
}

/* 第二章/产品中心 */
.section-two,
.section-three,
.section-four,
.section-six,
.section-five {
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
}

.section-two-content {
  height: 100vh;
  width: 45%;
  background-color: rgba(230, 0, 18, 0.2);
  display: flex;
  justify-content: end;
}

.section-two-left {
  color: #fff;
  width: 75%;
}

.title {
  padding: 3rem 0;
  font-weight: normal;
  font-size: 2rem;
  flex-shrink: 0;
  margin: 0;
  color:#FFFFFF;
}

.product-presentation {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-presentation li {
  padding: 1.8rem;
  font-size: 1.5rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.49));
  cursor: pointer;
}

.product-presentation li:hover {
  background: linear-gradient(to right, rgba(90, 220, 252, 0.1), rgba(90, 220, 252, 0.49));
}

.product-presentation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
}

.product-right {
  display: flex;
}

.product-right>img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  margin: 0 1.8rem;
}

.icon-long-arrow-right {
  font-size: 2rem;
  align-content: center;
}

@media (max-width: 990px) {
  .section-two {
    height: auto;
    background-attachment: scroll;
  }

  .section-two-content {
    width: 100%;
    height: auto;
  }

  .section-two-left {
    padding-top: 0 !important;
    width: calc(100% - var(--container) * 2);
    margin-right: var(--container);
    margin-bottom: var(--container);
  }
}

/* 第三章/技术平台 */
.section-three-content {
  position: relative;
  width: calc(100% - var(--container) * 2);
  margin: auto;
}

.section-three-content .title {
  padding: 0;
  height: 8rem;
  line-height: 8rem;
}

.technology-platform {
  position: absolute;
  width: 100%;
  height: calc(100% - 13rem);
  overflow: hidden;
}

.platform-swiper {
  height: 100%;
  width: 100%;
}

/* 技术平台：单图轮播（整屏背景图）+ 水平切换箭头 */
.swiper-slide {
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.platform-slide-bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8%;
  box-sizing: border-box;
}

.platform-slide-inner {
  max-width: 60%;
}

.swiper-slide-description {
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  color: #fff;
  width: 100%;
  line-height: 1.8;
  letter-spacing: 0.2rem;
  margin-bottom: 4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.learn-more {
  width: 11rem;
  height: clamp(2.5rem, 3.5vh, 3.5rem);
  border-radius: 10rem;
  background-color: transparent;
  color: #fff;
  border: 0.15rem solid #fff;
  border-image: none;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.learn-more .icon-long-arrow-right {
  font-size: 1.5rem;
  padding-left: 10px;
}

.learn-more:hover {
  background-color: #e60012;
}

/* 切换箭头：水平（左右）排列 */
.swiper-button {
  position: absolute;
  right: 8%;
  bottom: 8%;
  z-index: 4;
  display: flex;
  gap: 1rem;
}

.swiper-button>.icon-arrow-left,
.swiper-button>.icon-arrow-right {
  color: #fff;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.15rem;
  border: 0.15rem solid #fff;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, opacity 0.3s;
}

.swiper-button>.icon-arrow-left:hover,
.swiper-button>.icon-arrow-right:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* 不可点击时的样式（变暗） */
.icon-arrow-left.swiper-button-disabled,
.icon-arrow-right.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 990px) {
  .section-three {
    height: 80vh;
  }

  .section-three-content {
    position: relative;
    height: 100% !important;
    margin: auto;
    top: 0 !important;
  }

  .platform-slide-inner {
    max-width: 100%;
  }
}

/* 第四章/关于我们 */
.section-four-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-us {
  color: #fff;
  width: calc(100% - var(--container) * 2);
  margin: auto;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-us .title {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: bold;
  padding: 0;
}

.about-us p {
  font-size: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 0.3rem solid var(--primary-color);
  display: inline-block;
}

.about-us span {
  display: block;
  line-height: 1.8;
  letter-spacing: 0.1rem;
}

.about-us .learn-more {
  margin: 4rem 0;
  background-color: #e60012;
  border: 1px solid #e60012;
}

.about-us.is-active {
  animation: fadeInLeft 2s ease-out forwards;
}

.stats-bar {
  width: 100%;
  height: 20%;
  background-color: #d3d3d3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  color: #fff;
  font-weight: bold;
  flex-wrap: wrap;
}

.stats-item {
  position: relative;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.stats-item :nth-of-type(2) {
  color: var(--primary-color);
  padding-left: clamp(0.5rem, 1vw, 1rem);
  font-size: clamp(1rem, 2vw, 1.8rem);
}

.stats-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #fff;
}

.stats-bar.is-active {
  animation: fadeInUp 1s ease-in-out forwards;
}

@media (max-width: 990px) {
  .section-four {
    height: auto;
    background-attachment: local;
  }

  .section-four-content {
    height: auto !important;
    padding-top: var(--container) !important;
  }

  .about-us {
    height: auto;
  }

  .about-us span {
    text-indent: 2em;
  }

  .stats-item {
    flex: 0 0 50%;
    width: 50%;
    padding: 1.5rem 0;
  }

  .stats-bar {
    padding: var(--container) 0;
  }

  /* 手机端：取消换行后错位的竖向分隔线，改为两列网格 */
  .stats-item:not(:last-child)::after {
    display: none;
  }
}

/* 第五章/企业新闻 */
.section-five-content {
  position: relative;
  width: calc(100% - var(--container) * 2);
  height: 100%;
  margin: auto;
}

.section-five-header {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  border-bottom: 0.3rem solid var(--primary-color);
}

.section-five-header .right {
  display: flex;
}

.section-five-header .right .icon-arrow-right {
  width: auto;
  height: auto;
  color: var(--primary-color);
  font-size: 1.6rem;
}

.section-five-header .right .icon-arrow-right:hover {
  background-color: transparent;
}

.enterprise-news {
  position: relative;
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
}

.news-item {
  flex: 0 0 calc((100% - 1.5rem * 2) / 3);
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
}

.news-img {
  width: 100%;
  padding-top: 60%;
  height: 0;
  /* background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  cursor: pointer; */
  overflow: hidden;
  position: relative;
}

.news-img img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s;
}

.news-img img:hover {
  transform: scale(1.1);
}

.news-content {
  padding: 1.2rem 1.5rem 1.5rem;
}

.news-content p {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 2;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: #000;
}

.news-content .date {
  display: flex;
  width: 100%;
  line-height: 2;
  color: #555;
  align-items: center;
}

.news-content .icon-rili {
  margin-right: 0.5rem;
}

.news-content .description {
  color: #070707;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-width: 100%;
}

.news-item:hover .news-content p {
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .enterprise-news {
    flex-wrap: wrap;
  }

  .news-item {
    width: 100%;
    flex: auto;
    overflow: hidden;
  }
}

@media (max-width: 990px) {

  .section-five,
  .section-six {
    height: auto;
  }

  .section-five-content,
  .section-six-content {
    padding-top: 0 !important;
  }

  .enterprise-news {
    padding-bottom: var(--container);
  }
}

/* 第六章/联系我们 */
/* 关闭留言时展示「联系我们大图」：整图等比全宽显示、不限制高度，板块高度随图自动撑开 */
@media (min-width: 991px) {
  .section-six:has(.contact-order-img) {
    height: auto;
    min-height: 100vh;
    background-attachment: scroll;
  }
}

.section-six-content {
  position: relative;
  width: calc(100% - var(--container) * 2);
  height: auto;
  margin: auto;
  align-items: center;
  padding-bottom: 3rem;
}

.contact-us {
  width: 100%;
  padding: 0 2rem 2rem;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.64);
  border-radius: 30px;
  overflow: hidden;
}

.contact-us .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-direction: column;
}

.contact-us .row .col,
.contact-us .row .col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.col-11 {
  width: calc(100% - (100% / 12));
}

.input {
  height: 4rem;
  line-height: 4rem;
}

.input,
.textarea {
  width: 100%;
  font-size: 1.125rem;
  padding: 1rem;
  border: none;
  background-color: #fff;
  border-radius: 10px;
}

.input::placeholder,
.textarea::placeholder {
  color: #656565;
  opacity: 0.8;
}

.contact-us .learn-more {
  background-color: #e60012;
  border: 1px solid #e60012;
}

/* 首页「关闭留言」时展示的订单咨询大图 */
.contact-order-img {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.4);
}

.contact-order-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-order-placeholder {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}

@media (min-width: 576px) {
  .contact-us {
    padding: 0 3rem 0;
  }

  .contact-us .row {
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .contact-us .row .col {
    width: calc(50% - 2.5rem);
  }
}

@media (max-width: 990px) {
  .section-six {
    background-attachment: scroll;
  }
  .section-six-content {
    margin: var(--container);
  }
  .contact-order-img {
    max-width: 100%;
  }
  .contact-order-img img {
    max-height: none;
  }
}

/* 返回顶部 */
.backTop {
  position: fixed;
  border-radius: 50%;
  bottom: 12%;
  right: 1.25rem;
  border: none;
  background: transparent;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.backTop.show {
  opacity: 1;
  pointer-events: auto;
  animation: zoomIn 1s;
}

.backTop.hide {
  animation: zoomOut 1s;
}

.backTop .icon-dingbu {
  border-radius: 50%;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: inset 0px 0px 5px 0px #fff;
}

@media (max-width: 990px) {
  .backTop {
    display: none;
  }
}

.section-indicators {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 5;
  --section-indicator-color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem;
}

.section-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--section-indicator-color);
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.section-indicator.is-active {
  width: 0.75rem;
  height: 1.625rem;
  background-color: var(--section-indicator-color);
  border-radius: 0.375rem;
  transition: all 0.1s ease-in-out;
}

.section-indicator:hover {
  transform: scale(1.2);
}

@media (max-width: 990px) {
  .section-indicators {
    display: none;
  }
}

a {
  text-decoration: none;
}
