/* ============================================================
   桥云官网结构层公共样式 components/site.css（2026-08-24 桥网，2026-08-29 桥网-26 页头页脚重设计）
   页头导航（品牌区/9项导航/产品下拉/订购报价）＋ 页脚四列分层
   全站唯一一份，18 页引用，禁止在页面内联重复定义
   品牌色基线（v1.1）：主深蓝 #1B3A5C · 品牌红 #E53E3E · 页脚深蓝 #0A1F36
   ============================================================ */

:root {
  --d: #1B3A5C;   /* 主深蓝 */
  --m: #0F2B47;   /* 辅助蓝 */
  --b: #2C5F8A;   /* 辅助蓝（仅既有组件复用，页头页脚不直接取用） */
  --a: #2980B9;   /* 亮蓝（hover 强调） */
  --r: #E53E3E;   /* 品牌红 */
  --rd: #C53030;  /* 深红 */
  --deep: #0A1F36;/* 页脚深蓝 */
  --w: #FFFFFF;
  /* 桥网-50 阶段A：语义色一律引用令牌（融合雕刻基底 #EDEFF3 ＋ 语义文字/描边），
     品牌蓝红与 --w 白字按钮保留硬值；深色由阶段B 在 tokens.css 一处切换。 */
  --bg: var(--qy-bg, #EDEFF3);
  --c: var(--qy-bg, #EDEFF3);
  --g: var(--c-g, #5b6b7b);
  --t: var(--c-ink, #1a2733);
  --l: var(--c-line, #dfe4ea);
  --ink: var(--c-ink, #1a2733);
  --line: var(--c-line, #dfe4ea);
}

/* 桥网-50 阶段A：body 兜底统一融合雕刻基底（覆盖未自设 body 背景的页面） */
body {
  background: var(--bg, var(--qy-bg, #EDEFF3));
  color: var(--t, var(--c-ink, #1a2733));
}

/* 图标兜底（桥网-34）：任意 <svg> 不因缺失显式尺寸而撑满容器；
   正常场景由具体类（.sb-link svg 14px / Hero 图标 20px 等）精确控制。 */
svg { max-width: 100%; height: auto; }

/* ============ 页头（固定顶部） ============ */
.qy-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-top: 3px solid var(--r);   /* 品牌红细线（顶部点缀） */
}

/* ============ 左侧快捷边栏（桥网-37：原顶部快捷条左置改版） ============
   设计：深蓝渐变毛玻璃面板 + 小标题 + 两个入口（玻璃胶囊 / 品牌红 CTA）+ 公司名小字
   定位：fixed 左侧垂直居中，z-index 低于页头（header 1000），滚动不随动
   显示策略：桌面宽屏（≥1360px）显示；中等屏以下隐藏（导航内已有同入口，避免遮挡内容） */
.qy-sidebar {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 172px;                       /* 桥网-37⑥：132→172 让9字公司名不被压缩 */
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 31, 54, 0.92) 0%, rgba(15, 43, 71, 0.88) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(10, 31, 54, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;                    /* 桥网-37⑥：12→13 提升可读性 */
}
/* 小标题：13px 上间距 + 品牌红短竖线 + 大写字母间距 */
.qy-sidebar .sb-cap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 2px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.qy-sidebar .sb-cap::before {
  content: "";
  width: 3px; height: 11px; border-radius: 2px;
  background: var(--r); flex: none;
}
/* 政策查询终端：玻璃胶囊（blur + 细描边），垂直排布时占满宽度 */
.qy-sidebar .sb-link {
  display: flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;   /* 桥网-37⑥：12.5→13 */
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.qy-sidebar .sb-link svg { width: 14px; height: 14px; display: block; flex: none; transition: transform 0.2s; }
.qy-sidebar .sb-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}
.qy-sidebar .sb-link:hover svg { transform: translateX(1px); }
/* 免费自评入口：品牌红实心胶囊 CTA */
.qy-sidebar .sb-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--r); color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;    /* 桥网-37⑥：12.5→13 */
  box-shadow: 0 3px 10px rgba(229, 62, 62, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.qy-sidebar .sb-cta svg { width: 14px; height: 14px; display: block; flex: none; transition: transform 0.2s; }
.qy-sidebar .sb-cta:hover {
  background: var(--rd);
  transform: translateX(2px);
  box-shadow: 0 5px 16px rgba(229, 62, 62, 0.38);
}
.qy-sidebar .sb-cta:hover svg { transform: translateX(1px); }
/* 公司名：底部小字（11px 浅蓝灰）+ 品牌红左点缀线 */
.qy-sidebar .sb-name {
  display: flex; align-items: center; gap: 6px;
  padding: 2px 2px 0;
  font-size: 11.5px; color: rgba(255, 255, 255, 0.55); white-space: nowrap;   /* 桥网-37⑥：11→11.5 */
}
.qy-sidebar .sb-dot {
  width: 3px; height: 11px; border-radius: 2px; background: var(--r); flex: none;
}
/* 减弱动效：关闭入口 hover 位移 */
@media (prefers-reduced-motion: reduce) {
  .qy-sidebar .sb-link,
  .qy-sidebar .sb-cta,
  .qy-sidebar .sb-link svg,
  .qy-sidebar .sb-cta svg {
    transition: none !important;
    transform: none !important;
  }
}
/* 显示策略：桌面宽屏显示；≤1439px 隐藏（导航内已有政策查询/免费自评入口，避免遮挡内容） */
@media (max-width: 1439px) {
  .qy-sidebar { display: none; }
}

/* 主导航行（v1.2 §七 毛玻璃：浅底玻璃 rgba(255,255,255,.84) + blur(20px) saturate(1.2) + 1px 细边） */
.qy-navrow {
  position: relative;            /* 移动端菜单锚定 */
  background: var(--glass-light-bg);
  -webkit-backdrop-filter: var(--glass-light-blur);
  backdrop-filter: var(--glass-light-blur);
  border-bottom: 1px solid var(--glass-light-border);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
/* 滚动后加深至 .90（site.js 给 .qy-header 加 .scrolled） */
.qy-header.scrolled .qy-navrow {
  background: var(--glass-light-bg-scrolled);
}
/* 强制降级：不支持 backdrop-filter 时回退实色（§七 @supports 降级） */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qy-navrow { background: var(--glass-light-fallback); }
  .qy-header.scrolled .qy-navrow { background: var(--glass-light-fallback); }
}

/* 品牌区：直接复用 brand.css 官方 .brand 组件（图形 40px、文字=40×0.618=24.7px、中英并排 baseline、
   英文浅底旧蓝渐变、中文红 #E53E3E）。此处不覆盖字号/颜色/排布，避免违反 v1.1 §二。 */
.qy-navrow .brand { --brand-graphic-size: 40px; flex: none; }

.qy-navrow .links { display: flex; gap: 18px; align-items: center; }
.qy-navrow .links > a {
  text-decoration: none; color: var(--g); font-size: 13.5px; font-weight: 500;
  transition: color .2s; position: relative; padding: 6px 0; white-space: nowrap;
}
.qy-navrow .links > a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--r); transition: width .3s;
}
.qy-navrow .links > a:hover, .qy-navrow .links > a.active { color: var(--d); }
.qy-navrow .links > a:hover::after, .qy-navrow .links > a.active::after { width: 100%; }

/* 产品下拉 */
.qy-navrow .drop { position: relative; }
.qy-navrow .drop > a { text-decoration: none; color: var(--g); font-size: 13.5px; font-weight: 500; padding: 6px 0; white-space: nowrap; position: relative; }
.qy-navrow .drop > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--r); transition: width .3s; }
.qy-navrow .drop:hover > a, .qy-navrow .drop > a.active { color: var(--d); }
.qy-navrow .drop:hover > a::after, .qy-navrow .drop > a.active::after { width: 100%; }
.qy-navrow .drop-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: -10px;
  background: var(--w); border: 1px solid var(--l); border-radius: 10px;
  padding: 6px; min-width: 200px; box-shadow: 0 10px 28px rgba(27,58,92,.12); z-index: 60;
}
.qy-navrow .drop:hover .drop-menu, .qy-navrow .drop:focus-within .drop-menu { display: block; }
.qy-navrow .drop-menu a {
  display: block; padding: 8px 14px; border-radius: 7px; font-size: 13px;
  color: var(--t); text-decoration: none; white-space: nowrap;
}
.qy-navrow .drop-menu a:hover { background: var(--qy-bg-soft, #f6f7f9); color: var(--r); }

/* 订购报价按钮 */
.qy-navrow .quote-btn {
  display: inline-block;
  background: var(--r);
  color: #fff; padding: 8px 18px; border-radius: 999px; text-decoration: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(229,62,62,.22);
}
.qy-navrow .quote-btn:hover { background: var(--rd); }

/* 云版入口按钮（桥网-01｜云版商业化 阶段 4，崔董事长 2026-09-13 批准）
   取色依据：① 商标色板内取【主深蓝 #1B3A5C】（brand.css v1.7／品牌规则 v1.2 §三）；
             ② 《全端CTA策略调整方案 v1》定"官网页面每页 1 个主 CTA"，该名额已由
                「订购报价／免费自评」品牌红占用 → 云版入口不再用红，避免双红争位；
             ③ 主深蓝实心与首页 hero「快速开始」面板 .hg-entry 同源（design-system.css §17 已用同色），
                用户在两处看到的是同一视觉语言。
   形态：实色底＋无 blur＋无边框＋圆角 pill，符合融合雕刻语言；hover 取亮蓝 --a（hover 强调专用，
         site.css :root 注释明确 --b 页头页脚不直接取用，故不用 --b）。 */
.qy-navrow .cloud-btn {
  display: inline-flex; align-items: center;
  background: var(--d); color: var(--w); padding: 8px 18px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(27, 58, 92, 0.24);
  transition: background var(--motion-fast, 200ms) var(--ease-out, ease-out),
              transform var(--motion-fast, 200ms) var(--ease-out, ease-out);
}
.qy-navrow .cloud-btn:hover { background: var(--a); color: var(--w); }
@media (hover: hover) {
  .qy-navrow .cloud-btn:hover { transform: translateY(-1px); }
}
.qy-navrow .cloud-btn:active { transform: translateY(1px); }
.qy-navrow .cloud-btn:focus-visible {
  outline: var(--focus-ring, 2px solid #E53E3E);
  outline-offset: var(--focus-offset, 2px);
}
/* 移动端折叠菜单内的同款入口：桌面端不渲染（桥网-01 ③） */
.qy-navrow .cloud-btn-m { display: none; }

/* 菜单按钮（移动端） */
.qy-navrow .menu-btn {
  display: none; background: none; border: 1px solid var(--l); color: var(--d);
  border-radius: 6px; padding: 6px 10px; font-size: 16px; cursor: pointer; line-height: 1;
}

/* 移动端（导航 10 项，菜单锚定 navrow 底部，避免与顶部条错位） */
@media (max-width: 900px) {
  .qy-navrow .menu-btn { display: block; }
  .qy-navrow .quote-btn { display: none; }
  .qy-navrow .cloud-btn { display: none; }   /* 桥网-01：桌面 pill 让位，改由折叠菜单内的 .cloud-btn-m 承担 */
  .qy-navrow .links { display: none; }
  /* 桥网-01：折叠菜单内的云版入口，收起态显式不渲染。
     必须显式写：design-system.css 的 ≤900px 规则给 .qy-navrow .links > a 设了 display:inline-flex，
     若不在此处压回 none，一旦 .links 因其他原因可见，未展开的菜单会漏出裸样式按钮。 */
  .qy-navrow .links > a.cloud-btn-m { display: none; }
  .qy-header.open .qy-navrow .links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--w);
    border-bottom: 1px solid var(--l); padding: 14px 24px 18px;
    gap: 12px; align-items: flex-start; box-shadow: 0 16px 32px rgba(27,58,92,.10);
  }
  .qy-navrow .drop { width: 100%; }
  .qy-navrow .drop-menu { position: static; box-shadow: none; border: none; padding: 4px 0 0 12px; display: block; }
  .qy-navrow .drop-menu a { padding: 7px 10px; }

  /* 桥网-01 ③：折叠菜单内的云版入口（与页头 .cloud-btn 同款主深蓝 pill）
     特异性 0,5,2 ＞ design-system.css §17.12 的 body .qy-navrow .links > a（0,2,2），
     故 !important 对抗中仍为本处胜出；触控目标 ≥44px（品牌规则 v1.2 §九.4）。 */
  .qy-header.open .qy-navrow .links > a.cloud-btn-m {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: var(--d); color: var(--w) !important;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(27, 58, 92, 0.24);
  }
  .qy-header.open .qy-navrow .links > a.cloud-btn-m::after { display: none; }   /* 去掉导航红色下划线 */
  .qy-header.open .qy-navrow .links > a.cloud-btn-m:hover { background: var(--a); color: var(--w) !important; }
  .qy-header.open .qy-navrow .links > a.cloud-btn-m:focus-visible {
    outline: var(--focus-ring, 2px solid #E53E3E);
    outline-offset: var(--focus-offset, 2px);
  }
}

/* ============ 页脚四列分层 ============ */
.qy-footer {
  background: var(--deep);
  border-top: 3px solid var(--r);     /* 品牌红顶边线 */
  padding: 40px 24px 26px;
  color: rgba(255,255,255,.72);
}
.qy-footer .fgrid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.qy-footer .fcol h4 {
  font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.qy-footer .fcol h4::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 28px; height: 2px; background: var(--r);
}

/* 品牌区：复用官方 .brand（深底适配见下方 .qy-footer .brand 覆盖） */
.qy-footer .fbrand { display: flex; flex-direction: column; gap: 12px; }
/* 品牌简介：分层品牌块 —— 限制宽度 + 品牌红小竖线克制装饰 + 提高可读性 */
.qy-footer .fbrand .fintro {
  max-width: 320px; margin: 0;
  font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.72);
  padding-left: 12px; border-left: 2px solid var(--r);
}

/* 页脚深底适配：英文 BridgeCloud 改白色（浅底旧蓝渐变在深海军蓝底不可见），
   中文桥云恒为红 #E53E3E（brand.css 官方默认，不覆盖）；图形商标无白底/边框/内边距（由官方 .brand .graphic 控制）。 */
.qy-footer .brand { --brand-en-fallback: #fff; text-decoration: none; }
.qy-footer .brand .en {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: #fff; color: #fff;
}

/* 产品与服务 / 合作与关注 链接列 */
.qy-footer .fcol ul { list-style: none; padding: 0; margin: 0; }
.qy-footer .fcol ul li { margin-bottom: 9px; }
.qy-footer .fcol ul li a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; transition: color .2s; }
.qy-footer .fcol ul li a:hover { color: var(--r); }

/* 公司信息 */
.qy-footer .fcol .fl { font-size: 13px; color: rgba(255,255,255,.72); line-height: 2; }
.qy-footer .fcol .fl a { color: rgba(255,255,255,.72); text-decoration: none; }
.qy-footer .fcol .fl a:hover { color: var(--r); }
.qy-footer .fcol .fl .k { color: rgba(255,255,255,.5); }

/* 底部深底区（版权条 + 法务链接行 并入同一 recessed 面板，与四列内容区分层） */
.qy-footer .fbottom-wrap {
  max-width: 1140px; margin: 26px auto 0; padding: 16px 18px 14px;
  background: #07182B;                       /* 比页脚 #0A1F36 更深，形成分层 */
  border-radius: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
/* 版权条：三组信息（版权｜云版平台｜小程序）用竖分隔符组织 */
.qy-footer .fbottom {
  display: flex; justify-content: center; flex-wrap: wrap;
  align-items: center; gap: 4px 14px;
  font-size: 12px; color: rgba(255,255,255,.55);
  padding: 0;
}
.qy-footer .fbottom .cp { white-space: nowrap; }
.qy-footer .fbottom .plat a { color: rgba(255,255,255,.6); text-decoration: none; }
.qy-footer .fbottom .plat a:hover { color: #fff; }
.qy-footer .fbottom .mini { color: rgba(255,255,255,.55); white-space: nowrap; }
.qy-footer .fbottom .tb-sep { color: rgba(255,255,255,.28); }

/* 法务链接行（并入版权条同一深底区域，居中排列） */
.qy-footer .flegal-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
  padding: 10px 0 0;
}
.qy-footer .flegal-row a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 11.5px; transition: color .2s; }
.qy-footer .flegal-row a:hover { color: var(--r); }

/* 桥网-42：全站 AI 内容声明（页脚统一注入，深底区小字，覆盖全部上线页） */
.qy-footer .fai-decl {
  display: flex; justify-content: center; flex-wrap: wrap; align-items: center;
  gap: 4px 10px; padding: 10px 0 0;
  font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.42);
}
.qy-footer .fai-decl .fai-disc { font-weight: 600; color: rgba(255,255,255,.6); }
.qy-footer .fai-decl .fai-sep { color: rgba(255,255,255,.28); }
.qy-footer .fai-decl .fai-review { color: rgba(255,255,255,.42); }

/* 备案行（各页静态 footer-icp，深蓝底衔接页脚；inline 样式优先级高，故用 !important 统一定义） */
.footer-icp {
  background: #0A1F36 !important;            /* 深蓝底，与页脚衔接 */
  color: rgba(255,255,255,.5) !important;    /* 浅灰小字 */
  text-align: center !important;
  font-size: 12px !important;
  padding: 10px 16px 18px !important;
}

/* 页脚响应式：桌面4列 / 平板2列 / 手机1列 */
@media (max-width: 860px) {
  .qy-footer .fgrid { grid-template-columns: repeat(2, 1fr); gap: 26px 24px; }
}
@media (max-width: 520px) {
  .qy-footer .fgrid { grid-template-columns: 1fr; }
  .qy-footer .fbottom { flex-direction: column; }
}
