/* ==========================================================================
   众联新能源 · 品牌官网样式
   ========================================================================== */

:root {
  --ink: #070d1a;
  --navy: #0b1526;
  --navy-2: #101f38;
  --paper: #f5f7fa;
  --card: #ffffff;
  --line: #e4e9f0;
  --text: #1c2432;
  --text-2: #5a6779;
  --text-3: #8a94a6;
  --green: #14c47c;
  --green-deep: #0ea86a;
  --cyan: #2bb8ff;
  --grad: linear-gradient(120deg, #17d07e 0%, #23c3e8 60%, #2bb8ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(23, 208, 126, .12), rgba(43, 184, 255, .12));
  --radius: 18px;
  --shadow: 0 10px 40px rgba(7, 13, 26, .08);
  --shadow-lg: 0 24px 70px rgba(7, 13, 26, .16);
  --nav-h: 72px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 通用文字 ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .35em;
  color: var(--green-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--ink);
  text-wrap: balance;
}
.dark .h2 { color: #fff; }

.lead { margin-top: 16px; max-width: 720px; color: var(--text-2); font-size: 16px; }
.dark .lead { color: rgba(255, 255, 255, .62); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

.note {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}
.dark .note { color: rgba(255, 255, 255, .4); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: var(--grad);
  color: #04121c;
  box-shadow: 0 10px 30px rgba(23, 208, 126, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(23, 208, 126, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled,
.nav.solid {
  background: rgba(7, 13, 26, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark img { width: 72%; height: 72%; display: block; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .06em; line-height: 1.2; }
.brand-sub { font-size: 10.5px; letter-spacing: .28em; color: rgba(255, 255, 255, .55); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-links a.active { color: #fff; position: relative; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-cta { margin-left: 10px; padding: 10px 22px; font-size: 14px; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9);
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 85% 15%, rgba(43, 184, 255, .18), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(23, 208, 126, .16), transparent 60%),
    linear-gradient(100deg, rgba(7, 13, 26, .96) 30%, rgba(7, 13, 26, .72) 60%, rgba(7, 13, 26, .55));
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 600px at 30% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 600px at 30% 40%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 208, 126, .22);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(23, 208, 126, .22); }
  50% { box-shadow: 0 0 0 8px rgba(23, 208, 126, .08); }
}

.hero h1 {
  font-size: clamp(36px, 6.2vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .02em;
  max-width: 760px;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .68);
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.stat {
  background: rgba(7, 13, 26, .55);
  padding: 26px 24px;
}
.stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .6); letter-spacing: .05em; }
.hero-stats-note { margin-top: 12px; }

/* ---------- 内页 Hero ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 88px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(43, 184, 255, .16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(23, 208, 126, .14), transparent 60%);
}
.page-hero .wrap { position: relative; }
.crumbs { font-size: 13.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: .02em; }
.page-hero p { margin-top: 16px; max-width: 680px; color: rgba(255, 255, 255, .65); font-size: 16px; }

/* ---------- 卡片网格 ---------- */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card .tag-row { margin-top: 16px; }

/* ---------- 标签 ---------- */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--green-deep);
  border: 1px solid rgba(23, 208, 126, .25);
}
.tag.plain { background: #f0f3f7; color: var(--text-2); border-color: var(--line); }
.dark .tag.plain { background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.12); }

/* ---------- 三阶教学体系 ---------- */

.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.path-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.path-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 14px; right: 20px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(23, 208, 126, .28);
}
.path-step .stage {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.path-step h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.path-step .area { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.path-step p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 班型卡 ---------- */

.course {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course.featured { border: 1.5px solid transparent; background:
  linear-gradient(var(--card), var(--card)) padding-box,
  var(--grad) border-box; }
.course-badge {
  position: absolute;
  top: -13px; left: 30px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #04121c;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
}
.course .dur { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--green-deep); }
.course h3 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 8px 0 6px; }
.course .fit { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.course ul { display: grid; gap: 10px; margin-bottom: 24px; }
.course li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-2);
}
.course li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1.5px solid var(--green);
}
.course li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 12px;
  width: 5px; height: 3px;
  border-left: 1.5px solid var(--green-deep);
  border-bottom: 1.5px solid var(--green-deep);
  transform: rotate(-45deg);
}
.course .cta { margin-top: auto; }
.course .price-note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }
.course .price,
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 16px; }
.course .price b,
.price-line b {
  font-size: 30px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.course .price span,
.price-line span { font-size: 12.5px; color: var(--text-3); }

/* ---------- 结业能力 / 报名礼包 ---------- */

.tag.lg { font-size: 14.5px; padding: 9px 18px; }
.gift-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 36px; }
.gift-list li { position: relative; padding-left: 27px; font-size: 15px; color: var(--text-2); }
.gift-list li b { color: var(--ink); }
.gift-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1.5px solid var(--green);
}
.gift-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 10.5px;
  width: 5px; height: 3px;
  border-left: 1.5px solid var(--green-deep);
  border-bottom: 1.5px solid var(--green-deep);
  transform: rotate(-45deg);
}

