/* ============ FAQ 常见问题页 ============ */

/* Banner */
.faq_banner{
    position: relative;
    height: 4rem;
    background: linear-gradient(135deg, #0F4988 0%, #1a6bb8 100%);
    overflow: hidden;
}
.faq_banner::before{
    content: '';
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.faq_banner::after{
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: -0.5rem;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}
.faq_banner_c{
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 1.5rem;
    color: #fff;
}
.faq_banner_tit{
    font-family: Source Han Sans SC, Source Han Sans SC;
    font-weight: bold;
    font-size: 0.56rem;
    color: #fff;
    line-height: 1;
}
.faq_banner_sub{
    font-family: Poppins, Arial;
    font-weight: 400;
    font-size: 0.22rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.12rem;
    letter-spacing: 0.02rem;
}
.faq_banner_desc{
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.18rem;
}

/* 搜索框 */
.faq_search{
    display: flex;
    align-items: center;
    width: 6rem;
    max-width: 80%;
    height: 0.6rem;
    margin: 0.36rem auto 0;
    background: #fff;
    border-radius: 0.3rem;
    padding: 0 0.1rem 0 0.3rem;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.12);
}
.faq_search_input{
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.18rem;
    color: #333;
}
.faq_search_input::placeholder{
    color: #999;
}
.faq_search_btn{
    flex: 0 0 0.6rem;
    height: 0.6rem;
    border: 0;
    background: #E11D0B;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.faq_search_btn:hover{
    background: #c0180a;
}
.faq_search_btn img{
    width: 0.22rem;
    height: 0.22rem;
}

/* 面包屑 */
.faq_crumb{
    background: #f8f8f8;
    border-bottom: 0.01rem solid #eee;
}
.faq_crumb .max-width{
    height: 0.56rem;
}
.faq_crumb .bread_home img{
    width: 0.16rem;
    height: 0.16rem;
    margin-right: 0.06rem;
}
.faq_crumb p{
    font-size: 0.16rem;
    color: #666;
    margin: 0 0.06rem;
}
.faq_crumb .bread_home p{
    color: #0F4988;
}

/* 分类切换 */
.faq_tabs{
    background: #fff;
    border-bottom: 0.01rem solid #eee;
}
.faq_tabs .max-width{
    display: flex;
    padding-top: 0.24rem;
}
.faq_tab{
    position: relative;
    padding: 0 0 0.2rem;
    margin-right: 0.5rem;
    font-size: 0.2rem;
    color: #666;
    transition: color 0.3s;
}
.faq_tab:hover{
    color: #0F4988;
}
.faq_tab.active{
    color: #0F4988;
    font-weight: bold;
}
.faq_tab.active::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.03rem;
    background: #0F4988;
    border-radius: 0.02rem;
}

/* 问答列表 */
.faq_list_wrap{
    padding: 0.5rem 0 0.6rem;
    background: #f5f9fe;
    min-height: 4rem;
}
.faq_list{
    max-width: 12rem;
    margin: 0 auto;
}
.faq_item{
    background: #fff;
    border-radius: 0.12rem;
    margin-bottom: 0.2rem;
    overflow: hidden;
    box-shadow: 0 0.02rem 0.12rem rgba(15, 73, 136, 0.06);
    transition: box-shadow 0.3s;
}
.faq_item:hover{
    box-shadow: 0 0.04rem 0.2rem rgba(15, 73, 136, 0.12);
}
.faq_item.open{
    box-shadow: 0 0.06rem 0.24rem rgba(15, 73, 136, 0.15);
}

.faq_q{
    padding: 0.28rem 0.3rem;
    cursor: pointer;
    justify-content: flex-start;
    user-select: none;
}
.faq_q_icon{
    flex: 0 0 0.4rem;
    width: 0.4rem;
    height: 0.4rem;
    background: #eef4fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.2rem;
    transition: background 0.3s;
}
.faq_item.open .faq_q_icon{
    background: #0F4988;
}
.faq_q_num{
    font-family: Poppins, Arial;
    font-size: 0.18rem;
    font-weight: bold;
    color: #0F4988;
    transition: color 0.3s;
    font-style: normal;
}
.faq_item.open .faq_q_num{
    color: #fff;
}
.faq_q_text{
    flex: 1;
    font-size: 0.2rem;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    transition: color 0.3s;
}
.faq_item.open .faq_q_text{
    color: #0F4988;
}
.faq_q_arrow{
    flex: 0 0 0.2rem;
    margin-left: 0.2rem;
    transition: transform 0.3s;
}
.faq_q_arrow img{
    width: 0.2rem;
    height: 0.2rem;
    transform: rotate(-90deg);
    transition: transform 0.3s;
}
.faq_item.open .faq_q_arrow img{
    transform: rotate(90deg);
}

