/* ==========================================================================
   云众聚才 · 企业官网单页样式
   结构：1 变量与基础 → 2 通用组件 → 3 头部导航 → 4 首屏（深色全屏）
         → 5 区块与标题 → 6 核心业务 → 7 资质荣誉 → 8 关于我们
         → 9 联系与表单 → 10 页脚 → 11 动效与可访问性 → 12 响应式断点
   维护提示：颜色、间距、圆角统一走 :root 变量，改主题只需改变量。
   ========================================================================== */

/* ===== 1. 变量与基础 ================================================== */
:root {
  /* 品牌色：采样自公司 logo（#F02924），并派生深浅色阶 */
  --brand: #f02924;          /* 品牌红：大色块、大字号点缀、发光 */
  --brand-strong: #d6221c;   /* 按钮 / 链接：白底对比度 5.1:1，正文可用 */
  --brand-ink: #b81d18;      /* 小字号红字：对比度更高 */
  --brand-light: #ff8b84;    /* 深色背景上的红：用于深色区文字强调 */
  --brand-soft: #fff2f1;     /* 极浅红底 */
  --brand-line: #f7cdca;     /* 红系描边 */

  /* 科技点亮色（仅用于装饰渐变，不承载正文信息） */
  --accent: #4f8cff;
  --accent-2: #16d0c4;

  /* 深色（首屏） */
  --dark-0: #070b12;
  --dark-1: #0b1220;
  --dark-2: #16233a;
  --ink-light: #f2f5fa;
  --text-light: rgba(242, 245, 250, .74);
  --muted-light: rgba(242, 245, 250, .55);
  --line-light: rgba(255, 255, 255, .12);

  /* 中性色 */
  --ink: #14181d;
  --text: #3d454e;
  --muted: #6b747d;
  --line: #e5e8ec;
  --line-strong: #d3d8de;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;

  /* 版式 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;

  /* 布局 */
  /* 内容宽度：宽屏下若只有 1160px，整页会缩成屏幕中间「一条」，两侧留白过大。
     桌面端放宽到 1240，超大屏 1320（见 1200px 断点处的覆盖）。 */
  --container: 1240px;
  --gutter: 20px;
  --header-h: 60px;
  --radius: 14px;
  --radius-sm: 10px;

  /* 阴影 / 光效 */
  --shadow-sm: 0 1px 2px rgba(20, 24, 29, .05);
  --shadow-md: 0 6px 20px rgba(20, 24, 29, .07);
  --shadow-lg: 0 18px 44px rgba(20, 24, 29, .10);
  --glow-red: 0 10px 30px rgba(240, 41, 36, .28);
  --glow-card: 0 14px 40px rgba(20, 24, 29, .10);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;

  --focus: 0 0 0 3px rgba(214, 34, 28, .35);
  --focus-light: 0 0 0 3px rgba(255, 139, 132, .55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 锚点跳转与表单聚焦的自动滚动统一预留吸顶头部高度，避免目标被遮挡 */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--brand-ink); }

strong { color: var(--ink); font-weight: 600; }

/* 锚点定位避开吸顶头部 */
:where(section[id], main[id]) { scroll-margin-top: calc(var(--header-h) + 12px); }

/* 统一的键盘焦点样式（鼠标点击不显示，键盘操作必显示） */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

