/* ========== Footer ========== */

.footer {
    background: #1a1a2e;
    color: #ccc;
    font-size: 14px;
}

/* 主内容区 - 三栏 */
.footer-main {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 50px;
    padding: 50px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Logo 栏 */
.footer-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.footer-equity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}

.footer-equity .eq-code {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}

/* 联系栏 */
.footer-contact h4 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.footer-contact p {
    color: rgba(255,255,255,0.55);
    line-height: 2;
}

.footer-contact .fc-phone {
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-contact .fc-time {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 8px;
}

/* 二维码栏 */
.footer-qr {
    display: flex;
    gap: 20px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-item img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    box-sizing: border-box;
}

.qr-item img[alt="小红书"] {
    border-radius: 14px;
}

.qr-item img[alt="抖音"] {
    border-radius: 50%;
}

.qr-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* 友情链接 */
.footer-links {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-links .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.fl-label {
    color: rgba(255,255,255,0.3);
    margin-right: 16px;
    flex-shrink: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    margin-right: 20px;
    line-height: 28px;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* 备案 */
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}

/* ========== 桌面端 ========== */
@media screen and (min-width: 751px) {
    .mobile-bar {
        display: none;
    }
}

/* ========== 移动端 ========== */
@media screen and (max-width: 750px) {
    body {
        padding-bottom: 48px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.25rem;
        text-align: center;
        justify-items: center;
    }

    .footer-logo-img {
        width: 120px;
    }

    .footer-equity {
        justify-content: center;
    }

    .footer-contact h4 {
        margin-bottom: 10px;
    }

    .footer-contact .fc-phone {
        font-size: 1.25rem;
    }

    .footer-qr {
        gap: 1.5rem;
    }

    .qr-item img {
        width: 64px;
        height: 64px;
    }

    .footer-links .container {
        justify-content: center;
    }

    .footer-links a {
        margin-right: 12px;
        font-size: 12px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 4px;
    }

    .mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 48px;
        background: linear-gradient(135deg, #246FF3, #1a5ad4);
        display: flex;
        align-items: center;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .mobile-bar.visible {
        transform: translateY(0);
    }

    .mobile-bar-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #fff;
        font-size: 14px;
        height: 100%;
        text-decoration: none;
    }

    .mobile-bar-item img {
        width: 16px;
        height: 16px;
    }

    .mobile-bar-divider {
        width: 1px;
        height: 20px;
        background: rgba(255,255,255,0.3);
    }
}
