/* ==========================================================================
   飞来教育 · 无人机维修培训官网
   设计系统 —— 令牌 / 组件 / 布局
   移动端优先 · App 组件化
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* ---- 品牌色阶（主色：科技蓝）---- */
  --c-blue-50:  #EFF6FE;
  --c-blue-100: #DCEBFC;
  --c-blue-200: #B5D4F4;
  --c-blue-300: #85B7EB;
  --c-blue-400: #4E90DE;
  --c-blue-500: #185FA5;
  --c-blue-600: #0C447C;
  --c-blue-700: #042C53;

  /* ---- 强调色（用于区分模块、制造层次）---- */
  --c-cyan:     #0E7490;
  --c-cyan-bg:  #E0F2FE;
  --c-teal:     #0F766E;
  --c-teal-bg:  #CCFBF1;
  --c-violet:   #6D28D9;
  --c-violet-bg:#EDE9FE;
  --c-amber:    #B45309;
  --c-amber-bg: #FEF3C7;
  --c-rose:     #BE123C;
  --c-rose-bg:  #FFE4E6;
  --c-green:    #15803D;
  --c-green-bg: #DCFCE7;

  /* ---- 中性色 ---- */
  --c-ink:      #111827;   /* 标题 */
  --c-body:     #374151;   /* 正文 */
  --c-muted:    #6B7280;   /* 辅助 */
  --c-faint:    #9CA3AF;   /* 占位 */
  --c-line:     #E5E7EB;   /* 分割线 */
  --c-line-2:   #D1D5DB;
  --c-canvas:   #F1F3F6;   /* 页面底 */
  --c-card:     #FFFFFF;
  --c-hero-bg:  #0A2540;   /* 首屏深底 */

  /* ---- 语义 ---- */
  --c-success:  #15803D;
  --c-success-bg:#DCFCE7;
  --c-error:    #DC2626;
  --c-error-bg: #FEE2E2;

  /* ---- 字体 ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Helvetica Neue",
               Arial, sans-serif;
  --font-num:  "SF Pro Display", -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;

  /* 字号阶梯（移动端）—— 整体上调，正文 17px */
  --fs-display: 38px;  /* 首屏主标题 */
  --fs-h1:      30px;
  --fs-h2:      24px;
  --fs-h3:      19px;
  --fs-h4:      17px;
  --fs-body:    17px;
  --fs-sm:      15px;
  --fs-xs:      13px;
  --fs-2xs:     12px;

  /* 字重（中文需要 600 才够明显） */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  --lh-tight: 1.24;
  --lh-snug:  1.42;
  --lh-body:  1.72;

  /* ---- 间距 ---- */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-7: 28px;  --sp-8: 32px;
  --sp-10: 40px; --sp-12: 48px; --sp-14: 56px; --sp-16: 64px;

  /* ---- 圆角 ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 26px;
  --r-pill: 999px;

  /* ---- 阴影（App 卡片必须有明确的浮起感）---- */
  --sh-xs: 0 1px 2px rgba(17, 24, 39, .05);
  --sh-sm: 0 2px 6px rgba(17, 24, 39, .06);
  --sh-md: 0 4px 14px rgba(17, 24, 39, .08);
  --sh-lg: 0 12px 32px rgba(17, 24, 39, .12);
  --sh-blue: 0 8px 24px rgba(24, 95, 165, .28);
  --sh-bar:  0 -2px 16px rgba(17, 24, 39, .07);

  /* ---- 动效 ---- */
  --t-fast:   150ms cubic-bezier(.4, 0, .2, 1);
  --t-base:   240ms cubic-bezier(.4, 0, .2, 1);
  --t-sheet:  300ms cubic-bezier(.32, .72, 0, 1);

  /* ---- 布局 ---- */
  --container: 1120px;
  --gutter: 18px;
  --nav-h: 60px;
  --tabbar-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* 平板 / 桌面字号微调 */
