/* =========================================================
   博思仑移民官网 · 整站视觉系统
   Tokens → Base → Layout → Header → Home → Inner pages →
   Services / Process → About → Listing → Article → Footer → Responsive
   ========================================================= */
:root {
  /* 品牌色：承接正式 Logo 深蓝 #002068 与中蓝 #006CD8 */
  --navy-900: #06193f;   /* 深品牌区域：Footer / 流程 / 理念 */
  --navy-800: #0b2a66;   /* 主按钮、强调线 */
  --blue-600: #1b5fc6;   /* 链接、编号、小面积强调 */
  --blue-300: #93b8ee;   /* 深色背景上的强调 */
  --ink: #0f1d3a;        /* 标题 */
  --text: #3b4658;       /* 正文 */
  --muted: #5f6b80;      /* 次要信息 */
  --line: #e3e7ee;
  --line-strong: #cdd4e0;
  --bg: #ffffff;         /* 主背景 */
  --tint: #f3f6fa;       /* 唯一辅助浅背景 */
  --on-dark: rgba(255, 255, 255, .76);
  --on-dark-muted: rgba(255, 255, 255, .58);
  --on-dark-line: rgba(255, 255, 255, .14);

  --container: 1200px;   /* 内容最大宽度，12 栏 */
  --gx: 40px;            /* 容器左右安全边距 */
  --gap: 24px;           /* Gutter */
  --section: 120px;      /* 标准模块上下间距 */
  --header-h: 80px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.8; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.3; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--navy-800); color: #fff; }
