/* ============================================================
   普凡拾光书房官网 · 设计系统
   方案B「学习成长导航站」+ 方案A 事实信任底座
   色彩:深墨绿/炭青 × 暖米白 × 琥珀行动色
   ============================================================ */

:root {
  /* 品牌色 Design Tokens */
  --pine: #1f4038;          /* 深墨绿 · 主色 */
  --pine-deep: #143128;     /* 墨绿加深 */
  --pine-soft: #2c5347;     /* 墨绿浅一档 */
  --ink: #24333b;           /* 炭青 · 标题/正文 */
  --ink-soft: #46555d;      /* 炭青弱化 · 次级文字 */
  --muted: #7a8177;         /* 灰绿 · 辅助文字 */
  --cream: #faf6ee;         /* 暖米白 · 页面背景 */
  --cream-2: #f2ecdf;       /* 米白加深 · 分区背景 */
  --card: #fffdf8;          /* 卡片底 */
  --amber: #c97e22;         /* 琥珀 · 行动强调 */
  --amber-deep: #a8661a;
  --sun: #e9a83c;           /* 日光橙 · 小面积点缀 */
  --line: #e3dac6;          /* 分隔线 */
  --line-soft: #ede5d3;
  --ok: #3e7d5a;
  --tbd: #9a6b1f;           /* 待确认标记色 */

  /* 字体 */
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system,
          "Segoe UI", sans-serif;

  /* 尺寸 */
  --w: 1160px;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 10px 30px rgba(31, 64, 56, 0.10);
  --shadow-s: 0 3px 12px rgba(31, 64, 56, 0.08);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--amber-deep); }
ul, ol { list-style: none; }
strong { color: var(--ink); }

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

.container { width: min(var(--w), 92%); margin: 0 auto; }

/* 跳转链接(无障碍) */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--pine); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-s) 0; z-index: 999;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(31, 64, 56, 0.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  height: 40px; width: auto; max-width: none;
  border-radius: 8px; display: block;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--sun); font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--pine-deep); line-height: 1.2; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px; border-radius: var(--radius-s);
  font-size: 14.5px; color: var(--ink); font-weight: 500;
  transition: background 0.2s;
}
.main-nav a:hover { background: var(--cream-2); color: var(--pine); }
.main-nav a.active { color: var(--pine); font-weight: 700; background: rgba(31, 64, 56, 0.08); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; border: none; background: transparent; cursor: pointer;
  width: 42px; height: 42px; border-radius: var(--radius-s);
  color: var(--pine); font-size: 22px; line-height: 1;
}
.nav-toggle:focus-visible { outline: 2px solid var(--amber); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; font-family: var(--font);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, background 0.18s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amber); color: #fff;
  box-shadow: 0 6px 18px rgba(201, 126, 34, 0.35);
}
.btn-primary:hover { background: var(--amber-deep); color: #fff; }
.btn-pine {
  background: var(--pine); color: #fff;
  box-shadow: 0 6px 18px rgba(31, 64, 56, 0.28);
}
.btn-pine:hover { background: var(--pine-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--pine);
  border-color: rgba(31, 64, 56, 0.35);
}
.btn-ghost:hover { border-color: var(--pine); background: rgba(31, 64, 56, 0.05); color: var(--pine); }
.btn-light { background: #fff; color: var(--pine-deep); box-shadow: var(--shadow-s); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 通用分区 ---------- */
.section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--cream-2); }
.section-pine { background: var(--pine); color: #eef3ee; }
.section-pine h2, .section-pine h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--amber-deep); text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--sun); border-radius: 2px;
}
.section-pine .kicker { color: var(--sun); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }

/* ---------- 页面hero(内页) ---------- */
.page-hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(233, 168, 60, 0.16), transparent 60%),
    linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: #eef2ec; padding: 66px 0 58px;
}
.page-hero .kicker { color: var(--sun); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.page-hero .lead { max-width: 800px; color: #d7e0d6; font-size: 17px; }

/* 面包屑 */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber-deep); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-s);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--line);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(233, 168, 60, 0.14), transparent 55%),
    radial-gradient(1200px 620px at 108% 18%, rgba(44, 83, 71, 0.20), transparent 60%),
    var(--cream);
  padding: 72px 0 66px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px); line-height: 1.22;
  margin: 16px 0 20px; letter-spacing: 0.005em;
}
.hero h1 em { font-style: normal; color: var(--amber); position: relative; }
.hero .lead { font-size: 17.5px; color: var(--ink-soft); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 13.5px; color: var(--muted);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--ok); }