/* ===== 2. 通用组件 ==================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand-strong);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brand-ink);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  border-radius: 2px;
}
/* 深色背景上的小标题 */
.eyebrow-light { color: var(--brand-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 6px 16px rgba(214, 34, 28, .22);
}
.btn-primary:hover {
  background: var(--brand-ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(214, 34, 28, .26);
}
/* 深色背景上的主按钮：加品牌发光 */
.btn-glow { box-shadow: var(--glow-red); }
.btn-glow:hover { box-shadow: 0 14px 34px rgba(240, 41, 36, .42); }

/* 深色背景上的描边按钮 */
.btn-outline-light {
  background: rgba(255, 255, 255, .04);
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
}

.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
}
.card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.is-placeholder {
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-bottom: 1px dashed var(--brand-line);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .95em;
  white-space: nowrap;
}

/* 数字统一等宽，避免数值跳动 */
.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ===== 3. 头部导航 ==================================================== */
/* 默认透明悬浮在深色首屏之上；离开首屏后由脚本加 .is-scrolled 变为白底 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  /* 用 inset 阴影代替 border-bottom：不占据布局空间，
     这样头部实际高度恒等于 --header-h，首屏负外边距才能精准对齐到 0 */
  box-shadow: inset 0 -1px 0 transparent;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: inset 0 -1px 0 var(--line), var(--shadow-sm);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(240, 41, 36, .22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .04em; }
.brand-text small {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* 透明态（位于深色首屏之上）的文字与控件配色 */
.site-header:not(.is-scrolled) .brand-text strong,
.site-header:not(.is-scrolled) .brand:hover { color: #fff; }
.site-header:not(.is-scrolled) .brand-text small { color: rgba(242, 245, 250, .6); }
.site-header:not(.is-scrolled) .nav-toggle { color: var(--ink-light); border-color: var(--line-light); }
.site-header:not(.is-scrolled) .nav-link { color: rgba(242, 245, 250, .86); }
.site-header:not(.is-scrolled) .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-header:not(.is-scrolled) .nav-link.is-active { background: rgba(255, 255, 255, .14); color: #fff; }
.site-header:not(.is-scrolled) .nav-toggle:focus-visible { box-shadow: var(--focus-light); }

/* 汉堡按钮：44×44 触控热区 */
.nav-toggle {
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle-box {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle-bar { top: 6px; }
.nav-toggle-bar::before { content: ""; top: -6px; }
.nav-toggle-bar::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* 移动端导航面板：max-height 过渡，兼容性优于 grid-template-rows */
.primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  overflow: hidden;
  max-height: 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: max-height .32s var(--ease), border-color var(--dur) var(--ease);
}
.site-header.nav-open .primary-nav {
  max-height: 84vh;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* 菜单展开时（无论是否滚动）都使用白底深字，保证可读性 */
.site-header.nav-open {
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--line);
}
.site-header.nav-open .brand-text strong { color: var(--ink); }
.site-header.nav-open .brand-text small { color: var(--muted); }
.site-header.nav-open .nav-link { color: var(--ink); }
.site-header.nav-open .nav-toggle { color: var(--ink); border-color: var(--line); }

.nav-list { display: block; padding: 6px var(--gutter) 2px; }
.nav-link {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.nav-link:hover,
.nav-link.is-active { color: var(--brand-ink); border-bottom-color: var(--brand-line); }
.nav-cta { margin: 14px var(--gutter) 18px; width: calc(100% - var(--gutter) * 2); }

/* ===== 4. 首屏（深色全屏） ============================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* 关键：sticky 头部会占据布局空间，若不做处理，首屏深色背景只能从头部下方开始，
     透明头部背后会露出白色 body（白字导航将不可见）。
     这里用负外边距把首屏上提到页面顶端，让深色背景铺满头部之后，头部悬浮其上。 */
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 28px) 0 96px;
  /* 首屏撑满一屏：vh 兜底 → svh → dvh（现代浏览器动态视口） */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(120% 88% at 50% -12%, var(--dark-2) 0%, var(--dark-1) 44%, var(--dark-0) 100%);
  color: var(--ink-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
/* 底部向内收暗，与下方浅色区块形成干净过渡 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 11, .72) 100%);
}
/* 科技感网格 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, #000 0%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 38%, #000 0%, transparent 100%);
}
/* 双光晕 + 缓慢浮动 */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: hero-float 16s ease-in-out infinite;
}
.hero-glow-a {
  width: 44vw;
  height: 44vw;
  max-width: 620px;
  max-height: 620px;
  top: -14vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(240, 41, 36, .55) 0%, rgba(240, 41, 36, 0) 70%);
}
.hero-glow-b {
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -16vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(79, 140, 255, .42) 0%, rgba(79, 140, 255, 0) 70%);
  animation-duration: 22s;
  animation-direction: reverse;
}
/* 自上而下的扫描光带 */
.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(240, 41, 36, .16), rgba(79, 140, 255, .1) 45%, transparent 100%);
  animation: hero-scan 9s linear infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
  flex: 1 1 auto; /* 占满首屏剩余高度，使内容垂直居中、底部横条贴底 */
}

.hero-title {
  /* vw 约束保证「让投资管理与人才管理」与「沉淀为可长期演进的数字化能力」
     两行在 900px 以上各占一行，不出现单字换行的孤字 */
  font-size: clamp(27px, 3.3vw, 38px);
  line-height: 1.28;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -.015em;
}
.hero-lead {
  font-size: clamp(15px, 4vw, 17px);
  color: var(--text-light);
  max-width: 46em;
}
.hero-lead strong { color: #fff; }
.br-desktop { display: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .btn { flex: 1 1 auto; min-width: 155px; }

/* 首屏底部横条：信任要素（左）+ 向下浏览（右），让整屏空间被利用起来 */
.hero-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: rgba(242, 245, 250, .86);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(240, 41, 36, .18);
}

/* 向下浏览提示（桌面端显示） */
.hero-scroll {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 12px;
  letter-spacing: .12em;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  animation: hero-bob 1.9s ease-in-out infinite;
}

/* 首屏右侧玻璃卡（桌面端显示；移动端隐藏以保证首屏一屏显示） */
.hero-card {
  display: none;
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .035) 100%);
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}
.hero-card-logo { width: 56px; height: 56px; border-radius: 12px; flex: 0 0 auto; }
.hero-card-title { font-size: 16px; font-weight: 700; color: #fff; }
.hero-card-sub { font-size: 13px; color: var(--muted-light); }

.hero-card-list { margin-top: 6px; }
.hero-card-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 8px;
  margin-inline: -8px;
  border-bottom: 1px solid var(--line-light);
  border-radius: 8px;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hero-card-list li:last-child { border-bottom: 0; }
.hero-card-list li:hover {
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 2px 0 0 var(--brand);
}
.hero-card-list .idx {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: .08em;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.hero-card-list .txt { display: flex; flex-direction: column; }
.hero-card-list strong { font-size: 15px; color: #fff; }
.hero-card-list em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.6;
}
.hero-card-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-light);
  font-size: 12.5px;
  color: var(--muted-light);
}

