/* =========================================================
   灵斯半导体官网 · 主样式
   Light theme / Brand red #C9383D / Navy #101F3A
   ========================================================= */

:root {
  --red: #c9383d;
  --red-2: #a92a30;
  --red-soft: #fcefee;
  --red-line: #f3d3d2;
  --navy: #101f3a;
  --navy-2: #182b4d;
  --navy-3: #223a63;
  --ink: #1c2a3e;
  --ink-2: #5a6b80;
  --ink-3: #8b9ab0;
  --line: #e6ecf4;
  --line-2: #eef2f7;
  --bg: #f5f8fc;
  --bg-2: #fafbfd;
  --white: #fff;
  --gold: #b4762c;
  --green: #1f9d63;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(16, 31, 58, 0.08);
  --shadow-lg: 0 28px 70px rgba(16, 31, 58, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
svg.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

::selection { background: rgba(201, 56, 61, 0.16); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: all .22s var(--ease);
}
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(201, 56, 61, .26); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(201, 56, 61, .32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-outline { background: transparent; color: var(--ink); border-color: #d6deea; }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f3f5f9; }
.btn-lg { height: 54px; padding: 0 30px; border-radius: 12px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 14px; font-weight: 600; }
.link-btn .ico { width: 15px; height: 15px; transition: transform .2s; }
.link-btn:hover .ico { transform: translateX(3px); }

.circle-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(16, 31, 58, .06); transition: all .2s var(--ease);
}
.circle-btn .ico { width: 18px; height: 18px; }
.circle-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 顶部公告条 ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 13px; height: 38px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.topbar-news { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.news-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff6b70; flex: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 112, .16);
}
.marquee { overflow: hidden; min-width: 0; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 20px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { white-space: nowrap; }
.marquee-sep { color: rgba(255, 255, 255, .3); }
@keyframes marquee { to { transform: translateX(-50%); } }
.topbar-contact { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar-hours { color: rgba(255, 255, 255, .55); }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; letter-spacing: .3px; }
.topbar-phone .ico { width: 14px; height: 14px; color: #ff8b8f; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line-2); box-shadow: 0 8px 30px rgba(16, 31, 58, .07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 28px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 15px; font-weight: 500; color: #3c4c63;
  padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--red); opacity: 0; transform: translateX(-50%) scale(.4);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--red); }
.nav-links a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-cta { height: 42px; padding: 0 20px; font-size: 14px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; background: linear-gradient(180deg, #fbfcfe 0%, #f3f7fc 62%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16, 31, 58, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 31, 58, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 20%, #000 35%, transparent 100%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-blob-1 { width: 420px; height: 420px; background: rgba(201, 56, 61, .10); top: -120px; right: 8%; }
.hero-blob-2 { width: 360px; height: 360px; background: rgba(60, 110, 200, .10); bottom: -80px; left: -60px; }
.hero-inner { position: relative; z-index: 2; }
.hero-stage { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-copies { display: grid; min-height: 470px; align-content: center; }
.hero-copy {
  grid-area: 1 / 1; opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none; visibility: hidden;
}
.hero-copy.is-active { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; color: var(--red);
  background: var(--red-soft); border: 1px solid var(--red-line);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-kicker .ico { width: 14px; height: 14px; }
.hero-title { font-size: clamp(36px, 4.4vw, 55px); font-weight: 900; line-height: 1.2; color: var(--navy); letter-spacing: -.5px; }
.hero-title-line { display: block; }
.hero-title-line.accent {
  color: var(--red);
  background: linear-gradient(transparent 68%, rgba(201, 56, 61, .13) 68%);
  background-size: 0% 100%; background-repeat: no-repeat;
  animation: titleHighlight 1s .35s var(--ease) forwards;
  display: inline-block;
}
.hero-copy.is-active .hero-title-line.accent { animation: titleHighlight 1s .35s var(--ease) forwards; }
@keyframes titleHighlight { to { background-size: 100% 100%; } }
.hero-sub { margin-top: 20px; font-size: 16.5px; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 4px rgba(34, 181, 115, .14); }

.hero-pager { grid-area: 1 / 1; align-self: end; display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--ink-3); font-size: 12px; letter-spacing: 1px; }
.hero-pager-current { color: var(--navy); font-weight: 800; font-size: 14px; }
.hero-pager-line { width: 54px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero-pager-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: pagerLine 7s linear infinite; }
@keyframes pagerLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-media { position: relative; }
.hero-images {
  position: relative; aspect-ratio: 1.02 / 1; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #dfe7f1;
}
.hero-image { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.hero-image.is-active { opacity: 1; transform: scale(1); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-images::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(16,31,58,0) 45%, rgba(16,31,58,.42) 100%);
  pointer-events: none;
}
.hero-media-tags { position: absolute; left: 20px; bottom: 62px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-media-tags span {
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px);
  color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 31, 58, .10);
}
.hero-controls {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-dots { display: flex; gap: 7px; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: all .2s; }
.hero-dot.is-active { width: 22px; border-radius: 999px; background: #fff; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows .circle-btn {
  width: 38px; height: 38px; background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px);
  box-shadow: none;
}
.hero-arrows .circle-btn:hover { background: #fff; color: var(--navy); }
.hero-arrows .ico { width: 16px; height: 16px; }

.hero-float-card {
  position: absolute; left: -26px; bottom: 118px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(16, 31, 58, .16);
}
.float-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.float-ico .ico { width: 21px; height: 21px; }
.hero-float-card strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.35; }
.hero-float-card em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.hero-float-badge {
  position: absolute; right: -18px; top: 26px; z-index: 4;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(16, 31, 58, .28); text-align: center;
}
.hero-float-badge strong { display: block; font-size: 22px; font-weight: 900; line-height: 1.15; color: #fff; }
.hero-float-badge span { font-size: 11.5px; color: rgba(255, 255, 255, .7); }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); margin-top: 58px; padding: 26px 12px;
}
.stat-item { text-align: center; padding: 4px 20px; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.stat-value { display: block; font-size: 36px; font-weight: 900; color: var(--red); line-height: 1.15; letter-spacing: -.5px; }
.stat-label { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg); }
.section-soft + .section-soft { border-top: 1px solid var(--line-2); }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.sec-head { max-width: 660px; }
.sec-head.center { margin-inline: auto; text-align: center; max-width: 720px; margin-bottom: 46px; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px; color: var(--red);
  text-transform: uppercase; margin-bottom: 12px;
}
.sec-kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.sec-kicker.light { color: #ffb9bb; }
.sec-kicker.light::before { background: #ffb9bb; }
.sec-head h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.28; color: var(--navy); letter-spacing: -.3px; }
.sec-head p { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.sec-head.center .sec-kicker { justify-content: center; }
.sec-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.slide-count { font-size: 13px; color: var(--ink-3); letter-spacing: 1px; margin-right: 6px; }
.slide-count b { color: var(--navy); font-size: 17px; }

/* ---------- 教学实景 ---------- */
.h-scroll {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 14px; margin: -4px -4px -14px; scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.g-card {
  position: relative; flex: 0 0 372px; aspect-ratio: 4 / 3.15; border-radius: 20px;
  overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: #dde5ef;
  box-shadow: 0 10px 26px rgba(16, 31, 58, .08);
}
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,31,58,0) 35%, rgba(9,20,38,.86) 100%);
}
.g-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; color: #fff; }
.g-index { display: block; font-size: 11px; letter-spacing: 2px; color: rgba(255, 255, 255, .65); margin-bottom: 6px; }
.g-card h3 { font-size: 19px; font-weight: 700; }
.g-card p { font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-card:hover img { transform: scale(1.05); }

/* ---------- 师资 ---------- */
.teacher-slider { position: relative; }
.teacher-slide { display: none; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.teacher-slide.is-active { display: grid; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.teacher-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 3.6; background: #e3e9f2; box-shadow: var(--shadow); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.teacher-photo-tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 12px 16px;
}
.teacher-photo-tag b { display: block; font-size: 14.5px; color: var(--navy); }
.teacher-photo-tag span { font-size: 12px; color: var(--ink-3); }
.teacher-name-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.teacher-name-row h3 { font-size: clamp(32px, 3.4vw, 42px); font-weight: 900; color: var(--navy); letter-spacing: 2px; }
.teacher-name-row span { font-size: 16px; font-weight: 600; color: var(--red); background: var(--red-soft); padding: 5px 12px; border-radius: 8px; }
.teacher-meta { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-list span {
  font-size: 12.5px; color: var(--ink-2); background: #eef3f9; border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
}
.teacher-quote {
  margin-top: 26px; padding: 22px 24px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 4px 14px 14px 4px;
  display: flex; gap: 14px; align-items: flex-start;
}
.teacher-quote .ico { width: 26px; height: 26px; color: var(--red); opacity: .55; flex: none; margin-top: 2px; }
.teacher-quote p { font-size: 16px; color: var(--navy); font-weight: 500; line-height: 1.8; }
.teacher-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.teacher-points li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.teacher-points .ico { width: 15px; height: 15px; color: var(--green); }
.teacher-slide .btn { margin-top: 26px; }

/* ---------- 课程 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d8e2ef; }
.course-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e4eaf2; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.course-card:hover .course-cover img { transform: scale(1.05); }
.course-level {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px);
  color: var(--navy); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.course-price {
  position: absolute; right: 12px; top: 12px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 8px; box-shadow: 0 6px 14px rgba(201, 56, 61, .3);
}
.course-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 18.5px; font-weight: 800; color: var(--navy); }
.course-en { font-size: 11px; color: var(--ink-3); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 3px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-meta .ico { width: 14px; height: 14px; color: var(--ink-3); }
.course-points { display: grid; gap: 7px; margin: 15px 0 18px; flex: 1; }
.course-points li { position: relative; padding-left: 15px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.course-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: .7; }
.course-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%; border-top: 1px solid var(--line-2); padding-top: 15px;
  font-size: 13.5px; font-weight: 600; color: var(--red); text-align: left;
}
.course-link .ico { width: 15px; height: 15px; transition: transform .2s; }
.course-link:hover .ico { transform: translateX(4px); }

.outline-box { margin-top: 54px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.outline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.outline-title h3 { font-size: 24px; font-weight: 800; color: var(--navy); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); background: var(--bg); border: 1px solid transparent; transition: all .2s;
}
.tab:hover { color: var(--red); }
.tab.is-active { background: var(--navy); color: #fff; }
.outline-panel { display: none; }
.outline-panel.is-active { display: block; animation: fadeUp .35s var(--ease); }
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage-card {
  position: relative; background: var(--bg); border-radius: 16px; padding: 24px 22px;
  border-top: 3px solid var(--red); overflow: hidden;
}
.stage-no { position: absolute; right: 16px; top: 8px; font-size: 44px; font-weight: 900; color: var(--red); opacity: .09; line-height: 1; }
.stage-label { font-size: 10.5px; letter-spacing: 1.5px; color: var(--red); font-weight: 700; }
.stage-card h4 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin: 6px 0 14px; }
.stage-card ul { display: grid; gap: 8px; }
.stage-card li { position: relative; padding-left: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.stage-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.outline-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink-3);
}

/* ---------- 就业 / 保障 ---------- */
.section-employment { background: linear-gradient(180deg, #fff 0%, #f7f9fc 18%, #f7f9fc 100%); }
.guarantee {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #101f3a 0%, #16294a 55%, #1b3358 100%);
  border-radius: 28px; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  box-shadow: 0 30px 60px rgba(16, 31, 58, .18);
}
.guarantee::before {
  content: ""; position: absolute; right: 12%; top: -40%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(201, 56, 61, .38), transparent 65%);
  border-radius: 50%; filter: blur(10px);
}
.guarantee::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 80% at 70% 40%, #000, transparent 80%);
}
.guarantee-copy { position: relative; z-index: 2; max-width: 720px; }
.guarantee-copy h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; color: #fff; line-height: 1.3; }
.guarantee-copy h2 em { font-style: normal; color: #ff9b9e; }
.guarantee-copy p { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .68); max-width: 640px; }
.guarantee-copy .btn { margin-top: 26px; }
.guarantee-side { position: relative; z-index: 2; text-align: right; flex: none; }
.guarantee-mark { display: block; font-size: 92px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .32); letter-spacing: -3px; }
.guarantee-label { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: 3px; margin-top: 6px; }

.records-block { margin-top: 76px; }
.record-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.record-chips span {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; font-size: 12px; color: var(--ink-3);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.record-chips b { font-size: 18px; color: var(--red); font-weight: 900; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.record-table { width: 100%; border-collapse: collapse; }
.record-table th {
  text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--ink-3);
  background: #f2f6fb; padding: 14px 20px; white-space: nowrap;
}
.record-table td { padding: 15px 20px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line-2); white-space: nowrap; }
.record-table tbody tr { transition: background .2s; }
.record-table tbody tr:hover { background: #fafcff; }
.record-table td:first-child { color: var(--navy); font-weight: 600; }
.record-table td b { color: var(--ink); font-weight: 600; }
.row-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; margin-right: 9px;
  background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 700;
}
.salary { color: var(--red); font-weight: 800; }

/* ---------- 学员风采 ---------- */
.students-block { margin-top: 76px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe7f1; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video-card:hover .video-poster img { transform: scale(1.05); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,31,58,.05), rgba(16,31,58,.45)); }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  color: var(--red); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(9, 20, 38, .25); transition: transform .25s, background .25s;
}
.play-btn .ico { width: 20px; height: 20px; margin-left: 2px; }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-duration {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(9, 20, 38, .62); color: #fff; font-size: 11.5px;
  padding: 3px 8px; border-radius: 6px; letter-spacing: .5px;
}
.video-label {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--red); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.video-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.video-who strong { display: block; font-size: 15.5px; color: var(--navy); }
.video-who em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.video-info .salary { font-size: 18px; }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.story-card {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 14px;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9e3f0; }
.story-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--red-soft), #f7e2e2);
  color: var(--red); font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.story-who { min-width: 0; flex: 1; }
.story-who strong { display: block; font-size: 15.5px; color: var(--navy); }
.story-who em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); }
.story-card .salary { font-size: 19px; }
.story-quote { font-size: 14px; color: var(--ink); line-height: 1.75; flex: 1; }
.story-meta { font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; display: flex; align-items: center; gap: 6px; }
.story-meta b { color: var(--ink-2); font-weight: 600; }
.story-meta i { font-style: normal; margin-left: auto; color: var(--ink-3); }

