/* =============================================================
 * 劳务公司网站 - 前台样式 (css/style.css)
 * -------------------------------------------------------------
 * 视觉语言：Vesper 暗黑液态金属
 *   · 纯黑背景 #000 + 半透明液态金属面板
 *   · 字体：华为栈（HarmonyOS Sans / PingFang / 雅黑），数字与文字同族
 *   · 圆润药丸 / 液态金属按钮 / 光泽扫过
 *   · 动效曲线 cubic-bezier(0.16, 1, 0.3, 1)
 *   · 全屏暗黑hero + 颗粒纹理覆盖层
 * ============================================================= */

:root {
  /* 品牌色（保留蓝色用于语义指示，但主视觉是黑/白/半透明白） */
  --brand: #4a9eff;
  --brand-dark: #2997ff;

  /* 语义色 */
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --block: #f87171;
  --block-soft: rgba(248, 113, 113, 0.12);

  /* Vesper 暗黑设计令牌 */
  --bg: #000000;
  --bg-alt: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #ffffff;
  --text-sub: #9a9a9a;
  --text-mute: rgba(255, 255, 255, 0.42);
  --text-dimmer: rgba(255, 255, 255, 0.42);
  --muted: #9a9a9a;
  --stat: #d8d8d8;
  --border: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.26);
  --fill-ghost: rgba(255, 255, 255, 0.05);
  --fill-solid: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);

  /* 形状 —— 圆润药丸为主 */
  --r-xl: 8px;
  --r-lg: 8px;
  --r: 6px;
  --r-sm: 4px;
  --pill: 100px;

  /* 阴影 —— 暗黑模式下用发光而非投影 */
  --sh-xs: 0 0 0 1px rgba(255, 255, 255, 0.06);
  --sh-sm: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.5);
  --sh: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.6);
  --sh-lg: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 32px 80px rgba(0, 0, 0, 0.7);

  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
  --gutter: clamp(20px, 5vw, 100px);

  /* Vesper 字体栈 */
  /* 字体真实定义以 refinements.css 的 --g-font（华为栈）为准，此处仅为兜底 */
  --font-ui: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: var(--font-ui);
  --font-serif: var(--font-ui);
}

/* 强制黑色，防止白闪 */
html, body { background: #000000 !important; color: #ffffff; }
html, body { background: #000000; background: var(--bg, #000000); color: #ffffff; color: var(--text, #ffffff); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; font-weight: 700; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }

/* =============================================================
 * 颗粒纹理覆盖层
 * ============================================================= */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-size: 200px 200px;
}

/* =============================================================
 * 入场动画系统（Vesper appear）
 * ============================================================= */
.appear { opacity: 1; animation-duration: 1.05s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); animation-delay: var(--d, 0.08s); }
.appear.is-in { animation: none; opacity: 1; transform: none; clip-path: none; filter: none; }

@keyframes in-scale { from { opacity: 0; transform: scale(0.84); } to { opacity: 1; transform: none; } }
@keyframes in-soft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes in-mask { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes in-pop { 0% { opacity: 0; transform: scale(0.9); } 70% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes in-btn { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes in-side { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes in-stat { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.appear--scale { animation-name: in-scale; }
.appear--soft { animation-name: in-soft; }
.appear--mask { animation-name: in-mask; }
.appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; }
.appear--side { animation-name: in-side; }
.appear--stat { animation-name: in-stat; }

/* H1 em 渐入 + 去模糊 */
@keyframes in-em { from { opacity: 0.35; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
.hero h1 em { animation: in-em 1.2s var(--ease) 0.72s both; }
.hero h1 em.is-in { animation: none; opacity: 1; filter: none; }

/* 滚动淡入上浮（保留原有 data-reveal） */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.07s; }
[data-reveal][data-delay="2"] { transition-delay: 0.14s; }
[data-reveal][data-delay="3"] { transition-delay: 0.21s; }
[data-reveal][data-delay="4"] { transition-delay: 0.28s; }
[data-reveal][data-delay="5"] { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .appear, .hero-photo, .hero h1 em, [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
}

/* =============================================================
 * 导航（暗黑毛玻璃 + 液态金属药丸）
 * ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 200;
  /* 全透明悬浮：与页面背景零色差，无底色无毛玻璃无底线 */
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
}
.nav-inner { display: flex; align-items: center; gap: 8px; height: var(--nav-h); }
/* 华为式通栏导航：与企业卡片墙同宽（全屏铺满，两侧留白一致） */
.nav .container.nav-inner { max-width: none; padding: 0 clamp(16px, 3vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; letter-spacing: -0.03em; }
/* 导航品牌文字标：仿华为官网左上角纯文字 logo——无框、无底色，加粗深色 */
.brand-word { font-weight: 800; color: #1f2329; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark {
  width: 36px; height: 36px; flex: none;
  color: #fff; display: grid; place-items: center;
  font-size: 20px; font-weight: 700;
  font-family: var(--font-ui);
}
.brand small {
  display: block; font-size: 11px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--font-mono);
}

/* 导航链接 —— 仿华为官网：裸露文字无框，通高点击区，hover/当前页下划线 */
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  height: var(--nav-h); padding: 0 20px; position: relative;
  display: inline-flex; align-items: center;
  border: 0; background: none; border-radius: 0;
  color: var(--text-sub);
  font-family: var(--font-ui);
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 14px; height: 2px;
  background: #fff; transform: scaleX(0); transform-origin: left center;
  transition: transform 0.3s var(--ease); pointer-events: none;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* CTA —— 仿华为：扁平实心强调按钮（白底黑字），无框无渐变 */
.nav-cta {
  margin-left: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; white-space: nowrap;
  background: #fff;
  color: #000 !important;
  padding: 0 24px; height: 40px;
  border: 0; border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.82); }

.nav-admin {
  margin-left: 4px; padding: 0 10px; height: var(--nav-h);
  display: inline-flex; align-items: center;
  border: 0; background: none;
  color: var(--muted) !important;
  font-family: var(--font-ui);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-admin:hover {
  color: #fff !important;
  background: none;
}

/* 移动端底部常驻 */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(28px);
  backdrop-filter: saturate(140%) blur(28px);
  border-top: 1px solid var(--line);
}
.quickbar .btn { flex: 1; padding: 0; font-size: 15px; height: 52px; }

/* =============================================================
 * 按钮 —— 液态金属玻璃质感 + 光泽扫过
 * ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; height: 48px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
  white-space: nowrap; cursor: pointer;
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}
/* 光泽扫过 */
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.45) 48%, transparent 76%);
  transform: translateX(-130%); transition: transform 0.65s ease; pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
/* 鼠标跟随光斑 */
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.15), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: -1;
}
.btn:hover::before { opacity: 1; }