/* ===== 5. 区块与标题 ================================================== */
.section { padding: 56px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
/* 区块顶部一条极淡的渐变分隔线 */
.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

.section-head { max-width: 760px; margin-bottom: 30px; }
.section-title { font-size: clamp(21px, 5.4vw, 32px); margin-bottom: 12px; }
.section-desc { font-size: 15.5px; color: var(--muted); }

/* ===== 6. 核心业务 ==================================================== */
.biz {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 24px 20px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* 左侧渐变竖条 + 右上角柔光 */
.biz::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 60%, transparent 100%);
}
.biz::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 41, 36, .09) 0%, rgba(240, 41, 36, 0) 70%);
  pointer-events: none;
}
.biz:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.biz:last-of-type { margin-bottom: 0; }

.biz-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  padding: 0 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.biz-title { font-size: clamp(19px, 4.8vw, 25px); margin-bottom: 12px; }
.biz-desc { font-size: 15.5px; color: var(--text); }

.biz-block { margin-top: 20px; }
.biz-block-title {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  padding: 4px 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
}

.feature-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  opacity: .9;
}

.audience-card {
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: none;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tag-list li:hover {
  color: var(--brand-ink);
  border-color: var(--brand-line);
  transform: translateY(-1px);
}

/* ===== 7. 资质荣誉 ==================================================== */
.honor-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.honor-card {
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.honor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(90% 60% at 50% 0%, rgba(240, 41, 36, .08) 0%, transparent 70%);
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.honor-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-line);
  box-shadow: var(--glow-card);
}
.honor-card:hover::after { opacity: 1; }
.honor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  color: var(--brand-ink);
  background: linear-gradient(160deg, var(--brand-soft) 0%, #ffffff 100%);
  border: 1px solid var(--brand-line);
  border-radius: 14px;
}
.honor-title { font-size: 17px; margin-bottom: 8px; }
.honor-desc { font-size: 14.5px; color: var(--text); }
.honor-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
/* 结构化证书信息（编号 / 期限等）：key-value 两列，便于扫读 */
.honor-meta-list {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 6px;
}
.honor-meta-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.6;
}
.honor-meta-list span { flex: 0 0 auto; min-width: 56px; color: var(--muted); }
.honor-meta-list strong { font-weight: 600; color: var(--ink); word-break: break-word; }
/* 腾讯云合作伙伴卡：用一点云服务蓝做区分，但不抢品牌红的视觉重心 */
.honor-card-cloud .honor-icon {
  color: #2b5bd7;
  background: linear-gradient(160deg, #eef3ff 0%, #ffffff 100%);
  border-color: #d3e0fb;
}
.honor-card-cloud::after {
  background: radial-gradient(90% 60% at 50% 0%, rgba(43, 91, 215, .1) 0%, transparent 70%);
}
.honor-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== 7.1 资质证书原件 ============================================== */
.cert-block { margin-top: 34px; }
.cert-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.cert-block-title {
  font-size: 17px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}
.cert-block-desc { font-size: 13.5px; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cert-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cert-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--brand-line);
  box-shadow: var(--glow-card);
}
/* 统一高度的画框：两张证书一横一竖，用 contain 居中保证排列整齐 */
.cert-thumb img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
  border-bottom: 1px solid var(--line);
}
.cert-caption { display: flex; flex-direction: column; gap: 3px; padding: 13px 16px; }
.cert-caption strong { font-size: 14.5px; color: var(--ink); }
.cert-caption em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 证书大图预览（原生 dialog：自带焦点约束与 Esc 关闭） */
html.is-cert-open { overflow: hidden; }
.cert-dialog {
  width: min(94vw, 1000px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 70px rgba(10, 14, 20, .45);
  overflow: hidden;
}
.cert-dialog::backdrop { background: rgba(8, 11, 16, .72); }
.cert-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line);
}
.cert-dialog-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.cert-dialog-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cert-dialog-close:hover { color: var(--brand-ink); border-color: var(--brand-line); }
.cert-dialog-body {
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg-soft);
  overflow: auto;
  max-height: calc(92vh - 63px);
}
.cert-dialog-body img {
  max-width: 100%;
  max-height: calc(92vh - 95px);
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

/* ===== 8. 关于我们 ==================================================== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.about-copy p { margin-top: 14px; }
.about-copy .section-title { margin-bottom: 4px; }
.about-note {
  font-size: 13.5px;
  color: var(--muted);
  padding: 12px 14px;
  background: var(--bg-soft);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}
.stat {
  position: relative;
  overflow: hidden;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--glow-card); }
/* 渐变数字 */
.stat-num {
  display: block;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--brand) 0%, #a81b16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 不支持 background-clip:text 时回退为纯色，避免文字消失 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-num { color: var(--brand-strong); background: none; }
}
.stat-num-text { font-size: clamp(20px, 5.4vw, 26px); }
.stat-plus { font-size: .62em; vertical-align: 6px; }
.stat-label { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.stat-wide { grid-column: 1 / -1; }
.stat-heading { font-size: 15px; margin-bottom: 12px; }
.steps { display: grid; gap: 10px; }
.steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.step-idx {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-ink) 100%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(240, 41, 36, .28);
  font-variant-numeric: tabular-nums;
}

