@charset "UTF-8";
/* ==========================================================================
   成都高新区常乐职业技能培训学校 官网 — 主样式表
   品牌视觉依据《推拿之家视觉识别系统 VIS-2026.04》：
     标准色 #a00032 (PANTONE 207C) · 辅助深色 #1e1e1e (PANTONE 419C)
     辅助浅色 #e5e4e2 (PANTONE 5215U) · 中文标准字体 MiSans
   辅助图形取自品牌符号放大后的「人」字形折角。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --c-red: #a00032;
  --c-red-dark: #7d0027;
  --c-red-light: #c41f4e;
  --c-red-tint: #fdf3f5;
  --c-ink: #1e1e1e;
  --c-ink-soft: #3d3d3d;
  --c-gray: #6b6b6b;
  --c-gray-light: #a3a3a3;
  --c-line: #e0dedb;
  --c-mist: #e5e4e2;
  --c-mist-soft: #f4f3f1;
  --c-white: #fff;

  /* 字体 */
  --font-sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;

  /* 版式节奏 */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --gutter: 24px;
  --sec-y: 88px;
  --radius: 12px;
  --radius-lg: 20px;

  /* 阴影 */
  --sh-sm: 0 1px 3px rgba(30, 30, 30, 0.06);
  --sh-md: 0 6px 24px rgba(30, 30, 30, 0.07);
  --sh-lg: 0 18px 48px rgba(30, 30, 30, 0.11);
  --sh-red: 0 12px 32px rgba(160, 0, 50, 0.22);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 归零与基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--c-ink-soft);
  background: var(--c-white);
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-red-light); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
figure { margin: 0; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 无障碍：仅供读屏 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-red);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec-y); }
.section--mist { background: var(--c-mist-soft); }
.section--ink { background: var(--c-ink); color: #cfcfcf; }
.section--ink h2, .section--ink h3 { color: #fff; }

   颜色由 color 控制，路径同时描边+填充以获得圆角转折。 */
/* ---------- 4. 标题组 ---------- */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head--center { margin-inline: auto; text-align: center; }

.sec-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-red);
}
.sec-head__eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--c-red);
}

.sec-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sec-head p {
  margin: 16px 0 0;
  font-size: 16.5px;
  color: var(--c-gray);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 999px;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
    color 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-red); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--c-red-dark); color: #fff; }

.btn--ghost { border: 1.5px solid var(--c-line); color: var(--c-ink); background: #fff; }
.btn--ghost:hover { border-color: var(--c-red); color: var(--c-red); }

.btn--onDark { border: 1.5px solid rgba(255, 255, 255, 0.42); color: #fff; }
.btn--onDark:hover { background: #fff; border-color: #fff; color: var(--c-red); }

.btn--sm { padding: 10px 22px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}
.link-arrow svg { transition: transform 0.22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. 占位符 ---------- */
/* 待补充内容统一标记，便于校方一眼识别并替换 */
.ph {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-red);
  background: var(--c-red-tint);
  border: 1px dashed rgba(160, 0, 50, 0.45);
  border-radius: 6px;
  vertical-align: baseline;
}
.ph::before {
  content: "待补充";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  color: #fff;
  background: var(--c-red);
  border-radius: 3px;
}

/* 整块占位（图片位、证照位、二维码位） */
.ph-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 200px;
  padding: 28px 20px;
  text-align: center;
  color: var(--c-red);
  background:
    repeating-linear-gradient(45deg, rgba(160, 0, 50, 0.035) 0 12px, transparent 12px 24px),
    var(--c-red-tint);
  border: 1.5px dashed rgba(160, 0, 50, 0.4);
  border-radius: var(--radius);
}
.ph-box__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  color: #fff;
  background: var(--c-red);
  border-radius: 4px;
}
.ph-box__text { font-size: 14.5px; color: var(--c-ink-soft); max-width: 30ch; line-height: 1.6; }
.ph-box__hint { font-size: 13px; color: var(--c-gray); }

/* ---------- 7. 页头 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.header.is-stuck {
  box-shadow: 0 2px 20px rgba(30, 30, 30, 0.07);
  border-bottom-color: var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* 校名标识 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--c-ink);
}
.brand:hover { color: var(--c-ink); }

.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  white-space: nowrap;
}
.brand__sub {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-gray);
  white-space: nowrap;
}

/* 主导航 */
.nav { margin-left: auto; flex-shrink: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; }

.nav__link {
  display: block;
  padding: 10px 13px;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-ink);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--c-red); background: var(--c-red-tint); }
