/* ==========================================================================
   江苏同泽电子科技有限公司 · WorkBuddy 企业 AI 培训与落地咨询
   主样式表
   ========================================================================== */

:root {
  /* 品牌色 —— 深蓝主色 + 朱砂点缀（工业/科技感，适合制造业客户） */
  --c-navy-900: #0b1f3a;
  --c-navy-800: #12305a;
  --c-navy-700: #1b4480;
  --c-navy-600: #2560a8;
  --c-navy-500: #3a7bc8;
  --c-navy-100: #e8f0fa;
  --c-navy-50:  #f4f8fd;

  --c-accent-700: #a8371f;
  --c-accent-600: #c2451f;
  --c-accent-500: #d95a2b;
  --c-accent-100: #fdeee7;

  --c-gold-600: #9a7b28;
  --c-gold-100: #faf3e0;

  --c-teal-600: #0f766e;
  --c-teal-100: #e6f5f3;

  /* 中性色 */
  --c-ink:      #10151c;
  --c-body:     #3a4654;
  --c-muted:    #6b7789;
  --c-line:     #e2e8f0;
  --c-surface:  #ffffff;
  --c-page:     #f7f9fc;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
               "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
               "Noto Sans CJK SC", "WenQuanYi Micro Hei", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 28, .06), 0 1px 3px rgba(16, 21, 28, .04);
  --shadow-md: 0 4px 12px rgba(16, 21, 28, .07), 0 2px 4px rgba(16, 21, 28, .04);
  --shadow-lg: 0 12px 32px rgba(11, 31, 58, .10), 0 4px 8px rgba(11, 31, 58, .05);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--c-ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.22; }
h2 { font-size: clamp(1.45rem, 2.9vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.32rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }

a { color: var(--c-navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 保留可见焦点样式 —— 无障碍硬性要求 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-navy-500);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .4em; }
strong { color: var(--c-ink); font-weight: 700; }

/* ---------- 容器 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 860px; }

/* 跳转到主内容（无障碍） */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-navy-800); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}
.brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  text-decoration: none; line-height: 1;
}
.brand:hover { text-decoration: none; }
/* 品牌标识：原始位图 239×67，此处按 40px 高显示，2x 屏下仍清晰 */
.brand-logo { height: 36px; width: auto; display: block; flex: 0 0 auto; }
.brand-tagline {
  font-size: 12px; font-weight: 600; letter-spacing: .4px; white-space: nowrap;
  color: var(--c-navy-600); line-height: 1.2;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: var(--radius-sm);
  color: var(--c-body); font-size: 14.5px; font-weight: 500;
}
.nav-links a:hover { background: var(--c-navy-50); color: var(--c-navy-700); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--c-navy-700); font-weight: 700; background: var(--c-navy-50); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--c-navy-700); color: #fff !important;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.nav-cta:hover { background: var(--c-navy-800); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); padding: 8px 11px; cursor: pointer;
  color: var(--c-ink); font-size: 18px; line-height: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 15.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--c-navy-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--c-navy-800); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--c-accent-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { background: var(--c-accent-700); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--c-navy-700); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-navy-500); background: var(--c-navy-50); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

