
/* ============================================================
   指路学苑官网 —— 单文件内联样式（由共享样式表合并，含单文件/分区切换增强）
   色彩与间距统一由 CSS 变量管理
   ============================================================ */

:root {
  /* —— 品牌色彩体系 —— */
  --color-primary: #B83B3B;       /* Logo 红（主色） */
  --color-primary-dark: #A52A2A;  /* 深红（Logo 渐变深端） */
  --color-navy: #1E3A5F;          /* 辅助深蓝（专业/信任） */
  --color-gold: #C9A227;          /* 辅助金（成绩荣耀） */
  --color-bg: #FFFFFF;            /* 纯白背景 */
  --color-bg-soft: #F7F8FA;       /* 浅灰背景 */
  --color-text: #1F2937;          /* 主文字 */
  --color-text-soft: #6B7280;     /* 次要文字 */
  --color-border: #E5E7EB;

  /* —— 间距与布局 —— */
  --container: 1200px;
  --space-section: clamp(56px, 8vw, 104px);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;

  /* —— 阴影 —— */
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 10px 28px rgba(31, 41, 55, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 41, 55, 0.16);

  /* —— 字体 —— */
  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================== 基础重置 ===================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* 为固定导航留出锚点偏移 */
}

body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* 数字/英文使用 Inter 风格 */
.num, .en { font-family: var(--font-en); }

/* ===================== 通用容器 / 区块 ===================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: var(--space-section) 0; }
.section--soft { background: var(--color-bg-soft); }

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
}
.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--color-text-soft);
}

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--navy {
  background: var(--color-navy);
  color: #fff;
}
.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--ghost:hover {
  background: rgba(184, 59, 59, 0.08);
  transform: translateY(-2px);
}
.btn--light {
  background: #fff;
  color: var(--color-primary);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================== 占位图水印 ===================== */
.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero .hero /* ===================== 导航栏 ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.nav.scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  height: 48px;
  width: auto;
  max-height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  transition: color .3s ease;
  white-space: nowrap;
}
.nav.scrolled .brand-name,
.nav--solid .brand-name { color: var(--color-text); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu a {
  padding: 8px 13px;
  font-size: 15px;
  font-weight: 600;
  color: #1F2937;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--color-primary); background: rgba(184, 59, 59, 0.07); }
.nav.scrolled .nav-menu a,
.nav--solid .nav-menu a { color: var(--color-text); }
.nav.scrolled .nav-menu a:hover,
.nav--solid .nav-menu a:hover { color: var(--color-primary); background: rgba(184, 59, 59, 0.07); }
.nav-menu a.active {
  color: var(--color-primary) !important;
  font-weight: 800;
}

.nav-cta { flex-shrink: 0; white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: background .3s ease;
}
.nav.scrolled .hamburger,
.nav--solid .hamburger { background: rgba(31, 41, 55, 0.06); }
.nav.scrolled .hamburger span,
.nav--solid .hamburger span { background: var(--color-text); }

/* 移动端全屏抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.drawer-close {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--color-bg-soft);
  font-size: 22px;
  color: var(--color-text);
}
.drawer-menu { display: flex; flex-direction: column; gap: 4px; }
.drawer-menu a {
  padding: 15px 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.drawer-menu a.active { color: var(--color-primary); }
.drawer-cta { margin-top: auto; padding-top: 22px; }
.drawer-cta .btn { width: 100%; }

/* ===================== 二级页通用页头 Banner ===================== */
.page-banner {
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 132px 0 64px;
}
.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }
.page-banner .section-eyebrow { color: var(--color-gold); }
.page-banner h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}
.page-banner p {
  margin-top: 16px;
  max-width: 720px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
}

/* ===================== 正文排版（如关于指路） ===================== */
.prose { max-width: 820px; }
.prose p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 20px;
}
.prose .lead {
  font-size: 19px;
  color: var(--color-text);
  font-weight: 500;
}
.prose blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 5px solid var(--color-gold);
  background: rgba(201, 162, 39, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.7;
}
.prose blockquote .hl { color: var(--color-primary); }

/* ===================== 两栏（图文） ===================== */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1fr 1.15fr; }
.two-col .img-wrap { border-radius: var(--radius-lg); min-height: 340px; }
.two-col-text h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.35; }
.two-col-text p { margin-top: 16px; color: var(--color-text-soft); }

