/* =========================================================
   纽斯达·青少儿英语成长中心 New-Start · 官网样式
   主色：橙 + 白 ｜ 风格：简约高级 ｜ 支持移动端自适应
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌橙 */
  --brand-900: #33150A;   /* 最深：大标题、页脚底色 */
  --brand-800: #5A2410;   /* 深橙棕 */
  --brand-700: #9C3D0E;   /* 深橙：小字/图标，保证对比度 */
  --brand-600: #E2571A;   /* 主品牌橙：按钮、强调 */
  --brand-500: #F97316;   /* 亮橙：渐变高光 */
  --brand-300: #FDBA74;   /* 浅橙：装饰 */
  --brand-100: #FFE7D3;   /* 极浅橙：色块底 */
  --brand-50: #FFF7F1;    /* 米橙：页面浅底 */

  /* 中性（暖调，与橙更协调） */
  --ink: #221610;
  --ink-2: #4A3E35;
  --muted: #7C6C60;
  --line: #F0E7DF;
  --bg: #FFFFFF;
  --bg-tint: #FFFBF7;

  /* 招生氛围点缀色 */
  --amber: #F5A524;
  --amber-soft: #FFF5E3;
  --red: #C62828;

  /* 圆角 & 阴影 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;
  --sh-sm: 0 2px 8px rgba(51, 21, 10, .06);
  --sh-md: 0 12px 30px rgba(51, 21, 10, .09);
  --sh-lg: 0 26px 60px rgba(51, 21, 10, .14);
  --sh-brand: 0 14px 30px rgba(226, 87, 26, .28);

  /* 布局 */
  --container: 1180px;
  --gutter: 24px;
  --header-h: 72px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .35s var(--ease);

  --font-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-en: "Inter", "SF Pro Display", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--t), opacity var(--t); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

::selection { background: var(--brand-600); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 3. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; }

.btn--primary { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { box-shadow: 0 18px 38px rgba(226, 87, 26, .36); }

.btn--ghost { background: rgba(255, 255, 255, .75); color: var(--brand-700); border: 1.5px solid var(--brand-100); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--brand-300); background: #fff; }

.btn--outline { background: #fff; color: var(--brand-700); border: 1.5px solid var(--brand-100); }
.btn--outline:hover { border-color: var(--brand-600); background: var(--brand-50); }

.btn--white { background: #fff; color: var(--brand-700); box-shadow: var(--sh-sm); }
.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 4. 顶部招生公告条 ---------- */
.notice-bar {
  background: linear-gradient(90deg, var(--brand-800), var(--brand-700) 55%, var(--brand-600));
  color: #fff;
  font-size: .84rem;
}
.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.notice-bar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFE3B8;
  flex: none;
  box-shadow: 0 0 0 0 rgba(255, 227, 184, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 227, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 227, 184, 0); }
}
.notice-bar__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .94; }
.notice-bar__text strong { font-weight: 700; }
.notice-bar__sep { opacity: .45; margin: 0 4px; }
.notice-bar__link { flex: none; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 1px; }
.notice-bar__link:hover { border-color: #fff; }

/* ---------- 5. 头部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(51, 21, 10, .06); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; flex: none; }
.logo__img { display: block; height: 44px; width: auto; transform: translateY(-3px); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover { color: var(--brand-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-700); font-weight: 600; }
.nav__cta { margin-left: 4px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  flex: none;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 6. Hero 首页 ---------- */
.hero {
  position: relative;
  padding: 78px 0 26px;
  background: linear-gradient(180deg, var(--brand-50) 0%, #FFF 62%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero__blob--1 { width: 520px; height: 520px; top: -190px; right: -120px; background: rgba(249, 115, 22, .18); }
.hero__blob--2 { width: 380px; height: 380px; bottom: -160px; left: -140px; background: rgba(226, 87, 26, .12); }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(51, 21, 10, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 21, 10, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--sh-sm);
}
.pill svg { color: var(--amber); }

.hero__title { margin: 22px 0 0; color: var(--brand-900); }
.hero__highlight {
  position: relative;
  font-family: var(--font-en);
  color: var(--brand-600);
  white-space: nowrap;
}
.hero__highlight::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: .1em;
  height: .3em;
  background: var(--brand-100);
  border-radius: 4px;
  z-index: -1;
}

.hero__desc {
  margin-top: 20px;
  max-width: 33em;
  font-size: 1.03rem;
  color: var(--muted);
}
.hero__desc b { color: var(--brand-700); font-weight: 700; }

/* Hero 主行动按钮组（预约体验课） */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero__note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .02em;
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Hero 视觉 */
.hero__visual { position: relative; }

/* ---------- 6.1 视频播放卡片（复用：Hero 宣传片 + 校区实拍） ---------- */
.video-card { margin: 0; position: relative; }

.video-card__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;             /* 16:9 兜底 */
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-700) 0%, var(--brand-600) 48%, var(--brand-500) 100%);
  box-shadow: var(--sh-lg);
  transition: background var(--t);
}
@supports (aspect-ratio: 16 / 9) {
  .video-card__frame { padding-top: 0; aspect-ratio: 16 / 9; }
}
.video-card.is-playing .video-card__frame { background: #000; }

.video-card__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #12070a;
}