/* ===== 9. 联系与表单 ================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.info-list { display: grid; gap: 14px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.info-item:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.info-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--brand-ink);
  background: linear-gradient(150deg, var(--brand-soft) 0%, #ffffff 100%);
  border: 1px solid var(--brand-line);
  border-radius: 10px;
}
.info-body { display: flex; flex-direction: column; min-width: 0; }
.info-label { font-size: 13px; color: var(--muted); }
.info-value {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}
/* 邮箱等可直接点击的值：加下划线提示可点，并用 min-height 保证触控高度 ≥24px（WCAG 2.5.8） */
.info-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 26px;
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-line);
  text-underline-offset: 3px;
}
.info-link:hover { color: var(--brand-strong); text-decoration-color: var(--brand-strong); }

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
/* 表单卡顶部渐变条 */
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 60%, var(--accent-2) 100%);
}
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.req { color: var(--brand-ink); }

.input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: #9aa2ab; }
.input:hover { border-color: #c2c9d1; }
.input:focus {
  outline: none;
  border-color: var(--brand-strong);
  box-shadow: var(--focus);
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%236b747d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-hint { font-size: 12.5px; color: var(--muted); }
.field-err { font-size: 13px; color: #c0392b; font-weight: 500; }
.input[aria-invalid="true"] { border-color: #c0392b; background: #fdf6f5; }

.form-status {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  background: #f2f7f2;
  border: 1px solid #cfe3cf;
  color: #2c5b32;
}
.form-status.is-warn {
  background: #fff8ec;
  border-color: #f0d9ac;
  color: #7a5316;
}
/* 提示条内嵌的兜底操作按钮（如「立即发送邮件」） */
.form-status .btn { margin-top: 10px; }
.form-tip { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ===== 10. 页脚 ======================================================= */
.site-footer {
  position: relative;
  background: #0b1017;
  color: #b9c0c8;
  padding: 40px 0 24px;
  font-size: 14px;
}
/* 页脚顶部渐变修边 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 41, 36, .5) 30%, rgba(79, 140, 255, .35) 70%, transparent);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-logo { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; }
.footer-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-en { font-size: 11px; font-weight: 500; letter-spacing: .18em; color: #8c949d; text-transform: uppercase; }
.footer-desc { margin-top: 6px; font-size: 13.5px; color: #98a0a9; line-height: 1.7; }

.footer-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-nav ul,
.footer-contact ul { display: grid; gap: 8px; }
/* 页脚正文里的行内链接（如邮箱）也要满足 24px 触控高度 */
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #b9c0c8;
}
.footer-contact a:hover { color: #fff; }
/* 触控高度 ≥24px（WCAG 2.5.8 目标尺寸） */
.footer-nav a {
  display: inline-block;
  padding: 4px 0;
  color: #b9c0c8;
  line-height: 1.4;
}
.footer-nav a:hover { color: #fff; }

.site-footer .is-placeholder {
  background: rgba(240, 41, 36, .16);
  border-bottom-color: rgba(240, 41, 36, .45);
  color: #ffb3ae;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #8c949d;
}
.footer-bottom a {
  display: inline-block;
  padding: 5px 0;
  color: #b9c0c8;
}
.footer-bottom a:hover { color: #fff; }

/* ===== 11. 回到顶部 & 动效 ============================================ */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.to-top:hover { color: var(--brand-ink); border-color: var(--brand-line); transform: translateY(-2px); }
.to-top[hidden] { display: none; }

/* 滚动入场：初始位移与透明度，由脚本添加 .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 首屏装饰动画 */
@keyframes hero-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -20px, 0); }
}
@keyframes hero-scan {
  0% { transform: translateY(-220px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(102vh); opacity: 0; }
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

/* ===== 12. 响应式断点 ================================================= */
/* ≥600px：表单与卡片开始双列 */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 0 0 auto; }
  /* 平板区间（600–899）：单列布局下标题自然折行，可放心放大字号 */
  .hero-title { font-size: clamp(30px, 5vw, 42px); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ≥900px：桌面端导航展开、业务双列、关于双列、首屏玻璃卡显示 */
@media (min-width: 900px) {
  :root { --header-h: 72px; --gutter: 32px; }

  /* 关闭移动端面板形态，恢复横向导航 */
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 0; }
  .nav-link {
    padding: 8px 14px;
    font-size: 15px;
    border-bottom: 0;
    border-radius: 8px;
    color: var(--text);
  }
  .nav-link:hover { background: var(--bg-soft); }
  .nav-link.is-active { color: var(--brand-ink); background: var(--brand-soft); }
  .nav-cta { margin: 0 0 0 12px; width: auto; }

  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  /* 桌面端用固定换行 + 受控字号，保证标题恰好两行、不出现孤字 */
  .hero-title { font-size: clamp(27px, 3.3vw, 38px); }
  .br-desktop { display: inline; }
  .hero-facts { gap: 10px 28px; }
  /* 玻璃卡与向下浏览提示仅在桌面端展示；移动端隐藏以保证首屏一屏显示 */
  .hero-card { display: block; }
  .hero-scroll { display: inline-flex; }

  .section { padding: 78px 0; }
  /* 区块标题改为「左标题 / 右说明」的非对称分栏：
     避免所有区块都是标题+描述垂直堆在中间，横向展开后整页不再是一条。 */
  .section-head {
    max-width: none;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    column-gap: 48px;
    align-items: end;
    margin-bottom: 44px;
  }
  .section-head .eyebrow { grid-area: 1 / 1 / 2 / 2; }
  .section-head .section-title { grid-area: 2 / 1 / 3 / 2; }
  .section-head .section-desc { grid-area: 1 / 2 / 3 / 3; align-self: end; }

  .biz { grid-template-columns: 1.45fr .95fr; gap: 40px; padding: 34px 32px; }
  .biz-side { align-self: start; }
  /* 业务模块左右交错：打破「每块都长得一样、都往同一个方向排」的单调感。
     同时镜像列宽，保证「正文栏」始终占宽的一列、卡片始终占窄的一列。 */
  .biz:nth-of-type(even) { grid-template-columns: .95fr 1.45fr; }
  .biz:nth-of-type(even) .biz-meta { order: 2; }
  .biz:nth-of-type(even) .biz-side { order: 1; }
  .biz:nth-of-type(even)::before {
    left: auto;
    right: 0;
    background: linear-gradient(180deg, var(--accent) 0%, var(--brand) 62%, transparent 100%);
  }
  .biz:nth-of-type(even)::after { right: auto; left: -70px; }

  /* 资质卡共 4 张：900–1099 走 2×2，1100 以上一行 4 张铺满整幅 */
  .honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .honor-card { padding: 28px 24px; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cert-thumb img { height: 300px; padding: 18px; }

  .about-grid { grid-template-columns: 1.25fr .95fr; gap: 48px; }

  .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 32px; }
  .contact-form-wrap { padding: 30px 28px; }
  /* 表单双列：称呼 / 联系方式 一行，其余整行（由 .field-full 显式指定，不依赖 :has()） */
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .field-full { grid-column: 1 / -1; }
  .contact-form > .btn,
  .contact-form > .form-status,
  .contact-form > .form-tip { grid-column: 1 / -1; }

  .footer-grid { grid-template-columns: 1.4fr .8fr 1.2fr; gap: 40px; }
  .to-top { right: 28px; bottom: 28px; }
}

/* ≥1200px：超大屏再放宽内容宽度与留白，避免内容缩在屏幕中央 */
@media (min-width: 1200px) {
  :root { --container: 1320px; }
  .section { padding: 92px 0; }
  .section-head { column-gap: 64px; }
  .biz { padding: 38px 40px; gap: 56px; }
  .honor-card { padding: 30px 26px; }
  /* 4 张资质卡一行铺满 */
  .honor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cert-thumb img { height: 340px; }
}

/* 打印：去掉装饰，保证可读 */
@media print {
  .site-header, .to-top, .hero-bg, .nav-toggle, .contact-form, .hero-scroll { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { min-height: auto; background: none; color: #000; padding: 24px 0; }
  .hero-title, .hero-lead, .hero-lead strong, .hero-facts { color: #000; }
  body { color: #000; }
}

/* 尊重系统「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .biz:hover, .honor-card:hover, .stat:hover, .btn:hover, .to-top:hover { transform: none; }
}

/* 极小屏（≤359px）：进一步压缩纵向留白，保证首屏内容不被挤掉 */
@media (max-width: 359px) {
  .hero { padding-top: 28px; }
  .hero-title { font-size: 24px; }
  .hero-facts { font-size: 13px; gap: 6px 14px; }
  .hero-scroll { display: none; }
}
