/* ============================================================
   名臣教育官网 · 全新改版 v2（原创模板）
   风格：现代书卷风 —— 暖米纸感 × 深墨蓝 × 朱红 × 宋体衬线
   与旧版完全不同的设计语言：衬线大字标题、点阵纹理、
   渐变光晕、Bento 错落布局、滚动条幅、计数动画
   ============================================================ */

:root {
  --ink: #1e5f9e;
  --ink-2: #174b86;
  --paper: #faf6ef;
  --card: #ffffff;
  --red: #e2442e;
  --red-deep: #b92c1a;
  --amber: #f0a13b;
  --blue: #4d94e6;
  --blue-light: #8fc1f0;
  --blue-deep: #2566ad;
  --text: #4b5869;
  --muted: #8b95a6;
  --line: #e9e1d2;
  --serif: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(37, 102, 173, .09);
  --shadow-md: 0 14px 34px rgba(37, 102, 173, .12);
  --shadow-lg: 0 26px 60px rgba(37, 102, 173, .18);
  --grad-red: linear-gradient(135deg, #f0543a 0%, #e2442e 45%, #b92c1a 100%);
  --grad-ink: linear-gradient(140deg, #6aa9ec 0%, #4d94e6 48%, #2566ad 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul, ol { list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(226, 68, 46, .16); color: var(--red-deep); }

/* 细滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1ede4; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #c9c2b2, #a89f8c); border-radius: 8px; border: 2px solid #f1ede4; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--red), var(--red-deep)); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.soft { background: var(--card); }
.section.soft .sec-wrap { position: relative; }

.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; position: relative; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .32em; color: var(--red);
  text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--red)); }
.eyebrow::after { background: linear-gradient(90deg, var(--red), transparent); }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 46px);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .02em;
  margin-top: 14px;
}
.sec-head h2 em { font-style: normal; color: var(--red); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.sec-head .lead { font-family: var(--serif); font-size: 17px; color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700; line-height: 1.4;
  cursor: pointer; border: none; white-space: nowrap;
  transition: all .28s; position: relative; overflow: hidden;
}
.btn-solid { background: var(--grad-red); color: #fff; box-shadow: 0 10px 24px rgba(226, 68, 46, .32); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(226, 68, 46, .4); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(37, 102, 173, .28); }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: rgba(226, 68, 46, .04); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(23, 75, 134, .18); }
.btn-light:hover { transform: translateY(-2px); color: var(--red); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.btn .arr { transition: transform .28s; }
.btn:hover .arr { transform: translateX(4px); }
/* 扫光 */
.btn-solid::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -90%;
  width: 46%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-22deg); transition: left .55s ease; pointer-events: none;
}
.btn-solid:hover::after, .btn-light:hover::after { left: 140%; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink-2); color: rgba(255,255,255,.82);
  font-size: 13px; letter-spacing: .03em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; white-space: nowrap; overflow: hidden; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--amber); }