/* 首屏右侧视觉:自习灯卡片 */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(165deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-radius: 20px; padding: 34px 32px; color: #e8efe6;
  box-shadow: 0 24px 60px rgba(20, 49, 40, 0.35);
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 168, 60, 0.35), transparent 70%);
}
.hero-card h2 { color: #fff; font-size: 19px; margin-bottom: 18px; }
.hero-card-ques { display: grid; gap: 10px; position: relative; }
.hero-card-ques a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 13px 18px;
  color: #f2f6f0; font-size: 15.5px; font-weight: 500;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.hero-card-ques a:hover { background: rgba(233, 168, 60, 0.20); color: #fff; transform: translateX(4px); }
.hero-card-ques .arr { color: var(--sun); font-size: 18px; }
.hero-card-note { margin-top: 16px; font-size: 12.5px; color: #b9c9ba; position: relative; }

/* ---------- 任务四卡 ---------- */
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.task-card {
  padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px;
  border-top: 3px solid var(--pine); position: relative;
}
.task-card:nth-child(2) { border-top-color: var(--pine-soft); }
.task-card:nth-child(3) { border-top-color: var(--sun); }
.task-card:nth-child(4) { border-top-color: var(--amber); }
.task-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(31, 64, 56, 0.08); color: var(--pine);
  display: flex; align-items: center; justify-content: center;
}
.task-icon svg { width: 24px; height: 24px; }
.task-card h3 { font-size: 18.5px; }
.task-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.task-card .btn { margin-top: 6px; }

/* ---------- 流程(学情诊断) ---------- */
.diag-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diag-step { padding: 26px 24px; position: relative; }
.diag-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pine); color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}
.diag-step h3 { font-size: 17.5px; margin-bottom: 8px; }
.diag-step p { font-size: 14.5px; color: var(--ink-soft); }
.diag-arrow {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--sun); z-index: 2; font-size: 18px;
}
.diag-step:last-child .diag-arrow { display: none; }

/* ---------- 五步学习闭环 ---------- */
.loop-wrap { position: relative; }
.loop-line {
  position: absolute; top: 30px; left: 4%; right: 4%; height: 3px;
  background: var(--line); border-radius: 3px; overflow: hidden;
}
.loop-line i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--pine), var(--sun));
  transition: width 1.6s var(--ease);
}
.loop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.loop-step { text-align: center; padding: 0 6px; }
.loop-dot {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--card); border: 2.5px solid var(--pine);
  color: var(--pine); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.loop-step:hover .loop-dot { background: var(--pine); color: #fff; transform: scale(1.08); }
.loop-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.loop-step p { font-size: 13.5px; color: var(--ink-soft); }
.loop-note {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(233, 168, 60, 0.10); border: 1px solid rgba(201, 126, 34, 0.22);
  border-radius: var(--radius-s); padding: 14px 18px; font-size: 14px; color: var(--ink-soft);
}

/* ---------- 服务矩阵 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: rgba(31, 64, 56, 0.08); color: var(--pine);
}
.tag.amber { background: rgba(201, 126, 34, 0.12); color: var(--amber-deep); }
.tag.gray { background: var(--cream-2); color: var(--muted); }
.svc-card h3 { font-size: 18px; }
.svc-card .desc { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.svc-fields {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px;
  font-size: 13.5px; padding: 12px 0 0; border-top: 1px dashed var(--line);
  margin-top: 2px;
}
.svc-fields dt { color: var(--muted); white-space: nowrap; }
.svc-fields dd { color: var(--ink); }

/* ---------- 师资角色 ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { padding: 30px 26px; text-align: center; }
.role-avatar {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(31, 64, 56, 0.10), rgba(233, 168, 60, 0.18));
  color: var(--pine);
}
.role-avatar svg { width: 40px; height: 40px; }
.role-card h3 { font-size: 18px; margin-bottom: 4px; }
.role-card .sub { font-size: 13px; color: var(--amber-deep); font-weight: 600; margin-bottom: 10px; }
.role-card p { font-size: 14px; color: var(--ink-soft); text-align: left; }

/* ---------- 团队名单 · 核验中面板 ---------- */
.roster-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 26px 22px; box-shadow: 0 2px 12px rgba(31, 64, 56, 0.05);
}
.roster-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.roster-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201, 126, 34, 0.12); color: var(--amber-deep);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.roster-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px rgba(233, 168, 60, 0.25);
}
.roster-count { font-size: 14px; color: var(--ink-soft); }
.roster-count b { color: var(--pine-deep); font-size: 16px; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; margin-top: 18px; }
.roster-ph {
  border: 1.5px dashed var(--line); border-radius: 12px; background: rgba(250, 246, 238, 0.65);
  padding: 16px 15px; display: flex; align-items: center; gap: 12px;
}
.roster-ph .ph-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream-2); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.roster-ph .ph-avatar svg { width: 22px; height: 22px; }
.roster-ph .ph-body { flex: 1; min-width: 0; }
.roster-ph .ph-tag { font-size: 12.5px; font-weight: 700; color: var(--tbd); margin-bottom: 8px; }
.roster-ph .ph-line { height: 8px; border-radius: 4px; background: var(--cream-2); }
.roster-ph .ph-line + .ph-line { margin-top: 7px; }
.roster-ph .ph-line.w60 { width: 60%; }
.roster-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); flex-wrap: wrap;
}
.roster-foot p { font-size: 13.5px; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .roster-panel { padding: 18px 16px 16px; }
  .roster-foot .btn { width: 100%; }
}

