/* ==========================================================================
   银河系3D · Alaxy 品牌官网样式
   品牌主色取自 logo：#6FADBA
   ========================================================================== */

:root {
  /* —— 品牌色 —— */
  --brand:        #6FADBA;
  --brand-600:    #5A9BAA;
  --brand-700:    #417D8E;
  --brand-800:    #2E6373;
  --brand-900:    #1E4A57;
  --brand-200:    #BFDCE3;
  --brand-100:    #DDEBF0;
  --brand-50:     #F0F7F9;

  /* —— 深色底 —— */
  --ink-900:      #12303A;
  --ink-800:      #1B3E4A;
  --ink-700:      #2B5460;
  --ink-500:      #5C7C86;
  --ink-400:      #7E99A2;
  --ink-300:      #A9BEC5;

  /* —— 中性 —— */
  --paper:        #FFFFFF;
  --paper-2:      #F7FBFC;
  --line:         #E2EDF0;

  /* —— 点缀色（仅用于竞赛/成果标识）—— */
  --gold:         #E0A73C;
  --gold-soft:    #FDF4E2;

  /* —— 星空元素 —— */
  --star-light:   #7FB9C6;   /* 浅色底上的星点 */
  --star-dark:    #FFFFFF;   /* 深色底上的星点 */

  /* —— 排版 —— */
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
          -apple-system, "Segoe UI", "Noto Sans SC", Roboto, sans-serif;
  --font-num: "SF Mono", "Cascadia Mono", Consolas, "Segoe UI Mono", ui-monospace, monospace;

  /* —— 尺寸 —— */
  --nav-h: 72px;
  --wrap: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* —— 阴影 —— */
  --sh-1: 0 2px 8px rgba(30, 74, 87, .05); 
  --sh-2: 0 10px 30px -12px rgba(30, 74, 87, .18);
  --sh-3: 0 24px 60px -22px rgba(30, 74, 87, .30);
  --sh-brand: 0 14px 34px -14px rgba(65, 125, 142, .55);
}

/* ==========================  基础重置  ========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ==========================  布局工具  ========================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* 跳转到主要内容的无障碍链接 */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 20px; background: var(--brand-800); color: #fff;
  border-radius: 0 0 10px 0; font-size: 14px; font-weight: 600;
}
.skip:focus { left: 0; }

/* 未启用 JS 时隐藏由脚本填充的容器在下方 .no-js 规则中处理 */
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--alt { background: var(--paper-2); }
.section--divided { border-top: 1px solid var(--line); }
.section--brand {
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(111,173,186,.16), transparent 62%),
    radial-gradient(900px 460px at 96% 108%, rgba(111,173,186,.13), transparent 60%),
    var(--paper-2);
}

/* 标题组 */
.head { max-width: 720px; margin-bottom: 46px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--brand-700); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-200));
}
.head--center .eyebrow::before { display: none; }
.head h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--ink-900); }
.head .sub { margin-top: 14px; font-size: 16.5px; color: var(--ink-500); line-height: 1.85; }

/* ==========================  按钮  ========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, background-color .22s, border-color .22s, color .22s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff; box-shadow: var(--sh-brand);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(65,125,142,.7); }
.btn--ghost { border-color: var(--brand-200); color: var(--brand-800); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); color: #fff; backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ==========================  顶部导航  ========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(30,74,87,.4); }
.nav__inner { display: flex; align-items: center; gap: 26px; height: 100%; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__cn { font-size: 17px; font-weight: 800; color: var(--ink-900); letter-spacing: .02em; }
.brand__en { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; color: var(--brand-600); text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 9px 13px; border-radius: 9px; font-size: 15px; font-weight: 500;
  color: var(--ink-700); transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav__cta .btn { padding: 11px 20px; font-size: 14.5px; }

.nav__burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--ink-800); transition: transform .28s, opacity .2s, top .28s;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ==========================  Hero  ========================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 74px) 0 96px;
  background:
    radial-gradient(1000px 560px at 76% 8%, rgba(111,173,186,.22), transparent 60%),
    radial-gradient(760px 520px at 4% 92%, rgba(191,220,227,.42), transparent 64%),
    linear-gradient(178deg, #F4FAFB 0%, #FFFFFF 62%);
}
/* 背景的月牙与星芒，呼应 logo */
.hero__moon {
  position: absolute; top: 50%; right: -110px; transform: translateY(-50%);
  width: 620px; height: 620px; opacity: .5; pointer-events: none;
  animation: floaty 14s ease-in-out infinite;
}
.hero__spark { position: absolute; color: var(--brand-200); animation: twinkle 4.5s ease-in-out infinite; pointer-events: none; }
.hero__spark--a { top: 16%; right: 30%; width: 26px; }
.hero__spark--b { bottom: 22%; right: 12%; width: 18px; animation-delay: 1.4s; }
.hero__spark--c { top: 30%; left: 4%; width: 20px; animation-delay: 2.6s; }

