/*! 快企务原创，请尊重产权。抄袭必究 · Copyright © 快企务 www.kuaiqiwu.com */
/*
 * 页脚 2026-11-04 重组（footer.php .footer-2026）
 * 第一行四个信息区：品牌介绍｜核心服务（占两列宽）｜客户服务与合作｜联系快企务；
 * 第二行五地办公室独占；第三行官方二维码。
 * 桌面：普通链接行高 24px，同组行距 8px，不同组间距 28px；普通链接同色同字重，悬停/聚焦时变白并加下划线。
 * 点击区域：桌面链接用透明 ::after 上下各扩 4px（行距的一半，相邻链接不重叠）；800px 以下保留 a11y 层的 44px。
 */
.site-footer.footer-2026 {
  --fz-link: #c9d2f5;
  --fz-muted: #aeb9e8;
  --fz-line: rgba(209, 219, 255, .18);
  --fz-strong: #ffffff;
}

/* ---------- 第一行：四个信息区 ---------- */
.site-footer.footer-2026 .fz-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .95fr) minmax(0, 2.3fr) minmax(140px, .75fr) minmax(230px, 1.15fr);
  gap: 32px clamp(24px, 2.8vw, 44px);
  align-items: start;
}
.site-footer.footer-2026 .fz-brand .brand { display: inline-block; }
.site-footer.footer-2026 .fz-brand .brand img { display: block; width: 168px; height: auto; }
.site-footer.footer-2026 .fz-tagline { display: grid; gap: 6px; max-width: 250px; margin: 18px 0 10px; }
.site-footer.footer-2026 .fz-tagline strong { color: var(--fz-strong); font-size: 16px; font-weight: 700; line-height: 1.5; }
.site-footer.footer-2026 .fz-tagline span { color: var(--fz-link); font-size: 14px; line-height: 1.7; }
.site-footer.footer-2026 .fz-entity { max-width: 250px; margin: 0 0 16px; color: var(--fz-muted); font-size: 13px; line-height: 1.7; }
.site-footer.footer-2026 .fz-brand-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 普通链接：统一颜色与字重 */
.site-footer.footer-2026 :is(.fz-brand-links a, .fz-links a, .fz-all, a.fz-cvalue, .fz-cline a, .fz-office-phone, .fz-office-map, .fz-office-more a) {
  color: var(--fz-link);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer.footer-2026 :is(.fz-brand-links a, .fz-links a, .fz-all, .fz-group-title, a.fz-cvalue, .fz-cline a, .fz-office-phone, .fz-office-map, .fz-office-more a, .fz-hotline):is(:hover, :focus-visible) {
  color: var(--fz-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer.footer-2026 :is(a, button):focus-visible { outline: 2px solid #e9a23b; outline-offset: 2px; }
.site-footer.footer-2026 .fz-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer.footer-2026 .fz-links li { display: flex; margin: 0; padding: 0; line-height: 24px; } /* flex 去掉行内基线撑高，行距严格为 gap */

/* 核心服务：七大业务，每组 = 业务名称 + 常用入口 + 末项“查看全部” */
.site-footer.footer-2026 .fz-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-footer.footer-2026 .fz-group { min-width: 0; }
.site-footer.footer-2026 .fz-group-head { margin: 0 0 8px; line-height: 24px; }
.site-footer.footer-2026 .fz-group-title { color: var(--fz-strong); font-size: 14px; font-weight: 700; line-height: 24px; text-decoration: none; }
.site-footer.footer-2026 .fz-all { color: var(--fz-muted); font-size: 13px; white-space: nowrap; }

/* 联系快企务：左对齐，按用途分组；咨询热线最醒目 */
.site-footer.footer-2026 .fz-contact-body { display: grid; gap: 22px; }
.site-footer.footer-2026 .fz-cgroup { display: grid; gap: 6px; min-width: 0; text-align: left; }
.site-footer.footer-2026 .fz-cgroup-title { margin: 0 0 2px; color: var(--fz-muted); font-size: 13px; font-weight: 700; line-height: 20px; letter-spacing: .08em; }
.site-footer.footer-2026 .fz-hotline { display: grid; justify-items: start; gap: 2px; color: var(--fz-strong); text-decoration: none; }
.site-footer.footer-2026 .fz-hotline strong { color: var(--fz-strong); font: 800 26px/1.15 var(--numeric, inherit); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.site-footer.footer-2026 .fz-hotline span { color: var(--fz-muted); font-size: 13px; line-height: 18px; }
.site-footer.footer-2026 .fz-cline { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 12px; align-items: baseline; }
.site-footer.footer-2026 .fz-clabel { color: var(--fz-muted); font-size: 14px; line-height: 24px; white-space: nowrap; }
.site-footer.footer-2026 span.fz-cvalue { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.site-footer.footer-2026 span.fz-cvalue strong { color: var(--fz-strong); font-size: 14px; font-weight: 600; line-height: 24px; font-variant-numeric: tabular-nums; }
.site-footer.footer-2026 .fz-copy {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(209, 219, 255, .32);
  border-radius: 0;
  background: transparent;
  color: var(--fz-link);
  font: 400 12px/22px var(--sans, inherit);
  cursor: pointer;
}
.site-footer.footer-2026 .fz-copy:is(:hover, :focus-visible) { border-color: rgba(255, 255, 255, .7); color: var(--fz-strong); }

/* ---------- 第二行：五地办公室 ---------- */
.site-footer.footer-2026 :is(.fz-offices, .fz-qr) { position: relative; margin-top: 40px; }
.site-footer.footer-2026 .fz-office-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 28px; margin: 0; padding: 0; list-style: none; }
.site-footer.footer-2026 .fz-office { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; margin: 0; padding: 0; }
.site-footer.footer-2026 .fz-office-city { color: var(--fz-strong); font-size: 15px; font-weight: 700; line-height: 24px; }
.site-footer.footer-2026 .fz-office address { margin: 0 0 2px; color: var(--fz-link); font-size: 14px; font-style: normal; line-height: 1.75; }
.site-footer.footer-2026 .kqw-addr-unit { white-space: nowrap; }
.site-footer.footer-2026 .fz-office-phone { color: var(--fz-strong); font-variant-numeric: tabular-nums; }
.site-footer.footer-2026 .fz-office-map { color: var(--fz-muted); font-size: 14px; }
/* 首页：正文已有五地办公室选项卡，页脚只列城市与地址，另给一条回到正文办公室区的链接 */
.site-footer.footer-2026 .fz-office-more { margin: 16px 0 0; }

/* ---------- 第三行：官方二维码（点击放大，写明用途） ---------- */
.site-footer.footer-2026 .fz-qr-list { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 0; padding: 0; list-style: none; }
.site-footer.footer-2026 .fz-qr-item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; }
.site-footer.footer-2026 .kqw-qr-zoom img { width: 84px; border-color: transparent; }
.site-footer.footer-2026 .kqw-qr-zoom-hint { color: var(--fz-muted); }
.site-footer.footer-2026 .kqw-qr-zoom:hover img { border-color: #e9a23b; }
.site-footer.footer-2026 .fz-qr-text { display: grid; gap: 4px; }
.site-footer.footer-2026 .fz-qr-text strong { color: var(--fz-strong); font-size: 14px; font-weight: 700; line-height: 22px; }
.site-footer.footer-2026 .fz-qr-text span { color: var(--fz-muted); font-size: 14px; line-height: 1.6; }

/* ---------- 桌面与平板（801px 以上）：链接按 24px 行高排列，透明扩展区补足点击范围 ---------- */
@media (min-width: 801px) {
  body.p2 .site-footer.footer-2026 :is(.fz-brand-links a, .fz-links a, .fz-group-head a, .fz-cline a, .fz-office a) {
    position: relative;
    display: inline-block;
    min-width: 0;
    min-height: 24px;
  }
  body.p2 .site-footer.footer-2026 :is(.fz-brand-links a, .fz-links a, .fz-group-head a, .fz-cline a, .fz-office a)::after {
    content: "";
    position: absolute;
    inset: -4px;
  }
  body.p2 .site-footer.footer-2026 .fz-hotline { display: grid; }
  /* 栏目标题下的分隔线沿用 c-shell 统一样式；桌面端 summary 不作为折叠开关 */
  .site-footer.footer-2026 .footer-detail summary { cursor: default; pointer-events: none; }
}

/* 宽屏（1440px 以上）：核心服务区加宽为四列，七大业务排成两行 */
@media (min-width: 1440px) {
  .site-footer.footer-2026 .fz-grid { grid-template-columns: minmax(180px, .85fr) minmax(0, 3fr) minmax(120px, .65fr) minmax(240px, 1.05fr); }
  .site-footer.footer-2026 .fz-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
}

/* 平板与小桌面（801–1279px）：品牌｜客户服务 → 核心服务整行 → 联系方式整行 */
@media (min-width: 801px) and (max-width: 1279px) {
  .site-footer.footer-2026 .fz-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand desk"
      "services services"
      "contact contact";
  }
  .site-footer.footer-2026 .fz-brand { grid-area: brand; }
  .site-footer.footer-2026 .fz-services { grid-area: services; }
  .site-footer.footer-2026 .fz-desk { grid-area: desk; }
  .site-footer.footer-2026 .fz-contact { grid-area: contact; }
  .site-footer.footer-2026 .fz-services-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .site-footer.footer-2026 .fz-contact-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .site-footer.footer-2026 .fz-office-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 手机（800px 以下）：各区为可折叠栏目，默认收起（c-shell.js）；链接保持 44px 触控高度 */
@media (max-width: 800px) {
  .site-footer.footer-2026 .fz-grid { display: block; }
  .site-footer.footer-2026 .fz-brand { padding-bottom: 24px; }
  .site-footer.footer-2026 .fz-brand-links { gap: 0 20px; }
  .site-footer.footer-2026 :is(.fz-offices, .fz-qr) { margin-top: 0; }
  .site-footer.footer-2026 .fz-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .site-footer.footer-2026 .fz-group-head { margin-bottom: 0; }
  .site-footer.footer-2026 .fz-links { gap: 0; }
  .site-footer.footer-2026 :is(.fz-brand-links a, .fz-links a, .fz-group-head a, .fz-cline a, .fz-office a) { display: inline-flex; align-items: center; }
  .site-footer.footer-2026 .fz-contact-body { gap: 18px; }
  .site-footer.footer-2026 .fz-hotline { min-height: 44px; }
  .site-footer.footer-2026 .fz-copy { min-height: 44px; min-width: 44px; padding: 0 12px; }
  .site-footer.footer-2026 .fz-office-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .site-footer.footer-2026 .fz-office { display: grid; grid-template-columns: 9em minmax(0, 1fr); justify-items: start; gap: 0 16px; } /* 电话列定宽，五地“地图导航”上下对齐 */
  .site-footer.footer-2026 :is(.fz-office-city, .fz-office address) { grid-column: 1 / -1; }
  .site-footer.footer-2026 .fz-qr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .site-footer.footer-2026 .fz-qr-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer.footer-2026 .kqw-qr-zoom img { width: 88px; }
}
@media (max-width: 380px) {
  .site-footer.footer-2026 .fz-services-grid { grid-template-columns: minmax(0, 1fr); }
}
/* 投诉与服务监督专线（11-19）：底部小字区一行，只留号码与在线提交入口 */
body .site-footer .footer-sub:has(> .footer-supervision) { flex-wrap: wrap; row-gap: 6px; }
.site-footer .footer-sub .footer-supervision { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 6px 0 0; color: #aeb9e8; font-size: 12.5px; line-height: 1.7; }
.site-footer .footer-sub .footer-supervision > span { color: #c9d2fb; }
.site-footer .footer-sub .footer-supervision i { color: rgba(209, 219, 255, .45); font-style: normal; }
@media (max-width: 800px) {
  .site-footer .footer-sub .footer-supervision :is(a) { display: inline-flex; align-items: center; min-height: 44px; }
}
