.kefu{
    position: fixed;
    right: 15px;
    top: 20%;
    text-align: center;
    z-index: 9999;
}
.kefu .img {
    position: relative;
    cursor: pointer;
}
.kefu .img span{
    background: #de3127;
    border-radius: 50%;
    width: 20px; height: 20px;
    text-align: center; line-height: 20px;
    position: absolute; right: 0; top: 0;
    color: #fff;
    font-size: 12px;
}
.kefu .img img{
    width: 68px;
    display: block;
}
.kefu ul{
    padding: 0; margin: 0;
}
.kefu li{
    width: 60px;
    background: #e4eaff;
    border-radius: 5px;
    text-align: center;
    padding: 10px 5px;
    margin-top: 10px;
    position: relative;
    list-style: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #ccd8f0;
}
.kefu li i{
    font-size: 28px;
    color: #2a4ccc;
}
.kefu li p{
    font-size: 12px;
    color: #2a4ccc;
    margin-top: 2px;
    line-height: 1.3;
}
.kefu li:hover{
    background: #2a4ccc;
    border-color: #2a4ccc;
}
.kefu li:hover i{ color: #fff; }
.kefu li:hover p{ color: #fff; }
.kefu li:hover .box i{ color: #2a4ccc; }

.kefu li .box{
    position: absolute;
    right: 100%;
    top: 0;
    width: 240px;
    text-align: center;
    z-index: 9;
    display: none;
    padding-right: 10px;
}
.kefu li .box .con{
    background: url(/static/zhanpc/images/about/kefubg.png) #ffffff;
    padding: 15px 20px;
    box-shadow: 0 0 10px rgba(42, 76, 204, 0.25);
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
}

.kefu li .box .title{
    text-align: center;
    font-size: 20px;
    color: #313339;
}
.kefu li .box .title2{
    text-align: left;
    font-size: 15px;
    color: #7c83a1;
    margin-top: 16px;
}

/* 微信咨询弹窗 */
.kefu .kefu-wx .box .vx{
    margin-top: 20px;
    padding-bottom: 5px;
    text-align: center;
}
.kefu .kefu-wx .box .vx img{
    width: 160px;
    display: block;
    margin: 0 auto;
}
.kefu .kefu-wx .box .vx p{
    margin: 12px 0 0 0;
    font-size: 14px;
    color: #7c83a1;
}

/* 电话咨询弹窗 */
.kefu .kefu-tel .box .tel-wrap{
    display: flex;
    align-items: center;
    padding: 5px 15px;
}
.kefu .kefu-tel .box .tel-wrap i.fa{
    font-size: 30px;
    color: #2a4ccc;
    margin-right: 10px;
    flex-shrink: 0;
}
.kefu .kefu-tel .box .tel-text{
    text-align: left;
}
.kefu .kefu-tel .box .tel-text .tel-title{
    font-size: 15px;
    color: #313339;
    font-weight: bold;
}
.kefu .kefu-tel .box .tel-text .tel-num{
    font-size: 16px;
    color: #313339;
    margin-top: 2px;
}

.kefu li:hover .box{ display: block; }

.kefu .img::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(42, 76, 204, 0.25);
    animation: breathe 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .kefu {
        right: 10px;
        top: auto;
        bottom: 80px;
    }
    .kefu .img img {
        width: 48px;
    }
    .kefu .img span {
        width: 16px; height: 16px;
        line-height: 16px;
        font-size: 10px;
    }
    .kefu li {
        display: none;
    }
}

/* 移动端弹窗 */
.kefu-modal {
    display: none;
}
.kefu-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.kefu-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.kefu-modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px 24px;
    text-align: center;
    z-index: 1;
    width: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.kefu-modal-close {
    position: absolute;
    top: 8px; right: 12px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.kefu-modal-close:hover {
    color: #333;
}
.kefu-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #313339;
    margin-bottom: 16px;
}
.kefu-modal-img img {
    width: 180px;
    display: block;
    margin: 0 auto;
}
.kefu-modal-desc {
    font-size: 14px;
    color: #7c83a1;
    margin-top: 12px;
}
