/* ==========================================================================
   凉山州声蓝职业技能培训学校 · 站点样式
   设计方向：现代教育机构 / 深蓝 + 暖黄 / 卡片化 / 移动优先
   ========================================================================== */

:root {
  /* 主色阶 */
  --navy-950: #061626;
  --navy-900: #0A2038;
  --navy-800: #0E2C4C;
  --navy-700: #143A61;
  --navy-600: #1B4B7A;
  --blue-500: #1F6FD0;
  --blue-200: #BFD8F5;
  --blue-100: #E7F0FB;
  --blue-50: #F2F7FD;

  /* 暖黄 */
  --sun-600: #D99400;
  --sun-500: #F5B301;
  --sun-400: #FFC53D;
  --sun-100: #FFF3D2;

  /* 中性 */
  --ink: #10233A;
  --ink-2: #2E4459;
  --muted: #5C7186;
  --line: #E3E9F1;
  --line-2: #EDF1F7;
  --bg: #F4F7FB;
  --white: #FFFFFF;

  /* 形状与阴影 */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(10, 32, 56, .05), 0 3px 10px rgba(10, 32, 56, .04);
  --sh-2: 0 10px 30px rgba(10, 32, 56, .08);
  --sh-3: 0 24px 60px rgba(6, 22, 38, .18);

  --max: 1200px;
  --nav-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sun-400); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--white); }
.section--blue { background: var(--blue-50); }
.section--navy { background: var(--navy-900); }

.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue-500);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun-500);
}
.sec-head--center .kicker::before { display: none; }

.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}
.sec-head p { color: var(--muted); font-size: 16.5px; }

.section--navy .sec-head h2 { color: #fff; }
.section--navy .sec-head p { color: rgba(255, 255, 255, .68); }
.section--navy .kicker { color: var(--sun-400); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sun-500);
  color: var(--navy-950);
  box-shadow: 0 8px 20px rgba(245, 179, 1, .32);
}
.btn--primary:hover { background: var(--sun-400); box-shadow: 0 12px 26px rgba(245, 179, 1, .4); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: var(--sh-2); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(20, 58, 97, .22);
}
.btn--ghost:hover { border-color: var(--navy-800); background: rgba(20, 58, 97, .04); }

.btn--onDark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
}
.btn--onDark:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

.arrow { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 13px; height: 13px; opacity: .8; }
.topbar__item--tel { color: #FFD786; font-weight: 600; text-decoration: none; }
.topbar__item--tel:hover { color: #fff; }
.topbar__item--tel svg { opacity: 1; }
.topbar__tags { display: flex; gap: 8px; }
.topbar__tag {
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(245, 179, 1, .16);
  color: var(--sun-400);
  font-weight: 600;
}

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--nav-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--sh-1);
  flex: 0 0 auto;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: 7px; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sun-400);
}
.brand__mark span {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  transform: translateY(-1px);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.brand__sub { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
/* 导航内的报名按钮仅移动端显示，桌面端用右侧独立按钮，避免重复 */
.nav > .btn { display: none; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--navy-800); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun-500);
}

.header__cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform .2s ease, opacity .2s ease;
}
.header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 82% 8%, rgba(31, 111, 208, .38), transparent 62%),
              radial-gradient(900px 520px at 8% 92%, rgba(245, 179, 1, .16), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: 76px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 460px at 30% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 30% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 26px;
}
.hero .eyebrow i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sun-400);
  box-shadow: 0 0 0 4px rgba(245, 179, 1, .22);
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.1vw, 60px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--sun-400);
  white-space: nowrap;
  /* 底色高亮画在文字之下，避免用 z-index 负值导致高亮被背景遮住 */
  background-image: linear-gradient(transparent 64%, rgba(245, 179, 1, .26) 64%);
  padding: 0 .06em;
}
.hero__lead {
  font-size: 17.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
  max-width: 40em;
  margin-bottom: 28px;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .9);
}
.hero__badge svg { width: 14px; height: 14px; color: var(--sun-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero 右侧报名卡 */
.enroll-card {
  background: rgba(255, 255, 255, .97);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-3);
  color: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .6);
}
.enroll-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.enroll-card__dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--sun-100);
  color: var(--sun-600);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.enroll-card__dot svg { width: 18px; height: 18px; }