.topbar .links { display: flex; align-items: center; gap: 18px; }
.topbar .dot { opacity: .35; }
.topbar .hot { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar .hot::before { content: "✦"; color: var(--amber); font-size: 11px; }
@media (max-width: 768px) {
  .topbar .links .hide-m { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 480px) { .topbar { display: none; } }

/* ---------- 主导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 246, 239, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(37, 102, 173, .08); border-bottom-color: var(--line); background: rgba(250, 246, 239, .94); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo .mark {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-ink);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-weight: 800; font-size: 24px;
  box-shadow: 0 8px 18px rgba(37, 102, 173, .28);
  position: relative; overflow: hidden;
}
.logo .mark::after {
  content: ""; position: absolute; top: -60%; left: -50%;
  width: 60%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: rotate(18deg); transition: left .7s ease;
}
.logo:hover .mark::after { left: 150%; }
.logo .name { line-height: 1.25; }
.logo .name b { display: block; font-size: 21px; color: var(--ink); font-weight: 800; letter-spacing: .05em; font-family: var(--serif); }
.logo .name small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .22em; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  position: relative; padding: 10px 10px; border-radius: 10px;
  font-size: 15.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.menu a:hover { color: var(--red); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--red); font-weight: 700; }
.menu-cta { display: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 移动端抽屉遮罩 */
.drawer-mask {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(23, 75, 134, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer-mask.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37, 102, 173, .08) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.hero .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero .orb.o1 { width: 460px; height: 460px; background: rgba(240, 161, 59, .4); top: -140px; right: -80px; }
.hero .orb.o2 { width: 380px; height: 380px; background: rgba(226, 68, 46, .28); bottom: -160px; left: -100px; animation-delay: -4s; }

.hero .grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .txt .eyebrow { color: var(--red); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.22; font-weight: 900;
  color: var(--ink); letter-spacing: .01em;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(240, 161, 59, .35); z-index: -1; border-radius: 4px;
}
.hero .sub { margin-top: 22px; font-size: clamp(15px, 1.7vw, 17.5px); color: var(--text); max-width: 30em; }
.hero .acts { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero .trust {
  margin-top: 40px; padding-top: 26px; border-top: 1px dashed var(--line);
  display: flex; gap: clamp(22px, 3.5vw, 44px); flex-wrap: wrap;
}
.hero .trust .t-item b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.hero .trust .t-item b span { color: var(--red); }
.hero .trust .t-item small { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }

/* Hero 视觉组合 */
.hero-visual { position: relative; min-height: 460px; }
.hero-visual .watermark {
  position: absolute; right: -8px; top: -40px;
  font-family: var(--serif); font-size: clamp(180px, 24vw, 300px);
  font-weight: 900; color: rgba(37, 102, 173, .05); line-height: 1; pointer-events: none;
  user-select: none;
}
.hero-visual .ring {
  position: absolute; right: -30px; bottom: -20px; width: 260px; height: 260px;
  border: 1.5px dashed rgba(226, 68, 46, .3); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero-visual .ring::after {
  content: ""; position: absolute; top: -7px; left: 50%;
  width: 14px; height: 14px; border-radius: 50%; background: var(--red);
}
.main-card {
  position: absolute; left: 0; top: 12px; width: min(420px, 86%);
  border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 40px);
  background: var(--grad-ink); color: #fff; overflow: hidden;
  box-shadow: 0 34px 70px rgba(37, 102, 173, .35);
}
.main-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 16%, rgba(240,161,59,.35), transparent 46%),
              radial-gradient(circle at 12% 90%, rgba(226,68,46,.3), transparent 44%);
}
.main-card > * { position: relative; z-index: 1; }
.main-card .mc-top { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .18em; color: rgba(255,255,255,.8); }
.main-card .mc-top::before { content: ""; width: 22px; height: 2px; background: var(--amber); }
.main-card .mc-num { font-family: var(--serif); font-size: clamp(64px, 8vw, 92px); font-weight: 900; line-height: 1.05; margin-top: 14px; }
.main-card .mc-num small { font-size: .4em; color: var(--amber); margin-left: 4px; }
.main-card .mc-lbl { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.88); letter-spacing: .08em; }
.main-card .mc-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.main-card .mc-tags span { font-size: 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 4px 12px; color: rgba(255,255,255,.85); }

.float-card {
  position: absolute; background: var(--card); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .fc-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.float-card .fc-ico svg { width: 22px; height: 22px; }
.float-card b { display: block; font-size: 18px; color: var(--ink); line-height: 1.2; font-family: var(--serif); }
.float-card small { font-size: 11.5px; color: var(--muted); letter-spacing: .05em; }
.fc-1 { right: 0; top: 44%; animation-delay: -1.2s; }
.fc-2 { left: 4%; bottom: 6%; animation-delay: -2.6s; }
.fc-3 { right: 6%; bottom: 16%; animation-delay: -3.8s; }

/* ---------- 滚动条幅 ---------- */
.marquee {
  background: var(--ink); color: rgba(255,255,255,.9);
  overflow: hidden; padding: 14px 0; position: relative;
}
.marquee .track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; gap: 56px; font-size: 14.5px; letter-spacing: .06em; white-space: nowrap; }
.marquee .item i { font-style: normal; color: var(--amber); }

/* ---------- 数据统计 ---------- */
.stats {
  background: var(--grad-ink); color: #fff; position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 30%, rgba(240,161,59,.16), transparent 38%),
              radial-gradient(circle at 90% 80%, rgba(226,68,46,.2), transparent 42%);
}
.stats .grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats .num {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 64px); font-weight: 900; line-height: 1.1;
  background: linear-gradient(180deg, #fff 15%, #cfe4fb 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
}
.stats .num small { font-size: .5em; -webkit-text-fill-color: var(--amber); margin-left: 2px; }
.stats .lbl { margin-top: 10px; font-size: 14px; opacity: .85; letter-spacing: .18em; }
.stats .divider { width: 1px; height: 52px; background: rgba(255,255,255,.16); align-self: center; }

/* ---------- 课程 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.course-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: all .32s; display: flex; flex-direction: column;
}
.course-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-red); opacity: 0; transition: opacity .3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { opacity: 1; }
.course-card .cc-ico {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.course-card:hover .cc-ico { transform: rotate(-8deg) scale(1.1); }
.course-card .cc-ico svg { width: 26px; height: 26px; }
.course-card h3 { font-size: 18.5px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.course-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.course-card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.course-card .tags span { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--text); border: 1px solid var(--line); transition: all .25s; }
.course-card .tags span:hover { background: rgba(226,68,46,.08); color: var(--red); border-color: rgba(226,68,46,.25); }
.course-card .cc-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-card .cc-foot .price { font-size: 12.5px; color: var(--muted); }
.course-card .cc-foot .price b { color: var(--red); font-size: 17px; }
.course-card .cc-foot a { font-size: 13.5px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 5px; transition: gap .3s; }
.course-card .cc-foot a:hover { gap: 9px; }

/* Bento 网格位置 */
.bento .b-main { grid-column: span 3; grid-row: span 2; background: var(--grad-ink); color: #fff; border: none; }
.bento .b-main::before { display: none; }
.bento .b-main::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 12%, rgba(240,161,59,.3), transparent 44%),
              radial-gradient(circle at 10% 92%, rgba(226,68,46,.28), transparent 40%);
}
.bento .b-main > * { position: relative; z-index: 1; }
.bento .b-main .cc-ico { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.bento .b-main h3 { color: #fff; font-size: 24px; }
.bento .b-main p { color: rgba(255,255,255,.8); }
.bento .b-main .tags span { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.25); }
.bento .b-main .cc-foot .price { color: rgba(255,255,255,.7); }
.bento .b-main .cc-foot .price b { color: var(--amber); }
.bento .b-main .cc-foot a { color: var(--amber); }
.bento .b-2 { grid-column: span 3; }
.bento .b-3 { grid-column: span 3; }
.bento .b-4, .bento .b-5, .bento .b-6 { grid-column: span 2; }

/* 色板（蓝红 CP） */
.c-red .cc-ico { background: var(--red); }
.c-navy .cc-ico { background: var(--blue); }
.c-amber .cc-ico { background: var(--amber); }
.c-green .cc-ico { background: #6aa9ec; }
.c-purple .cc-ico { background: #3a7fd1; }
.c-teal .cc-ico { background: var(--blue-deep); }

/* ---------- 报考流程 ---------- */
.process { counter-reset: step; }
.process .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process .row::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%;
  height: 2px; border-top: 2px dashed rgba(226, 68, 46, .3);
}
.process .p {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 24px; text-align: center; position: relative; transition: all .3s;
}
.process .p:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process .p::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 16px; right: 18px;
  font-family: var(--serif); font-size: 40px; font-weight: 900;
  color: rgba(226, 68, 46, .12); line-height: 1;
}
.process .p .ico {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--paper); border: 1px dashed rgba(226,68,46,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); transition: all .3s;
}
.process .p:hover .ico { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 22px rgba(226,68,46,.3); }
.process .p .ico svg { width: 26px; height: 26px; }
.process .p h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.process .p p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 名师 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 14px 24px; text-align: center; transition: all .32s; position: relative; overflow: hidden;
}
.t-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-red); opacity: 0; transition: opacity .3s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-card:hover::before { opacity: 1; }
/* 教师形象照：竖版 3:4，替换 assets/img/teachers/ 下的图片即可上传老师照片 */
.t-card .photo {
  position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-light), var(--blue));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 12px 26px rgba(37,102,173,.18);
}
.t-card .photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.t-card:hover .photo img { transform: scale(1.06); }
.t-card h3 { margin-top: 16px; font-size: 18px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.t-card .role { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--red); background: rgba(226,68,46,.08); border-radius: 999px; padding: 3px 14px; font-weight: 600; }
.t-card p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.75; }