/* 流星：每 9 秒划过一次，只做视觉点缀 */
.hero__shoot {
  position: absolute; top: 16%; left: 6%;
  width: 130px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(111,173,186,0), rgba(111,173,186,.85));
  transform: rotate(18deg); opacity: 0;
  animation: shoot 9s ease-in 2.5s infinite;
  pointer-events: none;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0) rotate(18deg) scaleX(.3); }
  4%   { opacity: .9; }
  14%  { opacity: 0; transform: translate(440px, 145px) rotate(18deg) scaleX(1); }
  100% { opacity: 0; transform: translate(440px, 145px) rotate(18deg) scaleX(1); }
}

/* ==========================  星空元素  ==========================
   参考自另一版设计稿的做法：JS 生成随机星点 + twinkle 动画。
   深色底用白点、浅色底用淡青点，星点层级始终在内容之下。
   ============================================================== */
.starfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.starfield--light, .starfield--dark { display: block; }
.star {
  position: absolute; display: block; border-radius: 50%;
  background: var(--star-dark);
  animation: twinkle 3.6s ease-in-out infinite;
}
.starfield--light .star { background: var(--star-light); }
@keyframes twinkle {
  0%, 100% { opacity: .18; transform: scale(.85); }
  50%      { opacity: .92; transform: scale(1.12); }
}

/* 深色区块里，内容要压在星点之上 */
.valuebar, .cta, .footer, .races, .contact__card { position: relative; }
.valuebar .wrap, .cta__inner, .footer > .wrap, .races > *:not(.starfield),
.contact__card > *:not(.starfield) { position: relative; z-index: 1; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-100);
  box-shadow: var(--sh-1);
  font-size: 13.5px; font-weight: 600; color: var(--brand-800);
  margin-bottom: 24px;
}
.hero__badge b { background: var(--brand-50); color: var(--brand-700); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }
.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px); line-height: 1.18; color: var(--ink-900);
  letter-spacing: -.02em; font-weight: 800;
}
.hero h1 .hl {
  position: relative; color: var(--brand-800);
}
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .32em; z-index: -1;
  background: linear-gradient(90deg, rgba(111,173,186,.30), rgba(191,220,227,.55));
  border-radius: 4px;
}
.hero__lead {
  margin-top: 22px; font-size: 17.5px; line-height: 1.9; color: var(--ink-500); max-width: 33em;
}
.hero__lead strong { color: var(--brand-800); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--ink-400); display: flex; align-items: center; gap: 7px; }
.hero__note svg { flex: 0 0 auto; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 46px; padding-top: 30px; border-top: 1px dashed var(--brand-100);
}
.stat__num {
  font-family: var(--font-num); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700;
  color: var(--brand-800); line-height: 1.1; letter-spacing: -.02em;
}
.stat__num small { font-size: .5em; font-weight: 600; margin-left: 2px; color: var(--brand-600); }
.stat__label { font-size: 13px; color: var(--ink-400); margin-top: 6px; }

/* Hero 右侧卡片 */
.hero__visual { position: relative; }
.hero__card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.86);
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-3);
  backdrop-filter: blur(12px);
  padding: 30px 28px 26px;
}
.hero__cardhead { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero__cardhead img { width: 62px; height: 62px; }
.hero__cardhead .t1 { font-size: 19px; font-weight: 800; color: var(--ink-900); }
.hero__cardhead .t2 { font-size: 12.5px; letter-spacing: .2em; color: var(--brand-600); font-weight: 600; }
.hero__track { margin-top: 20px; display: grid; gap: 11px; }
.hero__track li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  font-size: 14.5px; color: var(--ink-800); font-weight: 500;
}
.hero__track li i {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px; font-style: normal;
  background: #fff; box-shadow: var(--sh-1);
}
.hero__track li em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--brand-700); font-weight: 600; }
.hero__cardfoot {
  margin-top: 20px; font-size: 13px; color: var(--ink-400); text-align: center;
  padding-top: 16px; border-top: 1px dashed var(--line);
}