/* ---------- 师资 ---------- */

.teacher-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.teacher-photo { position: relative; min-height: 380px; }
.teacher-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 讲师照多为竖版人像，脸部在上方：从顶部裁切，避免宽扁容器裁掉人脸 */
  object-position: center top;
  position: absolute; inset: 0;
}
.teacher-photo .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
}
.teacher-photo .ph b {
  font-size: 96px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.teacher-body { padding: 40px 44px; }
.teacher-body .role { font-size: 13.5px; font-weight: 700; letter-spacing: .16em; color: var(--green-deep); }
.teacher-body h3 { font-size: 30px; font-weight: 900; color: var(--ink); margin: 6px 0 14px; }
.teacher-body .bio { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }
.teacher-body .certs-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--text-3); margin-bottom: 10px; }

.teacher-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s, box-shadow .3s;
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.teacher-card .avatar {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.teacher-card .avatar b {
  font-size: 26px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.teacher-card h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.teacher-card .role { font-size: 13px; color: var(--green-deep); font-weight: 700; letter-spacing: .08em; margin: 4px 0 12px; }
.teacher-card p { font-size: 14px; color: var(--text-2); margin-bottom: 16px; }

/* ---------- 深色区块 ---------- */

.dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(43, 184, 255, .12), transparent 60%),
    radial-gradient(700px 500px at 5% 95%, rgba(23, 208, 126, .1), transparent 60%);
  pointer-events: none;
}
.dark .wrap { position: relative; }
.dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
}
.dark .card h3 { color: #fff; }
.dark .card p { color: rgba(255, 255, 255, .6); }
.dark .card:hover { box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }

/* ---------- 设备区 ---------- */

.device-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.device-visual {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, #0e1c33, #0a1424);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 40px;
  overflow: hidden;
}
.device-visual::before {
  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: 32px 32px;
}
.device-name {
  position: relative;
  font-size: 34px; font-weight: 900; letter-spacing: .04em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.device-en { position: relative; font-size: 12px; letter-spacing: .4em; color: rgba(255,255,255,.4); margin: 4px 0 26px; }
.spec-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 16px;
}
.spec b { display: block; font-size: 15px; color: #fff; font-weight: 700; margin-bottom: 4px; }
.spec span { font-size: 12.5px; color: rgba(255, 255, 255, .5); }

.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(23, 208, 126, .12);
  border: 1px solid rgba(23, 208, 126, .3);
  display: grid; place-items: center;
}
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item b { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.feature-item p { font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- 品牌跑马灯 ---------- */

.marquee {
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee .chip {
  flex: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .04em;
}

/* ---------- 图文横排 ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .pic {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.split .pic:hover img { transform: scale(1.04); }

/* ---------- 生活照片 ---------- */

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(7, 13, 26, .85));
  color: #fff;
}
.photo-card .cap b { display: block; font-size: 17px; font-weight: 800; }
.photo-card .cap span { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- 时间轴 ---------- */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--green), var(--cyan));
  border-radius: 2px;
  opacity: .5;
}
.tl-item { position: relative; padding: 0 0 34px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--green);
  box-shadow: 0 0 0 4px rgba(23, 208, 126, .18);
}
.tl-item .date { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--green); }
.tl-item b { display: block; font-size: 17px; font-weight: 800; color: #fff; margin: 3px 0 4px; }
.tl-item p { font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- 表格 ---------- */

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.plan { width: 100%; border-collapse: collapse; background: var(--card); min-width: 720px; }
table.plan th, table.plan td { padding: 16px 20px; text-align: left; font-size: 14.5px; }
table.plan th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
table.plan td { border-top: 1px solid var(--line); color: var(--text-2); }
table.plan td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
table.plan tr:hover td { background: #fafbfd; }

/* ---------- 案例 / 相册 ---------- */

.case-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.case-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-item .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.case-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-item:hover .pic img { transform: scale(1.05); }
.case-item .body { padding: 26px 28px 30px; }
.case-item .meta { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--green-deep); margin-bottom: 8px; }
.case-item h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.case-item p { font-size: 14px; color: var(--text-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery a {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  display: block;
  position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- 资讯 ---------- */

.news-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.news-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-item .pic { aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-soft); }
.news-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .pic img { transform: scale(1.05); }
.news-item .pic .ph-icon { width: 100%; height: 100%; display: grid; place-items: center; }
.news-item .pic .ph-icon svg { width: 56px; height: 56px; opacity: .8; }
.news-item .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.news-item .meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--text-3); margin-bottom: 10px; }
.news-item .meta .cat {
  font-weight: 700;
  color: var(--green-deep);
  background: var(--grad-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.news-item h3 { font-size: 18.5px; font-weight: 800; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
.news-item p { font-size: 14px; color: var(--text-2); flex: 1; }

/* ---------- CTA 横幅 ---------- */

.cta-band {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(120deg, #0c1b31, #0a1626);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(23, 208, 126, .2), transparent 60%),
    radial-gradient(600px 300px at 85% 80%, rgba(43, 184, 255, .18), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .65); max-width: 560px; margin: 0 auto 32px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone { font-size: 15px; margin-top: 22px; color: rgba(255, 255, 255, .55); }
.cta-phone b { color: #fff; font-size: 17px; letter-spacing: .06em; }

/* ---------- 页脚 ---------- */

.footer {
  background: #060b16;
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand { margin-bottom: 18px; }
.footer-about { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .45); }
.footer h4 { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .1em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer ul a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .55); }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.footer-legal {
  padding-top: 28px;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .32);
  text-align: center;
  line-height: 1.8;
}

/* ---------- 动效 ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-slide.active { animation: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .device-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .teacher-feature { grid-template-columns: 1fr; }
  .teacher-photo { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .grid { gap: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .teacher-body { padding: 28px 22px; }
  .teacher-body h3 { font-size: 25px; }

  /* 品牌标识收紧 */
  .brand-name { font-size: 17px; }
  .brand-sub { letter-spacing: .18em; }
  .brand-mark { width: 36px; height: 36px; }

  /* Hero：紧凑排版 + 全宽按钮 */
  .hero { min-height: 0; padding: calc(var(--nav-h) + 44px) 0 60px; }
  .hero h1 { font-size: clamp(29px, 8.2vw, 36px); line-height: 1.28; }
  .hero-tag {
    font-size: 12px;
    letter-spacing: .04em;
    padding: 7px 14px;
    margin-bottom: 22px;
  }
  .hero-sub { margin-top: 18px; font-size: 15px; }
  .hero-actions { margin-top: 30px; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { margin-top: 48px; grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12px; letter-spacing: 0; margin-top: 4px; }
  .hero-stats-note { font-size: 11.5px; }

  /* 内页 Hero */
  .page-hero { padding: calc(var(--nav-h) + 52px) 0 56px; }
  .page-hero h1 { font-size: 30px; text-wrap: balance; }
  .page-hero p { font-size: 15px; }

  /* 卡片：带图标的改为「图标在左、内容在右」的紧凑横排 */
  .card { padding: 24px 22px; }
  .card h3 { font-size: 17.5px; }
  .card p { font-size: 14px; }
  .card:has(.card-icon) {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .card:has(.card-icon) .card-icon {
    width: 48px; height: 48px;
    margin-bottom: 0;
    grid-row: 1 / 3;
  }
  .card:has(.card-icon) h3,
  .card:has(.card-icon) p { grid-column: 2; }
  .card:has(.card-icon) .tag-row { grid-column: 2; }

  /* 结业能力 / 报名礼包 */
  .gift-list { grid-template-columns: 1fr; gap: 11px; }
  .tag.lg { font-size: 13.5px; padding: 8px 15px; }

  /* 三阶体系 / 班型 */
  .path-step { padding: 26px 22px 22px; }
  .path-step::before { font-size: 48px; top: 12px; right: 16px; }
  .path-step h3 { font-size: 20px; }
  .course { padding: 28px 22px; }
  .course h3 { font-size: 21px; }

  /* 师资卡片与占位图 */
  .teacher-photo { min-height: 260px; }
  .teacher-photo:has(.ph) { min-height: 150px; }
  .teacher-photo .ph b { font-size: 52px; }
  .teacher-card { padding: 26px 22px; }

  /* 设备区 */
  .device-visual { padding: 26px 20px; }
  .device-name { font-size: 27px; }
  .device-en { letter-spacing: .26em; font-size: 11px; }
  .spec-grid { grid-template-columns: 1fr; gap: 10px; }
  .spec { padding: 13px 14px; }
  .feature-list { gap: 14px; }
  .marquee { margin-top: 40px; }
  .marquee .chip { padding: 9px 18px; font-size: 13px; }

  /* 图文与案例 */
  .split { gap: 28px; }
  .case-item .body { padding: 20px 20px 24px; }
  .case-item h3 { font-size: 17.5px; }
  .news-item .body { padding: 20px 20px 24px; }
  .news-item h3 { font-size: 17px; }
  .photo-card .cap { padding: 36px 16px 14px; }
  .photo-card .cap b { font-size: 15.5px; }
  .photo-card .cap span { font-size: 12px; }

  /* CTA 与页脚 */
  .cta-band { text-align: left; }
  .cta-band p { margin-left: 0; }
  .cta-band .actions { justify-content: stretch; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .cta-phone { font-size: 14px; }
  .footer { padding: 56px 0 30px; }
  .footer-legal { text-align: left; }

  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 28px;
    background: rgba(7, 13, 26, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s, opacity .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links a.active::after { left: 16px; right: auto; width: 28px; bottom: 8px; }
  .nav-cta { margin: 10px 0 0; }
}
