/* 主容器 */
.main-container {
    width: 100%;
    margin: 0 auto;
}
/* 售后服务Banner（PC 端：620px 视频 + 居中标题，与加盟页同款） */
.service-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.service-banner img {
    width: 100%;
    display: block;
}
.service-banner .banner-video {
    width: 100%;
    display: block;
    object-fit: cover;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.banner-text h2 {
    font-size: 41px;
    margin-bottom: 8px;
}
.banner-text p {
    font-size: 24px;
}

/* 售后支持网格（PC 端：834px 高，一行 3 张，间距上下 0 左右自适应，悬浮加阴影） */
.service-support {
    width: 100%;
    height: 834px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.service-support-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;        /* 左右自适应间距 */
    row-gap: 0;              /* 上下间距 0 */
}
.service-support-item {
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-support-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    z-index: 2;                /* 让悬停项浮在下行之上，避免底部阴影被下一行图片挡住 */
}
.service-support-item img {
    width: 100%;
    display: block;
}

/* PC / 移动端 互斥展示 */
.pc-only    { display: block; }
.mobile-only { display: none; }

/* 第三块：手风琴 3 张图（PC 端：默认 365×460，hover/选中 649×460，间距 10px，初始第 3 张选中） */
.service-support1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #FAFAFA
}
.service-support1 h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 30px;
}
.accordion {
    display: flex;
    gap: 10px;
    height: 460px;
    align-items: center;
}
.accordion-item {
    position: relative;
    width: 365px;
    height: 460px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}
.accordion-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.6s ease;
}
/* 默认显示竖图 */
.accordion-item .img-hover { opacity: 0; }
/* 第 3 张默认显示横图 */
.accordion-item:nth-child(3) .img-default { opacity: 0; }
.accordion-item:nth-child(3) .img-hover   { opacity: 1; }
/* JS 控制的展开状态 */
.accordion-item.is-active {
    width: 649px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
}
.accordion-item.is-active .img-default { opacity: 0; }
.accordion-item.is-active .img-hover   { opacity: 1; }

@media (max-width: 768px) {
    .pc-only    { display: none; }
    .mobile-only { display: block; }

    .service-banner .banner-video {
        height: 300px !important;
    }
    .service-support {
        height: auto;
        padding: 20px 0;
    }
    .service-support-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 16px;
        padding: 0 15px;
    }
    .service-support-item:hover {
        transform: none;        /* 移动端无 hover 抬起 */
    }
    /* 手风琴：移动端改竖排，所有项统一 100% 宽，避免横向溢出 */
    .accordion {
        flex-direction: column;
        gap: 12px;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    .accordion-item,
    .accordion-item:nth-child(3),
    .accordion-item:hover,
    .accordion-item:hover ~ .accordion-item:nth-child(3) {
        width: 100% !important;
        height: auto;
        aspect-ratio: 365 / 460;
        box-shadow: none !important;
        z-index: auto !important;
    }
    /* 移动端：只显示默认竖图，不做悬停切换 */
    .accordion-item .img-default { opacity: 1 !important; }
    .accordion-item .img-hover,
    .accordion-item:nth-child(3) .img-hover,
    .accordion-item:hover .img-hover { opacity: 0 !important; }

    /* 移动端服务支持流程 */
    .service-support-mobile {
        height: 511px;
        background-color: #EFEFEF;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 0 20px 0;
    }
    .service-support-mobile-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 21px;
        padding-top: 21px;
    }
    .service-support-mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 11px;
        padding: 0 17px 21px 17px;
        width: 100%;
    }
    .service-support-mobile-img {
        width: 100%;
        display: block;
        border-radius: 4px;
    }

    /* 移动端售后保障区域 */
    .service-guarantee-mobile {
        height: 680px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 16px 30px 14px;
    }
    .service-guarantee-mobile-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 21px;
        padding-top: 21px;
    }
    .service-guarantee-mobile-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 8px 18px 14px;
        width: 100%;
    }
    .service-guarantee-mobile-item {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .service-guarantee-mobile-img {
        width: 346px;
        height: 185px;
        display: block;
        margin: 0 auto;
    }
    .service-guarantee-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 12px 12px 12px;
        z-index: 1;
    }
    .service-guarantee-main-title {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        line-height: 20px;
        margin-bottom: 12px;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
    .service-guarantee-sub-title {
        font-size: 12px;
        color: #fff;
        line-height: 20px;
        margin-bottom: 0;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

    /* 移动端员工风采区域 */
    .service-staff-mobile {
        height: 681px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px 30px 14px;
    }
    .service-staff-mobile-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 21px;
        padding-top: 21px;
    }
    .service-staff-mobile-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 8px 18px 14px;
        width: 100%;
    }
    .service-staff-mobile-item {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .service-staff-mobile-img {
        width: 346px;
        height: 185px;
        display: block;
        margin: 0 auto;
    }
    .service-staff-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 12px 12px 12px;
        z-index: 1;
    }
    .service-staff-main-title {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        line-height: 20px;
        margin-bottom: 12px;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
    .service-staff-sub-title {
        font-size: 12px;
        color: #fff;
        line-height: 20px;
        margin-bottom: 0;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
}

/* 通用模块标题 */
.module-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 20px 0;
    color: #333;
    border-bottom: 1px solid #eee;
    margin: 0 15px;
}
/* 服务支持流程 */
.service-process {
    padding: 15px;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}
.process-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}
.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}
.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.process-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}
.process-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
/* 售后保障模块 */
.after-sales {
    padding: 0 15px 20px;
}
.after-sales-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0 15px;
    color: #333;
}
.after-sales-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.after-sales-item {
    border-radius: 8px;
    overflow: hidden;
}
.after-sales-item img {
    width: 100%;
    display: block;
}
.after-sales-item p {
    padding: 10px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
/* 底部导航（组件前过渡） */
.footer-nav {
    margin: 20px 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.footer-nav-item {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
}
.footer-nav-item:last-child {
    border-bottom: none;
}
.footer-nav-text {
    font-size: 14px;
    color: #333;
}
.footer-nav-icon {
    font-size: 12px;
    color: #999;
}
/* 联系方式 */
.contact-info {
    padding: 20px 15px;
    background-color: #000;
    color: #fff;
    text-align: center;
}
.contact-phone {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.contact-tel {
    font-size: 16px;
    margin-bottom: 15px;
}
.contact-qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.contact-qrcode img {
    width: 80px;
    height: 80px;
}
.contact-qrcode-text {
    font-size: 12px;
    color: #999;
}
.contact-address {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
/* 占位图样式 */
.placeholder-img {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}