/* ==========================  价值点横条  ========================== */
.valuebar { background: var(--ink-900); color: #fff; padding: 26px 0; }
.valuebar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.valuebar__item { display: flex; align-items: flex-start; gap: 13px; }
.valuebar__icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(111,173,186,.18); border: 1px solid rgba(111,173,186,.3);
}
.valuebar__t { font-size: 15.5px; font-weight: 700; }
.valuebar__d { font-size: 13.5px; color: rgba(255,255,255,.62); line-height: 1.6; margin-top: 3px; }

/* ==========================  课程卡片  ========================== */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--sh-1);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.course::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-200));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.course:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.course:hover::before { transform: scaleX(1); }
.course__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 26px; background: var(--brand-50); border: 1px solid var(--brand-100);
  margin-bottom: 18px;
}
.course__title { font-size: 18px; color: var(--ink-900); }
.course__en { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-300); font-weight: 600; margin-top: 3px; text-transform: uppercase; }
.course__desc { margin-top: 14px; font-size: 14.5px; color: var(--ink-500); line-height: 1.8; flex: 1; }
.course__meta { margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.course__meta div { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-500); }
.course__meta div b { color: var(--ink-700); font-weight: 600; flex: 0 0 auto; }
.course__meta .tag {
  display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600;
  background: var(--brand-50); color: var(--brand-700);
}
.course__meta .tag--gold { background: var(--gold-soft); color: #9A6E14; }

/* ==========================  学习路径  ========================== */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.path::before {
  content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.stage {
  position: relative; z-index: 1; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 18px 24px; box-shadow: var(--sh-1);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.stage:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.stage__dot {
  width: 68px; height: 68px; margin: -34px auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px;
  background: linear-gradient(150deg, #fff, var(--brand-50));
  border: 3px solid var(--brand-100); box-shadow: var(--sh-1);
}
.stage__no { font-family: var(--font-num); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--brand-600); }
.stage__t { font-size: 17px; margin-top: 6px; color: var(--ink-900); }
.stage__age {
  display: inline-block; margin-top: 9px; padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--brand-50); color: var(--brand-700);
}
.stage__list { margin-top: 15px; display: grid; gap: 7px; text-align: left; }
.stage__list li { font-size: 13.5px; color: var(--ink-500); display: flex; gap: 8px; line-height: 1.6; }
.stage__list li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-200); margin-top: 8px; }
.stage__out {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--brand-700); font-weight: 600;
}

/* ==========================  考级与赛事  ========================== */
.examgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }

.levels { display: grid; gap: 14px; }
.level {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--sh-1);
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.level:hover { box-shadow: var(--sh-2); border-color: var(--brand-200); transform: translateY(-3px); }
.level__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.level__emoji { font-size: 22px; }
.level__name { font-size: 17px; color: var(--ink-900); font-weight: 700; }
.level__org { font-size: 12.5px; color: var(--ink-400); }
.level__tip { margin-top: 12px; font-size: 14px; color: var(--ink-500); line-height: 1.8; }
.level__bar { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.level__bar span {
  font-family: var(--font-num); font-size: 12.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100); color: var(--brand-700);
}

.races { background: var(--ink-900); border-radius: var(--radius-lg); padding: 32px 30px; color: #fff; box-shadow: var(--sh-3); }
.races h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.races__sub { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.8; }
.races__list { margin-top: 22px; display: grid; gap: 9px; }
.races__list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  font-size: 14.5px; transition: background-color .25s, border-color .25s;
}
.races__list li:hover { background: rgba(111,173,186,.16); border-color: rgba(111,173,186,.34); }
.races__list li i {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; margin-top: 2px;
  display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700;
  background: rgba(111,173,186,.24); color: #BFDCE3;
}
.races__list li b { font-weight: 600; }
.races__list li em { display: block; font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 2px; }
.races__note {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.75;
}