.enroll-card h3 { font-size: 16.5px; font-weight: 800; }
.enroll-card__head p { font-size: 12.5px; color: var(--muted); }
.enroll-steps { display: grid; gap: 14px; margin-bottom: 20px; }
.enroll-steps li { display: flex; gap: 12px; align-items: flex-start; }
.enroll-steps .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 3px;
}
.enroll-steps b { display: block; font-size: 14.5px; color: var(--ink); }
.enroll-steps span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.enroll-card__foot { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* 数据条 */
.statstrip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.statstrip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.stat {
  background: rgba(6, 22, 38, .55);
  padding: 26px 8px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat b i { font-style: normal; color: var(--sun-400); font-size: .66em; margin-left: 2px; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, .62); display: block; margin-top: 6px; }

/* ---------- 页面内页首屏 ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: 60px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, .22), transparent 66%);
}
.page-hero__inner { position: relative; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.crumbs a:hover { color: var(--sun-400); }
.crumbs span { margin: 0 7px; opacity: .5; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255, 255, 255, .74);
  font-size: 16.5px;
  max-width: 56em;
}

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.8px; }

.card__num {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue-500);
  margin-bottom: 14px;
  display: block;
}
.card__bar {
  width: 34px; height: 4px;
  border-radius: 4px;
  background: var(--sun-500);
  margin-bottom: 18px;
}
.card__link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link:hover { color: var(--blue-500); }
.card__link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* 方向卡（首页三大板块） */
.dir-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.dir-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.dir-card:hover::before { transform: scaleX(1); }
.dir-card__tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 6px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
}
.dir-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.dir-card > p { color: var(--muted); font-size: 14.8px; margin-bottom: 18px; }
.dir-card__list { display: grid; gap: 8px; margin-bottom: 20px; }
.dir-card__list li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.dir-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--sun-500);
}

/* ---------- 工种卡 ---------- */
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.course-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.course-card h3 { font-size: 17.5px; font-weight: 800; }
.course-card__level {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sun-600);
  background: var(--sun-100);
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.course-card__desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.course-card__meta { display: grid; gap: 7px; margin-bottom: 18px; }
.course-card__meta li {
  display: flex;
  gap: 8px;
  font-size: 13.2px;
  color: var(--ink-2);
  line-height: 1.6;
}
.course-card__meta b {
  color: var(--muted);
  font-weight: 500;
  flex: 0 0 4.2em;
}
.course-card .btn { margin-top: auto; }

/* ---------- 标签切换 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 34px;
  width: fit-content;
  max-width: 100%;
}
.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14.8px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.tab:hover { color: var(--navy-800); background: var(--blue-50); }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.tab__count { font-size: 12px; opacity: .6; margin-left: 5px; }

.tabpanel[hidden] { display: none; }

/* ---------- 标签 / 徽标 ---------- */
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--blue-100);
  color: var(--navy-700);
}
.tag--sun { background: var(--sun-100); color: var(--sun-600); }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
}
.step__n {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--navy-800);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 13.8px; color: var(--muted); }

/* ---------- 对比信息块 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split--media-right { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split--news { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); align-items: start; gap: 40px; }
.split--form { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 44px; }

.prose p { margin-bottom: 16px; font-size: 15.8px; line-height: 1.9; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy-800); font-weight: 700; }

.pullquote {
  border-left: 4px solid var(--sun-500);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--navy-800);
  font-weight: 600;
}

/* 图片位（实体照片请替换） */
.imgslot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 78% 12%, rgba(31, 111, 208, .3), transparent 62%),
    linear-gradient(155deg, var(--navy-700), var(--navy-950));
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
}
.imgslot::before {
  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: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
}
.imgslot__badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  padding: 20px;
}
.imgslot__badge svg { width: 34px; height: 34px; color: var(--sun-400); opacity: .9; }
.imgslot__badge span { font-size: 13px; letter-spacing: .04em; }
.imgslot--sm { min-height: 220px; }
.imgslot--tall { min-height: 420px; }