.resume-block { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.resume-head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.resume-head-row h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.resume-head-row p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.resume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resume-card { background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.resume-top { display: flex; align-items: center; gap: 12px; }
.resume-avatar { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--red); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.resume-who { flex: 1; min-width: 0; }
.resume-who h4 { font-size: 16px; color: var(--navy); }
.resume-who p { font-size: 12px; color: var(--ink-3); }
.resume-top .salary { font-size: 18px; }
.resume-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.resume-tags span { font-size: 11.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.resume-edu { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); }
.resume-edu .ico { width: 15px; height: 15px; }
.resume-link { display: inline-flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--red); font-size: 13px; font-weight: 600; }
.resume-link .ico { width: 14px; height: 14px; }

/* ---------- 就业辅导 ---------- */
.coaching-block { margin-top: 84px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; overflow: hidden; }
.process-step { position: absolute; right: 24px; top: 20px; font-size: 40px; font-weight: 900; color: var(--navy); opacity: .06; line-height: 1; }
.process-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.process-ico .ico { width: 23px; height: 23px; }
.process-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-top: 18px; }
.process-sub { font-size: 13px; color: var(--red); margin-top: 4px; }
.process-card ul { margin-top: 18px; display: grid; gap: 8px; }
.process-card li { position: relative; padding-left: 14px; font-size: 13px; color: var(--ink-2); }
.process-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: .65; }