/* ==========================  作品画廊  ========================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  box-shadow: var(--sh-1); cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.shot:hover img { transform: scale(1.07); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,48,58,.42), transparent 52%);
  opacity: 0; transition: opacity .35s;
}
.shot:hover::after { opacity: 1; }
.shot__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: 13.5px; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.shot:hover .shot__cap { opacity: 1; transform: none; }
.shot--wide { grid-column: span 2; grid-row: span 1; }
.shot--tall { grid-row: span 2; aspect-ratio: 4 / 6.2; }
.gallery__foot { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-400); }

/* Lightbox（纯 CSS，不用 JS） */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(14,38,46,.92); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 40px 24px;
}
.lightbox:target { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__close {
  position: absolute; inset: 0; cursor: zoom-out;
}
.lightbox__cap {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: 14px; pointer-events: none;
}

/* ==========================  师资  ========================== */
.teachers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.teacher {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--sh-1); transition: transform .3s, box-shadow .3s;
}
.teacher:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.teacher__pic {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 20px; overflow: hidden;
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.teacher__pic img { width: 100%; height: 100%; object-fit: cover; }
.teacher__name { font-size: 18px; color: var(--ink-900); }
.teacher__role { font-size: 13px; color: var(--brand-700); font-weight: 600; margin-top: 4px; }
.teacher__desc { margin-top: 12px; font-size: 14.5px; color: var(--ink-500); line-height: 1.85; }
.teacher__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.teacher__tags span {
  font-size: 12.5px; padding: 4px 10px; border-radius: 7px;
  background: var(--brand-50); color: var(--brand-700); font-weight: 600;
}

/* ==========================  证书 / 口碑  ========================== */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof--grid { margin-top: 22px; }
.proof__item {
  border-radius: var(--radius-sm); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .3s, box-shadow .3s;
}
.proof__item:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--sh-2); }
.proof__item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.proof__item figcaption { padding: 11px 14px; font-size: 12.5px; color: var(--ink-500); line-height: 1.6; }

/* ==========================  分类标签 / 筛选片  ========================== */
.tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 0 26px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--ink-700);
  transition: all .24s cubic-bezier(.2,.7,.3,1);
}
.tab em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brand-600); }
.tab:hover { border-color: var(--brand-200); background: var(--brand-50); transform: translateY(-2px); }
.tab.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  border-color: transparent; color: #fff; box-shadow: var(--sh-brand);
}
.tab.is-active em { color: rgba(255,255,255,.8); }

.certcat { margin-bottom: 4px; }
.certcat__bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.certcat__label { font-size: 13.5px; font-weight: 600; color: var(--ink-500); flex: 0 0 auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--lg { justify-content: center; margin-bottom: 24px; }
.chip {
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--brand-100); background: var(--brand-50);
  font-size: 13.5px; font-weight: 600; color: var(--brand-700);
  transition: all .2s;
}
.chip:hover { background: #fff; border-color: var(--brand); transform: translateY(-1px); }
.chip.is-active { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.chip em { font-style: normal; opacity: .7; font-size: 12px; margin-left: 3px; }

.cert-more { display: block; margin: 26px auto 0; }

/* ==========================  滚动展示条（证书 / 照片）  ==========================
   两行反向滚动，鼠标悬停暂停；边缘做了渐隐遮罩。
   ============================================================================ */
.marquee__title {
  font-size: 16px; font-weight: 700; color: var(--ink-700);
  margin: 10px 0 2px; padding-left: 2px;
  display: flex; align-items: center; gap: 9px;
}
.marquee__title::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-200));
}
.marquee {
  position: relative;
  margin: 6px 0 34px;
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-x linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }

@keyframes marquee-x {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* 证书卡片（滚动条里用的紧凑版） */
.mcard {
  flex: 0 0 auto; width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-1); overflow: hidden; cursor: zoom-in;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.mcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; display: block; }
