/* ==========================================================================
   home-v4.css  —  北京CPPM城市站 首页专用样式
   设计要点：
   1) 白底浅灰 + 深墨色 Hero + 品牌红点缀，移动端优先
   2) 全部图形用 CSS 渐变 / 内联 SVG，零外部图片请求
   3) 交互全部纯 CSS（汉堡菜单、FAQ 折叠），不依赖任何 JS
   ========================================================================== */

:root {
  --ink: #17191d;
  --ink-2: #24262c;
  --muted: #63676f;
  --muted-2: #8b8f97;
  --line: #e8e5e0;
  --line-strong: #d9d5cf;
  --paper: #fbfaf8;
  --paper-2: #f4f2ee;
  --white: #ffffff;
  --accent: #df392e;
  --accent-dark: #b82821;
  --accent-soft: #fdefec;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(35, 26, 20, .05);
  --shadow: 0 20px 54px rgba(51, 36, 28, .10);
  --maxw: 1180px;
  --display: clamp(34px, 4.4vw, 56px);
  --h2: clamp(27px, 2.6vw, 38px);
  --h3: clamp(23px, 2vw, 30px);
  --card: 19px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: inherit;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

/* 通用小图标（内联 SVG） */
.ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ 顶栏 */
.trustbar {
  background: #232428;
  color: #f3f2f0;
  font-size: 13px;
}
.trustbar .wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trustbar strong { color: #fff; font-weight: 650; }
.trustbar .trust-legal { color: #9d9fa5; }
.trustbar .trust-tel { color: #ffb3ad; font-weight: 700; letter-spacing: .01em; }

/* ------------------------------------------------------------------ 导航 */
.sitehead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.mainnav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand img { width: 172px; height: auto; }
.brand-city {
  padding-left: 13px;
  border-left: 1px solid var(--line-strong);
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
}
.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.navlinks a {
  position: relative;
  padding: 6px 0;
  color: #3b3e45;
  transition: color .16s ease;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.navlinks a:hover { color: var(--accent); }
.navlinks a:hover::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: var(--accent); }
.navlinks a[aria-current="page"]::after { transform: scaleX(1); }

.navcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(223, 57, 46, .24);
  transition: transform .16s ease, background .16s ease;
}
.navcta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.navcta .ico { width: 17px; height: 17px; stroke-width: 1.9; }

/* 纯 CSS 汉堡菜单（不依赖 JS） */
.navtoggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.navburger {
  display: none;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.navburger .bars { display: grid; gap: 4px; }
.navburger .bars i {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.navtoggle:checked ~ .navburger .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navtoggle:checked ~ .navburger .bars i:nth-child(2) { opacity: 0; }
.navtoggle:checked ~ .navburger .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: 56px 0 0;
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(223, 57, 46, .34), transparent 62%),
    radial-gradient(760px 380px at 8% 112%, rgba(223, 57, 46, .18), transparent 60%),
    linear-gradient(168deg, #1d1f24 0%, #16181c 54%, #101216 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: 54px;
  padding-bottom: 46px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #ffd9d5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(223, 57, 46, .22);
}
.hero h1 {
  margin: 22px 0 0;
  font-size: var(--display);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: #ff8078;
}
.hero-sub {
  max-width: 32em;
  margin: 20px 0 0;
  color: #b9bcc3;
  font-size: 17px;
  line-height: 1.75;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dfe1e5;
  font-size: 14.5px;
}
.hero-points .ico { width: 18px; height: 18px; color: #ff8078; stroke-width: 2.1; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.button .ico { width: 18px; height: 18px; stroke-width: 1.9; }
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(223, 57, 46, .32);
}
.button.primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button.ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.button.ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.button.solid { background: var(--ink); color: #fff; }
.button.solid:hover { background: #000; transform: translateY(-2px); }
.button.line { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.button.line:hover { border-color: var(--ink); transform: translateY(-2px); }
.button.full { width: 100%; }

/* Hero 右侧：当期班期卡 */
.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38);
}
.hero-card-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff8078;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}
.hero-card-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 6px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.hero-card-date b { font-size: 44px; line-height: 1; }
.hero-card-date i { color: #6f737b; font-style: normal; font-size: 24px; }
.hero-card > p { color: #b9bcc3; font-size: 14px; }
.hero-card dl {
  margin: 20px 0 22px;
  display: grid;
  gap: 14px;
}
.hero-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
}
.hero-card dt { color: #9ba0a8; }
.hero-card dd { margin: 0; font-weight: 700; text-align: right; }
.hero-card .button { background: #fff; color: var(--ink); box-shadow: none; }
.hero-card .button:hover { background: #ffe9e6; color: var(--accent-dark); }

/* Hero 底部数据带 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats div {
  padding: 24px 8px 26px;
  text-align: center;
}
.hero-stats div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-stats b {
  display: block;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-stats b em { font-style: normal; color: #ff8078; }
.hero-stats span { display: block; margin-top: 6px; color: #9ba0a8; font-size: 13px; }

/* ------------------------------------------------------------------ 通用区块 */
section { padding: 72px 0; }
.sec-head { margin-bottom: 34px; }
.sec-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sec-head .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.sec-head h2 {
  font-size: var(--h2);
  line-height: 1.22;
  letter-spacing: -.028em;
  font-weight: 800;
}
.sec-head p {
  max-width: 46em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ 班期 */
.schedule { background: var(--white); scroll-margin-top: 92px; }
.schedule-panel {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr .82fr;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 38px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #202228 0%, #16181c 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.schedule-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 57, 46, .34), transparent 68%);
  pointer-events: none;
}
.schedule-lead { position: relative; z-index: 1; }
.schedule-lead h3 {
  margin: 0 0 18px;
  font-size: var(--h3);
  line-height: 1.3;
  font-weight: 780;
  letter-spacing: -.02em;
}
.date-line {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.date-line b {
  color: #ff6b61;
  font-size: clamp(38px, 3.6vw, 50px);
  line-height: .9;
  letter-spacing: -.04em;
}
.date-line span { color: #cfd1d5; font-size: 16px; padding-bottom: 4px; }

.schedule-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}
.schedule-facts div {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}
.schedule-facts span { display: block; color: #9ba0a8; font-size: 13px; }
.schedule-facts b { display: block; margin-top: 5px; font-size: 16px; font-weight: 700; }

.schedule-contact {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, .17);
  text-align: center;
}
.schedule-contact .who { color: #9ba0a8; font-size: 13.5px; }
.contact-number {
  color: #ff6b61;
  font-size: clamp(24px, 2.2vw, 29px);
  font-weight: 850;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.schedule-contact .button { background: var(--accent); color: #fff; box-shadow: none; }
.schedule-contact .button:hover { background: var(--accent-dark); }

/* ------------------------------------------------------------------ 报考流程 */
.process { background: var(--paper); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 30px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.step {
  position: relative;
  padding-top: 62px;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px var(--paper);
}
.step-num {
  position: absolute;
  left: 0;
  top: 20px;
  width: 32px;
  text-align: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  z-index: 1;
}
.step h3 {
  font-size: var(--card);
  line-height: 1.4;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ 课程体系 */
.curriculum { background: var(--white); }
.curriculum-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.curriculum-top .sec-head { margin-bottom: 0; }
.fee-badge {
  flex: 0 0 auto;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid #f6cfc9;
  text-align: right;
}
.fee-badge strong {
  display: block;
  color: var(--accent-dark);
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
  font-weight: 880;
  letter-spacing: -.035em;
}
.fee-badge span { display: block; margin-top: 7px; color: #8d4a43; font-size: 13.5px; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.module {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fdfcfb);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.module:hover {
  transform: translateY(-3px);
  border-color: #f0c9c4;
  box-shadow: var(--shadow-sm);
}
.module .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.module .icon .ico { width: 21px; height: 21px; }
.module .text { min-width: 0; }
.module span.k {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.module h3 {
  margin-top: 6px;
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 700;
}

/* ------------------------------------------------------------------ FAQ */
.faq { background: var(--paper-2); }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-item[open] summary { color: var(--accent-dark); }
.faq-body {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.faq-body a { color: var(--accent-dark); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ------------------------------------------------------------------ 资讯 */
.articles { background: var(--white); }
.article-layout {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: stretch;
}
.featured-article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(223, 57, 46, .10), rgba(255, 255, 255, .96) 62%),
    repeating-linear-gradient(90deg, transparent 0 33px, rgba(23, 25, 29, .035) 33px 34px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.featured-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.featured-article .tag {
  position: absolute;
  left: 30px;
  top: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.featured-article h3 {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.42;
  font-weight: 780;
  letter-spacing: -.01em;
}
.featured-article p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-article .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 750;
}
.article-list { border-top: 1px solid var(--ink); }
.article-link {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .18s ease;
}
.article-link:hover { padding-left: 8px; }
.article-link time {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 650;
  padding-top: 3px;
}
.article-link strong {
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 650;
}
.article-link:hover strong { color: var(--accent-dark); }

/* ------------------------------------------------------------------ 底部转化条 */
.cta-band {
  padding: 0 0 72px;
  background: var(--white);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #1d1f24, #26282e);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-inner h3 {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.34;
  font-weight: 780;
  letter-spacing: -.02em;
}
.cta-inner p { margin-top: 9px; color: #a9adb4; font-size: 15px; }
.cta-inner .actions { margin-top: 0; }
.cta-inner .button.ghost { border-color: rgba(255, 255, 255, .3); }

/* ------------------------------------------------------------------ 页脚 */
/* 全站统一页脚样式已迁移到 assets/zz-footer.css（.cmf-* 前缀）；
   这里只保留“为移动端吸底快捷条留出高度”这一条首页专属规则。 */

/* ------------------------------------------------------------------ 移动端底部快捷条 */
.mobilebar { display: none; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1080px) {
  .navlinks { gap: 20px; font-size: 13.5px; }
  .brand img { width: 152px; }
  .hero-grid { gap: 38px; }
}

@media (max-width: 980px) {
  .mainnav { grid-template-columns: auto 1fr auto; gap: 14px; }
  .navlinks { display: none; }
  .navburger { display: inline-flex; }
  .hero { padding-top: 44px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 38px;
  }
  .hero-sub { max-width: 100%; }
  .hero-card { max-width: 520px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .schedule-panel { grid-template-columns: .85fr 1.15fr; }
  .schedule-contact {
    grid-column: 1 / -1;
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .17);
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 780px) {
  .navlinks {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(23, 25, 29, .10);
  }
  .navtoggle:checked ~ .navlinks { display: flex; }
  .navlinks a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .navlinks a:last-child { border-bottom: 0; }
  .navlinks a::after { display: none; }
  .sitehead { position: sticky; }
  .mainnav { position: relative; min-height: 66px; }
  .brand img { width: 138px; }
  .brand-city { display: none; }
  .navcta { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .navcta .txt-long { display: none; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 30px, var(--maxw)); }
  .trustbar .wrap { justify-content: center; white-space: nowrap; }
  .trustbar .trust-legal { display: none; }
  .trustbar .trust-tel { margin-left: 8px; }

  section { padding: 54px 0; }
  .hero { padding-top: 34px; }
  .hero h1 { letter-spacing: -.03em; }
  .hero-sub { font-size: 15.5px; }
  .hero-points { gap: 9px 16px; }
  .hero-points li { font-size: 14px; }
  .actions .button { flex: 1 1 160px; }
  .hero-card { padding: 24px 22px; }
  .hero-card dl > div { font-size: 13.5px; }
  .hero-stats div { padding: 20px 4px; }
  .hero-stats b { font-size: 22px; }
  .hero-stats span { font-size: 12.5px; }

  .schedule-panel { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; }
  .schedule-contact { padding-top: 24px; }
  .contact-number { white-space: normal; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 22px 0 0 52px; }
  .step::before { top: 16px; }
  .step-num { top: 22px; }
  .step + .step { margin-top: 18px; padding-top: 22px; border-top: 1px dashed var(--line-strong); }

  .curriculum-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .fee-badge { text-align: left; width: 100%; }
  .modules { grid-template-columns: 1fr; gap: 12px; }
  .module { padding: 20px; }

  .faq-item summary { padding: 17px 18px; font-size: 15.5px; }
  .faq-body { padding: 0 18px 18px; font-size: 14.8px; }

  .featured-article { min-height: 0; padding: 24px; }
  .featured-article .tag { position: static; margin-bottom: 14px; }
  .article-link { grid-template-columns: 1fr; gap: 5px; padding: 16px 0; }
  .article-link strong { font-size: 16.5px; }

  .cta-band { padding-bottom: 54px; }
  .cta-inner { padding: 28px 24px; }
  .cta-inner .actions .button { flex: 1 1 100%; }

  footer.cmf { padding-bottom: 96px; }   /* 给吸底快捷条留位置 */

  /* 移动端吸底快捷条 */
  .mobilebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(23, 25, 29, .10);
  }
  .mobilebar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
  }
  .mobilebar .mb-tel { background: var(--ink); color: #fff; }
  .mobilebar .mb-chat { background: var(--accent); color: #fff; }
  .mobilebar .ico { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   【临时隐藏】课程体系 / 师资与服务 两个栏目
   —— 2026-09-16 应需求隐藏。恢复方法：把下面整段删掉即可（或改成 display:inline-flex）
   ========================================================================== */
.c-links a[href$="/course/CPPM.html"],
.navlinks a[href$="/course/CPPM.html"],
.c-links a[href$="/lecturer.html"],
.navlinks a[href$="/lecturer.html"] {
  display: none !important;
}


/* ==========================================================================
   深色导航-20260920  方案B：与首页深色 hero 同款导航（首页专用）
   ========================================================================== */
.trustbar{background:#111316 !important}
.trustbar span,.trustbar strong,.trustbar a,.trustbar .trust-tel{color:#e8e5e0 !important}
header.sitehead{background:#1c1e21 !important;border-color:#2b2e33 !important}
header.sitehead .brand{color:#ffffff !important}
header.sitehead .brand img{filter:brightness(0) invert(1) !important}
header.sitehead .city-mark{color:#b4b2a9 !important;background:transparent !important;border-color:#444441 !important}
header.sitehead .navlinks a{color:#d3d1c7 !important}
header.sitehead .navlinks a:hover,
header.sitehead .navlinks a.is-active,
header.sitehead .navlinks a.active,
header.sitehead .navlinks a[aria-current]{
  color:#ffffff !important;background:none !important;border-bottom:2px solid #df392e !important;
}
header.sitehead .header-cta{background:#df392e !important;color:#ffffff !important;border:0 !important;border-radius:6px !important}
header.sitehead .header-cta:hover{background:#b82821 !important}
header.sitehead .burger,header.sitehead .menu-toggle,header.sitehead .menu-btn{color:#d3d1c7 !important}
@media (max-width:980px){
  header.sitehead .navlinks{background:#1c1e21 !important;border-color:#2b2e33 !important}
  header.sitehead .navlinks a{color:#d3d1c7 !important;border-bottom:1px solid #2b2e33 !important}
  header.sitehead .navlinks a.is-active,header.sitehead .navlinks a.active{color:#ffffff !important}
}

/* ===== 方向B 首页深墨+金 覆盖 (20260920) ===== */
:root{
  --accent:#c8a35a;          /* 金色，替代红 */
  --accent-dark:#a8863f;
  --accent-soft:#f6efdf;
}
/* Hero：红光→金光，深墨底保持不变（与栏目页同款） */
.hero{
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(200,163,90,.30), transparent 62%),
    radial-gradient(760px 380px at 8% 112%, rgba(200,163,90,.15), transparent 60%),
    linear-gradient(135deg,#1c1e21 0%,#2a2723 55%,#1c1e21 100%) !important;
}
.hero h1 em{color:#e3c489 !important}
.hero-tag{color:#f1d9a8 !important}
.hero-points .ico{color:var(--accent) !important}
.hero-card-label{color:var(--accent) !important}
.hero-card .button:hover{background:var(--accent-soft) !important;color:var(--accent-dark) !important}
/* 班期大日期数字 / 费用徽章：写死红→金 */
.date-line b{color:var(--accent) !important}
.fee-badge{border-color:#e4d4ad !important}
.fee-badge span{color:#a8863f !important}
/* 主按钮红阴影→金阴影 */
.button.primary{box-shadow:0 10px 26px rgba(168,134,63,.30) !important}
/* 导航：写死红下划线 / 红 CTA → 金 */
header.sitehead .navlinks a:hover,
header.sitehead .navlinks a.is-active,
header.sitehead .navlinks a.active,
header.sitehead .navlinks a[aria-current]{
  border-bottom:2px solid var(--accent) !important;
}
header.sitehead .header-cta{background:var(--accent) !important}
header.sitehead .header-cta:hover{background:var(--accent-dark) !important}

/* ============================================================ 首页模块换形-20260920 ==
   首页模块形态重做（票据/时间线/条陈/双栏/深墨块），只改样式不改内容。
   回滚：删除本块即可。
   ================================================================== */

/* ---- 通用：区块标题改金色竖条条陈 ---- */
.sec-head h2 { position: relative; padding-left: 18px; }
.sec-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 2px;
  background: var(--accent);
}
.sec-head.center h2 { padding-left: 0; }
.sec-head.center h2::before { display: none; }
.sec-head.center h2::after {
  content: ""; display: block;
  width: 54px; height: 3px; margin: 16px auto 0;
  background: var(--accent);
}
.sec-head .eyebrow { font-size: 12px; letter-spacing: .2em; }

/* ---- hero 数字条：加金色竖分隔 ---- */
.hero-stats > div + div { border-left: 1px solid rgba(200, 163, 90, .28); padding-left: 20px; }

/* ---- 班期 panel：票据/通知单式（方角 + 金色粗左边框 + 分隔线） ---- */
.schedule-panel {
  grid-template-columns: .9fr 1.2fr .78fr;
  padding: 34px 36px;
  border-radius: 3px;
  border-left: 5px solid var(--accent);
  background: linear-gradient(120deg, #1b1d22 0%, #14161a 100%);
  box-shadow: 0 16px 40px rgba(20, 22, 26, .16);
}
.schedule-panel::after { background: radial-gradient(circle, rgba(200, 163, 90, .20), transparent 68%); }
.date-line b { color: #e3c489; }
.contact-number { color: #e3c489; }
.schedule-facts { grid-template-columns: 1fr 1fr; gap: 0; }
.schedule-facts div { padding: 13px 18px; border-top: 1px solid rgba(200, 163, 90, .24); }
.schedule-facts div:nth-child(even) { border-left: 1px solid rgba(200, 163, 90, .24); }
.schedule-facts div:nth-child(-n+2) { border-top: 0; }
.schedule-contact { border-left: 1px solid rgba(200, 163, 90, .3); }

/* ---- 报考流程：竖向时间线（替代横向四卡） ---- */
.steps { grid-template-columns: 1fr; gap: 0; }
.steps::before { display: none; }
.step {
  display: grid;
  grid-template-columns: minmax(170px, .82fr) 1.18fr;
  gap: 10px 30px;
  align-items: start;
  padding: 0 0 30px 44px;
  border-left: 2px solid rgba(200, 163, 90, .38);
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  left: -13px; top: 2px;
  width: 24px; height: 24px;
  border-radius: 3px;
  background: #15171b;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--paper);
}
.step-num {
  left: -13px; top: 2px;
  width: 24px; line-height: 24px;
  font-size: 11px; color: #e3c489;
}
.step h3 { margin-bottom: 0; }

/* ---- 课程体系：条陈列表（替代 3 列图标卡片网格） ---- */
.modules {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.module {
  align-items: center;
  gap: 18px;
  padding: 17px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background .18s ease, padding-left .18s ease;
}
.module:hover {
  transform: none;
  padding-left: 20px;
  background: rgba(200, 163, 90, .07);
  border-color: var(--line);
  box-shadow: none;
}
.module .icon {
  width: 38px; height: 38px;
  border-radius: 3px;
  background: transparent;
  border: 1px solid rgba(200, 163, 90, .55);
}
.module .text { display: flex; align-items: baseline; gap: 14px; }
.module span.k { color: var(--accent); letter-spacing: .18em; }
.module h3 { margin-top: 0; font-size: 18px; }
.curriculum-top { padding-bottom: 22px; }

/* ---- FAQ：双栏 + 金色左条 ---- */
.faq-list { grid-template-columns: 1fr 1fr; max-width: none; gap: 14px; }
.faq-item {
  border-radius: 3px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.faq-item[open] { background: #fffdf8; }
.faq-item summary { padding: 17px 20px; }

/* ---- 资讯：头条改深墨块，列表日期右置 ---- */
.article-layout { grid-template-columns: 1.12fr .88fr; gap: 34px; }
.featured-article {
  border: 0;
  border-radius: 3px;
  padding: 34px;
  background: linear-gradient(150deg, #202228 0%, #15171b 100%);
  box-shadow: 0 18px 42px rgba(20, 22, 26, .16);
}
.featured-article .tag { background: var(--accent); color: #1c1e21; }
.featured-article h3 { color: #fff; }
.featured-article p { color: #b9bdc4; }
.featured-article .more { color: #e3c489; }
.featured-article:hover { box-shadow: 0 22px 50px rgba(20, 22, 26, .22); }
.article-list { border-top: 2px solid var(--ink); }
.article-link { grid-template-columns: 1fr auto; gap: 16px; padding: 15px 6px; }
.article-link strong { order: 1; font-size: 16.5px; }
.article-link time { order: 2; color: var(--accent); font-weight: 700; padding-top: 2px; }
.article-link:hover { padding-left: 12px; background: rgba(200, 163, 90, .06); }
.article-link:hover strong { color: var(--accent-dark); }

/* ---- CTA：方角通栏深墨带 + 金色顶线 ---- */
.cta-band { padding: 0 0 76px; }
.cta-inner {
  border-radius: 0;
  border-top: 3px solid var(--accent);
  padding: 46px 40px;
  background: linear-gradient(100deg, #15171b 0%, #202228 100%);
}

/* ---- 移动端兜底（本块在原 @media 之后，必须自带响应式） ---- */
@media (max-width: 980px) {
  .schedule-panel { grid-template-columns: 1fr; padding: 26px 22px; border-left-width: 4px; }
  .schedule-contact { border-left: 0; border-top: 1px solid rgba(200, 163, 90, .3); padding-left: 0; padding-top: 20px; }
  .step { grid-template-columns: 1fr; gap: 4px; padding-bottom: 24px; }
  .faq-list { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 26px; }
  .cta-inner { grid-template-columns: 1fr; padding: 34px 24px; }
  .hero-stats > div + div { padding-left: 14px; }
}
@media (max-width: 700px) {
  .schedule-facts { grid-template-columns: 1fr; }
  .schedule-facts div:nth-child(even) { border-left: 0; }
  .schedule-facts div:nth-child(n+2) { border-top: 1px solid rgba(200, 163, 90, .24); }
  .module { padding: 14px 4px; gap: 14px; }
  .module .text { flex-direction: column; gap: 2px; }
  .article-link { grid-template-columns: 1fr; gap: 4px; }
  .article-link time { order: 1; }
  .article-link strong { order: 2; }
  .sec-head h2 { padding-left: 14px; }
}

/* ============================================================ 首页模块圆角+资讯换形-20260920 ==
   首页模块：圆角回正 + 资讯模块换形（通栏圆角头条 + 4 张圆角卡片）。
   只改样式不改内容。回滚：删除本块。
   ================================================================== */

/* ---- ① 圆角回正（b2 版把这几处改成了方角，这里统一恢复圆角） ---- */
.schedule-panel { border-radius: var(--radius); }
.step::before { border-radius: 50%; }
.module { border-radius: var(--radius-sm); }
.faq-item { border-radius: var(--radius-sm); }
.cta-inner { border-radius: var(--radius); }
.cta-inner { border-top-width: 0; }

/* ---- ② 资讯模块换形：上通栏圆角头条 + 下 4 张圆角卡片 ---- */
.article-layout { grid-template-columns: 1fr; gap: 22px; }
.featured-article {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "tag tag" "title more" "desc more";
  align-items: start;
  column-gap: 44px;
  min-height: 0;
  padding: 30px 34px;
  border-radius: var(--radius);
}
.featured-article .tag {
  position: static;
  grid-area: tag;
  justify-self: start;
  margin-bottom: 15px;
}
.featured-article h3 { grid-area: title; }
.featured-article p { grid-area: desc; margin-top: 10px; -webkit-line-clamp: 2; }
.featured-article .more {
  grid-area: more;
  align-self: center;
  margin-top: 0;
  white-space: nowrap;
}
.article-list {
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.article-link {
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-link time { order: 1; }
.article-link strong { order: 2; font-size: 16.5px; }
.article-link:hover {
  padding-left: 20px;
  transform: translateY(-3px);
  background: #fffdf8;
  border-color: rgba(200, 163, 90, .55);
  box-shadow: 0 8px 22px rgba(35, 26, 20, .08);
}

/* ---- 响应式兜底（本块在原 @media 之后，必须自带） ---- */
@media (max-width: 980px) {
  .featured-article {
    grid-template-columns: 1fr;
    grid-template-areas: "tag" "title" "desc" "more";
    column-gap: 0;
  }
  .featured-article .more { align-self: start; margin-top: 16px; }
  .article-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .featured-article { padding: 24px 22px; }
  .article-list { grid-template-columns: 1fr; }
}

/* ============================================================ 首页流程+课程换形-20260920 ==
   报考流程 = 2×2 圆角卡片；课程体系 = 2×3 圆角卡片。只改样式不改内容。
   回滚：删除本块。
   ================================================================== */

/* ---- 报考流程：2×2 圆角卡片（右上角大号淡金编号） ---- */
.steps {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.steps::before { display: none; }
.step {
  display: block;
  position: relative;
  padding: 26px 96px 26px 26px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fdfbf7);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:last-child { padding-bottom: 26px; }
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 163, 90, .55);
  box-shadow: 0 12px 28px rgba(35, 26, 20, .09);
}
.step::before { display: none; }
.step-num {
  position: absolute;
  right: 22px;
  top: 16px;
  left: auto;
  width: auto;
  line-height: 1;
  font-size: 40px;
  font-weight: 850;
  letter-spacing: -.04em;
  color: rgba(200, 163, 90, .42);
}
.step h3 { margin-bottom: 8px; font-size: 18px; }

/* ---- 课程体系：2 列 × 3 行圆角卡片（金色左竖条 + 淡金图标块） ---- */
.modules {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  border-top: 0;
}
.module {
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, #fdfbf7);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.module:hover {
  transform: translateY(-3px);
  padding-left: 22px;
  background: #fffdf8;
  border-color: var(--line);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.module .icon {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.module .icon .ico { width: 22px; height: 22px; }
.module .text { display: block; }
.module span.k { color: var(--accent); letter-spacing: .16em; font-size: 11.5px; }
.module h3 { margin-top: 5px; font-size: 17.5px; }

/* ---- 响应式兜底（本块在原 @media 之后，必须自带） ---- */
@media (max-width: 980px) {
  .step { padding: 22px 84px 22px 22px; }
  .step-num { font-size: 34px; right: 18px; top: 14px; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .modules { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 22px 22px 22px 22px; }
  .step-num { position: static; display: block; margin-bottom: 6px; font-size: 26px; }
}

/* ============================================================ 首页班期时间轴-20260920 ==
   班期模块改「横向时间轴」：节点 = 4 个真实信息项（考试时间节点实心高亮）。
   只改样式不改内容。回滚：删除本块。
   ================================================================== */

.schedule-panel {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 30px 34px 0;
  border-left: 0;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #1e2025 0%, #14161a 100%);
}
.schedule-panel::after { background: radial-gradient(circle, rgba(200, 163, 90, .16), transparent 70%); }

/* 顶部：小标题 + 超大金色城市名 */
.schedule-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px 20px;
}
.schedule-lead h3 {
  width: 100%;
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #c7cbd1;
  letter-spacing: 0;
}
.date-line { align-items: baseline; gap: 12px; }
.date-line b { color: #e3c489; font-size: clamp(36px, 4vw, 50px); }
.date-line span { color: #9ba0a8; font-size: 15px; }

/* 时间轴：连接线 + 4 个节点 */
.schedule-facts {
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 30px 0 0;
  padding: 46px 0 0;
  border-top: 1px solid rgba(200, 163, 90, .16);
}
.schedule-facts::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 21px;
  height: 2px;
  background: rgba(200, 163, 90, .34);
}
.schedule-facts div {
  position: relative;
  padding: 4px 12px 0;
  text-align: center;
  border: 0;
  border-top: 0;
}
.schedule-facts div:nth-child(even) { border-left: 0; }
.schedule-facts div:nth-child(-n+2) { border-top: 0; }
.schedule-facts div::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -32px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: #14161a;
  border: 2px solid #c8a35a;
  box-shadow: 0 0 0 7px #17191d;
}
/* 考试时间节点高亮 */
.schedule-facts div:nth-child(2)::before { background: #c8a35a; }
.schedule-facts span { display: block; color: #9ba0a8; font-size: 12.5px; }
.schedule-facts b { display: block; margin-top: 6px; font-size: 15.5px; font-weight: 700; color: #fff; }

/* 底部联系横条 */
.schedule-contact {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  margin: 26px -34px 0;
  padding: 18px 34px 22px;
  border-left: 0;
  border-top: 1px solid rgba(200, 163, 90, .2);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 255, 255, .03);
  text-align: left;
}
.schedule-contact .who { color: #9ba0a8; font-size: 13.5px; }
.contact-number { color: #e3c489; font-size: clamp(20px, 2vw, 26px); }
.schedule-contact .button { width: auto; flex: 0 0 auto; background: var(--accent); }
.schedule-contact .button:hover { background: var(--accent-dark); }

/* ---- 响应式兜底（本块在原 @media 之后，必须自带） ---- */
@media (max-width: 980px) {
  .schedule-panel { padding: 26px 22px 0; }
  .schedule-facts { grid-template-columns: 1fr 1fr; margin-top: 24px; padding-top: 42px; }
  .schedule-facts::before { display: none; }
  .schedule-facts div { padding: 0 12px 14px; }
  .schedule-facts div::before { top: -26px; }
  .schedule-contact { margin: 20px -22px 0; padding: 16px 22px 20px; }
}
@media (max-width: 700px) {
  .schedule-facts { grid-template-columns: 1fr; padding-top: 20px; }
  .schedule-facts div { text-align: left; padding: 0 0 16px 28px; }
  .schedule-facts div:last-child { padding-bottom: 0; }
  .schedule-facts div::before { left: 0; top: 6px; margin-left: 0; box-shadow: none; }
  .schedule-lead h3 { font-size: 16px; }
  .schedule-contact { flex-direction: column; align-items: flex-start; }
  .schedule-contact .button { width: 100%; }
}

/* ============================================================ 首页红色残留修补-20260920 ==
   首页红色残留统一为金（hero 数字条里的 em 强调字曾漏改）。
   ================================================================== */
.hero-stats b em { color: #e3c489 !important; }

/* ============================================================ 首页班期徽标+三天轴-20260920 ==
   班期：右上徽标 + DAY1/2/3 三天时间轴（HTML 由 apply_b7_track.py 注入）。
   ================================================================== */
.schedule-lead .sched-badge {
  margin-left: auto;
  align-self: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(200, 163, 90, .14);
  color: #e3c489;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.sched-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 0;
}
.sched-track::before {
  content: "";
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: 14px;
  height: 2px;
  background: rgba(200, 163, 90, .34);
}
.sched-track .s-node { position: relative; text-align: center; padding-top: 36px; }
.sched-track .s-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: #14161a;
  border: 2px solid #c8a35a;
  box-shadow: 0 0 0 7px #17191d;
}
.sched-track .s-node.last::before { background: #c8a35a; }
.sched-track .s-node em {
  font-style: normal;
  display: block;
  color: #e3c489;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
}
.sched-track .s-node b { display: block; margin-top: 5px; font-size: 16.5px; color: #fff; }
.sched-track .s-node span { display: block; margin-top: 4px; color: #9ba0a8; font-size: 13px; }

/* 覆盖 b5：facts 不再做节点时间轴（节点改由 sched-track 承担） */
.schedule-facts { margin-top: 26px; padding: 20px 0 0; }
.schedule-facts::before { display: none; }
.schedule-facts div { padding: 0 12px; text-align: center; }
.schedule-facts div::before { display: none; }
.schedule-facts b { margin-top: 5px; }

/* ---- 响应式兜底 ---- */
@media (max-width: 980px) {
  .sched-track::before { left: 16%; right: 16%; }
  .sched-track .s-node b { font-size: 15px; }
  .schedule-lead .sched-badge { margin-left: 0; }
}
@media (max-width: 700px) {
  .sched-track { padding-top: 4px; }
  .sched-track::before { top: 12px; }
  .sched-track .s-node { padding-top: 32px; }
  .sched-track .s-node::before { width: 12px; height: 12px; margin-left: -6px; top: 7px; box-shadow: none; }
  .sched-track .s-node em { font-size: 10.5px; letter-spacing: .1em; }
  .sched-track .s-node b { font-size: 13px; }
  .sched-track .s-node span { font-size: 11.5px; }
  .schedule-facts { grid-template-columns: 1fr; padding-top: 14px; }
  .schedule-facts div { text-align: left; padding: 0 0 12px; }
  .schedule-facts div:last-child { padding-bottom: 0; }
}