/* ---------- 校区 ---------- */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.campus-card { overflow: hidden; display: flex; flex-direction: column; }
.campus-photo {
  height: 150px; position: relative;
  background:
    radial-gradient(300px 160px at 30% 20%, rgba(233, 168, 60, 0.25), transparent 60%),
    linear-gradient(150deg, #2c5347 0%, #1f4038 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85);
}
.campus-photo svg { width: 44px; height: 44px; opacity: 0.9; }
.campus-photo.has-photo { background: var(--pine); display: flex; align-items: center; justify-content: center; }
.campus-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.campus-photo .ph-note {
  position: absolute; bottom: 10px; left: 12px; font-size: 11.5px;
  background: rgba(20, 49, 40, 0.55); padding: 2px 10px; border-radius: 999px;
}
.campus-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.campus-body h3 { font-size: 18px; }
.campus-body p { font-size: 14px; color: var(--ink-soft); }
.campus-meta { font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; margin-top: auto; }

/* ---------- 政策/知识内容卡 ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.insight-band {
  padding: 14px 22px 12px;
  background: linear-gradient(120deg, rgba(31, 64, 56, 0.08), rgba(233, 168, 60, 0.10));
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.insight-band .date { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.insight-band .cat {
  font-size: 12px; font-weight: 700; color: var(--amber-deep);
  letter-spacing: 0.08em;
}
.insight-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.insight-body h3 { font-size: 16.5px; line-height: 1.45; }
.insight-body p { font-size: 13.8px; color: var(--ink-soft); flex: 1; }
.insight-body .more { font-size: 13.5px; font-weight: 600; color: var(--pine); }
.insight-src { font-size: 12px; color: var(--muted); }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-s); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 17px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--cream-2); }
.faq-item summary .pm {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; line-height: 1;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--pine); color: #fff; border-color: var(--pine); }
.faq-answer { padding: 2px 22px 20px; font-size: 15px; color: var(--ink-soft); }
.faq-answer a { font-weight: 600; }
.faq-answer .tbd-inline { white-space: nowrap; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field .req { color: #b4442f; margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 64, 56, 0.12);
}
.form-field .hint { font-size: 12.5px; color: var(--muted); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); grid-column: 1 / -1; }
.form-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--pine); flex-shrink: 0; }
.form-note {
  grid-column: 1 / -1; font-size: 12.5px; color: var(--muted);
  background: var(--cream-2); border-radius: var(--radius-s); padding: 10px 14px;
}
.form-ok {
  display: none; grid-column: 1 / -1;
  background: rgba(62, 125, 90, 0.10); border: 1px solid rgba(62, 125, 90, 0.3);
  color: var(--ok); border-radius: var(--radius-s); padding: 14px 18px; font-size: 14.5px;
}
.form-ok.show { display: block; }

/* ---------- 事实表格 ---------- */
.fact-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.fact { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.fact th, .fact td { padding: 13px 16px; text-align: left; vertical-align: top; line-height: 1.6; }
.fact thead th {
  background: var(--pine); color: #fff; font-size: 13.5px; letter-spacing: 0.04em;
  white-space: nowrap;
}
.fact tbody tr { border-top: 1px solid var(--line-soft); }
.fact tbody tr:nth-child(even) { background: rgba(242, 236, 223, 0.45); }
.fact td { color: var(--ink-soft); }
.fact td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ---------- 状态徽标 ---------- */
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.status-ok { background: rgba(62, 125, 90, 0.13); color: var(--ok); }
.status-part { background: rgba(233, 168, 60, 0.16); color: var(--tbd); }
.status-tbd { background: var(--cream-2); color: var(--muted); border: 1px dashed var(--line); }
.status-risk { background: rgba(180, 68, 47, 0.10); color: #a03a28; }

.tbd-inline {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--tbd);
  border: 1px dashed rgba(154, 107, 31, 0.5); border-radius: 6px;
  padding: 0 7px; margin-left: 4px; background: rgba(233, 168, 60, 0.07);
  vertical-align: 1px; white-space: nowrap;
}

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--pine), var(--sun));
  border-radius: 2px; opacity: 0.5;
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--pine);
}
.tl-item .tl-date { font-size: 13px; font-weight: 800; color: var(--amber-deep); letter-spacing: 0.06em; }
.tl-item h3 { font-size: 16.5px; margin: 2px 0 4px; }
.tl-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 双栏内容页 ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 24px; margin: 44px 0 16px; }
.prose h3 { font-size: 19px; margin: 30px 0 12px; }
.prose p { margin-bottom: 14px; color: var(--ink-soft); font-size: 15.5px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; color: var(--ink-soft); font-size: 15.5px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--sun);
}
.prose ol { margin: 0 0 16px 24px; display: grid; gap: 8px; }
.prose ol li { padding-left: 4px; color: var(--ink-soft); font-size: 15.5px; }
.prose blockquote {
  margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--sun);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; background: var(--cream-2);
  color: var(--ink-soft);
}
.prose img, .prose .article-image { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: var(--radius); }
.prose .note {
  background: var(--cream-2); border-left: 3px solid var(--sun);
  padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 14.5px; color: var(--ink-soft); margin: 18px 0;
}
.prose .src {
  font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line);
  padding-top: 12px; margin-top: 26px;
}

