:root {
  --navy: #0a1628;
  --navy-light: #1e3a5f;
  --accent: #e8553d;
  --accent-soft: #f59e0b;
  --ivory: #f7f8fa;
  --ink: #6b7b8d;
  --ink-dark: #1a1a2e;
  --line: #e2e6ee;
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* 减少移动端双击缩放；配合 viewport user-scalable=no */
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink-dark);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  overscroll-behavior-x: none;
}

/* ===== 移动端图片防长按保存 / 防拖拽下载（无法 100% 防截屏与抓包） ===== */
img,
picture,
.img-lightbox,
.img-lightbox img,
.cred-cover,
.cred-cover img,
.course-cert,
.course-cert img,
.campus-card__img,
.campus-card__img img,
.fc-card img,
.article-body img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}
img {
  /* 禁止被拖到桌面/相册快捷方式 */
  -webkit-user-drag: none;
}

/* ===== 前台：顶栏/底栏始终稳定，仅主内容轻微淡入（无切页整屏转场） ===== */
#header {
  /* fixed 顶栏占位，与 malaji 顶栏 64px 对齐 */
  min-height: 64px;
  height: 64px;
  position: relative;
  z-index: 1000;
  /* 顶栏永不参与 loading 隐藏，杜绝切换时菜单「闪一下」 */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#footer {
  min-height: 1px;
  opacity: 1 !important;
  visibility: visible !important;
}
.page-main {
  min-height: 40vh;
  opacity: 1;
}
/* 不再对整页主内容做透明度切换，避免「整页在抖/在闪」 */
body.page-loading .page-main,
body.page-ready .page-main,
.page-main.is-ready {
  opacity: 1;
}
/* 动态列表区：预留高度，接口返回前不塌陷（降低 CLS） */
.async-slot {
  min-height: 200px;
  position: relative;
}
.async-slot--courses { min-height: 220px; }
.async-slot--creds { min-height: 320px; }
.async-slot--news { min-height: 240px; }
.async-slot--blocks { min-height: 360px; }
.async-slot--list { min-height: 280px; }
/* 骨架屏（仅作占位，不参与真实内容高度跳动） */
.async-slot.is-loading::before {
  content: '';
  display: block;
  height: 100%;
  min-height: inherit;
  border-radius: 12px;
  background: linear-gradient(90deg, #eef1f6 0%, #f7f8fa 45%, #eef1f6 100%);
  background-size: 200% 100%;
  animation: async-shimmer 1.2s ease-in-out infinite;
}
.async-slot:not(.is-loading)::before { display: none; }
@keyframes async-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .async-slot.is-loading::before { animation: none; }
}
/* 已废弃 page-leaving 切页动画；若残留 class 也不要压暗整页 */
body.page-leaving .page-main {
  opacity: 1;
  pointer-events: auto;
}
/* 顶栏在任何 body 状态下都保持不透明 */
body.page-loading .nav,
body.page-loading .site-header,
body.page-leaving .nav,
body.page-leaving .site-header,
body.page-ready .nav,
body.page-ready .site-header {
  opacity: 1 !important;
  visibility: visible !important;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.section-sub { color: var(--ink); margin: 0 0 28px; max-width: 640px; }

/* =========================================================
 * 导航栏 —— 1:1 对齐 malaji.com/website
 * 结构：.nav > .nav__inner > (.nav__logo | .nav__menu | .nav__toggle)
 * 手机：.nav__menu fixed top:64px right:-100% → .nav__menu--open right:0
 * 无全屏遮罩 / 无抽屉 / 无 body 锁滚动
 * ========================================================= */
.nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav__inner,
.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* LOGO */
.nav__logo,
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
}
.nav__logo:hover,
.logo:hover {
  color: #fff;
  opacity: 0.95;
}
/* LOGO 图：保持 PNG 透明底，勿加背景块/圆角底（深色顶栏上更干净） */
.nav__logo-img,
.logo img,
.logo .site-logo-img,
.site-logo-img {
  height: 44px;
  width: auto;
  max-width: 168px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}