/* 封面层：播放时整体淡出 */
.video-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity .42s var(--ease);
}
.video-card.is-playing .video-card__cover { opacity: 0; pointer-events: none; }

.video-card__glow {
  position: absolute;
  width: 320px; height: 320px;
  top: -130px; right: -100px;
  border-radius: 50%;
  background: rgba(255, 194, 138, .40);
  filter: blur(48px);
}
/* 中部压暗，让播放按钮跳出来 */
.video-card__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(51, 21, 10, .46) 0%, rgba(51, 21, 10, .16) 52%, rgba(51, 21, 10, 0) 76%);
}
/* 纯色封面（无插画）用网格纹理 */
.video-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 82%);
}

.video-card__chip {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  background: rgba(51, 21, 10, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 12px 30px rgba(51, 21, 10, .3);
  transition: transform var(--t), background var(--t), color var(--t);
}
.video-card__play::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .6);
  animation: ringPulse 2.4s var(--ease) infinite;
}
@keyframes ringPulse {
  0% { transform: scale(.92); opacity: .85; }
  70% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

.video-card__foot {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .9);
}
.video-card__duration {
  margin-left: auto;
  flex: none;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(51, 21, 10, .5);
  font-family: var(--font-en);
  font-size: .74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 透明的整面点击热区 */
.video-card__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--r-xl);
  background: transparent;
}
.video-card__hit:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.video-card.is-playing .video-card__hit { display: none; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); background: var(--brand-50); }

/* 视频文件缺失时的兜底提示 */
.video-card__fallback {
  position: absolute;
  left: 0; right: 0; bottom: 15%;
  z-index: 3;
  margin: 0;
  text-align: center;
  font-size: .86rem;
  font-weight: 600;
  color: #FFE7D3;
}
.video-card__fallback a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 1px; }
.video-card.is-fallback .video-card__play { display: none; }
.video-card.is-fallback .video-card__hit { cursor: default; }

/* 封面下方的招生信息条 */
.video-card__cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .84rem;
  color: var(--muted);
}
.video-card__cap b { margin-left: auto; color: var(--brand-700); font-family: var(--font-en); font-size: .95rem; }
.video-card__cap--center { justify-content: center; }

.video-card__progress {
  margin-top: 9px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--brand-100);
  overflow: hidden;
}
.video-card__progress i {
  display: block;
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  animation: growIn 1.4s var(--ease) .5s both;
}
@keyframes growIn { from { transform: scaleX(0); transform-origin: left; } }

/* ---------- 6.2 自动播放模式（Hero 品牌宣传片） ----------
   画面不叠任何标签：隐藏封面层（插画 / 「品牌宣传片」角标 / 播放按钮 /
   时长 / 「真实课堂实拍」文字）与整面点击热区，让视频画面完整露出，
   鼠标也不会被热区挡住、原生控制条可正常操作。
   页面一进入即静音自动播放并循环（浏览器强制要求自动播放必须静音）。
   想恢复「封面 + 播放按钮」的点击播放样式：删掉下面两条 display:none 即可。 */