/* ---------- 实景照片 ---------- */
.photo {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid rgba(10, 32, 56, .1);
  box-shadow: 0 18px 44px rgba(6, 22, 38, .15);
  min-height: 320px;
  height: 100%;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  font-size: 12.4px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .93);
  letter-spacing: .01em;
  background: linear-gradient(transparent, rgba(4, 16, 32, .88));
}
.photo--tall { min-height: 460px; }
.photo--sm { min-height: 280px; aspect-ratio: 4 / 5; }
.section--navy .photo { border-color: rgba(255, 255, 255, .16); box-shadow: 0 18px 44px rgba(0, 0, 0, .32); }
@media (max-width: 860px) {
  .photo--tall { min-height: 300px; }
  .photo--sm { min-height: 220px; }
}

/* ---------- 资质卡 ---------- */
.lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lic {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  border-top: 3px solid var(--sun-500);
}
.lic span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.lic b { display: block; font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.5; word-break: break-all; }

/* ---------- 设施 ---------- */
.facility {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.facility__ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.facility__ic svg { width: 20px; height: 20px; }
.facility b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.facility span { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 师资 ---------- */
.teacher {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.teacher__ph {
  height: 180px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  position: relative;
  display: grid;
  place-items: center;
}
.teacher__ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 20%, rgba(245, 179, 1, .22), transparent 55%);
}
.teacher__ph span {
  position: relative;
  color: rgba(255, 255, 255, .9);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .08em;
}
.teacher { border-top: 3px solid var(--sun-500); }
.teacher__body { padding: 26px 24px; }
.teacher__body h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.teacher__role { font-size: 13px; color: var(--blue-500); font-weight: 700; margin-bottom: 12px; }
.teacher__body p { font-size: 13.8px; color: var(--muted); }
.teacher__body .teacher__role:last-child { margin-bottom: 0; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--sun-500), var(--blue-200));
  border-radius: 2px;
}
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sun-500);
}
.timeline .yr {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-500);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 3px;
}
.timeline b { font-size: 15.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.timeline p { font-size: 13.8px; color: var(--muted); }

/* 深色区内的文字颜色 */
.section--navy .timeline::before { background: linear-gradient(180deg, var(--sun-500), rgba(191, 216, 245, .35)); }
.section--navy .timeline li::before { background: var(--navy-900); border-color: var(--sun-400); }
.section--navy .timeline .yr { color: var(--sun-400); }
.section--navy .timeline b { color: #fff; }
.section--navy .timeline p { color: rgba(255, 255, 255, .62); }

/* ---------- 县市网格 ---------- */
.county-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.county {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.county:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.county i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.county:hover i { color: rgba(255, 255, 255, .7); }

/* ---------- 案例卡 ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--navy-800);
}
.case-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.case-card > p { font-size: 14.3px; color: var(--muted); margin-bottom: 18px; }
.case-card__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.case-card__facts div { background: #fff; padding: 13px 14px; }
.case-card__facts span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.case-card__facts b { font-size: 14px; color: var(--navy-800); font-weight: 700; }

/* ---------- 新闻列表 ---------- */
.news-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-item:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: var(--blue-200); }
.news-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.news-date b { display: block; font-size: 20px; font-weight: 800; color: var(--navy-800); line-height: 1.2; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.news-item p { font-size: 13.8px; color: var(--muted); }
.news-item .tag { margin-bottom: 8px; }

/* ---------- CTA 区 ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  border-radius: var(--r-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, .2), transparent 66%);
}
.cta-band__inner { position: relative; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 15.5px; max-width: 40em; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .62);
  padding: 64px 0 0;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, .5); }
.footer__desc { margin-top: 16px; line-height: 1.85; font-size: 13.5px; }
.footer ul { display: grid; gap: 10px; }
.footer li a:hover { color: var(--sun-400); }
.footer__contact li { display: flex; gap: 10px; line-height: 1.7; }
.footer__contact svg { width: 15px; height: 15px; margin-top: 5px; flex: 0 0 auto; opacity: .7; }
.footer__bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .42);
}

/* ---------- 移动端底部条 ---------- */
.mobilebar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobilebar a { flex: 1; }
.mobilebar .btn { height: 46px; width: 100%; font-size: 15px; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--sh-1);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label i { font-style: normal; color: #D14343; margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(31, 111, 208, .1);
}
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  background: var(--sun-100);
  border: 1px solid rgba(217, 148, 0, .25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.2px;
  color: #7A5300;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* 联系方式卡 */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  margin-bottom: 18px;
}
.contact-card__row { display: flex; gap: 14px; align-items: flex-start; }
.contact-card__ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.contact-card__ic svg { width: 20px; height: 20px; }
.contact-card span { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 3px; }
.contact-card b { font-size: 15.5px; color: var(--ink); font-weight: 700; line-height: 1.6; display: block; }
.contact-card a b:hover { color: var(--blue-500); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue-500);
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14.3px; color: var(--muted); line-height: 1.85; }

/* 徽带 */
.ribbon {
  background: var(--sun-500);
  color: var(--navy-950);
}
.ribbon .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}
.ribbon span { display: inline-flex; align-items: center; gap: 8px; }
.ribbon svg { width: 16px; height: 16px; }

/* 小工具 */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 52px; }
  .enroll-card { max-width: 460px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lic-grid { grid-template-columns: repeat(2, 1fr); }
  .county-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--media-right { grid-template-columns: 1fr; }
  .split--news, .split--form { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
}

@media (max-width: 900px) {
  .topbar__tags { display: none; }
  .topbar__left { gap: 14px; }
  .topbar__left .topbar__item:first-child { display: none; }
  .nav-toggle { display: flex; }
  .header .wrap { gap: 14px; }
  .header__cta .btn { display: none; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    padding: 8px 16px 16px;
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 8px; font-size: 15.5px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--blue-50); color: var(--navy-900); }
  .nav .btn { margin-top: 8px; }
  .nav > .btn { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section--tight { padding: 48px 0; }
  .mobilebar { display: flex; }
  .footer { padding-bottom: 70px; }
  .news-item { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .news-item .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .brand__sub { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 15.5px; }
  .statstrip__inner { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: repeat(3, 1fr); }
  .lic-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; border-radius: var(--r); overflow-x: auto; flex-wrap: nowrap; }
  .tab { padding: 9px 15px; font-size: 14px; }
  .cta-band { padding: 32px 24px; border-radius: var(--r-lg); }
  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .case-card__facts { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .sec-head { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover, .dir-card:hover, .course-card:hover, .news-item:hover, .btn:hover { transform: none; }
}

/* 项目档案：整宽卡片 + 四列要点 */
.stack { display: grid; gap: 20px; }
.case-card__facts--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .case-card__facts--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .case-card__facts--4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   设计系统 v2（2026-12-06 整体排版优化）
   目标：统一节奏与组件、降低视觉噪音、强化层级、压缩重复区块
   ========================================================================== */

:root {
  --sec-y: 96px;        /* 主区块 */
  --sec-y-tight: 58px;  /* 辅助/收尾区块 */
  --card-r: 16px;
  --card-p: 26px;
}

/* ---- 节奏：主区块更疏、辅助区块更紧，形成对比 ---- */
.section { padding: var(--sec-y) 0; }
.section--tight { padding: var(--sec-y-tight) 0; }
.sec-head { margin-bottom: 40px; }
.sec-head p { font-size: 16px; line-height: 1.85; max-width: 46em; }

/* ---- 标题层级收敛：h2 略收，避免每屏都像首页大标题 ---- */
.sec-head h2 { font-size: clamp(24px, 2.6vw, 33px); letter-spacing: -.015em; }
.page-hero h1 { font-size: clamp(26px, 3.2vw, 38px); }
.kicker { font-size: 12px; margin-bottom: 12px; }

/* ---- 标题与操作同排（替代散落的内联 style） ---- */
.sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: none;
}
.sec-head--row h2 { margin-bottom: 0; }

/* ---- 卡片统一：四种卡共用一套边界与悬停 ---- */
.card, .dir-card, .course-card, .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card, .dir-card { padding: var(--card-p); }
.course-card { padding: 24px; }
.step { padding: 24px 20px; }
.card:hover, .dir-card:hover, .course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--blue-200);
}
.step:hover { border-color: var(--blue-200); }
.card h3 { font-size: 18px; }
.dir-card h3 { font-size: 20px; }