.nav__logo-text {
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
/* LOGO 图已含校名时，窄屏只显示图，避免双行文字拥挤 */
@media (max-width: 480px) {
  .nav__logo-text {
    display: none;
  }
}

/* 菜单：桌面横向；手机侧滑面板（见 media） */
.nav__menu {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav__link {
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav__link--active,
.nav__link.active,
.nav__menu a.active {
  color: #fff;
  background: transparent;
  font-weight: 600;
}
.nav__link--active::after,
.nav__menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
/* CTA 报名按钮在菜单里 */
.nav__link--cta.btn,
.nav__menu .btn {
  white-space: nowrap;
}

/* 汉堡按钮（默认隐藏，手机显示）—— malaji .nav__toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
}
/* 汉堡 → X（与 malaji 同款 7px 位移） */
.nav__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 兼容旧选择器（若静态页残留） */
.menu-btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #e8553d, #f59e0b);
  color: #fff; box-shadow: 0 8px 20px rgba(232,85,61,.28);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline {
  background: #fff; border: 1px solid rgba(10,22,40,.12); color: var(--navy);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35);
}

/* Hero */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: linear-gradient(120deg, #0a1628 0%, #1e3a5f 55%, #0a1628 100%);
  color: #fff; overflow: hidden;
}
/* 有视频时略增高，画面更清晰 */
.hero.hero--has-video {
  min-height: 600px;
}
.hero video,
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* 提高可见度（原先 0.35 过暗） */
  opacity: 1;
  z-index: 0;
  /* 轻微提亮，避免发灰 */
  filter: brightness(1.05) contrast(1.05) saturate(1.05);
  pointer-events: none;
}
/* 遮罩减淡：左侧保文字可读，右侧尽量透出视频 */
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.72) 0%,
    rgba(10, 22, 40, 0.48) 42%,
    rgba(10, 22, 40, 0.22) 72%,
    rgba(10, 22, 40, 0.12) 100%
  );
  pointer-events: none;
}
/* 有视频时遮罩再轻一点 */
.hero.hero--has-video .hero-mask {
  background: linear-gradient(
    105deg,
    rgba(8, 18, 34, 0.62) 0%,
    rgba(8, 18, 34, 0.38) 45%,
    rgba(8, 18, 34, 0.16) 78%,
    rgba(8, 18, 34, 0.08) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  max-width: 720px;
  /* 文字区微阴影，遮罩变浅后仍清晰 */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; margin-bottom: 16px;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; }
.hero p { color: rgba(255,255,255,.9); font-size: 17px; margin: 0 0 24px; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-content .hero-actions {
  justify-content: flex-start;
}

/* 首页视频声音开关（浏览器禁止自动有声，需用户点击开启） */
.hero-sound-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.hero-sound-btn:hover {
  background: rgba(10, 22, 40, 0.75);
  transform: translateY(-1px);
}
.hero-sound-btn.is-on {
  border-color: rgba(232, 85, 61, 0.55);
  background: rgba(232, 85, 61, 0.85);
}
.hero-sound-btn .ico {
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 480px) {
  .hero-sound-btn {
    right: 12px;
    bottom: 12px;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
  .hero.hero--has-video {
    min-height: 520px;
  }
}

/* Stats —— 字号偏大，便于 40–50 岁用户阅读 */
.stats {
  margin-top: -48px; position: relative; z-index: 3;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 28px 20px;
  box-shadow: 0 12px 40px rgba(10,22,40,.1); border: 1px solid var(--line);
}
.stat-item { text-align: center; padding: 4px 2px; }
.stat-item .n {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.stat-item .n span {
  color: var(--accent);
  font-size: 0.55em;
  font-weight: 800;
}
.stat-item .l {
  color: var(--ink);
  font-size: clamp(15px, 1.35vw, 17px);
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.35;
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 8px rgba(10,22,40,.04);
  transition: .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,22,40,.08); }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.card p { margin: 0; color: var(--ink); font-size: 14px; }
.tag {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px;
  background: #fff1ee; color: var(--accent); font-weight: 600; margin-bottom: 10px;
}

/* ===== 企业资质左右轮播 ===== */
.cred-carousel {
  position: relative;
  margin-top: 8px;
}
.cred-track-wrap {
  overflow: hidden;
  border-radius: 16px;
  margin: 0 44px;
}
.cred-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}
.cred-track::-webkit-scrollbar { display: none; }
.cred-card {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 240px;
  max-width: 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10,22,40,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cred-card:hover {
  box-shadow: 0 12px 28px rgba(10,22,40,.1);
  transform: translateY(-2px);
}
.cred-cover {
  position: relative;
  height: 220px;
  background: #f4f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 12px;
}
.cred-cover img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* 完整显示，不裁切 */
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.cred-cover .zoom-tip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(10,22,40,.55);
  padding: 3px 8px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
}
.cred-card:hover .zoom-tip { opacity: 1; }
.cred-cover.no-img {
  color: #9aa8b8;
  font-size: 40px;
  cursor: default;
}
.cred-body {
  padding: 14px 16px 16px;
}
.cred-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 700;
}
.cred-body p {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.cred-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10,22,40,.1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s ease;
}
.cred-nav:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cred-nav.prev { left: 0; }
.cred-nav.next { right: 0; }
.cred-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
.cred-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #d0d7e2;
  padding: 0;
  cursor: pointer;
  transition: .15s ease;
}
.cred-dots button.active {
  width: 20px;
  background: var(--accent);
}

