.hero-title{
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translateY(-50%);
    margin: 0;
    white-space: nowrap;
    font-size: 64px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-text-image-title-icon{

    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    transform: translate(-11%, -17%) scale(0.8);
}
.tab-container {
    position: relative;
    max-width: 100vw;
    margin: 0 auto 0 auto;
    padding: 1.66rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    position: relative;
}

.tab {
    padding: 0.9375rem 1.875rem;
    cursor: pointer;
    position: relative;
    font-size: 1.125rem;
    color: #333;
    transition: all 0.3s;
}

.tab.active {
    color: #E60012;
    font-weight: bold;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0.1875rem;
    background-color: #E60012;
    transition: width 0.3s;
}

.tab.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 2.5rem 0;
}

.tab-content.active {
    display: block;
}

/* 生产环境样式 */
.production-environment {
    padding: 5rem 0;
}

.environment-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    width: 100%;
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}



.environment-text {
    flex: 1;
    text-align: center;
}

.environment-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.environment-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 0;
    right: 0;
    height: 0.1875rem;
    background-color: #E60012;
}

.environment-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.25rem;
}

.environment-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: center;
}
.feature-item-text{
    font-size: 1rem;
    /* line-height: 1.8; */
    color: #555;
    /* margin-bottom: 1.875rem; */
}

.environment-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* max-width: 100rem; */
    margin-top: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    width: 30rem;

}

.environment-images img {
    /* flex: 1;*/
    width: 50%;
    height: auto;
    /* border-radius: 0.66rem; */
    /* box-shadow: 0 0.16rem 0.33rem rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
}

.environment-dec-img{

    width: 20%;
    height: 20%;
    position: relative;
    top: -1.25rem;
    left: 13.5rem;

}
.environment-image-4{
    width: 4rem;
    height: 5.5rem;
}

.environment-images img:nth-child(2) {
    flex-grow: 1.5;
    width: 100%;
    height: auto;
    /* border-radius: 0.66rem; */
    /* box-shadow: 0 0.16rem 0.33rem rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
}


.environment-images img:hover {
    transform: scale(1.02);
}

/*
 * =============================================================
 *            生产设备 (Production Equipment) 样式
 *                 -- 严格按照设计稿重写 --
 * =============================================================
 */

/* 整体容器 section */
.production-equipment {
    padding: 3.75rem 0;
    /* 上下留出边距 */
}

/* 内容主容器 */
.equipment-content {
    max-width: 73rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 上半部分: 左文右图 Grid 布局 */
.equipment-grid {
    display: grid;
    grid-template-columns: 32% 68%;
    align-items: stretch;
    margin-bottom: 1.875rem;
}

/* 左侧文本块 */
.equipment-text {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.equipment-title-dec {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.equipment-title-dec::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #E60012;
}
.equipment-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* 标题、副标题、描述的样式继承您已有的 .environment-xxx 即可，这里我们只调整列表 */

/* 项目特点列表容器 */
.equipment-features {
    margin-top: 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 单个项目 */
.feature-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* 项目前面的 © 图标 */
.feature-item span:first-child {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: #888;
    border: 0.0625rem solid #aaa;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* 右侧主图容器 */
.equipment-image {

    object-fit: cover;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    /* 填满容器，保持比例，裁剪多余部分 */
}

/* 下半部分: 图片画廊 - 左宽右窄精准布局 */
.equipment-images {
    display: grid;
    grid-template-columns: 4fr 1.5fr 1.5fr;
    background-color: #DCE7EC;
    gap: 0.9375rem;
    align-items: stretch;
    padding: 1rem;
    box-sizing: border-box;
}

/* 统一图片样式 */
.equipment-images img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    background-color: #DCE7EC;
}

/* 鼠标悬停效果 */
.equipment-images img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
    z-index: 10;
    position: relative;
}

/* 响应式设计: 当屏幕宽度小于 992px */
@media (max-width: 992px) {
    .equipment-grid {
        grid-template-columns: 40% 60% !important;
        align-items: center;
    }
}

/* 响应式设计: 当屏幕宽度小于 768px */
@media (max-width: 768px) {
    .equipment-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机横屏适配 (568px - 915px) */
@media (max-width: 915px) and (min-aspect-ratio: 1/1) {

    /* Tabs区域优化 */
    .tabs {
        gap: 1.25rem;
        margin: 1.5625rem 0;
    }

    .tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }


    /* 生产环境优化 */
    .production-environment {
        padding: 3rem 0;
    }

    .environment-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 0.9375rem;
    }

    .environment-text {
        text-align: center;
    }

    .environment-title {
        font-size: 1.625rem;
        margin-bottom: 0.9375rem;
    }

    .environment-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 0.9375rem;
    }

    .environment-desc {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        text-align: left;
    }

    .environment-images {
        width: 50%;
        max-width: 100%;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    /* 生产设备优化 */
    .production-equipment {
        padding: 2.5rem 0;
    }

    .equipment-content {
        padding: 0 0.9375rem;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        margin-bottom: 1.25rem;
    }

    .equipment-text {
        padding: 1.875rem 1.5625rem;
    }

    .equipment-features {
        gap: 0.9375rem;
    }

    .feature-item {
        font-size: 0.875rem;
    }

    .equipment-images {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.5rem;
        gap: 0.625rem;
    }

    /* 检测设备优化 */
    .inspection-wrapper {
        padding: 0 0.9375rem;
    }

    .equipment-container {
        flex-direction: column;
        gap: 1.25rem;
        transform: scale(1);
    }

    .equipment-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9375rem;
    }

    .equipment-grid {
        align-items: stretch;
    }

    .equipment-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* 文字区垂直居中 */
        padding: 2rem;
        /* 横屏时缩小内边距 */
    }

}

