/* @charset "utf-8"; */

/* 开模能力 */
.abilityBox {
    padding: 0.8rem 0.3rem;
}

.ablityTxt p {
    margin-top: 0.2rem;
}

.ablityCon {
    margin-top: 0.8rem;
}

.ablityCon ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ablityCon ul li {
    width: 42%;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.ablityCon ul li img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.ablityCon ul li p {
    position: absolute;
    width: calc(100% - 60px);
    /* 宽度减去左右margin */
    height: auto;
    line-height: 0.5rem;
    padding: 0.15rem 0.6rem;
    background: rgba(0, 0, 0, 0.4);
    bottom: 0rem;
    left: 0;
    color: #fff;
    transition: all 0.3s ease;
}


/* 鼠标悬停效果 */
.ablityCon ul li:hover img {
    transform: scale(1.1);
    /* 图片放大1.1倍 */
}

.ablityCon ul li:hover p {
    background: #B40919;
    /* 背景色变为红色 */
    color: #fff;
    /* 文字保持白色 */
    margin: 30px;
    /* 确保margin为30像素 */
}



/* 生产能力 */
.capacityBox {
    padding: 0.8rem 0.3rem;
    background: url(../images/prodBgPic.png) no-repeat center center;
    background-size: cover;
}

.produce {
    background: url(../images/prdBack.png) no-repeat center center;
    background-size: cover;
    width: 6rem;
    margin: auto;
    text-align: center;
    height: 0.8rem;
    line-height: 0.8rem;
    border-radius: 0.1rem;
}

.produce h2 {
    color: #fff;
}

.produceCon {
    margin-top: 0.8rem;
}

.produceCon ul {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.produceCon ul li {
    width: 20%;
    cursor: pointer;
    text-align: center;
}

.produceCon ul li i {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    line-height: 0.7rem;
    margin: auto;
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 0rem 0.3rem rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.produceCon ul li i img {
    width: 0.6rem;
    transition: filter 0.3s ease;
}

.produceCon ul li p {
    margin-top: 0.2rem;
}


/* 添加active状态样式 */
.produceCon ul li.active {
    color: #B40919;
    font-weight: bold;
    position: relative;
}

/* 选中效果下方的竖线动画 */
.produceCon ul li.active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0.02rem;
    height: 0.6rem;
    background-color: #B40919;
    animation: lineGrow 0.3s ease-out forwards;
}

/* 竖线生长动画 */
@keyframes lineGrow {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        height: 0.6rem;
        opacity: 1;
    }
}


.produceConts {
    background: #fff;
    padding: 0.4rem;
    box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.05);
    margin-top: 0.8rem;
    border-radius: 0.1rem;
}

.produceContsItem {
    display: none;
}

.produceContsItem.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.produceContsItem>div {
    display: flex;
}

.produceContsItem>div img {
    width: 2.5rem;
    margin-right: 0.3rem;
}

/* 鼠标悬停效果 - i标签背景变红，图片变白 */
.produceCon ul li:hover i {
    background-color: #B40919;
}

.produceCon ul li:hover i img {
    filter: brightness(0) invert(1);
    /* 将图片变为白色 */
}

/* 优化hover时的交互体验 */
.produceCon ul li {
    transition: all 0.3s ease;
}

.produceCon ul li:hover {
    transform: translateY(-2px);
    /* 轻微上浮效果 */
}

/* 制程能力 */
.processBox {
    background: url(../images/zcBg.png) no-repeat center center;
    background-size: cover;
    padding: 0.6rem 0.3rem;
}

.processCon {}

.processCon ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.processCon ul li {
    width: 22%;
    text-align: center;
    background: #fff;
    padding: 0.1rem 0.3rem;
    border-radius: 0.1rem;
    padding-bottom: 0.4rem;
}

.processCon ul li img {
    width: 1.2rem;
}

.processCon ul li p {
    width: 2.1rem;
    color: #555;
    margin: auto;
    margin-top: 0.3rem;
}

/* h3标题下方装饰小方块 */
.titleDecor {
    display: flex;
    justify-content: center;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
}

.titleDecor span {
    display: inline-block;
    width: 0.06rem;
    height: 0.06rem;
    background-color: #B40919;
    margin: 0 0.03rem;
    transition: all 0.3s ease;
}

.mainEquBox {
    background: #F7FAFE;
    padding: 0.8rem 0.3rem;
}

.pubBottomTitle h2 {
    position: relative;
    text-align: center;
    padding-bottom: 0.3rem;
}

.pubBottomTitle h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0rem;
    width: 0.6rem;
    height: 0.06rem;
    background: #B40919;
    transform: translate(-50%, -50%);
}

.equCon ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.equCon ul li {
    width: 30%;
    background: #fff;
    margin-right: 5%;
    margin-top: 0.4rem;
}

.equCon ul li:nth-child(3) {
    margin-right: 0rem;
}

