/* footer */
.homepage-footer {
    width: 100%;
    background: linear-gradient(180deg, #1a2f1f 0%, #142018 48%, #0f1712 100%);
    color: rgba(255, 255, 255, 0.85);
    border-top: 3px solid #2f7a3e;
    margin-top: 40px;
}

.homepage-footer .site-footer-inner {
    width: 1328px;
    max-width: 94%;
    margin: 0 auto;
    padding: 36px 0 0;
}

.homepage-footer .footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage-footer .footer-links-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
    padding-left: 14px;
}

.homepage-footer .footer-links-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 2px;
    background: #3f9d52;
}

.homepage-footer .footer-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.homepage-footer .footer-links-list a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.homepage-footer .footer-links-list a:hover {
    color: #7dce8d;
}

.homepage-footer .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 36px 0 28px;
}

.homepage-footer .footer-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.homepage-footer .footer-contact {
    flex: 1;
    min-width: 280px;
}

.homepage-footer .footer-contact-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
    line-height: 1.6;
}

.homepage-footer .footer-contact-label {
    width: 76px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.homepage-footer .footer-contact-value {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
}

.homepage-footer .footer-qr {
    display: flex;
    justify-content: flex-end;
    min-width: 180px;
}

.homepage-footer .footer-qr-card {
    width: 168px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px 14px 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.homepage-footer .footer-qr-card img {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 6px;
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
}

.homepage-footer .footer-qr-name {
    margin-top: 12px;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.homepage-footer .footer-qr-desc {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.homepage-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 16px 0 22px;
}

.homepage-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
}

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

/* 兼容旧类名，避免残留样式干扰 */
.homepage-footer .share-link,
.homepage-footer .container {
    display: none;
}

@media (max-width: 900px) {
    .homepage-footer .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .homepage-footer .footer-qr {
        justify-content: center;
        width: 100%;
    }

    .homepage-footer .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
