﻿/* ============================================================
   前程启教育 · 官网样式
   ------------------------------------------------------------
   设计基线沿用国朝科技官网（卡片化、大字号标题、
   英文小标签、数字滚动、滚动渐显），配色取自前程启 Logo（海军蓝 × 金）。
   目录：
   01 变量与基础      02 按钮与标签     03 顶部导航
   04 首页 Hero       05 通用区块       06 首页各模块
   07 内页 Hero       08 课程体系       09 关于我们
   10 资讯动态        11 联系我们       12 页脚
   13 动画与响应式
   ============================================================ */

/* ---------------- 01 变量与基础 ---------------- */
:root {
  --primary: #08395c;
  --primary-dark: #052a45;
  --primary-light: #12547f;
  --accent: #c59a3f;
  --gold: #c59a3f;
  --gold-light: #e8cb8f;
  --violet: #1f6f9e;
  --amber: #c59a3f;
  --bg: #ffffff;
  --bg-soft: #f7f8fd;
  --bg-soft-2: #eef1f9;
  --dark: #0b1020;
  --dark-2: #1e2440;
  --text: #11162a;
  --muted: #5b667e;
  --border: #e8ebf4;
  --shadow-sm: 0 4px 16px rgba(17, 22, 42, .06);
  --shadow: 0 18px 48px rgba(8, 57, 92, .12);
  --shadow-lg: 0 32px 76px rgba(8, 57, 92, .16);
  --radius: 18px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --gradient: linear-gradient(135deg, #08395c 0%, #12547f 45%, #1f6f9e 100%);
  --gradient-soft: linear-gradient(135deg, #12547f, #1f6f9e);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -.01em; }

::selection { background: rgba(8, 57, 92, .18); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 锚点跳转避开固定导航 */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.muted { color: var(--muted); }

/* ---------------- 02 按钮与标签 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff; background: var(--gradient); background-size: 160% 160%;
  box-shadow: 0 12px 28px rgba(8, 57, 92, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(8, 57, 92, .4); }
.btn-ghost {
  color: var(--dark-2); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: rgba(8, 57, 92, .35); color: var(--primary); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: rgba(8, 57, 92, .08);
}
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg-soft-2);
}

/* ---------------- 03 顶部导航 ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(17, 22, 42, .06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-logo {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: block;
  box-shadow: 0 0 0 1px rgba(8, 57, 92, .07), 0 4px 12px rgba(8, 57, 92, .13);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.brand-text span { font-size: 10px; letter-spacing: .22em; color: var(--muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  white-space: nowrap;
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-size: 16px; color: var(--dark-2); font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--primary); background: rgba(8, 57, 92, .06); }
.nav-link.is-active { color: var(--primary); font-weight: 700; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gradient);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--dark-2); white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--primary); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  place-items: center; background: var(--bg-soft);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--dark-2);
  position: relative; transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px;
  background: var(--dark-2); transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(17, 22, 42, .12);
  padding: 12px 24px 24px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 6px; font-size: 16.5px; font-weight: 500;
  border-bottom: 1px solid var(--bg-soft-2);
}
.mobile-menu a.is-active { color: var(--primary); font-weight: 700; }
.mobile-menu .btn { margin-top: 18px; }

/* ---------------- 04 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 88px;
  background:
    radial-gradient(900px 460px at 82% 8%, rgba(31, 111, 158, .16), transparent 62%),
    radial-gradient(760px 420px at 6% 0%, rgba(31, 111, 158, .18), transparent 60%),
    linear-gradient(180deg, #f8f9ff 0%, #ffffff 78%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 57, 92, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 57, 92, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--dark-2);
}
.hero-eyebrow b {
  padding: 3px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .04em;
  color: #fff; background: var(--gradient);
}
.hero-title {
  margin-top: 22px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.02em;
}
.hero-title em { font-style: normal; color: var(--primary); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .34em;
  background: linear-gradient(90deg, rgba(197, 154, 63, .32), rgba(232, 203, 143, .34));
  border-radius: 4px; z-index: -1;
}
.hero-desc { margin-top: 20px; max-width: 34em; font-size: 17.5px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-points li { display: flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); }
.hero-points svg { width: 17px; height: 17px; color: #10b981; flex-shrink: 0; }

/* Hero 右侧插画：升学规划卡片 */
.hero-visual { position: relative; }
.plan-card {
  position: relative; padding: 26px; border-radius: 26px;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(31, 35, 88, .14);
}
.plan-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px;
  background: linear-gradient(140deg, rgba(8, 57, 92, .45), rgba(31, 111, 158, .12), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; }
.plan-head .pill { flex-shrink: 0; font-size: 12px; }
.plan-chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin: 22px 0 6px; }
.plan-chart i {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(18, 84, 127, .85), rgba(18, 84, 127, .16));
  animation: bar-grow 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
.plan-chart i:nth-child(2) { animation-delay: .08s; }
.plan-chart i:nth-child(3) { animation-delay: .16s; }
.plan-chart i:nth-child(4) { animation-delay: .24s; }
.plan-chart i:nth-child(5) { animation-delay: .32s; }
.plan-chart i:nth-child(6) { animation-delay: .4s; }
.plan-chart i:nth-child(7) { animation-delay: .48s; }
.plan-chart i:last-child { background: linear-gradient(180deg, var(--gold), rgba(197, 154, 63, .18)); }
.plan-rows { display: grid; gap: 10px; margin-top: 18px; }
.plan-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: var(--bg-soft);
}
.plan-row .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: #fff; color: var(--primary); box-shadow: var(--shadow-sm);
}
.plan-row .ico svg { width: 18px; height: 18px; }
.plan-row strong { display: block; font-size: 14px; }
.plan-row span { font-size: 12.5px; color: var(--muted); }
.plan-row em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: #10b981; }

.float-note {
  position: absolute; right: -20px; bottom: -34px;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 18px; border-radius: 16px; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: float-y 5s ease-in-out infinite;
}
.float-note .dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .16); }
.float-note strong { font-size: 14px; }
.float-note span { display: block; font-size: 12px; color: var(--muted); }