/* 灯箱放大 */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 14, 28, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.img-lightbox.is-open { display: flex; }
.img-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background: #fff;
  cursor: default;
}
.img-lightbox .lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.img-lightbox .lb-close:hover { background: rgba(255,255,255,.28); }
.img-lightbox .lb-caption {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .cred-track-wrap { margin: 0 36px; }
  .cred-card { flex: 0 0 calc(50% - 10px); min-width: 200px; }
  .cred-cover { height: 180px; }
}
@media (max-width: 560px) {
  .cred-track-wrap { margin: 0 32px; }
  .cred-card { flex: 0 0 82%; min-width: 220px; }
  .cred-nav { width: 34px; height: 34px; font-size: 18px; }
  .cred-cover { height: 200px; }
}

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.78); padding: 48px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.25fr 1fr;
  gap: 28px 32px;
  margin-bottom: 28px;
  align-items: start;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.78); display: block; margin: 6px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}
/* 工作时间：紧贴电话列表下方，减少空隙 */
.footer-col--contact a {
  margin: 4px 0;
}
.footer-hours {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-hours__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.78);
  margin-bottom: 4px;
}
.footer-hours__ico {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(232, 85, 61, 0.95);
  opacity: 0.95;
}
.footer-hours__text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.footer-hours__line {
  display: block;
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 15px;
  outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7b8d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,85,61,.14);
}
.form-hint { font-size: 12px; color: var(--ink); margin-top: 4px; }
.form-error { color: #dc2626; font-size: 13px; margin-top: 4px; }

/* 手机端通用优化 */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .card { padding: 16px; }
  .container { padding: 0 16px; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 24px; }
  .stats { margin-top: -36px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 20px 14px;
  }
  .stat-item .n { font-size: 32px; }
  .stat-item .l { font-size: 16px; margin-top: 6px; }
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 15px;
  outline: none; background: #fff;
}
.form-row textarea { height: auto; min-height: 96px; padding: 10px 12px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,85,61,.15);
}
.form-hint { font-size: 12px; color: var(--ink); margin-top: 4px; }
.form-error { color: #dc2626; font-size: 13px; margin-top: 4px; }
.steps { display: flex; gap: 8px; margin-bottom: 24px; }
.step-dot {
  flex: 1; text-align: center; padding: 10px; border-radius: 8px; background: #eef1f6;
  color: var(--ink); font-size: 13px; font-weight: 600;
}
.step-dot.active { background: linear-gradient(135deg, #e8553d, #f59e0b); color: #fff; }
/* 右下角咨询报名：默认隐藏；仅手机端 + 首页（body.is-home）显示 */
.float-call {
  display: none;
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 12px 16px;
  box-shadow: 0 10px 24px rgba(232,85,61,.35); font-weight: 600; font-size: 14px;
  text-decoration: none;
}
@media (max-width: 640px) {
  body.is-home .float-call {
    display: inline-flex;
    align-items: center;
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.page-hero {
  background: linear-gradient(120deg, #0a1628, #1e3a5f); color: #fff; padding: 56px 0;
}
.page-hero h1 { margin: 0 0 8px; font-size: 32px; min-height: 1.2em; }
.page-hero p { margin: 0; opacity: .85; min-height: 1.4em; }
/* 接口填充前隐藏，避免默认占位文案闪现 */
.page-hero .hero-async {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.page-hero .hero-async.is-filled {
  opacity: 1;
}

/* ===== 关于我们 / 教学环境 内容页 ===== */
.about-lead {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 8px;
}
.about-lead__text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.05);
}
.about-lead__text h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--navy);
}
.about-lead__text p {
  margin: 0 0 14px;
  color: #3d4a5c;
  line-height: 1.85;
  font-size: 15px;
}
.about-lead__text p:last-child { margin-bottom: 0; }
.about-lead__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-kpi {
  background: linear-gradient(145deg, #0a1628, #1e3a5f);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.18);
}
.about-kpi .n {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
.about-kpi .n span { font-size: 16px; font-weight: 600; opacity: 0.9; margin-left: 2px; }
.about-kpi .l { margin-top: 6px; font-size: 13px; opacity: 0.78; }
.about-kpi.accent {
  background: linear-gradient(135deg, #e8553d, #f59e0b);
}

.about-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 18px;
}
.about-section-title h2 {
  margin: 0;
  font-size: 22px;
  color: var(--navy);
}
.about-section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, #e8553d, #f59e0b);
  flex-shrink: 0;
}
.about-section-title p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.about-majors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.about-major {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  transition: 0.15s ease;
}
.about-major:hover {
  border-color: rgba(232, 85, 61, 0.35);
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.06);
  transform: translateY(-2px);
}
.about-major .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232,85,61,.12), rgba(245,158,11,.12));
  font-size: 20px;
}
.about-major h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--navy);
}
.about-major p {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
}