@media (min-width: 640px) {
  :root {
    --gutter: 24px;
    --fs-display: 44px;
    --fs-h1: 34px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-body: 17px;
  }
}
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --fs-display: 54px;
    --fs-h1: 40px;
    --fs-h2: 30px;
    --fs-h3: 21px;
    --fs-body: 17px;
    --fs-sm: 15px;
  }
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  scroll-padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--c-body);
  background: var(--c-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
a { color: var(--c-blue-500); text-decoration: none; }
strong, b { font-weight: var(--fw-semi); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-blue-400);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   3. 基础组件：按钮 / 徽标 / 图标块
   -------------------------------------------------------------------------- */

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast), background-color var(--t-fast),
              box-shadow var(--t-fast), opacity var(--t-fast);
}
.btn:active { transform: scale(.965); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn--primary {
  background: var(--c-blue-500);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn--primary:active { background: var(--c-blue-600); box-shadow: 0 4px 12px rgba(24, 95, 165, .3); }

.btn--accent {
  background: linear-gradient(135deg, #185FA5, #0E7490);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.btn--ghost {
  background: #fff;
  color: var(--c-blue-500);
  border: 2px solid var(--c-blue-200);
  box-shadow: var(--sh-xs);
}
.btn--ghost:active { background: var(--c-blue-50); border-color: var(--c-blue-300); }

.btn--soft {
  background: var(--c-blue-50);
  color: var(--c-blue-600);
}

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: var(--fs-sm); border-radius: var(--r-sm); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: var(--fs-h3); border-radius: var(--r-lg); }

.icon { width: 21px; height: 21px; flex: none; }
.icon--sm { width: 17px; height: 17px; }
.icon--lg { width: 26px; height: 26px; }

/* ---- 徽标 / 标签 ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge--solid { background: var(--c-blue-500); color: #fff; }
.badge--green { background: var(--c-green-bg); color: var(--c-green); }
.badge--amber { background: var(--c-amber-bg); color: var(--c-amber); }
.badge--glass {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- 图标块（彩色磁贴）---- */
.tile {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--c-blue-50);
  color: var(--c-blue-500);
}
.tile--cyan    { background: var(--c-cyan-bg);    color: var(--c-cyan); }
.tile--teal    { background: var(--c-teal-bg);    color: var(--c-teal); }
.tile--violet  { background: var(--c-violet-bg);  color: var(--c-violet); }
.tile--amber   { background: var(--c-amber-bg);   color: var(--c-amber); }
.tile--rose    { background: var(--c-rose-bg);    color: var(--c-rose); }
.tile--green   { background: var(--c-green-bg);   color: var(--c-green); }
.tile--solid   { background: var(--c-blue-500);   color: #fff; }

/* ---- 卡片 ---- */
.card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

/* ---- 区块标题 ---- */
.sec-head { margin-bottom: var(--sp-5); }
.sec-head__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}
.sec-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -.015em;
  color: var(--c-ink);
}
.sec-head h2::before {
  content: "";
  width: 4px; height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue-600));
  flex: none;
}
.sec-head__sub {
  margin-top: 4px;
  margin-left: 14px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.sec-head__more {
  margin-left: 14px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  flex: none;
}

.section { padding-block: var(--sp-12); }
.section--tight { padding-block: var(--sp-10); }

/* 交替色带：打破整页同色，制造区块节奏 */
.section--alt {
  background: linear-gradient(180deg, #E9EEF5 0%, #EDF1F7 100%);
}

/* --------------------------------------------------------------------------
   4. 吸顶导航
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height var(--t-base), background-color var(--t-base),
              border-color var(--t-base), box-shadow var(--t-base);
}
.nav.is-scrolled {
  height: 54px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 8px rgba(17, 24, 39, .05);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  min-height: 44px;
  color: #fff;
  transition: color var(--t-base);
}
.nav.is-scrolled .nav__brand { color: var(--c-ink); }
.nav__logo { width: 30px; height: 30px; flex: none; }
.nav__name {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav__sub {
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
  padding-left: 9px;
  margin-left: 1px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  transition: color var(--t-base), border-color var(--t-base);
}
.nav.is-scrolled .nav__sub { color: var(--c-muted); border-left-color: var(--c-line-2); }

.nav__links { display: none; margin-left: auto; gap: var(--sp-6); }
.nav__links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, .84);
  transition: color var(--t-fast);
}
.nav.is-scrolled .nav__links a { color: var(--c-body); }
.nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a:hover { color: var(--c-blue-500); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}
/* 滚动收缩时不改 margin-left —— 否则会覆盖 auto 使图标组脱离右边缘 */

.nav__icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav.is-scrolled .nav__icon-btn {
  color: var(--c-body);
  background: var(--c-canvas);
}
.nav__icon-btn:active { background: rgba(255, 255, 255, .26); }
.nav.is-scrolled .nav__icon-btn:active { background: var(--c-blue-50); color: var(--c-blue-500); }
.nav__icon-btn--wechat { color: #4ADE80; }
.nav.is-scrolled .nav__icon-btn--wechat { color: #16A34A; }

/* --------------------------------------------------------------------------
   5. 首屏 Hero —— 全幅实拍背景 + 深色渐变压暗
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + var(--sp-10));
  padding-bottom: var(--sp-8);
  background: var(--c-hero-bg);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  opacity: .92;
}.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 37, 64, .72) 0%, rgba(10, 37, 64, .22) 26%, rgba(10, 37, 64, .45) 55%, rgba(10, 37, 64, .93) 88%, rgba(10, 37, 64, .98) 100%),
    linear-gradient(105deg, rgba(10, 37, 64, .8) 0%, rgba(10, 37, 64, .3) 46%, rgba(10, 37, 64, 0) 72%);
}

.hero__inner { position: relative; width: 100%; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
}

.hero__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #7DD3FC, #A5B4FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  margin-top: var(--sp-4);
  max-width: 26em;
  font-size: var(--fs-h4);
  font-weight: var(--fw-regular);
  line-height: 1.68;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}
.hero__desc b { color: #fff; font-weight: var(--fw-bold); }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.hero__actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}
.hero__actions .btn { flex: 1; }
.hero__actions .btn--primary {
  background: #fff;
  color: var(--c-blue-600);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.hero__actions .btn--primary:active { background: var(--c-blue-50); }
.hero__actions .btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero__actions .btn--ghost:active { background: rgba(255, 255, 255, .24); }

.hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin-top: var(--sp-8);
  color: rgba(255, 255, 255, .68);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: .05em;
  -webkit-tap-highlight-color: transparent;
}
.hero__scroll svg { animation: scrollBounce 1.9s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* 首屏速览卡（浮在背景上的玻璃卡）*/
.hero__panel {
  margin-top: var(--sp-8);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: var(--sp-5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}
.hero__panel h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__panel h3::before {
  content: "";
  width: 3px; height: 16px;
  border-radius: 2px;
  background: #7DD3FC;
}
.hero__panel ul { margin-top: var(--sp-4); display: grid; gap: 11px; }
.hero__panel li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
}
.hero__panel li svg { margin-top: 4px; flex: none; color: #4ADE80; }
.hero__panel-foot {
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .68);
}

/* --------------------------------------------------------------------------
   6. 数据条 —— App 风格指标卡
   -------------------------------------------------------------------------- */
.stats { padding-block: var(--sp-8); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.stats__item {
  position: relative;
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-5);
  overflow: hidden;
}
.stats__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-blue-500);
}
.stats__item:nth-child(2)::before { background: var(--c-cyan); }
.stats__item:nth-child(3)::before { background: var(--c-teal); }
.stats__item:nth-child(4)::before { background: var(--c-violet); }

/* 数值 + 图标同行，避免数字孤立显得空 */
.stats__top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stats__ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--c-blue-50);
  color: var(--c-blue-500);
}
.stats__item:nth-child(2) .stats__ico { background: var(--c-cyan-bg);   color: var(--c-cyan); }
.stats__item:nth-child(3) .stats__ico { background: var(--c-teal-bg);   color: var(--c-teal); }
.stats__item:nth-child(4) .stats__ico { background: var(--c-violet-bg); color: var(--c-violet); }

