/* 主要底部容器 - 严格仅包含footer区块，无多余内容 */
footer {
    background-color: #01112F;
    width: 100%;
    border-top: 1px solid #22272e;
    color: #cfdde6;
}

/* 内容容器：限制最大宽度，居中对齐，内边距保证呼吸空间 */
.footer-container {
    /* max-width: 1280px; */
    margin: 0 auto;
    /* padding: 3rem 2rem 2rem 2rem; */
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); */
    gap: 2rem 2rem;
    padding:20px 7%;
    background-color: #01112F;
    justify-content: center; /* 核心：剩余空间左右均分，整体居中 */
}

/* 每一列的基本样式 */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* 品牌列特殊微调 */
.brand-logo {
    font-size:30px;
    font-weight:900;
    font-style:italic;
    line-height:.75
}

.brand-logo span {
    color:#f52322
}

/* .brand-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #7e8c9e;
    letter-spacing: 2px;
    margin-top: -0.2rem;
} */
.brand-tagline {
    display:block;
    font-size:14px;
    font-style:normal;
    font-weight:600;
    /* margin-top:9px */
}

.brand-desc {
    font-size: 0.85rem;
    color: #9aa9bb;
    margin-top: 0.5rem;
    line-height: 1.5;
    max-width: 280px;
}

/* 标题通用样式 (QUICK LINKS, PRODUCTS等) */
.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    position: relative;
    display: inline-block;
}

/* 列表样式统一 */
.footer-col ul {
    padding-left: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col li {
    font-size: 0.85rem;
    color: #b4c0d0;
    transition: color 0.2s ease;
}

/* 链接样式 */
.footer-col a {
    text-decoration: none;
    color: #b4c0d0;
    transition: color 0.2s, transform 0.1s;
    display: inline-block;
}

.footer-col a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 联系列表（无链接，保持视觉一致） */
.contact-list li {
    line-height: 1.45;
    word-break: break-word;
}

/* WhatsApp 扫描列特殊布局 */
.whatsapp-col {
    gap: 0.9rem;
}

.whatsapp-scan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 0.2rem;
}

/* 模拟二维码区域 (设计图中的扫码示意) */
.qr-placeholder {
    width: 88px;
    height: 88px;
    background: #1e2a36;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #2d3a47;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.qr-placeholder span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #b9d0f0;
    background: #0f1a24;
    padding: 0.2rem 0.5rem;
    border-radius: 24px;
    letter-spacing: 0.5px;
}

/* 模拟二维码内部的小装饰+简单拟态效果 */
.qr-placeholder::before {
    content: "📱";
    font-size: 2rem;
    margin-bottom: 6px;
    display: block;
    opacity: 0.9;
}
.qr-placeholder span {
    margin-top: 0;
}

.whatsapp-scan p {
    font-size: 0.8rem;
    color: #b4c0d0;
    max-width: 150px;
    line-height: 1.4;
}

/* 底部版权栏: 隐私条款 + 版权 */
.footer-bottom {
    border-top: 1px solid #22272e;
    /* padding: 1.5rem 2rem; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #8492a6;
    background-color: #01112F;
    /* max-width: 1280px; */
    margin: 0 auto;
    padding:10px 7%;
}

.footer-bottom p {
    color: #8e9daf;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: #9aabc0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.75rem;
}

.footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

@media (min-width: 1920px) {
    .footer-container {
        /* max-width: 1280px; */
        margin: 0 auto;
        /* padding: 3rem 2rem 2rem 2rem; */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 2rem 2rem;
        padding:20px 7%;
        background-color: #01112F;
    }
}
/* 为了精确匹配设计图，对产品列表特别保持样式一致，其他无用额外元素无 */
/* 响应式细节：当屏幕宽度较小时，让底部内容更紧凑 */
@media (max-width: 780px) {
    .footer-container {
        display: grid;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        gap: 2rem 1.2rem;
    }
    .brand-desc {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }
    .footer-legal {
        justify-content: center;
    }
    .qr-placeholder {
        width: 74px;
        height: 74px;
    }
    .qr-placeholder::before {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
    .brand-desc {
        text-align: center;
    }
    .whatsapp-scan {
        align-items: center;
    }
    .qr-placeholder {
        align-self: center;
    }
    .footer-col ul li {
        text-align: center;
    }
    .footer-col h3::after {
        display: none;
    }
}

/* 细节优化: 让 WHY CHOOSE US 条目纯文本无链接但保持美观 */
.footer-col ul li:not(.contact-list li) {
    cursor: default;
}

/* 给联系地址添加换行兼容 */
.contact-list li:last-child {
    word-break: break-word;
}