/* 基础样式保持不变 */
html {
    font-size: calc(100vw / 19.2); /* 1920px屏幕下1rem = 100px */
}
body{
    margin-top: 0;
    font-size: 0.16rem; /* 16px */
    line-height: 1;
}

/*
 * index nav styles
 **/
.header{
    background-color: transparent;
    box-shadow: none;
}
.header .header-logo img.normal{
    display: inline-block;
}
.header .header-logo img.active{
    display: none;
}
.header .header-nav .nav-item>a{
    color: #FFFFFF;
}
.header.active{
    background-color: #FFFFFF;
    box-shadow: 0 0.02rem 0.1rem 0 rgba(0,0,0,0.16); /* 0px 2px 10px 0px */
}
.header.active .header-logo img.normal{
    display: none;
}
.header.active .header-logo img.active{
    display: inline-block;
}
.header.active .header-nav .nav-item>a{
    color: #1A1A1A;
}
.header .header-nav .nav-item:hover>a{
    color: #15499A;
}

/**
 * banner styles
 **/
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    width: 0.6rem; /* 60px */
    height: 0.04rem; /* 4px */
    background-color: #FFFFFF;
    border-radius: 0;
    margin: 0;
}

.swiper-slide{
    position: relative;
}
.swiper-slide .swiper-slide-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
}
.swiper-slide-text{
    width: 12rem; /* 1200px */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    z-index: 2;
    font-size: 0.16rem; /* 16px */
    line-height: 0.24rem; /* 24px */
}
.swiper-slide-text .swiper-slide-text-description{
    font-weight: bold;
    font-size: 0.6rem; /* 60px */
    line-height: 0.9rem; /* 90px */
    margin: 0.4rem 0; /* 40px 0 */
    text-align: center; 
}
.swiper-slide-text .swiper-slide-text-content{
    font-size: 0.2rem; /* 20px */
    line-height: 0.3rem; /* 30px */
    margin-top: 0.3rem; /* 30px */
    text-align: center; 
}
/* 数据统计卡片 */
.stats {
    display: flex;
    justify-content: center;
    gap: 0.2rem; /* 20px */
    margin: -0.5rem auto 0.8rem; /* -50px auto 80px */
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.stats .stat-card {
    background: white;
    padding: 0.25rem; /* 25px */
    border-radius: 0.1rem; /* 10px */
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.1); /* 0 10px 30px */
    text-align: center;
    min-width: 2rem; /* 200px */
}
.stats .stat-card .number {
    font-size: 0.5rem;
    font-weight: bold;
    color: #1A1A1A;
    margin-bottom: 0.3rem; /* 5px */
}
.stats .stat-card .label {
    font-size: 0.18rem; /* 14px */
    color: #666;
}

.about-company-intro {
    max-width: 12rem; /* 1200px */
    display: flex;
    align-items: center;
    gap: 0.4rem; /* 30px */
    flex-wrap: wrap;
    margin: 0.4rem auto; /* 40px auto */
}

.v-toggle { display: none; }

.about-intro-img {
    width: 5.8rem; /* 500px */
    height: 5.8rem; /* 500px */
    background: #000;
    border-radius: 0.4rem; /* 40px */
    position: relative;
    overflow: hidden;
    max-width: 100%;
    flex-shrink: 0;
}

.v-cover, .v-cover img, .v-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4rem; /* 40px */
}

.v-cover {
    cursor: pointer;
    z-index: 2;
}

.v-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6rem; /* 60px */
    height: 0.6rem; /* 60px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    z-index: 3; /* 确保在封面之上 */
}

.v-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* 图标样式，居中放置 */
.v-play img {
    width: 0.6rem; /* 60px */
    height: 0.6rem; /* 60px */
    object-fit: contain;
}

.v-video { 
    display: none;
}

/* 点击后显示视频并自动播放 */
.v-toggle:checked ~ .v-cover { display: none; }
.v-toggle:checked ~ .v-video { 
    display: block;
}

.about-intro-text { 
    flex: 1;
    height: 5.8rem;
    min-width: 3rem; /* 300px */
}

