/* =========================================================
   暖洋葱教育 · 复刻版 样式表
   设计灵感：Travelbu 暖奶油 + 橙红主色 + 大圆角 + 柔阴影
   ========================================================= */

:root {
  /* 主色：青蓝（蒂芙尼蓝，参照 nycjy.cn 品牌色） */
  --color-primary: #25A2B6;
  --color-primary-hover: #1C7C8B;
  --color-primary-soft: #DBEEF2;     /* 主色淡底 */
  --color-primary-deep: #0A2F36;      /* 深墨青（强调文字） */

  /* 背景 */
  --bg-cream: #F5F8FA;                /* 页面浅冷底 */
  --bg-white: #FFFFFF;
  --bg-soft: #F8F8F9;                 /* 分块灰底 */
  --bg-dark: #0D1838;                 /* 页脚深藏蓝 */

  /* 文字 */
  --text-dark: #0B1636;               /* 标题深藏蓝 */
  --text-base: #333333;               /* 正文 */
  --text-sub: #888888;                /* 辅助文字 */
  --text-on-dark: #FFFFFF;            /* 深色背景上的字 */
  --text-on-dark-sub: #8189A5;        /* 深底辅助文字 */

  /* 边框 / 分割 */
  --border-soft: #E5E8EC;

  /* 圆角 */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* 阴影（藏蓝色调） */
  --shadow-sm: 0 4px 14px rgba(13, 24, 56, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 24, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 24, 56, 0.12);

  /* 间距 */
  --section-y: 50px;
  --container: 1200px;

  /* 过渡 */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-base);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--color-primary); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 4.2vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p  { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* -------- Button -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 162, 182, .28);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 162, 182, .36);
}
.btn-ghost {
  background: rgba(255,255,255,.85);
  color: var(--text-dark);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; color: var(--color-primary); }
.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* -------- Navbar -------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--border-soft); }
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  font-size: 15px;
  color: var(--text-base);
  position: relative;
  padding: 6px 0;
}
.nav-menu a.active,
.nav-menu a:hover { color: var(--color-primary); }
.nav-menu a.active::after {
  content: '';
  position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--color-primary);
}
.nav-toggle { display: none; font-size: 22px; color: var(--text-dark); }

@media (max-width: 880px) {
  .nav-menu {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px 28px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    gap: 14px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* -------- Section Heading -------- */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  margin-bottom: 10px;
  color: var(--text-dark);
}
.section-head p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 15px;
}
.section-head.left { text-align: left; }
.section-head.left p { margin: 0; }

/* =========================================================
   首页 (page-home)
   ========================================================= */

/* Hero */
.page-home .hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(37, 162, 182, .14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(13, 24, 56, .05), transparent 60%);
}
.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.page-home .hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
}
.page-home .hero h1 strong {
  color: var(--color-primary);
  font-weight: 800;
}
.page-home .hero-desc {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 32px;
  max-width: 540px;
}
.page-home .hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.page-home .hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px dashed var(--border-soft);
}
.page-home .hero-stats .stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.page-home .hero-stats .stat-num span {
  color: var(--color-primary);
}
.page-home .hero-stats .stat-label {
  font-size: 13px;
  color: var(--text-sub);
}
.page-home .hero-visual {
  position: relative;
}
.page-home .hero-img {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 5/6;
  box-shadow: var(--shadow-lg);
}
.page-home .hero-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-home .hero-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.page-home .hero-float .f-icon {
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-size: 20px; flex: none;
}
.page-home .hero-float .f-title {
  font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px;
}
.page-home .hero-float .f-sub {
  font-size: 12px; color: var(--text-sub);
}
.page-home .hero-float.tl { top: 36px; left: -32px; }
.page-home .hero-float.br { bottom: 48px; right: -24px; }
.page-home .hero-float.sc { bottom: 180px; left: -48px; max-width: 240px; }

@media (max-width: 960px) {
  .page-home .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-home .hero-img { aspect-ratio: 5/4; max-width: 520px; margin: 0 auto; }
  .page-home .hero-float.tl, .page-home .hero-float.sc { left: 8px; }
  .page-home .hero-float.br { right: 8px; }
  .page-home .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
}