/* 名师横幅（杜飞） */
.hero-teacher {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--grad-ink); color: #fff;
  padding: clamp(32px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  box-shadow: 0 30px 60px rgba(37, 102, 173, .28);
  margin-bottom: 28px;
}
.hero-teacher::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(240,161,59,.3), transparent 44%),
              radial-gradient(circle at 8% 90%, rgba(226,68,46,.25), transparent 40%);
}
.hero-teacher > * { position: relative; z-index: 1; }
.hero-teacher .deco { position: absolute; right: -30px; top: -70px; font-family: var(--serif); font-size: 250px; font-weight: 900; color: rgba(255,255,255,.05); line-height: 1; pointer-events: none; }
.hero-teacher .who .name { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; font-family: var(--serif); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-teacher .who .name span { font-size: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 4px 14px; border-radius: 999px; font-weight: 600; font-family: var(--sans); }
.hero-teacher .who p { margin-top: 16px; font-size: 15px; opacity: .9; max-width: 44em; }
.hero-teacher .who .facts { margin-top: 24px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-teacher .who .facts div { text-align: center; }
.hero-teacher .who .facts b { display: block; font-family: var(--serif); font-size: 27px; font-weight: 900; color: var(--amber); }
.hero-teacher .who .facts span { font-size: 12.5px; opacity: .75; }
.hero-teacher .books { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: 24px; }
.hero-teacher .books h4 { font-size: 14.5px; letter-spacing: .14em; opacity: .85; margin-bottom: 14px; }
.hero-teacher .books ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-teacher .books li { font-size: 13.5px; background: rgba(255,255,255,.1); border-radius: 10px; padding: 9px 14px; display: flex; align-items: center; gap: 8px; transition: all .25s; }
.hero-teacher .books li::before { content: "✦"; color: var(--amber); font-size: 11px; }
.hero-teacher .books li:hover { background: rgba(255,255,255,.2); transform: translateX(4px); }

/* ---------- 学员评价 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative; transition: all .32s;
}
.testi::before {
  content: "”"; position: absolute; top: 8px; right: 24px;
  font-family: var(--serif); font-size: 84px; font-weight: 900; line-height: 1;
  color: rgba(226, 68, 46, .1);
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi .stars { color: var(--amber); letter-spacing: 3px; font-size: 15px; }
.testi p { margin-top: 14px; font-size: 14.5px; color: var(--text); line-height: 1.9; }
.testi .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.testi .who b { display: block; font-size: 14.5px; color: var(--ink); }
.testi .who small { font-size: 12px; color: var(--muted); }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.news-main {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; position: relative; min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.news-main .bg { position: absolute; inset: 0; background: var(--grad-ink); transition: transform .6s ease; }
.news-main:hover .bg { transform: scale(1.05); }
.news-main::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(240,161,59,.3), transparent 45%),
              linear-gradient(180deg, transparent 35%, rgba(23, 75, 134, .78));
}
.news-main .info { position: relative; z-index: 1; padding: 30px; color: #fff; }
.news-main .date { font-size: 12.5px; opacity: .75; letter-spacing: .14em; }
.news-main h3 { margin-top: 12px; font-size: 21px; font-weight: 700; line-height: 1.55; font-family: var(--serif); transition: color .25s; }
.news-main:hover h3 { color: var(--amber); }
.news-main .more2 { margin-top: 16px; font-size: 13.5px; color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }

.news-list { display: flex; flex-direction: column; }
.news-list .item {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 6px 15px 14px; border-bottom: 1px dashed var(--line);
  position: relative; transition: all .25s;
}
.news-list .item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
  border-radius: 2px; background: var(--red); transform: translateY(-50%); transition: height .3s;
}
.news-list .item:first-child { padding-top: 0; }
.news-list .item:last-child { border-bottom: none; padding-bottom: 0; }
.news-list .item:hover { background: rgba(226, 68, 46, .03); border-radius: 10px; }
.news-list .item:hover::before { height: 60%; }
.news-list .item .t { min-width: 0; font-size: 14.5px; color: var(--ink); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.news-list .item:hover .t { color: var(--red); }
.news-list .item time { font-size: 12.5px; color: var(--muted); flex-shrink: 0; background: var(--paper); border-radius: 999px; padding: 3px 12px; border: 1px solid var(--line); }

/* ---------- 校区 ---------- */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.campus {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; overflow: hidden; transition: all .32s;
}
.campus::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-red); opacity: 0; transition: opacity .3s;
}
.campus:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.campus:hover::before { opacity: 1; }
.campus .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(226,68,46,.08); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .35s; }
.campus:hover .ico { transform: translateY(-3px) scale(1.1); }
.campus .ico svg { width: 24px; height: 24px; }
.campus h3 { font-size: 18px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.campus .hot { font-size: 13.5px; color: var(--red); font-weight: 700; margin-top: 10px; display: block; }
.campus address { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.75; }
.campus .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--red); opacity: 0; transform: translateX(-6px); transition: all .3s; }
.campus:hover .go { opacity: 1; transform: translateX(0); }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--grad-ink); color: #fff;
  padding: clamp(40px, 5.5vw, 72px) clamp(28px, 5vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 30px 64px rgba(37, 102, 173, .26);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(240,161,59,.3), transparent 42%),
              radial-gradient(circle at 6% 90%, rgba(226,68,46,.28), transparent 40%);
}
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--amber); }
.cta .eyebrow::before, .cta .eyebrow::after { background: linear-gradient(90deg, transparent, var(--amber)); }
.cta .eyebrow::after { background: linear-gradient(90deg, var(--amber), transparent); }
.cta h3 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-top: 12px; }
.cta p { margin-top: 10px; font-size: 15px; opacity: .85; }
.cta .acts { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink-2); color: #c6d2e4; font-size: 14px; position: relative; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--red));
}
.footer .top { padding: clamp(48px, 5.5vw, 72px) 0 40px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 40px; }
.footer .brand .logo .mark { background: var(--grad-red); box-shadow: 0 8px 18px rgba(226,68,46,.3); }
.footer .brand .logo .name b { color: #fff; }
.footer .brand .logo .name small { color: #9db3cc; }
.footer .brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.95; color: #c6d2e4; max-width: 34em; }
.footer .brand .lic { margin-top: 14px; font-size: 12px; color: #a9bcd4; border: 1px dashed rgba(255,255,255,.22); border-radius: 8px; padding: 8px 12px; display: inline-block; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; letter-spacing: .1em; font-family: var(--serif); }
.footer h4::after { content: ""; display: block; width: 26px; height: 2px; margin-top: 10px; background: linear-gradient(90deg, var(--red), var(--amber)); }
.footer .links li { margin-bottom: 10px; }
.footer .links a { color: #c6d2e4; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: all .25s; }
.footer .links a::before { content: "›"; color: var(--amber); opacity: 0; transform: translateX(-4px); transition: all .25s; }
.footer .links a:hover { color: var(--amber); padding-left: 4px; }
.footer .links a:hover::before { opacity: 1; transform: translateX(0); }
.footer .contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: #c6d2e4; align-items: flex-start; }
.footer .contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 5px; color: var(--amber); }
.footer .contact .tel { font-size: 19px; font-weight: 800; color: var(--amber); font-family: var(--serif); }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; text-align: center; font-size: 12.5px; color: #9db3cc; }

/* ---------- 悬浮条 ---------- */
.fixed-bar { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.fixed-bar a {
  width: 46px; height: 46px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; transition: all .25s; position: relative;
}
.fixed-bar a::after {
  content: attr(aria-label);
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: all .25s;
  box-shadow: 0 8px 18px rgba(23, 75, 134, .25);
}
.fixed-bar a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.fixed-bar a:hover { background: var(--red); border-color: var(--red); }
.fixed-bar a:hover svg { stroke: #fff; }
.fixed-bar svg { width: 21px; height: 21px; stroke: var(--red); }
.to-top { opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { stroke: var(--ink); }

/* ---------- 内页横幅 ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-ink);
  padding: clamp(56px, 7vw, 92px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.6), transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.6), transparent 80%);
}
.page-hero::after {
  content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,161,59,.28), transparent 66%);
  filter: blur(10px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .crumbs { font-size: 13.5px; opacity: .8; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: var(--amber); }
.page-hero .crumbs .sep { opacity: .5; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; line-height: 1.25; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero p { margin-top: 14px; font-size: 15.5px; opacity: .85; max-width: 44em; }

/* ---------- 内页组件：筛选 chips ---------- */
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chips button {
  border: 1.5px solid var(--line); background: var(--card); color: var(--text);
  padding: 10px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: all .25s;
}
.chips button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.chips button.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(226,68,46,.3); }

/* ---------- 内页组件：时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), var(--amber)); }
.timeline .tl { position: relative; padding: 0 0 36px 28px; }
.timeline .tl:last-child { padding-bottom: 0; }
.timeline .tl::before {
  content: ""; position: absolute; left: -38px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--card); border: 4px solid var(--red);
  box-shadow: 0 0 0 6px rgba(226, 68, 46, .14);
}
.timeline .tl time { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .12em; }
.timeline .tl h3 { margin-top: 6px; font-size: 18px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.timeline .tl p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 40em; }

/* ---------- 内页组件：价值卡 ---------- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.values-grid .v {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; gap: 18px; align-items: flex-start; transition: all .3s;
}
.values-grid .v:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.values-grid .v .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.values-grid .v .ico svg { width: 26px; height: 26px; }
.values-grid .v h3 { font-size: 17px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.values-grid .v p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 内页组件：师资详情 ---------- */
.teacher-detail {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 52px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px); margin-bottom: 24px;
}
.teacher-detail .portrait {
  aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--blue-light), var(--blue));
  box-shadow: 0 18px 40px rgba(37, 102, 173, .22);
}
.teacher-detail .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher-detail .info h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); font-weight: 900; font-family: var(--serif); }
.teacher-detail .info .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.teacher-detail .info .tags span { font-size: 12.5px; background: rgba(226,68,46,.08); color: var(--red); border-radius: 999px; padding: 5px 14px; font-weight: 600; }
.teacher-detail .info p { margin-top: 16px; font-size: 14.5px; color: var(--text); }
.teacher-detail .info .books { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.teacher-detail .info .books span { font-size: 13px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 14px; color: var(--ink); background: var(--paper); }

/* ---------- 内页组件：新闻列表页 ---------- */
.news-page .n-item {
  display: flex; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 26px; margin-bottom: 16px; transition: all .28s;
}
.news-page .n-item:hover { box-shadow: var(--shadow-md); transform: translateX(5px); border-color: rgba(226,68,46,.35); }
.news-page .n-item .date { text-align: center; flex-shrink: 0; border-right: 1px solid var(--line); padding-right: 22px; min-width: 72px; }
.news-page .n-item .date b { display: block; font-family: var(--serif); font-size: 30px; color: var(--red); font-weight: 900; line-height: 1.1; }
.news-page .n-item .date span { font-size: 12.5px; color: var(--muted); }
.news-page .n-item h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; transition: color .2s; }
.news-page .n-item:hover h3 { color: var(--red); }
.news-page .n-item p { margin-top: 6px; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-page .n-item .cat { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--red); background: rgba(226,68,46,.08); border-radius: 999px; padding: 4px 14px; font-weight: 600; }