/* Solid —— 银色液态金属 */
.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #e7e7e7 48%, #cfcfcf 100%);
  color: #111; border: 1px solid #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 42%, #d5def2 100%);
  border-color: #f2f6ff;
  box-shadow: inset 0 1px 0 #fff, 0 0 22px rgba(186,208,255,0.35), 0 8px 18px rgba(255,255,255,0.12);
}

/* Ghost —— 半透明液态玻璃 */
.btn-ghost {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.45) 50%, rgba(160,175,200,0.08));
  color: #fff; border: 1px solid rgba(198,198,198,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.btn-ghost:hover {
  background: linear-gradient(135deg, rgba(210,225,255,0.18), rgba(0,0,0,0.35) 48%, rgba(180,195,220,0.16));
  border-color: rgba(220,230,255,0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 20px rgba(170,200,255,0.22);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05); color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,0.4); }
.btn-plain {
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-plain:hover {
  background: rgba(255, 255, 255, 0.14); color: var(--text);
}
.btn-sm { padding: 0 18px; height: 40px; font-size: 14px; }
.btn-block { width: 100%; }

/* =============================================================
 * 首屏叙事（暗黑剧场 + 微动画背景）
 * ============================================================= */
.story-panel {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.story-panel.dark {
  background: #000; color: #fff;
}
.story-panel.dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(74, 158, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  animation: ambientShift 18s var(--ease) infinite alternate;
}
@keyframes ambientShift {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}
.story-panel.dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.55) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.65) 100%);
}
.story-panel.dark > * { position: relative; z-index: 2; }

.story-panel.light { background: var(--bg); }
.story-panel.tinted { background: var(--bg-alt); }

.story-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 10px; color: var(--text-mute); display: flex; flex-direction: column;
  align-items: center; gap: 6px; z-index: 3;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.story-panel.dark .story-hint { color: rgba(255, 255, 255, 0.42); }
