/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner样式 */
.banner {
    height: 300px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../picture/quality-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.banner-content {
    text-align: left;
    position: relative;
    padding-left: 80px;
}

.banner h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 500;
    text-transform: uppercase;
}

/* 内容区块公共样式 */
.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 50px 0 40px;
    text-transform: uppercase;
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 40px 0 20px;
}

/* 优势项样式 */
.advantage-item {
    margin-bottom: 80px;
}

.advantage-item:first-child .advantage-content {
    padding: 0;
    background-color: transparent;
}

.advantage-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: #f5f5f5;
    box-sizing: border-box;
    padding: 40px;
}


.advantage-image {
    flex: 0 0 auto;
    min-width: auto;
    position: relative;
}

.advantage-image img {
    width: 100%;
    height: auto;
    display: block;
}

.advantage-info {
    flex: 1;
    min-width: 300px;
    max-width: 790px;
    padding: 30px;
}

.advantage-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 50px;
}

.advantage-number {
    font-size: 80px;
    font-weight: bold;
    color: #2d2d2d;
    line-height: 1;
    position: relative;
    display: inline-block;
    z-index: 2;
    margin-right: 20px;
    flex-shrink: 0;
}

.advantage-number::after{
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #8ab4dc;
    z-index: -1;
    left: 15px;
    top: -82px;
    border-radius: 0;
}

.advantage-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    display: inline-block;
    max-width: calc(100% - 250px);
    align-self: flex-end;
    line-height: 1.6;
}

.advantage-desc p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 反向布局 */
.advantage-item.reverse .advantage-content {
    /* flex-direction: row-reverse; */
}

/* 全宽布局 */
.advantage-info.full-width {
    flex: 0 0 100%;
    text-align: center;
}

/* 生产流程样式 */
.production-process {
    margin: 80px 0 150px 0;
}

.process-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.process-item {
    flex: 0 0 calc(25% - 20px);
    margin-bottom: 30px;
    min-width: 200px;
    background-color: #fafafa;
}


.process-image img {
    width: 100%;
    height: auto;
    display: block;
}

.process-info {
    box-sizing: border-box;
    padding: 30px;
}

.process-number {
    font-size: 23px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.process-name {
    font-size: 22px;
    color: #333;
    text-transform: uppercase;
    font-weight: 400;
}

/* 质量控制系统样式 */
.quality-control {
    margin: 50px 0 80px;
}

.qc-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.qc-item {
    flex: 0 0 calc(33.33% - 50px);
    min-width: 250px;
    max-width: 500px;
    background-color: #fafafa;
}


.qc-image img {
    width: 100%;
    height: auto;
    display: block;
}

.qc-info {
    display: flex;
    box-sizing: border-box;
    padding: 45px 75px 45px 30px;
    align-items: flex-start;
    gap: 25px
    ;
}

.qc-number {
    font-size: 45px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.qc-name {
    font-size: 15px;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .advantage-number {
        font-size: 56px;
    }
    
    .advantage-title {
        font-size: 22px;
    }

    .advantage-swiper {
        width: 300px;
    }
    
    .advantage-swiper .swiper-slide {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .banner {
        height: 220px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantage-content {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }
    
    .advantage-item.reverse .advantage-content {
        flex-direction: column;
    }
    
    .advantage-image, .advantage-info {
        flex: 0 0 100%;
    }
    
    .advantage-info {
        padding: 20px 0;
    }
    
    .advantage-number {
        font-size: 48px;
    }
    
    .advantage-title {
        font-size: 20px;
        max-width: 100%;
    }
    
    .process-item {
        flex: 0 0 calc(33.33% - 20px);
    }
    
    .banner-content {
        padding-left: 50px;
    }

    .advantage-swiper {
        width: 100%;
        max-width: 100%;
    }
    
    .advantage-swiper .swiper-slide {
        width: 100%;
    }
    
    .advantage-image {
        width: 100%;
        padding-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .banner {
        height: 180px;
    }
    
    .banner h1 {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 24px;
        margin: 40px 0 30px;
    }
    
    .advantage-number {
        font-size: 42px;
    }
    
    .advantage-number::after {
        width: 120px;
        height: 120px;
        top: -65px;
    }
    
    .advantage-title {
        font-size: 18px;
    }
    
    .advantage-desc p {
        font-size: 15px;
    }
    
    .process-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .qc-item {
        flex: 0 0 calc(50% - 30px);
    }
    
    .qc-info {
        padding: 25px 20px;
    }
    
    .banner-content {
        padding-left: 30px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 150px;
    }
    
    .banner h1 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 22px;
        margin: 30px 0 25px;
    }
    
    .advantage-number {
        font-size: 36px;
    }
    
    .advantage-number::after {
        width: 100px;
        height: 100px;
        top: -55px;
        left: 10px;
    }
    
    .advantage-title {
        font-size: 16px;
    }
    
    .advantage-desc p {
        font-size: 14px;
    }
    
    .process-item, .qc-item {
        flex: 0 0 100%;
    }
    
    .banner-content {
        padding-left: 20px;
    }
    
    .advantage-header {
        gap: 20px;
    }
    
    .advantage-title {
        max-width: 100%;
        padding-left: 40px;
    }
    
    .qc-info {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .qc-number {
        font-size: 32px;
    }
    
    .qc-name {
        font-size: 14px;
    }
    .qc-items{
        gap: 0;
    }
}

/* 轮播图样式 */
.advantage-swiper {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
    width: 330px;
    max-height: 450px;
    position: relative;
    padding-bottom: 0;
}

.advantage-swiper .swiper-slide {
    width: 330px;
}

.advantage-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.advantage-swiper .swiper-pagination {
    bottom: -15px;
    text-align: center;
    z-index: 111;
    position: absolute;
    left: 0;
    width: 100%;
}

.advantage-swiper .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    border-radius: 0;
    margin: 0 3px;
}

.advantage-swiper .swiper-pagination-bullet-active {
    background: #8ab4dc;
    opacity: 1;
}

/* 反向布局时调整轮播图位置 */
.advantage-item.reverse .advantage-image.swiper-container {
    margin-left: auto;
}

/* 修改链接和脚本位置的样式 */
head link, head script {
    display: none;
}