/* Partners / "As seen in" */
.page-home .partners {
  padding: 40px 0 20px;
  margin-top: -40px;
  position: relative;
  z-index: 90;
}
.page-home .partners-card {
  background: var(--bg-white);
  border-radius: 28px;
  padding: 40px 60px 60px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.page-home .partners-title {
  text-align: center;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.page-home .partners-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  align-items: center;
  opacity: .75;
}
.page-home .partners-logos .plogo {
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  font-size: 18px;
  letter-spacing: -.01em;
}
.page-home .partners-logos .plogo .plogo-circle {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}
.page-home .partners-logos .plogo .plogo-circle img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}
.page-home .partners-logos .plogo small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: .1em;
  margin-top: 4px;
}

/* 荣誉奖项 */
.page-home .awards-section {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-home .awards-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}
.page-home .awards-viewport {
  flex: 1;
  overflow: hidden;
  padding: 40px 0 60px;
}
.page-home .awards-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  height: 360px;
  perspective: none;
  perspective-origin: center center;
}
.page-home .award-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), opacity .55s var(--ease), box-shadow .55s var(--ease);
  transform-origin: center center;
  margin-left: -190px;
  margin-top: -160px;
  opacity: 0;
  transform: translateX(0) scale(.7);
  cursor: pointer;
  backface-visibility: hidden;
}
.page-home .award-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .award-item .award-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
  letter-spacing: .02em;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.page-home .award-item.is-center {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.page-home .award-item.is-center .award-caption { opacity: 1; }
.page-home .award-item.is-adj-l {
  transform: translateX(-70%) scale(.88);
  z-index: 3;
  opacity: .9;
}
.page-home .award-item.is-adj-r {
  transform: translateX(70%) scale(.88);
  z-index: 3;
  opacity: .9;
}
.page-home .award-item.is-outer-l {
  transform: translateX(-125%) scale(.72);
  z-index: 1;
  opacity: .55;
}
.page-home .award-item.is-outer-r {
  transform: translateX(125%) scale(.72);
  z-index: 1;
  opacity: .55;
}
.page-home .award-item.is-hidden { opacity: 0; pointer-events: none; }
.page-home .awards-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.page-home .awards-arrow:hover {
  background: var(--color-primary-dark, #c8552a);
  transform: scale(1.08);
}
@media (max-width: 760px) {
  .page-home .awards-arrow { width: 40px; height: 40px; font-size: 18px; }
  .page-home .awards-track { height: 240px; }
  .page-home .award-item { width: 200px; height: 180px; margin-left: -100px; margin-top: -90px; }
  .page-home .award-item .award-caption { font-size: 13px; padding: 10px 12px 12px; }
  .page-home .award-item.is-adj-l { transform: translateX(-58%) scale(.85); }
  .page-home .award-item.is-adj-r { transform: translateX(58%) scale(.85); }
  .page-home .award-item.is-outer-l { transform: translateX(-108%) scale(.7); }
  .page-home .award-item.is-outer-r { transform: translateX(108%) scale(.7); }
}

/* 特色优势 轮播 */
.page-home .feature-carousel {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.page-home .fc-track {
  position: relative;
  min-height: 560px;
}
.page-home .fc-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s var(--ease);
}
.page-home .fc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
/* 文字入场动画 */
.page-home .fc-slide .fc-text > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.page-home .fc-slide.is-active .fc-text > * {
  opacity: 1;
  transform: translateY(0);
}
.page-home .fc-slide.is-active .fc-text > *:nth-child(1) { transition-delay: .15s; }
.page-home .fc-slide.is-active .fc-text > *:nth-child(2) { transition-delay: .25s; }
.page-home .fc-slide.is-active .fc-text > *:nth-child(3) { transition-delay: .35s; }
.page-home .fc-slide.is-active .fc-text > *:nth-child(4) { transition-delay: .45s; }
.page-home .fc-slide.is-active .fc-text > *:nth-child(5) { transition-delay: .55s; }
.page-home .fc-text .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(138, 138, 138, 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.page-home .fc-text h2 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 22px;
}
.page-home .fc-text h2 span { color: var(--color-primary); }
.page-home .fc-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 28px;
  max-width: 500px;
}
.page-home .fc-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}
.page-home .fc-cta .btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid rgba(0,0,0,.1);
}
.page-home .fc-cta .btn-ghost:hover {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.page-home .fc-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.page-home .fc-stats > div b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.page-home .fc-stats > div span {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
  margin-left: 2px;
}
.page-home .fc-stats > div em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
  letter-spacing: .04em;
}
/* 图片与浮动卡 */
.page-home .fc-visual {
  position: relative;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .fc-img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(60, 30, 0, .25);
  opacity: 0;
  transform: scale(.92) translateY(20px);
  transition: opacity .7s var(--ease) .2s, transform .7s var(--ease) .2s;
}
.page-home .fc-img-ip {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: scale(.92) translateY(20px);
  transition: opacity .7s var(--ease) .2s, transform .7s var(--ease) .2s;
}
.page-home .fc-slide.is-active .fc-img {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.page-home .fc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .fc-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -8px rgba(60, 30, 0, .18);
  font-size: 13px;
  line-height: 1.3;
  z-index: 2;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.page-home .fc-float b {
  display: block;
  font-weight: 700;
  color: var(--text-main);
}
.page-home .fc-float em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}
.page-home .fc-float .ff-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.page-home .fc-float .ff-ico svg { width: 18px; height: 18px; display: block; }
.page-home .fc-float-1 { top: 6%;   left: -20px; }
.page-home .fc-float-2 { top: 46%;  left: -50px; }
.page-home .fc-float-3 { bottom: 8%; right: -10px; }
.page-home .fc-slide.is-active .fc-float-1 { opacity: 1; transform: scale(1); transition-delay: .65s; }
.page-home .fc-slide.is-active .fc-float-2 { opacity: 1; transform: scale(1); transition-delay: .8s;  }
.page-home .fc-slide.is-active .fc-float-3 { opacity: 1; transform: scale(1); transition-delay: .95s; }
/* 离开动画 */
.page-home .fc-slide:not(.is-active) .fc-float {
  transform: scale(.6) translateY(-12px);
  transition-delay: 0s !important;
}
/* 圆点导航 */
.page-home .fc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.page-home .fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width .3s var(--ease), background .3s var(--ease);
}
.page-home .fc-dot.is-active {
  width: 28px;
  border-radius: 6px;
  background: var(--color-primary);
}
@media (max-width: 980px) {
  .page-home .fc-track { min-height: auto; }
  .page-home .fc-slide { grid-template-columns: 1fr; gap: 48px; position: relative; opacity: 1; pointer-events: auto; display: none; }
  .page-home .fc-slide.is-active { display: grid; }
  .page-home .fc-text h2 { font-size: 34px; }
  .page-home .fc-visual { min-height: 380px; }
  .page-home .fc-img { height: 380px; }
  .page-home .fc-float-1 { left: 0; }
  .page-home .fc-float-2 { left: 10px; }
  .page-home .fc-float-3 { right: 0; }
}

