/**
 * common-footer.css
 * 页脚 Web Component 样式（参考 tsingoal 图3）
 *
 * 结构：
 *   .footer-top     - 左侧链接列 + 右侧品牌联系方式
 *   .footer-bottom  - 版权 / ICP / 专利 / 免责
 */

.lenet-footer-host {
    display: block;
    background: #0a1929;
    color: #b8c5d3;
    font-size: 13px;
}

.lenet-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 顶部：链接列 + 品牌信息 ===== */
.lenet-footer .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 左侧：链接列 */
.lenet-footer .footer-links {
    display: flex;
    gap: 96px;
    flex: 1;
}

.lenet-footer .footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}
.lenet-footer .footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: #1677ff;
}

.lenet-footer .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lenet-footer .footer-col ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.lenet-footer .footer-col ul li a {
    color: #b8c5d3;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.lenet-footer .footer-col ul li a:hover {
    color: #1677ff;
}

/* ===== 右侧：品牌信息区 ===== */
.lenet-footer .footer-brand-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
    min-width: 240px;
}

.lenet-footer .footer-contact-group {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px 40px;
}

.lenet-footer .footer-contact {
    line-height: 1.4;
}
.lenet-footer .contact-label {
    color: #7a8a99;
    font-size: 13px;
    margin: 0 0 4px;
}
.lenet-footer .contact-value {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.lenet-footer .contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.lenet-footer .contact-value a:hover {
    color: #1677ff;
}

.lenet-footer .footer-mp img {
    width: 80px;
    height: 80px;
    background: #ffffff;
    padding: 4px;
    border-radius: 4px;
}

.lenet-footer .footer-mp-group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lenet-footer .footer-mp-text .mp-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}
.lenet-footer .footer-mp-text .mp-desc {
    color: #7a8a99;
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.lenet-footer .footer-cta {
    justify-self: end;
}
.lenet-footer .btn-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 36px;
    background: #1677ff;
    color: #ffffff;
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}
.lenet-footer .btn-consult:hover {
    background: #0f5fd6;
}

/* ===== 底部：版权 + ICP + 专利 + 免责 ===== */
.lenet-footer .footer-bottom {
    padding: 24px 0 32px;
}
.lenet-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 4px 0;
}
.lenet-footer .footer-bottom-inner p {
    color: #5b6b7a;
    font-size: 12px;
    margin: 0;
}
.lenet-footer .footer-bottom-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.35);
    flex: none;
}
.lenet-footer .footer-bottom-beian {
    color: #8a9aaa;
    font-size: 12px;
    text-decoration: none;
}
.lenet-footer .footer-bottom-beian:hover {
    color: #ffffff;
}
.lenet-footer .footer-disclaimer p {
    color: #5b6b7a;
    text-align: center;
    width: 100%;
}

/* ===== 响应式 ===== */
@media (max-width: 1240px) {
    .lenet-footer { padding: 0 20px; }
    .lenet-footer .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    .lenet-footer .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    .lenet-footer .footer-brand-section {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        min-width: auto;
        width: 100%;
    }
    .lenet-footer .footer-cta { margin-left: auto; }
}

@media (max-width: 767px) {
    .lenet-footer { padding: 0 16px; }
    .lenet-footer .footer-top {
        padding: 36px 0 28px;
        gap: 32px;
    }
    .lenet-footer .footer-links {
        gap: 32px;
    }
    .lenet-footer .footer-col h4 { font-size: 14px; margin-bottom: 14px; }
    .lenet-footer .footer-col ul li { margin-bottom: 8px; }
    .lenet-footer .footer-col ul li a { font-size: 12px; }

    .lenet-footer .footer-brand-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .lenet-footer .footer-contact-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .lenet-footer .contact-value { font-size: 16px; }
    .lenet-footer .footer-mp img { width: 64px; height: 64px; }
    .lenet-footer .footer-mp-text .mp-title { font-size: 13px; }
    .lenet-footer .footer-mp-text .mp-desc { font-size: 11px; }
    .lenet-footer .btn-consult {
        height: 40px;
        padding: 0 28px;
        font-size: 14px;
        width: 100%;
    }

    .lenet-footer .footer-bottom { padding: 16px 0 24px; }
    .lenet-footer .footer-bottom-inner { justify-content: center; }
    .lenet-footer .footer-bottom-inner p,
    .lenet-footer .footer-disclaimer p,
    .lenet-footer .footer-bottom-beian { font-size: 11px; }
}