/* ===================== 特性 / 优势网格 ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-navy);
  color: #fff;
  margin-bottom: 16px;
}
.feature-icon.gold { background: var(--color-gold); color: var(--color-navy); }
.feature-icon.red { background: rgba(184, 59, 59, 0.10); color: var(--color-primary); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 20px; font-weight: 800; }
.feature-card p { margin-top: 10px; font-size: 15px; color: var(--color-text-soft); }

/* 标签胶囊（适合人群等） */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag-pill {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  background: rgba(30, 58, 95, 0.08);
  border-radius: 999px;
}

/* ===================== 流程 / 步骤 ===================== */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step-item h4 { font-size: 17px; font-weight: 800; }
.step-item p { margin-top: 8px; font-size: 14px; color: var(--color-text-soft); }

/* ===================== 详情卡（课程/规划子板块） ===================== */
.detail-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.detail-card .img-wrap { min-height: 300px; }
.detail-card-body { padding: 38px 36px; }
.detail-card-body h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.detail-card-body .sub { margin-top: 8px; color: var(--color-gold); font-weight: 700; }
.detail-card-body > p { margin-top: 14px; color: var(--color-text-soft); font-size: 15px; }
.detail-list { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.detail-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}
.detail-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===================== 作息表 ===================== */
.schedule {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule th, .schedule td {
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}
.schedule thead th {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}
.schedule tbody tr:nth-child(even) { background: var(--color-bg-soft); }
.schedule td:first-child { font-weight: 700; color: var(--color-navy); white-space: nowrap; }

/* ===================== 地图 / 占位区 ===================== */
.map-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--color-text-soft);
  text-align: center;
  padding: 24px;
}
.map-placeholder .map-icon { font-size: 40px; opacity: .5; }

/* ===================== 联系信息 + 表单 ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.info-item .ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(184, 59, 59, 0.10);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.info-item .ic svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 15px; color: var(--color-text-soft); font-weight: 700; }
.info-item p { font-size: 17px; font-weight: 700; color: var(--color-text); margin-top: 2px; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 22px; font-weight: 800; }
.form-card .form-sub { margin-top: 6px; font-size: 14px; color: var(--color-text-soft); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field label .req { color: var(--color-primary); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-soft);
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form-card .btn { width: 100%; margin-top: 8px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(184, 59, 59, 0.08);
  border: 1px solid rgba(184, 59, 59, 0.25);
  border-radius: 10px;
  text-align: center;
}
.form-success.show { display: block; }

/* ===================== 社交关注 / 二维码占位 ===================== */
.social-follow { background: var(--color-bg-soft); }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.qr-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.qr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.qr-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
}
.qr-img svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: var(--radius-sm); }
.qr-icon { font-size: 26px; margin-bottom: 6px; }
.qr-card h3 { font-size: 18px; font-weight: 800; }
.qr-card p { margin-top: 8px; font-size: 14px; color: var(--color-text-soft); }
@media (max-width: 768px) {
  .qr-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* ===================== 加入我们 / 招募占位 ===================== */
.join-block {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--color-navy), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.join-block h3 { font-size: 26px; font-weight: 800; }
.join-block p { margin-top: 10px; color: rgba(255, 255, 255, 0.85); max-width: 560px; }

/* ===================== 数据/成果卡片 ===================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.stat-num { font-size: 40px; font-weight: 900; color: var(--color-primary); line-height: 1.1; }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--color-text-soft); }

/* ===================== Hero 首屏 ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background .2s ease;
}
.hero-prev:hover, .hero-next:hover { background: rgba(184, 59, 59, 0.85); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}
.hero-dots .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, width .3s ease;
}
.hero-dots .dot.active { background: #fff; width: 26px; border-radius: 6px; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(30, 58, 95, 0.92) 0%, rgba(165, 42, 42, 0.78) 100%),
    rgba(15, 23, 42, 0.30);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 1040px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-tag {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 1px;
}
@media (min-width: 1025px) {
  .hero h1 { white-space: nowrap; }
}
.hero h1 .accent { color: var(--color-gold); }
.hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}
.trust-label { font-size: 14px; color: rgba(255, 255, 255, 0.82); margin-top: 4px; }

/* ===================== 卡片通用 ===================== */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 59, 59, 0.35);
}