/* Course Cards (推荐课程) */
.page-home .courses-section {
  padding: 50px 0;
  background: var(--bg-white);
  position: relative;
  z-index: 1;
}
.page-home .course-carousel {
  position: relative;
  margin: 0 -40px;
  padding: 10px 40px 24px;
  overflow: hidden;
}
.page-home .course-track {
  display: flex;
  gap: 28px;
  transition: transform .5s var(--ease);
}
.page-home .course-card {
  flex: 0 0 340px;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.page-home .course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.page-home .course-card .cover {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.page-home .course-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.page-home .course-card:hover .cover img { transform: scale(1.05); }
.page-home .course-card .body {
  padding: 24px 24px 28px;
}
.page-home .course-card .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.page-home .course-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.page-home .course-card .slogan {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.page-home .course-card .target {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.page-home .course-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}
.page-home .course-card .more-link:hover { color: var(--color-primary); gap: 10px; }
.page-home .course-nav {
  display: flex; justify-content: space-between;
  margin-top: 20px;
}
.page-home .course-nav .arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.page-home .course-nav .arrow:hover { background: var(--color-primary-hover); }

/* Feature (图片 + 文字 双列) */
.page-home .feature-section {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-home .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.page-home .feature-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.page-home .feature-img img { width: 100%; height: 100%; object-fit: cover; }
.page-home .feature-float {
  position: absolute;
  right: -20px;
  bottom: 40px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 230px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
}
.page-home .feature-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.page-home .feature-points .fp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-base);
}
.page-home .feature-points .fp-icon {
  width: 28px; height: 28px;
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex: 0 0 28px;
}
.page-home .feature-points .fp-icon svg { width: 15px; height: 15px; display: block; }
@media (max-width: 960px) {
  .page-home .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-home .feature-img { max-width: 480px; }
}

/* How it works (3步骤) */
.page-home .how-section {
  padding: var(--section-y) 0;
  background: var(--bg-white);
}
.page-home .how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}
.page-home .how-grid::before {
  content: '';
  position: absolute;
  top: 42px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-soft) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.page-home .how-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.page-home .how-item .num {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--color-primary);
  font-size: 28px;
  font-weight: 800;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  box-shadow: inset 0 0 0 6px #fff;
}
.page-home .how-item h3 { font-size: 18px; margin-bottom: 8px; }
.page-home .how-item p {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 260px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .page-home .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-home .how-grid::before { display: none; }
}