.stats__num {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: var(--fw-bold);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--c-ink);
}
.stats__num sup { font-size: 15px; font-weight: var(--fw-semi); top: -.7em; }
.stats__label {
  margin-top: 5px;
  padding-left: 43px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
}
.stats__note {
  margin-top: var(--sp-4);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-faint);
}

/* --------------------------------------------------------------------------
   7. 课程体系 —— App 分组列表
   -------------------------------------------------------------------------- */
.courses {
  display: grid;
  gap: var(--sp-3);
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.course { position: relative; }
.course + .course::before {
  content: "";
  position: absolute;
  left: var(--sp-4); right: 0; top: 0;
  height: 1px;
  background: var(--c-line);
}

/* h3 包裹 button，用于 SEO 标题层级 */
.course__h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.course__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-4);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast);
}
.course__head:active { background: var(--c-blue-50); }

.course__idx {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  font-family: var(--font-num);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
}
.course:nth-child(2) .course__idx { background: var(--c-cyan-bg);    color: var(--c-cyan); }
.course:nth-child(3) .course__idx { background: var(--c-teal-bg);    color: var(--c-teal); }
.course:nth-child(4) .course__idx { background: var(--c-amber-bg);   color: var(--c-amber); }
.course:nth-child(5) .course__idx { background: var(--c-violet-bg);  color: var(--c-violet); }

