/* ================================================================
   广州元控科技有限公司 — 主样式表
   Author: JianXin Industrial Academy
   ================================================================ */

:root {
  --ink: #0b1522;
  --ink-2: #1c2b3a;
  --muted: #5a6b7d;
  --muted-2: #7b8b9c;
  --navy: #082742;
  --navy-2: #0c3455;
  --blue: #0f5c8c;
  --blue-500: #1477b3;
  --blue-050: #eef5fb;
  --teal: #0d7f7a;
  --amber: #d97706;
  --amber-050: #fdf4e3;
  --bg: #f4f7fa;
  --white: #ffffff;
  --line: #e3eaf2;
  --line-2: #d3dfeb;
  --ok: #15803d;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 50, .05), 0 4px 14px rgba(9, 30, 50, .05);
  --shadow-md: 0 8px 28px rgba(9, 30, 50, .09);
  --shadow-lg: 0 22px 60px rgba(9, 30, 50, .13);
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
::selection { background: #cfe6f7; color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 84px 0; }
.sec.tight { padding: 60px 0; }
.sec.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.dark { background: var(--navy); color: #cfe0ee; }
.sec.dark h2, .sec.dark h3 { color: #fff; }


/* ---------------- 导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(8, 39, 66, .18);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-txt b { font-size: 16.5px; letter-spacing: .02em; font-weight: 800; }
.brand-txt i { font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-top: 2px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li > a {
  display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
  transition: background .18s, color .18s;
}
.menu > li > a:hover { background: var(--blue-050); color: var(--blue); }
.menu > li > a.active { color: var(--blue); background: var(--blue-050); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-tel { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.nav-tel b { font-size: 15px; color: var(--navy); letter-spacing: .01em; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: .2s; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(15, 92, 140, .24); }
.btn-primary:hover { background: #0b4b73; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15, 92, 140, .28); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 6px 16px rgba(217, 119, 6, .25); }
.btn-amber:hover { background: #b45309; color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------------- 通用标题 ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.sec.dark .eyebrow { color: #8fc4e6; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.sec.dark .sec-head p { color: #a8c2d6; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(20, 119, 179, .16), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 92, 140, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 92, 140, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; padding-top: 66px; padding-bottom: 74px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.14; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: .06em; height: .16em;
  background: rgba(217, 119, 6, .28); border-radius: 3px; z-index: -1;
}
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink-2);
}
.chip.blue { background: var(--blue-050); border-color: #cfe4f5; color: var(--blue); }
.chip.amber { background: var(--amber-050); border-color: #f6e0b8; color: #a35b04; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--ok); }

/* Hero 视觉 */
.hero-visual { position: relative; }
.hero-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfdff;
}
.hero-card-top span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #cfdae5; display: block; }
.dots i:first-child { background: #f0b429; }
.dots i:nth-child(2) { background: #7bc4a0; }
.hero-svg { width: 100%; display: block; background: linear-gradient(160deg, #f8fbfe, #eef4f9); }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-md); padding: 11px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 12.5px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; color: var(--navy); }
.float-card small { color: var(--muted-2); font-size: 11px; }
.float-card .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.float-1 { left: -26px; top: 16%; }
.float-2 { right: -18px; bottom: 16%; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------------- 数据条 ---------------- */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; font-size: 17px; color: #f3b45a; margin-left: 2px; }
.stat span { font-size: 13px; color: #a5bfd3; }

/* ---------------- 分类卡 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px;
  transition: .22s ease; overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: 0; transition: .22s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ee; }
.cat-card:hover::after { opacity: 1; }
.cat-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 16px;
}
.cat-ic svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.cat-card p { font-size: 13.5px; color: var(--muted); min-height: 60px; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted-2); }
.cat-meta b { color: var(--blue); font-weight: 700; }
.cat-meta .arrow { transition: transform .2s; }
.cat-card:hover .cat-meta .arrow { transform: translateX(4px); }

/* ---------------- 课程卡 ---------------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .22s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ee; }
.course-thumb {
  position: relative; height: 112px;
  background: linear-gradient(135deg, #0c3455, #0f5c8c);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; overflow: hidden;
}
.course-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.course-thumb .code {
  position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: #9ec8e4; text-transform: uppercase;
}
.course-thumb .glyph { position: relative; opacity: .9; }
.course-thumb .glyph svg { width: 44px; height: 44px; color: #eaf4fb; }
.course-thumb .level-badge {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(4px);
}
.course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 16.5px; line-height: 1.4; }
.course-body h3 a { color: var(--navy); }
.course-body h3 a:hover { color: var(--blue); }
.course-body .desc { margin-top: 9px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.course-tags span { font-size: 11.5px; color: var(--blue); background: var(--blue-050); padding: 3px 8px; border-radius: 5px; }
.course-foot {
  margin-top: auto; padding-top: 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.course-meta { font-size: 12px; color: var(--muted-2); display: flex; gap: 12px; flex-wrap: wrap; }
.course-meta b { color: var(--ink-2); font-weight: 700; }
.price { font-size: 18px; font-weight: 800; color: var(--amber); letter-spacing: -.01em; white-space: nowrap; }
.price s { font-size: 12px; color: var(--muted-2); font-weight: 500; margin-right: 4px; }
.price small { font-size: 11px; color: var(--muted-2); font-weight: 500; margin-left: 2px; }

/* ---------------- 优势 ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: #fff; padding: 28px 26px; }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { font-size: 16px; margin-bottom: 7px; }
.feat p { font-size: 13.5px; color: var(--muted); }
.feat .idx { font-family: var(--mono); font-size: 11px; color: #b6c6d5; letter-spacing: .1em; }

/* ---------------- 路径时间轴 ---------------- */
.path-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.path-step { position: relative; padding: 0 22px 0 0; }
.path-step::before {
  content: ""; position: absolute; left: 0; top: 15px; right: 0; height: 2px;
  background: linear-gradient(90deg, #cfe0ee, #e8eff6);
}
.path-step:last-child::before { background: linear-gradient(90deg, #cfe0ee, transparent); }
.path-dot {
  position: relative; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-bottom: 18px;
}
.path-step:nth-child(1) .path-dot { background: var(--blue); color: #fff; }
.path-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.path-step .dur { font-size: 12px; color: var(--amber); font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; display: block; }
.path-step p { font-size: 13.5px; color: var(--muted); }
.path-step ul.mini { margin-top: 12px; display: grid; gap: 6px; }
.path-step ul.mini li { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; }
.path-step ul.mini li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); margin-top: 7px; flex: 0 0 auto; }

/* ---------------- 讲师 ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tcard-top { height: 120px; position: relative; background: linear-gradient(140deg, #eef5fb, #dbe9f4); display: grid; place-items: center; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(140deg, #1477b3, #082742);
  color: #fff; display: grid; place-items: center; font-size: 25px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(8, 39, 66, .24), inset 0 1px 0 rgba(255, 255, 255, .25); letter-spacing: .02em;
}
.tcard-top .years { position: absolute; top: 12px; right: 12px; font-size: 11px; background: #fff; color: var(--blue); border: 1px solid #cfe4f5; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.tcard-body { padding: 16px 18px 18px; }
.tcard-body h3 { font-size: 16px; display: flex; align-items: center; gap: 7px; }
.tcard-body .role { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-top: 3px; }
.tcard-body p { font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.tcard-body .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.tcard-body .tags span { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 4px; }

/* ---------------- 认证 ---------------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.cert-card.hot { border-color: #f0c98a; box-shadow: 0 10px 30px rgba(217, 119, 6, .1); }
.cert-card .lv { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }
.cert-card h3 { font-size: 19px; margin: 8px 0 6px; }
.cert-card .band { display: inline-block; font-size: 11.5px; font-weight: 700; color: #a35b04; background: var(--amber-050); border: 1px solid #f6e0b8; padding: 3px 9px; border-radius: 5px; margin-bottom: 12px; }
.cert-card p { font-size: 13.5px; color: var(--muted); }
.cert-card ul { margin-top: 14px; display: grid; gap: 8px; }
.cert-card ul li { font-size: 13px; display: flex; gap: 8px; color: var(--ink-2); }
.cert-card ul li svg { width: 15px; height: 15px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.cert-card .fee { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.cert-card .fee b { color: var(--amber); font-size: 17px; }

/* ---------------- 客户 / 合作 ---------------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.logo-pill {
  font-size: 13px; color: #61788c; border: 1px solid var(--line-2); background: #fff;
  padding: 9px 16px; border-radius: 8px; font-weight: 600; letter-spacing: .02em;
}

/* ---------------- FAQ ---------------- */
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.faq-q:hover { color: var(--blue); }
.faq-q .plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: 0 0 auto; transition: .2s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--blue); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.faq-q .plus::before { width: 10px; height: 1.6px; }
.faq-q .plus::after { width: 1.6px; height: 10px; transition: .2s; }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-item.open .faq-q .plus { background: var(--blue-050); border-color: #cfe4f5; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 20px; font-size: 14px; color: var(--muted); max-width: 800px; }

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(120deg, #082742 0%, #0d4067 55%, #0f5c8c 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.cta-band p { color: #b9d3e6; margin-top: 10px; font-size: 15px; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------------- 页脚 ---------------- */
.footer { background: #071f36; color: #93aec4; padding: 60px 0 0; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer a { color: #93aec4; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand-txt i { color: #7d99b0; }
.footer p.about { max-width: 320px; line-height: 1.75; color: #8ba7be; }
.footer-links { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact div { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: #5e8aa8; flex: 0 0 auto; margin-top: 3px; }
.footer-contact b { color: #fff; font-weight: 700; }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #7794ab;
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- 子页 Hero ---------------- */
.page-hero {
  background: linear-gradient(120deg, #082742 0%, #0d4067 60%, #0f5c8c 100%);
  color: #fff; padding: 54px 0 48px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { font-size: 12.5px; color: #9fc1da; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.crumb a { color: #9fc1da; }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; }
.page-hero .lead { margin-top: 14px; color: #b6d2e6; font-size: 16px; max-width: 720px; }
.page-hero .hero-stats { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.page-hero .hero-stats div b { display: block; font-size: 22px; color: #fff; font-weight: 800; }
.page-hero .hero-stats div span { font-size: 12.5px; color: #9fc1da; }

/* ---------------- 筛选器 ---------------- */
.filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.filter-bar .label { font-size: 12.5px; color: var(--muted-2); font-weight: 600; margin-right: 4px; }
.fbtn {
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  padding: 8px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .18s;
}
.fbtn:hover { border-color: var(--blue); color: var(--blue); }
.fbtn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-box { margin-left: auto; position: relative; }
.search-box input {
  border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 14px 9px 34px;
  font-size: 13.5px; font-family: inherit; width: 230px; color: var(--ink); background: #fff;
}
.search-box input:focus { outline: 2px solid #cfe4f5; border-color: var(--blue); }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted-2); }
.result-line { font-size: 13px; color: var(--muted-2); margin-bottom: 16px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; }

/* ---------------- 课程详情 ---------------- */
.detail-grid { display: grid; grid-template-columns: 1fr 344px; gap: 34px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 20px; }
.panel h2 { font-size: 21px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ""; width: 4px; height: 18px; background: var(--amber); border-radius: 2px; }
.panel h3 { font-size: 16px; margin: 22px 0 10px; }
.panel p { color: #3d4f60; font-size: 14.5px; }
.panel p + p { margin-top: 10px; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.outcome-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); background: #f8fbfd; border: 1px solid #e8f0f7; padding: 11px 13px; border-radius: 9px; }
.outcome-list svg { width: 16px; height: 16px; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.syllabus { display: grid; gap: 2px; }
.syl-item { padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; display: flex; gap: 14px; align-items: flex-start; background: #fff; }
.syl-item .no { font-family: var(--mono); font-size: 11.5px; color: var(--blue); background: var(--blue-050); border-radius: 5px; padding: 2px 7px; flex: 0 0 auto; margin-top: 2px; }
.syl-item b { display: block; font-size: 14.5px; color: var(--navy); }
.syl-item span.t { font-size: 12px; color: var(--muted-2); margin-left: auto; white-space: nowrap; }
.syl-item p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.aside-sticky { position: sticky; top: 90px; }
.enroll-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.enroll-head { padding: 20px 22px; background: linear-gradient(120deg, #082742, #0f5c8c); color: #fff; }
.enroll-head .p { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.enroll-head .p small { font-size: 12px; font-weight: 500; opacity: .8; }
.enroll-head .old { font-size: 12.5px; opacity: .7; text-decoration: line-through; margin-left: 8px; }
.enroll-body { padding: 18px 22px 22px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.spec-row:last-of-type { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row b { color: var(--navy); font-weight: 700; }
.enroll-body .btn { margin-top: 14px; }
.enroll-note { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 12px; line-height: 1.6; }
.side-box { background: #f8fbfd; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; }
.side-box h4 { font-size: 14.5px; margin-bottom: 12px; }
.side-box ul { display: grid; gap: 10px; }
.side-box li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.side-box li svg { width: 15px; height: 15px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
table.tbl th { background: #f2f7fb; text-align: left; padding: 13px 16px; font-size: 12.5px; letter-spacing: .03em; color: #4a6072; font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 13px 16px; border-bottom: 1px solid #eef3f8; color: #3d4f60; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: #fafdff; }
table.tbl b { color: var(--navy); }

/* ---------------- 内容块 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { color: #3d4f60; font-size: 14.5px; margin-bottom: 12px; }
.prose ul.bul { display: grid; gap: 9px; margin: 12px 0 18px; }
.prose ul.bul li { display: flex; gap: 9px; font-size: 14px; color: #3d4f60; }
.prose ul.bul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: 8px; flex: 0 0 auto; }
.callout { border-left: 3px solid var(--blue); background: var(--blue-050); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 13.5px; color: #2c4a60; }
.callout.amber { border-color: var(--amber); background: var(--amber-050); color: #7a4a08; }

.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.kpi b { display: block; font-size: 26px; color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .2s; }
.case-card:hover { box-shadow: var(--shadow-md); border-color: #cfe0ee; }
.case-card .k { font-family: var(--mono); font-size: 11px; color: var(--amber); letter-spacing: .1em; }
.case-card h3 { font-size: 17px; margin: 8px 0 8px; }
.case-card p { font-size: 13.5px; color: var(--muted); }
.case-card .res { display: flex; gap: 18px; margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line-2); }
.case-card .res div b { display: block; font-size: 16px; color: var(--blue); font-weight: 800; }
.case-card .res div span { font-size: 11.5px; color: var(--muted-2); }

.dl-list { display: grid; gap: 12px; }
.dl-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: .18s; }
.dl-item:hover { border-color: #cfe0ee; box-shadow: var(--shadow-sm); }
.dl-item .fmt { width: 44px; height: 44px; border-radius: 9px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; font-size: 11px; font-weight: 800; font-family: var(--mono); flex: 0 0 auto; }
.dl-item h4 { font-size: 14.5px; }
.dl-item p { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.dl-item .btn { margin-left: auto; }

.article-list { display: grid; gap: 16px; }
.article { display: grid; grid-template-columns: 96px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.article .date { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); line-height: 1.8; }
.article h3 { font-size: 17px; margin-bottom: 6px; }
.article p { font-size: 13.5px; color: var(--muted); }
.article .tag { font-size: 11.5px; color: var(--blue); background: var(--blue-050); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-top: 10px; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field label i { color: #c2410c; font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; width: 100%;
  transition: .16s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 92, 140, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--muted-2); }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 9px; font-size: 13.5px; background: #ecfdf3; border: 1px solid #b7e4c7; color: #14703d; }
.form-msg.show { display: block; }

.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.info-item .ic svg { width: 18px; height: 18px; }
.info-item h4 { font-size: 14px; margin-bottom: 3px; }
.info-item p { font-size: 13.5px; color: var(--muted); }

.campus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campus { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.campus h4 { font-size: 15.5px; margin-bottom: 6px; }
.campus p { font-size: 13px; color: var(--muted); }

/* ---------------- 其他 ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.badge-line { display: flex; gap: 8px; flex-wrap: wrap; }

.note-strip {
  background: #fff8ec; border: 1px solid #f6e3c0; color: #7a4a08;
  border-radius: 10px; padding: 12px 16px; font-size: 13px;
}

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.tl-item .yr { font-family: var(--mono); font-size: 12px; color: var(--amber); font-weight: 700; }
.tl-item h4 { font-size: 15px; margin: 3px 0 5px; }
.tl-item p { font-size: 13.5px; color: var(--muted); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-visual { max-width: 560px; }
  .cat-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .path-line { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .path-step::before { display: none; }
  .cert-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-tel { display: none; }
  .burger { display: grid; }
  .menu {
    position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 12px 18px 22px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none; max-height: calc(100vh - 70px); overflow: auto;
  }
  .menu.open { display: flex; }
  .menu > li > a { padding: 12px 10px; font-size: 15px; }
  .nav-actions .btn { display: none; }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; }
  .case-grid, .campus-grid, .form-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .outcome-list { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 8px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .cat-grid, .team-grid, .course-grid, .feat-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .path-line { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 30px; }
  .page-hero { padding: 40px 0 34px; }
  .btn-lg { width: 100%; }
}

@media print {
  .nav, .footer, .cta-band, .hero-visual { display: none !important; }
  body { background: #fff; }
}