/* Stats / Testimonials */
.page-home .stats-section {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-home .stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 80px;
}
.page-home .stats-row .stat {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--border-soft);
}
.page-home .stats-row .stat:last-child { border-right: none; }
.page-home .stats-row .s-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.page-home .stats-row .s-label {
  font-size: 13px;
  color: var(--text-sub);
}
@media (max-width: 960px) {
  .page-home .stats-row { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .page-home .stats-row .stat { border-right: none; border-bottom: 1px dashed var(--border-soft); padding-bottom: 20px; }
  .page-home .stats-row .stat:nth-child(n+4) { border-bottom: none; padding-bottom: 0; }
}

.page-home .testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-home .testi-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease);
}
.page-home .testi-card:hover { transform: translateY(-4px); }
.page-home .testi-card .stars { color: #F3B431; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.page-home .testi-card .quote {
  font-size: 14px;
  color: var(--text-base);
  margin-bottom: 22px;
  min-height: 96px;
}
.page-home .testi-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-home .testi-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-weight: 700;
  flex: none;
}
.page-home .testi-card .name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.page-home .testi-card .role { font-size: 12px; color: var(--text-sub); }
@media (max-width: 900px) {
  .page-home .testi-grid { grid-template-columns: 1fr; }
}

/* CTA 深色横条 */
.page-home .cta-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.page-home .cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.page-home .cta-section h2 {
  color: var(--text-on-dark);
  font-size: clamp(26px, 3vw, 38px);
}
.page-home .cta-section p {
  color: rgba(255, 255, 255, .72);
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.8;
}
.page-home .cta-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.page-home .cta-imgs div {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-home .cta-imgs img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 900px) {
  .page-home .cta-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   通用页面：Page Header
   ========================================================= */
.page-header {
  padding: 90px 0 80px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37, 162, 182, .12), transparent 60%),
    var(--bg-cream);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.page-header .crumb {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.page-header .crumb a:hover { color: var(--color-primary); }
.page-header .crumb span { margin: 0 8px; color: var(--color-primary); }
.page-header h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.page-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 16px;
}

/* =========================================================
   课程产品 (page-courses)
   ========================================================= */
.page-courses .filter-bar {
  padding: 32px 0 0;
  background: var(--bg-cream);
}
.page-courses .filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto;
}
.page-courses .filter-tabs .tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-base);
  transition: all .25s var(--ease);
}
.page-courses .filter-tabs .tab.active,
.page-courses .filter-tabs .tab:hover {
  background: var(--color-primary);
  color: #fff;
}
.page-courses .courses-list {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-courses .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .page-courses .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .page-courses .courses-grid { grid-template-columns: 1fr; } }

.page-courses .course-detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.page-courses .course-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.page-courses .course-detail-card .cover {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.page-courses .course-detail-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.page-courses .course-detail-card:hover .cover img { transform: scale(1.06); }
.page-courses .course-detail-card .cover .badge-tag {
  position: absolute; left: 16px; top: 16px;
  padding: 5px 12px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.page-courses .course-detail-card .body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-courses .course-detail-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.page-courses .course-detail-card .slogan {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}
.page-courses .course-detail-card .feat-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 14px;
  color: var(--text-base);
}
.page-courses .course-detail-card .feat-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  border-bottom: 1px dashed var(--border-soft);
}
.page-courses .course-detail-card .feat-list li:last-child { border-bottom: none; }
.page-courses .course-detail-card .feat-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.page-courses .course-detail-card .target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  padding: 6px 12px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  align-self: flex-start;
}
.page-courses .course-detail-card .target .tg-ico {
  width: 14px; height: 14px;
  color: var(--color-primary);
  flex: 0 0 14px;
  display: block;
}
.page-courses .course-detail-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
}
.page-courses .course-detail-card .price {
  font-size: 14px;
  color: var(--text-sub);
}
.page-courses .course-detail-card .price strong {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 800;
  margin-right: 4px;
}