.course__body { flex: 1; min-width: 0; }
.course__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--c-ink);
}
.course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.course__meta span {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
  background: var(--c-canvas);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.course__chev {
  flex: none;
  color: var(--c-faint);
  transition: transform var(--t-base);
}
.course.is-open .course__chev { transform: rotate(180deg); }

.course__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base);
}
.course.is-open .course__panel { grid-template-rows: 1fr; }
.course__panel > div { overflow: hidden; }
.course__content {
  margin: 0 var(--sp-4) var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-blue-50);
}
.course__content p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--c-body);
}
.course__points {
  margin-top: var(--sp-3);
  display: grid;
  gap: 9px;
}
.course__points li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--c-body);
}
.course__points li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue-400);
}
.course__out {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed rgba(24, 95, 165, .22);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-blue-600);
}

/* --------------------------------------------------------------------------
   8. 培训实况
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: var(--sp-2);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  scroll-snap-align: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--c-card);
}
.gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.gallery__cap {
  padding: var(--sp-4);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
}
.gallery__cap span {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--c-muted);
  line-height: 1.55;
}
.gallery__hint {
  margin-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cert {
  margin-top: var(--sp-6);
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
}
.cert img {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 640 / 460;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}
.cert__body { min-width: 0; }
.cert__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
}
.cert__desc {
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
}
.cert__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--sp-3);
  height: 28px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  background: var(--c-green-bg);
  color: var(--c-green);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
}

/* --------------------------------------------------------------------------
   9. 学员评价 —— App 评价卡
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: var(--sp-3); }
.review {
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: var(--sp-5);
}
.review__top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.review__avatar {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
}
.review:nth-child(2) .review__avatar { background: var(--c-cyan-bg);   color: var(--c-cyan); }
.review:nth-child(3) .review__avatar { background: var(--c-teal-bg);   color: var(--c-teal); }
.review:nth-child(4) .review__avatar { background: var(--c-amber-bg);  color: var(--c-amber); }
.review__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--c-ink); }
.review__model { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 1px; }
.review__stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
  color: #F59E0B;
}
.review__text {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-body);
}
.review__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: var(--sp-4);
}
.review__tags span {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  color: var(--c-green);
  background: var(--c-green-bg);
  border-radius: 6px;
  padding: 3px 9px;
}

/* --------------------------------------------------------------------------
   10. 常见问答 —— App 手风琴分组列表
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0;
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.faq__lead {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
  letter-spacing: -.005em;
}
.faq__item { position: relative; }
.faq__item + .faq__item::before {
  content: "";
  position: absolute;
  left: var(--sp-5); right: 0; top: 0;
  height: 1px;
  background: var(--c-line);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--c-ink);
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast);
}
.faq__q:active { background: var(--c-blue-50); }
.faq__mark {
  width: 22px; height: 22px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-blue-500);
  color: #fff;
  font-size: 11px;
  font-weight: var(--fw-bold);
  line-height: 1;
}
.faq__text { flex: 1; min-width: 0; }
.faq__chev {
  flex: none;
  color: var(--c-faint);
  transition: transform var(--t-base);
}
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__item.is-open .faq__q { color: var(--c-blue-600); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__a {
  padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + 24px + var(--sp-3));
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-body);
}

.faq__foot {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-blue-50);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.faq__foot p {
  flex: 1;
  min-width: 150px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-blue-700);
}

/* --------------------------------------------------------------------------
   11. 联系方式
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: var(--sp-5); }


/* ---- 校区分布 ---- */
.campus {
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: var(--sp-5);
}
.campus__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.campus__ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--c-cyan-bg);
  color: var(--c-cyan);
}
.campus__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
}
.campus__desc {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: var(--c-body);
}
.campus__desc b { color: var(--c-ink); }
.campus__list {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.campus__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  color: var(--c-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.campus__tag--main {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
  font-weight: var(--fw-semi);
  box-shadow: 0 2px 8px rgba(24, 95, 165, .24);
}
.campus__tag--main .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* 可点击跳转的城市标签 */
.campus__tag--link {
  text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), transform var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.campus__tag--link:active {
  background: var(--c-blue-50);
  border-color: var(--c-blue-300);
  color: var(--c-blue-600);
  transform: scale(.96);
}
@media (hover: hover) {
  .campus__tag--link:hover {
    background: var(--c-blue-50);
    border-color: var(--c-blue-300);
    color: var(--c-blue-600);
  }
}
.campus__foot {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--c-muted);
}
.campus__foot a { color: var(--c-blue-500); font-weight: var(--fw-semi); }

/* --------------------------------------------------------------------------
   12. 页脚
   -------------------------------------------------------------------------- */
.footer {
  padding-block: var(--sp-10) var(--sp-8);
  background: var(--c-hero-bg);
  color: rgba(255, 255, 255, .74);
  margin-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: #fff;
}
.footer__slogan {
  margin-top: 8px;
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, .88);
  letter-spacing: .01em;
}
.footer__contact {
  margin-top: var(--sp-5);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-num);
  letter-spacing: .01em;
  transition: color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.footer__link:hover { color: #fff; }
.footer__link svg { color: #7DD3FC; }

/* ---- 页脚：就业 / 创业方向 ---- */
.footer__career { margin-top: var(--sp-7); }
.footer__career-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: #fff;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__career-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}
.footer__career-list {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
}
.footer__career-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
}
.footer__career-item::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: #7DD3FC;
  opacity: .8;
}
.footer__career-item b {
  color: rgba(255, 255, 255, .92);
  font-weight: var(--fw-semi);
}
.footer__copy {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .45);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   13. 吸底操作栏
   -------------------------------------------------------------------------- */
.tabbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--c-line);
  box-shadow: var(--sh-bar);
}
.tabbar__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: var(--gutter);
}
.tabbar .btn {
  flex: 1;
  min-height: 46px;
  padding: 0 12px;
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  border-radius: 11px;
  letter-spacing: .01em;
}
.tabbar .icon { width: 19px; height: 19px; }

/* 微信：绿色实心浅底 */
.tabbar__btn--wechat {
  background: #E9F9EF;
  color: #128C4A;
  box-shadow: inset 0 0 0 1.5px #A7E8C4;
}
.tabbar__btn--wechat:active { background: #D6F4E2; }

/* 拨号：蓝色实心 */
.tabbar__btn--tel {
  background: var(--c-blue-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(24, 95, 165, .3);
}
.tabbar__btn--tel:active { background: var(--c-blue-600); }

/* --------------------------------------------------------------------------
   14. 微信底部弹层
   -------------------------------------------------------------------------- */
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 20, 33, .58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.sheet-mask.is-open { opacity: 1; visibility: visible; }

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 91;
  background: var(--c-card);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: var(--sp-3) var(--sp-5) calc(var(--sp-6) + var(--safe-b));
  transform: translateY(100%);
  visibility: hidden;
  transition: transform var(--t-sheet), visibility var(--t-sheet);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 -12px 48px rgba(9, 20, 33, .3);
}
.sheet.is-open { transform: translateY(0); visibility: visible; }

.sheet__grip {
  width: 40px; height: 4px;
  margin: 0 auto var(--sp-4);
  border-radius: 2px;
  background: var(--c-line-2);
}
.sheet__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  text-align: center;
}
.sheet__desc {
  margin-top: 5px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  text-align: center;
}
.sheet__body {
  margin-top: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.sheet__qr {
  width: 140px;
  height: 140px;
  flex: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.sheet__qr img { width: 100%; height: 100%; object-fit: contain; }
.sheet__info { flex: 1; min-width: 0; }
.sheet__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
}
.sheet__id {
  margin-top: 3px;
  font-family: var(--font-num);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  word-break: break-all;
  color: var(--c-ink);
}
.sheet__tip {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.7;
}
.sheet__actions { margin-top: var(--sp-5); display: grid; gap: var(--sp-2); }
.sheet__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--c-muted);
}
.sheet__close:active { background: var(--c-canvas); }

