
/* 通用轮播容器 */
.hero-slider-pc,
.hero-slider-mobile {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* PC端轮播 - 满屏显示（导航栏64px，总高度100vh） */
.hero-slider-pc {
    width: 100%;
    height: calc(100vh - 64px);
    overflow: hidden;
    display: block;
    background: #1A1A1A;
    margin-top: -20px;
}

/* 手机端轮�?*/
.hero-slider-mobile {
    height: 40vh;
    display: none;
}

/* 轮播包装�?*/
.slider-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

/* 幻灯�?*/
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    visibility: hidden;
}

/* 激活的幻灯�?*/
.slide.active {
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

/* 幻灯片链�?*/
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* 幻灯片背�?*/
.slide-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 幻灯片图�?- 通用样式 */
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* PC端图片完整显示 - 满屏不裁切 */
.hero-slider-pc .slide-bg img {
    width: 100%;
    height: calc(100vh - 64px);
    object-fit: cover;
    object-position: center center;
}

.hero-slider-pc .slide-image {
    width: 100%;
    height: calc(100vh - 64px);
    object-fit: contain;
    object-position: center bottom;
}

/* 横线分页�?*/
.slider-pagination {
    position: absolute;
    bottom: 106px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    align-items: center;
}

.pagination-line {
    width: 50px;
    height: 3px;
    background: rgba(255,255,255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.pagination-line:hover {
    background-color: #00C08B;
}

.pagination-line.active {
    background-color: #00C08B;
    width: 50px;
}

/* 箭头导航 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.slider-arrow svg {
    transition: transform 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255,255,255, 0.4);
    opacity: 1;
}

.slider-arrow:hover svg {
    transform: scale(1.1);
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

/* 鼠标悬停时显示箭�?*/
.hero-slider-pc:hover .slider-arrow,
.hero-slider-mobile:hover .slider-arrow {
    opacity: 1;
}

/* 响应式适配：平�?*/
@media (max-width: 1024px) {
    .slider-pagination {
        bottom: 15px;
        gap: 10px;
    }

    .pagination-line {
        width: 50px;
        height: 2.5px;
    }

    .pagination-line.active {
        width: 50px;
        background: #00C08B;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
    }

    .slider-arrow-prev {
        left: 20px;
    }

    .slider-arrow-next {
        right: 20px;
    }

    .hero-slider-pc {
        height: 100vh !important;
    }

    .hero-slider-pc .slide-bg img {
        width: 100% !important;
        height: 100vh !important;
        object-fit: contain;          /* 改为完整显示，不裁剪 */
    object-position: bottom center; /* 底部对齐，上方留白 */
    background-color: #000;        /* 背景色填充留白区域 */
    }
}

/* 响应式适配：手�?*/
@media (max-width: 768px) {
    .hero-slider-pc {
        display: none;
    }

    .hero-slider-mobile {
        display: block;
    }

    .slider-pagination {
        bottom: 15px;
        gap: 8px;
    }

    .pagination-line {
        width: 50px;
        height: 2px;
    }

    .pagination-line.active {
        width: 50px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.4);
        opacity: 1;
    }

    .slider-arrow-prev {
        left: 15px;
    }

    .slider-arrow-next {
        right: 15px;
    }

    .hero-slider-mobile .slide-image {
        width: 100% !important;
        height: 100% !important;
    }
}

/* 响应式适配：小手机 */
@media (max-width: 480px) {
    .hero-slider-mobile {
        height: 35vh !important;
    }

    .hero-slider-mobile .slide {
        height: 35vh !important;
    }

    .slider-pagination {
        bottom: 10px;
        gap: 6px;
    }

    .pagination-line {
        width: 50px;
        height: 2px;
    }

    .pagination-line.active {
        width: 50px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .slider-arrow-next {
        right: 10px;
    }
}


/* @meida max-width 768 > 991 */

/* 首页 H5 样式 */
@media screen and (max-width: 768px) {
  /* body 下面 文本占行 */
  body {
    line-height: 0;
  }
  body > * {
    line-height: 1.5em;
  }

  /* 首页 banner 轮播容器 */
  .hero-slider-mobile,
  .hero-slider-mobile .slide {
    height: 48vw!important;
  }
  .hero-slider-mobile .slide-bg img {
    object-fit: cover;
  }
  .hero-slider-mobile .service-item-link:hover .service-item .service-img {
    transform: none;
  }

  /* 首页 banner 下方栏目 产品外观设计 */
  .services-container {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .services-container .service-item .service-img {
    object-fit: contain;
  }
  .services-container .service-item {
    min-height: 49vw;
  }
  .services-container .service-item .service-img {
    height: auto;
  }
  .services-container .service-item-link {
    flex-basis: 50%;
  }
  .service-item-link:hover .service-item .service-img {
    transform: none;
  }
  .service-item-link:hover .service-item .icon-img {
    transform: none;
  }
  .service-text-line1,
  .service-text-line2,
  .service-item .service-text-en,
  .service-item-link:hover .service-text-line1,
  .service-item-link:hover .service-text-line2,
  .service-item-link:hover .service-item .service-text-en {
    font-size: 18px;
  }
  
  /* 品牌 */
  .portfolio-wrap .row-two-col .card1 img {
    height: auto;
    min-height: auto;
  }
  .portfolio-wrap .card1:hover img {
    transform: none;
  }
  .portfolio-wrap .card-title {
    font-size: 18px;
    margin-bottom: -130px;
  }
  .portfolio-wrap .card-title-green {
    font-size: 15px;
    margin-bottom: -115px;
  }
  .portfolio-wrap .card-title3 {
    font-size: 16px;
    margin-bottom: -110px;
  }
  
   /* 上品创新整合 */
  .xiaoercms_banner {
    margin-top: 30px;
  }
  
  /* 荣获奖项 */
  .awards-section .awards-list {
    flex-wrap: wrap;
    gap: 20px 0;
    margin: 0 -20px;
  }

  .awards-section {
    flex: 1 1 50%;
    justify-content: center;
  }
  .award-item {
    flex: 1 1 50%;
    justify-content: center;
	column-gap: 10px;
  }
  
  .award-item img {
	  flex-basis: 100px;
  }

  .awards-section .award-details {
    flex-basis: 100px;
	column-gap: 14px;
  }
  
  /* 我们的优势 */
  .advantage-wrap .award-icon {
    max-width: 100%;
    height: auto;
  }

  .advantage-wrap .xiaoercms_awards-section {
    margin-bottom: 0;
  }

  .advantage-wrap .xiaoercms_circles-container {
    display: none;
  }

  .advantage-wrap .xiaoercms_stats {
    margin-top: 0;
    flex-direction: row;
    gap: 25px 0;
  }

  .advantage-wrap .xiaoercms_stat-item {
    flex: 1 1 50%;
    min-width: auto;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }

  .advantage-wrap .description {
    display: none;
  }
  
  /* 我们的客户 */
  .clients-section {
    padding: 280px 0 30px;
  }

  .clients-title {
    max-width: 100%;
    height: auto;
  }
  
  /* 最新动态 */
  .news-section .xiaoercms_awards-section4 {
    margin: 0;
    padding: 0;
  }

  .news-section .award-icon {
    max-width: 100%;
    max-height: 100px;
    height: auto;
  }

  .news-section .news-columns {
    margin: 20px 0 0;
  }

  .news-section .news-column,
  .news-section .news-column:last-child {
    padding: 0;
    border: none;
  }

  .news-section .news-item-main {
    width: 100%;
  }

  .news-section .news-img-main {
    height: auto;
  }

  .news-section .news-content-main {
    padding: 20px 0;
  }

  .news-section .news-item-list {
    display: none;
  }
  
  /* 设计中心 */
  .design-center-section {
    padding: 0 20px;
  }

  .design-center-section .xiaoercms_awards-section3 {
    padding: 10px 0;
    margin: 0;
  }

  .design-center-section .award-icon {
    max-width: 100%;
    height: auto;
  }

  .design-center-section .xiaoercms_design-centers {
    flex-wrap: wrap;
  }

  .design-center-section .city-card {
    flex: 1 1 50%;
    scale: 1.1;
    margin: -5px 0;
  }

  .design-center-section .city-card:nth-child(1) { order: 1; translate: 10px 0; }
  .design-center-section .city-card:nth-child(2) { order: 3; translate: 0 0; }
  .design-center-section .city-card:nth-child(3) { order: 2; translate: 0 0; }
  .design-center-section .city-card:nth-child(4) { order: 4; translate: -10px 0; }
  
  /* 页面底部 footer */
  .footer {
    padding: 20px;
  }

  .footer .footer-top {
    display: none;
  }

  .footer-main {
    gap: 0;
    margin-bottom: 0;
  }

  .footer .contact-column {
    margin: 20px auto 0;
    order: 2;
  }

  .footer .contact-column h2 {
    display: none;
  }

  /* .footer .column {
    flex: 1 1 33%;
    text-align: center;
  }

  .footer .column-list li {
    justify-content: center;
  } */

  .footer .column {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }

  .footer .column h2 {
    display: inline-block;
    margin: 0;
  }

  .footer .contact-list, .column-list {
    display: inline;
  }

  .footer .column-list li {
    display: inline-block;
    margin: 0 5px;
    line-height: 2em;
  }

  .footer .qr-column {
    margin: 20px auto;
  }

  .footer .qr-column {
    flex-basis: 100%!important;
    margin: 20px auto;
  }

  .footer .footer-bottom {
    align-items: center;
  }
  .footer .copyright {
    line-height: 1.75em;
  }
}

/* @meida max-width 768 > 991 */

/* 导航栏 H5 样式 */
@media screen and (max-width: 768px) {
  .header .nav-wrapper {
    gap: 0;
  }
  
  .header .contact-info {
    margin-right: 60px;
  }
  .header .nav-menu {
    display: block;
    position: fixed;
    top: 28px;
    right: 15px;
    min-width: 75px;
    padding-top: 30px;
    margin-top: 30px;
    padding: 0 10px;
    background: #1a1a1a;
    font-weight: bold;
  }

  .header .nav-menu::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: transparent;
  }

  .header .nav-menu::after {
    content: '';
    position: absolute;
    top: -40px;
    right: 20px;
    width: 30px;
    height: 3px;
    background: #EEE;
    box-shadow: 0 12px #EEE, 0 24px #EEE;
  }

  .header .nav-menu > * {
    display: none;
  }

  .header .nav-menu:hover .nav-item {
    display: block;
    padding: 0;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: normal;
  }

  .header .nav-item:hover,
  .header .nav-menu .nav-item.nav-active {
    /* color: #000!important;*/
  }
}