.footer {
    background: #5581be;
    height: 144px;
}

.footer .inner {
    max-width: 1240px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    flex: 1;
}

.footer-line {
    margin: 0;
}

.footer-line a {
    color: #fff;
    text-decoration: none;
}

.footer-line a:hover {
    text-decoration: none;
}

.footer-icp {
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.footer-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gov {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gov img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jc {
    width: 110px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.jc img {
    width: 110px;
    height: 55px;
    object-fit: contain;
}

/* 移动端换行 - PC端隐藏 */
.footer-mobile-br {
    display: none;
}

/* 移动端服务入口 - PC端隐藏 */
.footer-mobile-services {
    display: none;
}

/* 移动端智能客服弹窗 - 基础样式 */
.footer-mobile-robot-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
}

.footer-mobile-robot-dialog.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.footer-mobile-robot-dialog .robot-dialog-inner {
    position: relative;
    width: 90%;
    height: 70%;
    max-width: 420px;
    max-height: 600px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-mobile-robot-dialog .robot-dialog-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-mobile-robot-dialog .robot-dialog-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

/* ========== 移动端适配 ========== */

/* 平板 (≤1024px) */
@media (max-width: 1024px) {
    .footer {
        height: auto;
        padding: 20px;
    }

    .footer .inner {
        padding: 0 10px;
    }

    .footer-text {
        font-size: 10px;
        line-height: 1.7;
        text-align: center;
        width: 100%;
    }
}

/* 手机 (≤768px) */
@media (max-width: 768px) {
    .footer {
        height: auto;
        padding: 10px 10px;
    }

    .footer .inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .footer-text {
        font-size: 10px;
        line-height: 1.8;
        text-align: center;
        width: 100%;
    }

    .footer-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        align-self: flex-start;
        width: 100%;
    }

    .gov {
        margin-right: 0;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }

    .jc {
        width: 60px;
        height: 30px;
    }

    .jc img{
        width: 100%;
        height: 100%;
    }

    /* 移动端换行显示 */
    .footer-mobile-br {
        display: block;
    }

    /* 移动端页脚服务入口 */
    .footer-mobile-services {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-right: 16px;
    }

    .footer-mobile-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }

    .footer-mobile-item img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    .footer-mobile-item span {
        font-size: 10px;
        color: #fff;
        margin-top: 4px;
        text-align: center;
    }
}