@keyframes bar-grow { from { height: 6% !important; opacity: .2; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- 05 通用区块 ---------------- */
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.section-head--left { margin-left: 0; text-align: left; }

/* ---------------- 06 首页各模块 ---------------- */
/* 业务板块 */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-grid--three { grid-template-columns: repeat(3, 1fr); }
.biz-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.biz-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(8, 57, 92, .2); }
.biz-card:hover::after { transform: scaleX(1); }
.biz-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(8, 57, 92, .09); color: var(--primary); margin-bottom: 20px;
}
.biz-ico svg { width: 25px; height: 25px; }
.biz-card h3 { font-size: 19px; font-weight: 700; }
.biz-card p { margin-top: 10px; font-size: 14.8px; color: var(--muted); }
.biz-card .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--primary); }
.biz-card .more span { transition: transform .25s ease; }
.biz-card:hover .more span { transform: translateX(4px); }

/* 优势 */
.adv-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.adv-list { display: grid; gap: 14px; }
.adv-item {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--border); transition: border-color .25s ease, box-shadow .25s ease;
}
.adv-item:hover { border-color: rgba(8, 57, 92, .24); box-shadow: var(--shadow-sm); }
.adv-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 14px; font-weight: 800; color: var(--primary); background: rgba(8, 57, 92, .09);
}
.adv-item h3 { font-size: 17px; font-weight: 700; }
.adv-item p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.adv-quote {
  position: relative; padding: 34px 32px; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, #1e2440 0%, #06283f 55%, #052a45 100%);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.adv-quote::after {
  content: "“"; position: absolute; right: 22px; top: -26px;
  font-size: 170px; line-height: 1; color: rgba(255, 255, 255, .1); font-family: Georgia, serif;
}
.adv-quote h3 { font-size: 22px; font-weight: 800; }
.adv-quote p { margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, .78); }
.adv-quote ul { display: grid; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.adv-quote li { display: flex; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.adv-quote li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: #ecd39a; }

/* 教学流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--primary);
  margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -12px; width: 24px; height: 1px;
  background: linear-gradient(90deg, rgba(8, 57, 92, .4), rgba(8, 57, 92, .05));
}


/* 学员声音 */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote-stars { display: flex; gap: 3px; color: var(--amber); }
.quote-stars svg { width: 17px; height: 17px; }
.quote-card blockquote { margin-top: 16px; font-size: 15.5px; color: var(--dark-2); flex: 1; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bg-soft-2); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-size: 15px; font-weight: 800; color: #fff; background: var(--gradient-soft);
}
.quote-person strong { display: block; font-size: 14.5px; }
.quote-person > span > span { font-size: 12.5px; color: var(--muted); }

/* 资讯卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-thumb {
  height: 168px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
}
.news-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .55;
}
.news-thumb svg { width: 46px; height: 46px; opacity: .92; }
.news-thumb--a { background: linear-gradient(135deg, #08395c, #1f6f9e); }
.news-thumb--b { background: linear-gradient(135deg, #1f6f9e, #08395c); }
.news-thumb--c { background: linear-gradient(135deg, #c59a3f, #e0b463); }
.news-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.news-body h3 { margin-top: 12px; font-size: 17.5px; font-weight: 700; }
.news-body p { margin-top: 10px; font-size: 14.5px; color: var(--muted); flex: 1; }
.news-body .more { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--primary); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item.is-open { border-color: rgba(8, 57, 92, .3); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; text-align: left; font-size: 16.5px; font-weight: 650;
}
.faq-q i {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft-2); font-style: normal; font-size: 18px; color: var(--primary);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.is-open .faq-q i { transform: rotate(45deg); background: var(--gradient); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 15px; color: var(--muted); }

/* CTA 区块 */
.cta-band { padding: 0 0 92px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 32px; border-radius: 28px; color: #fff;
  background: linear-gradient(140deg, #06283f 0%, #08395c 55%, #1f6f9e 120%);
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .5;
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-box p { margin: 14px auto 0; max-width: 40em; font-size: 16px; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta-box .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------------- 07 内页 Hero ---------------- */
.page-hero {
  position: relative; overflow: hidden; padding: 66px 0 58px;
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(31, 111, 158, .14), transparent 62%),
    radial-gradient(620px 340px at 4% 10%, rgba(31, 111, 158, .16), transparent 62%),
    linear-gradient(180deg, #f7f8fd, #ffffff);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-top: 16px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin-top: 16px; max-width: 46em; font-size: 17px; color: var(--muted); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { opacity: .5; }

/* ---------------- 08 课程体系 ---------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.tab-btn {
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--muted); background: #fff; border: 1px solid var(--border);
  transition: all .25s ease;
}
.tab-btn:hover { color: var(--primary); border-color: rgba(8, 57, 92, .3); }
.tab-btn.is-active { color: #fff; background: var(--gradient); border-color: transparent; box-shadow: 0 10px 24px rgba(8, 57, 92, .28); }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(8, 57, 92, .22); }
.course-card .pill { align-self: flex-start; }
.course-card h3 { margin-top: 14px; font-size: 20px; font-weight: 750; }
.course-card > p { margin-top: 10px; font-size: 14.8px; color: var(--muted); }
.course-specs { display: grid; gap: 8px; margin: 18px 0 20px; padding-top: 18px; border-top: 1px dashed var(--border); }
.course-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.course-specs b { font-weight: 650; color: var(--dark-2); }
.course-specs span { color: var(--muted); }
.course-card .btn { margin-top: auto; }

.course-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.course-table th, .course-table td { padding: 15px 20px; text-align: left; font-size: 14.8px; border-bottom: 1px solid var(--border); }
.course-table th { background: var(--bg-soft); font-weight: 700; font-size: 14px; color: var(--dark-2); white-space: nowrap; }
.course-table tbody tr:last-child td { border-bottom: 0; }
.course-table tbody tr:hover { background: rgba(8, 57, 92, .03); }
.course-table td:first-child { font-weight: 650; }

/* 产品详情页：平台定位声明 */
.statement { max-width: 920px; margin: 0 auto; text-align: center; }
.ps-slogan { margin-top: 18px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.45; letter-spacing: -.01em; }
.ps-slogan strong { color: var(--primary); }
.ps-lead { margin-top: 18px; font-size: 17px; color: var(--muted); }
.ps-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.ps-tags span {
  padding: 9px 17px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--dark-2); box-shadow: var(--shadow-sm);
}

/* 产品详情页：能力/角色卡片网格 */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-card {
  padding: 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.svc-no { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.svc-card h3 { margin-top: 10px; font-size: 19.5px; font-weight: 750; }
.svc-desc { margin-top: 10px; font-size: 14.8px; color: var(--muted); }
.svc-items { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.svc-items li { display: flex; gap: 9px; font-size: 14.2px; color: var(--dark-2); line-height: 1.65; }
.svc-items li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  margin-top: 9px; flex-shrink: 0;
}
.svc-items--plain { padding-top: 0; border-top: 0; margin-top: 14px; }

/* 五步栅格 */
.steps--five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps--five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps--five { grid-template-columns: 1fr; }
}

/* ---------------- 08b 产品页 ---------------- */
.product-block { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: start; }
.product-copy h2 { margin-top: 14px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.product-copy > p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.product-list { display: grid; gap: 10px; margin-top: 22px; }
.product-list li { display: flex; gap: 10px; font-size: 15px; color: var(--dark-2); }
.product-list svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: #10b981; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.product-side {
  padding: 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.product-side h3 { font-size: 16px; font-weight: 750; }
.product-side .course-specs { margin: 16px 0 0; padding-top: 0; border-top: 0; }
.product-side .course-specs li { flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.product-side .course-specs li:last-child { border-bottom: 0; padding-bottom: 0; }
.product-side .course-specs b { font-size: 12.5px; font-weight: 650; color: var(--muted); letter-spacing: .04em; }
.product-side .course-specs span { font-size: 14.6px; color: var(--dark-2); }
.product-note {
  display: flex; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(197, 154, 63, .09); border: 1px solid rgba(197, 154, 63, .28);
  font-size: 13.8px; color: #6b5326;
}
.product-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }

/* 合作系统展示（深色 B2B 区块） */
.partner-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px;
  padding: 46px; border-radius: 26px; color: #fff;
  background: linear-gradient(140deg, #06283f 0%, #08395c 52%, #12547f 118%);
  box-shadow: var(--shadow-lg);
}
.partner-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .5;
}
.partner-band > * { position: relative; }
.partner-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(197, 154, 63, .16); border: 1px solid rgba(232, 203, 143, .38);
  color: var(--gold-light); font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
}
.partner-tag--light {
  background: rgba(8, 57, 92, .06); border-color: rgba(8, 57, 92, .16); color: var(--primary);
}
.partner-copy h2 { margin-top: 16px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.partner-copy > p { margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, .78); }
.partner-list { display: grid; gap: 10px; margin-top: 22px; }
.partner-list li { display: flex; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.partner-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold-light); }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.partner-band .btn-ghost {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28);
  color: #fff; box-shadow: none;
}
.partner-band .btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.partner-side {
  padding: 26px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.partner-side dl { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; }
.partner-side dt { font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.partner-side dd { margin: 4px 0 0; font-size: 14.5px; color: #fff; line-height: 1.65; }

@media (max-width: 1080px) {
  .partner-band { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 640px) {
  .partner-band { padding: 24px; border-radius: 20px; }
  .partner-copy > p { font-size: 14.8px; }
}

/* ---------------- 09 关于我们 ---------------- */
.about-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-story h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.about-story p { margin-top: 18px; font-size: 16px; color: var(--muted); }
.about-story--single { grid-template-columns: 1fr; max-width: 900px; }
.about-story--single p { max-width: 46em; }
.about-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.figure {
  padding: 28px 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.figure strong { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.figure strong i { font-style: normal; font-size: 17px; color: var(--primary); }
.figure > span { font-size: 14px; color: var(--muted); }
.figure--accent { background: var(--gradient); color: #fff; border: 0; }
.figure--accent strong i, .figure--accent span { color: rgba(255, 255, 255, .85); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.value-card .biz-ico { margin-bottom: 16px; }
.value-card h3 { font-size: 18px; font-weight: 700; }
.value-card p { margin-top: 9px; font-size: 14.6px; color: var(--muted); }

.timeline { position: relative; display: grid; gap: 26px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, rgba(8, 57, 92, .55), rgba(31, 111, 158, .18));
}
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(8, 57, 92, .12);
}
.tl-item time { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--primary); }
.tl-item h3 { margin-top: 6px; font-size: 18px; font-weight: 700; }
.tl-item p { margin-top: 6px; font-size: 14.8px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); text-align: center; }
.team-avatar {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #fff;
  background: var(--gradient-soft); box-shadow: 0 12px 26px rgba(18, 84, 127, .3);
}
.team-card h3 { font-size: 17px; font-weight: 700; }
.team-card .role { margin-top: 4px; font-size: 13px; color: var(--primary); font-weight: 650; }
.team-card p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------------- 10 资讯动态 ---------------- */
.news-layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.article-list { display: grid; gap: 16px; }
.article {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 22px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.article:hover { box-shadow: var(--shadow); border-color: rgba(8, 57, 92, .2); }
.article-thumb { height: 108px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.article-thumb svg { width: 34px; height: 34px; opacity: .92; }
.article-body h2 { font-size: 18.5px; font-weight: 700; }
.article-body p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.side-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.side-card + .side-card { margin-top: 18px; }
.side-card h3 { font-size: 16px; font-weight: 750; }
.side-list { display: grid; gap: 12px; margin-top: 16px; }
.side-list a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.2px; color: var(--dark-2); }
.side-list a:hover { color: var(--primary); }
.side-list a span:only-child { grid-column: 1 / -1; }
.side-list em { font-style: normal; font-weight: 800; color: var(--primary); }
.side-cta { background: linear-gradient(150deg, #06283f, #08395c); color: #fff; border: 0; }
.side-cta h3 { font-size: 18px; }
.side-cta p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.side-cta .btn { margin-top: 18px; background: #fff; color: var(--primary); box-shadow: none; }

/* ---------------- 11 联系我们 ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.contact-card .biz-ico { margin: 0; width: 44px; height: 44px; border-radius: 13px; }
.contact-card .biz-ico svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 15.5px; font-weight: 700; }
.contact-card p { margin-top: 5px; font-size: 15px; color: var(--muted); }
.contact-card p b { color: var(--dark-2); font-size: 16px; }

.form-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card h2 { font-size: 22px; font-weight: 800; }
.form-card > p { margin-top: 8px; font-size: 14.2px; color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.8px; font-weight: 650; color: var(--dark-2); }
.field label i { font-style: normal; color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-soft);
  font-size: 15px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: rgba(8, 57, 92, .5);
  box-shadow: 0 0 0 4px rgba(8, 57, 92, .1);
}
.form-note { font-size: 12.8px; color: var(--muted); }
.form-status { display: none; padding: 12px 16px; border-radius: 12px; font-size: 14px; background: rgba(16, 185, 129, .1); color: #047857; }
.form-status.is-show { display: block; }

.map-card {
  position: relative; overflow: hidden; min-height: 220px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background:
    radial-gradient(rgba(8, 57, 92, .1) 1px, transparent 1px) 0 0/20px 20px,
    linear-gradient(160deg, #f3f7fc, #e7eef7);
}
.map-card__info { display: flex; gap: 14px; align-items: flex-start; }
.map-card__pin {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: #fff; color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.map-card__pin svg { width: 21px; height: 21px; }
.map-card__info strong { display: block; font-size: 16px; font-weight: 700; }
.map-card__info p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.map-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- 12 页脚 ---------------- */
.site-footer { background: #06192a; color: rgba(255, 255, 255, .72); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255, 255, 255, .5); }
.footer-brand p { margin-top: 18px; max-width: 30em; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .62); }
.footer-contact { display: grid; gap: 9px; margin-top: 20px; font-size: 14px; }
.footer-contact b { color: #fff; font-size: 19px; letter-spacing: .02em; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255, 255, 255, .66); transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; color: rgba(255, 255, 255, .5);
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--primary); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------------- 13 动画与响应式 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-note, .plan-chart i { animation: none; }
  html { scroll-behavior: auto; }
}

/* 六个导航项在 1024–1200 的窄屏上收紧，避免折行 */
@media (max-width: 1200px) {
  .nav-link { padding: 9px 10px; font-size: 15px; }
  .nav-actions .nav-phone { display: none; }
}

@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .adv-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-story { grid-template-columns: 1fr; gap: 34px; }
  .news-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .product-block { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .nav-menu, .nav-actions .nav-phone, .nav-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 64px; }
  .quotes { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .page-hero { padding: 46px 0 42px; }
  .course-table { display: block; overflow-x: auto; white-space: nowrap; }
  .article { grid-template-columns: 1fr; }
  .article-thumb { height: 92px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .biz-grid, .steps, .news-grid, .course-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-note {
    position: relative; right: auto; bottom: auto; width: max-content;
    margin: 14px 0 0 auto; animation: none;
  }
  .cta-box { padding: 46px 22px; border-radius: 22px; }
  .accordion-q { font-size: 15.5px; }
  .brand-text strong { font-size: 17px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 11px; }
}

/* 校区实景照片 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-card {
  margin: 0; overflow: hidden; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.photo-card figcaption { padding: 16px 18px 18px; }
.photo-card strong { display: block; font-size: 16px; font-weight: 700; }
.photo-card span { display: block; margin-top: 6px; font-size: 13.8px; line-height: 1.6; color: var(--muted); }
@media (max-width: 860px) { .photo-grid { grid-template-columns: 1fr; } }

/* 资质授权：横向奖牌 */
.photo-grid--wide .photo-card img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .photo-grid--wide .photo-card img { aspect-ratio: 3 / 2; } }

/* 图片放大灯箱 */
.photo-card img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 14, 24, .9);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(100%, 1100px); max-height: 86vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: #fff; border: 0; cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center;
  font-size: 14px; color: rgba(255, 255, 255, .82);
}

/* 文章详情页 */
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-hero .container { max-width: 848px; }
.article-hero h1 { font-size: clamp(26px, 3vw, 36px); }
.article-hero .article-meta { margin-top: 18px; }
.article-lead { margin-top: 24px; font-size: 17.5px; line-height: 1.9; color: var(--muted); }
.article-wrap .article-body h2 {
  margin-top: 44px; font-size: clamp(21px, 2.2vw, 25px); font-weight: 800; letter-spacing: -.01em;
  padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.5;
}
.article-wrap .article-body h3 { margin-top: 28px; font-size: 18.5px; font-weight: 700; }
.article-wrap .article-body p { margin-top: 16px; font-size: 16.5px; line-height: 1.95; color: #2b3244; }
.article-wrap .article-body ul, .article-wrap .article-body ol { margin-top: 14px; display: grid; gap: 10px; }
.article-wrap .article-body li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.85; color: #2b3244; }
.article-wrap .article-body li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary);
}
.article-wrap .article-body ol { counter-reset: step; }
.article-wrap .article-body ol li::before {
  counter-increment: step; content: counter(step); width: auto; height: auto;
  background: none; color: var(--primary); font-weight: 800; font-size: 15px; top: .05em; left: 0;
}
.article-wrap .article-body ol li { padding-left: 24px; }
.article-note {
  margin-top: 30px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(197, 154, 63, .1); border: 1px solid rgba(197, 154, 63, .3);
  font-size: 15px; line-height: 1.85; color: #6b5326;
}
.article-note strong { color: #533f1c; }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-size: 15px; font-weight: 700; color: var(--primary); }
.article-back svg { width: 17px; height: 17px; }
.article-related { margin-top: 8px; }

/* ---------------- 宽屏适配（2K / 4K 屏幕上内容区不再显得窄小） ---------------- */
@media (min-width: 1600px) {
  :root { --maxw: 1360px; }
  .section { padding: 100px 0; }
  .hero-title { font-size: clamp(42px, 3.4vw, 62px); }
  .hero-desc { font-size: 18.5px; }
  .section-head h2 { font-size: 40px; }
  .page-hero h1 { font-size: 50px; }
  .page-hero p { font-size: 18px; }
  .about-story h2 { font-size: 38px; }
  .about-story p { font-size: 17px; }
  .biz-card h3, .value-card h3, .team-card h3 { font-size: 20px; }
  .biz-card p, .value-card p, .news-body p, .course-card > p { font-size: 15.6px; }
  .quote-card blockquote { font-size: 16.5px; }
  .article-wrap .article-body p { font-size: 17.4px; }
  .article-wrap .article-body h2 { font-size: 27px; }
}

@media (min-width: 2100px) {
  :root { --maxw: 1520px; }
  .section { padding: 110px 0; }
  .hero-title { font-size: clamp(48px, 3.2vw, 70px); }
  .section-head h2 { font-size: 44px; }
  .page-hero h1 { font-size: 56px; }
  .about-story h2 { font-size: 42px; }
  .biz-card p, .value-card p, .news-body p, .course-card > p { font-size: 16.2px; }
}

/* ---------------- 课程卡片：按业务线着色 ---------------- */
.course-section { position: relative; overflow: hidden; }
.course-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 8% 0%, rgba(13, 79, 120, .10), transparent 70%),
    radial-gradient(560px 300px at 92% 6%, rgba(199, 74, 36, .09), transparent 70%),
    radial-gradient(680px 340px at 50% 100%, rgba(197, 154, 63, .10), transparent 72%);
}
.course-section > .container { position: relative; z-index: 1; }

.course-card {
  position: relative; overflow: hidden;
  --c1: #0d4f78; --c2: #1f8fc4; --tint: #eef5fa; --tint2: #ffffff;
}
.course-card[data-category="guo-qi"]   { --c1: #0d4f78; --c2: #2196c9; --tint: #eaf4fa; }
.course-card[data-category="xiao-fang"] { --c1: #c14722; --c2: #ef8d4f; --tint: #fdf0e9; }
.course-card[data-category="jun-gong"]  { --c1: #8a6a1f; --c2: #c59a3f; --tint: #faf4e4; }

.course-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.course-card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--tint) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: .9; pointer-events: none; transition: transform .45s ease;
}
.course-card { background: linear-gradient(180deg, #fff 0%, #fff 62%, var(--tint) 100%); }
.course-card:hover { border-color: var(--c2); box-shadow: 0 22px 48px rgba(13, 79, 120, .16); }
.course-card:hover::after { transform: scale(1.25); }
.course-card .pill { color: var(--c1); background: var(--tint); border: 1px solid rgba(0, 0, 0, .04); }
.course-card h3 { color: #14202f; }
.course-card .course-specs { border-top-color: rgba(0, 0, 0, .07); }
.course-card .course-specs b { color: var(--c1); font-weight: 700; }
.course-card .btn { border-color: rgba(0, 0, 0, .1); }
.course-card:hover .btn { border-color: var(--c2); color: var(--c1); }

/* 筛选按钮：选中态沿用主色，未选中加一点着色 */
.tabs .tab-btn[data-filter="guo-qi"]:not(.is-active):hover { color: #0d4f78; border-color: #2196c966; }
.tabs .tab-btn[data-filter="xiao-fang"]:not(.is-active):hover { color: #c14722; border-color: #ef8d4f66; }
.tabs .tab-btn[data-filter="jun-gong"]:not(.is-active):hover { color: #8a6a1f; border-color: #c59a3f66; }

/* 首页三大板块：与课程页同一套业务线配色 */
.biz-grid--three .biz-card { --c1: #0d4f78; --c2: #2196c9; --tint: #eaf4fa; }
.biz-grid--three .biz-card:nth-child(2) { --c1: #c14722; --c2: #ef8d4f; --tint: #fdf0e9; }
.biz-grid--three .biz-card:nth-child(3) { --c1: #8a6a1f; --c2: #c59a3f; --tint: #faf4e4; }
.biz-grid--three .biz-card { background: linear-gradient(180deg, #fff 0%, #fff 64%, var(--tint) 100%); }
.biz-grid--three .biz-card::after { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.biz-grid--three .biz-card .biz-ico { background: var(--tint); color: var(--c1); }
.biz-grid--three .biz-card .more { color: var(--c1); }
.biz-grid--three .biz-card:hover { border-color: var(--c2); }

/* hidden 属性生效（课程筛选依赖它，否则 display:flex 会盖掉 UA 的 display:none） */
[hidden] { display: none !important; }

/* ---------------- 班型表 & 服务承诺：配套配色 ---------------- */
.schedule-section {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f9fc 0%, #eaf1f8 100%);
}
.schedule-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 280px at 12% 0%, rgba(13, 79, 120, .10), transparent 70%),
    radial-gradient(520px 260px at 88% 100%, rgba(197, 154, 63, .12), transparent 72%);
}
.schedule-section > .container { position: relative; z-index: 1; }

.schedule-section .course-table {
  border: 0; border-radius: 18px; background: #fff;
  box-shadow: 0 20px 48px rgba(8, 57, 92, .10);
}
.schedule-section .course-table thead th {
  background: linear-gradient(135deg, #0d3f5e, #12547f);
  color: #fff; font-weight: 700; letter-spacing: .02em;
  border-bottom: 0; padding: 16px 20px;
}
.schedule-section .course-table tbody td {
  border-bottom: 1px solid #eef3f8; padding: 15px 20px; color: #2b3244;
}
.schedule-section .course-table tbody tr:nth-child(even) { background: #f8fbfd; }
.schedule-section .course-table tbody tr:hover { background: #eaf4fa; }
.schedule-section .course-table tbody tr:last-child td { border-bottom: 0; }
.schedule-section .course-table td:first-child {
  font-weight: 700; color: #0d3f5e; box-shadow: inset 3px 0 0 rgba(33, 150, 201, 0);
  transition: box-shadow .25s ease;
}
.schedule-section .course-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #2196c9; }

.promise-section { position: relative; overflow: hidden; }
.promise-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(13, 79, 120, .07), transparent 70%),
    radial-gradient(520px 260px at 82% 20%, rgba(199, 74, 36, .07), transparent 72%),
    radial-gradient(560px 260px at 50% 100%, rgba(197, 154, 63, .09), transparent 72%);
}
.promise-section > .container { position: relative; z-index: 1; }

.promise-section .value-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 58%, var(--tint) 100%);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.promise-section .value-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.promise-section .value-card:nth-child(1) { --c1: #0d4f78; --c2: #2196c9; --tint: #eaf4fa; }
.promise-section .value-card:nth-child(2) { --c1: #8a6a1f; --c2: #c59a3f; --tint: #faf4e4; }
.promise-section .value-card:nth-child(3) { --c1: #c14722; --c2: #ef8d4f; --tint: #fdf0e9; }
.promise-section .value-card .biz-ico { background: var(--tint); color: var(--c1); }
.promise-section .value-card h3 { color: #14202f; }
.promise-section .value-card:hover {
  transform: translateY(-4px); box-shadow: 0 20px 44px rgba(8, 57, 92, .12);
  border-color: var(--c2);
}

/* 移动端表格滑动提示 */
.table-hint { display: none; margin-top: 12px; font-size: 13px; color: var(--muted); text-align: right; }
@media (max-width: 640px) { .table-hint { display: block; } }

/* ---------------- 关于我们：暖金风格（区别于课程页的蓝/橙卡片） ---------------- */
body[data-page="about"] #story {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fdfaf4 0%, #ffffff 76%);
}
body[data-page="about"] #story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 90% 4%, rgba(197, 154, 63, .16), transparent 70%),
    radial-gradient(520px 300px at 4% 92%, rgba(13, 79, 120, .07), transparent 72%);
}
body[data-page="about"] #story > .container { position: relative; z-index: 1; }
body[data-page="about"] #story .adv-quote {
  border: 1px solid rgba(232, 203, 143, .32);
  box-shadow: 0 34px 72px rgba(6, 25, 42, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
}
body[data-page="about"] #story .adv-quote::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, #e8cb8f, rgba(197, 154, 63, .1));
}

body[data-page="about"] #values {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
}
body[data-page="about"] #values::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 280px at 16% 0%, rgba(13, 79, 120, .08), transparent 70%),
    radial-gradient(520px 260px at 86% 100%, rgba(197, 154, 63, .14), transparent 72%);
}
body[data-page="about"] #values > .container { position: relative; z-index: 1; }
body[data-page="about"] #values .values { counter-reset: vcard; }
body[data-page="about"] #values .value-card {
  position: relative; overflow: hidden; counter-increment: vcard;
  background: #fff; border: 1px solid rgba(13, 79, 120, .10);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body[data-page="about"] #values .value-card::before {
  content: "0" counter(vcard);
  position: absolute; right: 20px; top: 12px; line-height: 1;
  font-size: 46px; font-weight: 800; letter-spacing: -.04em;
  color: rgba(197, 154, 63, .20);
  transition: color .3s ease;
}
body[data-page="about"] #values .value-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, rgba(197, 154, 63, .75), rgba(197, 154, 63, 0));
  transform: scaleX(.3); transform-origin: left; transition: transform .45s ease;
}
body[data-page="about"] #values .value-card .biz-ico { background: rgba(197, 154, 63, .13); color: #8a6a1f; }
body[data-page="about"] #values .value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 154, 63, .45);
  box-shadow: 0 24px 48px rgba(13, 79, 120, .13);
}
body[data-page="about"] #values .value-card:hover::before { color: rgba(197, 154, 63, .38); }
body[data-page="about"] #values .value-card:hover::after { transform: scaleX(1); }

/* 资讯封面图 */
.article { grid-template-columns: 300px 1fr; }
.article-thumb { height: 176px; padding: 0; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb--cover { padding: 0; overflow: hidden; }
.news-thumb--cover::after { display: none; }
.news-thumb--cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card:hover .news-thumb--cover img { transform: scale(1.04); transition: transform .5s ease; }
@media (max-width: 860px) {
  .article { grid-template-columns: 1fr; }
  .article-thumb { height: 176px; }
}

/* 文章页封面图 */
.article-cover {
  margin: 22px 0 0; border-radius: 20px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(8, 57, 92, .20);
  border: 1px solid rgba(8, 57, 92, .06);
}
.article-cover img { width: 100%; display: block; }
@media (max-width: 640px) {
  .article-cover { margin-top: 26px; border-radius: 14px; }
}