/* ==========================================================================
   谢向导官网 · 移动端适配系统 _m.css        v2026-11-02
   专项：≤768px 移动端重构 —— 信息密度 × 视觉呼吸感

   量化基准（全站统一，不逐页另设）：
     · 模块上下间距        32px / 40px
     · 卡片与区块左右内距  16px / 20px
     · 触控区域            ≥ 44 × 44px
     · 长文本              行高 1.6–1.8，最小字号 14px，段间距 8px
     · 表格                外层 overflow-x 横向滚动，不压缩变形
     · 顶部导航            汉堡菜单 → 全屏导航层
     · 悬浮操作组          固定底部栏，不再遮挡内容

   断点：导航 / 底部栏 ≤900px（沿用原汉堡断点）
        排版 / 间距 ≤768px（本次专项）　超窄屏兜底 ≤380px
   加载要求：本文件必须排在 _a.css 与各页内联 <style> 之后（各页 </head> 前引入）
   ========================================================================== */


/* ==========================================================
   一、全局间距与留白（≤768px）
   ========================================================== */
@media (max-width: 768px) {

  .wrap { padding: 0 16px; }

  .sec { padding: 28px 0; }
  .section { padding: 10px 16px; margin-bottom: 26px; }
  .sec-title, .section-title { margin: 0 0 14px; padding: 0 0 8px; font-size: 20px; }
  .sec-t, .grp { margin: 14px 0 8px; }

  .header { padding-top: 28px; padding-bottom: 22px; }
  .hero { padding-top: 26px; padding-bottom: 14px; }
  .sheet { margin: 16px auto; padding: 0 16px; }
  .case-box { padding: 14px; margin: 12px 0; }
  .badges { margin: 14px 0 0; }
  .slogan-sec { padding: 28px 16px 24px; }
  .trust { padding: 0 16px; }
  .hero2 { padding: 28px 0 30px; }
  .hero2-grid { padding: 0 16px; gap: 18px; }
  .about2 { padding: 28px 0; }
  .v-grid { gap: 10px; }
  .boards { gap: 10px; }

  /* 卡片与区块内边距统一 */
  .card, .gcard, .wcard, .cell { padding: 20px 16px; }
  .vcard { padding: 20px 16px; }
  .pain-card { padding: 24px 20px; }
  .dmod .dm { padding: 16px; }
  .dsec { padding: 16px 16px 10px; }
}


/* 二、首屏精简（旧版）已于 2026-11-05 作废，重构见文末「十一、首屏重构 v1107a」 */

/* ==========================================================
   二·补、顶栏移动端精简（≤768px）
       次要按钮让位，logo 与返回链接不折行、不挤压
   ========================================================== */
