/* =========================================================
   振尧公考 · 企业官网样式表
   风格：简约现代 · 蓝白渐变 · 响应式
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --blue: #1658a0;          /* 主色·政务蓝（沉稳权威） */
  --blue-2: #2f7fd1;        /* 亮蓝·高亮/渐变 */
  --blue-deep: #0f3d6e;     /* 深蓝·暗部渐变 */
  --blue-bright: #bcd6ff;   /* 亮蓝白·深色块上的高亮字 */
  --red: #d8392b;           /* 中国红·克制点缀（按钮hover/王牌徽标/标签） */
  --ink: #18233a;           /* 标题/正文近蓝黑 */
  --gray: #5b6675;          /* 次要文字 */
  --gray-light: #93a0b4;    /* 浅灰 */
  --bg: #ffffff;
  --bg-soft: #f4f8ff;       /* 浅冷蓝底 */
  --bg-soft-2: #e9f1fc;
  --line: #e2eaf5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(15,61,110,.22);
  --shadow-sm: 0 10px 30px -18px rgba(15,61,110,.18);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 文字工具 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 14px;
}
.h-sec { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.h-sub { color: var(--gray); font-size: 17px; max-width: 640px; margin: 16px auto 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.lead-gold { color: var(--blue); font-weight: 700; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(22,88,160,.55); }
.btn-primary:hover { transform: translateY(-2px); background: var(--red); box-shadow: 0 18px 32px -12px rgba(216,57,43,.6); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-outline.dark { border-color: var(--blue); color: var(--blue); }
.btn-outline.dark:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: var(--blue); color: #fff; }
.btn-ghost:hover { background: var(--red); transform: translateY(-2px); }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background .35s var(--ease), box-shadow .35s, padding .35s;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -16px rgba(15,61,110,.4);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: .5px; transition: color .35s; }
.nav.scrolled .brand { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 900;
  box-shadow: 0 8px 18px -8px rgba(22,88,160,.5);
}
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; opacity: .8; color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 16px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.92);
  border-radius: 8px; transition: color .3s;
}
.nav.scrolled .nav-links a { color: var(--gray); }
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-bright); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--blue); }
/* 首页浅色 Hero：顶部未滚动时导航用深色字 */
.nav--home:not(.scrolled) .brand { color: var(--ink); }
.nav--home:not(.scrolled) .brand small { color: var(--blue); }
.nav--home:not(.scrolled) .nav-links a { color: var(--gray); }
.nav--home:not(.scrolled) .nav-links a:hover, .nav--home:not(.scrolled) .nav-links a.active { color: var(--blue); }
.nav--home:not(.scrolled) .menu-toggle span { background: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle:focus-visible, .nav-links a:focus-visible, .btn:focus-visible, .contact-choice:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* ---------- Hero（以白为主 · 淡蓝渐变） ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(1000px 480px at 88% -10%, rgba(47,127,209,.4), transparent 55%),
    radial-gradient(820px 520px at 2% 104%, rgba(120,165,220,.55), transparent 62%),
    linear-gradient(180deg, #eef4fb 0%, #d6e4f3 48%, #bcd3ea 100%);
  color: var(--ink); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22,88,160,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .7;
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -120px; width: 560px; height: 560px;
  background: conic-gradient(from 120deg, rgba(47,127,209,.12), transparent 35%, rgba(47,127,209,.16) 70%, transparent);
  border-radius: 50%; filter: blur(4px);
}
.hero-inner { position: relative; z-index: 2; padding: 150px 0 90px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px;
  background: rgba(22,88,160,.08); border: 1px solid rgba(22,88,160,.2);
  font-size: 14px; color: var(--blue); margin-bottom: 26px;
}
.hero-tag b { color: var(--ink); font-weight: 700; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 66px); line-height: 1.12; font-weight: 900; letter-spacing: -1px;
  max-width: 16ch; color: var(--ink);
}
.hero h1 .hl { color: var(--blue); }
.hero p.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--gray); max-width: 600px; margin: 24px 0 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* 白底上的描边按钮改为深色描边 */
.hero .btn-outline { border: 1.5px solid rgba(22,88,160,.4); color: var(--blue); }
.hero .btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.hero-meta { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.hero-meta .m b { display: block; font-size: 30px; font-weight: 900; color: var(--ink); }
.hero-meta .m span { font-size: 14px; color: var(--gray-light); }
.hero-meta .m b i { color: var(--blue); font-style: normal; }

/* ---------- 区块通用 ---------- */
.section { padding: 100px 0; }
.section.soft { background: var(--bg-soft); }
.section.alt { background: var(--bg-soft-2); }

/* ---------- 数据条 ---------- */
.stats { background: linear-gradient(135deg, var(--blue-deep), #234ea0); color: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .s b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: var(--blue-bright); letter-spacing: -1px; }
.stats .s span { color: rgba(255,255,255,.82); font-size: 15px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(22,88,160,.35); }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 12px 22px -12px rgba(22,88,160,.45);
}
.card h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 700; font-size: 14px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- 课程卡（带标签） ---------- */
.course {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course .top { padding: 30px 28px; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; position: relative; }
.course .top .tag { font-size: 12px; letter-spacing: .14em; color: var(--blue-bright); font-weight: 700; }
.course .top h3 { font-size: 22px; margin: 8px 0 6px; font-weight: 800; }
.course .top p { font-size: 14px; color: rgba(255,255,255,.82); }
.course .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.course .body ul { margin: 6px 0 22px; display: grid; gap: 12px; }
.course .body li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.course .body li .dot { color: var(--blue); font-weight: 900; flex: none; }
.course .price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.course .price b { font-size: 22px; color: var(--blue); }
.course .price span { font-size: 13px; color: var(--gray-light); }
.course.featured { border-color: var(--red); }
.course.featured .top::after {
  content: "王牌"; position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}

/* ---------- 优势列表 ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row + .feature-row { margin-top: 70px; }
.feature-visual {
  aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue), var(--blue-2));
  position: relative; overflow: hidden; box-shadow: var(--shadow); display: grid; place-items: center; color: #fff;
}
.feature-visual .big-quote { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.4; padding: 40px; text-align: center; }
.feature-visual .big-quote em { color: #fff; font-style: normal; }
.feature-visual .deco { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.feature-list { display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .num { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft-2); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.feature-list h4 { font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.feature-list p { color: var(--gray); font-size: 15px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--blue), var(--blue-deep)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 46px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .dot { position: absolute; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--blue-2); }
.tl-item:nth-child(odd) .dot { right: -8px; }
.tl-item:nth-child(even) .dot { left: -8px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.tl-card .yr { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .08em; }
.tl-card h4 { font-size: 18px; color: var(--ink); margin: 4px 0 8px; }
.tl-card p { font-size: 14px; color: var(--gray); }

/* ---------- 师资 ---------- */
.teacher { text-align: center; }
.teacher .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: var(--shadow-sm);
}
.teacher h4 { font-size: 18px; color: var(--ink); }
.teacher .role { font-size: 13px; color: var(--blue); font-weight: 700; margin: 2px 0 10px; }
.teacher p { font-size: 14px; color: var(--gray); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step .n { font-size: 40px; font-weight: 900; color: var(--bg-soft-2); line-height: 1; }
.step h4 { color: var(--ink); font-size: 18px; margin: 6px 0 8px; position: relative; z-index: 2; }
.step p { color: var(--gray); font-size: 14px; }

/* ---------- 对比表 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
table.compare thead th { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; font-weight: 700; }
table.compare thead th:first-child { border-top-left-radius: var(--radius); }
table.compare thead th:last-child { border-top-right-radius: var(--radius); }
table.compare tbody tr:hover { background: var(--bg-soft); }
table.compare td:first-child { font-weight: 700; color: var(--ink); }
table.compare .ok { color: #1f9d5b; font-weight: 800; }
table.compare .no { color: var(--gray-light); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.info-card { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 24px; margin-bottom: 8px; }
.info-card .sub { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.info-list { display: grid; gap: 22px; }
.info-list .it { display: flex; gap: 16px; align-items: flex-start; }
.info-list .it .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 20px; }
.info-list .it b { display: block; font-size: 15px; color: #fff; }
.info-list .it span { font-size: 14px; color: rgba(255,255,255,.85); }
.info-card .qr { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; gap: 16px; }
.info-card .qr .box { width: 84px; height: 84px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue); font-size: 12px; font-weight: 800; text-align: center; }
.info-card .qr span { font-size: 13px; color: rgba(255,255,255,.85); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.form-card .sub { color: var(--gray); margin-bottom: 26px; font-size: 15px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #d23b3b; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #d23b3b; }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--gray-light); margin-top: 12px; }
.contact-options { display: flex; flex-direction: column; }
.contact-choice-list { display: grid; gap: 12px; }
.contact-choice {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink);
  background: var(--bg-soft); transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.contact-choice:hover, .contact-choice:focus-visible { transform: translateY(-2px); border-color: var(--blue-2); background: #fff; }
.contact-choice-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--bg-soft-2); font-size: 20px; }
.contact-choice b, .contact-choice small { display: block; }
.contact-choice b { font-size: 15px; }
.contact-choice small { margin-top: 2px; color: var(--gray); font-size: 13px; line-height: 1.5; }
.contact-choice-arrow { margin-left: auto; color: var(--blue); font-size: 20px; }
.contact-options-note { margin-top: auto; padding-top: 22px; color: var(--gray-light); font-size: 13px; }

/* 校区位置图片 */
.map-box { height: 240px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #eaf1fb, #dbe7f8); position: relative; overflow: hidden; display: grid; place-items: center; margin-top: 18px; border: 1px solid var(--line); }
.map-box .pin { color: var(--blue); font-size: 38px; }
.map-box .label { position: absolute; bottom: 14px; left: 14px; background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--ink); font-weight: 600; }

/* ---------- 图片与相册 ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-rounded { border-radius: var(--radius); }
.img-shadow { box-shadow: var(--shadow); }
.img-wrap { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); line-height: 0; background: var(--bg-soft-2); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-wrap:hover img { transform: scale(1.05); }

.feature-visual.img { background: none; display: block; padding: 0; }
.feature-visual.img .deco, .feature-visual.img .big-quote { display: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery .img-wrap { aspect-ratio: 4/3; }
.gallery .g-2x2 { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
.gallery .g-2x1 { grid-column: span 2; aspect-ratio: 2/1; }
.gallery .g-1x2 { grid-row: span 2; aspect-ratio: 3/4; }
.gallery .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 18px; background: linear-gradient(transparent, rgba(15,61,110,.82)); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .35s; }
.gallery .img-wrap { position: relative; }
.gallery .img-wrap:hover .cap { opacity: 1; }

.course-img { height: 220px; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course:hover .course-img img { transform: scale(1.05); }
.map-box img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 22px; padding: 64px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); position: relative; font-weight: 800; }
.cta-band p { position: relative; color: rgba(255,255,255,.88); max-width: 560px; margin: 14px auto 32px; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- 页脚 ---------- */
.footer { background: linear-gradient(135deg, var(--blue-deep), #234ea0); color: rgba(255,255,255,.85); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p.desc { font-size: 14px; color: rgba(255,255,255,.78); max-width: 320px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: var(--blue-bright); }
.footer .contact-line { font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-bottom a { color: var(--blue-bright); }

/* ---------- 页面头图（内页） ---------- */
.page-hero { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.5px; }
.page-hero .crumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--blue-bright); }
.page-hero p { color: rgba(255,255,255,.88); max-width: 620px; margin-top: 14px; font-size: 17px; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-visual { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body.menu-open { overflow: hidden; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
    background: var(--blue-deep); flex-direction: column; align-items: stretch; justify-content: center;
    gap: 6px; padding: 40px; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,.92) !important; font-size: 17px; padding: 14px 16px; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; z-index: 101; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 128px 0 70px; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .hero-meta { gap: 26px; }
  .page-hero { padding: 118px 0 54px; }
  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 32px 46px; }
  .tl-item .dot { left: 10px !important; right: auto !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card { padding: 28px 24px; }
  .course .top { padding: 26px 22px; }
  .course .body { padding: 22px; }
  .info-card, .form-card { padding: 28px 24px; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(27px, 8.4vw, 38px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { gap: 18px 28px; }
  .stats-grid { gap: 22px 14px; }
  .stats .s b { font-size: 30px; }
  .gallery { gap: 12px; }
  .course .price { flex-wrap: wrap; }
  .info-card, .form-card { padding: 24px 20px; }
  .footer-grid { gap: 26px; }
}
