/* 首页专属样式：只由 index.html 加载，不加载 customer-journey.css、不加 journey-site 类。
   规范来源：reports/多角色审查/角色03-体验与视觉设计师.md 第四部分「视觉规范建议」。
   - 字号：H1 PC 56–60 / 手机 34–36；H2 36–40 / 24–28；正文 16–17 / 15–16；最小 14px
   - 容器：1200px 居中；区块上下留白 PC 120 / 平板 88 / 手机 64
   - 颜色 11 个（见下方变量）；主按钮纯色 #0a61b4；次要文字 #55667a
   - 圆角只用 0、8、12、999
   每个区块独立成段（S1–S8、弹窗），便于单独撤回。 */

/* ===== 0 基础：变量、容器、标题、按钮、链接 ===== */
body[data-page="home"]{
  --h-navy:#06182e;
  --h-navy-2:#0a2749;
  --h-blue:#0a61b4;
  --h-blue-hover:#08508f;
  --h-cyan:#75c4fc;
  --h-ink:#102641;
  --h-muted:#55667a;
  --h-on-dark:#c3d3e3;
  --h-on-dark-muted:#9aa7b5;
  --h-surface:#f3f7fb;
  --h-line:#dce6f0;
  --h-space:120px;
  --h-head-gap:56px;
  --muted:#55667a;
  color:var(--h-ink);
}
.h-wrap{width:min(1200px,calc(100% - 192px));margin-inline:auto}
.h-sec{position:relative;padding:var(--h-space) 0;background:#fff}
.h-sec[id]{scroll-margin-top:96px}
.h-soft{background:var(--h-surface)}
.h-dark{background:var(--h-navy);color:#fff}
.h-head{max-width:760px;margin:0 0 var(--h-head-gap)}
.h-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:0 0 var(--h-head-gap)}
.h-head-row .h-head{margin:0}
.h-eyebrow{margin:0 0 16px;color:var(--h-blue);font-size:15px;font-weight:700;letter-spacing:.12em}
.h-dark .h-eyebrow{color:var(--h-cyan)}
.h-h2{margin:0;font-size:40px;line-height:1.3;font-weight:800;letter-spacing:.02em;color:inherit}
.h-lead{max-width:640px;margin:20px 0 0;color:var(--h-muted);font-size:17px;line-height:1.85}
.h-dark .h-lead{color:var(--h-on-dark)}
.h-note{margin:0;color:var(--h-muted);font-size:15px;line-height:1.8}
.h-dark .h-note{color:var(--h-on-dark)}
.h-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border:1px solid transparent;border-radius:999px;font-size:16px;font-weight:700;line-height:1.3;letter-spacing:.02em;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.h-btn-primary{background:var(--h-blue);color:#fff;box-shadow:0 8px 20px rgba(10,97,180,.24)}
.h-btn-primary:hover{background:var(--h-blue-hover)}
.h-btn-ghost{background:transparent;border-color:rgba(255,255,255,.6);color:#fff}
.h-btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}
.h-btn-outline{background:#fff;border-color:var(--h-blue);color:var(--h-blue)}
.h-btn-outline:hover{background:var(--h-surface)}
.h-btn-white{background:#fff;color:var(--h-blue)}
.h-btn-white:hover{background:#e8f1fa}
/* 第二轮意见「小箭头优化」：首页文字链一律去掉「→」，统一成一种克制样式——品牌蓝加粗、常显浅色下划线，
   悬停时文字加深、下划线变实变粗；深色区用浅蓝。「我们具体能做什么」四张卡和单项委托的入口另做成描边轻按钮（见 S3） */
.h-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:none;color:var(--h-blue);font:inherit;font-size:16px;font-weight:700;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(10,97,180,.35);text-underline-offset:6px;transition:color .2s ease,text-decoration-color .2s ease,background-color .2s ease,border-color .2s ease}
.h-link:hover{color:var(--h-blue-hover);text-decoration-color:currentColor;text-decoration-thickness:2px}
.h-dark .h-link{color:var(--h-cyan);text-decoration-color:rgba(117,196,252,.45)}
.h-dark .h-link:hover{color:#fff;text-decoration-color:currentColor}
body[data-page="home"] main a:focus-visible,body[data-page="home"] main button:focus-visible,body[data-page="home"] main summary:focus-visible{outline:2px solid #1688e6;outline-offset:4px}

@media(max-width:1180px){
  body[data-page="home"]{--h-space:88px;--h-head-gap:48px}
  .h-h2{font-size:34px}
}
@media(max-width:600px){
  body[data-page="home"]{--h-space:48px;--h-head-gap:24px}
  .h-wrap{width:calc(100% - 40px)}
  .h-sec[id]{scroll-margin-top:72px}
  .h-head-row{flex-direction:column;align-items:flex-start;gap:12px}
  .h-sec .h-eyebrow{display:none}
  .h-h2{font-size:27px;line-height:1.4}
  .h-lead{margin-top:16px;font-size:16px}
  .h-note{font-size:14px}
  .h-btn{min-height:48px;padding:0 22px}
}
@media(prefers-reduced-motion:reduce){
  .h-btn,.h-link{transition:none}
}

/* ===== S1 首屏（保留深蓝大图与三图轮播；只换文字层） ===== */
/* 第二轮意见（负责人：按钮下面空得多）：去掉首屏小字后，文字块在页头以下的可见区里垂直居中（下边距 96→40，圆点仍在文字下方） */
.hero .hero-content{width:min(1200px,calc(100% - 192px));min-height:clamp(720px,37.5vw,1000px);padding-top:136px;padding-bottom:40px}
.hero .hero-copy.h-hero-copy{max-width:880px}
/* 负责人意见：恢复最初的通透大气——照片铺满整屏宽，左侧只用一层较轻的渐变压暗，不再是大块实心深蓝；
   文字区再叠一团边缘柔和的椭圆暗影保证可读（逐像素取样，导语、限定语在三张图上 ≥4.5），交界看不出硬边 */
.hero::after{background:linear-gradient(180deg,rgba(2,14,29,.02) 0%,rgba(2,14,29,.04) 62%,rgba(2,14,29,.42) 100%),linear-gradient(90deg,rgba(3,18,36,.5) 0%,rgba(3,18,36,.5) 22%,rgba(3,18,36,.4) 44%,rgba(3,18,36,.14) 62%,rgba(3,18,36,0) 78%)}
/* 第二轮意见（负责人：三个词太大、下面字太挤、不大气）：删去副标题「面向全国企业的用工服务」；H1 由 58px 缩到 46px、
   仍在第二个分隔点断成两行；导语压成一句；按钮与限定语之间拉开 56px。限定语仍留首屏（全站「全国」同屏带限定语） */
.hero .h-hero-eyebrow{margin:0 0 22px;color:var(--h-cyan);font-size:16px;font-weight:700;letter-spacing:.12em}
.hero h1{margin:0 0 30px;font-size:40px;line-height:1.34;font-weight:800;letter-spacing:.06em}
.hero h1 .h-h1-main{display:block;font-weight:800}
/* 复核回炉 N1：H1 各宽度一律在第二个分隔点处断成两行「人事外包 · 岗位外包」/「招聘外包」（照片人物在右侧，一行会伸到坐着男士头发处） */
.hero h1 .h-h1-sep{display:none;font-style:normal}
.hero h1 .h-h1-br{display:inline}
.hero .h-hero-lead{max-width:640px;margin:0;color:var(--h-on-dark);font-size:19px;line-height:1.8;letter-spacing:.02em}
.h-hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:44px}
.hero .h-hero-limit{max-width:640px;margin:56px 0 0;color:var(--h-on-dark);font-size:14px;line-height:1.75;opacity:.86}
.hero .hero-dots{bottom:14px}
/* 1920 宽以上（2K/4K 屏）：首屏按宽度等比加高（2560 宽约 960 高），站着的人不被切掉头；改用 3840 原图，不放大发虚 */
@media(min-width:1921px){
  .hero-slide-1{background-image:url("../images/hero-office-slide-1-3840.webp?v=20260721-carousel1")}
  .hero-slide-2{background-image:url("../images/hero-office-slide-2-3840.webp?v=20260721-carousel1")}
  .hero-slide-3{background-image:url("../images/hero-office-slide-3-3840.webp?v=20260721-carousel1")}
}

/* 复核回炉 N2｜1181–1366 宽：遮罩与 1920 同一思路（左侧轻渐变，人物处 ≤0.2），不再向右多压一段；
   照片靠左对齐（1181–1288 宽照片比首屏宽，人物随之右移约 0–54px，不压标题），导语收窄到 560px、少压人物 */
@media(min-width:1181px) and (max-width:1366px){
  .hero-slide{background-position:0% 43%}
  .hero::after{background:linear-gradient(180deg,rgba(2,14,29,.02) 0%,rgba(2,14,29,.04) 62%,rgba(2,14,29,.42) 100%),linear-gradient(90deg,rgba(3,18,36,.5) 0%,rgba(3,18,36,.5) 22%,rgba(3,18,36,.46) 44%,rgba(3,18,36,.2) 62%,rgba(3,18,36,0) 80%)}
  .hero .h-hero-lead{max-width:560px}
}

/* 文字压在照片上：柔和暗色光晕（不是描边）。复核回炉 N2：平板和 1024 笔记本（601–1180）也用这团光晕，
   换掉原来整幅深蓝的遮罩；导语、限定语按短语换行（keep-all，只在标点和空格处断），不把「条件」「适合」拆开 */
@media(min-width:601px){
  .hero .h-hero-lead,.hero .h-hero-limit{word-break:keep-all}
  .hero .h-hero-copy{position:relative}
  .hero .h-hero-copy::before{content:"";position:absolute;z-index:-1;left:-14%;right:-16%;top:-22%;bottom:-22%;background:radial-gradient(farthest-side,rgba(3,18,36,.56) 0%,rgba(3,18,36,.46) 50%,rgba(3,18,36,.2) 78%,rgba(3,18,36,0) 100%);pointer-events:none}
  .hero h1 .h-h1-main{text-shadow:0 2px 6px rgba(3,18,36,.55),0 0 24px rgba(3,18,36,.7),0 0 48px rgba(3,18,36,.45)}
  .hero .h-hero-lead{color:#d6e2ee;text-shadow:0 1px 2px rgba(3,18,36,.7),0 0 18px rgba(3,18,36,.6)}
  .hero .h-hero-limit{color:#dfe8f1;opacity:1;text-shadow:0 1px 2px rgba(3,18,36,.75),0 0 14px rgba(3,18,36,.65)}
}

/* 901–1180 宽：标题、副标题按宽度略缩（1024 宽约 49/35px），文字列收到 540px 以内，照片取景偏左 30%（人物右移），
   标题不压坐着男士的头发 */
@media(max-width:1180px){
  .hero .hero-content{min-height:680px;padding-top:128px;padding-bottom:40px}
  .hero h1{font-size:min(38px,3.8vw)}
}
@media(min-width:901px) and (max-width:1180px){
  .hero-slide{background-position:30% 43%}
  .hero .hero-copy.h-hero-copy{max-width:540px}
  .hero .h-hero-lead,.hero .h-hero-limit{max-width:500px}
}
/* 复核回炉 N2｜平板和 1024 宽笔记本（601–1180）：原来整幅 .84–.99 的深蓝遮罩改成左深右浅的渐变（人物处约 0.3），
   可读性交给上面的文字区光晕（文字隐藏后取背景最亮点：导语、限定语 ≥4.5，大标题 ≥3）。
   601–900 文字列几乎占满全宽、人物必在字下，遮罩略深一档；照片取景偏左 25%，人物右移、不压标题。
   必须带 min-width:601px，否则会盖掉下面手机端的遮罩 */
@media(min-width:601px) and (max-width:1180px){
  .hero::after{background:linear-gradient(180deg,rgba(2,14,29,.02) 0%,rgba(2,14,29,.06) 60%,rgba(2,14,29,.5) 100%),linear-gradient(90deg,rgba(3,18,36,.56) 0%,rgba(3,18,36,.5) 35%,rgba(3,18,36,.3) 60%,rgba(3,18,36,.08) 85%,rgba(3,18,36,0) 100%)}
}
@media(min-width:601px) and (max-width:900px){
  .hero-slide{background-position:25% 43%}
  .hero::after{background:linear-gradient(180deg,rgba(2,14,29,.04) 0%,rgba(2,14,29,.1) 60%,rgba(2,14,29,.5) 100%),linear-gradient(90deg,rgba(3,18,36,.7) 0%,rgba(3,18,36,.66) 40%,rgba(3,18,36,.52) 70%,rgba(3,18,36,.36) 100%)}
}
@media(max-width:900px){
  .hero .hero-content{min-height:0;padding-top:128px;padding-bottom:88px}
  /* 601–630 宽文字列只有约 410px，44px 放不下「人事外包 · 岗位外包」：按宽度略缩，不在词中间断 */
  .hero h1{font-size:min(32px,5.2vw)}
}
@media(max-width:600px){
  .hero .hero-content{width:calc(100% - 40px);display:block;min-height:0;padding-top:100px;padding-bottom:64px}
  .hero::after{background:linear-gradient(180deg,rgba(3,18,36,.72) 0%,rgba(3,18,36,.8) 60%,rgba(3,18,36,.9) 100%)}
  .hero .h-hero-eyebrow{margin-bottom:16px;font-size:14px;letter-spacing:.08em}
  .hero h1{margin:0 0 16px;font-size:clamp(24px,7vw,28px);line-height:1.3;letter-spacing:.02em}
  .hero .h-hero-lead{font-size:16px;line-height:1.8}
  /* 视觉细修：手机导语按词组换行（index.html 里每个词组包 .h-ph，只在手机上不拆开），不再出现「手续 / 多」；
     ≤389 宽字号 15px，360–389 宽仍排三行、首屏不变高。≥601 宽 .h-ph 无样式，排版不变 */
  .hero .h-hero-lead .h-ph{white-space:nowrap}
  .h-hero-actions{display:grid;grid-template-columns:1fr;gap:12px;max-width:360px;margin-top:28px}
  .h-hero-actions .h-btn{width:100%}
  .hero .h-hero-limit{margin-top:28px}
  .hero .hero-dots{bottom:4px}
}
@media(max-width:389px){
  .hero .h-hero-lead{font-size:15px}
}

/* ===== S2 按客户处境分流（白底浅色卡片；三张卡等高，标题区、正文、主链接、附加行四行对齐） ===== */
/* 第二轮意见：本区换到「我们具体能做什么」之后，底色改浅灰（h-soft），与下方白底「合作怎么开始」分开；卡片仍是白底。
   负责人意见：区块整体上提，上下留白收小；卡片顺序 人事手续 → 上海参保 → 工厂门店仓库；
   三张卡的主链接在同一水平线（subgrid 四行：标题 / 正文 / 附加行 / 主链接），「按行业看」作为工厂卡的附加行。
   复核回炉 N6：附加行原在主链接下方，前两张卡主链接下会空出 55–110px；改放主链接上方，主链接一律贴底，卡底空白只剩内边距 */
.h-situations{padding-top:80px;padding-bottom:80px}
.h-situations .h-head{margin-bottom:40px}
.h-sit-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,auto);gap:0 28px}
.h-sit{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-content:start;min-width:0;padding:28px 28px 20px;border:1px solid var(--h-line);border-top:3px solid var(--h-blue);border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(6,24,46,.05)}
.h-sit h3{align-self:start;margin:0 0 14px;font-size:22px;line-height:1.5;font-weight:700;letter-spacing:.01em}
.h-sit h3 span{display:inline-block}
.h-sit p{margin:0 0 14px;color:var(--h-muted);font-size:16px;line-height:1.85}
.h-sit>.h-link,.h-sit-links{grid-row:4;align-self:start}
.h-sit .h-link{justify-self:start}
.h-sit-links{display:flex;flex-wrap:wrap;gap:0 16px}
/* 第二轮意见：外地员工参保卡不限上海，卡内补一行限定语（同一屏可见），占第 3 行（与工厂卡「按行业看」同一行轨） */
.h-sit p.h-sit-limit{grid-row:3;margin:0 0 8px;color:var(--h-muted);font-size:14px;line-height:1.7}
.h-sit-foot{margin:28px 0 0;padding-top:20px;border-top:1px solid var(--h-line);color:var(--h-ink);font-size:17px;line-height:1.8}
.h-sit-foot a{color:var(--h-blue);font-weight:700;white-space:nowrap;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(10,97,180,.35);text-underline-offset:6px}
.h-sit-foot a:hover{color:var(--h-blue-hover);text-decoration-color:currentColor;text-decoration-thickness:2px}
@media(max-width:1180px){
  .h-situations{padding-top:64px;padding-bottom:64px}
  .h-sit-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
  .h-sit{padding:24px 16px 14px}
  .h-sit h3{font-size:19px}
}
@media(max-width:900px){
  .h-sit-list{grid-template-columns:1fr;grid-template-rows:none;gap:16px}
  .h-sit{display:flex;flex-direction:column;grid-row:auto}
  .h-sit>.h-link,.h-sit-links{margin-top:auto}
}
@media(max-width:600px){
  .h-situations{padding-top:40px;padding-bottom:40px}
  .h-situations .h-head{margin-bottom:24px}
  .h-sit-list{gap:10px}
  .h-sit{padding:14px 12px 4px}
  .h-sit h3{margin-bottom:8px;font-size:19px;line-height:1.5}
  .h-sit p{margin-bottom:4px;font-size:16px;line-height:1.75}
  .h-sit-foot{margin-top:20px;padding-top:14px;font-size:16px}
}

/* ===== S3 四项服务（深蓝底，2×2 卡片：略浅卡面、细边框、圆角 12；服务项为两列带勾清单，「了解××」贴底对齐） ===== */
/* 负责人意见：区块上提、留白收小，卡片排版更精致，与首屏和业务页首屏右侧白卡的深蓝体系协调；不用渐变和玻璃拟态 */
/* 第二轮意见：负责人看过后决定换回，情况区仍在首屏正下方，四项服务在其后 */
.h-services{padding-top:88px;padding-bottom:88px}
.h-services .h-head-row{margin-bottom:40px}
.h-svc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.h-svc{display:flex;flex-direction:column;min-width:0;padding:36px 40px 28px;border:1px solid rgba(195,211,227,.16);border-radius:12px;background:#0b223f;transition:transform .2s ease,border-color .2s ease,background-color .2s ease}
.h-svc:hover{transform:translateY(-3px);border-color:rgba(117,196,252,.5);background:#0d2747}
.h-services .h-head-row .h-lead{flex:0 1 auto;max-width:460px;margin:0;padding-bottom:6px}
.h-svc h3{margin:0 0 12px;font-size:30px;line-height:1.35;font-weight:800;letter-spacing:.04em;color:#fff}
.h-svc .h-svc-fit{max-width:none;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid rgba(195,211,227,.14);color:var(--h-cyan);font-size:16px;font-weight:700;line-height:1.7;text-wrap:pretty}
.h-svc p{max-width:none;margin:0;color:var(--h-on-dark);font-size:16px;line-height:1.85}
.h-svc-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:20px 0 22px;padding:0;list-style:none}
.h-svc-items li{position:relative;padding-left:26px;color:#fff;font-size:15px;line-height:1.6}
.h-svc-items li::before{content:"";position:absolute;left:0;top:3px;width:17px;height:17px;border:1px solid rgba(117,196,252,.55);border-radius:999px;background:rgba(117,196,252,.1)}
.h-svc-items li::after{content:"";position:absolute;left:6px;top:7px;width:4px;height:7px;border:solid var(--h-cyan);border-width:0 2px 2px 0;transform:rotate(45deg)}
.h-svc .h-link{align-self:flex-start;margin-top:auto}
/* 第二轮意见：四张服务卡和单项委托的「了解××」不用箭头，做成浅蓝描边轻按钮，一看就知道能点；悬停填满浅蓝、文字变深蓝，悬停整张卡时描边先亮起 */
.h-svc .h-link,.h-svc-single .h-link{padding:0 24px;border:1px solid rgba(117,196,252,.6);border-radius:999px;background:rgba(117,196,252,.1);color:#fff;text-decoration:none;white-space:nowrap}
.h-svc .h-link:hover,.h-svc-single .h-link:hover{background:var(--h-cyan);border-color:var(--h-cyan);color:var(--h-navy);text-decoration:none}
.h-svc:hover .h-link{border-color:var(--h-cyan)}
.h-svc-single{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 32px;margin:24px 0 0;padding:18px 28px;border:1px solid rgba(195,211,227,.14);border-radius:12px;background:rgba(255,255,255,.03);color:var(--h-on-dark);font-size:16px;line-height:1.8}
.h-svc-single strong{color:#fff;font-weight:700}
@media(max-width:1180px){
  .h-services{padding-top:72px;padding-bottom:72px}
  .h-svc{padding:28px 24px 20px}
  .h-svc h3{font-size:26px}
}
@media(max-width:900px){
  .h-svc-grid{grid-template-columns:1fr;gap:16px}
}
@media(max-width:600px){
  .h-services{padding-top:40px;padding-bottom:40px}
  .h-services .h-head-row{margin-bottom:24px}
  .h-svc-grid{gap:10px}
  .h-svc{padding:14px 16px 0}
  .h-svc h3{margin-bottom:4px;font-size:22px}
  .h-svc .h-svc-fit{margin-bottom:6px;padding-bottom:0;border-bottom:0;font-size:15px;line-height:1.65}
  .h-svc p{font-size:15px;line-height:1.75}
  .h-svc-items{display:none}
  .h-svc .h-link{margin:8px 0 16px}
  .h-services .h-head-row .h-lead{display:none}
  .h-svc-single{margin-top:12px;padding:10px 16px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  .h-svc{transition:none}
  .h-svc:hover{transform:none}
}
/* 视觉细修：≥901 宽两列时，同一排两张卡按 subgrid 共用行轨——标题、「适合」行、说明、清单、链接逐行对齐，
   「适合」行行数不同时分隔线也在同一高度（901–1371 宽原先差约 27px）。≤900 单列不受影响 */
@media(min-width:901px){
  .h-svc{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0}
  .h-svc .h-link{align-self:end;justify-self:start}
}

/* ===== S4–S7 共用：负责人意见「上下间隔再收一点」——上下留白 PC 120→88、平板 88→68、手机 48→36，标题到内容 56→44 ===== */
.h-process,.h-terms,.h-scenes,.h-faq{padding-top:88px;padding-bottom:88px}
.h-process .h-head,.h-scenes .h-head{margin-bottom:44px}
@media(max-width:1180px){
  .h-process,.h-terms,.h-scenes,.h-faq{padding-top:68px;padding-bottom:68px}
  .h-process .h-head,.h-scenes .h-head{margin-bottom:36px}
}
@media(max-width:600px){
  .h-process,.h-terms,.h-scenes,.h-faq{padding-top:36px;padding-bottom:36px}
  .h-process .h-head,.h-scenes .h-head{margin-bottom:20px}
}

/* ===== S4 合作怎么开始（白底，4 步：圆形编号与标题同一左缘，编号之间细线相连） ===== */
.h-process .h-lead strong{color:var(--h-ink);font-weight:700}
.h-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px;margin:0;padding:0;list-style:none}
.h-steps li{position:relative;min-width:0}
.h-steps li:not(:last-child)::after{content:"";position:absolute;z-index:0;top:23px;left:60px;right:-32px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(10,97,180,.55),rgba(10,97,180,.12))}
.h-step-no{position:relative;z-index:1;display:grid;place-items:center;width:48px;height:48px;margin-bottom:20px;border:2px solid var(--h-blue);border-radius:999px;background:#fff;color:var(--h-blue);font-size:17px;font-weight:800;line-height:1;letter-spacing:.02em}
.h-steps li:last-child .h-step-no{background:var(--h-blue);color:#fff}
.h-steps h3{margin:0 0 10px;font-size:21px;line-height:1.5;font-weight:700}
.h-steps p{margin:0;color:var(--h-muted);font-size:16px;line-height:1.85}
@media(max-width:1180px){
  .h-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
  .h-steps li:nth-child(2n)::after{display:none}
}
@media(max-width:600px){
  .h-steps{grid-template-columns:1fr;gap:0}
  .h-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 14px;padding:0 0 18px}
  .h-steps li:last-child{padding-bottom:0}
  .h-steps li:nth-child(n)::after{display:block;top:44px;bottom:2px;left:19px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,rgba(10,97,180,.45),rgba(10,97,180,.1))}
  .h-steps li:last-child::after{display:none}
  .h-step-no{width:40px;height:40px;margin:0;font-size:15px}
  .h-steps h3{margin:7px 0 4px;font-size:18px}
  .h-steps p{font-size:15px;line-height:1.75}
}

/* ===== S5 合作前说清楚的事（深蓝底白字；每条「标题 | 说明」两列对齐，细线分隔） ===== */
.h-terms-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px;align-items:start}
.h-terms-side{position:sticky;top:128px}
.h-terms-side .h-lead{max-width:440px}
.h-terms-list{margin:0;padding:0;list-style:none;border-top:1px solid #c9d7e5}
.h-terms-list li{display:grid;grid-template-columns:252px minmax(0,1fr);gap:0 32px;align-items:baseline;padding:22px 0;border-bottom:1px solid #c9d7e5}
.h-terms-list h3{position:relative;margin:0;padding-left:16px;font-size:18px;line-height:1.6;font-weight:700}
.h-terms-list h3::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:999px;background:var(--h-cyan)}
.h-terms-list p{max-width:none;margin:0;color:var(--h-muted);font-size:16px;line-height:1.85}
.h-terms-list p .h-link{line-height:1.85}
.h-terms.h-dark .h-terms-list,.h-terms.h-dark .h-terms-list li{border-color:rgba(195,211,227,.22)}
.h-terms.h-dark .h-terms-list h3{color:#fff}
.h-terms.h-dark .h-terms-list p{color:var(--h-on-dark)}
@media(max-width:1180px){
  .h-terms-grid{grid-template-columns:1fr;gap:32px}
  .h-terms-side{position:static}
  .h-terms-side .h-lead{max-width:640px}
}
@media(max-width:700px){
  .h-terms-list li{grid-template-columns:1fr;gap:4px 0}
}
@media(max-width:600px){
  .h-terms-grid{gap:20px}
  .h-terms-list li{padding:14px 0}
  .h-terms-list h3{font-size:17px}
  .h-terms-list p{font-size:15px;line-height:1.75}
}

/* ===== S6 行业场景（白底，三张等高卡片：行业标签 / 问句 / 做法 / 链接贴底；无结果小格、无英文小标题） ===== */
.h-scenes-more{display:flex;flex-wrap:wrap;align-items:center;gap:0 40px;margin:20px 0 0}
.h-link-strong{font-weight:800}
.h-scenes-note{font-size:16px}
.h-scene-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.h-scene{display:flex;flex-direction:column;min-width:0;padding:26px 28px 14px;border:1px solid var(--h-line);border-radius:12px;background:var(--h-surface)}
.h-scene-tag{align-self:flex-start;margin:0 0 12px;padding:3px 12px;border-radius:999px;background:#e3eefa;color:var(--h-blue);font-size:14px;font-weight:700;letter-spacing:.04em}
.h-scene h3{margin:0 0 12px;font-size:21px;line-height:1.5;font-weight:700}
.h-scene h3 span{display:inline-block}
.h-scene-body{display:flex;flex:1;flex-direction:column;min-width:0}
.h-scene-ans{margin:0;color:var(--h-muted);font-size:16px;line-height:1.85}
.h-scene-body .h-scene-sub{margin-top:8px}
.h-scene-links{display:flex;flex-wrap:wrap;gap:0 16px;margin:auto 0 0;padding-top:10px}
@media(max-width:1180px){
  .h-scene-list{gap:16px}
  .h-scene{padding:22px 18px 10px}
  .h-scene h3{font-size:19px}
  .h-scene-ans{font-size:15px}
}
@media(max-width:900px){
  .h-scene-list{grid-template-columns:1fr;gap:14px}
}
@media(max-width:600px){
  .h-scene-list{gap:10px}
}
@media(max-width:600px){
  .h-scenes-note{font-size:15px}
  .h-scene{padding:14px 12px 2px}
  .h-scene-tag{margin-bottom:8px;font-size:14px}
  .h-scene h3{margin-bottom:6px;font-size:18px}
  .h-scene-ans{font-size:15px;line-height:1.75}
  .h-scene-links{padding-top:4px}
}

/* ===== S7 常见问题（<details>，默认展开第一条；问句加粗、前有蓝色短竖线，答案缩进、左侧细线，层级分明） ===== */
.h-faq-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px;align-items:start}
.h-faq-grid .h-head{margin:0}
.h-faq-list{border-top:1px solid #c9d7e5}
.h-faq-list details{border-bottom:1px solid #c9d7e5}
.h-faq-list summary{position:relative;display:block;padding:20px 44px 20px 18px;font-size:19px;line-height:1.6;font-weight:700;color:var(--h-ink);cursor:pointer;list-style:none}
.h-faq-list summary::before{content:"";position:absolute;left:0;top:26px;width:4px;height:18px;border-radius:999px;background:var(--h-blue)}
.h-faq-list summary::-webkit-details-marker{display:none}
.h-faq-list summary::after{content:"+";position:absolute;right:4px;top:16px;color:var(--h-blue);font-size:26px;font-weight:400;line-height:1.4}
.h-faq-list details[open]>summary::after{content:"−"}
.h-faq-list details>p{max-width:none;margin:0 0 22px 18px;padding:2px 0 2px 16px;border-left:2px solid #c9dcef;color:var(--h-muted);font-size:16px;line-height:1.85}
@media(max-width:1180px){
  .h-faq-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:600px){
  .h-faq-grid{gap:20px}
  .h-faq-list summary{padding:16px 36px 16px 14px;font-size:17px}
  .h-faq-list summary::before{top:21px;height:16px}
  .h-faq-list summary::after{top:12px;font-size:24px}
  .h-faq-list details>p{margin:0 0 16px 14px;padding-left:12px;font-size:15px;line-height:1.8}
}

/* ===== S8 收口（负责人意见：改用官网主色深蓝 #06182e，与首屏、四项服务区同一套；白色主按钮、白描边次按钮；底边细线与页脚分开） ===== */
.h-cta{padding:80px 0;background:var(--h-navy);color:#fff;border-bottom:1px solid rgba(117,196,252,.16)}
.h-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.h-cta .h-h2{max-width:600px;font-size:36px;text-wrap:balance}
.h-cta p{margin:16px 0 0;color:var(--h-on-dark);font-size:17px;line-height:1.8}
.h-cta-actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:12px;flex-shrink:0}
.h-cta .h-btn-ghost{border-color:rgba(255,255,255,.72)}
@media(max-width:1180px){
  .h-cta-inner{flex-direction:column;align-items:flex-start;gap:28px}
  .h-cta-actions{flex-wrap:wrap;justify-content:flex-start}
}
@media(max-width:600px){
  .h-cta{padding:56px 0}
  .h-cta .h-h2{font-size:25px;line-height:1.45}
  .h-cta p{margin-top:12px;font-size:15px}
  .h-cta-inner{gap:24px}
  .h-cta-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
  .h-cta-actions .h-btn{width:100%;padding:0 12px}
  .h-cta-actions .h-btn:first-child{grid-column:1/-1}
}

/* ===== 首页咨询弹窗（生成咨询邮件；并排电话、微信咨询） ===== */
/* 弹窗圆角、阴影、关闭钮尺寸已统一写进 style.css 的 .modal-panel / .modal-close */
body[data-page="home"] .modal-panel>p{color:var(--h-muted);font-size:15px}
.h-consult-modal .modal-panel{width:min(560px,100%);max-height:calc(100dvh - 44px);overflow-y:auto}
.h-consult-modal h3{padding-right:40px;font-size:26px}
.h-modal-quick{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 20px;padding-bottom:20px;border-bottom:1px solid var(--h-line)}
.h-modal-quick .h-btn{width:100%;min-height:48px;padding:0 12px}
.h-consult-modal .form-grid{gap:14px 16px}
.h-consult-modal .form-group label{margin-bottom:6px;color:var(--h-ink);font-size:14px;font-weight:700}
.h-consult-modal .form-group input,.h-consult-modal .form-group select,.h-consult-modal .form-group textarea{border-radius:8px;font-size:16px}
.h-consult-modal .form-group textarea{min-height:96px}
.h-modal-note{margin:16px 0 12px;color:var(--h-muted);font-size:14px;line-height:1.7}
.h-modal-submit{width:100%}
/* 兜底提示框：常驻在「生成咨询邮件」按钮上方；提交后加 is-active 高亮并滚进可见区域（main.js） */
.h-modal-fallback{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border:1px solid var(--h-line);border-radius:8px;background:var(--h-surface);scroll-margin:12px;transition:border-color .2s ease,background-color .2s ease}
.h-modal-fallback p{flex:1;min-width:0;margin:0;color:var(--h-ink);font-size:14px;line-height:1.65}
.h-modal-fallback .h-btn{flex-shrink:0;min-height:44px;padding:0 16px;font-size:15px}
.h-modal-fallback.is-active{border-color:var(--h-blue);background:#e8f1fa}
@media(max-width:600px){
  .h-consult-modal h3{font-size:22px}
  .h-consult-modal .form-grid{grid-template-columns:1fr}
}

/* ===== 首页手机页脚：隐藏第 1 列公司简介（首屏限定语已写明公司名与全国限定语），链接列不动 ===== */
@media(max-width:600px){
  body[data-page="home"] .footer-about{display:none}
}

/* 整站复审文案合规修改（20261122-r2）：首页分流补口——按行业看、非行业入口 */
.h-sit p.h-sit-trade{grid-row:3;flex:none;margin:0 0 8px;padding-top:4px;border-top:1px dashed var(--h-line);color:var(--h-ink);font-size:15px;line-height:1.8}
.h-sit-trade a{display:inline-flex;align-items:center;min-height:44px;color:var(--h-blue);font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(10,97,180,.35);text-underline-offset:6px}
.h-sit-trade a:hover{color:var(--h-blue-hover);text-decoration-color:currentColor;text-decoration-thickness:2px}
.h-scenes-alt{margin:28px 0 0;padding-top:16px;border-top:1px solid var(--h-line);color:var(--h-ink);font-size:17px;line-height:1.8}
.h-scenes-alt .h-link{margin-left:8px;font-weight:700}
@media(max-width:600px){.h-scenes-alt{font-size:16px}.h-scenes-alt .h-link{margin-left:0}}
/* 复核回炉 N6：工厂卡、制造工厂卡的两个链接在 901 宽以上都排一行（不折行，主链接 y 坐标与同排卡片一致）。
   1181–1279 两侧内边距 28→26；901–1180 卡片内只有 195–290px，链接改 15px、去掉箭头、两链接间用细竖线分隔 */
@media(min-width:1181px) and (max-width:1279px){
  .h-sit,.h-scene{padding-left:26px;padding-right:26px}
}
@media(min-width:901px) and (max-width:1180px){
  .h-sit{padding-left:14px;padding-right:14px}
  .h-scene{padding-left:16px;padding-right:16px}
  .h-sit .h-link,.h-scene-links .h-link{font-size:15px}
  .h-sit-links,.h-scene-links{gap:0 10px}
  .h-sit-links .h-link+.h-link,.h-scene-links .h-link+.h-link{position:relative}
  .h-sit-links .h-link+.h-link::before,.h-scene-links .h-link+.h-link::before{content:"";position:absolute;left:-5px;top:50%;width:1px;height:14px;margin-top:-7px;background:#c3d3e3}
}
/* 视觉细修（可选项 7）：901–1180 宽情况卡改成上下三张横卡——左边标题、右边正文、按行业看和链接；
   原三列排布时第 1 张卡正文和链接之间空约 190px（1024 宽）。≥1181 宽仍是三列、链接对齐；≤900 不受影响 */
@media(min-width:901px) and (max-width:1180px){
  .h-sit-list{grid-template-columns:1fr;grid-template-rows:none;gap:16px}
  .h-sit{grid-row:auto;grid-template-rows:none;grid-template-columns:minmax(0,250px) minmax(0,1fr);column-gap:40px;padding:24px 28px 14px}
  .h-sit h3{grid-column:1;grid-row:1/span 3;margin:0}
  .h-sit p{grid-column:2;margin-bottom:6px}
  .h-sit p.h-sit-trade{grid-column:2;grid-row:auto;margin:0}
  .h-sit p.h-sit-limit{grid-column:2;grid-row:auto;margin:0 0 6px}
  .h-sit>.h-link,.h-sit-links{grid-column:2;grid-row:auto}
}
/* 标题按短语整体换行，不在词中间断开 */
.h-h2 .h-ph{display:inline-block}

/* 上线前验收（2026-11-24）：首屏轮播省流量。
   1. 手机（≤900 宽）一律用 1920 宽图：原先 image-set 在 2x/3x 屏取 3840 宽，三张共约 1.32MB；390 宽 3 倍屏只需约 1170 像素宽，1920 版足够清楚。
   2. 第 2、3 张带 data-hero-lazy，脚本放行前不加载背景图：首张照常；页面 load 之后放行第 2 张，每切到一张就放行下一张，切换前已加载好，不影响 4 秒自动轮播。 */
@media(max-width:900px){
  .hero-slide-1{background-image:url("../images/hero-office-slide-1-1920.webp?v=20260721-carousel1")}
  .hero-slide-2{background-image:url("../images/hero-office-slide-2-1920.webp?v=20260721-carousel1")}
  .hero-slide-3{background-image:url("../images/hero-office-slide-3-1920.webp?v=20260721-carousel1")}
}
.hero-slide[data-hero-lazy]{background-image:none!important}

/* ===== 手机排版（2026-11-25，负责人「手机上往下拉太久才能看到业务」），只在 ≤600 宽生效，电脑和平板不变 =====
   1. 首屏之后紧接四项服务：main 改成纵向弹性盒，四项服务（#services）用 order 提到首屏后面、「您现在遇到的是哪种情况」之前；
      HTML 顺序不变（文字只有一份），≥601 宽仍是 首屏 → 情况 → 服务。
   2. 四项服务做成 2×2 紧凑卡：每张只露 业务名 / 「适合：……」一句 / 「了解××」入口，长说明和清单手机上不显示（文字仍在 HTML 里，进业务页看全文）。
   3. 首屏上下留白收一点，第一排两张服务卡在第一屏（844 高、底栏 68）里完整可见。
   4. 合作前说清楚、行业场景用 data-m-fold 折叠（见 style.css / main.js），这里只调间距 */
@media(max-width:600px){
  body[data-page="home"] main{display:flex;flex-direction:column}
  body[data-page="home"] main>.hero{order:-2}
  body[data-page="home"] main>.h-services{order:-1}
  .hero .hero-content{padding-top:92px;padding-bottom:44px}
  .h-hero-actions{margin-top:22px}
  .h-services{padding-top:24px;padding-bottom:28px}
  .h-services .h-head-row{margin-bottom:14px}
  .h-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .h-svc{padding:14px 9px 12px}
  .h-svc:hover{transform:none}
  .h-svc h3{margin-bottom:4px;font-size:21px;line-height:1.4;letter-spacing:.02em}
  .h-svc .h-svc-fit{margin:0 0 10px;font-size:15px;line-height:1.65;text-spacing-trim:trim-start}
  .h-svc .h-svc-fit .nw{white-space:normal!important}
  .h-svc>p:not(.h-svc-fit){display:none}
  .h-svc .h-link{align-self:stretch;justify-content:center;margin:auto 0 0;padding:0 8px;font-size:16px}
  .h-svc-single{margin-top:10px}
  .h-situations{padding-top:36px;padding-bottom:36px}
}
@media(max-width:600px){
  /* 合作步骤折叠后第 2 步是露出的最后一步：去掉它下面通往第 3 步的连线 */
  .h-steps.m-fold:not(.is-open)>li:nth-child(2)::after{display:none}
  .h-steps.m-fold:not(.is-open)>li:nth-child(2){padding-bottom:0}
}
@media(max-width:600px){
  .h-cta{padding:44px 0}
}
/* 轮播圆点（每个点按区 44×44）贴首屏底边，首屏下边距 50：圆点和「微信咨询」按钮之间留 6px，不重叠（重叠时点按钮下半部会切换背景图、弹窗不出） */
@media(max-width:600px){
  .hero .hero-dots{bottom:0}
  .hero .hero-content{padding-bottom:56px}
}
/* 360–389 宽（如 360×780 的手机）：首屏上边距和服务区标题间距收一点，第一排两张服务卡连同「了解××」按钮都在底栏之上 */
@media(max-width:389px){
  .h-services .h-h2{font-size:24px}
  /* 收尾（2026-11-26）：左右内边距 12 → 8，360 宽卡内一行放得下 9 个字（原 8 个），配合下面「岗位（如」不拆行，岗位外包卡仍是 4 行、第一排卡仍在底栏之上 */
  .h-svc{padding-left:8px;padding-right:8px}
  .hero .hero-content{padding-top:84px;padding-bottom:50px}
  .h-services{padding-top:14px}
  .h-services .h-head-row{margin-bottom:8px}
}
/* 双证标识（2026-11-26）：首页首屏导语下加了一行徽章（26px 高，样式见 style.css 末尾）。
   把首屏上边距、小标题和大标题下的间距各收一点抵掉大部分高度：390 宽首屏只加高约 14px，360 宽基本不变，
   第一排两张服务卡连同「了解××」按钮仍在底栏之上。只在 ≤600 宽生效。
   注意：≤389 宽首屏下边距 50→46，轮播圆点点按区与「微信咨询」按钮的间距由 6px 变为 2px（仍不重叠，mobile-layout 测试守着） */
@media(max-width:600px){
  .hero .hero-content{padding-top:84px}
  .hero .h-hero-eyebrow{margin-bottom:12px}
  .hero h1{margin-bottom:12px}
  .hero .lic-badges{margin-top:12px}
  .hero .lic-badges+.h-hero-actions{margin-top:14px}
}
@media(max-width:389px){
  .hero .hero-content{padding-top:76px;padding-bottom:46px}
  .hero .h-hero-eyebrow{margin-bottom:8px}
  .hero h1{margin-bottom:10px}
  .hero .lic-badges{margin-top:10px}
  .hero .lic-badges+.h-hero-actions{margin-top:12px}
}
/* 收尾（2026-11-26，复核低档问题）：首页「岗位外包」卡 360 宽时有一行以「（」开头。HTML 里「岗位（如」包了 <span class="h-keep">，手机上不拆行（文字不变）。
   360 宽卡内一行改放 9 个字后，另几张卡会把「工资」「需要」「跟进」「辅助性」拆到两行，这几个词也包了 h-keep（第 2 轮复核低档 3）。
   卡片里的 .nw 在手机上是放开折行的（见上面 .h-svc .h-svc-fit .nw），所以另用一个类；电脑宽度这个 span 没有任何样式，排版不变 */
@media(max-width:600px){
  .h-svc .h-svc-fit .h-keep{white-space:nowrap}
}