.about-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.about-block h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--navy);
}
.about-block ul {
  margin: 0;
  padding-left: 18px;
  color: #3d4a5c;
  line-height: 1.8;
  font-size: 14px;
}
.about-block p {
  margin: 0;
  color: #3d4a5c;
  line-height: 1.8;
  font-size: 14px;
}

.about-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-award {
  background: #fff7f5;
  border: 1px solid #f0d0c6;
  color: #9a3412;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.about-cta {
  margin-top: 36px;
  background: linear-gradient(120deg, #0a1628, #1e3a5f 55%, #0a1628);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.about-cta h3 { margin: 0 0 6px; font-size: 20px; }
.about-cta p { margin: 0; opacity: 0.85; font-size: 14px; }
.about-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* 教学环境 */
.campus-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -28px 0 28px;
  position: relative;
  z-index: 2;
}
.campus-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.06);
}
.campus-stat .n {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.campus-stat .n span { font-size: 14px; font-weight: 600; color: var(--accent); }
.campus-stat .l { margin-top: 6px; font-size: 13px; color: var(--ink); }

.campus-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 28px;
  line-height: 1.9;
  color: #3d4a5c;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.04);
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.campus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.campus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 22, 40, 0.1);
}
.campus-card__img {
  aspect-ratio: 4 / 3;
  background: #eef1f6;
  overflow: hidden;
}
.campus-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.campus-card:hover .campus-card__img img {
  transform: scale(1.04);
}
.campus-card__body {
  padding: 12px 14px 14px;
}
.campus-card__body h3 {
  margin: 0;
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}
.campus-card__body p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink);
}

.campus-card.wide {
  grid-column: span 2;
}
.campus-card.wide .campus-card__img {
  aspect-ratio: 16 / 9;
}

/* ===== 培训业务 · 五大板块 + 证书样式 ===== */
.course-blocks { display: flex; flex-direction: column; gap: 28px; }
.course-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(10, 22, 40, 0.05);
}
.course-block__inner {
  display: grid;
  /* 证书参考在左（区域开始），介绍在右 */
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  min-height: 280px;
}
.course-block__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}
.course-block__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #e8553d;
  background: rgba(232, 85, 61, 0.1);
  margin-bottom: 12px;
}
.course-block__body h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.35;
}
.course-block__body .desc {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
}
.course-block__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #3d4a5c;
}
.course-block__meta strong { color: var(--navy); }
.course-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-block__certs {
  background: linear-gradient(160deg, #f4f7fb 0%, #eef2f8 55%, #f8fafc 100%);
  /* 证书在左侧时，右边框分隔正文 */
  border-right: 1px solid var(--line);
  border-left: none;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  order: 0;
}
.course-block__body {
  order: 1;
}
.course-block__certs::before {
  content: '证书参考样式';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8a96a8;
  white-space: nowrap;
}
.course-certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
}
.course-cert {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
  padding: 8px;
  max-width: 100%;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.course-cert:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.12);
}
.course-cert img {
  display: block;
  max-height: 200px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin: 0 auto;
}
.course-cert.is-pair {
  max-width: calc(50% - 6px);
}
.course-cert.is-pair img {
  max-height: 170px;
}
.course-cert-caption {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  color: #8a96a8;
  font-weight: 600;
}

