/* 底部组件样式 - 更新版本 */
.footer-wrapper {
    background: linear-gradient(90deg, #1a2b44, #2c3e5c);
    color: white;
    padding: 40px 5% 30px;
    margin-top: 60px;
    border-top: 4px solid var(--accent-gold, #d4a55e);
    position: relative;
    width: 100%;
}

.footer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 94, 0.5), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* 更新.footer-info样式，使其更适合两行内容 */
.footer-info {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info p {
    margin-bottom: 10px;
}

/* 优化地址行的显示，特别是移动端 */
.footer-info p:nth-child(2) {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-wrapper {
        padding: 30px 20px 25px;
        margin-top: 40px;
    }

    .footer-info {
        font-size: 14px;
        line-height: 1.7;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .footer-info p:nth-child(2) {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .footer-copyright {
        font-size: 13px;
        padding-top: 15px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .footer-wrapper {
        padding: 25px 15px 20px;
    }
    
    .footer-info p {
        margin-bottom: 8px;
    }
    
    .footer-info p:nth-child(2) {
        font-size: 12.5px;
    }
}

/* ========== 返回顶部（全站通用，固定右下角） ========== */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, #1a4d9c, #2c7dc0);
    box-shadow: 0 4px 16px rgba(21, 61, 130, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, box-shadow 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 22px rgba(21, 61, 130, 0.45);
    filter: brightness(1.05);
}

.back-to-top:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.back-to-top svg {
    display: block;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 20px;
        width: 42px;
        height: 42px;
    }
}