.video-card--auto .video-card__cover { display: none; }
.video-card--auto .video-card__hit { display: none; }
.video-card--auto .video-card__frame { background: #0d0608; }

/* 兜底：万一浏览器拦截了自动播放，JS 会补上 is-autoplay-blocked，
   把封面与点击热区放回来，退回「点击播放」的老样子，不会留黑屏。 */
.video-card--auto.is-autoplay-blocked .video-card__cover { display: block; }
.video-card--auto.is-autoplay-blocked .video-card__hit { display: block; }

/* 校区视频：居中收窄 */
.video-card--campus { max-width: 820px; margin: 60px auto 0; }

.float-slow { animation: floatY 5s ease-in-out infinite; }
.float-fast { animation: floatY 4s ease-in-out infinite .6s; }
/* 注：float-slow / float-fast 保留备用，当前页面暂无引用 */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 0 rgba(226, 87, 26, .55);
  animation: pulse 2s infinite;
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  animation: floatY 6s ease-in-out infinite;
}
.hero__float--tl { top: -18px; left: -26px; }
.hero__float--br { bottom: -22px; right: -20px; animation-delay: 1s; }
.hero__float b { display: block; font-size: .84rem; color: var(--ink); line-height: 1.3; }
.hero__float span { display: block; font-size: .72rem; color: var(--muted); }
.mini-avatars { display: flex; }
.mini-avatars span {
  width: 26px; height: 26px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-en);
  font-size: .68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  margin-left: -9px;
}
.mini-avatars span:first-child { margin-left: 0; }

/* 倒计时 */
.countdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding: 20px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--brand-900), var(--brand-700) 60%, var(--brand-600));
  box-shadow: var(--sh-lg);
  color: #fff;
  overflow: hidden;
}
.countdown::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -80px; top: -180px;
  border-radius: 50%;
  background: rgba(255, 194, 138, .22);
  filter: blur(40px);
}
.countdown__label { flex: 1; min-width: 220px; position: relative; }
.countdown__label b { display: block; font-size: 1.06rem; font-weight: 700; }
.countdown__label span { font-size: .82rem; color: rgba(255, 255, 255, .8); }

.countdown__timer { display: flex; align-items: center; gap: 8px; position: relative; }
.countdown__timer i { font-style: normal; font-family: var(--font-en); font-size: 1.3rem; font-weight: 700; opacity: .4; }
.cd-unit {
  min-width: 60px;
  padding: 7px 8px 8px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}
.cd-unit b {
  display: block;
  font-family: var(--font-en);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cd-unit span { font-size: .68rem; color: rgba(255, 255, 255, .8); }
.countdown .btn { position: relative; }

/* ---------- 7. 通用 section ---------- */
.section { padding: 96px 0; }
.section--tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brand-700);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1rem; }

/* ---------- 8. 双师模式 ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  margin-bottom: 56px;
}
.duo__item { display: flex; gap: 15px; align-items: flex-start; }
.duo__item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.duo__item p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.duo__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.duo__icon--main { background: var(--brand-100); color: var(--brand-600); }
.duo__icon--deep { background: rgba(51, 21, 10, .08); color: var(--brand-800); }
.duo__plus {
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--brand-300);
}

/* ---------- 9. 课程卡片 ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }

.course-card--featured {
  border-color: transparent;
  background: linear-gradient(180deg, #fff, var(--brand-50));
  box-shadow: var(--sh-md);
  border: 1.5px solid var(--brand-300);
}
.course-card__ribbon {
  position: absolute;
  top: -13px; right: 22px;
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--amber), #FF9A00);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 154, 0, .3);
}
/* 「校长推荐」角标（区别于「最受欢迎」的金橙色） */
.course-card__ribbon--principal {
  background: linear-gradient(135deg, #D9480F, #9C3D0E);
  box-shadow: 0 8px 18px rgba(156, 61, 14, .32);
}
.course-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: var(--brand-100);
  color: var(--brand-700);
  font-family: var(--font-en);
  font-size: .78rem;
  font-weight: 700;
}
.course-card h3 { margin: 16px 0 4px; font-size: 1.3rem; }
.course-card__en {
  font-family: var(--font-en);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand-700);
  text-transform: uppercase;
}
.course-card__desc { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.course-card__list { margin: 18px 0 24px; display: grid; gap: 9px; }
.course-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .87rem;
  color: var(--ink-2);
}
.course-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C3D0E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5L19 7'/%3E%3C/svg%3E") center/9px no-repeat;
}
.course-card .btn { margin-top: auto; }

/* ---------- 10. 教学特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature {
  padding: 24px 22px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px solid var(--line);
  transition: transform var(--t), background var(--t);
}
.feature:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--sh-sm); }
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-600);
  box-shadow: var(--sh-sm);
  margin-bottom: 14px;
}
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ---------- 11. 关于我们 ---------- */
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: start;
}
.about__story h3 { font-size: 1.4rem; margin-bottom: 18px; }
.about__story p { color: var(--muted); margin-bottom: 16px; }
.about__story p b { color: var(--brand-700); }