.story-hint i {
  display: block; width: 1px; height: 26px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: hintDrop 1.8s var(--ease) infinite;
}
@keyframes hintDrop {
  0% { opacity: 0; transform: translateY(-6px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* 第 1 屏：主标题 */
/* 首屏 hero 内容整体上移：满屏垂直居中视觉太靠下，负 margin 上提一段，不影响其它 story-panel */
#top .container.hero { margin-top: clamp(-90px, -8vh, -40px); }
.hero { text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: clamp(13px, 0.9vw, 16px); font-weight: 500;
  color: var(--muted); margin-bottom: 24px;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #7d7d7d 0%, #2a2a2a 52%, #0a0a0a 100%);
  padding: 10px 18px;
  line-height: 1; border-radius: 6px; border: 0;
}
.hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(52px, 8vw, 112px);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.045em;
  margin-bottom: 26px; color: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.headline-line {
  display: block; overflow: hidden; padding: 0.06em 0.15em 0.14em;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  font-size: 1.08em; letter-spacing: -0.03em;
  color: #9a9a9a;
  -webkit-text-fill-color: #9a9a9a;
}
.hero .lead {
  font-family: var(--font-ui);
  font-size: clamp(17px, 2vw, 21px); font-weight: 500;
  color: var(--muted);
  max-width: 620px; margin: 18px auto 26px; line-height: 1.55;
  letter-spacing: -0.015em;
}
.story-panel.dark .hero .lead { color: #9a9a9a; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .btn { height: 52px; padding: 0 26px; font-size: 17px; }

/* 第 2 屏：企业规模 */
.scale-figure { text-align: center; }
.scale-figure .big {
  font-family: var(--font-ui);
  font-size: clamp(64px, 14vw, 168px); font-weight: 700; line-height: 1;
  letter-spacing: 0.02em; color: #fff;
}
.scale-figure .big small { font-size: 0.3em; font-weight: 500; margin-left: 0.12em; letter-spacing: 0; color: rgba(255, 255, 255, 0.42); }
.scale-figure .cap {
  margin-top: 18px; font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255, 255, 255, 0.62); font-weight: 500;
}
.scale-figure .cap b { color: #fff; font-weight: 500; }

.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  max-width: 760px; margin: 54px auto 0;
  background: var(--line); border-radius: var(--r); overflow: hidden;
}
.mini-stats > div {
  background: rgba(0, 0, 0, 0.9); padding: 30px 18px; text-align: center;
}
.mini-stats b {
  display: block; font-family: var(--font-ui);
  font-size: 34px; font-weight: 700; letter-spacing: 0.02em; color: #fff;
}
.mini-stats small {
  font-family: var(--font-mono);
  font-size: 11px; color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* 第 3 屏：先看这 4 件事 */
.four-things { max-width: 900px; margin: 0 auto; }
.four-things .grid4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px;
}
.thing {
  background: var(--card); border-radius: var(--r-lg); padding: 28px 26px;
  text-align: left; box-shadow: var(--sh-xs);
  border: 1px solid var(--border-soft);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.thing:hover {
  background: var(--card-hover);
  border-color: var(--line);
}
.thing .ico { font-size: 30px; margin-bottom: 14px; }
.thing h4 {
  font-family: var(--font-ui);
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.thing p { font-size: 15px; color: var(--text-sub); font-weight: 500; }

/* =============================================================
 * 通用区块
 * ============================================================= */
.section { padding: 108px 0; }
.section.tight { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: block;
  font-family: var(--font-mono);
  color: var(--text-sub); font-size: clamp(12px, 0.85vw, 15px);
  font-weight: 500; margin-bottom: 14px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-ui);
  font-size: clamp(34px, 5vw, 56px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}
.section-head p {
  font-family: var(--font-ui);
  color: var(--text-sub); margin-top: 16px;
  font-size: clamp(15px, 1.8vw, 19px); font-weight: 500;
}

/* 数字滚动条 */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 900px; margin: 0 auto;
}
.stat-cell { text-align: center; padding: 18px 8px; }
.stat-cell b {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(28px, 4.2vw, 44px); font-weight: 700;
  letter-spacing: 0.02em; color: var(--text);
}
.stat-cell b .sfx { font-size: 0.48em; font-weight: 500; color: var(--text-sub); margin-left: 0.08em; }
.stat-cell small {
  display: block; margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 10px; color: var(--text-sub);
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* =============================================================
 * 筛选栏
 * ============================================================= */
.toolbar {
  background: var(--card); border-radius: var(--r-lg); padding: 16px 18px;
  box-shadow: var(--sh-xs); margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  border: 1px solid var(--border-soft);
}
.toolbar .search { flex: 1 1 280px; position: relative; }
.toolbar .search::before {
  content: ""; position: absolute; left: 15px; top: 50%; width: 15px; height: 15px;
  transform: translateY(-50%); opacity: 0.38;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>");
}
.toolbar input, .toolbar select, .field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--border-soft); border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 13px; color: var(--text);
  background: rgba(0, 0, 0, 0.5); outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  appearance: none;
}
.toolbar .search input { padding-left: 42px; }
.toolbar input:focus, .toolbar select:focus, .field input:focus,
.field select:focus, .field textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.8);
}
.toolbar input::placeholder, .field input::placeholder, .field textarea::placeholder {
  color: var(--text-mute);
}
.toolbar select { flex: 0 1 176px; cursor: pointer; background-image: none; }

/* 快捷筛选胶囊 —— 直角矩形 */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  padding: 9px 16px; border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,255,255,0.06); color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  transition: 0.22s var(--ease); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: rgba(255,255,255,0.3); color: var(--text); background: rgba(255,255,255,0.1); }
.chip.on { background: rgba(255,255,255,0.16); color: var(--text); border-color: rgba(255,255,255,0.4); }

/* =============================================================
 * 企业卡片
 * ============================================================= */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; grid-auto-rows: auto; grid-auto-flow: dense; align-items: stretch; }

/* 华为式Bento布局（仅首页企业墙 #company-list，3列网格）：
   左宽列大卡跨2行 + 中间窄列【只有2张】小卡上下摞 + 右宽列大卡跨2行
   列宽：左 > 右 > 中间（左右都宽，左比右稍大一点） */
#company-list.grid { grid-template-columns: 1.414fr 1fr 1fr; }
#company-list .card.bento-l { grid-column: 1; grid-row: span 2; }
#company-list .card.bento-m { grid-column: 2; }
#company-list .card.bento-r { grid-column: 3; grid-row: span 2; }
/* 小卡 280→330px，整组更高 */
#company-list .card.card-bg { min-height: 330px; }
#company-list .card.card-bg .card-inner { min-height: 330px; }