/* ---------- 内页组件：招生 banner ---------- */
.recruit-banner {
  border-radius: var(--r-lg); overflow: hidden; color: #fff; position: relative;
  background: var(--grad-ink); padding: clamp(32px, 4.5vw, 54px);
}
.recruit-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 25%, rgba(240,161,59,.3), transparent 45%),
              radial-gradient(circle at 8% 90%, rgba(226,68,46,.25), transparent 40%);
}
.recruit-banner > * { position: relative; z-index: 1; }
.recruit-banner h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.recruit-banner ul { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.recruit-banner li { font-size: 14.5px; display: flex; gap: 9px; align-items: center; }
.recruit-banner li::before { content: "✔"; color: var(--amber); font-weight: 800; font-size: 13px; }

/* ---------- 内页组件：FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 24px; margin-bottom: 14px; transition: all .25s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(226,68,46,.3); }
.faq summary {
  cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--red);
  transition: transform .3s; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { margin-top: 12px; font-size: 14px; color: var(--text); line-height: 1.9; }

/* ---------- 内页组件：联系表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 20px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.form-card p { margin-top: 6px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink);
  background: var(--card); transition: border .2s, box-shadow .2s; margin-bottom: 16px;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,68,46,.1); }
.form-card textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 4px; }

.info-list .il {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; margin-bottom: 14px; transition: all .25s;
}
.info-list .il:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.info-list .il .il-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(226,68,46,.08); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-list .il .il-ico svg { width: 22px; height: 22px; }
.info-list .il b { display: block; font-size: 15px; color: var(--ink); }
.info-list .il span { font-size: 13.5px; color: var(--muted); }

/* ---------- 动效 ---------- */
.reveal {}
.reveal.in { animation: fadeup .7s ease both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 24px) scale(1.08); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; margin-top: 10px; }
  .bento .b-main { grid-column: span 6; }
  .bento .b-2, .bento .b-3 { grid-column: span 3; }
  .bento .b-4, .bento .b-5, .bento .b-6 { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stats .divider { display: none; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .hero-teacher { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .process .row { grid-template-columns: repeat(2, 1fr); }
  .process .row::before { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .teacher-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .recruit-banner ul { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* 导航改抽屉：去掉 backdrop-filter，避免成为 fixed 抽屉菜单的 containing block */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav .container { height: 64px; gap: 10px; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .menu {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 160;
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px 18px 90px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), visibility .35s;
  }
  .menu.open { transform: translateX(0); visibility: visible; }
  .menu a {
    padding: 16px 12px; font-size: 16px; border-radius: 0;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
  }
  .menu a::after {
    content: "›"; position: static; transform: none; background: none;
    color: var(--muted); font-size: 18px; font-weight: 300;
  }
  .menu a:last-child { border-bottom: none; }
  .menu a.active { background: rgba(226,68,46,.06); }
  .menu a.active::before {
    content: ""; width: 4px; align-self: stretch; background: var(--red);
    margin-right: 10px; border-radius: 2px;
  }
  .menu-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 18px 0 0; padding: 15px 18px; border-radius: 12px;
    background: var(--grad-red); color: #fff !important; font-weight: 700; font-size: 16px;
    border-bottom: none !important; box-shadow: 0 12px 26px rgba(226,68,46,.3);
  }
  .menu-cta::after { content: none !important; }
  .logo .mark { width: 40px; height: 40px; font-size: 20px; }
  .logo .name b { font-size: 17px; }
  .logo .name small { font-size: 9px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { letter-spacing: 0; }
  .sec-head p { font-size: 14.5px; }

  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: clamp(28px, 7.4vw, 36px); line-height: 1.3; }
  .hero .acts { flex-direction: column; align-items: stretch; }
  .hero .acts .btn { justify-content: center; padding: 13px 24px; }
  .hero .trust { gap: 20px; }
  .hero-visual { min-height: 360px; }
  .main-card { width: 92%; }
  .float-card { padding: 12px 14px; }
  .float-card b { font-size: 15px; }
  .fc-1 { right: 0; top: 34%; }
  .fc-2 { left: 2%; bottom: 4%; }
  .fc-3 { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-main { grid-column: span 2; }
  .bento .b-2, .bento .b-3, .bento .b-4, .bento .b-5, .bento .b-6 { grid-column: span 1; }
  .course-card { padding: 22px 20px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .t-card { padding: 12px 12px 20px; }
  .campus-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-list .item { padding: 12px 4px 12px 12px; }
  .cta { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta .acts { justify-content: center; flex-direction: column; gap: 10px; }
  .cta .acts .btn { justify-content: center; }
  .footer .top { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 26px; }
  .footer .bottom { font-size: 12px; line-height: 1.85; padding: 16px 10px; }
  .hero-teacher { padding: 26px 20px; }
  .hero-teacher .who .name { font-size: 23px; gap: 10px; }
  .hero-teacher .who .facts { gap: 20px; }
  .hero-teacher .books ul { grid-template-columns: 1fr; }
  .process .row { grid-template-columns: 1fr; gap: 14px; }
  .news-page .n-item { flex-wrap: wrap; padding: 18px; gap: 12px; align-items: flex-start; }
  .news-page .n-item .date { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 10px; width: 100%; display: flex; align-items: baseline; gap: 8px; }
  .news-page .n-item .date b { font-size: 20px; }
  .news-page .n-item h3 { font-size: 15.5px; }
  .news-page .n-item .cat { margin-left: 0; }
  .recruit-banner { padding: 24px 20px; }
  .form-card { padding: 24px 20px; }
  .form-card .row { grid-template-columns: 1fr; gap: 0; }
  .form-card input, .form-card select, .form-card textarea { font-size: 16px; }
  .teacher-detail { padding: 22px; }
  .timeline { padding-left: 34px; }
  .timeline .tl { padding-left: 22px; }
  .timeline .tl::before { left: -32px; }
  .fixed-bar { right: 14px; bottom: 14px; }
  .fixed-bar a::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  body { font-size: 14.5px; }
  .section { padding: 44px 0; }
  .sec-head h2 { font-size: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-main, .bento .b-2, .bento .b-3, .bento .b-4, .bento .b-5, .bento .b-6 { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; }
  .float-card .fc-ico { width: 36px; height: 36px; }
  .float-card b { font-size: 14px; }
  .hero .trust .t-item b { font-size: 21px; }
  .chips button { padding: 8px 16px; font-size: 13.5px; }
}

/* ---------- 打印 & 辅助 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal.in { animation: none !important; }
}

/* ---------- 新闻详情页 ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article .a-head { text-align: center; margin-bottom: 34px; }
.article .a-cat { display: inline-block; font-size: 12.5px; color: #fff; background: var(--red); border-radius: 999px; padding: 4px 16px; font-weight: 600; letter-spacing: .08em; }
.article .a-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); font-weight: 900; line-height: 1.42; margin-top: 16px; }
.article .a-meta { margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.article .a-meta span + span::before { content: "·"; margin: 0 10px; color: var(--line); }
.article .a-cover {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px;
  aspect-ratio: 16/7; background: var(--grad-ink); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.article .a-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 18%, rgba(240,161,59,.3), transparent 44%),
              radial-gradient(circle at 12% 85%, rgba(226,68,46,.28), transparent 42%);
}
.article .a-cover .wm { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(80px, 12vw, 140px); font-weight: 900; color: rgba(255,255,255,.16); user-select: none; }
.article .prose { font-size: 15.5px; line-height: 2; color: var(--text); }
.article .prose p { margin-bottom: 20px; }
.article .prose h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 800; margin: 28px 0 14px; }
.article .prose blockquote { border-left: 4px solid var(--red); background: rgba(226,68,46,.05); padding: 14px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; color: var(--ink); font-size: 15px; }
.article .prose ul { margin: 14px 0 20px; }
.article .prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.article .prose li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.article .a-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 14px; font-weight: 600; color: var(--ink); transition: gap .25s, color .25s; }
.article .a-back:hover { color: var(--red); gap: 12px; }
.related { margin-top: 46px; padding-top: 30px; border-top: 1px dashed var(--line); }
.related h4 { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.related .r-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 4px; border-bottom: 1px dashed var(--line); transition: all .25s; }
.related .r-item:last-child { border-bottom: none; }
.related .r-item:hover { padding-left: 8px; }
.related .r-item span { font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.related .r-item:hover span { color: var(--red); }
.related .r-item time { font-size: 12.5px; color: var(--muted); flex-shrink: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

/* ---------- 校区单页 ---------- */
.campus-hero-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 48px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.campus-hero-card .info .t { font-size: 12.5px; font-weight: 700; letter-spacing: .28em; color: var(--red); }
.campus-hero-card .info h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); font-weight: 900; margin-top: 10px; }
.campus-hero-card .info .desc { margin-top: 12px; font-size: 14.5px; color: var(--text); line-height: 1.9; }
.campus-hero-card .info .rows { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.campus-hero-card .info .row { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); }
.campus-hero-card .info .row .rk { width: 38px; height: 38px; border-radius: 11px; background: rgba(77,148,230,.12); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.campus-hero-card .info .row .rk svg { width: 19px; height: 19px; }
.campus-hero-card .info .row b { font-weight: 700; }
.campus-hero-card .info .row span { color: var(--muted); font-size: 13.5px; }
.campus-hero-card .info .row .tel-big { font-size: 21px; font-weight: 900; color: var(--red); font-family: var(--serif); }
.campus-hero-card .info .acts { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.map-box { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(160deg, #eaf3fd, #d8e9fb); box-shadow: 0 16px 36px rgba(37,102,173,.18); }
.map-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-box .pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map-box .pin svg { width: 34px; height: 34px; color: var(--red); filter: drop-shadow(0 4px 8px rgba(226,68,46,.4)); }
.map-box .pin b { background: var(--card); color: var(--ink); font-size: 12.5px; padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.map-box .map-tip { position: absolute; left: 12px; bottom: 12px; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 12px; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.route { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 22px; transition: all .3s; }
.route:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(77,148,230,.4); }
.route .ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(77,148,230,.12); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.route .ico svg { width: 23px; height: 23px; }
.route h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; font-family: var(--serif); }
.route p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

@media (max-width: 1024px) {
  .campus-hero-card { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .route-grid { grid-template-columns: 1fr; }
  .article .a-cover { aspect-ratio: 16/9; }
  .campus-hero-card .info .acts .btn { flex: 1; justify-content: center; }
}

/* ---------- 课程详情页 ---------- */
.course-meta { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.course-meta .cm-price { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.course-meta .cm-price .lbl { font-size: 12px; color: var(--muted); letter-spacing: .26em; }
.course-meta .cm-price .val { font-family: var(--serif); font-size: 38px; font-weight: 900; color: var(--red); line-height: 1.3; }
.course-meta .cm-price .val small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.course-meta ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.course-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.course-meta li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.course-meta .cm-acts { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.course-meta .cm-acts .btn { width: 100%; justify-content: center; }

.syllabus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.syllabus .mod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; position: relative; overflow: hidden; transition: all .3s;
}
.syllabus .mod::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-ink); opacity: .85; }
.syllabus .mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.syllabus .mod .n { font-family: var(--serif); font-size: 14px; font-weight: 900; color: var(--blue-deep); letter-spacing: .12em; }
.syllabus .mod h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 800; margin-top: 10px; }
.syllabus .mod p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.syllabus .mod ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.syllabus .mod li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--text); }
.syllabus .mod li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.syllabus .mod li b { color: var(--ink); font-weight: 700; }

@media (max-width: 1024px) {
  .syllabus { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .course-meta { padding: 22px 18px; }
}

/* ========== EyouCMS 动态页附加样式 ========== */
/* 课程 Bento：channel 循环首卡大卡，其余 2 列小卡 */
.bento .course-card { grid-column: span 2; }
.bento .course-card:first-child {
  grid-column: span 6; grid-row: span 2;
  background: var(--grad-ink); color: #fff; border: none;
}
.bento .course-card:first-child::before { display: none; }
.bento .course-card:first-child::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 14%, rgba(240,161,59,.3), transparent 46%),
              radial-gradient(circle at 10% 92%, rgba(226,68,46,.26), transparent 42%);
}
.bento .course-card:first-child > * { position: relative; z-index: 1; }
.bento .course-card:first-child .cc-ico { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.bento .course-card:first-child h3 { color: #fff; font-size: 23px; }
.bento .course-card:first-child p { color: rgba(255,255,255,.82); }
.bento .course-card:first-child .tags span { background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.28); }
.bento .course-card:first-child .cc-foot .price { color: rgba(255,255,255,.7); }
.bento .course-card:first-child .cc-foot .price b { color: var(--amber); }
.bento .course-card:first-child .cc-foot a { color: var(--amber); }

/* 列表页 */
.art-list { display: flex; flex-direction: column; max-width: 880px; margin: 0 auto; }
.art-list .art-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 6px 16px 16px; border-bottom: 1px dashed var(--line);
  position: relative; transition: all .25s;
}
.art-list .art-item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
  border-radius: 2px; background: var(--red); transform: translateY(-50%); transition: height .3s;
}
.art-list .art-item:last-child { border-bottom: none; }
.art-list .art-item:hover { background: rgba(226,68,46,.03); border-radius: 10px; }
.art-list .art-item:hover::before { height: 62%; }
.art-list .art-item .t { font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.art-list .art-item:hover .t { color: var(--red); }
.art-list .art-item time { font-size: 12.5px; color: var(--muted); flex-shrink: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 38px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
  color: var(--text); font-size: 14px; padding: 0 10px; transition: all .25s;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current, .pagination .on, .pagination .hover { background: var(--red); border-color: var(--red); color: #fff; }
.pagination span[class]:not(.current):not(.on) { color: var(--muted); }

/* 详情页 */
.art-detail { max-width: 880px; margin: 0 auto; }
.art-detail .ad-head { text-align: center; margin-bottom: 30px; }
.art-detail .ad-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); font-weight: 900; line-height: 1.42; }
.art-detail .ad-meta { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.art-detail .ad-body { font-size: 15.5px; line-height: 2; color: var(--text); }
.art-detail .ad-body p { margin-bottom: 18px; }
.art-detail .ad-body img { border-radius: 12px; margin: 16px auto; }
.art-detail .ad-body h3 { font-family: var(--serif); color: var(--ink); margin: 22px 0 10px; }
.art-detail .ad-nav {
  margin-top: 36px; padding-top: 20px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px;
}
.art-detail .ad-nav a { color: var(--ink); transition: color .2s; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-detail .ad-nav a:hover { color: var(--red); }

/* 单页 */
.single-box {
  max-width: 880px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.single-box .s-head { text-align: center; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.single-box .s-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); color: var(--ink); font-weight: 900; }
.single-box .s-body { font-size: 15.5px; line-height: 2.1; color: var(--text); }
.single-box .s-body h3 { font-family: var(--serif); color: var(--ink); margin: 20px 0 10px; font-size: 19px; }
.single-box .s-body p { margin-bottom: 14px; }
.single-box .s-body ul { margin: 12px 0 18px; }
.single-box .s-body li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.single-box .s-body li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .course-card { grid-column: span 1; }
  .bento .course-card:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .bento .course-card:first-child { grid-column: span 1; }
  .art-list .art-item time { display: none; }
}

/* 详情页照片区（名师/校区/课程详情 litpic） */
.ad-cover { margin: 0 auto 26px; max-width: 640px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.ad-cover img { width: 100%; height: auto; display: block; }
/* 列表页缩略图 */
.art-list .art-item { gap: 14px; }
.art-list .art-item .thumb { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--paper); border: 1px solid var(--line); }
.art-list .art-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 480px) { .art-list .art-item .thumb { width: 72px; height: 72px; } }

/* 名师列表卡链接化（t-card 作为 <a>） */
a.t-card.t-link { display: block; color: inherit; text-decoration: none; }
a.t-card.t-link:hover { color: inherit; }

/* 招生就业等全宽单页内容区 */
.page-body { font-size: 15.5px; line-height: 2; color: var(--text); }
.page-body > h3 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); font-weight: 800; text-align: center; margin: 48px 0 24px; }
.page-body > h3::after { content: ""; display: block; width: 42px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--amber)); }
.page-body p { margin-bottom: 14px; }
.page-body ul { margin: 14px 0 20px; }
.page-body li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.page-body li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.page-body .recruit-banner { margin-top: 8px; }
.page-body .faq { margin-top: 12px; }

/* 关于页：左右分栏 + 视觉卡 + 特性（about.html 设计） */
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split .txt p { margin-top: 16px; color: var(--text); font-size: 15.5px; }
.split .feat { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.split .feat li { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink); font-weight: 500; }
.split .feat svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.split .visual { position: relative; border-radius: 24px; overflow: hidden; background: var(--grad-ink); aspect-ratio: 4/3.4; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px rgba(37,102,173,.28); }
.split .visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 15%, rgba(240,161,59,.35), transparent 46%), radial-gradient(circle at 15% 90%, rgba(226,68,46,.3), transparent 42%); }
.split .visual .big { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(90px, 14vw, 150px); font-weight: 900; color: rgba(255,255,255,.16); }
.split .visual .badge { position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 2; background: rgba(255,255,255,.94); border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 12px 30px rgba(23,75,134,.22); }
.split .visual .badge b { display: block; color: var(--ink); font-size: 14.5px; }
.split .visual .badge span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .visual { aspect-ratio: 4/3; } }
@media (max-width: 480px) { .split .feat { grid-template-columns: 1fr; } }