.service-box { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.service-head h3 { font-size: 21px; font-weight: 800; color: var(--navy); }
.service-head p { font-size: 13.5px; color: var(--ink-3); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-item { display: flex; gap: 14px; background: var(--bg); border-radius: 14px; padding: 18px; }
.service-ico { width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }
.service-ico .ico { width: 19px; height: 19px; }
.service-item h4 { font-size: 14.5px; color: var(--navy); }
.service-item p { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.service-cta {
  margin-top: 24px; background: var(--navy); border-radius: 16px; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.service-cta strong { display: block; color: #fff; font-size: 16.5px; }
.service-cta span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-side h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--navy); line-height: 1.3; }
.faq-side > p { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.faq-side .btn { margin-top: 24px; }
.faq-contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq-contact span { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 1px; }
.faq-contact a { display: block; font-size: 26px; font-weight: 900; color: var(--red); margin: 4px 0 2px; }
.faq-contact em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.faq-item.is-open { border-color: #efcfce; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; text-align: left; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.faq-q i { position: relative; width: 18px; height: 18px; flex: none; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; background: var(--ink-3); border-radius: 2px; transition: all .25s; }
.faq-q i::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-q i::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.is-open .faq-q i::before { background: var(--red); }
.faq-item.is-open .faq-q i::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* ---------- 合作企业 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-item {
  height: 82px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.partner-item span { font-size: 16px; font-weight: 700; color: #76859a; letter-spacing: 1px; transition: color .2s; }
.partner-item:hover { border-color: var(--red-line); background: #fffafa; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 31, 58, .06); }
.partner-item:hover span { color: var(--red); }

/* ---------- 校区环境 ---------- */
.campus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.campus-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; cursor: zoom-in; background: #dfe7f1; }
.campus-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.campus-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,31,58,0) 40%, rgba(9,20,38,.82) 100%); }
.campus-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; color: #fff; }
.campus-card h3 { font-size: 21px; font-weight: 700; }
.campus-card p { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 5px; max-width: 520px; }
.campus-zoom {
  position: absolute; right: 16px; top: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--navy); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px); transition: all .25s;
}
.campus-zoom .ico { width: 16px; height: 16px; }
.campus-card:hover img { transform: scale(1.04); }
.campus-card:hover .campus-zoom { opacity: 1; transform: none; }

/* ---------- 关于我们 ---------- */
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: start; }
.about-copy h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 900; line-height: 1.25; color: var(--navy); }
.about-copy h2 em { font-style: normal; color: var(--red); }
.about-copy > p { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.about-points { margin-top: 26px; display: grid; gap: 13px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.about-check { width: 22px; height: 22px; border-radius: 7px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.about-check .ico { width: 13px; height: 13px; }
.about-points b { color: var(--navy); font-weight: 700; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-actions .btn-ghost { gap: 8px; }
.timeline { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 32px 32px 12px; }
.timeline-title { margin-bottom: 24px; }
.timeline-title span { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.timeline-title em { font-style: normal; font-size: 10.5px; letter-spacing: 2px; color: var(--ink-3); }
.timeline-item { position: relative; padding: 0 0 26px 34px; border-left: 1px dashed #cfdae8; margin-left: 6px; }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 8px; }
.timeline-year { display: block; font-size: 20px; font-weight: 900; color: var(--red); line-height: 1.2; }
.timeline-dot { position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--red); }
.timeline-item p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1a2f; color: rgba(255, 255, 255, .66); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.1fr; gap: 44px; padding-bottom: 46px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.footer-logo img { height: 38px; width: auto; }
.footer-brand > p { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .5); max-width: 360px; }
.footer-hotline { margin-top: 22px; }
.footer-hotline span { display: block; font-size: 11.5px; letter-spacing: 2px; color: rgba(255, 255, 255, .4); }
.footer-hotline a { display: block; font-size: 28px; font-weight: 900; color: #fff; letter-spacing: .5px; margin: 3px 0; }
.footer-hotline em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .4); }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 18px; font-weight: 700; letter-spacing: 1px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col li a, .footer-col li span { font-size: 13.5px; color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer-col li a:hover { color: #fff; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact-list .ico { width: 15px; height: 15px; margin-top: 4px; color: rgba(255, 255, 255, .35); }
.footer-cta { margin-top: 20px; background: rgba(255, 255, 255, .1); box-shadow: none; }
.footer-cta:hover { background: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  font-size: 12px; color: rgba(255, 255, 255, .38);
}
.footer-slogan { margin-left: auto; }

/* ---------- 悬浮栏 / 移动底栏 ---------- */
.float-rail {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.rail-item {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(16, 31, 58, .12); transition: all .2s;
}
.rail-item .ico { width: 20px; height: 20px; }
.rail-item:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rail-cta { background: var(--red); border-color: var(--red); color: #fff; }
.rail-cta:hover { background: var(--red-2); }
.rail-item::after {
  content: attr(data-tip); position: absolute; right: 58px; top: 50%; transform: translateY(-50%) translateX(4px);
  background: var(--navy); color: #fff; font-size: 12px; white-space: nowrap;
  padding: 6px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: all .2s;
}
.rail-item:hover::after { opacity: 1; transform: translateY(-50%); }
.mobile-bar { display: none; }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 16, 30, .58); backdrop-filter: blur(5px); }
.modal-dialog {
  position: relative; z-index: 2; background: #fff; border-radius: 24px;
  width: min(100%, 920px); max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg);
  transform: translateY(18px); transition: transform .3s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-close {
  position: absolute; right: 16px; top: 16px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line); color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 31, 58, .08);
}
.modal-close .ico { width: 17px; height: 17px; }
.modal-close:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* 咨询弹窗 */
.modal-consult { display: grid; grid-template-columns: .92fr 1.08fr; width: min(100%, 940px); }
.consult-side {
  background: linear-gradient(160deg, #101f3a 0%, #16294a 70%, #1c3459 100%);
  color: #fff; padding: 44px 38px; border-radius: 24px 0 0 24px; position: relative; overflow: hidden;
}
.consult-side::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 56, 61, .35), transparent 68%);
  right: -120px; top: -100px;
}
.consult-kicker { position: relative; z-index: 2; font-size: 11px; letter-spacing: 2.5px; color: #ff9b9e; font-weight: 700; }
.consult-side h3 { position: relative; z-index: 2; font-size: 30px; font-weight: 900; margin-top: 12px; line-height: 1.3; }
.consult-side > p { position: relative; z-index: 2; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.consult-qr { position: relative; z-index: 2; margin-top: 24px; background: #fff; border-radius: 16px; padding: 16px; text-align: center; }
.consult-qr img { width: 100%; max-width: 240px; margin-inline: auto; }
.consult-qr span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.consult-benefits { position: relative; z-index: 2; margin-top: 22px; display: grid; gap: 9px; }
.consult-benefits li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.consult-benefits .ico { width: 15px; height: 15px; color: #7ee2a8; }
.consult-main { padding: 44px 40px 36px; }
.consult-main h4 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.consult-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: #fbfcfe; outline: none; transition: border-color .2s, box-shadow .2s; font-size: 14px;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201, 56, 61, .08); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 11.5px; color: var(--ink-3); text-align: center; }
.form-error { display: none; font-size: 12.5px; color: var(--red); text-align: center; }
.form-error.is-show { display: block; }
.consult-success { text-align: center; padding: 12px 0; }
.success-ico { width: 60px; height: 60px; border-radius: 50%; background: #e9f8ef; color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success-ico .ico { width: 28px; height: 28px; }
.consult-success h4 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.consult-success > p { font-size: 14px; color: var(--ink-2); }
.success-qr { margin: 22px auto 18px; max-width: 220px; }
.success-qr img { border-radius: 12px; border: 1px solid var(--line); }
.success-qr span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* 课程弹窗 */
.modal-course { width: min(100%, 900px); }
.course-modal-head { display: grid; grid-template-columns: 320px 1fr; background: var(--navy); color: #fff; }
.course-modal-head > img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.course-modal-title { padding: 36px 34px; }
.course-modal-title .course-level { position: static; display: inline-block; margin-bottom: 12px; }
.course-modal-title h3 { font-size: 30px; font-weight: 900; }
.course-modal-title > p { font-size: 11.5px; letter-spacing: 2px; color: rgba(255, 255, 255, .45); text-transform: uppercase; margin-top: 2px; }
.course-modal-meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.course-modal-meta strong { font-size: 24px; color: #fff; font-weight: 900; margin-left: auto; }
.course-modal-body { padding: 32px 36px 36px; }
.course-modal-intro { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.modal-subtitle { font-size: 17px; font-weight: 800; color: var(--navy); margin: 26px 0 16px; }
.modal-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-stage { background: var(--bg); border-radius: 14px; padding: 20px; position: relative; }
.modal-stage .stage-no { font-size: 34px; top: 10px; }
.modal-stage h5 { font-size: 15px; font-weight: 700; color: var(--navy); position: relative; }
.modal-stage ul { margin-top: 10px; display: grid; gap: 5px; }
.modal-stage li { font-size: 12.5px; color: var(--ink-2); padding-left: 12px; position: relative; }
.modal-stage li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.modal-cta { margin-top: 26px; background: var(--bg); border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.modal-cta strong { display: block; font-size: 15px; color: var(--navy); }
.modal-cta span { font-size: 12.5px; color: var(--ink-3); }

/* 学员故事弹窗 */
.modal-student { width: min(100%, 960px); }
.student-modal-grid { display: grid; grid-template-columns: 1fr 350px; gap: 0; }
.student-story { padding: 44px 40px; }
.student-story h3 { font-size: 30px; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.student-story h3 .salary { font-size: 22px; background: var(--red-soft); padding: 3px 12px; border-radius: 8px; }
.student-role { font-size: 13.5px; color: var(--red); margin-top: 6px; font-weight: 600; }
.student-story blockquote { margin: 22px 0 14px; padding: 18px 20px; background: var(--bg); border-left: 3px solid var(--red); border-radius: 4px 12px 12px 4px; font-size: 15px; color: var(--navy); font-weight: 500; }
.student-text { font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.student-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.student-facts span { background: #fbfcfe; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 11.5px; color: var(--ink-3); display: grid; gap: 2px; }
.student-facts b { font-size: 14.5px; color: var(--navy); }
.offer-card {
  margin: 28px; background: linear-gradient(155deg, #101f3a, #1b3358 70%, #223f6b);
  border-radius: 20px; padding: 30px 28px; color: #fff; position: relative; overflow: hidden;
  align-self: start;
}
.offer-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 56, 61, .4), transparent 68%); right: -80px; bottom: -80px; }
.offer-top { display: flex; align-items: center; justify-content: space-between; }
.offer-brand { font-size: 8.5px; letter-spacing: 1.6px; color: rgba(255, 255, 255, .45); }
.offer-label { font-size: 10px; letter-spacing: 2px; background: var(--red); padding: 3px 8px; border-radius: 4px; }
.offer-card h4 { font-size: 22px; margin-top: 22px; font-weight: 800; }
.offer-card > p { font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.8; margin-top: 10px; }
.offer-card > p b { color: #fff; font-weight: 600; }
.offer-salary { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.offer-salary span { font-size: 11px; color: rgba(255, 255, 255, .45); letter-spacing: 2px; }
.offer-salary strong { font-size: 40px; font-weight: 900; color: #ff9b9e; }
.offer-line { height: 1px; background: rgba(255, 255, 255, .14); margin: 18px 0 12px; }
.offer-foot { display: flex; justify-content: space-between; font-size: 9.5px; color: rgba(255, 255, 255, .35); letter-spacing: .5px; }

/* 简历弹窗 */
.modal-resume { width: min(100%, 720px); }
.resume-paper { padding: 44px 48px 40px; }
.resume-paper-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--navy); padding-bottom: 20px; }
.resume-paper-head h3 { font-size: 32px; font-weight: 900; color: var(--navy); letter-spacing: 2px; }
.resume-paper-head p { font-size: 14px; color: var(--red); font-weight: 600; margin-top: 4px; }
.resume-paper-salary { text-align: right; font-size: 10.5px; color: var(--ink-3); letter-spacing: 1px; }
.resume-paper-salary b { font-size: 26px; color: var(--red); }
.resume-paper-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 0; font-size: 12.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.resume-paper section { padding-top: 22px; }
.resume-paper section h4 { font-size: 14.5px; font-weight: 800; color: var(--navy); padding-left: 10px; border-left: 3px solid var(--red); margin-bottom: 10px; }
.resume-paper section p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.resume-paper .tag-list { margin-top: 4px; }
.resume-paper-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }

/* 视频弹窗 */
.modal-video { width: min(100%, 900px); background: #0b1424; }
.video-frame { aspect-ratio: 16 / 9; background: #050a14; display: flex; align-items: center; justify-content: center; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-placeholder { text-align: center; color: rgba(255, 255, 255, .7); padding: 30px; }
.video-placeholder .play-btn { position: static; transform: none; margin: 0 auto 18px; }
.video-placeholder h4 { font-size: 18px; color: #fff; }
.video-placeholder p { font-size: 13px; color: rgba(255, 255, 255, .45); margin-top: 6px; }
.video-placeholder .btn { margin-top: 18px; }
.video-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; }
.video-caption strong { color: #fff; font-size: 15px; }
.video-caption .link-btn { color: #ff9b9e; }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 10, 20, .93); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px; opacity: 0; visibility: hidden; transition: all .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 78vh; border-radius: 12px; object-fit: contain; }
.lightbox span { color: rgba(255, 255, 255, .75); font-size: 14px; }
.lightbox-close { position: absolute; right: 26px; top: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close .ico { width: 20px; height: 20px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; font-size: 13.5px;
  padding: 12px 22px; border-radius: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .25s; z-index: 400; max-width: 88vw; text-align: center;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .hero-stage { gap: 40px; }
  .hero-float-card { left: -12px; }
  .hero-float-badge { right: -6px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-slide { grid-template-columns: 340px 1fr; gap: 44px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .stage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .topbar-hours { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 110;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 16px;
    box-shadow: 0 24px 40px rgba(16, 31, 58, .12); max-height: calc(100vh - var(--header-h) - 30px); overflow: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }
  .menu-toggle { display: flex; }
  .hero-stage { grid-template-columns: 1fr; gap: 44px; }
  .hero-copies { min-height: 0; }
  .hero-media { max-width: 680px; }
  .hero { padding-top: 44px; }
  .stats-bar { margin-top: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .float-rail { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mb-item {
    flex: 1; height: 46px; border-radius: 10px; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff;
  }
  .mb-item .ico { width: 17px; height: 17px; }
  .mb-main { flex: 1.3; background: var(--red); border-color: var(--red); color: #fff; }
  body { padding-bottom: 70px; }
  .toast { bottom: 86px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .sec-row { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .sec-tools { align-self: flex-start; }
  .video-grid, .story-grid, .resume-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: 1fr; }
  .modal-consult { grid-template-columns: 1fr; }
  .consult-side { border-radius: 24px 24px 0 0; padding: 30px; }
  .consult-qr { max-width: 320px; }
  .consult-qr img { max-width: 190px; }
  .consult-benefits { display: none; }
  .student-modal-grid { grid-template-columns: 1fr; }
  .offer-card { margin: 0 24px 24px; }
  .course-modal-head { grid-template-columns: 1fr; }
  .course-modal-head > img { height: 200px; min-height: 0; }
  .modal-stages { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; align-items: flex-start; padding: 36px; gap: 24px; }
  .guarantee-side { display: none; }
  .teacher-slide { grid-template-columns: 1fr; gap: 30px; }
  .teacher-photo { max-width: 360px; }
  .outline-box { padding: 24px; }
  .outline-head { align-items: flex-start; flex-direction: column; }
  .tabs { overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .tab { flex: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .topbar { height: 34px; font-size: 12px; }
  .topbar-contact .topbar-phone span { display: none; }
  .topbar-phone .ico { width: 15px; height: 15px; }
  .brand img { height: 34px; }
  .nav-cta { display: none; }
  .hero { padding-top: 30px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 14.5px; }
  .hero-actions .btn { flex: 1; padding: 0 16px; }
  .hero-float-card { left: 8px; bottom: 64px; padding: 10px 12px; }
  .hero-float-card .float-ico { width: 34px; height: 34px; }
  .hero-float-badge { right: 8px; top: 12px; padding: 9px 12px; }
  .hero-float-badge strong { font-size: 18px; }
  .hero-media-tags span:nth-child(3) { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 18px 6px; gap: 14px 0; }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-value { font-size: 28px; }
  .g-card { flex-basis: 82vw; }
  .course-grid { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .video-grid, .story-grid, .resume-grid, .process-grid, .service-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-item { height: 64px; }
  .partner-item span { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-hotline a { font-size: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-slogan { margin-left: 0; }
  .modal { padding: 12px; }
  .modal-dialog { max-height: 94vh; border-radius: 18px; }
  .consult-main { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .course-modal-title, .course-modal-body, .student-story, .resume-paper { padding: 26px 22px; }
  .resume-paper-head h3 { font-size: 26px; }
  .resume-paper-foot { flex-direction: column; align-items: flex-start; }
  .student-facts { grid-template-columns: 1fr; }
  .service-cta { flex-direction: column; align-items: flex-start; }
  .guarantee { padding: 28px 24px; }
  .section { padding: 60px 0; }
  .section .sec-head h2, .faq-side h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- 锚点偏移 ---------- */
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
