﻿@charset "utf-8";
@import url(swiper.css);

/* 轮播图核心：100%全屏 + 锁定2560:1200比例（关键适配你的图片） */
.home-banner {
  width: 100vw !important;
  height: 100vh !important; /* 纯全屏高度 */
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1 !important;
  /* 锁定图片原始比例：2560/1200 = 64/30 = 32/15 */
  aspect-ratio: 2560 / 1200 !important;
  /* 强制容器跟随比例撑满，超出部分隐藏（适配不同显示器比例） */
  max-height: 100vh !important;
  max-width: 100vw !important;
}

/* Swiper容器：强制100%继承全屏容器尺寸 */
#banner-swiper {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

#banner-swiper .swiper-wrapper {
  width: 100% !important;
  height: 100% !important;
}

/* 轮播slide：强制铺满容器 */
#banner-swiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 核心：2560*1200图片完全平铺铺满，无拉伸、无留白 */
.home-banner .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* 铺满且保持2560:1200比例，多余裁剪 */
  object-position: center center !important; /* 图片核心区域居中 */
  display: block !important;
  border: none !important;
}

/* 轮播链接容器：不影响图片尺寸 */
.home-banner .swiper-slide a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* 彻底隐藏prev/next默认文字（核心修复） */
.home-banner .swiper-button-next::after,
.home-banner .swiper-button-prev::after {
  content: "" !important;
  display: none !important;
}

/* 轮播箭头：悬浮在全屏图上，不遮挡内容 */
.home-banner .swiper-button-next,
.home-banner .swiper-button-prev {
  background: rgba(255, 255, 255, 0.3) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #222 !important;
  transition: all .1s linear !important;
  z-index: 20 !important; /* 提高层级，确保在图片上层 */
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

.home-banner .swiper-button-next {
  right: 30px !important;
}

.home-banner .swiper-button-prev {
  left: 30px !important;
}

.home-banner .swiper-button-next:hover,
.home-banner .swiper-button-prev:hover {
  background: #005E74 !important;
  color: #FFF !important;
}

/* 分页器：全屏下的位置优化 */
.home-banner .swiper-pagination {
  display: block !important;
  z-index: 20 !important;
  bottom: 30px !important;
  text-align: center !important;
}

.home-banner .swiper-pagination-bullet-active {
  background: #005E74 !important;
}

/* PC/移动端图片切换：保留原有逻辑 */
.home-banner .slide-pc, .home-banner .slide-pc img {
  display: block!important;
}

.home-banner .slide-mb, .home-banner .slide-mb img {
  display: none!important;
}

/* 移动端适配：保持比例，降低高度避免变形 */
@media(max-width:768px) {
  .home-banner {
    height: 70vh !important;
    aspect-ratio: 2560 / 1200 !important; /* 移动端也锁定图片比例 */
  }
  
  .home-banner .slide-pc, .home-banner .slide-pc img {
    display: none!important;
  }
  
  .home-banner .slide-mb, .home-banner .slide-mb img {
    display: block!important;
  }
  
  .home-banner .swiper-button-next,
  .home-banner .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
  }
}