/* =========================================================
   动态新闻 (page-news)
   ========================================================= */
.page-news .news-section {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .page-news .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .page-news .news-grid { grid-template-columns: 1fr; } }

.page-news .news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.page-news .news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.page-news .news-card .cover { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.page-news .news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.page-news .news-card:hover .cover img { transform: scale(1.06); }
.page-news .news-card .cover .cat {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 12px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.page-news .news-card .body { padding: 22px 24px 26px; }
.page-news .news-card .meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.page-news .news-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.page-news .news-card .excerpt {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.page-news .news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.page-news .news-card .more:hover { gap: 10px; }

.page-news .news-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
@media (max-width: 860px) {
  .page-news .news-featured { grid-template-columns: 1fr; grid-column: auto; }
}
.page-news .news-featured .cover { aspect-ratio: auto; min-height: 360px; }
.page-news .news-featured .cover img { width: 100%; height: 100%; object-fit: cover; }
.page-news .news-featured .body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.page-news .news-featured .body .cat { margin-bottom: 18px; }
.page-news .news-featured .body h3 { font-size: 28px; margin-bottom: 18px; }
.page-news .news-featured .body .excerpt { font-size: 15px; margin-bottom: 26px; -webkit-line-clamp: 4; }

/* Pagination */
.page-news .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.page-news .pagination .pnum {
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--bg-white);
  color: var(--text-base);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
}
.page-news .pagination .pnum:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.page-news .pagination .pnum.active { background: var(--color-primary); color: #fff; }

/* =========================================================
   售后服务 (page-service)
   ========================================================= */
.page-service .service-process {
  padding: var(--section-y) 0 60px;
  background: var(--bg-cream);
}
.page-service .process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 980px) { .page-service .process-grid { grid-template-columns: repeat(2, 1fr); } }
.page-service .process-step {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.page-service .process-step .icon {
  width: 64px; height: 64px;
  color: var(--color-primary);
  display: grid; place-items: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.page-service .process-step .step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.page-service .process-step h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.page-service .process-step p {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0;
}

.page-service .service-guarantee {
  padding: 0 0 var(--section-y);
  background: var(--bg-cream);
}
.page-service .guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .page-service .guarantee-grid { grid-template-columns: repeat(2, 1fr); } }
.page-service .guarantee-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-primary);
}
.page-service .guarantee-card .icon {
  width: 52px; height: 52px;
  color: var(--color-primary);
  display: grid; place-items: center;
  margin: 0 auto 14px;
  background: var(--color-primary-soft);
  border-radius: 14px;
}
.page-service .guarantee-card .icon svg {
  width: 28px; height: 28px;
  display: block;
}
.page-service .guarantee-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.page-service .guarantee-card p {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0;
}

.page-service .faq-section {
  padding: var(--section-y) 0;
  background: var(--bg-white);
}
.page-service .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .page-service .faq-grid { grid-template-columns: 1fr; } }
.page-service .faq-aside {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: sticky;
  top: 100px;
}
.page-service .faq-aside h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.page-service .faq-aside p { font-size: 14px; opacity: .9; margin-bottom: 28px; }
.page-service .faq-aside .contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.page-service .faq-aside .contact-line .ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: grid; place-items: center;
  color: #fff;
}
.page-service .faq-aside .contact-line .ic svg { width: 20px; height: 20px; display: block; }
.page-service .faq-aside .contact-line .lb { font-size: 12px; opacity: .8; }
.page-service .faq-aside .contact-line .val { font-size: 16px; font-weight: 700; }

.page-service .faq-list { display: flex; flex-direction: column; gap: 16px; }
.page-service .faq-item {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 4px 0;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.page-service .faq-item.open { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.page-service .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  gap: 16px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}
.page-service .faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 400;
  transition: transform .25s var(--ease);
}
.page-service .faq-item.open .faq-q::after { transform: rotate(45deg); }
.page-service .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
  padding: 0 22px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}
.page-service .faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 22px 20px;
}

/* =========================================================
   关于我们 (page-about)
   ========================================================= */
