/* =========================================
   底部样式 - 深蓝底 + 白字
   ========================================= */

.footer {
    background-color: #0a192f;
    padding: 80px 0 50px;
    color: #cbd5e1;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

/* 列宽分配 */
.footer-col {
    flex: 1;
    min-width: 220px;
}

.col-brand {
    flex: 1.3;
    min-width: 280px;
}

.col-contact {
    flex: 1.2;
}

/* Logo */
.footer .logo img {
    width: 200px;
    margin-bottom: 30px;
    display: block;
}

/* 标题样式 */
.footer h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #2793ff;
    border-radius: 2px;
}

/* 文字与链接 */
.footer p, .footer span, .footer li, .footer a {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer a:hover {
    color: #2793ff;
}

.company-name {
    font-size: 14px;
    color: #94a3b8 !important;
    margin-top: 10px;
}

/* 列表重置 */
.contact-list, .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li, .footer-links li {
    margin-bottom: 12px;
}

/* ✅ 联系方式列表 - 统一样式 */
.contact-list li {
    display: flex;
    align-items: flex-start;
}

.contact-list li i {
    color: #ffffff !important;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-list li a,
.contact-list li span {
    color: #cbd5e1;
    display: block;
}

.contact-list li a:hover {
    color: #2793ff;
}

/* ✅ 地址样式 - 与列表项完全一致 */
.address-item {
    display: flex;
    align-items: flex-start;
}

.address-item i {
    color: #ffffff !important;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.address-item span {
    display: block;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: break-word;
    /* 移除 max-width 限制，让它自然换行 */
}

/* 社交图标 */
.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 18px;
}

.social-icons a:hover {
    /* background: #2793ff;
    border-color: #2793ff; */
    transform: translateY(-3px);
}

/* 二维码 */
.qr-code {
    margin-top: 25px;
    background: #fff;
    padding: 10px;
    display: inline-block;
    border-radius: 6px;
}

.qr-code img {
    width: 100px;
    display: block;
}

.qr-code p {
    color: #000 !important;
    font-size: 12px;
    text-align: center;
    margin: 10px 0 0;
    font-weight: bold;
}

/* =========================================
   手机端适配
   ========================================= */

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-col {
        flex: 1 1 45%;
    }
    
    .col-brand {
        flex: 1 1 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 30px;
        margin-bottom: 20px;
    }
    
    .footer .logo img {
        margin: 0 auto 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-col {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }
    
    .footer h4 {
        font-size: 16px;
    }
    
    .footer p, .footer span, .footer li, .footer a {
        font-size: 14px;
    }
    
    .qr-code {
        text-align: center;
    }
}