.mcard__cap {
  padding: 10px 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-500);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mcard:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 22px 46px -18px rgba(30,74,87,.42);
  border-color: var(--brand-200);
  z-index: 2;
}
/* 悬停时扫过一道光 */
.mcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.72) 50%, transparent 62%);
  transform: translateX(-120%); opacity: 0;
}
.mcard:hover::after { animation: shine .85s ease-out; }
@keyframes shine {
  0%   { transform: translateX(-120%); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* 照片卡片（滚动条里用的方形版） */
.pcard {
  flex: 0 0 auto; width: 260px; height: 195px;
  border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in;
  box-shadow: var(--sh-1); background: var(--brand-50);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.pcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.pcard:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 24px 50px -20px rgba(30,74,87,.45); z-index: 2; }
.pcard:hover img { transform: scale(1.08); }
.pcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 11px; color: #fff; font-size: 12.5px;
  background: linear-gradient(0deg, rgba(18,48,58,.72), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard:hover .pcard__cap { opacity: 1; transform: none; }

/* ==========================  教师名片与资质  ========================== */
.tprofile {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--sh-2);
}
.tprofile__pic {
  width: 220px; height: 260px; border-radius: var(--radius);
  overflow: hidden; background: var(--brand-50); border: 1px solid var(--brand-100);
}
.tprofile__pic img { width: 100%; height: 100%; object-fit: cover; }
.tprofile__name { font-size: 26px; color: var(--ink-900); letter-spacing: .01em; }
.tprofile__role { margin-top: 7px; font-size: 14.5px; font-weight: 600; color: var(--brand-700); }
.tprofile__desc { margin-top: 14px; font-size: 15px; color: var(--ink-500); line-height: 1.95; }
.tprofile__desc b { color: var(--brand-800); font-weight: 600; }
.tprofile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tprofile__tags span {
  font-size: 12.5px; padding: 5px 12px; border-radius: 8px;
  background: var(--brand-50); color: var(--brand-700); font-weight: 600;
}

.subtitle {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 18px; color: var(--ink-900); margin: 46px 0 18px;
}
.subtitle__ico { font-size: 20px; }
.subtitle em {
  font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink-400);
  padding-left: 10px; border-left: 1px solid var(--line);
}

/* 证书网格：用 CSS 分栏实现错落交错（卡片高度不一，自然错位） */
.tgrid {
  columns: 3;
  column-gap: 18px;
}
.tgrid .tcert {
  break-inside: avoid;
  margin: 0 0 18px;
}
.tgrid--2 { columns: 2; }

/* 证书卡片：按图片自身宽高比展示，不裁切、不留白 */
.tcert {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: var(--sh-1); position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.tcert img {
  width: 100%; height: auto; display: block;
  background: #F8FBFB;
}
.tcert__cap { padding: 12px 15px; font-size: 13px; color: var(--ink-700); line-height: 1.55; font-weight: 600; }
.tcert__sub { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--ink-400); }
.tcert:hover {
  transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(30,74,87,.42);
  border-color: var(--brand-200);
}
.tcert::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%);
  transform: translateX(-120%); opacity: 0;
}
.tcert:hover::after { animation: shine .9s ease-out; }

.races__group {
  margin: 18px 0 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}
.races__group:first-of-type { margin-top: 22px; }
.races__list li.is-done { background: rgba(224,167,60,.13); border-color: rgba(224,167,60,.34); }
.races__list li.is-done i { background: rgba(224,167,60,.3); color: #F2D08A; }
.races__list li.is-done em { color: rgba(242,208,138,.85); }

/* 精选证书（大卡片，带强调边框） */
.featured {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 34px;
}
.fcard {
  position: relative; background: #fff; border: 1px solid var(--brand-100);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: var(--sh-2);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.fcard img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  object-position: center; background: #F8FBFB; display: block;
}
.fcard__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #C98A22); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(201,138,34,.7);
}
.fcard__cap { padding: 13px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink-800); line-height: 1.5; }
.fcard__sub { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--ink-400); }
.fcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(30,74,87,.45); }
.fcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
  transform: translateX(-120%); opacity: 0;
}
.fcard:hover::after { animation: shine .9s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee__track { animation: none !important; }
  .mcard:hover::after, .fcard:hover::after { animation: none; }
}

@media (max-width: 860px) {
  .featured { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mcard { width: 156px; }
  .pcard { width: 200px; height: 150px; }
  .marquee__track { gap: 12px; }
}

/* 证书卡片在筛选后的隐藏 */
.proof__item.is-hidden { display: none; }
.course.is-hidden { display: none; }
.shot.is-hidden { display: none; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; box-shadow: var(--sh-1); position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: 4px; right: 20px;
  font-size: 74px; line-height: 1; color: var(--brand-100); font-family: Georgia, serif;
}
.quote__text { font-size: 15px; color: var(--ink-700); line-height: 1.9; position: relative; z-index: 1; }
.quote__who { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px; }
.quote__av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff;
  font-size: 13.5px; font-weight: 700;
}
.quote__name { font-size: 14px; font-weight: 600; color: var(--ink-800); }
.quote__meta { font-size: 12.5px; color: var(--ink-400); }