.page-about .about-intro {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
.page-about .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .page-about .intro-grid { grid-template-columns: 1fr; } }
.page-about .intro-img {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.page-about .intro-img img { width: 100%; height: 100%; object-fit: cover; }
.page-about .intro-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.page-about .intro-text h2 { margin-bottom: 20px; }
.page-about .intro-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-base);
  margin-bottom: 16px;
}
.page-about .intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-soft);
}
.page-about .intro-stats .s .n {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
}
.page-about .intro-stats .s .l {
  font-size: 12px;
  color: var(--text-sub);
}

/* 发展历程 */
.page-about .timeline-section {
  padding: var(--section-y) 0;
  background: var(--bg-white);
}
.page-about .timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 36px;
}
.page-about .timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border-soft);
}
.page-about .timeline-item {
  position: relative;
  padding: 6px 0 36px 36px;
}
.page-about .timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px var(--color-primary-soft);
}
.page-about .timeline-item .year {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.page-about .timeline-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.page-about .timeline-item p {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0;
}

/* 名师团队 */
:where(.page-about, .page-home) .teachers-section {
  padding: var(--section-y) 0;
  background: var(--bg-cream);
}
:where(.page-about, .page-home) .teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 980px) { :where(.page-about, .page-home) .teachers-grid { grid-template-columns: repeat(2, 1fr); } }
:where(.page-about, .page-home) .t-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
:where(.page-about, .page-home) .t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
:where(.page-about, .page-home) .t-card .avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
}
:where(.page-about, .page-home) .t-card .avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
:where(.page-about, .page-home) .t-card .avatar .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 72px;
  font-weight: 800;
  color: var(--color-primary);
  opacity: .6;
}
:where(.page-about, .page-home) .t-card .avatar:has(img) .initials { display: none; }
:where(.page-about, .page-home) .t-card .avatar .title-tag {
  position: absolute; left: 14px; bottom: 14px;
  padding: 4px 12px;
  background: rgba(255,255,255,.95);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
:where(.page-about, .page-home) .t-card .body { padding: 22px 22px 26px; }
:where(.page-about, .page-home) .t-card h4 {
  font-size: 19px;
  margin-bottom: 4px;
}
:where(.page-about, .page-home) .t-card .role {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}
:where(.page-about, .page-home) .t-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-sub);
}
:where(.page-about, .page-home) .t-card ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.6;
}
:where(.page-about, .page-home) .t-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

/* 校区 */
.page-about .campus-section {
  padding: var(--section-y) 0;
  background: var(--bg-white);
}
.page-about .campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .page-about .campus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .page-about .campus-grid { grid-template-columns: 1fr; } }
.page-about .campus-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .25s var(--ease);
}
.page-about .campus-card:hover { transform: translateY(-4px); }
.page-about .campus-card .pin {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.page-about .campus-card h4 { font-size: 17px; margin-bottom: 8px; }
.page-about .campus-card .addr { font-size: 13px; color: var(--text-sub); }

/* CTA */
.page-about .cta-section,
.page-courses .cta-section,
.page-news .cta-section,
.page-service .cta-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.page-about .cta-section .cta-box,
.page-courses .cta-section .cta-box,
.page-news .cta-section .cta-box,
.page-service .cta-section .cta-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-about .cta-section h2,
.page-courses .cta-section h2,
.page-news .cta-section h2,
.page-service .cta-section h2 {
  color: var(--text-on-dark);
  margin-bottom: 14px;
}
.page-about .cta-section p,
.page-courses .cta-section p,
.page-news .cta-section p,
.page-service .cta-section p {
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 30px;
}
.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 860px) {
  .site-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .site-footer .foot-grid { grid-template-columns: 1fr; }
}
.site-footer .foot-brand .name {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer .foot-brand .name .logo-img-foot {
  height: 32px;
  width: auto;
  display: block;
}
.site-footer .foot-brand .slogan {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 300px;
}
.site-footer .foot-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  margin: 0 0 20px;
  letter-spacing: .05em;
}
.site-footer .foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .foot-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.site-footer .foot-col ul li a:hover { color: var(--color-primary); }
.site-footer .foot-contact .phone {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.site-footer .foot-contact .hour {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.site-footer .foot-contact .addr {
  font-size: 13px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  margin-bottom: 18px;
}
.site-footer .socials {
  display: flex;
  gap: 10px;
}
.site-footer .socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.site-footer .socials a svg { width: 18px; height: 18px; display: block; }
.site-footer .socials a:hover {
  background: var(--color-primary);
  color: #fff;
}
.site-footer .foot-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.site-footer .foot-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .foot-bottom .links a:hover { color: var(--color-primary); }