/* 手机横屏小尺寸适配 (568px - 767px) */
@media (max-width: 767px) and (min-aspect-ratio: 1/1) {

    /* Tabs更紧凑 */
    .tabs {
        gap: 0.75rem;
        margin: 1.25rem 0;
    }

    .tab {
        padding: 0.625rem 0.9375rem;
        font-size: 0.875rem;
    }

    /* 标题更小 */
    .environment-title {
        font-size: 1.375rem;
    }

    .environment-subtitle {
        font-size: 0.875rem;
    }

    /* 生产设备图片单列 */
    .equipment-images {
        grid-template-columns: 1fr;
    }

    /* 检测设备 */
    .equipment-gallery {
        gap: 0.625rem;
    }
}

/* 平板适配 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .tab {
        padding: 0.8125rem 1.5625rem;
        font-size: 1rem;
    }

    .environment-title {
        font-size: 1.75rem;
    }

    .environment-subtitle {
        font-size: 1rem;
    }

    .environment-desc,
    .environment-desc-bottom {
        font-size: 0.8rem;
    }

    .equipment-title-dec {
        font-size: 2.5rem;
    }

    .equipment-desc {
        font-size: 0.9rem;
    }

    .equipment-text2 h2 {
        font-size: 2.5rem;
    }

    .equipment-text2 p {
        font-size: 1rem;
    }

    .equipment-container {
        transform: scale(0.7);
        margin: -8rem 0;
    }

    .equipment-text2 {
        height: 45rem;
        width: 18rem;
    }

    .carousel-wrapper {
        height: 45rem;
    }

    .process-title {
        font-size: 1.75rem;
    }

    .process-text {
        font-size: 14px;
    }
}

/* 手机竖屏适配 (max-width: 767px) */
@media (max-width: 767px) {
    .tabs {
        gap: 0.5rem;
        margin: 1.25rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab {
        padding: 0.625rem 0.9375rem;
        font-size: 0.875rem;
    }

    .environment-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .environment-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .environment-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .environment-desc {
        font-size: 0.8rem;
    }

    .environment-images {
        width: 100%;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        margin-bottom: 1.25rem;
    }

    .equipment-text {
        padding: 1.5rem 1rem;
    }

    .equipment-title-dec {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .equipment-desc {
        font-size: 0.9rem;
    }

    .equipment-features {
        gap: 0.75rem;
    }

    .feature-item {
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .feature-item span:first-child {
        width: 1.125rem;
        height: 1.125rem;
        font-size: 0.75rem;
    }

    .equipment-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .inspection-wrapper {
        padding: 0 1rem;
    }

    .equipment-container {
        flex-direction: column;
        gap: 1.5rem;
        transform: scale(1);
        margin: 0;
    }

    .equipment-gallery {
        position: relative;
        height: 100%;
    }

    .process-title {
        font-size: 1.5rem;
    }

    .process-text {
        font-size: 12px;
    }
}

/* 大屏幕优化 (min-width: 1440px) */
@media (min-width: 1440px) {
    .tab-container {
        padding: 2rem;
    }

    .tab {
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }

    .environment-title {
        font-size: 2.25rem;
    }

    .environment-subtitle {
        font-size: 1.25rem;
    }

    .environment-desc,
    .environment-desc-bottom {
        font-size: 0.8rem;
    }

    .equipment-title-dec {
        font-size: 3.5rem;
    }

    .equipment-desc {
        font-size: 0.9rem;
    }

    .equipment-text2 h2 {
        font-size: 3.5rem;
    }

    .equipment-text2 p {
        font-size: 1.25rem;
    }

    .process-title {
        font-size: 2.25rem;
    }

    .process-text {
        font-size: 18px;
    }
}

/* 外部居中容器 */
.inspection-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* 外层容器：左文字 + 右图片 */
.equipment-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transform: scale(0.6);
    transform-origin: center center;
    max-width: 90rem;
    width: 100%;
    margin: -10rem 0;
}

/* 左边文字部分 */
.equipment-text {
    flex: 1;
    max-width: 25rem;
    background-color: #DDE8EC;
}
.equipment-text2 {
    flex: 0 0 auto;
    width: 20rem;
    height: 39rem;
    display: flex;
    flex-direction: column;
}

.equipment-text2 h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.equipment-text2 img:not(.equipment-bottom-img img) {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}



.equipment-text2 p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.equipment-bottom-img {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: auto;
}

.equipment-bottom-img img {
    max-width: 100%;
    height: auto;
    display: block;
}


.carousel-wrapper {
    position: relative;
    overflow: hidden;
    height: 50rem;
    flex: 1;
    min-width: 0;
}


/* 右边图片部分 */
.equipment-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.equip-item {
    position: relative;
    overflow: hidden;
}

.equip-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
}

.production-process {
    position: relative;
    max-width: 1200px;
    /* 根据设计稿图宽调整 */
    margin: 0 auto;
}

.process-title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.process-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.process-subtitle-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}


.process-bg {
    position: relative;
    width: 100%;
    background-color: #DDE8ED;
}

.process-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    clip-path: inset(2% 0 0 2%);
}


/* 统一文字样式 */
.process-text {
    position: absolute;
    font-size: 16px;
    color: #333;
    font-family: 'Microsoft YaHei', sans-serif;
    white-space: nowrap;
}

/* 位置调整 - 按图的坐标百分比来调 */
.step1 {
    top: 17%;
    left: 14%;
}

.step2 {
    top: 17%;
    left: 46%;
}

.step3 {
    top: 17%;
    right: 12%;
}

.step4 {
    top: 49%;
    right: 12%;
}

.step5 {
    top: 49%;
    left: 46%;
}

.step6 {
    top: 49%;
    left: 15%;
}

.step7 {
    bottom: 15%;
    left: 15%;
}

.step8 {
    bottom: 15%;
    left: 46%;
}

.step9 {
    bottom: 15%;
    right: 13%;
}




/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

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