/* ---- 流程条：紧凑 4 步，替代大卡，节省垂直空间 ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  background: #fff;
  overflow: hidden;
}
.process__item {
  padding: 26px 24px;
  border-right: 1px solid var(--line-2);
  position: relative;
}
.process__item:last-child { border-right: 0; }
.process__n {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--sun-600);
  margin-bottom: 10px;
  display: block;
}
.process__item b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.process__item span { font-size: 13.6px; color: var(--muted); line-height: 1.75; }

/* ---- 紧凑特色条：图标 + 标题 + 一句，用于「怎么教、怎么考」 ---- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-row .facility {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-r);
}
.feature-row .facility b { font-size: 15.5px; }
.feature-row .facility span { font-size: 13.4px; }

/* ---- 数据条：收紧高度，作为首屏收尾锚点 ---- */
.stat { padding: 22px 10px; }
.stat b { line-height: 1.2; }

/* ---- 深色区块内的卡片对比度 ---- */
.section--navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.section--navy .card h3 { color: #fff; }
.section--navy .card p { color: rgba(255, 255, 255, .72); }

/* ---- 列表页与侧栏：统一间距 ---- */
.split--news, .split--form { gap: 40px; }

/* ---- 响应式收敛 ---- */
@media (max-width: 1080px) {
  :root { --sec-y: 76px; --sec-y-tight: 50px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__item:nth-child(2n) { border-right: 0; }
  .process__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --sec-y: 64px; --sec-y-tight: 44px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head--row { align-items: flex-start; }
  /* 四卡在窄屏保持两列，避免长条单列 */
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --sec-y: 56px; --sec-y-tight: 40px; --card-p: 22px; }
  .sec-head h2 { font-size: 23px; }
  .sec-head p { font-size: 15px; }
  .process { grid-template-columns: 1fr; }
  .process__item { padding: 20px 18px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .process__item:last-child { border-bottom: 0; }
  .feature-row { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .card, .dir-card, .course-card, .step { padding: 20px; }
  .statstrip__inner { border-bottom: 0; }
  .topbar__left .topbar__item:not(.topbar__item--tel) { display: none; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 15px; }
  .hero h1 { font-size: 29px; }
}

/* 移除装饰性重复元素后的间距补偿 */
.section--flush { padding-top: 0; }

/* 白底区块内的卡片：用轻阴影分离，避免白卡贴白底没有边界 */
.section--paper .card,
.section--paper .dir-card,
.section--paper .course-card,
.section--paper .news-item,
.section--paper .process,
.section--paper .facility {
  box-shadow: 0 2px 8px rgba(10, 32, 56, .055);
  border-color: #D7E0EB;
}
.section--paper .card:hover,
.section--paper .dir-card:hover,
.section--paper .course-card:hover {
  box-shadow: var(--sh-2);
  border-color: var(--blue-200);
}

/* 卡片边框统一加深一档，白底上也能看出边界 */
.card, .dir-card, .course-card, .step, .process, .news-item, .facility { border-color: #DCE4EE; }

/* 表单说明：从警示黄改为中性说明，页面只保留一处黄色强调 */
.form-note {
  background: var(--blue-50);
  border-color: var(--blue-100);
  color: var(--ink-2);
}

/* 列表页收尾说明条 */
.endnote {
  text-align: center;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.endnote a { color: var(--navy-800); font-weight: 700; border-bottom: 1px solid var(--blue-200); }
.endnote a:hover { color: var(--blue-500); }

/* 移动端：报名卡只留标题与按钮，避免首屏被三步说明占满 */
@media (max-width: 640px) {
  .enroll-card { padding: 20px; max-width: none; }
  .enroll-card .enroll-steps { display: none; }
  .enroll-card__foot { margin-top: 12px; }
  .hero__inner { gap: 24px; padding-bottom: 40px; }
  .stat { padding: 18px 8px; }
  .stat b { font-size: 24px; }
  /* 工种卡在手机上压缩：去掉「培训形式」这一行重复说明 */
  .course-card__meta li:nth-child(3) { display: none; }
}

/* 移动端标签栏：改为换行，四个方向全部可见，不依赖横向滑动 */
@media (max-width: 640px) {
  .tabs { flex-wrap: wrap; overflow: visible; }
  .tab { flex: 1 1 auto; justify-content: center; }
}

/* 校长证件照：保持 4:5 竖版比例，避免被拉伸成方形导致头顶贴边 */
.photo--sm { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
.photo--sm img { object-position: center top; }
@media (max-width: 860px) {
  .photo--sm { aspect-ratio: 4 / 5; }
}

/* 证件照不被栅格拉伸：按 4:5 自身比例对齐顶部 */
.photo--sm { align-self: start; }

/* 320px 极窄屏：页头收紧，避免品牌名与菜单按钮把 header 撑破 */
@media (max-width: 400px) {
  .header .wrap { gap: 10px; }
  .brand__name { font-size: 15px; letter-spacing: -.01em; }
  .brand__mark { width: 34px; height: 34px; }
  .header__cta { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ==========================================================
   报名表单 v3：选填区折叠 / 勾选行 / 蜜罐字段
   （仅当 make_shenglan_site.py 的 ENROLL_API 非空时才出现）
   ========================================================== */
.extra { margin: 4px 0 18px; border: 1px solid var(--line, #E3E9F1); border-radius: 12px; background: #FBFCFE; }
.extra > summary {
  cursor: pointer; list-style: none; padding: 13px 18px; font-size: 14.5px;
  color: var(--navy-700, #14406B); font-weight: 600; user-select: none;
}
.extra > summary::-webkit-details-marker { display: none; }
.extra > summary::after { content: "＋"; float: right; color: #8A98A8; font-weight: 400; }
.extra[open] > summary::after { content: "－"; }
.extra[open] > summary { border-bottom: 1px solid var(--line, #E3E9F1); }
.extra > .field-row, .extra > .field, .extra > .check { padding-left: 18px; padding-right: 18px; }
.extra > .field-row:first-of-type { margin-top: 16px; }
.extra > .check { margin-bottom: 16px; }

.check { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--ink-2, #42546A); cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #0E2C4C; }
.check a { color: var(--navy-700, #14406B); text-decoration: underline; text-underline-offset: 2px; }
.check--consent { margin-top: 2px; }

/* 蜜罐：对真人不可见，对爬虫可读 */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 报名结果区的编号更醒目 */
#enrollBadge { border-left: 3px solid #0E2C4C; padding-left: 12px; }
#enrollRegNo { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .extra > summary { font-size: 14px; padding: 12px 14px; }
  .extra > .field-row, .extra > .field, .extra > .check { padding-left: 14px; padding-right: 14px; }
}

/* ================= 手机版首页精简（只保留到「三条培训主线 对准三类人」） ================= */
.m-only { display: none; }

@media (max-width: 767px) {
  /* 桌面版的后续板块在手机上整体隐藏：热门工种 / 新校区 / 报名四步 / 学校动态 / 底部 CTA */
  .home-extra { display: none !important; }

  .m-only { display: block; }

  /* 手机上 hero 也更轻：报名卡片移到页尾的 m-cta，首屏不再被表单卡片占满 */
  .hero .enroll-card { display: none; }
  .hero__lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .statstrip__inner { grid-template-columns: repeat(2, 1fr); }

  .m-cta {
    background: linear-gradient(158deg, #0E2C4C 0%, #17466f 100%);
    border-radius: 18px;
    padding: 24px 18px 20px;
    text-align: center;
    box-shadow: 0 14px 32px rgba(14, 44, 76, .22);
  }
  .m-cta > b {
    display: block;
    font-size: 20px;
    line-height: 1.35;
    color: #fff;
    letter-spacing: .01em;
    margin-bottom: 8px;
  }
  .m-cta > p {
    margin: 0 auto 18px;
    max-width: 20em;
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .8);
  }
  .m-cta__btns { display: flex; flex-direction: column; gap: 10px; }
  .m-cta__btns .btn { width: 100%; justify-content: center; }

  /* 手机端「三条主线」卡片收紧，一屏能看完 */
  .dir-card { padding: 20px 18px; }
  .dir-card h3 { font-size: 19px; }
  .dir-card__list li { font-size: 13.5px; }

  /* 手机版首页页脚极简：隐藏学校简介 / 培训方向 / 了解我们 / 联系报名四个栏目，只留版权与备案 */
  .footer--compact { padding-top: 24px; }
  .footer--compact .footer__grid { display: none !important; }
  .footer--compact .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 0 8px;
    text-align: center;
    font-size: 11.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .38);
  }
  .footer--compact .footer__bottom span { max-width: 100%; }
}

