.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 142px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner .swiper-custom-prev,
.banner .swiper-custom-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    opacity: 0;
}

.banner .swiper-custom-prev {
    left: 0.625rem;
}

.banner .swiper-custom-next {
    right: 0.625rem;
}

.banner .swiper-custom-prev:hover,
.banner .swiper-custom-next:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.banner:hover .swiper-custom-prev,
.banner:hover .swiper-custom-next {
    opacity: 1;
}

.banner:hover .swiper-custom-prev {
    opacity: 1;
    left: 1.875rem;
}

.banner:hover .swiper-custom-next {
    opacity: 1;
    right: 1.875rem;
}

.banner .swiper-pagination {
    position: absolute;
    bottom: 1.375rem !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex;
    gap: 0.875rem;
    z-index: 10;
    width: auto !important;
}

.banner .swiper-pagination-bullet {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner .swiper-pagination-bullet-active {
    background: var(--color-primary);
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(12, 81, 172, 0.7);
}

.banner .swiper-pagination-bullet:hover {
    background: rgba(12, 81, 172, 0.6);
}

.banner .swiper-no-swiping .swiper-custom-prev,
.banner .swiper-no-swiping .swiper-custom-next,
.banner .swiper-no-swiping .swiper-pagination {
    display: none;
}

.index_title {
    position: relative;
}

.index_title p {
    position: relative;
    font-size: 36px;
    color: #333;
    padding-bottom: 10px;
}

.index_title p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--color-accent);
}

/* 首页产品 */
.index_pro {
    padding: 100px 0;
}

.index_pro .index_title p {
    text-align: center;
}

.index_pro .index_title p::after {
    left: 50%;
    transform: translateX(-50%);
}

.index_pro .p_box {
    margin-top: 50px;
}

.index_pro .p_box .top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.index_pro .p_box .top .fr {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.index_pro .p_box .bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 35px;
}

.index_pro .p_box .p_nav {
    display: flex;
    background: #ccc;
}

.index_pro .p_box .fl .p_nav {
    padding: 60px 50px;
    height: 100%;
}

.index_pro .p_box .fr .p_nav,
.index_pro .p_box .bottom .p_nav {
    padding: 40px 50px;
    flex: 1;
}

.index_pro .p_box .p_nav .p_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
}

.index_pro .p_box .p_nav .p_text h3 {
    color: #333;
    font-size: 32px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index_pro .p_box .p_nav .p_text a {
    display: block;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    width: fit-content;
    transition: all .3s ease;
}

.index_pro .p_box .p_nav .p_text a:hover {
    background: var(--color-accent);
    color: #fff;
}

.index_pro .p_box .p_nav .p_img {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 55%;
}

.index_pro .p_box .p_nav .p_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.0);
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .5s ease;
}

.index_pro .p_box .fr .p_nav .p_img,
.index_pro .p_box .bottom .p_nav .p_img {
    padding-bottom: 35%;
}

/* 首页关于我们 */
.index_ab {
    padding: 100px 0;
    background: url(../images/bgab.jpg) center center / cover no-repeat;
}

.index_ab .index_title p {
    color: #fff;
    text-align: center;
}

.index_ab .index_title p::after {
    left: 50%;
    transform: translateX(-50%);
}

.index_ab .ab_box {
    width: 80%;
    margin: 70px auto 0 auto;
}

.index_ab .ab_box h3 {
    color: #fff;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
}

.index_ab .ab_box .ab_txt {
    margin: 30px 0 100px 0;
}

.index_ab .ab_box .ab_txt p {
    line-height: 2;
    color: #fff;
    font-size: 20px;
}

.index_ab .ab_box .ab_video {
    text-align: center;
    position: relative;
}

.index_ab .ab_box .ab_video::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.75);
    transform: translate(-50%, -50%);
    animation: ring 2.4s infinite ease-out;
    pointer-events: none;
}

@keyframes ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.index_ab .ab_box .ab_video img {
    cursor: pointer;
    width: 130px;
    height: 130px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
    animation: breathe 2.4s infinite ease-in-out;
    transition: all 0.35s ease;
}

@keyframes breathe {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 24px rgba(255, 255, 255, 1));
    }
}

.index_ab .ab_box .ab_video img:hover {
    animation: none;
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1));
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 弹窗打开时，添加过渡动画，实现淡入 */
.video-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-inner {
    width: 70%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #ff4444;
    transform: scale(1.15);
}

.modal-video {
    width: 100%;
    display: block;
}

/* 厂容厂貌 */
.index_fac {
    padding: 150px 0;
}