.about__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about__metrics div { display: flex; flex-direction: column; }
.about__metrics b {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-700);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.about__metrics span { font-size: .76rem; color: var(--muted); }

.about__values { display: grid; gap: 14px; }
.value-card {
  padding: 22px 22px 22px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
}
.value-card__num {
  font-family: var(--font-en);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand-700);
}
.value-card h4 { margin: 6px 0 6px; font-size: .98rem; }
.value-card p { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* 家长口碑 */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.quote {
  margin: 0;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.quote__stars { color: var(--amber); font-size: .9rem; letter-spacing: .12em; margin-bottom: 14px; }
.quote blockquote {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.8;
  flex: 1;
}
.quote figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.quote figcaption b { font-size: .9rem; color: var(--ink); }
.quote figcaption span { font-size: .76rem; color: var(--muted); }

/* ---------- 12. 联系我们 ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact__info { display: grid; gap: 6px; }
.info-item {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-item__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
}
.info-item h4 { font-size: .95rem; margin-bottom: 3px; }
.info-item p { font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.info-item p a { color: var(--brand-700); }
.info-item p a:hover { text-decoration: underline; }
.info-item__sub { font-size: .78rem; color: var(--muted); }

.map-slot {
  position: relative;
  margin-top: 22px;
  height: 200px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}
.map-slot__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(226, 87, 26, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 87, 26, .10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-slot__pin { color: var(--brand-600); position: relative; margin-bottom: 6px; filter: drop-shadow(0 7px 12px rgba(226, 87, 26, .32)); animation: floatY 3.4s ease-in-out infinite; }
.map-slot b { position: relative; font-size: 1rem; color: var(--brand-800); }
.map-slot > span:last-child { position: relative; font-size: .8rem; color: var(--muted); }

/* 表单 */
.contact__form-wrap { position: relative; }
.form {
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.form h3 { font-size: 1.24rem; }
.form__sub { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.field { margin-top: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--brand-50);
  color: var(--ink);
  font-size: .92rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6C60' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(226, 87, 26, .12);
}
.field.is-error input, .field.is-error select { border-color: var(--red); background: #FEF4F4; }
.field__err { display: block; margin-top: 5px; font-size: .76rem; color: var(--red); min-height: 0; }
.field.is-error .field__err { min-height: 16px; }

.form .btn { margin-top: 26px; }
.form__tip {
  margin-top: 14px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}
.form__tip b { color: var(--brand-700); font-family: var(--font-en); }
.form__done {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #E9F9EF;
  border: 1px solid #B7E7C9;
  color: #1B7A43;
  font-size: .86rem;
  font-weight: 600;
  text-align: center;
}
/* 提交失败态：与成功态同结构，换配色 */
.form__done--error {
  background: #FDECEC;
  border-color: #F3C1C1;
  color: #B3261E;
}

/* ---------- 13. 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, #3E1D0D, #33150A);
  color: rgba(255, 255, 255, .72);
  padding: 54px 0 40px;
}
.footer__inner { display: grid; gap: 26px; justify-items: center; text-align: center; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer__logo { display: block; height: 52px; width: auto; }
.footer__brand p { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer__slogan {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #F5A524;
}
.footer__addr {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem; line-height: 1.6;
  color: rgba(255, 255, 255, .66);
}
.footer__addr span { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.footer__addr span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-400, #F5A524); flex: none;
}
/* 备案信息：与上方地址区隔一条细线，字号更小、颜色更淡（工信部要求备案号需在网站首页底部可见且可点击跳转） */
.footer__beian {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .76rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer__beian-link {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .2s ease;
}
.footer__beian-link:hover { color: rgba(255, 255, 255, .85); text-decoration: underline; }

/* ---------- 14. 移动端底部 CTA / 回到顶部 ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(51, 21, 10, .08);
}
.mobile-cta__call {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  font-size: .68rem;
  color: var(--brand-700);
  font-weight: 600;
}
.mobile-cta__book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: var(--sh-brand);
}

.to-top {
  position: fixed;
  right: 24px; bottom: 28px;
  z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-700);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--brand-600); transform: translateY(-3px); }

/* ---------- 15. 滚动进场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* 同组元素错峰出现 */
.course-grid .reveal:nth-child(2) { transition-delay: .09s; }
.course-grid .reveal:nth-child(3) { transition-delay: .18s; }
.feature-grid .reveal:nth-child(2) { transition-delay: .07s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .14s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .21s; }
.quotes .reveal:nth-child(2) { transition-delay: .09s; }
.quotes .reveal:nth-child(3) { transition-delay: .18s; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { gap: 36px; }
  .hero__float--tl { left: -10px; }
  .hero__float--br { right: -6px; }
  .nav { gap: 22px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 64px; }

  /* 移动端导航 */
  .logo__img { height: 38px; }
  .footer__logo { height: 44px; }
  .burger { display: block; }
  .header { position: sticky; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(51, 21, 10, .1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--brand-600); }
  .nav__cta { margin: 16px 0 0; height: 48px; font-size: .98rem; }

  /* 布局降级 */
  .hero { padding: 48px 0 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero__float--tl { top: -14px; left: 4px; }
  .hero__float--br { bottom: -16px; right: 4px; }

  .countdown { gap: 16px; padding: 20px; margin-top: 40px; }
  .countdown__label { flex: 1 1 100%; }
  .countdown__timer { flex: 1; }
  .cd-unit { min-width: 0; flex: 1; padding: 6px 4px 7px; }
  .cd-unit b { font-size: 1.2rem; }
  .countdown .btn { width: 100%; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .duo { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; margin-bottom: 36px; }
  .duo__plus { justify-self: center; transform: rotate(0); }

  .course-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }

  .about { grid-template-columns: 1fr; gap: 34px; }
  .quotes { grid-template-columns: 1fr; margin-top: 40px; }

  .contact { grid-template-columns: 1fr; gap: 30px; }
  .form { padding: 26px 20px; }

  /* 移动端底部栏占位 */
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .to-top { right: 16px; bottom: 90px; width: 40px; height: 40px; }
  .footer { padding-bottom: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  h1 { font-size: 1.92rem; }
  .logo__img { height: 34px; }
  .footer__logo { height: 40px; }
  .notice-bar { font-size: .78rem; }
  .notice-bar__text { white-space: normal; }
  .notice-bar__link { display: none; }
  .notice-bar__inner { min-height: 0; padding: 8px 0; }

  .hero__float { padding: 10px 12px; }
  .hero__float b { font-size: .78rem; }
  .hero__float span { font-size: .68rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .about__metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .btn--lg { padding: 14px 22px; font-size: .95rem; }
  .quote { padding: 22px 18px; }
}

/* ---------- 16.1 视频卡片响应式 ---------- */
@media (max-width: 900px) {
  .video-card--campus { margin-top: 40px; }
}

@media (max-width: 560px) {
  .video-card__play { width: 58px; height: 58px; }
  .video-card__play svg { width: 21px; height: 21px; }
  .video-card__chip { top: 12px; left: 12px; padding: 5px 11px; font-size: .7rem; }
  .video-card__foot { left: 12px; right: 12px; bottom: 11px; gap: 8px; font-size: .72rem; }
  .video-card__duration { font-size: .7rem; padding: 2px 7px; }
  .video-card__fallback { bottom: 20%; font-size: .8rem; }
  .video-card__cap { font-size: .8rem; }
}

/* ---------- 17. 无障碍 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .notice-bar, .mobile-cta, .to-top, .hero__bg { display: none; }
  .hero, .section { padding: 20px 0; }
}

/* =========================================================
   添加微信弹窗
   ========================================================= */
.wx-modal { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 20px; }
.wx-modal[hidden] { display: none; }
.wx-modal__mask { position: absolute; inset: 0; background: rgba(34, 22, 16, .55); backdrop-filter: blur(3px); }
.wx-modal__card {
  position: relative; width: 100%; max-width: 360px;
  background: var(--brand-50, #FFF7F1); border-radius: 20px;
  padding: 30px 24px 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(51, 21, 10, .35);
  animation: wxPop .28s ease;
}
@keyframes wxPop { from { transform: translateY(18px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.wx-modal__close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: transparent;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer;
}
.wx-modal__logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; }
.wx-modal__card h3 { margin: 10px 0 4px; font-size: 1.15rem; color: var(--ink); }
.wx-modal__sub { margin: 0 0 16px; font-size: .85rem; color: var(--muted); }
.wx-modal__idbox {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1.5px dashed var(--brand-300);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.wx-modal__id { font-family: var(--font-en, monospace); font-weight: 800; font-size: 1.05rem; color: var(--brand-700); letter-spacing: .02em; }
.wx-modal__copy {
  flex: none; border: none; cursor: pointer;
  background: linear-gradient(135deg, #D9480F, #9C3D0E); color: #fff;
  font-size: .85rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}
.wx-modal__copy.is-done { background: #1f9d55; }
.wx-modal__openwx {
  display: block; text-decoration: none;
  background: #07C160; color: #fff; font-weight: 700;
  padding: 13px 0; border-radius: 999px; font-size: .95rem; margin-bottom: 16px;
}
.wx-modal__steps { margin: 0; padding-left: 18px; text-align: left; font-size: .8rem; color: var(--muted); line-height: 1.7; }

/* =========================================================
   课堂花絮（视频号同步）· 横滑竖屏视频卡
   ========================================================= */
.hl-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hl-strip::-webkit-scrollbar { display: none; }

.hl-strip .video-card--hl {
  flex: 0 0 auto;
  width: 236px;
  scroll-snap-align: start;
}

/* 竖屏 9:16 画幅覆盖默认 16:9 */
.video-card--hl .video-card__frame {
  padding-top: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
@supports (aspect-ratio: 9 / 16) {
  .video-card--hl .video-card__frame { padding-top: 0; }
}

.video-card--hl .video-card__chip { font-size: 12px; padding: 5px 12px; }
.video-card--hl .video-card__play { width: 52px; height: 52px; }
.video-card--hl .video-card__cap { font-size: 14px; margin-top: 10px; }
.video-card--hl .video-card__fallback { font-size: 13px; }

/* 卡片渐隐提示：右缘有更多内容 */
.hl-wrap-hint { position: relative; }

.hl-more {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.hl-more b { color: var(--brand-700); }

@media (max-width: 640px) {
  .hl-strip { gap: 14px; }
  .hl-strip .video-card--hl { width: 200px; }
}

/* =========================================================
   「点一下关注」视频号按钮 + 弹窗
   ========================================================= */
.hl-follow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  width: 100%;
  max-width: 720px;
  margin: 10px auto 0;
  padding: 14px 22px;
  border: 1.5px dashed var(--brand-300, #f0b27a);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--text, #333);
  font-size: 15px;
  cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  text-align: left;
}
.hl-follow:hover {
  border-color: var(--brand-500, #e67e22);
  box-shadow: var(--sh-md, 0 8px 24px rgba(0,0,0,.08));
  transform: translateY(-2px);
}
.hl-follow__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e74c3c;
  animation: hlPulse 1.6s ease-out infinite;
}
@keyframes hlPulse {
  0%   { box-shadow: 0 0 0 0 rgba(231,76,60,.45); }
  70%  { box-shadow: 0 0 0 12px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}
.hl-follow__name {
  color: var(--brand-700, #b3541e);
  font-weight: 700;
}
.hl-follow__tap {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-500, #e67e22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  animation: hlBounce 1.8s ease-in-out infinite;
}
@keyframes hlBounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@media (max-width: 640px) {
  .hl-follow { font-size: 13.5px; padding: 12px 16px; }
  .hl-follow__tap { margin-left: 0; width: 100%; text-align: center; }
}

/* 弹窗内二维码 */
.f-qr {
  margin: 14px auto 4px;
  text-align: center;
}
.f-qr img {
  width: 190px;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border: 1px solid var(--line, #eee);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}
.f-qr__tip {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted, #999);
}

/* =========================================================
   微信小程序板块（#miniapp）
   ========================================================= */
.mpsec__grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.mpsec__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 36px 32px 28px;
  text-align: center;
}

.mpsec__qr {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--sh-sm);
}

.mpsec__tip {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.mpsec__tip--sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.mpsec__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.mpsec__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--sh-sm);
}

.mpsec__ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid;
  place-items: center;
}

.mpsec__list h4 {
  margin: 0 0 4px;
  font-size: 17.5px;
  color: var(--ink);
}

.mpsec__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 860px) {
  .mpsec__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }
  .mpsec__card {
    max-width: 360px;
    margin: 0 auto;
    padding: 28px 22px 22px;
  }
  .mpsec__list { gap: 14px; }
}
