/* public/css/footer.css */

/* ========== Footer ========== */
.footer-v1 {
    background: #b71c1c;
    color: #fff;
    padding: 60px 40px 40px;
}

.footer-inner-v1 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.footer-brand-v1 {
    flex-shrink: 0;
    width: 280px;
}

.footer-brand-v1 .footer-logo-v1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand-v1 .footer-logo-v1 img {
    height: 50px;
}

.footer-brand-v1 .footer-slogan-v1 {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: normal;
}

.footer-brand-v1 .footer-slogan-v1 strong {
    font-size: 16px;
}

.footer-contact-v1 {
    font-size: 14px;
    line-height: 2;
    opacity: 0.85;
}

.footer-contact-v1 a {
    color: #fff;
    opacity: 0.85;
}

.footer-contact-v1 a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-nav-v1 {
    flex: 1;
    display: flex;
    gap: 40px;
}

.footer-nav-col-v1 h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-nav-col-v1 a {
    display: block;
    font-size: 14px;
    color: #fff;
    line-height: 2.2;
}

.footer-nav-col-v1 a:hover {
    opacity: 1;
}

.footer-qr-v1 {
    flex-shrink: 0;
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.qr-item-v1 {
    text-align: center;
    display: inline-block;
    transition: opacity 0.3s;
}

.qr-item-v1:hover {
    opacity: 0.8;
}

.qr-item-v1 img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.qr-item-v1 p {
    font-size: 12px;
    opacity: 0.85;
}

/* ========== 响应式 ========== */

/* 平板及以下 ≤1200px */
@media screen and (max-width: 1200px) {
    .footer-inner-v1 {
        gap: 30px;
    }

    .footer-nav-v1 {
        gap: 24px;
    }
}

/* 平板竖屏 ≤992px */
@media screen and (max-width: 992px) {
    .footer-inner-v1 {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-brand-v1 {
        width: 100%;
        max-width: 400px;
    }

    .footer-nav-v1 {
        flex-wrap: wrap;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-items: center;
    }

    .footer-nav-col-v1 {
        min-width: auto;
    }

    .footer-qr-v1 {
        width: 100%;
        justify-content: flex-start;
    }
}

/* 手机横屏 ≤768px */
@media screen and (max-width: 768px) {
    .footer-v1 {
        padding: 40px 20px 30px;
    }

    .footer-nav-col-v1 {
        min-width: 120px;
    }

    .footer-nav-col-v1 h4 {
        font-size: 16px;
    }

    .footer-nav-col-v1 a {
        font-size: 13px;
    }

    .footer-nav-v1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-items: center;
    }
}

/* 手机竖屏 ≤480px */
@media screen and (max-width: 480px) {
    .footer-inner-v1 {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand-v1 {
        max-width: 100%;
    }

    .footer-nav-v1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        justify-items: center;
    }

    .footer-nav-col-v1 {
        min-width: auto;
    }

    .footer-qr-v1 {
        flex-direction: row;
        justify-content: center;
    }

    .qr-item-v1 img {
        width: 80px;
        height: 80px;
    }
}