/* ==========================  预约  ========================== */
.signup { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: start; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--sh-2);
}
.form__title { font-size: 21px; color: var(--ink-900); }
.form__sub { margin-top: 9px; font-size: 14px; color: var(--ink-400); }
.form__body { margin-top: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.field label .req { color: #C9573F; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper-2);
  font-size: 15px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(111,173,186,.14);
}
.field textarea { min-height: 92px; resize: vertical; }
.field--row { grid-template-columns: 1fr 1fr; gap: 16px; display: grid; }
.form__consent { font-size: 12.5px; color: var(--ink-400); line-height: 1.7; }
.form__consent a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }

.contact { display: grid; gap: 16px; }
.contact__card {
  background: var(--ink-900); color: #fff; border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--sh-3);
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.contact__qr {
  width: 148px; height: 148px; border-radius: 16px; background: #fff; padding: 9px; flex: 0 0 auto;
}
.contact__qr img { width: 100%; height: 100%; object-fit: contain; }
.contact__t { font-size: 18px; font-weight: 700; }
.contact__d { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 6px; line-height: 1.75; }
.contact__list { margin-top: 14px; display: grid; gap: 8px; }
.contact__list li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.contact__list li span { color: rgba(255,255,255,.45); flex: 0 0 auto; min-width: 4.4em; }
.contact__list li b { font-weight: 600; }

/* 电话 / 微信号：比地址更醒目 */
.contact__highlights {
  margin-top: 15px; display: grid; gap: 9px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(111,173,186,.14);
  border: 1px solid rgba(111,173,186,.26);
}
.contact__highlights li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.contact__highlights li span { color: rgba(255,255,255,.5); flex: 0 0 auto; min-width: 4.4em; font-size: 13px; }
.contact__highlights li b,
.contact__highlights li a { font-weight: 700; color: #fff; letter-spacing: .02em; }
.contact__highlights li a { font-family: var(--font-num); }
.contact__highlights li a:hover { color: var(--brand-200); }

.contact__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--sh-1);
}
.mini__t { font-size: 15px; font-weight: 700; color: var(--ink-900); display: flex; align-items: center; gap: 8px; }
.mini__d { margin-top: 9px; font-size: 13.5px; color: var(--ink-500); line-height: 1.75; }

/* ==========================  FAQ  ========================== */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-1); overflow: hidden; }
.qa[open] { border-color: var(--brand-200); box-shadow: var(--sh-2); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--ink-800);
  transition: color .2s, background-color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand-700); background: var(--brand-50); }
.qa summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa__body { padding: 0 24px 22px; font-size: 15px; color: var(--ink-500); line-height: 1.9; }
.qa__body p + p { margin-top: 10px; }
.qa__body b { color: var(--brand-800); font-weight: 600; }

/* ==========================  合作  ========================== */
.coop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coop--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.coop--service { max-width: 1120px; margin: 0 auto; }
.coop__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--sh-1); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.coop__item:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.coop__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px;
  background: linear-gradient(140deg, var(--brand-50), #fff); border: 1px solid var(--brand-100);
}
.coop__t { margin-top: 16px; font-size: 17px; color: var(--ink-900); }
.coop__d { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); line-height: 1.85; }
.coop__list { margin-top: 14px; display: grid; gap: 7px; }
.coop__list li { font-size: 13.5px; color: var(--ink-500); display: flex; gap: 8px; }
.coop__list li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: 0 0 auto; }

/* ==========================  CTA 条  ========================== */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, var(--brand-800) 0%, var(--brand-900) 55%, var(--ink-900) 100%);
  padding: 70px 0;
}
.cta::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; border: 90px solid rgba(255,255,255,.05);
}
.cta__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta__t { font-size: clamp(23px, 3vw, 33px); font-weight: 800; line-height: 1.35; }
.cta__d { margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,.72); max-width: 46em; line-height: 1.85; }
.cta__actions { margin-left: auto; display: flex; gap: 13px; flex-wrap: wrap; }