.faq_a{
    display: none;
    padding: 0 0.3rem 0.3rem 0.9rem;
}
.faq_a_inner{
    position: relative;
    padding: 0.2rem 0.24rem;
    background: #f8fafc;
    border-left: 0.03rem solid #0F4988;
    border-radius: 0 0.08rem 0.08rem 0;
    font-size: 0.18rem;
    color: #555;
    line-height: 1.8;
}

/* 空状态 */
.faq_empty{
    text-align: center;
    padding: 0.8rem 0;
}
.faq_empty img{
    width: 2rem;
    height: auto;
    margin: 0 auto 0.3rem;
}
.faq_empty p{
    font-size: 0.2rem;
    color: #999;
    margin-bottom: 0.3rem;
}
.faq_empty_btn{
    display: inline-block;
    padding: 0.14rem 0.5rem;
    background: #0F4988;
    color: #fff;
    font-size: 0.18rem;
    border-radius: 0.3rem;
    transition: background 0.3s;
}
.faq_empty_btn:hover{
    background: #0a3a6b;
}

/* 底部 CTA */
.faq_cta{
    background: #fff;
    padding: 0.5rem 0;
    border-top: 0.01rem solid #eee;
}
.faq_cta .max-width{
    justify-content: space-between;
    flex-wrap: wrap;
}
.faq_cta_tit{
    font-size: 0.26rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.1rem;
}
.faq_cta p{
    font-size: 0.18rem;
    color: #666;
}
.faq_cta_r{
    display: flex;
    align-items: center;
}
.faq_cta_tel{
    margin-right: 0.3rem;
}
.faq_cta_tel img{
    width: 0.24rem;
    height: 0.24rem;
    margin-right: 0.1rem;
}
.faq_cta_tel span{
    font-family: Poppins, Arial;
    font-size: 0.24rem;
    font-weight: bold;
    color: #0F4988;
}
.faq_cta_btn{
    display: inline-block;
    padding: 0.14rem 0.5rem;
    background: #E11D0B;
    color: #fff;
    font-size: 0.18rem;
    border-radius: 0.3rem;
    transition: background 0.3s;
}
.faq_cta_btn:hover{
    background: #c0180a;
}

/* ============ 响应式 ============ */
@media screen and (max-width: 768px) {
    .faq_banner{
        height: 3.2rem;
    }
    .faq_banner_c{
        padding-top: 0.6rem;
    }
    .faq_banner_tit{
        font-size: 0.42rem;
    }
    .faq_banner_sub{
        font-size: 0.18rem;
    }
    .faq_banner_desc{
        font-size: 0.16rem;
        margin-top: 0.14rem;
    }
    .faq_search{
        width: 90%;
        height: 0.5rem;
        margin-top: 0.28rem;
    }
    .faq_search_input{
        font-size: 0.16rem;
    }
    .faq_search_btn{
        flex: 0 0 0.5rem;
        height: 0.5rem;
    }

    .faq_tab{
        font-size: 0.18rem;
        margin-right: 0.4rem;
    }

    .faq_list_wrap{
        padding: 0.3rem 0 0.4rem;
    }
    .faq_q{
        padding: 0.22rem 0.2rem;
    }
    .faq_q_icon{
        flex: 0 0 0.34rem;
        width: 0.34rem;
        height: 0.34rem;
        margin-right: 0.14rem;
    }
    .faq_q_num{
        font-size: 0.16rem;
    }
    .faq_q_text{
        font-size: 0.18rem;
    }
    .faq_a{
        padding: 0 0.2rem 0.2rem 0.68rem;
    }
    .faq_a_inner{
        font-size: 0.16rem;
        padding: 0.16rem 0.18rem;
    }

    .faq_cta .max-width{
        flex-direction: column;
        align-items: flex-start;
    }
    .faq_cta_r{
        margin-top: 0.24rem;
        width: 100%;
        justify-content: space-between;
    }
    .faq_cta_tel span{
        font-size: 0.2rem;
    }
}