@media (max-width: 768px) {
  .nav-inner, .nav .row, .topbar-in { padding: 0 16px; }
  .nav-inner, .topbar-in { height: 54px; }
  .nav .row { flex-wrap: nowrap; }

  .nav .brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .nav .brand > span { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  .nav .brand b { font-size: 16px; white-space: nowrap; }
  .nav .brand small {
    font-size: 14px; color: #8B97AC; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .nav .row .brand {
    flex: 0 1 auto; min-width: 0; font-size: 16px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .nav .home { flex: 0 0 auto; font-size: 14px; white-space: nowrap; }
  .topbar-in .brand { font-size: 16px; white-space: nowrap; }

  /* 「加微信」在移动端由全屏菜单 + 底部「立即咨询」承担，避免挤掉 logo */
  .nav-cta { display: none; }

  /* 汉堡按钮不被 flex 压缩 */
  .nav .nav-toggle { flex: 0 0 auto; }
  .m-burger { flex: 0 0 auto; }

  /* 返回链接：移动端只保留箭头，文字让位给标题 */
  .lnk-arrow { display: inline-block; font-size: 16px; line-height: 1; }
  .lnk-txt { display: none; }
  .nav .home, .nback, .topbar-in .back { font-size: 16px; }
}
@media (max-width: 480px) {
  .nav .row .brand { font-size: 14px; }
}
@media (max-width: 360px) {
  .nav .brand small { display: none; }
}


/* ==========================================================
   三、长文本可读性（≤768px）
   ========================================================== */
@media (max-width: 768px) {

  .dsec li { font-size: 16px; line-height: 1.75; padding: 10px 0 10px 19px; }
  .dsec p { font-size: 16px; line-height: 1.8; margin: 0 0 8px; }
  .dsec .dm-t { margin-bottom: 8px; }
  .dm-d, .dmod .dm-d { font-size: 14px; line-height: 1.75; }
  .faq-a { font-size: 16px; line-height: 1.75; }
  .lead, .pol-lead { font-size: 16px; line-height: 1.75; }
  .gcard p, .wcard p, .card p { font-size: 14px; line-height: 1.75; margin: 0 0 8px; }
  .gcard p:last-child, .wcard p:last-child, .card p:last-child { margin-bottom: 0; }
  .vcard p { font-size: 14px; line-height: 1.75; }
  .pain-card p { font-size: 16px; line-height: 1.8; }
  .case p, .cd, .pt { font-size: 16px; line-height: 1.75; }

  /* 中文竖排隐患：关闭 break-word（窄容器会逐字竖排） */
  .dsec li, .dsec p, .faq-a, .lead, .pol-lead, .gcard p, .wcard p, .card p,
  .vcard p, .pain-card p, .data-table td, .data-table th {
    word-break: normal; overflow-wrap: anywhere;
  }
}


/* ==========================================================
   四、表格横向滚动容器（不压缩变形）
   ========================================================== */
.tbl-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 14px 0 4px; border-radius: 10px;
}
.tbl-scroll .data-table { margin: 0; }
.tbl-hint { display: none; }   /* 默认不显示，仅当内容真实溢出时（JS 加 .can-scroll）才显示 */
@media (max-width: 768px) {
  .tbl-scroll { margin: 14px 0 4px; border-radius: 10px; padding: 0; }
  /* 不再强制 min-width，让表格按容器宽度自适应；只有真正溢出的表才会横滑 */
  .tbl-scroll .data-table { width: 100%; font-size: 14px; }
  .tbl-scroll .data-table th,
  .tbl-scroll .data-table td { padding: 10px 12px; line-height: 1.65; }
  .tbl-scroll .data-table th:first-child { width: 26%; }
  /* 滑动提示：仅当 .tbl-scroll.can-scroll（JS 检测溢出后添加）才出现 */
  .tbl-scroll.can-scroll .tbl-hint {
    display: block; font-size: 14px; color: #8B97AC; text-align: center;
    margin: 0 0 20px; letter-spacing: .5px;
  }
}


/* ==========================================================
   五、全屏导航层（≤900px）
   ========================================================== */
@media (max-width: 900px) {

  /* 顶栏层级抬到导航层之下，避免底部 tabbar 压在菜单上 */
  .nav, .topbar { z-index: 260; }

  /* index.html 既有复选框方案 → 升级为右侧滑入面板 + 遮罩（顶级体验） */
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 290;
    background: rgba(15, 23, 42, .5);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s cubic-bezier(.22,1,.36,1), visibility .3s cubic-bezier(.22,1,.36,1);
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: 84vw; max-width: 360px; z-index: 300;
    background: #fff !important; border-bottom: 0;
    display: flex; flex-direction: column; align-items: stretch;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
    padding: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .22);
  }
  .nav-toggle-cb:checked ~ .nav-links { transform: translateX(0); display: flex; }
  .nav-links label { display: block; }
  .nav-links > label > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px; font-size: 16px;
    min-height: 50px; border-bottom: 1px solid #EFF2F6; color: #1B3A6B; font-weight: 700;
  }
  /* 菜单头部：品牌 + 关闭按钮（由 JS 注入 .m-head） */
  .nav-links .m-head {
    display: flex; align-items: center; gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
    border-bottom: 1px solid #EFF2F6; flex: 0 0 auto;
  }
  .nav-links .m-head .m-logo { width: 30px; height: 30px; flex: 0 0 auto; }
  .nav-links .m-head b { font-size: 16px; color: #1B3A6B; line-height: 1.2; }
  .nav-links .m-head small { display: block; font-size: 14px; color: #8B97AC; }
  .m-close {
    margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
    font-size: 24px; line-height: 1; color: #1B3A6B; cursor: pointer; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
  }

  /* 首页汉堡按钮：扩大为 44×44 触控区 */
  .nav .nav-toggle { width: 44px; height: 44px; }
  .nav .nav-toggle::before, .nav .nav-toggle::after, .nav .nav-toggle i {
    left: 9px; width: 26px;
  }
  .nav .nav-toggle::before { top: 15px; }
  .nav .nav-toggle i { top: 21px; }
  .nav .nav-toggle::after { top: 27px; bottom: auto; }

  /* 内页注入式汉堡 + 右侧滑入面板 + 遮罩（顶级体验） */
  .m-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent;
    padding: 0; position: relative; cursor: pointer;
  }
  .m-burger::before, .m-burger::after, .m-burger i {
    content: ""; position: absolute; left: 9px; width: 26px; height: 2.5px;
    background: #1B3A6B; border-radius: 2px;
  }
  .m-burger::before { top: 14px; }
  .m-burger i { top: 21px; }
  .m-burger::after { top: 28px; }
  .m-navgrp { margin-left: auto; display: flex; align-items: center; gap: 6px; }

  /* 遮罩层 */
  .m-backdrop {
    position: fixed; inset: 0; z-index: 290;
    background: rgba(15, 23, 42, .5);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s cubic-bezier(.22,1,.36,1), visibility .3s cubic-bezier(.22,1,.36,1);
  }
  .m-backdrop.show { opacity: 1; visibility: visible; }

  /* 右侧滑入面板 */
  .m-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 84vw; max-width: 360px; z-index: 300;
    background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
    box-shadow: -12px 0 40px rgba(15, 23, 42, .22);
  }
  .m-menu.open { transform: translateX(0); }

  /* 面板头部：品牌 + 关闭 */
  .m-head {
    display: flex; align-items: center; gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
    border-bottom: 1px solid #EFF2F6; flex: 0 0 auto;
  }
  .m-head .m-logo { width: 30px; height: 30px; flex: 0 0 auto; }
  .m-head b { font-size: 16px; color: #1B3A6B; line-height: 1.2; }
  .m-head small { display: block; font-size: 14px; color: #8B97AC; }
  .m-close {
    margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
    font-size: 24px; line-height: 1; color: #1B3A6B; cursor: pointer; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
  }

  /* 菜单列表（可滚动） */
  .m-list { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0; }
  .m-menu .m-list a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; padding: 13px 20px; font-size: 16px; font-weight: 700;
    color: #1B3A6B; border-bottom: 1px solid #EFF2F6; text-decoration: none;
  }
  /* 菜单项线性图标：左图-中字-右箭头（顶级线性标识） */
  .nav-links > label > a, .m-menu .m-list a { gap: 12px; }
  .nav-links > label > a .mi, .m-menu .m-list a .mi { width: 21px; height: 21px; flex: 0 0 auto; color: #8B97AC; }
  .nav-links > label > a .mt, .m-menu .m-list a .mt { flex: 1 1 auto; min-width: 0; text-align: left; color: #1B3A6B; font-weight: 700; }
  .nav-links > label > a .mv, .m-menu .m-list a .mv { color: #C7D2E4; font-size: 20px; line-height: 1; flex: 0 0 auto; }

  /* 底部 CTA + 联系方式 */
  .m-foot {
    flex: 0 0 auto; margin-top: auto; padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #F4F7FB; border-top: 1px solid #EFF2F6;
  }
  .m-foot .m-cta {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 48px; border-radius: 10px; background: #D4AF37; color: #0F172A;
    font-size: 16px; font-weight: 800; text-decoration: none; margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(138,106,20,.28);
  }
  .m-foot .m-meta { font-size: 14px; color: #4A5A78; line-height: 1.8; }
  .m-foot .m-meta a { color: #8A6A14; font-weight: 800; text-decoration: none; }


  /* 底部 CTA 栏里的联系方式是行内链接，不是菜单项：复原高度与内距 */
  .nav-links .m-foot .m-meta a, .m-menu .m-foot .m-meta a {
    display: inline; min-height: 0; padding: 0; border: 0;
    font-size: 14px; line-height: 1.6; color: #8A6A14; font-weight: 800;
  }
  .m-foot .m-meta { font-size: 14px; line-height: 1.6; }

  body.nav-open { overflow: hidden; }
}


/* ==========================================================
   六、底部固定操作栏（≤900px）：悬浮按钮组 → 底栏
   ========================================================== */
@media (max-width: 900px) {

  .fab-wrap {
    position: fixed; left: 0; right: 0; bottom: var(--tabbar-h, 60px);
    z-index: 75; flex-direction: row; align-items: center; gap: 8px;
    padding: 6px 12px; background: #fff;
    border-top: 1px solid #D5DDEA; box-shadow: 0 -4px 14px rgba(15, 23, 42, .06);
  }
  .fab-wrap .fab-consult {
    flex: 1 1 auto; height: 44px; justify-content: center; border-radius: 8px;
    font-size: 14px; padding: 0 12px; box-shadow: none;
  }
  .fab-wrap .fab-tg { display: none; }          /* 与底栏「推荐」重复 */
  .fab-wrap .topbtn {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px;
    opacity: 1; visibility: visible; box-shadow: none;
  }
  body:not(.has-tabbar) .fab-wrap { bottom: 0; }

  /* 底部留白：内容不被「操作栏 + 导航栏」遮挡 */
  body.has-fab {
    padding-bottom: calc(var(--tabbar-h, 60px) + 58px + env(safe-area-inset-bottom, 0px));
  }
  body.has-fab:not(.has-tabbar) {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  footer.foot2 {
    padding-bottom: calc(var(--tabbar-h, 60px) + 58px + env(safe-area-inset-bottom, 0px));
  }
  .tabbar a { min-height: 44px; }
}


/* ==========================================================
   七、触控区域 ≥ 44 × 44px（≤768px）
   ========================================================== */
@media (max-width: 768px) {
  .btn, .hero2-cta:not(.hero2-cta-p2), .dcta, .cons-act, .cons-copy,
  .m-burger, .fab-consult, .topbtn {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  }
  /* 菜单项的 display 由第五节决定（flex/block），此处只补高度，别改写成 inline-flex */
  .m-menu .m-list a { min-height: 50px; }
  .nav-links > label > a { min-height: 46px; }
  .btn { padding: 13px 26px; }
  .cons-close { width: 44px; height: 44px; }
}


/* ==========================================================
   八、超窄屏兜底（≤380px：320/360 机型）
   ========================================================== */
@media (max-width: 380px) {
  .wrap { padding: 0 12px; }
  .sec { padding: 24px 0; }
  .section { padding: 10px 12px; margin-bottom: 22px; }
  .hero2 h1 { font-size: 20px; }
  .hero2-ctas .hero2-cta { padding: 14px 12px; font-size: 16px; }
  .card, .gcard, .wcard, .cell { padding: 18px 14px; }
  .tabbar a { font-size: 14px; }
  .tabbar a svg { width: 20px; height: 20px; }
  .m-menu .m-list a { font-size: 16px; }

  /* 电子名片页（card.html，自带样式）：标题行两个 nowrap 段在 320px 会顶出卡片 */
  .card-in { padding: 22px 16px 18px; }
  .title-line { display: block; font-size: 14px; line-height: 1.75; }
  .title-line .tt { white-space: nowrap; }
  .title-line .tsep { margin: 0 4px; }
}


/* ==========================================================
   九、深度重构强制覆盖（2026-11-03，用户精确指令，最高优先级）
   ========================================================== */
@media (max-width: 768px) {

  /* 1) 横向溢出：幽灵滚动清除 */
  html, body { overflow-x: hidden; width: 100%; max-width: 100%; }

  /* 2) 全局字号与行高 */
  body { font-size: 16px; line-height: 1.6; }

  /* 3) 首屏高度：min-height auto + 上下 40px */
  .hero2 { min-height: auto; padding-top: 28px; padding-bottom: 28px; }
  .hero, .header { min-height: auto; }

  /* 4) 主标题不换行超过 2 行 */
  .hero2 h1, .hero h1, .header h1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }

  /* 5) 卡片/区块内边距强制：左右留白 ≥16px */
  .card, .box, .gcard, .wcard, .vcard, .cell, .pain-card, .case-box,
  .dmod .dm, .contact-box, .card-show {
    padding: 16px 14px !important;
  }

  /* 6) 产品详情「刺痛大字」h2 / 痛点小标题：字号 22–24px */
  h2.sec-title, .dsec-t, .dsec .dm-t, .dsec-sub {
    font-size: 20px !important;
    line-height: 1.4;
  }

  /* 7) 触控区：按钮类 padding 12px 16px + 高度 ≥44px */
  button, .btn, .dcta, .hero2-cta, .nav-cta, .cons-act, .cons-copy {
    padding: 12px 16px; min-height: 44px; box-sizing: border-box;
  }
  /* 导航/菜单项：保证 44px 高度（padding 由布局决定，避免 tabbar 挤爆） */
  .tabbar a, .m-menu .m-list a, .nav-links > label > a, .f2-nav a, .prevnext a {
    min-height: 44px;
  }
}

/* ==========================================================
   九、桌面端兜底（>900px）：隐藏移动端注入式全屏菜单/汉堡
   防御：即便 JS 未在桌面端拦截，也不让 .m-menu 泄漏到页面底部。
   不写 !important，避免覆盖移动端 .m-menu.open 的 display:block；
   不隐藏 .m-navgrp，避免误伤其中被移入的 .home 返回链接。
   ========================================================== */
@media (min-width: 901px) {
  .m-menu { display: none; }
  .m-burger { display: none; }
}


/* ==========================================================================
   十、二维码识别抑制（2026-11-05 · 全端生效）
   网址二维码只要以 <img> 呈现，iOS 长按必然弹系统卡片「网站二维码 / 打开 xxx + 英文链接」。
   改为 CSS 背景图后系统不再把它当作独立图片资源做识别；配合禁用长按菜单彻底消除该卡片。
   ========================================================================== */
.cons-qr, .qr-img {
  background-image: url('qrcode.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;   /* 长按手势不命中该元素，iOS 不会把它当独立图片资源做二维码识别 */
}

/* ==========================================================================
   十一、首屏重构 v1107a（2026-11-07）
   真对标依据：390×844 真实视口实测（非引用口头范式）
     Stripe  h1 34px/400 · 首屏仅 1 个实心 CTA · 顶部留白约 110px · 整屏收口
     Linear  h1 38px/510 · 文字色 2 种 · 无卡片无投影
     Apple   h1 34px/600 · 正文默认 17pt · 4 档字阶
   改前实测：h1 34px/800、5 种文字色、2 个并列 CTA、下一模块被切成半截标题。
   目标：1 个焦点 / 1 个主 CTA / 4 档字阶 / 主色 3 族 / 一屏完整收口。
   ========================================================================== */
@media (max-width: 768px) {
  /* 整屏收口：内容垂直居中，顶部留白对标 Stripe；下一模块从第二屏开始 */
  .hero2 {
    display: flex !important; align-items: center !important;
    min-height: calc(100vh - 122px) !important;
    min-height: calc(100svh - 122px) !important;
    padding: 40px 0 32px !important;
    background: #fff !important; box-sizing: border-box !important;
  }
  .hero2-grid {
    display: flex !important; flex-direction: column !important;
    gap: 0 !important; padding: 0 20px !important;
    width: 100% !important; max-width: 100% !important; margin: 0 !important;
  }
  .hero2-emblem, .hero2-tag { display: none !important; }
  .hero2-txt { order: 1 !important; display: block !important; width: 100% !important; }

  /* 顶栏已有品牌，h1 不再重复「谢向导」；字重 800->700 避免中文黑体糊成块 */
  .hero2 h1 {
    display: block !important; overflow: visible !important;
    margin: 0 !important; padding: 0 !important; max-width: 100% !important;
    font-size: 32px !important; line-height: 1.28 !important;
    font-weight: 700 !important; color: #0F172A !important; letter-spacing: -.5px !important;
  }
  .hero2 h1 .h-name, .hero2 .h2sep { display: none !important; }
  .hero2 .nowrap9 {
    display: block !important; white-space: normal !important;
    font-size: 32px !important; line-height: 1.28 !important;
    font-weight: 700 !important; color: #0F172A !important; letter-spacing: -.5px !important;
  }
  .hero2-sub {
    margin: 18px 0 0 !important; font-size: 16px !important; line-height: 1.7 !important;
    color: #4A5A78 !important; font-weight: 400 !important; max-width: 100% !important;
  }

  /* 唯一主 CTA：深墨蓝实心、无投影；金色只作 3px 强调线（60-30-10） */
  .hero2-ctas {
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    gap: 0 !important; margin: 28px 0 0 !important;
  }
  .hero2-ctas .hero2-cta {
    display: flex !important; align-items: center !important; justify-content: center !important;
    min-height: 52px !important; margin: 0 !important; padding: 14px 18px !important;
    font-size: 16px !important; font-weight: 600 !important; letter-spacing: .5px !important;
    border-radius: 8px !important; text-align: center !important; box-sizing: border-box !important;
    background: #14213D !important; border: 0 !important; border-left: 3px solid #D4AF37 !important;
    color: #FFFFFF !important; box-shadow: none !important; text-decoration: none !important;
  }
  .hero2-ctas .hero2-cta:hover { background: #14213D !important; color: #FFFFFF !important; }

  /* 零风险承诺：紧贴主 CTA、左对齐，不再像居中免责小字 */
  .hero2-risk {
    margin: 12px 0 0 !important; font-size: 14px !important; line-height: 1.55 !important;
    color: #4A5A78 !important; font-weight: 400 !important; letter-spacing: 0 !important;
    text-align: left !important; padding-left: 10px !important;
    border-left: 2px solid #D4AF37 !important;
    text-wrap: balance !important;
  }

  /* 真人背书细带：去掉浅灰卡片与边框 */
  .hero2-side {
    order: 2 !important; display: flex !important; flex-direction: row !important;
    align-items: center !important; gap: 12px !important; width: 100% !important; max-width: none !important;
    margin: 24px 0 0 !important; padding: 0 !important; background: transparent !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  }
  .hero2-photo {
    width: 40px !important; height: 40px !important; flex: 0 0 40px !important;
    margin: 0 !important; border-radius: 50% !important; overflow: hidden !important;
    border: 2px solid #D4AF37 !important; box-shadow: none !important;
  }
  .hero2-photo img {
    width: 100% !important; height: 100% !important; object-fit: cover !important;
    display: block !important; border-radius: 50% !important;
  }
  .hero2-sign {
    margin: 0 !important; text-align: left !important; min-width: 0;
    font-family: 'PingFang SC','Microsoft YaHei',sans-serif !important;
    font-size: 14px !important; font-weight: 600 !important; color: #0F172A !important; line-height: 1.35 !important;
  }
  .hero2-sign span {
    display: block !important; margin-top: 3px !important; font-size: 14px !important;
    font-weight: 400 !important; color: #4A5A78 !important; line-height: 1.5 !important;
  }

  /* 次要入口：低承诺文字链，与主 CTA 拉开距离，不构成第二颗按钮 */
  .hero2-alt {
    order: 3 !important; display: flex !important; align-items: center !important;
    min-height: 44px !important; margin: 32px 0 0 !important; padding: 12px 0 0 !important;
    border-top: 1px solid #E8EDF5 !important;
    font-size: 14px !important; font-weight: 400 !important; color: #4A5A78 !important;
    text-decoration: none !important; width: 100% !important; box-sizing: border-box !important;
  }
  .hero2-alt::after { content: '\203A'; margin-left: 8px; font-size: 16px; color: #8A6A14; }
}
@media (max-width: 380px) {
  .hero2-grid { padding: 0 16px !important; }
  .hero2 h1, .hero2 .nowrap9 { font-size: 30px !important; }
  .hero2-sub { font-size: 16px !important; }
  .hero2-ctas .hero2-cta { font-size: 16px !important; }
}

/* 内页返回箭头：视觉保持紧凑，点击热区补足 44×44 */
@media (max-width: 900px) {
  .nav .row a.home, .nrow a.nback { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; box-sizing: border-box; }
}
/* 合同页「查看合同文本」按钮：触控区 39px → ≥44px */
@media (max-width: 900px) {
  .ct-link { min-height: 44px; padding: 12px 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
}
/* 名片页备案号链接：触控区补足 44px（不用 inline-flex，避免复活隐藏元素） */
.card-icp a, .icp a { display: inline-block; min-height: 44px; box-sizing: border-box; padding: 11px 2px; }

/* ==========================================================================
   十二、移动端首屏收敛为「单一底部入口」（≤900px）
   对标国务院客户端 / 银行类 App：固定入口只有一条 tabbar，
   第二层悬浮按钮条在首屏不出现，滚动超过 1 屏后才淡入。
   ========================================================================== */
@media (max-width: 900px) {
  .fab-wrap {
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    transition: opacity .25s ease, visibility .25s ease;
  }
  body.scrolled .fab-wrap {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
  }
}
/* ==========================================================================
   v1107c · 移动端首屏真对标修复（2026-11-07）
   依据：390×844 干净口径实测（_bench3.py），剔除 Linear/飞书/麦肯锡/华与华脏样本
     当前 fill=50%(全样本最低) / 视觉主体 36x36 / 无背景层 / firstY=212 / h1 32
     Stripe 187/65%/358x488 ; Apple 0/93%/734x500/有背景层 ; Notion 22/89%/h1 42
     得到 61%/有背景层 ; 招商 151/80%/有背景层
   目标：内容起点 ~124px、填充率 >=70%、人像成为视觉锚、极淡背景层承托留白。
   全部只调 CSS 顺序/尺寸/间距，HTML 与文案一字未动。
   ========================================================================== */
@media (max-width: 768px) {
  /* ① 背景层：极淡冷蓝渐变，不新增 DOM、不占布局；对标 Apple/得到/招商的"非纯白底" */
  .hero2 {
    background:
      radial-gradient(125% 82% at 100% 0%, rgba(27,58,107,.058) 0%, rgba(27,58,107,0) 70%),
      linear-gradient(180deg, #F9FBFE 0%, #FBFCFE 54%, #F3F6FB 100%) !important;
    align-items: flex-start !important;
    padding: 68px 0 40px !important;
  }
  /* ② 真人背书带前置到标题之上：IP 官网的信任锚，同时消掉顶部 190px 纯白空白 */
  .hero2-txt { order: 1 !important; }
  .hero2-side {
    order: 0 !important;
    margin: 0 0 26px !important;
    gap: 14px !important;
  }
  .hero2-photo {
    width: 64px !important; height: 64px !important; flex: 0 0 64px !important;
    border: 1px solid rgba(27,58,107,.14) !important;
  }
  /* ③ h1 提到 36px，对标 Notion 42 / 飞书 36 / Stripe 34 的中位上沿 */
  .hero2 h1, .hero2 .nowrap9 { font-size: 36px !important; line-height: 1.26 !important; }
  .hero2-sub { margin: 20px 0 0 !important; line-height: 1.78 !important; }
  /* ④ 拉开区块节奏，把填充率从 50% 提到 70%+，并让 14px 不再三处堆叠 */
  .hero2-ctas { margin: 34px 0 0 !important; }
  .hero2-risk { margin: 16px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; }
  .hero2-sign { font-size: 16px !important; }
  .hero2-alt { margin: 40px 0 0 !important; font-size: 16px !important; }
}
@media (max-width: 359px) {
  .hero2 h1, .hero2 .nowrap9 { font-size: 30px !important; }
  .hero2-photo { width: 56px !important; height: 56px !important; flex: 0 0 56px !important; }
}


/* ==========================================================================
   v1107e · 移动端首屏「骨架级」修复（2026-11-07）
   真对标：390x844 同一真实视口，干净样本目视 + 量化
     Apple   深色整屏 / 产品大图约占 45% 面积 / 内容铺满到屏底
     Stripe  渐变几何背景铺满整屏 / 单 CTA / 背景把留白变成设计
     得到    橙色 banner 占上 1/3，分类宫格与卡片连续铺满
     招商    彩色 banner 卡 + 宫格 + 信息卡连续铺满
   改前实测（本机截图 local390.png）：
     最后一行内容 y≈590，tabbar 顶 y≈780 → 下半屏约 190px 纯空白；
     视觉主体仅 64x64 人像（占首屏 1.2%）；右上 radial 渐变形成可见竖向色带；
     h1 36px 左右几乎贴边。
   根因：v1107a~d 四轮都在调字阶/间距/背景色，从未动「内容垂直分布 + 视觉主体面积」，
         属按下葫芦浮起瓢——顶部空白消了，底部空白冒出来。
   修复（v1107e 原案）：整屏垂直居中、人像放大成视觉锚、背景渐变平滑化、
         h1 降到 34px、末元素收口。HTML 与文案一字未动。
   2026-11-27 调整：用户拍板「收窄顶部留白，与 Stripe 一致」→ 本块 align-items
         center 改 flex-start、padding-top 24->54，细节见下方规则内注释。
   ========================================================================== */
@media (max-width: 768px) {
  .hero2 {
    /* 2026-11-27 收窄顶部留白 · 对标 Stripe 约 110px（本文件 :443 注释原值）：
       原 align-items:center + min-height:calc(100vh-122px) 把内容垂直居中，
       实测 390x844 主标题 y=286（留白 286px）；改 flex-start + padding-top:54px
       后首元素落 y≈110，主标题上移。min-height 保留＝下一模块仍从第二屏开始。 */
    align-items: flex-start !important;
    padding: 54px 0 28px !important;
    overflow: hidden !important;
    background:
      radial-gradient(110% 72% at 88% 8%, rgba(27,58,107,.052) 0%, rgba(27,58,107,0) 70%),
      linear-gradient(180deg, #FCFDFE 0%, #F8FAFD 52%, #F1F5FB 100%) !important;
  }
  .hero2-grid { padding: 0 20px !important; }
  .hero2 h1, .hero2 .nowrap9 { font-size: 34px !important; line-height: 1.3 !important; }
  .hero2-side { margin: 0 0 24px !important; gap: 16px !important; }
  .hero2-photo {
    width: 88px !important; height: 88px !important; flex: 0 0 88px !important;
    border: 1px solid rgba(27,58,107,.12) !important;
    box-shadow: 0 0 0 7px rgba(27,58,107,.045) !important;
  }
  .hero2-sub { margin: 18px 0 0 !important; }
  .hero2-ctas { margin: 30px 0 0 !important; }
  .hero2-risk { margin: 14px 0 0 !important; }
  .hero2-alt { margin: 30px 0 0 !important; }
}
@media (max-width: 380px) {
  .hero2-grid { padding: 0 16px !important; }
  .hero2 h1, .hero2 .nowrap9 { font-size: 30px !important; }
  .hero2-photo { width: 76px !important; height: 76px !important; flex: 0 0 76px !important; }
  .hero2-sub { font-size: 16px !important; }
  .hero2-ctas .hero2-cta { font-size: 16px !important; }
}
@media (max-width: 359px) {
  .hero2 h1, .hero2 .nowrap9 { font-size: 30px !important; }
  .hero2-photo { width: 64px !important; height: 64px !important; flex: 0 0 64px !important; }
}


/* v1107e-2 · 背景层承托留白：对标 Stripe 斜切渐变 / Linear 柔光圆（纯装饰，不占布局） */
@media (max-width: 768px) {
  .hero2 { position: relative !important; }
  .hero2::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    right: -180px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(27,58,107,.055) 0%, rgba(27,58,107,.026) 42%, rgba(27,58,107,0) 72%);
  }
  .hero2-grid { position: relative !important; z-index: 1 !important; }
}


/* v1107f · 移动端同款：整行描边行动条 + 右侧圆形箭头 + 按下反色反馈 */
@media (max-width: 768px) {
  .hero2-alt {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    width: 100% !important; min-width: 0 !important; min-height: 52px !important;
    margin: 28px 0 0 !important; padding: 0 14px 0 16px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(20,33,61,.28) !important; border-radius: 8px !important;
    background: rgba(255,255,255,.72) !important;
    font-size: 16px !important; font-weight: 600 !important; color: #0F172A !important;
    text-decoration: none !important; letter-spacing: .2px !important;
  }
  .hero2-alt::after {
    content: '\2192' !important; margin-left: 0 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; flex: 0 0 26px !important;
    border-radius: 50% !important; background: #14213D !important; color: #FFFFFF !important;
    font-size: 16px !important; font-weight: 600 !important; line-height: 1 !important;
  }
  .hero2-alt:active { background: #14213D !important; color: #FFFFFF !important; border-color: #14213D !important; }
  .hero2-alt:active::after { background: #D4AF37 !important; color: #0F172A !important; }
}


/* v1107g · 移动端：同款真按钮，整宽、文字居中、箭头紧跟文字、按下反色 */
@media (max-width: 768px) {
  .hero2-alt {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; min-width: 0 !important; min-height: 52px !important;
    margin: 28px 0 0 !important; padding: 0 18px !important; box-sizing: border-box !important;
    border: 1.5px solid #14213D !important; border-radius: 8px !important;
    background: #F4F7FC !important; color: #0F172A !important;
    font-size: 16px !important; font-weight: 600 !important; letter-spacing: .3px !important;
    text-align: center !important; box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
  }
  .hero2-alt::after {
    content: '\2192' !important; margin-left: 8px !important;
    display: inline !important; width: auto !important; height: auto !important; flex: 0 0 auto !important;
    border-radius: 0 !important; background: transparent !important; color: #8A6A14 !important;
    font-size: 16px !important; font-weight: 600 !important; line-height: 1 !important;
  }
  .hero2-alt:active { background: #14213D !important; color: #FFFFFF !important; }
  .hero2-alt:active::after { color: #D4AF37 !important; }
}

/* v1108c · 320 级短屏（宽≤359 且高≤620）：首屏内容上移，避免次级入口被固定 tabbar 压住。
   实测 320×568 下 .hero2-alt 中心 y≈509，tabbar 顶 y≈508，elementFromPoint 命中 NAV.tabbar。 */
@media (max-width: 359px) and (max-height: 620px) {
  .hero2 { padding-top: 8px !important; padding-bottom: 20px !important; }
  .hero2-side { margin: 0 0 12px !important; gap: 10px !important; }
  .hero2-sub { margin: 12px 0 0 !important; line-height: 1.6 !important; }
  .hero2-ctas { margin: 18px 0 0 !important; }
  .hero2-risk { margin: 10px 0 0 !important; }
  .hero2-alt { margin: 16px 0 0 !important; }
}

/* ============================================================
   触控区补齐：卡片主 CTA（2026-11-18）
   原 .more 行高约 22px，手机上难命中；仅移动端撑到 44px，桌面不动
   ============================================================ */
@media (max-width:768px){
  a.more{display:inline-flex;align-items:center;min-height:44px;padding:4px 0}
}

/* ==========================================================
   十二、平板适配（769–1024px）· 2026-12-04 新增
   背景：原断点只有 ≤900（导航抽屉）与 ≤768（排版），769–1024 之间是
         「桌面双栏 + 手机字号」混搭；更硬的一条是 .g4 只在 ≤760 变两栏，
         769–860 被挤成四个不足 170px 的窄条，一行四个字就折行。
   策略：不重做布局，只补中间密度——容器留白、区块节奏、列数三处收口。
        手机（≤768）与电脑（≥1025）的既有规则一律不动。
   ========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {

  /* 容器：比电脑收一档，比手机宽一档 */
  .wrap, .hero2-grid, .about2-grid, .v-grid { padding-left: 24px; padding-right: 24px; }

  /* 区块节奏：电脑 56 偏松，手机 28 偏紧，取 40 */
  .sec { padding: 40px 0; }
  .section { margin-bottom: 32px; }
  .hero2 { padding: 40px 0 44px; }
  .about2 { padding: 40px 0 42px; }

  /* 双栏：收 gap，别让文字栏被挤成窄条 */
  .hero2-grid { gap: 32px; }
  .about2-grid { gap: 32px; }

  /* 四栏 → 两栏：769–860 四栏每栏不足 170px，读不下去 */
  .g4 { grid-template-columns: 1fr 1fr; }

  /* 卡片内距：电脑 20 偏松，平板 18 刚好 */
  .card, .gcard, .wcard, .cell, .vcard { padding: 20px 18px; }
  .pain-card { padding: 22px 20px; }
  .dsec { padding: 16px 18px 10px; }

  /* 长文行宽：平板上 34em 会拉出一行 60+ 字，收到 30em 更好读 */
  .hero2-sub, .lead { max-width: 30em; }
}

/* 平板横屏（901–1024）：导航已回桌面态，只补间距，避免十项挤成一排 */
@media (min-width: 901px) and (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { padding-left: 14px; padding-right: 14px; }
}

/* ==========================================================
   十三、平板触控区补强（769–1024px）· 2026-12-04
   实测发现的存量缺口（原只给 ≤768 撑 44px，769–1024 整段落空）：
     · 平板横屏导航链接高 19px（横排文字，无 padding）
     · 「加微信」按钮高 41px（差 3px）
     · 「查看详情 →」高 23–25px（a.more 的 44px 规则只写在 ≤768）
   平板是触屏设备，这三个都是拇指真实命中的地方，按 ≥44px 补齐。
   ========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  a.more { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* ==========================================================
   十四、761–768 空隙修补 · 2026-12-04
   实测：.g4 的两栏规则写在 _a.css 的 ≤760，769–1024 由十二节接管，
        但 761–768 恰好落进空隙——iPhone 横屏与 iPad 竖屏正好 768，
        结果是「手机字号 + 四栏卡片」，每栏仅 ~175px，标题必折行。
   补一条即可，不动原 760 断点（避免连带其他页面）。
   ========================================================== */
@media (max-width: 768px) {
  .g4 { grid-template-columns: 1fr 1fr; }
}