/* --------------------------------------------------------------------------
   15. Toast + 返回顶部
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px);
  z-index: 95;
  transform: translate(-50%, 12px);
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(17, 24, 39, .94);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  pointer-events: none;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px);
  z-index: 65;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-card);
  color: var(--c-blue-500);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.to-top .icon { width: 17px; height: 17px; }
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:active { background: var(--c-blue-50); }

/* --------------------------------------------------------------------------
   17. 滚动入场动画
   -------------------------------------------------------------------------- */

/* 元素进入视口时淡入上移。JS 加 .is-in 才触发 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
              transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 错峰延迟：同一区块内的兄弟元素依次入场 */
.reveal[data-d="1"] { transition-delay: .06s; }
.reveal[data-d="2"] { transition-delay: .12s; }
.reveal[data-d="3"] { transition-delay: .18s; }
.reveal[data-d="4"] { transition-delay: .24s; }
.reveal[data-d="5"] { transition-delay: .30s; }
.reveal[data-d="6"] { transition-delay: .36s; }
.reveal[data-d="7"] { transition-delay: .42s; }

/* 首屏关键元素：载入即播，不等滚动 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow { animation: fadeUp .6s cubic-bezier(.22,.61,.36,1) .05s both; }
.hero__title  { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) .14s both; }
.hero__desc   { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) .24s both; }
.hero__tags   { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) .34s both; }
.hero__actions{ animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) .44s both; }
.hero__scroll { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) .54s both; }

/* 数字滚动：JS 触发 */
@keyframes countUp { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.stats__item.is-in .stats__num { animation: countUp .55s cubic-bezier(.22,.61,.36,1) both; }

/* 校区标签：逐个弹入 */
@keyframes tagPop {
  0%   { opacity: 0; transform: scale(.86); }
  60%  { transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.campus.is-in .campus__tag { animation: tagPop .42s cubic-bezier(.34, 1.4, .64, 1) both; }
.campus.is-in .campus__tag:nth-child(1) { animation-delay: .08s; }
.campus.is-in .campus__tag:nth-child(2) { animation-delay: .13s; }
.campus.is-in .campus__tag:nth-child(3) { animation-delay: .18s; }
.campus.is-in .campus__tag:nth-child(4) { animation-delay: .23s; }
.campus.is-in .campus__tag:nth-child(5) { animation-delay: .28s; }
.campus.is-in .campus__tag:nth-child(6) { animation-delay: .33s; }
.campus.is-in .campus__tag:nth-child(7) { animation-delay: .38s; }
.campus.is-in .campus__tag:nth-child(8) { animation-delay: .43s; }
.campus.is-in .campus__tag:nth-child(9) { animation-delay: .48s; }
.campus.is-in .campus__tag:nth-child(10){ animation-delay: .53s; }
.campus.is-in .campus__tag:nth-child(11){ animation-delay: .58s; }
.campus.is-in .campus__tag:nth-child(12){ animation-delay: .63s; }
.campus.is-in .campus__tag:nth-child(13){ animation-delay: .68s; }

/* 图片加载完成后的轻微缩放回位 */
@keyframes imgIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.gallery__item img { animation: imgIn .7s cubic-bezier(.22,.61,.36,1) both; }

/* 滚动进度条（顶部） */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 80;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-blue-400), var(--c-cyan));
  transition: width .1s linear;
}