.meta-bar {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13px; color: var(--muted); margin: 14px 0 26px;
}
.meta-bar span b { color: var(--ink); font-weight: 600; }

/* ---------- 侧栏信息卡 ---------- */
.with-aside { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.with-aside > * { min-width: 0; }
.aside-card {
  position: sticky; top: 92px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s);
}
.aside-card h3 { font-size: 16.5px; margin-bottom: 18px; }
.aside-card ul { display: grid; gap: 10px; margin-bottom: 16px; }
.aside-card ul a { font-size: 14px; font-weight: 500; display: flex; gap: 8px; align-items: baseline; }
.aside-card ul a::before { content: "›"; color: var(--sun); font-weight: 800; }
.aside-facts { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.aside-facts div { display: flex; justify-content: space-between; gap: 12px; }
.aside-facts b { color: var(--muted); font-weight: 600; flex-shrink: 0; }
.aside-card .btn-block { margin-top: 12px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(233, 168, 60, 0.25), transparent 60%),
    linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-radius: 20px; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  color: #fff; box-shadow: 0 20px 50px rgba(20, 49, 40, 0.30);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-band p { color: #cfdcd0; font-size: 15px; max-width: 560px; }
.cta-band .btns { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--pine-deep); color: #b8c8ba;
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding: 54px 0 40px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8ba394; }
.footer-logo {
  display: block; width: auto; height: 60px; max-width: 100%;
  object-fit: contain; object-position: left center;
}
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.8; color: #9db2a2; }
.site-footer h4 { color: #e9efe8; font-size: 14.5px; margin-bottom: 14px; letter-spacing: 0.08em; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer ul a { color: #b8c8ba; font-size: 13.5px; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between; font-size: 12.5px; color: #8ba394;
}


.footer-bottom .footer-legal { flex-basis: 100%; margin: 0; overflow-wrap: anywhere; }
.footer-bottom .footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .footer-legal a:hover,
.footer-bottom .footer-legal a:focus-visible { color: #e9efe8; }

/* ---------- 移动端底部操作条 ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255, 253, 248, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(31, 64, 56, 0.10);
}
.mobile-bar .row { display: flex; gap: 10px; }
.mobile-bar .btn { flex: 1; padding: 11px 10px; font-size: 14.5px; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .insight-grid, .campus-grid, .role-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fffdf8; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 18px 18px;
    box-shadow: 0 18px 30px rgba(31, 64, 56, 0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 15.5px; border-radius: var(--radius-s); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .hero { padding: 48px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: clamp(30px, 7vw, 38px); }

  .diag-flow { grid-template-columns: 1fr; }
  .diag-arrow { display: none; }
  .loop-line { display: none; }
  .loop-grid { grid-template-columns: repeat(5, 1fr); }
  .loop-step p { font-size: 11.5px; }
  .loop-step h3 { font-size: 14px; }

  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .cta-band .btns { flex-direction: row; width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .mobile-bar { display: block; }
  body { padding-bottom: 66px; }

  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .brand-logo { height: 30px; }
  .footer-logo { height: 48px; }
  .svc-grid, .insight-grid, .campus-grid, .role-grid, .task-grid { grid-template-columns: 1fr; }
  .loop-grid { grid-template-columns: repeat(5, 1fr); }
  .loop-dot { width: 46px; height: 46px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