/* 详情页证书展示（置顶） */
.detail-cert-box {
  margin-top: 0;
  margin-bottom: 8px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f4f7fb, #eef2f8);
  border: 1px solid var(--line);
}
.detail-cert-box--top {
  margin-top: 0;
}
.detail-cert-box h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--navy);
}
.detail-cert-box .course-certs-row { margin-top: 0; }

@media (max-width: 900px) {
  .about-lead { grid-template-columns: 1fr; }
  .about-majors { grid-template-columns: repeat(2, 1fr); }
  .about-blocks { grid-template-columns: 1fr; }
  .campus-stats { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
  .campus-gallery { grid-template-columns: repeat(2, 1fr); }
  .campus-card.wide { grid-column: span 2; }
  .course-block__inner { grid-template-columns: 1fr; }
  .course-block__certs {
    border-right: none;
    border-bottom: 1px solid var(--line);
    border-top: none;
    min-height: 220px;
    order: -1; /* 手机端证书仍在最上方 */
  }
  .course-block__body { order: 1; }
  .course-cert img { max-height: 180px; }
}
@media (max-width: 560px) {
  .about-majors { grid-template-columns: 1fr 1fr; }
  .campus-gallery { grid-template-columns: 1fr; }
  .campus-card.wide { grid-column: span 1; }
  .campus-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== 培训 / 就业风采 ===== */
.fc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 28px;
  position: relative;
  z-index: 2;
}
.fc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.06);
  transition: 0.15s ease;
}
.fc-tab:hover { border-color: rgba(232, 85, 61, 0.35); }
.fc-tab.is-active {
  background: linear-gradient(135deg, #e8553d, #f59e0b);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 85, 61, 0.28);
}
.fc-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
  color: #3d4a5c;
  line-height: 1.85;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.04);
}
.fc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fc-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #4b5563;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}
.fc-chip:hover { border-color: #e8553d; color: #e8553d; }
.fc-chip.is-on {
  background: #fff7f5;
  border-color: #f0b4a8;
  color: #c2410c;
}
.fc-group {
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.04);
}
.fc-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e8edf3;
}
.fc-group__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}
.fc-group__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink);
}
.fc-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #e8553d;
  background: rgba(232, 85, 61, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}
.fc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fc-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fc-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f6;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  border: 1px solid rgba(10, 22, 40, 0.04);
}
.fc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.fc-photo:hover img { transform: scale(1.04); }
.fc-empty {
  text-align: center;
  color: var(--ink);
  padding: 40px 16px;
}
@media (max-width: 900px) {
  .fc-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fc-grid, .fc-grid.cols-2 { grid-template-columns: 1fr; }
  .fc-tabs { margin-top: -12px; }
}

/* 平板 + 手机：与 malaji responsive.css 一致（侧滑菜单） */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; }

  /* ★ 关键：滑出的是 .nav__menu，不是整条顶栏（malaji 原版） */
  .nav__menu {
    position: fixed;
    top: 64px;
    right: -100%;
    left: auto;
    width: 280px;
    max-width: 86vw;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    margin: 0;
    padding: 20px;
    gap: 4px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgba(10, 22, 40, 0.98);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__menu--open {
    right: 0;
  }
  .nav__link,
  .nav__menu > a {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    white-space: normal;
  }
  .nav__link--active::after,
  .nav__menu a.active::after {
    left: 16px;
    transform: none;
    bottom: 8px;
  }
  .nav__link--cta.btn,
  .nav__menu .btn {
    width: 100%;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
  .nav__toggle {
    display: flex;
  }

  /* 首页「查看全部」手机端隐藏 */
  .cred-all-btn { display: none !important; }

  .hero { min-height: 460px; }
  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 64px 0 88px;
  }
  .hero-content .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-content .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .hero-content .hero-actions .btn {
    min-width: 132px;
    flex: 0 0 auto;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }
  .hero-content .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .nav__menu {
    width: min(86vw, 280px);
  }
  .nav__logo-text {
    font-size: 0.9rem;
  }
}

/* 桌面：汉堡隐藏（菜单保持横向 flex，不 fixed） */
@media (min-width: 901px) {
  .nav__toggle {
    display: none !important;
  }
}
