.carousel-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-wrap .slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-wrap .slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.carousel-wrap .slide .container {
  color: #fff;
}

.carousel-wrap .slide .container h1 {
  font-size: 4rem;
  margin-bottom: -0.8rem;
}

.carousel-wrap .slide .container p {
  font-size: 1.8rem;
  margin-top: 1.5rem;
}

.carousel-wrap .slide .container p.btn {
  background-color: #315ad0;
  padding: 1rem 2.5rem;
}

/* 按钮 */
.carousel-wrap .prev,
.carousel-wrap .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: none;
}

.carousel-wrap .prev {
  left: 10px;
}

.carousel-wrap .next {
  right: 10px;
}

/* 小圆点 */
.carousel-wrap .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-wrap .dot {
  width: 20px;
  height: 4px;
  background: #444;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-wrap .dot.active {
  background: #fff;
}

.carousel-wrap .soso-box {
  position: relative;
  display: inline-block;
}

.carousel-wrap .soso-box input {
  margin-top: 2.5rem;
  border: none;
  outline: none;
  padding: 0 var(--gap);
  min-height: 46px;
  border-radius: 23px;
  font-size: 16px;
  width: 360px;
}

.carousel-wrap .soso-box svg {
  cursor: pointer;
  position: absolute;
  right: 7px;
  bottom: -13px;
  transform: translateY(-50%);
}

/* 关于我们 */
.about-wrap {
  background-color: #315ad0;
  min-height: 30rem;
  position: relative;
  overflow: hidden;
}

.about-wrap h2 {
  position: relative;
  margin-bottom: 2rem;
}

.about-wrap h2 .line {
  position: absolute;
  height: 4px;
  width: 3rem;
  background-color: #315ad0;
  left: 0;
  bottom: -0.7rem;
}

.about-wrap .left-box {
  position: absolute;
  background-color: #fff;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.about-wrap .about-box {
  padding: 5rem 0;
  width: 50%;
  background-color: #fff;
  padding-right: 10rem;
}