/* ---------- Layout：12 栏 / 1200 容器 ---------- */
.container { width: min(100% - var(--gx) * 2, var(--container)); margin-inline: auto; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section-flush-top { padding-top: 0; }
.bg-navy { background: var(--navy-900); color: var(--on-dark); }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  color: var(--blue-600); font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.bg-navy .eyebrow, .banner .eyebrow, .hero .eyebrow { color: var(--blue-300); }
.h2 { font-size: 36px; line-height: 1.36; letter-spacing: .01em; }
.lede { font-size: 18px; line-height: 1.85; }
.muted { color: var(--muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-head-copy { max-width: 720px; }
.section-head-copy .lede, .section-head-copy > p:not(.eyebrow) { margin-top: 20px; }
.bg-navy .section-head-copy p:not(.eyebrow) { color: var(--on-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: #e7eef9; }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy-800);
  font-size: 16px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { color: var(--blue-600); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.is-down::after { content: "↓"; }
.link-arrow.is-down:hover::after { transform: translateY(3px); }
.on-dark .link-arrow, .bg-navy .link-arrow, .link-arrow.on-dark { color: #fff; }
.bg-navy .link-arrow:hover, .link-arrow.on-dark:hover { color: var(--blue-300); }
.seg { display: inline-block; white-space: nowrap; }

/* ---------- Header：左 2 / 品牌居中 / 右 2 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header-inner { position: relative; display: flex; align-items: center; height: var(--header-h); }
.site-brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; color: var(--navy-800);
  font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: .08em; white-space: nowrap;
}
.site-brand img { width: 40px; height: 40px; }
.site-nav { display: flex; justify-content: space-between; width: 100%; }
.nav-group { display: flex; gap: 44px; }
.nav-link {
  position: relative; display: flex; align-items: center; height: var(--header-h);
  color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--navy-800); transform: scaleX(0); transition: transform .25s;
}
.nav-link:hover, .nav-link.is-current { color: var(--navy-800); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- Home · Hero：全幅实景 + 深蓝渐隐 ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: clamp(620px, calc(100vh - var(--header-h)), 760px); background: var(--navy-900); color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 25, 63, .92) 0%, rgba(6, 25, 63, .78) 36%, rgba(6, 25, 63, .2) 70%, rgba(6, 25, 63, .08) 100%),
    linear-gradient(0deg, rgba(6, 25, 63, .6) 0%, rgba(6, 25, 63, 0) 30%);
}
.hero-body { position: relative; flex: 1; display: flex; align-items: center; padding-block: 72px; }
.hero-copy { max-width: 680px; }
.hero h1 { color: #fff; font-size: 60px; line-height: 1.22; letter-spacing: .02em; }
.hero-lede { max-width: 640px; margin-top: 28px; color: rgba(255, 255, 255, .86); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 44px; }
.hero-facts { position: relative; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-fact { padding: 24px 24px 30px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-fact:first-child { padding-left: 0; border-left: 0; }
.hero-fact dt { color: rgba(255, 255, 255, .62); font-size: 13px; line-height: 1.5; letter-spacing: .06em; }
.hero-fact dd { margin-top: 6px; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; }
/* ---------- Split：图文 6 / 1 / 5 ---------- */
.split { align-items: center; }
.split-media { grid-column: 1 / span 6; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy { grid-column: 8 / span 5; }
.split.is-reverse .split-media { grid-column: 7 / span 6; grid-row: 1; }
.split.is-reverse .split-copy { grid-column: 1 / span 5; grid-row: 1; }
.split-copy .h2 + p, .split-copy .company-name + p { margin-top: 28px; }
.split-copy p + p { margin-top: 14px; }
.company-name { margin-top: 12px; color: var(--muted); font-size: 18px; font-weight: 500; line-height: 1.6; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.values li { padding-top: 18px; border-top: 2px solid var(--navy-800); }
.values strong { display: block; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.4; }
.values span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.split-copy .link-arrow { margin-top: 36px; }

/* ---------- Home · 核心业务（深品牌区） ---------- */
.service-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.service-col { display: flex; flex-direction: column; padding-top: 28px; border-top: 1px solid var(--on-dark-line); transition: border-color .25s; }
.service-col:hover { border-top-color: var(--blue-300); }
.service-num { color: var(--blue-300); font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.service-col h3 { margin-top: 18px; font-size: 22px; }
.service-col ul { margin-top: 20px; }
.service-col li { padding: 10px 0; border-top: 1px solid var(--on-dark-line); color: var(--on-dark); font-size: 15px; line-height: 1.6; }
.service-col li:first-child { border-top: 0; padding-top: 0; }
.service-col li b { color: #fff; font-weight: 600; margin-right: 8px; }
.service-note { margin-top: 12px; color: var(--on-dark-muted); font-size: 13px; line-height: 1.7; }
.service-col .link-arrow { margin-top: auto; padding-top: 28px; font-size: 15px; }

/* ---------- Mosaic：真实办公环境 ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 17vw, 244px); gap: var(--gap); }
.mosaic figure { position: relative; overflow: hidden; background: var(--tint); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 12px;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5;
}
.mosaic .m-lg { grid-column: span 7; grid-row: span 2; }
.mosaic .m-sm { grid-column: span 5; }
.mosaic .m-third { grid-column: span 4; }
.mosaic .m-half { grid-column: span 6; }
.address-card { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: var(--tint); }
.address-card .eyebrow { margin-bottom: 14px; }
.address-card address { color: var(--ink); font-size: 16px; line-height: 1.8; }

/* ---------- Home · 辅助入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.entry { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; background: var(--tint); transition: background-color .25s; }
.entry:hover { background: #e9eff8; }
.entry h2 { font-size: 24px; }
.entry p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.entry-arrow {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-strong);
  border-radius: 50%; color: var(--navy-800); font-size: 18px; transition: background-color .25s, color .25s, border-color .25s;
}
.entry:hover .entry-arrow { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
/* ---------- 内页 Banner：实景 + 深蓝，统一全站内页开场 ---------- */
.banner { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.banner-media { position: absolute; inset: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 25, 63, .94) 0%, rgba(6, 25, 63, .82) 45%, rgba(6, 25, 63, .5) 100%); }
.banner-body { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; min-height: 360px; padding-block: 96px 72px; }
.banner.is-compact .banner-body { min-height: 300px; padding-block: 88px 64px; }
.banner h1 { color: #fff; font-size: 48px; line-height: 1.25; letter-spacing: .02em; }
.banner-lede { max-width: 600px; margin-top: 20px; color: rgba(255, 255, 255, .84); font-size: 18px; line-height: 1.8; }
.crumbs { display: flex; gap: 10px; flex: none; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.5; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }

/* ---------- Services · 业务概览 ---------- */
.overview { align-items: start; }
.overview-head { grid-column: 1 / span 5; }
.overview-body { grid-column: 7 / span 6; padding-top: 44px; }
.overview-body p + p { margin-top: 16px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.jump-links .link-arrow { font-size: 15px; }

/* ---------- Services · 四类业务：2×2 业务块，内容自己填满宽度，不留中缝 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px var(--gap); }
.biz-block { padding-top: 32px; border-top: 2px solid var(--navy-800); }
.biz-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.biz-num { color: var(--blue-600); font-size: 20px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.biz-head h3 { font-size: 26px; line-height: 1.35; }
.biz-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.biz-item { display: flex; flex-direction: column; justify-content: center; min-height: 104px; padding: 22px 24px; background: var(--tint); }
.biz-item b { display: block; color: var(--navy-800); font-size: 18px; font-weight: 600; line-height: 1.4; }
.biz-item span { display: block; margin-top: 6px; color: var(--text); font-size: 15px; line-height: 1.6; }
.biz-item.is-wide { grid-column: 1 / -1; }
.biz-item.is-link { background: #fff; border: 1px solid var(--line-strong); transition: border-color .2s; }
.biz-item.is-link:hover { border-color: var(--navy-800); }
.biz-item.is-link span { color: var(--blue-600); font-weight: 500; }
.biz-item.is-note { background: #fff; border: 1px solid var(--line); }
.biz-item.is-note span { margin-top: 0; color: var(--muted); font-size: 14px; }
/* ---------- Services · EB-3 办理流程（网页原生时间轴） ---------- */
.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.step { position: relative; padding-top: 80px; }
/* 连接线：每一步从本节点右缘画到下一节点左缘，最后一步不画 */
.step:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 48px; right: calc(var(--gap) * -1); height: 1px; background: rgba(255, 255, 255, .24); }
.step-sub { display: inline-block; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--blue-300); color: #d6e4fb; font-size: 13px; line-height: 1.6; }
.step-num {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--blue-300); border-radius: 50%; background: var(--navy-900);
  color: #fff; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { background: var(--blue-300); color: var(--navy-900); }
.step-time { display: inline-block; padding: 4px 10px; background: rgba(147, 184, 238, .16); color: #d6e4fb; font-size: 13px; font-weight: 500; line-height: 1.6; }
.step h3 { margin-top: 16px; font-size: 20px; line-height: 1.4; }
.step p { margin-top: 12px; color: var(--on-dark); font-size: 15px; line-height: 1.8; }
.process-note { display: flex; gap: 24px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: 14px; line-height: 1.7; }
.process-note b { flex: none; color: #fff; font-weight: 500; }

/* ---------- About · 企业陈述 ---------- */
.statement { align-items: start; }
.statement-copy { grid-column: 1 / span 7; }
.statement-copy .h2 { font-size: 34px; line-height: 1.5; }
.statement-copy p:not(.eyebrow) { margin-top: 28px; font-size: 18px; line-height: 1.85; }
.statement-facts { grid-column: 9 / span 4; border-bottom: 1px solid var(--line); }
.statement-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.statement-facts dt { color: var(--muted); font-size: 13px; line-height: 1.5; letter-spacing: .04em; }
.statement-facts dd { margin-top: 4px; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.6; }
.wide-photo { margin-top: 96px; }
.wide-photo img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; object-position: 50% 45%; }
.wide-photo figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: right; }
.values-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.value { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.value-num { color: var(--blue-300); font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.value strong { display: block; margin-top: 20px; color: #fff; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; }
.value-en { display: block; margin-top: 10px; color: var(--on-dark-muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- CTA 条 ---------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 64px; background: var(--tint); }
.cta-strip h2 { font-size: 28px; }
.cta-strip p { margin-top: 10px; color: var(--muted); }
.cta-actions { display: flex; align-items: center; gap: 16px; flex: none; }
/* ---------- Listing：雇主信息 / 知识库（app.js 渲染的类名保持不变） ---------- */
.listing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.listing-head .muted { font-size: 15px; }
.empty-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 64px; background: var(--tint); color: var(--ink); font-size: 18px; font-weight: 500; }
.empty-title { color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.5; }
.empty-title + p { margin-top: 10px; color: var(--muted); font-size: 16px; font-weight: 400; }
.empty-actions { display: flex; align-items: center; gap: 28px; flex: none; }
.archive-empty { grid-column: 1 / -1; }
.job-status-section + .job-status-section { margin-top: 64px; }
.job-status-section h2 { margin-bottom: 24px; font-size: 22px; }
.job-grid, .knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.job-card, .knowledge-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: border-color .25s; }
.job-card:hover, .knowledge-card:hover { border-color: var(--line-strong); }
.job-card-photo img, .knowledge-card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.job-card-body, .knowledge-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.status-label { padding: 3px 10px; background: var(--tint); color: var(--navy-800); font-size: 13px; font-weight: 500; line-height: 1.6; }
.status-open { background: #e6effc; color: var(--blue-600); }
.status-closed { color: var(--muted); }
.job-card h3, .knowledge-card h3 { margin-top: 16px; font-size: 20px; line-height: 1.45; }
.knowledge-card h3 a:hover { color: var(--blue-600); }
.employer-name { margin-top: 6px; color: var(--muted); font-size: 15px; }
.job-fields { align-self: stretch; margin-top: 20px; border-top: 1px solid var(--line); }
.job-fields div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.job-fields dt { color: var(--muted); }
.job-fields dd { color: var(--ink); text-align: right; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.job-tags li { padding: 2px 10px; background: var(--tint); font-size: 13px; }
.job-summary { margin-top: 16px; font-size: 15px; line-height: 1.75; }
.knowledge-card-date { color: var(--muted); font-size: 13px; }
.knowledge-card-content p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--navy-800); font-size: 15px; font-weight: 500; }
.text-link::after { content: "→"; }
.text-link:hover { color: var(--blue-600); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 24px; padding: 0 20px; border: 1px solid var(--navy-800); border-radius: 2px; color: var(--navy-800); font-size: 15px; font-weight: 500; }
.button:hover { background: var(--navy-800); color: #fff; }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-button { min-height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; color: var(--text); font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filter-button:hover { border-color: var(--navy-800); color: var(--navy-800); }
.filter-button.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.search-box { display: flex; width: min(100%, 420px); }
.search-box input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 2px 0 0 2px; background: #fff; font-size: 15px; }
.search-box input:focus { border-color: var(--navy-800); outline: 2px solid rgba(27, 95, 198, .22); outline-offset: 0; }
.search-box .btn { padding: 0 26px; border-radius: 0 2px 2px 0; }

/* ---------- FAQ ---------- */
.faq-wrap { align-items: start; padding-top: var(--section); border-top: 1px solid var(--line); }
.faq-aside { grid-column: 1 / span 4; }
.faq-aside p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.faq-aside .link-arrow { margin-top: 28px; }
.faq-list { grid-column: 6 / span 7; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.6; }
.faq-item summary:hover .faq-question { color: var(--navy-800); }
.faq-symbol { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--navy-800); font-size: 18px; line-height: 1; }
.faq-item[open] .faq-symbol { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.faq-answer { padding: 0 56px 28px 0; }
.faq-more-link { margin-top: 0; padding-block: 24px; }
/* ---------- Article ---------- */
.article-shell { width: min(100% - var(--gx) * 2, 760px); margin-inline: auto; padding-block: 72px 120px; }
.back-link { color: var(--muted); font-size: 15px; }
.back-link:hover { color: var(--navy-800); }
.article-header { margin-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.article-header h1 { margin-top: 16px; font-size: 40px; line-height: 1.35; }
.article-excerpt { margin-top: 20px; font-size: 18px; line-height: 1.85; }
.article-cover { margin-top: 40px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-content section { margin-top: 48px; }
.article-content h2 { font-size: 24px; }
.article-content p { margin-top: 16px; font-size: 17px; line-height: 1.95; }
.article-not-found { padding: 88px 64px; background: var(--tint); text-align: center; }
.article-not-found h1 { font-size: 30px; }
.article-not-found p { margin-top: 14px; color: var(--muted); }
.article-not-found .btn { margin-top: 36px; }
.related-section { padding-block: var(--section); border-top: 1px solid var(--line); }
.related-section h2 { margin-bottom: 40px; }

/* ---------- Footer：品牌 3 / 导航 2 / 联系 4 / 二维码 3 ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); }
.footer-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 4fr) minmax(0, 3fr); column-gap: 48px; padding-block: 88px 72px; }
.footer-logo { width: 88px; height: 88px; border-radius: 50%; background: #fff; }
.footer-name { margin-top: 24px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.5; }
.footer-en { margin-top: 4px; color: var(--blue-300); font-size: 12px; line-height: 1.5; letter-spacing: .14em; }
.footer-desc { margin-top: 16px; color: var(--on-dark-muted); font-size: 14px; line-height: 1.8; }
.footer-title { margin-bottom: 20px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.footer-nav li + li { margin-top: 12px; }
.footer-nav a { color: var(--on-dark); font-size: 15px; line-height: 1.6; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; }
.footer-label { color: var(--on-dark-muted); font-size: 13px; line-height: 1.5; }
.footer-phone { display: inline-block; margin: 4px 0 20px; color: #fff; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.footer-phone:hover { color: var(--blue-300); }
.footer-contact address { margin-top: 4px; color: var(--on-dark); font-size: 14px; line-height: 1.8; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.qr-tile { aspect-ratio: 1; padding: 8px; background: #fff; border-radius: 2px; }
.qr-tile img { width: 100%; height: 100%; object-fit: contain; }
.qr figcaption { margin-top: 12px; color: var(--on-dark); font-size: 13px; line-height: 1.6; text-align: center; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px 32px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: 13px; line-height: 1.6; }
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  :root { --gx: 32px; --section: 104px; }
  .hero h1 { font-size: 54px; }
  .nav-group { gap: 36px; }
  .service-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .footer-main { column-gap: 32px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; --gx: 28px; --section: 88px; --gap: 20px; }
  .site-brand { position: static; transform: none; font-size: 18px; }
  .site-brand img { width: 34px; height: 34px; }
  .site-header-inner { justify-content: space-between; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; cursor: pointer;
  }
  .menu-lines { position: relative; width: 22px; height: 14px; }
  .menu-lines i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .25s, top .25s, opacity .2s; }
  .menu-lines i:nth-child(1) { top: 0; }
  .menu-lines i:nth-child(2) { top: 6px; }
  .menu-lines i:nth-child(3) { top: 12px; }
  .is-open .menu-lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .is-open .menu-lines i:nth-child(2) { opacity: 0; }
  .is-open .menu-lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; left: calc(var(--gx) * -1); right: calc(var(--gx) * -1);
    display: none; flex-direction: column; width: auto; padding: 8px var(--gx) 28px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(6, 25, 63, .08);
  }
  .is-open .site-nav { display: flex; }
  .nav-group { flex-direction: column; gap: 0; }
  .nav-link { height: auto; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-link::after { display: none; }
  .nav-link.is-current { color: var(--blue-600); }
  .nav-group.is-right .nav-link:last-child { border-bottom: 0; }

  .hero { min-height: 0; }
  .hero-body { padding-block: 96px 80px; }
  .hero h1 { font-size: 46px; }
  .hero-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-fact { padding: 20px 20px 22px; }
  .hero-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }

  .split-media, .split.is-reverse .split-media { grid-column: 1 / -1; grid-row: auto; }
  .split-copy, .split.is-reverse .split-copy { grid-column: 1 / -1; grid-row: auto; margin-top: 48px; }
  .split.is-reverse .split-copy { margin-top: 0; margin-bottom: 48px; }
  .split-media img { aspect-ratio: 16 / 10; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 44px; }
  .h2 { font-size: 32px; }

  .mosaic { grid-auto-rows: 200px; }
  .mosaic .m-lg { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic .m-sm, .mosaic .m-half { grid-column: span 6; }
  .mosaic .m-third { grid-column: span 6; }
  .address-card { grid-column: 1 / -1; }

  .entry { padding: 36px; }

  .banner-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px; min-height: 300px; padding-block: 80px 56px; }
  .banner.is-compact .banner-body { min-height: 260px; padding-block: 72px 52px; }
  .banner h1 { font-size: 40px; }

  .overview-head, .overview-body { grid-column: 1 / -1; }
  .overview-body { padding-top: 28px; }
  .biz-grid { grid-template-columns: 1fr; gap: 56px; }

  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .step:not(:last-child)::after { top: 48px; bottom: 0; left: 24px; right: auto; width: 1px; height: auto; }
  .step { padding: 0 0 48px 80px; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: 560px; }

  .statement-copy, .statement-facts { grid-column: 1 / -1; }
  .statement-facts { margin-top: 48px; }
  .wide-photo { margin-top: 72px; }
  .wide-photo img { aspect-ratio: 16 / 9; }

  .cta-strip { flex-direction: column; align-items: flex-start; padding: 44px; }

  .job-grid, .knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-aside, .faq-list { grid-column: 1 / -1; }
  .faq-list { margin-top: 40px; }

  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; padding-block: 72px 56px; }
  .qr-grid { max-width: 320px; margin-left: auto; }
}
/* ---------- Mobile 390 基准 ---------- */
@media (max-width: 640px) {
  :root { --gx: 20px; --section: 72px; --gap: 16px; }
  body { font-size: 15px; line-height: 1.8; }
  .eyebrow { margin-bottom: 14px; font-size: 13px; }
  .h2 { font-size: 26px; line-height: 1.4; }
  .lede { font-size: 16px; }
  .btn { min-height: 50px; padding: 0 24px; font-size: 15px; }
  .section-head { margin-bottom: 36px; gap: 18px; }

  .hero-media img { object-position: 70% 50%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(6, 25, 63, .55) 0%, rgba(6, 25, 63, .82) 55%, rgba(6, 25, 63, .96) 100%);
  }
  .hero-body { padding-block: 88px 48px; }
  .hero h1 { font-size: 36px; line-height: 1.3; }
  .hero-lede { margin-top: 20px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 36px; }
  .hero-actions .link-arrow { justify-content: center; }
  .hero-fact { padding: 16px 12px 18px 16px; }
  .hero-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-fact dt { font-size: 12px; }
  .hero-fact dd { font-size: 14px; }

  .split-copy, .split.is-reverse .split-copy { margin-top: 36px; }
  .split.is-reverse .split-copy { margin-top: 0; margin-bottom: 36px; }
  .split-media { margin-inline: calc(var(--gx) * -1); }
  .split-media img { aspect-ratio: 4 / 3; }
  .company-name { font-size: 16px; }
  .split-copy .h2 + p, .split-copy .company-name + p { margin-top: 20px; }
  .values { gap: 12px; margin-top: 32px; }
  .values strong { font-size: 18px; }
  .values span { font-size: 11px; letter-spacing: .08em; }

  .service-cols { grid-template-columns: 1fr; row-gap: 0; }
  .service-col { padding: 24px 0 28px; }
  .service-col h3 { margin-top: 10px; font-size: 20px; }
  .service-col ul { margin-top: 14px; }
  .service-col .link-arrow { padding-top: 16px; }

  .mosaic { grid-auto-rows: auto; gap: 12px; }
  .mosaic figure { aspect-ratio: 4 / 3; }
  .mosaic .m-lg { grid-column: 1 / -1; grid-row: auto; }
  .mosaic .m-sm, .mosaic .m-third, .mosaic .m-half { grid-column: span 6; aspect-ratio: 1; }
  .mosaic figcaption { left: 8px; bottom: 8px; padding: 3px 8px; font-size: 12px; }
  .address-card { padding: 24px; }

  .entries { grid-template-columns: 1fr; gap: 12px; }
  .entry { padding: 28px 24px; gap: 20px; }
  .entry h3 { font-size: 20px; }
  .entry p { font-size: 14px; }
  .entry-arrow { width: 44px; height: 44px; }

  .banner-body, .banner.is-compact .banner-body { min-height: 0; padding-block: 56px 44px; gap: 20px; }
  .banner h1 { font-size: 32px; }
  .banner-lede { margin-top: 14px; font-size: 15px; }
  .crumbs { order: -1; font-size: 13px; }

  .jump-links { flex-direction: column; gap: 14px; margin-top: 28px; padding-top: 24px; }
  .biz-grid { gap: 48px; }
  .biz-block { padding-top: 24px; }
  .biz-head { gap: 14px; margin-bottom: 20px; }
  .biz-num { font-size: 16px; }
  .biz-head h3 { font-size: 22px; }
  .biz-items { grid-template-columns: 1fr; gap: 10px; }
  .biz-item { min-height: 0; padding: 18px 20px; }
  .biz-item b { font-size: 16px; }
  .biz-item span { font-size: 14px; }

  .step { padding: 0 0 40px 64px; }
  .step-num { width: 40px; height: 40px; font-size: 15px; }
  .step:not(:last-child)::after { top: 40px; left: 20px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }
  .process-note { flex-direction: column; gap: 8px; margin-top: 48px; font-size: 13px; }

  .statement-copy .h2 { font-size: 24px; line-height: 1.55; }
  .statement-copy p:not(.eyebrow) { margin-top: 20px; font-size: 16px; }
  .statement-facts { margin-top: 36px; }
  .wide-photo { margin: 56px calc(var(--gx) * -1) 0; }
  .wide-photo img { aspect-ratio: 4 / 3; }
  .wide-photo figcaption { padding-inline: var(--gx); text-align: left; }
  .values-band { grid-template-columns: 1fr; gap: 0; }
  .value { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; padding: 22px 0; }
  .value strong { margin-top: 0; font-size: 26px; }
  .value-en { margin-top: 0; font-size: 11px; }

  .cta-strip { padding: 32px 24px; gap: 24px; margin-inline: calc(var(--gx) * -1); }
  .cta-strip h2 { font-size: 22px; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
  .cta-actions .link-arrow { justify-content: center; }

  .listing-head { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 28px; }
  .search-box { width: 100%; }
  .search-box input { height: 50px; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gx) * -1) 28px; padding: 0 var(--gx) 4px; scrollbar-width: none; }
  .category-filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: none; font-size: 14px; }
  .empty-panel { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; margin-inline: calc(var(--gx) * -1); font-size: 16px; }
  .empty-title { font-size: 19px; }
  .empty-title + p { font-size: 14px; }
  .empty-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
  .empty-actions .link-arrow { justify-content: center; }
  .job-grid, .knowledge-grid { grid-template-columns: 1fr; gap: 16px; }
  .job-card-body, .knowledge-card-content { padding: 22px; }
  .faq-question { font-size: 16px; }
  .faq-item summary { padding: 20px 0; gap: 16px; }
  .faq-answer { padding-right: 0; font-size: 15px; }
  .faq-list { margin-top: 32px; }

  .article-shell { padding-block: 40px 80px; }
  .article-header h1 { font-size: 28px; }
  .article-content p { font-size: 16px; }
  .article-not-found { padding: 56px 24px; margin-inline: calc(var(--gx) * -1); }
  .article-not-found h1 { font-size: 22px; }

  /* Mobile Footer：品牌横排 → 电话大字 → 地址 → 双二维码 → 导航一行 → 版权 */
  .footer-main { display: flex; flex-direction: column; gap: 0; padding-block: 56px 0; }
  .footer-brand { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
  .footer-logo { width: 64px; height: 64px; grid-row: span 2; }
  .footer-name { margin-top: 0; font-size: 16px; }
  .footer-en { margin-top: 2px; font-size: 11px; }
  .footer-desc { grid-column: 1 / -1; margin-top: 20px; font-size: 13px; }
  .footer-contact { order: 2; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); }
  .footer-contact .footer-title { display: none; }
  .footer-phone { font-size: 26px; margin-bottom: 16px; }
  .footer-qr { order: 3; margin-top: 32px; }
  .footer-qr .footer-title { display: none; }
  .qr-grid { max-width: none; margin: 0; gap: 16px; }
  .qr-tile { padding: 8px; }
  .footer-nav { order: 4; margin-top: 36px; padding-block: 20px; border-top: 1px solid var(--on-dark-line); }
  .footer-nav .footer-title { display: none; }
  .footer-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
  .footer-nav li + li { margin-top: 0; }
  .footer-nav a { font-size: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 20px 28px; font-size: 12px; }
}

@media (max-width: 380px) {
  :root { --gx: 18px; }
  .hero h1 { font-size: 33px; }
  .banner h1 { font-size: 30px; }
  .footer-phone { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* app.js 渲染的空状态（知识库归档）与静态空状态统一 */
.empty-state { grid-column: 1 / -1; padding: 56px 64px; background: var(--tint); color: var(--ink); font-size: 18px; font-weight: 500; }
@media (max-width: 640px) { .empty-state { padding: 32px 24px; margin-inline: calc(var(--gx) * -1); font-size: 16px; } }

/* 内容管理：保持原有模板，仅适配原生文章及案例图片。 */
[data-company-text] p:first-child { margin-top: 28px; }
.split-copy [data-company-text] p:first-child { margin-top: 28px; }
.content-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; font-size: 14px; }
.content-pagination button:disabled { opacity: .45; cursor: default; }
.content-retry { margin-top: 20px; }
.cms-rich-content { overflow-wrap: anywhere; }
.knowledge-card h3, .knowledge-card-content p, .article-header h1, [data-company-heading], [data-company-text] { overflow-wrap: anywhere; }
.cms-rich-content > * { margin-top: 24px; }
.cms-rich-content h2, .cms-rich-content h3 { margin-top: 40px; }
.cms-rich-content ul, .cms-rich-content ol { padding-left: 1.5em; list-style: revert; }
.cms-rich-content li + li { margin-top: 8px; }
.cms-rich-content figure { max-width: 100%; }
.cms-rich-content img, .article-cover .content-cover { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; margin-inline: auto; }
.cms-rich-content figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.cms-rich-content a { color: var(--blue-600); text-decoration: underline; }
.cms-rich-content blockquote { margin-inline: 0; padding-left: 24px; border-left: 2px solid var(--line-strong); }
.case-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--gap); }
.case-image { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 2px; }
.case-image img { width: 100%; height: auto; }
@media (max-width: 1023px) { .case-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  [data-company-text] p:first-child, .split-copy [data-company-text] p:first-child { margin-top: 20px; }
  .case-gallery { grid-template-columns: 1fr; }
  .content-pagination { gap: 12px; margin-top: 28px; }
  .content-pagination .filter-button { padding-inline: 12px; }
}