/* ---------- 通用区块 ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--c-page); }
.section-navy { background: var(--c-navy-900); color: #c9d8ec; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy strong { color: #fff; }
.section-navy a { color: #9dc4ef; }

.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 13px;
  background: var(--c-navy-100); color: var(--c-navy-700);
  border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .6px;
}
.section-navy .eyebrow { background: rgba(157, 196, 239, .16); color: #9dc4ef; }
.lead { font-size: 17.5px; color: var(--c-muted); }
.section-navy .lead { color: #a8bcd6; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(58, 123, 200, .16), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(217, 90, 43, .10), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--c-line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 54px; align-items: center; padding: 76px 0 68px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 58%, rgba(58, 123, 200, .26) 58%);
  padding: 0 2px;
}
.hero-sub { font-size: 17.5px; color: var(--c-body); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 28px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--c-line); padding-top: 22px;
}
.hero-facts > div { padding-right: 18px; }
.hero-facts > div + div { border-left: 1px solid var(--c-line); padding-left: 18px; }
.fact-num { font-size: 1.75rem; font-weight: 800; color: var(--c-navy-700); line-height: 1.1; }
.fact-num small { font-size: .95rem; font-weight: 700; }
.fact-label { font-size: 13px; color: var(--c-muted); margin-top: 4px; }

/* Hero 侧边卡片堆叠 */
.hero-panel {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-panel-head {
  padding: 15px 20px; background: var(--c-navy-900); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .4px;
  display: flex; align-items: center; gap: 9px;
}
.hero-panel-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex: 0 0 7px; }
.hero-panel-body { padding: 6px 20px 18px; }
.lv-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--c-line);
}
.lv-row:last-child { border-bottom: 0; }
.lv-tag {
  flex: 0 0 auto; min-width: 44px; padding: 3px 8px; border-radius: 6px;
  font-size: 11.5px; font-weight: 800; text-align: center; font-family: var(--font-mono);
}
.lv-1 { background: var(--c-navy-100); color: var(--c-navy-700); }
.lv-2 { background: var(--c-accent-100); color: var(--c-accent-700); }
.lv-3 { background: var(--c-teal-100); color: var(--c-teal-600); }
.lv-4 { background: #ece9fb; color: #4c3fa8; }
.lv-5 { background: var(--c-gold-100); color: var(--c-gold-600); }
.lv-name { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.lv-meta { margin-left: auto; font-size: 12px; color: var(--c-muted); white-space: nowrap; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cddcee; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--c-navy-100); color: var(--c-navy-700);
  font-weight: 800; font-size: 15px; margin-bottom: 14px; font-family: var(--font-mono);
}
.card-icon { font-size: 26px; line-height: 1; margin-bottom: 14px; display: block; }

/* 痛点卡 */
.pain-card { border-top: 3px solid var(--c-accent-500); }
.pain-card .card-icon { color: var(--c-accent-600); }

/* ---------- 层级（课程体系）表 ---------- */
.level-stack { display: flex; flex-direction: column; gap: 14px; }
.level-item {
  display: grid; grid-template-columns: 92px 1fr auto;
  gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-navy-500);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.level-item.b-l1 { border-left-color: var(--c-navy-700); }
.level-item.b-l2 { border-left-color: var(--c-accent-500); }
.level-item.b-l3a { border-left-color: var(--c-teal-600); }
.level-item.b-l3b { border-left-color: #4caf82; }
.level-item.b-l3c { border-left-color: #4c3fa8; }
.level-item.b-l4 { border-left-color: #7c5cd6; }
.level-item.b-l5 { border-left-color: var(--c-gold-600); }

.level-badge {
  text-align: center; padding: 9px 6px; border-radius: var(--radius-sm);
  background: var(--c-navy-50); border: 1px solid var(--c-line);
}
.level-code { font-family: var(--font-mono); font-size: 17px; font-weight: 800; color: var(--c-navy-700); line-height: 1.2; }
.level-hours { font-size: 11.5px; color: var(--c-muted); margin-top: 3px; }
.level-audience { font-size: 12.5px; color: var(--c-muted); margin-bottom: 8px; }
.level-item h3 { margin-bottom: 8px; font-size: 1.15rem; }
.level-item p { margin-bottom: 10px; font-size: 15px; }
.level-assets {
  font-size: 13.5px; background: var(--c-navy-50); border-radius: var(--radius-sm);
  padding: 10px 14px; margin: 0; border-left: 2px solid var(--c-navy-500);
}
.level-assets strong { color: var(--c-navy-700); }

/* ---------- 时间轴（10 周节奏） ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--c-navy-500), var(--c-line));
}
.timeline li { position: relative; padding: 0 0 26px 50px; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 8px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c-navy-500);
}
.timeline li:last-child { padding-bottom: 0; }
.tl-week {
  display: inline-block; margin-bottom: 6px; padding: 3px 11px;
  background: var(--c-navy-700); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 700; font-family: var(--font-mono);
}
.tl-week.w2 { background: var(--c-accent-600); }
.tl-week.w3 { background: var(--c-teal-600); }
.tl-week.w4 { background: #4c3fa8; }
.tl-title { font-size: 16.5px; font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.tl-body { font-size: 14.5px; margin: 0; }

/* ---------- 步骤流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 20px; border-right: 1px solid var(--c-line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step:first-child { padding-left: 0; }
.step-num {
  counter-increment: s; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--c-navy-700); color: #fff; font-weight: 800; font-size: 16px;
  font-family: var(--font-mono);
}
.step::after {
  content: ""; position: absolute; top: 20px; right: -6px;
  width: 12px; height: 12px; border-top: 2px solid var(--c-line); border-right: 2px solid var(--c-line);
  transform: rotate(45deg); background: #fff;
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- 对比表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--c-line); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; background: #fff; }
caption { caption-side: top; text-align: left; padding: 14px 18px 10px; font-size: 14px; color: var(--c-muted); font-weight: 600; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
thead th {
  background: var(--c-navy-900); color: #fff; font-weight: 700;
  font-size: 13.5px; letter-spacing: .2px; white-space: nowrap;
}
tbody tr:nth-child(even) { background: #fafcfe; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--c-ink); background: #fafcfe; }
td strong { color: var(--c-navy-700); }
.check { color: var(--c-teal-600); font-weight: 800; }
.cross { color: #b42318; font-weight: 800; }

/* ---------- FAQ（对 LLM 抓取极友好） ---------- */
.faq { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--c-ink);
  font-size: 15.5px; list-style: none; display: flex; align-items: flex-start; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: 0 0 auto; color: var(--c-navy-600);
  font-weight: 800; font-size: 19px; line-height: 1.35;
}
.faq details[open] summary::before { content: "–"; }
.faq summary:hover { background: var(--c-navy-50); }
.faq .faq-a { padding: 0 22px 20px 48px; font-size: 15px; color: var(--c-body); }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq .faq-a ul { margin-bottom: 0; }

/* ---------- 引用 / 数据条 ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
}
.stat-band > div { background: #fff; padding: 26px 22px; text-align: center; }
.stat-band .s-num { font-size: 1.9rem; font-weight: 800; color: var(--c-navy-700); line-height: 1.1; }
.stat-band .s-num small { font-size: 1rem; }
.stat-band .s-label { font-size: 13.5px; color: var(--c-muted); margin-top: 6px; }

.callout {
  background: var(--c-navy-50); border: 1px solid #d4e3f5;
  border-left: 4px solid var(--c-navy-600);
  border-radius: var(--radius); padding: 22px 26px; margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; color: var(--c-navy-700); margin-bottom: 8px; display: block; }
.callout-accent { background: var(--c-accent-100); border-color: #f6d5c6; border-left-color: var(--c-accent-500); }
.callout-accent .callout-title { color: var(--c-accent-700); }

/* ---------- 资产库（四宫格） ---------- */
.asset-box {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.asset-box .asset-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
  background: var(--c-navy-100); color: var(--c-navy-700);
}
.asset-box ul { margin: 0; padding-left: 1.15em; font-size: 14.5px; }
.asset-box li { margin-bottom: 6px; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.field .req { color: var(--c-accent-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  color: var(--c-ink); background: #fff;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-navy-500); }
.field textarea { min-height: 112px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--c-muted); margin-top: 5px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- 联系方式块 ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px dashed var(--c-line); font-size: 15px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { flex: 0 0 auto; font-size: 19px; line-height: 1.4; }
.contact-list .cl { font-size: 12.5px; color: var(--c-muted); display: block; margin-bottom: 2px; }
.contact-list .cv { font-weight: 600; color: var(--c-ink); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-navy-900); color: #93a9c6; padding: 56px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #93a9c6; }
.site-footer a:hover { color: #fff; }
.footer-brand-name { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.footer-note { font-size: 13px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: #7f93ad;
}
.footer-bottom p { margin: 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--c-muted); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #c3ccd8; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-navy-600); }

/* ---------- 页内锚点导航 ---------- */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 0;
}
.anchor-nav a {
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--c-navy-50); color: var(--c-navy-700); border: 1px solid var(--c-line);
}
.anchor-nav a:hover { background: var(--c-navy-100); text-decoration: none; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%);
  border-radius: var(--radius); padding: 46px 44px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b8cbe2; margin: 0; max-width: 60ch; }

/* ---------- 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.muted { color: var(--c-muted); }
.small { font-size: 13.5px; }
.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section { padding: 18pt 0; }
  a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(2)::after { display: none; }
  .step { padding-bottom: 4px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-line);
    padding: 10px 16px 18px; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-cta { margin-top: 10px; justify-content: center; }
  .nav { position: relative; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .level-item { grid-template-columns: 1fr; gap: 14px; }
  .level-badge { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 12px; }
  .level-hours { margin-top: 0; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; }
  .hero-facts > div { padding: 12px 0; }
  .hero-facts > div + div { border-left: 0; border-top: 1px solid var(--c-line); padding-left: 0; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 24px; }
  .form-card { padding: 24px 20px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  /* 小屏下品牌区适度回收，避免标语挤压换行 */
  .brand-logo { height: 30px; }
  .brand-tagline { font-size: 11px; letter-spacing: .2px; }
  .nav { min-height: 66px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-left: 0; padding-right: 0; }
  .step::after { display: none; }
  .stat-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .wrap { padding: 0 18px; }
}

/* 无障碍：尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==================== 单页整合版：分区锚点 / 导航高亮 ==================== */
.page-section { position: relative; }
.anchor-offset { display: block; height: 0; overflow: hidden; }
#top { display: block; height: 0; overflow: hidden; }
.nav-links a[aria-current="true"] {
  color: var(--c-accent-600);
  font-weight: 700;
}
@media (max-width: 900px) {
  .page-section h2 { scroll-margin-top: 80px; }
}