/* 卡片悬停浮起（桌面端） */
@media (hover: hover) and (min-width: 1024px) {
  .course:hover,
  .review:hover,
  .faq__item:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
    transition: box-shadow var(--t-base), transform var(--t-base);
  }
  .campus:hover { box-shadow: var(--sh-md); }
}

/* 无障碍：关闭所有动效 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow, .hero__title, .hero__desc, .hero__tags,
  .hero__actions, .hero__scroll { animation: none; }
  .campus.is-in .campus__tag,
  .stats__item.is-in .stats__num,
  .gallery__item img { animation: none; }
  .progress { display: none; }
}

/* --------------------------------------------------------------------------
   18. 响应式
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-auto-columns: 47%; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { max-width: 210px; }

  /* 平板：校区分布全宽 */
  .contact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "side";
  }
  .campus { grid-area: side; }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }

  /* 区块标题：桌面端右侧描述回到同一行 */
  .sec-head__row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-3);
  }
  .sec-head h2 { font-size: 24px; }
  .sec-head h2::before { height: 24px; }
  .sec-head__more { margin-left: 0; font-size: var(--fs-sm); }
  .sec-head__sub { margin-top: 6px; }

  .hero { min-height: 84vh; align-items: center; padding-top: var(--nav-h); padding-bottom: var(--sp-12); }
  .hero__bg { object-position: center 38%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(10, 37, 64, .6) 0%, rgba(10, 37, 64, .18) 42%, rgba(10, 37, 64, .7) 100%),
      linear-gradient(95deg, rgba(10, 37, 64, .88) 0%, rgba(10, 37, 64, .4) 48%, rgba(10, 37, 64, .05) 78%);
  }
  .hero__inner {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: var(--sp-12);
    align-items: center;
  }
  .hero__actions .btn { max-width: 190px; }
  .hero__scroll { display: none; }
  .hero__panel { margin-top: 0; padding: var(--sp-6); }

  .gallery { grid-auto-columns: 32%; margin-inline: 0; padding-inline: 0; }
  /* 联系区：校区分布全宽 */
  .contact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "side";
    gap: var(--sp-5);
    align-items: start;
  }
  .campus { grid-area: side; }

  .stats__item { padding: var(--sp-5); }

  /* 证书：桌面端左右并排 */
  .cert {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-6);
    padding: var(--sp-6);
  }
  .cert img { width: 300px; max-width: none; }
  .cert__body { flex: 1; }

  /* 吸底栏 → 桌面端完全隐藏（转化条内已提供电话/微信双按钮） */
  .tabbar { display: none; }
  .footer { margin-bottom: 0; padding-bottom: var(--sp-10); }
  .to-top { bottom: 24px; }
  .toast { bottom: 24px; }
  .sheet {
    inset: auto 0 0 auto;
    width: 440px;
    border-radius: var(--r-2xl) 0 0 0;
    padding-bottom: var(--sp-6);
  }
}