.about-intro-text h2 {
    font-size: 0.32rem; /* 40px */
    font-weight: bold;
    line-height: 0.53rem; /* 53px */
    margin-bottom: 0.15rem; /* 15px */
}

.about-intro-text p {
    margin-bottom: 0.15rem; /* 15px */
    color: #666;
    font-size: 0.16rem; /* 14px */
    line-height: 2.5;
}

.about-view-all {
    width: 1.08rem; /* 108px */
    height: 0.4rem; /* 40px */
    background: #E60012;
    border-radius: 0.23rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.14rem; /* 14px */
    transition: background 0.3s;
    text-decoration: none;
}

.about-view-all:hover { background: #c42532; }

/* 热门产品模块 */
.hot-products {
    max-width: 12rem; /* 1200px */
    margin: 0 auto;
    margin-bottom: 0.6rem; /* 60px */
}
.hot-products .container{
    max-width: 12rem; /* 1200px */
    padding: 0;
}
.hot-products .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem; /* 10px */
}
.hot-products .section-header h2 .hot-red {
    color: #E60012; 
}
.hot-products .section-header h2 {
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.4rem; /* 40px */
    color: #1A1A1A;
    line-height: 0.4rem; /* 40px */
    margin-bottom: 0;
}
.hot-products .section-header .view-all {
    font-size: 0.14rem; /* 14px */
    color: #666;
    width: 1.08rem; /* 108px */
    height: 0.4rem; /* 40px */
    transition: color 0.3s;
    border-radius: 0.23rem; /* 23px */
    border: 0.01rem solid #D5D5D5; /* 1px */
    text-align: center; 
    line-height: 0.4rem; /* 40px */
}
.hot-products .section-header .view-all:hover {
    color: #E60012;
    border: 0.02rem solid #E60012; /* 2px */
}
.hot-products .products-list{
    width: 100%;
    max-width: 12rem; /* 1200px */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.hot-products .products-list .product-item{
    width: 32%;
    margin-right: 2%;
    margin-top: 0.3rem; /* 30px */
    background-color: #FFFFFF;
    cursor: pointer;
}
.hot-products .products-list .product-item:nth-child(3n){
    margin-right: 0;
}
.hot-products .products-list .product-item .product-item-video{
    aspect-ratio: 1 / 1;
    position: relative;
}
.hot-products .products-list .product-item .product-item-video img{
    width: 100%;
    height: 100%;
}
.hot-products .products-list .product-item .product-item-video .product-item-video-icon{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    display: none;
}
.hot-products .products-list .product-item .product-item-video .product-item-video-icon img{
    width: 0.5rem; /* 50px */
    height: 0.5rem; /* 50px */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hot-products .products-list .product-item .product-item-info{
    width: 100%;
    padding: 0.2rem 0; /* 20px 0 */
}
.hot-products .products-list .product-item .product-item-info .product-item-title{
    font-weight: bold;
    font-size: 0.18rem; /* 18px */
    color: #1A1A1A;
    line-height: 0.27rem; /* 27px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.hot-products .products-list .product-item .product-item-info .product-item-title a{
    color: #1A1A1A;
    display: block;
}
.hot-products .products-list .product-item:hover .product-item-video-icon{
    display: block;
}
.hot-products .products-list .product-item:hover .product-item-info .product-item-title,
.hot-products .products-list .product-item:hover .product-item-info .product-item-title a{
    color: #E60012;
}

.industrial-efficiency {
    height: 8rem; /* 保持原有比例 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0.8rem; /* 80px */
    overflow: hidden;
}

.industrial-efficiency .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.industrial-efficiency .play-trigger {
    display: none;
}

/* 选中时显示视频 */
.industrial-efficiency .play-trigger:checked ~ .bg-video {
    opacity: 1;
}

/* 点击后隐藏图标图片 */
.industrial-efficiency .play-trigger:checked ~ .content .play-icon {
    display: none;
}

.industrial-efficiency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.industrial-efficiency .content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industrial-efficiency h2 {
    width: 12rem; /* 1140px */
    height: 0.56rem; /* 56px */
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.5rem; /* 50px */
    color: #FFFFFF;
    line-height: 0.4rem; /* 40px */
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 1rem; /* 100px */
    margin-bottom: 1.74rem; /* 174px */
}

/* 图标容器样式 */
.industrial-efficiency .play-icon-container {
    cursor: pointer;
    margin-bottom: 3.3rem; /* 330px */
    position: relative;
    z-index: 2;
}

/* 播放图标图片样式 */
.industrial-efficiency .play-icon {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    transition: transform 0.3s;
}

/* 悬停效果 */
.industrial-efficiency .play-icon:hover {
    transform: scale(1.05);
}

/* 服务模块 */
.our-service {
    max-width: 12rem;
    margin: 0 auto;
    margin-bottom: 0.8rem; /* 80px */
    overflow: hidden;
}
.our-service .container {
    display: flex;
    gap: 0.4rem; /* 40px */
}
.our-service .section-left {
    flex: 1;
}
.our-service .section-right {
    flex: 1;
}
.our-service .section-header h2 {
    background: #FFFFFF;
    border-radius: 0;
    color: #1A1A1A;
    margin-bottom: 0.5rem; /* 50px */
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.4rem; /* 40px */
    color: #1A1A1A;
    line-height: 0.4rem; /* 40px */
}
.our-service .service-description {
    width: 3.86rem; /* 386px */
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 0.14rem; /* 12px */
    color: #7C819E;
    line-height: 0.3rem; /* 18px */
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.5rem; /* 50px */
}
.our-service .view-all {
    display: inline-block;
    width: 1.08rem; /* 108px */
    height: 0.4rem; /* 40px */
    border-radius: 0.23rem; /* 23px */
    border: 0.01rem solid #D5D5D5; /* 1px */
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 0.14rem; /* 14px */
    color: #7C819E;
    text-align: center;
    font-style: normal;
    text-transform: none;
    line-height: 0.4rem; /* 40px */
    text-decoration: none;
    transition: all 0.3s;
}
.our-service .view-all:hover {
    color: #E60012;
    border: 0.02rem solid #E60012; /* 2px */
}
.our-service .image-grid {
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* 20px */
}
/* 图片容器样式 */
.our-service .image-wrapper {
    position: relative;
    display: inline-block;
}

/* 通用标题样式 */
.our-service .image-title {
    width: auto;
    height: 0.78rem; /* 78px */
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.3rem; /* 30px */
    color: #FFFFFF;
    line-height: 0.45rem; /* 45px */
    text-align: left;
    font-style: normal;
    text-transform: none;
    position: absolute;
    top: 0;
    left: 0;
    text-shadow: 0 0.02rem 0.04rem rgba(0,0,0,0.3); /* 0 2px 4px */
    padding: 0.3rem; /* 30px */
    box-sizing: border-box;
}

/* 图片网格布局 */
.our-service .image-grid {
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* 20px */
}
.our-service .top-images {
    display: flex;
    gap: 0.2rem; /* 20px */
}
.our-service .top-images img {
    width: 3.67rem; /* 367px */
    height: 2.8rem; /* 280px */
    object-fit: cover;
    background: #000000;
    border-radius: 0.4rem; /* 40px */
    opacity: 0.8;
}
.our-service .bottom-image img {
    width: 7.54rem; /* 754px */
    height: 3rem; /* 300px */
    object-fit: cover;
    background: #000000;
    border-radius: 0.4rem; /* 40px */
    opacity: 0.8;
}

/* 新闻中心模块 */
.news-center {
    max-width: 12rem;
    margin: 0 auto;
    margin-bottom: 0.8rem; /* 80px */
}
.news-center .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.22rem; /* 22px */
}
.news-center .section-header h2 {
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.4rem; /* 40px */
    color: #1A1A1A;
    line-height: 0.4rem; /* 40px */
    margin-bottom: 0;
}
.news-center .section-header .view-all {
    font-size: 0.14rem; /* 14px */
    color: #666;
    width: 1.08rem; /* 108px */
    height: 0.4rem; /* 40px */
    transition: color 0.3s;
    border-radius: 0.23rem; /* 23px */
    border: 0.01rem solid #D5D5D5; /* 1px */
    text-align: center;
    line-height: 0.4rem; /* 40px */
}
.news-center .section-header .view-all:hover {
    color: #E60012;
    border: 0.02rem solid #E60012; /* 2px */
}

/* 新闻项样式 */
.news-center .news-list{
    display: flex;
    flex-wrap: nowrap;
    margin-top: 40px;
    gap: 21px;
    overflow: hidden;
}
.news-center .news-list .news-item{
    width: 3.86rem; /* 386px */
    height: 5.41rem; /* 541px */
    background: #FFFFFF;
    box-shadow: 0 0.3rem 0.6rem 0.01rem rgba(0,0,0,0.16); /* 0px 30px 60px 1px */
    border-radius: 0;
    margin: 0;
    padding: 0.2rem; /* 20px */
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* 日期样式 */
.news-center .news-list .news-item .news-date {
    width: 0.8rem; /* 80px */
    height: 0.14rem; /* 14px */
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 0.12rem; /* 12px */
    color: #7C819E;
    line-height: 0.27rem; /* 27px */
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 标题样式 */
.news-center .news-list .news-item .news-title{
    width: 3.47rem; /* 347px */
    height: auto;
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 0.18rem; /* 18px */
    color: #1A1A1A;
    line-height: 0.27rem; /* 27px */
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 0.16rem; /* 16px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* 视频封面图样式 */
.news-center .news-list .news-item .news-img{
    width: 3.46rem; /* 346px */
    height: 2.96rem; /* 296px */
    border-radius: 0;
    position: relative;
    margin-top: 0.2rem; /* 20px */
}
.news-center .news-list .news-item .news-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-center .news-list .news-item .news-img .news-img-icon{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    display: none;
}
.news-center .news-list .news-item .news-img .news-img-icon img{
    width: 0.45rem; /* 45px */
    height: 0.45rem; /* 45px */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 简述样式 */
.news-center .news-list .news-item .news-desc{
    width: 3.46rem; /* 346px */
    height: 0.5rem; /* 50px */
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 0.12rem; /* 12px */
    color: #666666;
    line-height: 0.18rem; /* 18px */
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 0.2rem; /* 20px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 分隔线样式 */
.news-center .news-list .news-item .news-divider {
    width: 3.46rem; /* 346px */
    height: 0.01rem; /* 1px */
    background: #CECECE;
    border-radius: 0;
    margin-top: 0.2rem; /* 20px */
}

.news-center .news-list .news-item .news-footer {
    display: flex;
    align-items: center; /* 保持垂直居中 */
    margin-top: 0.2rem; /* 20px */
}

/* View all 按钮样式 */
.news-center .news-list .news-item .news-footer .view-all {
    width: 0.48rem; /* 48px */
    height: 0.16rem; /* 16px */
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 0.14rem; /* 14px */
    color: #7C819E;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

/* 右侧装饰图形 */
.news-center .news-list .news-item .news-footer .decorative-shape {
    width: 0.38rem; /* 38px */
    height: 0.16rem; /* 16px */
    object-fit: contain; 
    margin-left: auto; /* 关键：自动填充左侧空间，将图形推到右侧 */
}

/* 悬停效果 */
.news-center .news-list .news-item:hover .news-img .news-img-icon{
    display: block;
}
.news-center .news-list .news-item:hover .news-footer .view-all {
    color: #E60012;
}

/* 1440px及以上屏幕样式固定，max-width为1200px */
@media (min-width: 1440px and max-width: 1920px) {
    html {
        /* 固定基准字体大小为100px，与1440px时一致 */
        font-size: 100px;
    }
    
    /* 容器最大宽度固定为12rem（1200px），居中显示 */
    .hot-products,
    .our-service,
    .news-center,
    .about-company-intro,
    .hot-products .container,
    .our-service .container,
    .news-center .container {
        max-width: 12rem; /* 1200px */
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    
}