/* 大卡片专属：企业简介 + 岗位预览（整卡图片风格下改为浮层文字） */
.card-feature-intro {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
  padding: 14px 16px;
  background: var(--fill-ghost);
  border-radius: 10px;
  border-left: 3px solid var(--brand);
}
.card-feature-jobs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-feature-jobs .fj-title {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.card-feature-jobs .fj-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--fill-ghost);
  border-radius: 8px;
  font-size: 13px;
  transition: background 0.2s;
}
.card-feature-jobs .fj-item:hover { background: var(--card-hover); }
.card-feature-jobs .fj-item .fj-name { font-weight: 500; color: var(--text); }
.card-feature-jobs .fj-item .fj-salary { color: var(--brand); font-weight: 700; font-family: var(--font-mono); }

/* 所有卡片增加内部饱满度 */
.card .card-body { padding: 22px; }
.card .pay { padding: 14px 16px; }
.card .spec-row { padding: 8px 0; }

/* 合作企业墙：占满整个屏幕宽度（仿华为官网全屏布局） */
#companies .container { max-width: none; padding: 0 clamp(16px, 3vw, 48px); }
#companies .section-head { max-width: none; }
/* ============ 整卡图片卡片（华为式，仅招聘主页 .card-bg 使用） ============ */
.card.card-bg {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 24px rgba(0,0,0,0.20);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  min-height: 280px;
}
.card.card-bg:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.22);
}
/* 深色渐变遮罩：保证文字在任意图片上可读，整体饱满无留白 */
.card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(168deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.30) 38%, rgba(10,14,26,0.55) 68%, rgba(10,14,26,0.82) 100%);
  z-index: 1;
  pointer-events: none;
}
.card.card-bg .card-badge { z-index: 3; }
/* 卡片本体变 flex 容器：让内容浮层永远撑满整卡高度，
   「查看详情 →」统一贴左下角（对齐中间两个小卡的效果） */
.card.card-bg { display: flex; flex-direction: column; }
/* 内容浮层 */
.card-inner {
  position: relative; z-index: 2;
  flex: 1;
  padding: 32px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  color: #fff;
}
.card-head { display: flex; align-items: center; gap: 13px; }
.card-head .card-logo {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(255,255,255,0.94); color: #1f2329;
  display: grid; place-items: center; font-size: 21px; font-weight: 700;
  flex: none; box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}