/* ==========================  页脚  ========================== */
.footer { background: var(--ink-900); color: rgba(255,255,255,.62); padding: 62px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 44px; height: 44px; filter: brightness(0) invert(1); opacity: .92; }
.footer__cn { font-size: 17px; font-weight: 800; color: #fff; }
.footer__en { font-size: 10.5px; letter-spacing: .24em; color: rgba(255,255,255,.5); font-weight: 600; }
.footer__desc { line-height: 1.9; font-size: 13.5px; max-width: 34em; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 13.5px; transition: color .2s, transform .2s; display: inline-block; }
.footer__links a:hover { color: var(--brand-200); transform: translateX(3px); }
.footer__info { display: grid; gap: 10px; font-size: 13.5px; }
.footer__info div { display: flex; gap: 9px; }
.footer__info span { color: rgba(255,255,255,.38); flex: 0 0 auto; min-width: 4.6em; }
.footer__qr { width: 108px; height: 108px; border-radius: 12px; background: #fff; padding: 7px; }
.footer__qr img { width: 100%; height: 100%; object-fit: contain; }
.footer__scope {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0;
  font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.85;
}
.footer__scope b { color: rgba(255,255,255,.66); font-weight: 600; }

/* 法律与合规声明 */
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 4px;
  font-size: 12px; color: rgba(255,255,255,.36); line-height: 1.9;
}
.footer__legal p + p { margin-top: 9px; }
.footer__legal b { color: rgba(255,255,255,.6); font-weight: 600; }

/* 备案信息栏 */
.footer__filing {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 16px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 12px; color: rgba(255,255,255,.34);
}
.footer__filing a { color: rgba(255,255,255,.44); transition: color .2s; }
.footer__filing a:hover { color: var(--brand-200); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.36);
}

/* ==========================  右下角浮动咨询  ========================== */
.float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float__btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 34px -12px rgba(65,125,142,.75);
  transition: transform .25s, box-shadow .25s;
}
.float__btn:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -14px rgba(65,125,142,.85); }
.float__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-3); padding: 16px; text-align: center;
  display: none; animation: pop .3s cubic-bezier(.2,.7,.3,1);
}
.float.is-open .float__panel { display: block; }
.float__panel img { width: 160px; height: 160px; }
.float__panel p { font-size: 13px; color: var(--ink-500); margin-top: 8px; }

/* ==========================  动画  ========================== */
@keyframes floaty { 0%,100% { transform: translateY(-50%) rotate(0deg); } 50% { transform: translateY(calc(-50% - 16px)) rotate(2deg); } }
@keyframes twinkle { 0%,100% { opacity: .28; transform: scale(.86); } 50% { opacity: .95; transform: scale(1.08); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* 未启用 JS 时：内容直接显示，并隐藏由脚本填充的区块，避免出现空白 */
.no-js .reveal { opacity: 1; transform: none; }
.no-js #gallery { display: none; }
.no-js #results { display: none; }

/* 启用 JS 时：滚动进入视口后淡入 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: .08s; }
.js .reveal--d2 { transition-delay: .16s; }
.js .reveal--d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .star { animation: none; opacity: .6; }
  .hero__shoot { display: none; }
}

/* ==========================  响应式  ========================== */
@media (max-width: 1080px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(3, 1fr); }
  .path::before { display: none; }
  .stage { padding-top: 22px; }
  .stage__dot { margin-top: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .valuebar__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .examgrid { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .coop--service { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .section { padding: 68px 0; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; box-shadow: var(--sh-2);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s, opacity .25s;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 14px; font-size: 16px; border-radius: 11px; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__moon { width: 400px; height: 400px; right: -150px; opacity: .32; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .teachers { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__qr { margin: 0 auto; }
  .coop { grid-template-columns: 1fr; }
  .coop--two, .coop--service { grid-template-columns: 1fr; max-width: none; }
  .cta__actions { margin-left: 0; width: 100%; }
  .float { right: 14px; bottom: 14px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .courses { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot--wide { grid-column: span 2; }
  .proof { grid-template-columns: 1fr; }
  .contact__mini { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .valuebar__grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .brand__text { display: none; }
}

/* ==========================  打印  ========================== */
@media print {
  .nav, .float, .lightbox, .hero__moon, .hero__spark, .starfield, .hero__shoot { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; break-inside: avoid; }
  .cta, .races, .contact__card, .footer, .valuebar { background: #fff !important; color: #000 !important; }
}