.txtBot {
    padding: 0.2rem 0.3rem;
    display: flex;
    justify-content: space-between;
}

.txtBot b {
    color: #ECB875;
    font-weight: 500;
}

/* 设备展示区域样式 */
.fiveWrap {
    padding: 0rem 0.3rem;
}

.fiveWrap ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fiveWrap ul li {
    width: 20%;
    position: relative;
    overflow: hidden;
    height: 4.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fiveWrap ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 添加轻微的亮度降低效果，模拟黑色蒙版过渡 */
    filter: brightness(0.65);
}

.txtPost {
    position: absolute;
    bottom: 0.3rem;
    width: 100%;
    text-align: center;
}

.fiveWrap ul li .line {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    width: 0.02rem;
    height: 1rem;
    transform: translate(-50%, 30px);
    background-color: #fff;
    opacity: 1;
    transition: all 0.3s ease;
}

/* h2标题样式 */
.fiveWrap ul li h2 {
    font-family: "manrope-simpleBold";
    color: #fff;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.fiveWrap ul li .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(180, 9, 25, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20;
}

.fiveWrap ul li .maskCont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    line-height: 0.4rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 30;
    width: 80%;
}

.fiveWrap ul li:hover .line,
.fiveWrap ul li:hover h2 {
    opacity: 0;
    transform: translateY(-20px);
}

.fiveWrap ul li:hover .mask,
.fiveWrap ul li:hover .maskCont {
    opacity: 1;
}

.fiveWrap ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}


/* 检测能力 */
.testBox {
    padding: 0.8rem 0.3rem;
    padding-top: 0.2rem;
}

.testConItem {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.testConItem .itemL {
    width: 48%;
}

.testConItem .itemL ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.itemL ul li {
    width: 48%;
    position: relative;
    margin-bottom: 0.1rem;
}

.itemL ul li img {
    object-fit: cover;
}

.itemL ul li:nth-child(3) {
    margin-bottom: 0rem;
}

.itemL ul li:nth-child(4) {
    margin-bottom: 0rem;
}

.itemL ul li p {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    height: 0.5rem;
    width: 100%;
    line-height: 0.5rem;
    padding: 0.05rem 0.1rem;
    text-align: center;
    color: #fff;
    bottom: 0rem;
}



.testConItem .itemR {
    width: 48%;
}

.bdCont {
    background: linear-gradient(to top, rgba(242, 245, 251, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
}

.titleTst {
    display: flex;
    align-items: center;
    border-bottom: 0.05rem solid #B40919;
    padding-bottom: 0.15rem;
}

.titleTst img {
    width: 0.45rem;
    display: block;
    margin-right: 0.1rem;
}

.txtColum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: space-around;
    padding-top: 0.4rem;
}

.txtColum ul {
    width: 48%;
    padding: 0.4rem 0.5rem;
}

.txtColum ul li {
    padding: 0.1rem 0rem;
    /* 移除默认的列表样式 */
    list-style: none;
    /* 添加自定义的矩形方框样式 */
    position: relative;
    padding-left: 0.4rem;
}

.txtColum ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 自定义矩形方框样式 */
    width: 0.06rem;
    height: 0.06rem;
    rotate: 45deg;
    background-color: #ECB875;
    border: 0.01rem solid #ECB875;
}

.testConItem:nth-child(2) {
    flex-direction: row-reverse;
}

.testConItem:nth-child(2) .txtColum ul {
    padding: 0.4rem 0.2rem;
}

.testConItem:nth-child(2) .itemL ul li img {
    object-fit: cover;
    height: 3.2rem;
}










@media (max-width: 800px) {

    .ablityCon ul li {
        width: 100%;
    }


    /* 生产能力 */
    .produce {
        height: 1.2rem;
        line-height: 1.2rem;
    }

    .produceCon {
        margin-top: 0.5rem;
    }

    .produceCon ul {
        justify-content: flex-start;
        overflow-x: scroll;
        padding-top: 0.1rem;
    }

    .produceCon ul li {
        min-width: 2.2rem;
    }

    /* 制程能力 */
    .processCon ul {
        flex-direction: column;
    }

    .processCon ul li {
        width: 100%;
        margin-top: 0.2rem;
    }

    .processCon ul li p {
        width: 100%;
    }

    .equCon ul li {
        width: 100%;
        margin-right: 0rem;
    }

    .fiveWrap ul li {
        width: 100%;
        margin-top: 0.2rem;
        height: auto;
    }

    /* 检测能力 */
    .testConItem {
        flex-direction: column;
    }

    .testConItem .itemL {
        width: 100%;
    }

    .testConItem .itemR {
        width: 100%;
        margin-top: 0.3rem;
    }

    .txtColum {
        flex-direction: column;
    }

    .txtColum ul {
        width: 100%;
    }

    .testConItem:nth-child(2) {
        flex-direction: column;
    }

    .itemL ul li p {
        height: 0.8rem;
        line-height: 0.8rem;
    }





}