.card-head h3 { font-size: 24px; font-weight: 700; margin: 0 0 4px; color: #fff; letter-spacing: -0.01em; }
.card-head .card-meta { font-size: 12px; color: rgba(255,255,255,0.82); }
.card-pay { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.card-pay .num { font-size: 38px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.card-pay .unit { font-size: 12px; color: rgba(255,255,255,0.72); }
.card-actions { display: flex; gap: 10px; margin-top: auto; }
.card-actions .btn-plain { background: rgba(255,255,255,0.92); color: #1f2329; border-color: transparent; }
.card-actions .btn-plain:hover { background: #fff; }
.card-actions .btn-primary { border-color: transparent; }

/* ============ 招聘岗位卡片专属样式（整卡图片填充） ============ */
.job-card .card-tip {
  font-size: 12px; color: rgba(255,255,255,0.75);
  margin-left: auto; align-self: center;
}
.job-card .card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.job-card .card-tags .job-state {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  font-weight: 500;
}
.job-card .card-tags .job-state.open { background: rgba(34,197,94,0.25); color: #86efac; border: 1px solid rgba(34,197,94,0.4); }
.job-card .card-tags .job-state.full { background: rgba(239,68,68,0.25); color: #fca5a5; border: 1px solid rgba(239,68,68,0.4); }
.job-card .card-tags .job-state.stop { background: rgba(107,114,128,0.25); color: #d1d5db; border: 1px solid rgba(107,114,128,0.4); }
.job-card .card-tags .tag {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.14); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.job-card .card-spec {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12px; color: rgba(255,255,255,0.82);
}
.job-card .card-spec span { white-space: nowrap; }

/* 招聘岗位卡片：小卡片更紧凑 */
.job-card .card-inner { min-height: 260px; gap: 12px; }
.job-card .card-head h3 { font-size: 20px; }
.job-card .card-pay .num { font-size: 30px; }

@media (max-width: 700px) {
  .job-card .card-inner { min-height: 240px; padding: 20px; gap: 10px; }
  .job-card .card-head h3 { font-size: 18px; }
  .job-card .card-pay .num { font-size: 26px; }
  .job-card .card-tip { font-size: 11px; }
  .job-card .card-spec { font-size: 11px; gap: 6px 12px; }
}

/* ===== 企业卡片：简洁华为风（纯文字浮在背景图上，不用任何框） ===== */
/* 卡片所有文字统一加粗（仅限企业卡，不波及岗位卡 job-card） */
.card.card-bg:not(.job-card) { font-weight: 700; }
.card-badge-text {
  position: absolute; right: 20px; top: 20px; z-index: 3;
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.card.card-bg .card-title {
  font-size: 25px; font-weight: 700; margin: 0; color: #fff;
  letter-spacing: -0.01em; text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.card.card-bg .card-loc { font-size: 14.5px; color: rgba(255,255,255,0.78); }
.card.card-bg .card-dorm { font-size: 15px; color: rgba(255,255,255,0.9); }

/* AI 卖点：纯文字直接浮在背景图上——无框、无底色，前面一颗小亮点（CSS 画的，不用图标字体） */
.card.card-bg .card-points { display: grid; gap: 5px; }
.card.card-bg .card-points span {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 15px; color: #fff; line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.card.card-bg .card-points span::before {
  content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: #ffd166; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
.card.card-bg.card-feature .card-points { gap: 7px; }
.card.card-bg.card-feature .card-points span { font-size: 16.5px; }
@media (max-width: 700px) {
  .card.card-bg .card-points span { font-size: 14px; }
}
.card.card-bg .card-link {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 15px; font-weight: 700; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 2px;
  transition: border-color 0.22s var(--ease), gap 0.22s var(--ease);
}
.card.card-bg .card-link:hover { border-bottom-color: #fff; gap: 10px; }

/* 小卡片（中间两列） */
.card.card-bg:not(.card-feature) .card-inner { min-height: 250px; padding: 24px; gap: 12px; }
.card.card-bg:not(.card-feature) .card-title { font-size: 22px; }
.card.card-bg:not(.card-feature) .card-pay .num { font-size: 34px; }

/* 大卡片（左右两列，跨2行） */
.card.card-bg.card-feature.bento-l .card-inner, .card.card-bg.card-feature.bento-r .card-inner { min-height: 400px; padding: 34px; gap: 16px; }
.card.card-bg.card-feature.bento-l .card-title, .card.card-bg.card-feature.bento-r .card-title { font-size: 30px; }
.card.card-bg.card-feature.bento-l .card-loc, .card.card-bg.card-feature.bento-r .card-loc { font-size: 15.5px; }
.card.card-bg.card-feature.bento-l .card-pay .num, .card.card-bg.card-feature.bento-r .card-pay .num { font-size: 46px; }
.card.card-bg.card-feature.bento-l .card-pay .unit, .card.card-bg.card-feature.bento-r .card-pay .unit { font-size: 14.5px; }
.card.card-bg.card-feature.bento-l .card-dorm, .card.card-bg.card-feature.bento-r .card-dorm { font-size: 16px; }
.card.card-bg.card-feature.bento-l .card-link, .card.card-bg.card-feature.bento-r .card-link { font-size: 16.5px; }

/* 左大卡片（card-xl）比右大卡片更大 */
.card.card-bg.card-feature.card-xl .card-inner { min-height: 460px; padding: 40px; gap: 18px; }
.card.card-bg.card-feature.card-xl .card-title { font-size: 34px; }
.card.card-bg.card-feature.card-xl .card-pay .num { font-size: 54px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  /* 覆盖桌面 #company-list 定制，恢复两列等宽与紧凑高度 */
  #company-list.grid { grid-template-columns: repeat(2, 1fr); }
  #company-list .card.card-bg { min-height: 240px; }
  #company-list .card.card-bg .card-inner { min-height: 240px; }
  #company-list .card.bento-l, #company-list .card.bento-m, #company-list .card.bento-r { grid-column: auto; grid-row: auto; }
  .card.card-bg { min-height: 240px; }
  .card-inner { padding: 24px; min-height: 240px; }
  .card-head h3 { font-size: 20px; }
  .card-pay .num { font-size: 30px; }
  .card.card-bg.card-feature.bento-l .card-inner, .card.card-bg.card-feature.bento-r .card-inner { min-height: 320px; padding: 28px; }
  .card.card-bg.card-feature.bento-l .card-title, .card.card-bg.card-feature.bento-r .card-title { font-size: 27px; }
  .card.card-bg.card-feature.bento-l .card-pay .num, .card.card-bg.card-feature.bento-r .card-pay .num { font-size: 40px; }
}
@media (max-width: 700px) {
  /* 手机端：单列，卡片一个一个显示，占满屏幕宽度 */
  #companies .container { padding: 0 12px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  /* 覆盖桌面 #company-list 定制，恢复单列 */
  #company-list.grid { grid-template-columns: 1fr; }
  #company-list .card.card-bg { min-height: 260px; }
  #company-list .card.card-bg .card-inner { min-height: 260px; }
  #company-list .card.bento-l, #company-list .card.bento-m, #company-list .card.bento-r { grid-column: auto; grid-row: auto; }
  /* 手机端卡片更大更饱满 */
  .card.card-bg { min-height: 260px; border-radius: 14px; }
  .card-inner { padding: 24px 20px; min-height: 260px; gap: 12px; }
  .card-head .card-logo { width: 52px; height: 52px; font-size: 20px; border-radius: 12px; }
  .card-head h3 { font-size: 20px; }
  .card-head .card-meta { font-size: 12px; }
  .card.card-bg .card-title { font-size: 22px; }
  .card-pay .num { font-size: 36px; }
  .card-pay .unit { font-size: 13.5px; }
  .card-actions { gap: 8px; }
  .card-actions .btn { font-size: 13px; padding: 10px 14px; }
}

.card {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-xs); display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  background: var(--card-hover);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 12px 40px rgba(0,0,0,0.5);
}

.card-cover {
  position: relative; padding: 22px; color: #fff; min-height: 128px;
  display: flex; align-items: center; gap: 14px;
  overflow: hidden;
}
/* 卡片封面背景图片：饱满填充，无留白 */
.card-cover-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.card-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,20,35,0.78) 0%, rgba(15,20,35,0.48) 45%, rgba(15,20,35,0.72) 100%);
  z-index: 1;
}
.card-cover > * { position: relative; z-index: 2; }
.card-logo {
  width: 56px; height: 56px; border-radius: var(--r); flex: none;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; font-size: 24px; font-weight: 500;
  font-family: var(--font-mono);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.card-cover h3 {
  font-family: var(--font-ui);
  font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
}
.card-cover span {
  font-family: var(--font-mono);
  font-size: 11px; opacity: 0.62;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card-badge {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px; border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 16px; }

/* 薪资 */
.pay {
  display: flex; align-items: baseline; gap: 7px;
  padding: 13px 15px; border-radius: var(--r);
  background: var(--fill-ghost); border: 1px solid var(--border-soft);
}
.pay .num {
  font-family: var(--font-ui);
  font-size: 28px; font-weight: 700; letter-spacing: 0.02em; color: var(--text);
}
.pay .unit {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-sub); font-weight: 500;
  letter-spacing: 0.12em;
}
.pay .tip {
  margin-left: auto; font-size: 11px; color: var(--text-mute); text-align: right; line-height: 1.35;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* 四组核心参数 */
.spec { display: grid; gap: 10px; }
.spec-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.spec-row .k {
  flex: none; width: 68px; color: var(--text-mute); font-size: 11px;
  line-height: 1.65;
  font-family: var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.spec-row .v { flex: 1; color: var(--text); line-height: 1.5; display: flex; flex-wrap: wrap; gap: 6px; font-weight: 500; }
.spec-row .v .plain { color: var(--text-sub); }

/* 招聘状态 */
.job-state {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.job-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.job-state.open { color: var(--ok); }
.job-state.full { color: var(--text-mute); }
.job-state.stop { color: var(--block); }

/* =============================================================
 * 标签
 * ============================================================= */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px; padding: 5px 13px; border-radius: var(--r-sm);
  font-weight: 500; line-height: 1.4; white-space: nowrap;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--fill-ghost); color: var(--text-sub);
  border: 1px solid var(--border-soft);
}
.tag.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(52, 211, 153, 0.2); }
.tag.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(251, 191, 36, 0.2); }
.tag.block { background: var(--block-soft); color: var(--block); border-color: rgba(248, 113, 113, 0.2); }
.tag.brand { background: rgba(74, 158, 255, 0.12); color: var(--brand); border-color: rgba(74, 158, 255, 0.2); }

/* =============================================================
 * 宿舍环境
 * ============================================================= */
.dorm {
  display: flex; gap: 12px; align-items: center; padding: 12px;
  border-radius: 0; background: var(--bg); border: 1px solid var(--line-soft);
}
.dorm .thumb {
  width: 52px; height: 52px; border-radius: 0; flex: none;
  display: grid; place-items: center; font-size: 22px; color: #fff;
  background: var(--fill-ghost); border: 1px solid var(--line-soft);
}
.dorm .txt { font-size: 14px; color: var(--text-sub); line-height: 1.5; min-width: 0; }
.dorm .txt b {
  display: block; color: var(--text); font-size: 15px;
  font-weight: 500; margin-bottom: 2px;
  font-family: var(--font-ui);
}

/* 卡片上的核心优势 */
.card-adv {
  display: grid; gap: 7px; padding: 13px 15px;
  border-radius: var(--r); background: var(--bg); border: 1px solid var(--border-soft);
}
.card-adv .adv-head {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500; color: var(--text-mute);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card-adv .adv-line { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.card-adv .adv-ico { flex: none; font-size: 16px; line-height: 1.2; }
.card-adv .adv-line b { flex: none; font-weight: 500; font-family: var(--font-ui); }
.card-adv .adv-tx {
  min-width: 0; color: var(--text-sub);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-adv .adv-more {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.12em;
}

/* 详情页宿舍画廊 */
.dorm-gallery {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.dorm-gallery::-webkit-scrollbar { height: 4px; }
.dorm-gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 0; }
.dorm-shot {
  flex: 0 0 74%; min-width: 240px; aspect-ratio: 4 / 3; border-radius: 0;
  scroll-snap-align: start; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-size: 40px;
  background: var(--fill-ghost); border: 1px solid var(--line-soft);
}
.dorm-shot span {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-ui);
  font-size: 10px;
  background: rgba(0, 0, 0, 0.5); padding: 4px 12px; border-radius: 0;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.facility {
  text-align: center; font-size: 10px; color: var(--text-sub);
  padding: 14px 6px; border-radius: 0; background: var(--fill-ghost);
  border: 1px solid var(--line-soft);
  font-family: var(--font-ui);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.facility b {
  display: block; font-family: var(--font-ui);
  font-size: 18px; margin-bottom: 5px; color: var(--text); font-weight: 500;
}

/* =============================================================
 * 优势 / 流程
 * ============================================================= */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  background: var(--card); border-radius: var(--r-lg); padding: 30px 26px;
  box-shadow: var(--sh-xs); transition: 0.4s var(--ease);
  border: 1px solid var(--border-soft);
}
.value-card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: var(--line);
}
.value-icon { font-size: 34px; margin-bottom: 16px; }
.value-card h4 {
  font-family: var(--font-ui);
  font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em;
}
.value-card p { font-size: 15px; color: var(--text-sub); font-weight: 500; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow-item {
  position: relative; background: var(--card); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--sh-xs);
  border: 1px solid var(--border-soft);
}
.flow-item::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 20px; top: 14px;
  font-family: var(--font-ui);
  font-size: 34px; font-weight: 500; color: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
}
.flow-item h4 {
  font-family: var(--font-ui);
  font-size: 19px; font-weight: 700; margin-bottom: 7px; position: relative;
}
.flow-item p { font-size: 15px; color: var(--text-sub); position: relative; font-weight: 500; }

/* =============================================================
 * 企业详情页
 * ============================================================= */
.crumb {
  font-family: var(--font-ui);
  font-size: 11px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.crumb:hover { color: var(--text); }

.detail-hero {
  border-radius: var(--r-xl); padding: 38px 34px; color: #fff; position: relative;
  overflow: hidden; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--sh-sm);
  background: var(--fill-ghost); border: 1px solid var(--border-soft);
}
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.12) 0, transparent 58%);
}
.detail-hero > * { position: relative; z-index: 2; }
.detail-hero .card-logo { width: 72px; height: 72px; font-size: 30px; border-radius: 0; }
.detail-hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em;
}
.detail-hero p {
  opacity: 0.62; font-size: 14px; margin-top: 5px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.detail-hero .hero-pay { margin-left: auto; text-align: right; }
.detail-hero .hero-pay small {
  font-family: var(--font-ui);
  font-size: 10px; opacity: 0.62; display: block;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.detail-hero .hero-pay b {
  font-family: var(--font-ui);
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: 0.02em;
}
.detail-hero .hero-pay b span { font-size: 0.5em; font-weight: 500; }

.detail-layout { display: grid; grid-template-columns: 1fr 336px; gap: 24px; margin-top: 24px; align-items: start; }
.panel {
  background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-xs);
  border: 1px solid var(--border-soft);
}
.panel + .panel { margin-top: 20px; }
.panel h3 {
  font-family: var(--font-ui);
  font-size: 19px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 18px;
}
.panel h3 .count {
  font-family: var(--font-ui);
  font-size: 12px; color: var(--text-mute); font-weight: 500; margin-left: 6px;
  letter-spacing: 0.12em;
}
.panel p.desc { color: var(--text-sub); font-size: 14px; line-height: 1.65; font-weight: 500; }

.adv-list { display: grid; gap: 12px; }
.adv-item {
  display: flex; gap: 14px; padding: 17px; border-radius: 0; background: var(--fill-ghost);
  border: 1px solid var(--line-soft);
}
.adv-item .ico {
  font-size: 20px; flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.5); border-radius: 0; box-shadow: var(--sh-xs);
  border: 1px solid var(--line-soft);
}
.adv-item h5 {
  font-family: var(--font-ui);
  font-size: 15px; font-weight: 700; margin-bottom: 3px;
}
.adv-item p { font-size: 13px; color: var(--text-sub); font-weight: 500; }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { padding: 15px 14px; text-align: left; vertical-align: top; }
.spec-table th {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500; color: var(--text-mute);
  background: var(--fill-ghost); white-space: nowrap;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.spec-table td { border-bottom: 1px solid var(--line-soft); color: var(--text); font-weight: 500; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table .jt-title {
  font-family: var(--font-ui);
  font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
}
.spec-table .jt-title small {
  display: block; font-weight: 500; color: var(--text-mute); font-size: 11px; margin-top: 3px;
  font-family: var(--font-ui); letter-spacing: 0.1em;
}
.job-salary {
  font-family: var(--font-ui);
  color: var(--text); font-weight: 700; font-size: 16px; white-space: nowrap; letter-spacing: 0.02em;
}
.job-salary small {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500; color: var(--text-sub);
  letter-spacing: 0.12em;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 侧栏 */
.side-cta { background: var(--fill-ghost); text-align: center; }
.side-cta h3 { justify-content: center; }
.side-cta .hotline {
  font-family: var(--font-ui);
  font-size: 25px; font-weight: 700; letter-spacing: 0.02em; margin: 6px 0 4px;
}
.side-cta p { font-size: 12px; color: var(--text-sub); margin-bottom: 18px; font-weight: 500; }
.side-cta .btn { width: 100%; }
.side-cta .btn + .btn { margin-top: 10px; }

/* 二维码 */
.qr-card { text-align: center; }
.qr-box {
  width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 0;
  background: var(--fill-ghost); display: grid; place-items: center;
  font-size: 11px; color: var(--text-mute); text-align: center; padding: 14px;
  border: 1px dashed var(--line);
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.qr-card p { font-size: 12px; color: var(--text-sub); }
.sticky-side { position: sticky; top: calc(var(--nav-h) + 20px); }

/* =============================================================
 * 报名页
 * ============================================================= */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > label {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500; color: var(--text-sub);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.field > label i { color: var(--block); font-style: normal; }
.field textarea { resize: vertical; min-height: 96px; }
.field .hint {
  font-family: var(--font-ui);
  font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.1em;
}
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.form-actions .hint {
  font-family: var(--font-ui);
  font-size: 10px; color: var(--text-mute); letter-spacing: 0.1em;
}

/* 硬性条件自检 */
.selfcheck { display: grid; gap: 10px; }
.selfcheck-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-radius: 0; background: var(--fill-ghost); cursor: pointer;
  transition: 0.22s var(--ease); border: 1px solid var(--line-soft);
}
.selfcheck-item:hover { background: rgba(255, 255, 255, 0.08); }
.selfcheck-item input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.selfcheck-item .txt { font-size: 15px; font-weight: 500; }
.selfcheck-item .txt b { font-weight: 500; font-family: var(--font-ui); }
.selfcheck-item .txt small {
  display: block; color: var(--text-sub); font-size: 12px; margin-top: 2px;
  font-family: var(--font-mono); letter-spacing: 0.08em;
}
.selfcheck-item.no { background: var(--block-soft); border-color: rgba(248, 113, 113, 0.2); }
.selfcheck-item.no .txt b { color: var(--block); }

/* 面试时间段 */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 10px; }
.slot {
  padding: 13px 8px; border-radius: 0; text-align: center; font-size: 12px;
  background: var(--fill-ghost); border: 1px solid var(--line-soft); cursor: pointer;
  transition: 0.22s var(--ease); font-weight: 500;
  font-family: var(--font-ui);
  letter-spacing: 0.12em;
}
.slot:hover { background: rgba(255, 255, 255, 0.08); }
.slot small {
  display: block; font-size: 10px; color: var(--text-mute); font-weight: 500; margin-top: 2px;
  letter-spacing: 0.1em;
}
.slot.on {
  background: rgba(74, 158, 255, 0.12); border-color: rgba(74, 158, 255, 0.3);
  color: var(--brand);
}
.slot.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* 报名成功 */
.done-panel { text-align: center; padding: 46px 28px; }
.done-panel .big { font-size: 54px; margin-bottom: 12px; }
.done-panel h3 { justify-content: center; margin-bottom: 10px; }
.done-panel .desc { margin-bottom: 24px; }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 表单步骤提示 */
.steps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.step-dot {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui);
  font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.step-dot i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fill-ghost); font-size: 11px; font-style: normal; font-weight: 500;
  border: 1px solid var(--line-soft);
}
.step-dot.on { color: var(--text); }
.step-dot.on i { background: var(--fill-solid); color: #fff; border-color: var(--line-strong); }

/* =============================================================
 * 空状态 / Toast
 * ============================================================= */
.empty {
  grid-column: 1 / -1; text-align: center; padding: 76px 24px;
  color: var(--text-mute); background: var(--card); border-radius: 0;
  border: 1px solid var(--line-soft);
}
.empty b {
  display: block; font-family: var(--font-ui);
  font-size: 38px; margin-bottom: 12px; font-weight: 700;
}
.empty a { color: var(--brand); }

.toast-wrap {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: grid; gap: 10px; width: max-content; max-width: 92vw;
}
.toast {
  padding: 13px 22px; border-radius: var(--r); color: #fff;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-strong);
  animation: toastIn 0.35s var(--ease);
  display: flex; align-items: center; gap: 9px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.toast.ok { background: rgba(52, 211, 153, 0.85); border-color: rgba(52, 211, 153, 0.4); }
.toast.err { background: rgba(248, 113, 113, 0.85); border-color: rgba(248, 113, 113, 0.4); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(0.96); } to { opacity: 1; transform: none; } }

/* =============================================================
 * 页脚
 * ============================================================= */
.footer { background: var(--bg-alt); padding: 62px 0 30px; margin-top: 0; font-size: 13px; color: var(--text-sub); border-top: 1px solid var(--line); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line-soft);
}
.footer .brand { color: var(--text); margin-bottom: 14px; }
.footer h5 {
  font-family: var(--font-ui);
  color: var(--text); font-size: 11px; font-weight: 500; margin-bottom: 15px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { transition: color 0.25s ease; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.12em;
}

/* =============================================================
 * 响应式
 * ============================================================= */
@media (max-width: 1024px) {
  .grid, .value-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-snap-type: none; }
  .story-panel { min-height: auto; padding: 76px 0 56px; }
  .story-hint { display: none; }

  .nav-links { display: none; }
  .quickbar { display: flex; }
  body { padding-bottom: 66px; }

  .section { padding: 62px 0; }
  .section-head { margin-bottom: 34px; }
  .grid, .value-grid, .flow, .field-grid, .footer-top { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 4px 12px; }
  .mini-stats { grid-template-columns: 1fr; }
  .four-things .grid4 { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .dorm-shot { flex-basis: 84%; }
  .detail-hero { flex-direction: column; text-align: center; padding: 30px 22px; }
  .detail-hero .hero-pay { margin-left: 0; text-align: center; }
  .panel { padding: 22px 18px; }
  .footer-bottom { flex-direction: column; }
}

/* =============================================================
 * 焦点 / A11Y
 * ============================================================= */
:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* =============================================================
 * 短屏压缩
 * ============================================================= */
@media (max-height: 640px) {
  .story-panel { min-height: 100svh; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; }
  .hero h1 { font-size: clamp(36px, 7vw, 64px); }
  .hero .lead { margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 24px; }
  .footer { font-size: 11px; padding: 40px 0 20px; }
}