.about-wrap .statistics {
  gap: 5rem;
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.about-wrap .statistics strong {
  color: #315ad0;
  font-size: 30px;
}

.about-wrap .statistics span {
  color: #666;
}

.about-wrap .img-box {
  position: absolute;
  width: 520px;
  left: 50%;
  bottom: -7px;
  margin-left: -5rem;
}

.about-wrap .img-box img {
  height: auto;
}


.m-about-wrap {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-height: 10rem;
  background-color: #EDF2FB;
}

.m-about-wrap h2 {
  margin-bottom: 2rem;
}

.m-about-wrap .bg {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  background-color: #3C6EF1;
  width: 100%;
  height: 320px;
}

.m-about-wrap .statistics {
  display: flex;
  align-items: center;
  margin-top: 1.2rem;
}

.m-about-wrap .statistics strong {
  font-size: 30px;
}

/* 产品中心 */
.product-wrap {
  background-image: url('../img/pc/home-product.png');
  background-size: cover;
  background-position: center;
  min-height: 30rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.product-wrap h2 {
  margin-bottom: 4rem;
}

/* 产业服务 */
.service-wrap {
  background-image: url('../img/pc/home-service.png');
  background-size: cover;
  background-position: center;
  min-height: 30rem;
  padding: 5rem 0;
}

.service-wrap h2 {
  margin-bottom: 4rem;
  color: #fff;
}

/* 客户群 */
.customer-wrap {
  background-image: url('../img/pc/home-customer.png');
  background-size: cover;
  background-position: center;
  min-height: 30rem;
  padding: 5rem 0;
}

.customer-wrap h2 {
  margin-bottom: 4rem;
}

.customer-wrap .menu-box li {
  display: flex;
  align-items: center;
  width: 168px;
  height: 48px;
  line-height: 48px;
  padding-left: 32px;
  background-color: #fff;
  cursor: pointer;
}

.customer-wrap .menu-box li.active {
  box-shadow: inset 4px 0 0 #315ad0;
  /* 左边一条线 */
  background-color: rgba(49, 90, 208, 0.1);
  color: #315ad0;
}

.customer-wrap .customer-content {
  background-color: #fff;
  margin-left: var(--gap);
  padding: 0 var(--gap);
  flex: 1;
}

.customer-wrap .customer-content .item {
  flex: 1;
  padding: var(--gap);
}

/* 用户评价 */
.review-wrap {
  background-image: url('../img/pc/home-review.png');
  background-size: cover;
  background-position: center;
  min-height: 30rem;
  padding: 5rem 0;
}

.review-wrap h2 {
  margin-bottom: 4rem;
  color: #fff;
}

.review-wrap .review-item {
  background-color: #fff;
}

.review-wrap .review-item .avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.review-wrap .review-item .user-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.review-wrap .review-item .user-info .score {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.review-wrap .review-item .user-info .icon {
  cursor: pointer;
}

.review-wrap .review-item .user-info .icon.active path {
  fill: #fccf0a;
}

.review-wrap .review-item .marks {
  width: auto;
}

.back-top {
  position: fixed;
  right: 2rem;
  bottom: 8rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  /* 默认不可点击 */
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  /* 可点击 */
}
@media screen and (max-width: 1160px) {
    .product-wrap .container.grid-2{
            grid-template-columns: repeat(1, 1fr);
    }
    .show-xs-down {
    display: flex !important;
  }
}

@media screen and (max-width: 768px) {
  .show-xs-down {
    display: flex !important;
  }

  .carousel-wrap {
    height: 500px;
    padding-top: 48px;
  }

  .carousel-wrap .slide .container h1 {
    font-size: 1.8rem;
    margin-bottom: -0.8rem;
  }

  .carousel-wrap .slide .container p {
    font-size: 1.2rem;
    margin-top: 1.2rem;
  }

  .carousel-wrap .slide .container p.btn {
    background-color: #315ad0;
    padding: 0.8rem 1.5rem;
  }

  .product-wrap,
  .service-wrap,
  .customer-wrap,
  .review-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: 10rem;
  }

  .product-wrap>h2,
  .service-wrap>h2,
  .customer-wrap>h2,
  .review-wrap>h2 {
    margin-bottom: 2rem;
  }

  .product-wrap>div.grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .product-wrap .btn-info,
  .service-wrap .btn-primary,
  .customer-wrap .btn-info,
  .review-wrap .btn-info {
    margin-top: 2rem !important;
  }

  .service-wrap .container {
    display: flex;
    overflow: hidden;
    overflow-x: auto;
     scrollbar-width: none; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
  }
  .service-wrap .container::-webkit-scrollbar {
    display: none; /* Chrome/Safari 隐藏滚动条 */
}

  .service-wrap .service-item {
    width: 90%;
    flex: none;
    text-align: left;
  }

  .service-wrap .service-item.active,
  .service-wrap .service-item .service-info p {
    flex: none
  }

  .customer-wrap .container {
    flex-direction: column;
  }

  .customer-wrap .container .menu-box {
    display: flex;
    overflow: hidden;
    overflow-x: auto;
    margin-bottom: 1rem;
    gap: 1rem;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .menu-box::-webkit-scrollbar {
    display: none;
  }

  .customer-wrap .menu-box li {
    border: 1px solid #315ad0;
    color: #315ad0;
    min-width: 100px;
    height: 38px;
    line-height: 38px;
    border-radius: 24px;
    text-align: center;
    margin-right: 0.5rem;
    cursor: pointer;
    padding-left: 0;
    justify-content: center
  }

  .customer-wrap .menu-box li.active {
    background-color: #315ad0;
    color: #fff;
  }

  .customer-wrap .container .customer-content {
    margin-left: 0;
    min-height: 20rem;
  }

  .customer-wrap .container .customer-content .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-wrap .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}