.nav__link[aria-current="page"] { color: var(--c-red); font-weight: 600; }

/* 有子菜单的项 */
.nav__item { position: relative; }

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav__trigger svg { transition: transform 0.24s var(--ease); }
.nav__item:hover .nav__trigger svg,
.nav__item:focus-within .nav__trigger svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 178px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__item:hover .subnav,
.nav__item:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.subnav a {
  display: block;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--c-ink-soft);
  border-radius: 7px;
}
.subnav a:hover { color: var(--c-red); background: var(--c-red-tint); }

.header__cta { flex-shrink: 0; }

/* 汉堡按钮 */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 11px;
  border-radius: 8px;
}
.burger__box {
  position: relative;
  display: block;
  width: 100%; height: 100%;
}
.burger__bar {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.burger__bar:nth-child(1) { top: 4px; }
.burger__bar:nth-child(2) { top: 11px; }
.burger__bar:nth-child(3) { top: 18px; }

.burger[aria-expanded="true"] .burger__bar:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: 20px var(--gutter) 48px;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
body.drawer-open { overflow: hidden; }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.drawer__link[aria-current="page"] { color: var(--c-red); }

.drawer__sub { padding: 6px 4px 14px; border-bottom: 1px solid var(--c-line); }
.drawer__sub a {
  display: block;
  padding: 9px 0 9px 16px;
  font-size: 15px;
  color: var(--c-gray);
  border-left: 2px solid var(--c-line);
}
.drawer__sub a:hover { color: var(--c-red); border-left-color: var(--c-red); }

.drawer__foot { margin-top: 28px; display: grid; gap: 12px; }
.drawer__meta { font-size: 14px; color: var(--c-gray); line-height: 1.9; }

/* ---------- 8. 首屏 ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 88px;
  overflow: hidden;
  background: linear-gradient(150deg, #fff 0%, var(--c-red-tint) 58%, #fff 100%);
}

.hero__chevron {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: min(760px, 68vw);
  height: auto;
  color: var(--c-red);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-red);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(160, 0, 50, 0.16);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}
.hero__badge img { width: 22px; height: 22px; border-radius: 5px; }

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-red);
  position: relative;
}
/* 标题下的品牌色下划装饰 */
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.16em;
  background: rgba(160, 0, 50, 0.16);
  border-radius: 3px;
  z-index: -1;
}

.hero__lead {
  max-width: 46ch;
  margin: 0 0 34px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--c-gray);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.qr {
  flex-shrink: 0;
  width: 104px;
  padding: 7px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
}
.qr img, .qr .qr__ph { width: 100%; aspect-ratio: 1; border-radius: 6px; }
.qr__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-red);
  background: var(--c-red-tint);
  border: 1px dashed rgba(160, 0, 50, 0.4);
}
.qr__cap { display: block; margin-top: 6px; font-size: 11.5px; color: var(--c-gray); line-height: 1.35; }

/* 首屏图片 */
.hero__visual { position: relative; }

.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3.2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9. 入口卡 ---------- */
.entries { position: relative; z-index: 2; margin-top: -46px; }
.entries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.entry {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.entry:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 0, 50, 0.3);
  box-shadow: var(--sh-lg);
}

.entry__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 13px;
}
.entry__icon svg { width: 26px; height: 26px; }

.entry h3 { margin-bottom: 10px; font-size: 19px; font-weight: 600; }
.entry p { margin: 0 0 22px; font-size: 14.8px; line-height: 1.8; color: var(--c-gray); }
.entry .link-arrow { margin-top: auto; }

