/* ============================================================
   footer2 —— 公共页脚（设计稿 217:07448 还原）
   布局结构（上下两层）：
     footer
     ├── 上层（左右）
     │    ├── 左（上下）：导航菜单 / 电话地址邮箱
     │    └── 右：二维码（与左侧整体垂直居中）
     └── 下层：版权信息
   色值/字号/字重取自设计稿 DSL：
     · 背景：rgba(0,0,0,0.9) → 纯黑    · 文字：#FFFFFF
     · 分隔线：rgba(252,252,252,0.2)
     · 列标题：24px / 600 / 行高 30    · 列链接：18px / 400 / 行高 30
     · 联系 label/value：20px / 400    · 二维码下方文字：20px / 500
     · 版权：16px / 400 / 行高 30
   ============================================================ */
.ft2 { position: relative; color: #fff; background: #000; font-family: var(--font-sans); overflow: hidden; }
.ft2__main, .ft2__copyright { position: relative; z-index: 1; }

/* ---------- 上层：左右 ---------- */
.ft2__main {
    display: flex;
    justify-content: space-between;
    align-items: stretch;       /* 让右侧二维码与左侧整体等高对齐基准 */
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 100px 0;
}

/* 左侧包裹：flex:1 占据二维码之外的所有空间；
   border-right + padding-right 作为左右两栏的分隔线（与 ft2__line 同款） */
.ft2__left-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    border-right: 1px solid rgba(252, 252, 252, .2);
}
/* 左侧：上下（导航菜单 / 联系信息） */
.ft2__left { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-right: 80px; }

/* 导航菜单：5 列横向，均匀分散到整个容器宽度 */
.ft2__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
.ft2__col { display: flex; flex-direction: column; gap: 20px; }
.ft2__col h4 {
    margin: 0;
    font-size: var(--fs-body-24);   /* 24px */
    font-weight: 600;
    line-height: 30px;
}
.ft2__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ft2__col a {
    display: inline-block;
    font-size: var(--fs-body-sm-18);  /* 18px */
    font-weight: 400;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
    opacity: .85;
    transition: opacity .3s;
}
.ft2__col a:hover { opacity: 1; }

/* 左列内的分隔线已移除，改为下方 .ft2__contact 的 border-top */

/* 联系信息包裹：承接与导航菜单的分隔线，并突破 .ft2__left 的 padding-right 与 .ft2__left-wrap 等宽 */
.ft2__contact-wrap {
    margin-top: 24px;      /* 原 hr 的上间距，保持与导航区的间隔 */
    margin-right: -80px;   /* 突破 .ft2__left 的 padding-right，让 border-top 与 .ft2__left-wrap 等宽 */
    padding-top: 20px;     /* 分隔线下方到联系内容的间距 */
    padding-bottom: 20px;  /* 联系内容到版权区的间距 */
    border-top: 1px solid rgba(252, 252, 252, .2);
}
/* 联系信息：横向三栏分散对齐 */
.ft2__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;   /* 三项分散对齐：首项贴左、末项贴右、中间居中 */
    gap: 60px;
    padding-right: 80px;   /* 联系内容不顶满，与右侧二维码区拉开呼吸距离 */
}
.ft2__contact-item { display: flex; align-items: center; gap: 40px; }
.ft2__contact-item > img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.ft2__contact-item .text { display: flex; flex-direction: column; gap: 10px; }
.ft2__contact-item .label { font-size: 20px; font-weight: 400; line-height: 28px; }
.ft2__contact-item .value { font-size: 20px; font-weight: 400; line-height: 27px; }
.ft2__contact-item .value.num { font-family: var(--font-num); }

/* 右侧容器：与左侧整体垂直居中 */
.ft2__right { flex-shrink: 0; align-self: center; padding-left: 80px; }
/* 右侧：二维码 */
.ft2__qrcode { text-align: center; }
.ft2__qrcode img { width: 170px; height: 170px; display: block; }
.ft2__qrcode p { margin: 18px 0 0; font-size: 20px; font-weight: 500; line-height: 30px; }

/* ---------- 下层：版权（全宽，上方分隔线对应设计稿 Y=567） ---------- */
/* 版权区：外层负责容器间距 */
.ft2__copyright {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 100px 16px;   /* 仅底部保留间距，上方间距由内层 padding-top 承担 */
}
/* 版权文本：内层负责排版与上方分隔线 */
.ft2__copyright-inner {
    padding-top: 18px;   /* 分隔线下方到版权文本的间距 */
    border-top: 1px solid rgba(252, 252, 252, .2);
    font-size: var(--fs-caption-16);   /* 16px */
    font-weight: 400;
    line-height: 30px;
    opacity: .7;
    text-align: center;
}

/* 备案信息行：ICP / 公安图标 / 公网安备 单行展示，公安图标垂直居中 */
.ft2__copyright-inner .ft2__filing {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 4px;
}
.ft2__copyright-inner .ft2__filing img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    vertical-align: middle;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
    .ft2__main { padding: 32px 40px 0; }
    .ft2__cols { gap: 56px; }
    .ft2__contact { gap: 40px; }
    .ft2__copyright { padding: 16px 40px; }
}
@media (max-width: 768px) {
    .ft2__main { flex-direction: column; align-items: stretch; padding: 40px 24px 0; }
    .ft2__left-wrap { border-right: 0; }   /* 纵向堆叠：移除左右分隔线 */
    .ft2__left { padding-right: 0; }   /* 纵向堆叠：二维码在下方，左列不再需要右间距 */
    .ft2__right { padding-left: 0; }  /* 纵向堆叠：移除右列左间距 */
    .ft2__cols { gap: 36px; }
    .ft2__col h4 { font-size: var(--fs-body-sm); }
    .ft2__col a { font-size: var(--fs-caption); line-height: 26px; }
    .ft2__contact-wrap { margin-right: 0; padding-top: 24px; }   /* 纵向堆叠：移除等宽突破，缩小分隔线下间距 */
    .ft2__contact { flex-direction: column; gap: 20px; padding-right: 0; }
    .ft2__contact-item { gap: 16px; }
    .ft2__contact-item > img { width: 26px; height: 38px; }
    .ft2__contact-item .label,
    .ft2__contact-item .value { font-size: var(--fs-caption); line-height: 24px; }
    .ft2__qrcode { align-self: center; }
    .ft2__qrcode img { width: 140px; height: 140px; }
    .ft2__qrcode p { font-size: var(--fs-caption); }
    .ft2__copyright { padding: 0 24px 18px; }
    .ft2__copyright-inner { padding-top: 18px; font-size: var(--fs-micro-12); line-height: 1.7; }
}