/* 课程卡链接化 + 相关课程 3 列 */
a.course-card.c-card { display: flex; color: inherit; text-decoration: none; }
a.course-card.c-card:hover { color: inherit; }
.course-card .go-link { font-size: 13.5px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 5px; transition: gap .3s; }
.course-card:hover .go-link { gap: 9px; }
.course-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .course-grid-3 { grid-template-columns: 1fr; } }

/* ===== 移动端专属（mobile 模板） ===== */
/* 底部 Tab 导航栏 */
.m-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  display: flex; align-items: stretch;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(37,102,173,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.m-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.m-tabbar a svg { width: 22px; height: 22px; transition: transform .25s; }
.m-tabbar a:active svg { transform: scale(.92); }
.m-tabbar a.active { color: var(--red); }
.m-tabbar a.active svg { stroke: var(--red); }
.m-tabbar .tab-call {
  flex: 1.2; margin: -14px 10px 0; border-radius: 16px 16px 10px 10px;
  background: linear-gradient(135deg, #f0543a, #b92c1a);
  color: #fff !important; box-shadow: 0 8px 20px rgba(226,68,46,.35);
  padding: 9px 0 7px;
}
.m-tabbar .tab-call svg { stroke: #fff; }
.m-tabbar .tab-call span { font-size: 12px; font-weight: 700; }

/* 移动端精简页脚 */
.m-footer { padding: 26px 18px 84px; text-align: center; background: var(--ink-2); color: #9db3cc; font-size: 12.5px; line-height: 1.9; }
.m-footer .mf-brand { font-family: var(--serif); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.m-footer .mf-sub { color: #7f96b0; font-size: 11.5px; letter-spacing: .12em; margin-top: 2px; }
.m-footer .mf-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 800; font-size: 19px; margin: 10px 0 6px; }
.m-footer .mf-tel svg { width: 18px; height: 18px; }
.m-footer .mf-addr { opacity: .75; }
.m-footer .mf-lic { margin-top: 10px; opacity: .55; font-size: 11px; border-top: 1px dashed rgba(255,255,255,.15); padding-top: 12px; }

/* 移动端固定底部占用空间 */
@media (max-width: 900px) {
  .m-footer { padding-bottom: 84px; }
}

/* 移动端悬浮按钮避开底部 Tab 栏 */
@media (max-width: 900px) {
  .fixed-bar { bottom: 78px; }
}

/* 修正：.page-body 通用 ✓ 与 .feat/.recruit-banner 自带图标重复 */
.page-body .feat li::before,
.page-body .recruit-banner li::before,
.page-body .process li::before { content: none; }

/* ===== PC 端老模板页脚（恢复旧站浅色风格，仅 PC 模板使用） ===== */
.old-footer { width: 100%; background-color: #f9f9f9; border-top: 1px solid #c9c9c9; margin-top: 30px; padding-top: 15px; font-size: 14px; color: #333; }
.old-footer .clearfix:before, .old-footer .clearfix:after { content: ""; display: table; }
.old-footer .clearfix:after { clear: both; }
.old-footer .left { float: left; }
.old-footer .right { float: right; }
.old-footer h4 { height: 28px; line-height: 28px; border-left: 3px solid #4f4f4f; padding-left: 9px; font-weight: bold; margin-bottom: 10px; color: #333; }
.old-footer .flink { margin-bottom: 15px; }
.old-footer .flink .linklist { padding: 5px 0 15px; }
.old-footer .flink .linklist li { display: inline-block; margin-right: 12px; }
.old-footer .flink .linklist a { font-size: 16px; color: #333; }
.old-footer .flink .linklist a:hover { color: #ca2324; }
.old-footer .aboutlink { width: 110px; margin-right: 160px; }
.old-footer .aboutlink a { display: block; padding-left: 8px; margin-bottom: 12px; font-size: 16px; color: #333; }
.old-footer .aboutlink a:hover { color: #ca2324; }
.old-footer .ewmlist { width: 570px; float: left; }
.old-footer .ewmlist .con { width: 120px; margin-right: 64px; float: left; text-align: center; font-size: 16px; }
.old-footer .ewmlist .con p { height: 48px; line-height: 24px; margin-bottom: 5px; color: #333; }
.old-footer .ewmlist .con.wbcon p { line-height: 48px; }
.old-footer .ewmlist .con img { max-width: 120px; }
.old-footer .contact { padding-left: 20px; width: 200px; margin-top: 45px; }
.old-footer .contact p { font-size: 18px; color: #333; }
.old-footer .contact p.tel { color: #ca2324; font-size: 24px; }
.old-footer .banquan { text-align: center; border-top: 1px solid #cec3c7; padding: 25px 0; }
.old-footer .banquan p { margin-bottom: 10px; line-height: 1.4; }
.old-footer .banquan p a { padding: 0 8px; color: #333; }
.old-footer .banquan p a:hover { color: #ca2324; }
@media (max-width: 1200px) { .old-footer .ewmlist { width: 430px; } .old-footer .ewmlist .con { margin-right: 28px; } }