/* ---------- 10. 关于 + 数字 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-figures {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 5 / 4;
}
.about-figures img { width: 100%; height: 100%; object-fit: cover; }

/* 交错的第二张图，营造层次 */
.about-figures--stack { overflow: visible; aspect-ratio: auto; box-shadow: none; }
.about-figures--stack .shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.about-figures--stack .shot--main { aspect-ratio: 4 / 3; }
.about-figures--stack .shot--sub {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 6px solid #fff;
}
.about-figures--stack .shot img { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 22px 20px; background: #fff; }
.stat__num {
  display: block;
  font-size: 25px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stat__cap { display: block; margin-top: 5px; font-size: 13.5px; color: var(--c-gray); line-height: 1.55; }

/* ---------- 11. 课程卡 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 0, 50, 0.3);
  box-shadow: var(--sh-lg);
}

.course-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.05); }

.course-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(160, 0, 50, 0.94);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px; }
.course-card__body h3 { margin-bottom: 10px; font-size: 19px; }
.course-card__body > p { margin: 0 0 18px; font-size: 14.8px; line-height: 1.8; color: var(--c-gray); }

/* 课程规格列表 */
.spec { margin-bottom: 20px; border-top: 1px solid var(--c-line); }
.spec__row {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--c-line);
}
.spec__key { flex: 0 0 68px; color: var(--c-gray-light); }
.spec__val { flex: 1; color: var(--c-ink-soft); }

.course-card .link-arrow { margin-top: auto; }

/* ---------- 12. APP 版块 ---------- */
.app-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

/* 手机模型 */
.phone {
  position: relative;
  width: min(290px, 76vw);
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  padding: 11px;
  background: linear-gradient(150deg, #2b2b2b, var(--c-ink));
  border-radius: 38px;
  box-shadow: var(--sh-lg);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
}
/* 刘海 */
.phone__screen::before {
  content: "";
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 82px; height: 19px;
  background: var(--c-ink);
  border-radius: 999px;
  z-index: 3;
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 40px 16px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
}
.phone__top img { width: 27px; height: 27px; border-radius: 7px; }
.phone__top b { font-size: 14px; font-weight: 600; }
.phone__top span { font-size: 10.5px; opacity: 0.85; display: block; }

.phone__body { flex: 1; padding: 14px; background: var(--c-mist-soft); overflow: hidden; }

.app-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 9px;
  background: #fff;
  border-radius: 11px;
  box-shadow: var(--sh-sm);
}
.app-tile__ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 8px;
}
.app-tile__txt b { display: block; font-size: 12.5px; font-weight: 600; color: var(--c-ink); }
.app-tile__txt span { font-size: 10.5px; color: var(--c-gray-light); }

/* 底部标签栏 */
.phone__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 6px 12px;
  background: #fff;
  border-top: 1px solid var(--c-line);
}
.phone__tab { text-align: center; font-size: 9.5px; color: var(--c-gray-light); }
.phone__tab.is-on { color: var(--c-red); }
.phone__tab i {
  display: block;
  width: 17px; height: 17px;
  margin: 0 auto 3px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.28;
}
.phone__tab.is-on i { opacity: 1; }

/* 功能亮点 */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; margin-top: 34px; }
.feat { display: flex; gap: 13px; }
.feat__ico {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 10px;
}
.feat__ico svg { width: 20px; height: 20px; }
.feat b { display: block; margin-bottom: 3px; font-size: 15.5px; font-weight: 600; color: var(--c-ink); }
.feat p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--c-gray); }

/* ---------- 13. 师资 ---------- */
.teacher-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.teacher-card__photo { aspect-ratio: 1; overflow: hidden; background: var(--c-mist-soft); }
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.teacher-card__body { flex: 1; padding: 24px 22px; }
.teacher-card__body h3 { margin-bottom: 4px; font-size: 18.5px; }
.teacher-card__role {
  display: inline-block;
  margin-bottom: 13px;
  padding: 3px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 999px;
}
.teacher-card__body p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--c-gray); }

/* 师资列表：卡片高度参差，用 align-items:start 让展开某一张不影响同排其他卡片 */
.cards--teachers { align-items: start; }

/* 完整简介：原生 details 折叠，无 JS 依赖；缩小默认态以保证卡片整齐 */
.bio-toggle {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--c-line);
}
.bio-toggle > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-red);
  transition: color 0.2s var(--ease);
}
.bio-toggle > summary:hover { color: var(--c-red-dark); }
.bio-toggle > summary::-webkit-details-marker { display: none; }
.bio-toggle > summary::after {
  content: "";
  width: 7px; height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.24s var(--ease);
}
.bio-toggle[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }

.bio-toggle__body { padding-top: 13px; font-size: 14px; line-height: 1.85; color: var(--c-gray); }
.bio-toggle__body p { margin: 0 0 10px; font-size: 14px; line-height: 1.85; }
.bio-toggle__body p:last-child { margin-bottom: 0; }
.bio-toggle__body ul { margin: 0; }
.bio-toggle__body li { position: relative; padding-left: 15px; margin-bottom: 7px; }
.bio-toggle__body li:last-child { margin-bottom: 0; }
.bio-toggle__body li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.7em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-red);
}
/* 折叠展开时的轻微过渡（不支持时直接切换，不影响可用性） */
@media (prefers-reduced-motion: no-preference) {
  .bio-toggle[open] .bio-toggle__body { animation: bio-in 0.28s var(--ease); }
  @keyframes bio-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- 14. 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 0, 50, 0.3);
  box-shadow: var(--sh-md);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--c-gray-light);
}
.news-card__cat {
  padding: 3px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 999px;
}
.news-card h3 { margin-bottom: 11px; font-size: 18px; line-height: 1.5; }
.news-card h3 a { color: var(--c-ink); }
.news-card h3 a:hover { color: var(--c-red); }
.news-card p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.8; color: var(--c-gray); }
.news-card .link-arrow { margin-top: auto; }

/* ---------- 15. 视频 ---------- */
.video-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-block video, .video-block img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 16. 行动号召条 ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: 76px;
  color: #fff;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
}
.cta__chevron {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 52vw);
  color: #fff;
  opacity: 0.08;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 33px); font-weight: 700; }