/* 以下保留原有所有样式，无需修改 */
.home-service .service-wrap{max-width:1600px;margin:0 auto;display:flex;justify-content:space-between;flex-wrap:wrap}
.home-service .service-wrap .service-item{width:25%;background:#20242d;color:#FFF;border:1px solid #4d5057;padding:60px 40px 50px;transition:all .2s linear;position:relative}
.home-service .service-wrap .service-item:hover{background:#005E74}
.home-service .service-wrap .service-item:hover .title::after{background:#FFF}
.home-service .service-wrap .service-item:hover .bg i{color:#FFF}
.home-service .service-wrap .service-item .title{font-size:18px;position:relative;padding-bottom:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.home-service .service-wrap .service-item .title::after{content:"";width:40px;height:3px;background:#005E74;position:absolute;left:0;bottom:0}
.home-service .service-wrap .service-item .text{padding-top:25px;font-size:16px;line-height:1.8;color:#DFDFDF;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-service .service-wrap .service-item .icon{margin-top:20px}
.home-service .service-wrap .service-item .icon i{font-size:30px}
.home-service .service-wrap .service-item .bg{position:absolute;right:20px;bottom:20px}
.home-service .service-wrap .service-item .bg i{color:#494c54;font-size:60px}
.home-product .product-list{position:relative;padding:0 80px}
.home-product .product-list .home-button-next,.home-product .product-list .home-button-prev{top:30%}
.swiper-pagination{display:none}
.home-product .swiper .swiper-slide::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:0;background:#005E74;transition:all .2s linear}
.home-product .swiper .swiper-slide:hover::after{height:6px}
.home-product .swiper .swiper-slide:hover .img img{transform:scale(1.1)}
.home-product .swiper .swiper-slide .img{width:100%;border:1px solid #DFDFDF}
.home-product .swiper .swiper-slide .img a{display:block;width:100%;height:100%;overflow:hidden}
.home-product .swiper .swiper-slide .img a img{width:100%;height:100%;object-fit:cover;transition:all .2s linear}
.home-product .swiper .swiper-slide .info{padding:20px 30px 30px 10px;width:100%;position:relative}
.home-product .swiper .swiper-slide .info .title{font-size:18px;color:#222;text-transform:capitalize;}
.home-product .swiper .swiper-slide .info .text{font-size:14px;color:#666}
.home-product .swiper .swiper-slide .info i{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#005E74;font-size:20px}
.home-button-next,.home-button-prev{position:absolute;left:0;top:40%;background:0 0;width:40px;height:40px;border:1px solid #DFDFDF;display:inline-flex;align-items:center;justify-content:center;transition:all .2s linear;cursor:pointer}
.home-button-next:hover,.home-button-prev:hover{background:#005E74;border-color:#005E74}
.home-button-next:hover i,.home-button-prev:hover i{color:#FFF}
.home-button-next i,.home-button-prev i{color:#000}
.home-button-next{left:auto;right:0}
.home-application{background:#f9f9f9}
.home-application .applist{padding:0 80px;position:relative}
.home-application .applist .item{background:#FFF;width:100%;transition:all .1s linear;cursor:pointer;color:#222}
.home-application .applist .item:hover{background:#005E74;color:#FFF;transform:scale(1.01)}
.home-application .applist .item:hover .title::after{background:#FFF}
.home-application .applist .item .info{padding:30px 20px}
.home-application .applist .item .icon{line-height:1}
.home-application .applist .item .icon i{font-size:44px}
.home-application .applist .item .title{font-size:18px;padding:10px 0;position:relative}
.home-application .applist .item .title::after{content:"";position:absolute;bottom:0;left:0;width:40px;height:3px;background:#005E74}
.home-application .applist .item .pic img{width:100%;height:auto}
.home-video .videowrap{position:relative;padding:0 80px;display:flex;justify-content:space-between;flex-wrap:wrap}
.home-video .videowrap .videoitem{background:#f8f8f8;transition:all .2s linear;margin-bottom:20px;width:23%}
.home-video .videowrap .videoitem:hover{background:#005E74;color:#FFF}
.home-video .videowrap .videoitem:hover i{color:#005E74}
.home-video .videowrap .videoinner{position:relative;width:100%}
.home-video .videowrap .videoinner img{width:100%;height:100%;object-fit:cover}
.home-video .videowrap .videoinner iframe,.home-video .videowrap .videoinner video{width:100%;height:100%}
.home-video .videowrap .videoinner i{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#FFF;font-size:40px;cursor:pointer}
.home-video .videowrap .title{height:60px;line-height:20px;padding:0 10px;display:flex;align-items:center;justify-content:center;text-align:center}
.home-honor{background:url(../images/honor-bg.jpg) no-repeat center;background-size:cover}
.home-honor .honorwrap{position:relative;padding:0 80px}
.home-honor .honorwrap .item{width:100%;overflow:hidden;transition:all .2s linear}
.home-honor .honorwrap .item:hover{transform:scale(1.05)}
.home-honor .honorwrap .item img{width:100%;height:100%}
.home-news .newswrap{position:relative;padding:0 80px;display:flex;flex-wrap:wrap}
.home-news .newswrap .item{width:23%;transition:all .2s linear;position:relative;margin-right:2%}
.home-news .newswrap .item:nth-child(4n){margin-right:0}
.home-news .newswrap .item .news-img img{width:100%;height:100%;object-fit:cover}
.home-news .newswrap .item .news-info{padding:20px 0}
.home-news .newswrap .item .news-info .title{font-size:18px;color:#222;font-weight:500}
.home-news .newswrap .item .news-info .date{font-size:16px;color:#005E74;padding:10px 0}
.home-news .newswrap .item .news-info .text{font-size:14px;color:#666;line-height:24px}
.home-news .newswrap .item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:0;background:#005E74;transition:all .2s linear}
.home-news .newswrap .item:hover img{transform:scale(1.05)}
.home-news .newswrap .item:hover::after{height:6px}
.home-about .l-wrap{padding:0 80px}
.home-static .list{padding:0 50px}
.home-static{position:relative;z-index:1}
.home-static::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.1);z-index:-1}
@media(max-width:1366px){.home-news .newswrap{padding:0}}
@media(max-width:1024px){.home-banner #banner-swiper{min-height:100%}.home-service .service-wrap .service-item{width:50%}.home-about .l-wrap{padding:0}.home-video .videowrap{padding:0}.home-static .list{padding:0}.home-video .videowrap .videoitem{width:48%}.home-news .newswrap .item{width:48%;margin-bottom:20px;margin-right:4%}.home-news .newswrap .item:nth-child(2n){margin-right:0}}
@media(max-width:768px){.home-button-next,.home-button-prev{width:35px;height:35px;background:#FFF;display:none}.home-service .service-wrap .service-item{width:100%;padding:20px 15px 10px}.home-service .service-wrap .service-item .text{padding-top:15px;font-size:14px}.home-service .service-wrap .service-item .icon{margin-top:10px}.home-service .service-wrap .service-item .bg{bottom:10px}.home-service .service-wrap .service-item .bg i{font-size:40px}.home-product .swiper .swiper-slide .info{padding:0 30px 15px 10px;margin-top:15px}.home-application .applist .item .info{padding:15px}.home-application .applist .item .info .title{font-size:16px;font-weight:500}.home-application .applist .item .info i{font-size:5.86667vw}.home-news .newswrap .item .news-info .title{font-size:16px;line-height:1.2}.home-news .newswrap .item .news-info .text{line-height:20px;display:none}.swiper-pagination{display:block;bottom:0!important;z-index:10}.swiper-pagination .swiper-pagination-bullet-active{background:#005E74}.home-video .videowrap .videoitem{width:100%}.home-product .swiper .swiper-slide .info .title{text-align:center;display:block}.home-product .swiper .swiper-slide .info .text{display:none}.home-about .about-info .home-title{text-align:center}.home-about .about-info .home-title-line{margin:0 auto}.head-info{padding:0 15px}.head-info #nav ul li a{font-size:3.46667vw}.home-application .applist,.home-honor .honorwrap,.home-product .product-list{padding:0 10px}.home-application .applist .swiper,.home-honor .honorwrap .swiper,.home-product .product-list .swiper{padding-bottom:40px}}