/* ===================== 模块02 三大课程体系 ===================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card .img-wrap { height: 190px; }
.course-body { padding: 26px 24px 28px; }
.course-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184, 59, 59, 0.10);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.course-icon svg { width: 28px; height: 28px; }
.course-name { font-size: 22px; font-weight: 800; }
.course-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
}
.course-desc { margin-top: 12px; color: var(--color-text-soft); font-size: 15px; }
.course-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.course-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--color-text);
}
.course-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.course-body .btn { margin-top: 22px; width: 100%; }
.course-card .btn--ghost { margin-top: 22px; }

/* ===================== 模块03 为什么选择 ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-navy);
  color: #fff;
  margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 20px; font-weight: 800; }
.why-card p { margin-top: 10px; font-size: 15px; color: var(--color-text-soft); }
.why-banner {
  margin-top: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.why-banner .img-wrap { min-height: 280px; }
.why-banner-text {
  background: var(--color-navy);
  color: #fff;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-banner-text h3 { font-size: 26px; font-weight: 800; line-height: 1.35; }
.why-banner-text p { margin-top: 14px; color: rgba(255, 255, 255, 0.82); }

/* ===================== 模块04 师资团队 ===================== */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.teacher-card .img-wrap { height: 240px; }
.teacher-body { padding: 20px 20px 24px; text-align: center; }
.teacher-name { font-size: 20px; font-weight: 800; }
.teacher-meta { margin-top: 6px; font-size: 14px; color: var(--color-primary); font-weight: 700; }
.teacher-feat { margin-top: 12px; font-size: 14px; color: var(--color-text-soft); }
.center-btn { text-align: center; margin-top: 38px; }

/* ===================== 模块05 教学成果 ===================== */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.result-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.result-card h3 { font-size: 20px; font-weight: 800; }
.result-grade { font-size: 14px; color: var(--color-text-soft); margin-top: 4px; }
.result-score {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 6px;
}
.result-from { font-size: 34px; font-weight: 800; color: var(--color-text-soft); }
.result-arrow { font-size: 22px; color: var(--color-gold); }
.result-to { font-size: 46px; font-weight: 900; color: var(--color-primary); line-height: 1; }
.result-up {
  align-self: flex-start;
  margin-top: 6px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(184, 59, 59, 0.10);
  border-radius: 999px;
}
.result-period { margin-top: 14px; font-size: 14px; color: var(--color-text-soft); }
.result-chart {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  padding: 14px;
}
.result-chart svg { width: 100%; height: auto; display: block; }

/* ===================== 模块06 集训营专题 ===================== */
.bootcamp {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--color-border);
}
.bootcamp .img-wrap { min-height: 360px; }
.bootcamp-body { padding: 44px 40px; }
.bootcamp-body h3 { font-size: 28px; font-weight: 800; line-height: 1.35; }
.bootcamp-body > p { margin-top: 12px; color: var(--color-text-soft); }
.compare {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col {
  border-radius: var(--radius-sm);
  padding: 20px 18px;
}
.compare-col.normal { background: var(--color-bg-soft); border: 1px dashed var(--color-border); }
.compare-col.zhilu { background: rgba(184, 59, 39, 0.06); border: 1px solid rgba(184, 59, 39, 0.25); }
.compare-col h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.compare-col.normal h4 { color: var(--color-text-soft); }
.compare-col.zhilu h4 { color: var(--color-primary); }
.compare-col li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  margin-bottom: 9px;
  color: var(--color-text);
}
.compare-col.normal li::before {
  content: "✕"; position: absolute; left: 0; top: 0; color: #9CA3AF; font-weight: 700;
}
.compare-col.zhilu li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 700;
}
.bootcamp-body .btn { margin-top: 28px; }

/* ===================== 模块07 升学规划中心 ===================== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plan-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card .img-wrap { position: absolute; inset: 0; }
.plan-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 58, 95, 0.92), rgba(30, 58, 95, 0.15));
}
.plan-card .plan-text { position: relative; z-index: 2; padding: 24px 22px; }
.plan-step {
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.plan-card h3 { font-size: 21px; font-weight: 800; }
.plan-card p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }

/* ===================== 模块08 家长评价 ===================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--color-gold); font-size: 16px; letter-spacing: 2px; }
.review-text { margin-top: 14px; font-size: 15px; color: var(--color-text); line-height: 1.7; flex: 1; }
.review-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review-author .img-wrap { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.review-author .name { font-weight: 800; font-size: 15px; }
.review-author .role { font-size: 13px; color: var(--color-text-soft); }

/* ===================== 模块09 校区展示 ===================== */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.campus-card .img-wrap { height: 170px; }
.campus-body { padding: 22px 20px 24px; }
.campus-name {
  font-size: 19px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.campus-name::before {
  content: ""; width: 6px; height: 20px; border-radius: 3px; background: var(--color-primary);
}
.campus-info { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.campus-info div { font-size: 14px; color: var(--color-text-soft); display: flex; gap: 8px; }
.campus-info svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-primary); margin-top: 3px; }