.cta p { margin: 12px 0 0; font-size: 16.5px; color: rgba(255, 255, 255, 0.87); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- 17. 页脚 ---------- */
.footer {
  padding-top: 68px;
  color: #a9a9a9;
  background: var(--c-ink);
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 42px; height: 42px; border-radius: 10px; }
.footer__brand b { display: block; font-size: 16.5px; font-weight: 700; color: #fff; line-height: 1.35; }
.footer__brand span { font-size: 12px; color: #8a8a8a; }

.footer__about { margin: 0; line-height: 1.9; color: #a9a9a9; max-width: 34ch; }

.footer h3 {
  margin-bottom: 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
}
.footer__links li + li { margin-top: 11px; }
.footer__links a { color: #a9a9a9; }
.footer__links a:hover { color: #fff; }

.footer__contact li { display: flex; gap: 11px; line-height: 1.7; }
.footer__contact li + li { margin-top: 13px; }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--c-red-light); }

.footer__qr { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.footer__qr .qr { width: 92px; background: #2a2a2a; border-color: #3a3a3a; }
.footer__qr .qr__ph { background: rgba(196, 31, 78, 0.16); border-color: rgba(196, 31, 78, 0.5); color: #f0a6bc; }
.footer__qr .qr__cap { color: #8a8a8a; }

/* 页脚备案区 */
.footer__legal {
  padding-block: 24px;
  border-top: 1px solid #333;
  font-size: 13.5px;
  color: #8a8a8a;
}
.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.footer__legal a { color: #8a8a8a; }
.footer__legal a:hover { color: #fff; }
.footer__legal .footer__beian { display: inline-flex; align-items: center; gap: 5px; }
.footer__legal .footer__beian img { width: 14px; height: 14px; display: block; }
.footer__legal .ph { background: rgba(196, 31, 78, 0.14); border-color: rgba(196, 31, 78, 0.5); color: #f0a6bc; }
.footer__legal .ph::before { background: var(--c-red-light); }

/* ---------- 18. 内页页头 ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 62px);
  padding-bottom: 62px;
  overflow: hidden;
  background: linear-gradient(150deg, #fff 0%, var(--c-red-tint) 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-hero__chevron {
  position: absolute;
  right: -4%;
  bottom: -40%;
  width: min(480px, 46vw);
  color: var(--c-red);
  opacity: 0.055;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.page-hero p { max-width: 62ch; margin: 0; font-size: 17px; line-height: 1.85; color: var(--c-gray); }

/* 面包屑 */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13.5px; color: var(--c-gray-light); }
.crumbs a { color: var(--c-gray); }
.crumbs a:hover { color: var(--c-red); }
.crumbs svg { width: 13px; height: 13px; opacity: 0.6; }

/* ---------- 19. 排版内容块 ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 44px 0 16px; font-size: 24px; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 19px; font-weight: 600; }
.prose p { margin: 0 0 17px; font-size: 16.5px; line-height: 1.95; }
.prose ul { margin: 0 0 20px; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 16.5px;
  line-height: 1.85;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red);
}

/* 引言块 */
.callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  margin: 0 0 28px;
  background: var(--c-red-tint);
  border-left: 4px solid var(--c-red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--c-red); }
.callout p { margin: 0; font-size: 16px; line-height: 1.85; }
.callout p + p { margin-top: 10px; }

/* 信息表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.info-table th, .info-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}
.info-table th {
  width: 148px;
  font-weight: 500;
  color: var(--c-gray);
  background: var(--c-mist-soft);
  white-space: nowrap;
}
.info-table td { color: var(--c-ink); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table__wrap {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

/* 资质证照 */
.credential {
  position: relative;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--sh-sm);
}
.credential + .credential { margin-top: 18px; }
.credential h3 { margin-bottom: 6px; font-size: 18px; }
.credential__no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-red);
  letter-spacing: 0.02em;
  word-break: break-all;
}
.credential dl { margin: 16px 0 0; display: grid; gap: 9px; font-size: 15px; }
.credential dl div { display: flex; gap: 14px; }
.credential dt { flex: 0 0 96px; color: var(--c-gray); }
.credential dd { margin: 0; color: var(--c-ink); }

/* 双列内容 */
.split-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
/* 步骤条 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-size: 26px;
  font-weight: 700;
  color: rgba(160, 0, 50, 0.22);
  letter-spacing: -0.02em;
}
.step h3 { margin-bottom: 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--c-gray); }

/* ---------- 21. 联系页 ---------- */
.contact-item { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.contact-item:first-child { padding-top: 0; }
.contact-item__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  color: var(--c-red);
  background: var(--c-red-tint);
  border-radius: 11px;
}
.contact-item__ico svg { width: 21px; height: 21px; }
.contact-item b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--c-ink); }
.contact-item p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--c-ink-soft); }

/* 地图 */
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
}
.map iframe { display: block; width: 100%; height: 380px; border: 0; }  /* 宽度跟随容器 = 页面宽度 */

/* ---------- 22. 返回顶部 ---------- */
.totop {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: #fff;
  background: var(--c-red);
  border-radius: 50%;
  box-shadow: var(--sh-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s,
    background-color 0.2s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--c-red-dark); }

/* ---------- 23. 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --sec-y: 72px; }
  .hero__inner { gap: 44px; }
  .about-grid { gap: 44px; }
  .app-split { gap: 44px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
  .footer__grid > :nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  /* 导航收入抽屉，但保留「报名咨询」这一主要转化入口 */
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }

  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero__chevron { width: 92vw; right: -30%; opacity: 0.04; }

  .entries { margin-top: 0; padding-top: 0; }
  .entries__grid { grid-template-columns: 1fr; }

  .about-grid, .split-2 { grid-template-columns: 1fr; gap: 40px; }
  .about-figures--stack .shot--sub { right: 0; bottom: -22px; }

  .app-split { grid-template-columns: 1fr; gap: 44px; }
  .app-split__visual { order: -1; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__grid > :nth-child(3) { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; --sec-y: 56px; --radius-lg: 16px; }

  body { font-size: 15.5px; }
  .sec-head { margin-bottom: 34px; }
  .sec-head p { font-size: 15.5px; }

  .brand__sub { display: none; }
  .brand__name { font-size: 15.5px; }
  .brand__mark { width: 38px; height: 38px; }

  /* 窄屏空间不足，转化入口改由抽屉承载 */
  .header__cta { display: none; }

  .hero h1 { font-size: 30px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { gap: 11px; }
  .hero__actions .btn { flex: 1 1 100%; }


  .stats { grid-template-columns: 1fr; }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 18px; }

  .credential { padding: 22px 20px; }
  .credential dl div { flex-direction: column; gap: 2px; }
  .credential dt { flex: none; }
  .info-table th, .info-table td { padding: 12px 14px; }
  .info-table th { width: 104px; font-size: 14.5px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__legal-inner { flex-direction: column; align-items: flex-start; }
  .totop { right: 16px; bottom: 16px; width: 42px; height: 42px; }

  .map iframe { height: 300px; }

  .cta__actions .btn { flex: 1 1 100%; }


}

/* ---------- 25. 打印 & 减弱动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .drawer, .totop, .cta__chevron, .hero__chevron { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