.index_fac .fac_box {
    display: flex;
    justify-content: space-between;
}

.index_fac .fac_box .fl {
    width: 25%;
}

.index_fac .fac_box .fl .fac_text {
    margin-top: 50px;
}

.index_fac .fac_box .fl .fac_text p {
    line-height: 2;
    color: #333;
    font-size: 18px;
    margin-bottom: 50px;
    text-align: justify;
}

.index_fac .fac_box .fl .fac_text a {
    display: block;
    color: #fff;
    border: 1px solid var(--color-accent);
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    width: fit-content;
    background: var(--color-accent);
    transition: all .3s ease;
}

.index_fac .fac_box .fl .fac_text a:hover {
    background: #fff;
    color: var(--color-accent);
}

.index_fac .fac_box .fr {
    width: 70%;
}

.index_fac .fac_box .fr .facSwiper {
    height: 100%;
}

.index_fac .fac_box .fr .fac_img {
    height: 100%;
}

.index_fac .fac_box .fr .fac_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 首页新闻中心 */
.index_news {
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
    background: url(../images/bgnews.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
}

.index_news .index_title p {
    text-align: center;
}

.index_news .index_title p::after {
    left: 50%;
    transform: translateX(-50%);
}

.index_news .inlist {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.index_news .inlist .initem {
    border: 1px solid #eee;
    background: #fff;
    width: 49.5%;
    margin-right: 1%;
    margin-bottom: 20px;
}

.index_news .inlist .initem:nth-child(2n) {
    margin-right: 0;
}

.index_news .inlist .initem a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 17px 0;
}

.index_news .inlist .initem .indata {
    width: 100px;
    text-align: center;
    color: #999999;
    border-right: 1px solid #eee;
    padding: 5px;
}

.index_news .inlist .initem .indata span {
    display: block;
    font-size: 38px;
    color: #666;
    line-height: 1;
    margin-bottom: 7px;
}

.index_news .inlist .initem .intext {
    width: calc(100% - 120px);
    padding-right: 20px;
}

.index_news .inlist .initem .intext h3 {
    display: block;
    font-size: 18px;
    color: #333333;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index_news .inlist .initem .intext .intxt {
    display: block;
    color: #999999;
    margin: 5px 0 0;
    height: 50px;
    line-height: 25px;
    overflow: hidden;
    font-size: 14px;
    margin-top: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index_news .aboutbtn {
    text-align: center;
}

.index_news .abmore {
    background: var(--color-primary);
    color: #fff;
    line-height: 1;
    box-shadow: 0 5px 20px rgba(41, 94, 204, .2);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.index_news .abmore span {
    letter-spacing: 1px;
    padding: 0 48px 0 28px;
}

.index_news .abmore img {
    border-left: 1px solid rgb(255 255 255 / 0.18);
    padding: 14px 14px;
    background: #333;
}

/* 内页 */
.innerban {
    position: relative;
    height: 400px;
    background-position: center center;
    background-size: cover;
    margin-top: 142px;
}

.innerban::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    opacity: .7;
}

.innerban .container {
    height: 100%;
}

.innerban .innertop {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.innerban .innertop h3 {
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.innerban .innertop p {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
}

.main {
    background: #fff;
    padding: 60px 0;
}

.position {
    width: 100%;
    background: #F7F7F7;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
}

.position span {
    background: url(../images/position.png) left center;
    display: flex;
    float: left;
    background-repeat: no-repeat;
    padding-left: 100px;
    color: #999;
    font-size: 15px;
    gap: 5px;
}

.position span a {
    color: #999;
}

.position span a:hover {
    color: var(--color-primary);
}

.mainbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.mainbox .fl {
    width: 20%;
}

.mainbox .fl .bntop {
    background: var(--color-primary);
    padding: 30px 0;
    text-align: center;
}

.mainbox .fl .bntop h3 {
    color: #fff;
    font-size: 28px;
}

.mainbox .fl .bntop p {
    margin-top: 10px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

.mainbox .fl .bntop .menu-toggle {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.mainbox .fl .bntop .menu-toggle::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 6px;
    width: 12px;
    height: 2px;
    background: #fff;
    transform: rotate(0);
    transition: transform 0.3s;
}

.mainbox .fl .bntop .menu-toggle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 6px;
    width: 12px;
    height: 2px;
    background: #fff;
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.mainbox .fl .bntop.show .menu-toggle::before {
    transform: rotate(-45deg);
}

.mainbox .fl .bntop.show .menu-toggle::after {
    transform: rotate(45deg);
}

.mainbox .fl .bnbox {
    width: 100%;
}

.mainbox .fl .bnbox a {
    display: block;
    height: 50px;
    text-align: center;
    color: #fff;
    background: #0077cc;
    transition: all 0.3s ease 0s;
    width: 100%;
    line-height: 50px;
    margin-bottom: 1px;
    font-size: 16px;
}

.mainbox .fl .bnbox a:last-child {
    margin-bottom: 0;
}

.mainbox .fl .bnbox a:hover,
.mainbox .fl .bnbox a.on {
    background: #ff9900;
}

.mainbox .fr {
    width: 77%;
    background: #fff;
}

.mainbox .fr .bptop h3 {
    color: #333;
    font-weight: bold;
    font-size: 24px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.mainbox .fr .bpcon {
    line-height: 35px;
    font-size: 18px;
}

.mainbox .fr .bpcon p {
    margin-bottom: 1rem;
}

.mainbox .fr .bpcon p:last-child {
    margin-bottom: 0;
}

.mainbox .fr .bpcon img,
.mainbox .fr .bpcon p img {
    max-width: 100%;
}

.imglist {
    display: flex;
    flex-wrap: wrap;
}

.imglist .imgitem {
    display: block;
    width: 32%;
    margin-right: 2%;
    margin-bottom: 20px;
    border: 1px solid #f1f1f1;
}

.imglist .imgitem:nth-child(3n) {
    margin-right: 0;
}

.imglist .imgitem .imgimg {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 70%;
}

.imglist .imgitem .imgimg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.0);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
}

.imglist .imgitem .imgimg span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/product_bg.png) center center no-repeat;
    top: 0;
    text-align: center;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.imglist .imgitem .imgtxt {
    text-align: center;
    padding: 15px 10px;
    color: #333;
    font-size: 18px;
}

.producttop {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.producttop h3 {
    color: #333;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
}

.producttop .borrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.productcon {
    line-height: 35px;
    color: #333;
    font-size: 18px;
}

.productcon p {
    margin-bottom: 1rem;
}

.productcon img,
.productcon p img {
    max-width: 100%;
}

.newslist .newsitem {
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
    margin-bottom: 10px;
    position: relative;
}

.newslist .newsitem .newstitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.newslist .newsitem .newstitle h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #333;
    font-size: 18px;
    max-width: 80%;
}

.newslist .newsitem .newstitle .newsdata {
    color: #999;
    font-size: 15px;
}

.newslist .newsitem .newscon {
    color: #666;
    font-size: 15px;
    line-height: 25px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.newslist .newsitem:hover .newstitle h3,
.newslist .newsitem:hover .newstitle .newsdata {
    color: var(--color-primary);
}

/* 分页 */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 30px 0;
    justify-content: center;
    align-items: center;
}

.pagination a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    border: 1px solid #e5e7eb;
    color: #444;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
}

.pagination a.page-num-current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination a:hover {
    border-color: var(--color-primary);
}

.pagination a.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.nodata {
    font-size: 20px;
    text-align: center;
}

.nyprolist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nyprolist .nyproitem {
    min-width: 0;
}

.nyprolist .nyproitem .nyprotop {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-bottom: 0;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.nyprolist .nyproitem:hover .nyprotop {
    border: 1px solid var(--color-primary);
    border-bottom: 0;
}

.nyprolist .nyproitem .nypropadimg {
    padding: 20px;
}

.nyprolist .nyproitem .nyproimg {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 75%;
}

.nyprolist .nyproitem .nyproimg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.0);
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.nyprolist .nyproitem:hover .nyproimg img {
    transform: translate(-50%, -50%) scale(1.1);
}

.nyprolist .nyproitem .nyprotext {
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    max-width: 100%;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.nyprolist .nyproitem .nyprotext::before {
    content: '';
    display: block;
    width: calc(100% - 40px);
    height: 1px;
    background-color: #e6e6e6;
    position: absolute;
    top: 0;
}

.nyprolist .nyproitem:hover .nyprotext {
    color: var(--color-primary);
}

.nyprolist .nyproitem .nyprompre {
    background-color: #626262;
    height: 58px;
    line-height: 58px;
    color: #fff;
    font-size: 16px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.nyprolist .nyproitem .nyprompre img {
    display: inline-block;
    width: 25px;
    height: 25px;
    overflow: hidden;
    vertical-align: middle;
    margin: -4px 0 0 15px;
}

.nyprolist .nyproitem:hover .nyprompre {
    background-color: var(--color-primary);
}