/* ===================== 模块10 底部转化 CTA ===================== */
.cta {
  background:
    linear-gradient(120deg, rgba(30, 58, 95, 0.96), rgba(165, 42, 42, 0.94));
  color: #fff;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-text h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.32; }
.cta-text p { margin-top: 16px; color: rgba(255, 255, 255, 0.86); }
.cta-points { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cta-points li::before { content: "✓"; color: var(--color-gold); font-weight: 800; }

.cta-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.cta-card h3 { font-size: 22px; font-weight: 800; }
.cta-card .form-sub { margin-top: 6px; font-size: 14px; color: var(--color-text-soft); margin-bottom: 20px; }
.cta-card .btn { width: 100%; margin-top: 10px; }

/* ===================== 页脚 ===================== */
.footer {
  background: #14202E;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 48px; width: auto; max-height: 48px; border-radius: 10px; object-fit: contain; background: #fff; padding: 3px; }
.footer-brand .name { font-size: 20px; font-weight: 800; color: #fff; }
.footer-about { margin-top: 16px; font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-col h4 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255, 255, 255, 0.74); margin-bottom: 11px; display: block; }
.footer-col a:hover { color: var(--color-gold); }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-gold); margin-top: 3px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.8;
}
.footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-icp a:hover { color: var(--color-gold); }
.footer-sep { margin: 0 10px; color: rgba(255, 255, 255, 0.3); }

/* ===================== 滚动淡入动画 ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   单文件分区切换（page-section） + 4 字不折列增强
   ============================================================ */
.page-section { display: none; }
.page-section.is-active { display: block; }

/* 顶部栏：强制单行不折列（尤其 4 字菜单项 / 品牌 / CTA） */
.nav-menu { gap: 4px; }
.nav-menu a { font-size: 14px; padding: 8px 10px; white-space: nowrap; }
.nav-cta { font-size: 14px; padding: 11px 20px; white-space: nowrap; }
.brand-name { white-space: nowrap; }
.drawer-menu a { white-space: nowrap; }

/* ===================== 响应式：平板 ===================== */
@media (max-width: 1024px) {
  .course-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .why-banner { grid-template-columns: 1fr; }
  .why-banner .img-wrap { min-height: 220px; }
  .two-col, .two-col.reverse,
  .detail-card,
  .contact-grid { grid-template-columns: 1fr; }
  .two-col .img-wrap, .detail-card .img-wrap { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ===================== 响应式：手机 ===================== */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 86vh; }
  .hero-slide img { background-attachment: scroll; }
  .hero-trust { gap: 18px; }
  .trust-num { font-size: 24px; }

  .course-grid,
  .why-grid,
  .teacher-grid,
  .plan-grid,
  .review-grid,
  .campus-grid,
  .feature-grid,
  .stat-grid,
  .step-list { grid-template-columns: 1fr; }

  .result-grid { grid-template-columns: 1fr; }
  .bootcamp { grid-template-columns: 1fr; }
  .bootcamp .img-wrap { min-height: 240px; }
  .compare { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .join-block { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
}
  

/* ============================================================
   指路学苑官网 · 前台样式补充（去水印 · 占位框 · 响应式增强）
   ============================================================ */
.img-wrap{position:relative;overflow:hidden;}
.img-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:200px;background:#EEF1F4;background-image:linear-gradient(135deg,#E7EAEE 25%,#F5F7F9 25%,#F5F7F9 50%,#E7EAEE 50%,#E7EAEE 75%,#F5F7F9 75%,#F5F7F9);background-size:22px 22px;}
.img-wrap .img-placeholder{position:absolute;inset:0;}
.hero-slide .img-placeholder{min-height:520px;}
.qr-img .img-placeholder{border-radius:10px;}
@media (max-width:768px){.hero-slide .img-placeholder{min-height:380px;}}
@media (max-width:420px){.hero-slide .img-placeholder{min-height:300px;}}
