/* =========================================================
   layout.css — 页面结构：Header / 各区块 / 内页 / Footer
   移动优先，断点 640 / 768 / 1024 / 1280
   ========================================================= */

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-1); }

/* 锚点跳转时为吸顶 header 留出高度，否则区块顶部会被压在 header 下面 */
section[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-3)); }
.header__bar { display: flex; align-items: center; gap: var(--sp-4); height: var(--header-h); }

/* 顶部品牌 logo：官方图片（透明底）。原先的 .logo/.logo__mark 方块版已停用，
   .logo__name 仍被移动端抽屉头部复用，故相关样式保留 */
.header__logo { display: block; flex: none; }
.header__logo img { width: 126px; height: auto; display: block; }
.logo { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--brand-600); color: var(--on-brand);
  display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none;
}
.logo__text { line-height: 1.2; }
.logo__name { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.logo__sub { font-size: 12px; color: var(--text-3); }

.nav { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 11px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link[aria-current="page"] { color: var(--brand-500); }
.nav__link svg { width: 12px; height: 12px; }

.nav__drop {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 190px; padding: var(--sp-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s var(--ease);
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.nav__drop a:hover { background: var(--brand-50); color: var(--brand-600); }

/* 主营业务下拉：「本科申请」悬浮后才展开二级 */
.nav__sub { position: relative; }
.nav__drop .nav__sub > a {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); font-weight: 600; color: var(--text);
}
.nav__drop .nav__sub > a svg { width: 12px; height: 12px; color: var(--text-3); flex: none; }
.nav__drop2 {
  position: absolute; top: calc(var(--sp-2) * -1); left: 100%;
  min-width: 152px; padding: var(--sp-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: all .2s var(--ease);
}
/* 悬停桥：填掉主面板与二级之间的空隙，否则鼠标移过去会闪断 */
.nav__drop2::before { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 12px; }
.nav__sub:hover .nav__drop2,
.nav__sub:focus-within .nav__drop2 { opacity: 1; visibility: visible; transform: none; }
.nav__drop2 a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.nav__drop2 a:hover { background: var(--brand-50); color: var(--brand-600); }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

.burger { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); place-items: center; color: var(--text); }
.burger svg { width: 22px; height: 22px; }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 130;
  width: min(340px, 86vw); background: var(--surface);
  border-left: 1px solid var(--border);
  padding: var(--sp-5);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__mask { position: fixed; inset: 0; z-index: 125; background: rgba(30, 20, 12, .5); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.drawer__mask.is-open { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.drawer__link { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); }
.drawer__link:hover { color: var(--brand-600); }
.drawer__sub { padding-left: var(--sp-4); }
.drawer__sub a { display: block; padding: 10px 4px; font-size: 14px; color: var(--text-2); }
/* 三级子项（本科申请 → 港澳本科…），缩进 + 细竖线区分层级 */
.drawer__sub2 { margin: 2px 0 6px var(--sp-3); padding-left: var(--sp-3); border-left: 1px solid var(--border); }
.drawer__sub2 a { padding: 8px 4px; font-size: 13px; color: var(--text-3); }

/* 导航项较多：窗口窄于 1120px 就收进抽屉，避免换行 */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn { display: none; }
  /* nav 隐藏后它身上的 margin-left:auto 也没了，改由操作区自己顶到最右 */
  .header__actions { margin-left: auto; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.hero h1 { margin-bottom: var(--sp-4); }
.hero__lead { max-width: 46ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.hero__trust li { display: flex; align-items: center; gap: var(--sp-2); font-size: 14px; color: var(--text-2); }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent-500); flex: none; }
.hero__media { position: relative; }
.hero__img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

/* ---- 首屏（照片满底版，2026-10-09 按参考图重做）---- */
.hero--photo { background: var(--bg-soft); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/hero/hero-main.jpg");
  background-size: cover; background-position: center right; background-repeat: no-repeat;
}
/* 左侧压一层底色渐变，保证文字可读；右侧透出照片 */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    var(--bg-soft) 0%,
    color-mix(in srgb, var(--bg-soft) 94%, transparent) 34%,
    color-mix(in srgb, var(--bg-soft) 62%, transparent) 55%,
    color-mix(in srgb, var(--bg-soft) 18%, transparent) 78%,
    transparent 100%);
}
.hero--photo .container { position: relative; z-index: 1; }
.hero--photo .hero__inner { grid-template-columns: minmax(0, 1fr) 356px; padding-block: clamp(40px, 5vw, 72px); }

.hero__pill {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-600) 32%, transparent);
  color: var(--brand-600); font-size: 13px; font-weight: 600;
}
.hero__pill svg { width: 15px; height: 15px; }

.hero h1 em { font-style: normal; color: var(--brand-600); }
.hero__lead {
  border-left: 3px solid var(--brand-600); padding-left: var(--sp-4);
  /* 46em = 733px = 首屏左栏满宽：2026-11-02 服务范围「亚洲」改成「新加坡、马来西亚」，
     正文由 83 字涨到 89 字，42.7em（每行 41 字）会挤成 3 行、末行只剩「身份双目标。」。
     现在每行 45 字 → 2 行，首屏高度与改前一致（行数不变）。
     注意：这不是「随意放大」，46em 正好等于左栏 1fr 的实测宽度（1200 - 356 图卡 - 64 间距
     - 48 内距 = 732），再宽就超出栅格被裁。
     ⚠️ 中文定宽一律用 em：ch 按数字「0」（≈8.6px）算，对汉字完全不准。 */
  max-width: 46em;
}

/* 四项特性：图标 + 标题 + 说明 */
.hero__chips {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3); margin-bottom: var(--sp-6);
}
.hero__chips li {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--border);
}
.hero__chip-ico { width: 22px; height: 22px; flex: none; color: var(--brand-600); }
.hero__chip-txt { min-width: 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.hero__chip-txt b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }

/* 右侧创始人卡 */
.hero__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-2);
}
.hero__card-head { display: flex; align-items: center; gap: var(--sp-4); }
.hero__card-photo {
  width: 84px; flex: none; aspect-ratio: 3 / 4;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-soft);
}
/* 创始人卡真人头像（2026-10-09 换掉 ph-img 占位块） */
.hero__card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__card-photo .ph-img { width: 100%; height: 100%; padding: 0; font-size: 11px; line-height: 1.35; }
.hero__card-name { font-size: 20px; font-weight: 700; }
.hero__card-role { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.hero__card-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: var(--sp-3);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-600); font-size: 12px; font-weight: 600;
}
.hero__card-badge svg { width: 13px; height: 13px; }
.hero__card-list {
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: grid; gap: 12px;
}
.hero__card-list li { display: flex; align-items: center; gap: var(--sp-3); font-size: 14px; color: var(--text-2); }
.hero__card-list svg { width: 18px; height: 18px; flex: none; color: var(--brand-600); }

/* 窄屏：照片改上下渐变，内容单列 */
@media (max-width: 900px) {
  .hero__bg::after {
    background: linear-gradient(180deg,
      var(--bg-soft) 0%,
      color-mix(in srgb, var(--bg-soft) 92%, transparent) 40%,
      color-mix(in srgb, var(--bg-soft) 70%, transparent) 72%,
      color-mix(in srgb, var(--bg-soft) 45%, transparent) 100%);
  }
  .hero--photo .hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__chips { grid-template-columns: 1fr; }
}
.hero__badge {
  position: absolute; right: -12px; bottom: -12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-2);
  display: none;
}
@media (min-width: 1024px) { .hero__badge { display: block; } }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero__media { order: -1; } }

/* ---------------- 关于源点：优势卡片 ---------------- */
/* 无标签后两栏顶对齐，卡片顶边与左侧 ABOUT US 同一条水平线 */
#about .hero__inner { align-items: start; }
/* 加卡片框：复用 .card 的白底/描边/圆角，顶边换成品牌色，内边距收窄以适配窄栏 */
.adv__item { padding: var(--sp-4); border-top: 2px solid var(--brand-600); }
.adv__head { display: flex; align-items: center; gap: var(--sp-3); }
.adv__no {
  display: grid; place-items: center; flex: none;
  min-width: 26px; height: 22px; padding: 0 6px; border-radius: 6px;
  background: var(--brand-50); color: var(--brand-600);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.adv__title { font-size: 16px; font-weight: 600; }
.adv__desc { margin-top: var(--sp-2); font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

/* ---------------- 资讯区块 ---------------- */
.news-grid { margin-top: var(--sp-6); }
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card__media { flex: none; }
.news-card__media .ph-img { border: 0; border-radius: 0; border-bottom: 1px dashed var(--border-2); aspect-ratio: 16 / 9; }
.news-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: var(--sp-3); font-size: 13px; color: var(--text-3); margin-bottom: var(--sp-3); }
.news-card__title { font-size: 17px; font-weight: 600; line-height: 1.45; margin-bottom: var(--sp-2); }
.news-card__title a { transition: color .2s var(--ease); }
.news-card__excerpt { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot { margin-top: auto; padding-top: var(--sp-4); }

/* 头条：左大图 + 右列表 */
.news-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-5); margin-top: var(--sp-6); }
@media (max-width: 900px) { .news-feature { grid-template-columns: 1fr; } }
.news-feature__main { overflow: hidden; }
/* 右列 5 条均分左卡高度：行高 1fr 撑满，条内只用 border 分隔，不再吃 padding */
.news-mini { display: flex; align-items: center; gap: var(--sp-4); padding: 0; border-bottom: 1px solid var(--border); min-height: 0; }
.news-mini:last-child { border-bottom: 0; }
.news-mini__media { width: 112px; flex: none; }
.news-mini__media .ph-img { aspect-ratio: 4 / 3; }
.news-mini__title { font-size: 15px; font-weight: 600; line-height: 1.5; }
.news-mini__date { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* ---------------- 服务卡片 ---------------- */
.svc-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.svc-card__body { padding: var(--sp-5) var(--sp-5) var(--sp-4); display: flex; flex-direction: column; flex: 1; }
/* 主营业务两张卡：头部横排（图标 + 标题/说明） */
.svc-card__head { display: flex; align-items: flex-start; gap: var(--sp-4); }
.svc-card__head .card__icon { margin-bottom: 0; flex: none; }
.svc-card__head .card__desc { font-size: 14.5px; line-height: 1.6; }

/* 主营业务：「升学」是主推线，整卡用品牌浅底 + 实心图标/节点把它顶出来；
   「香港身份」保持白底描边，自然退到次要位置（浅底卡片参照已有 .uni-panel--cta） */
.svc-card--feat { background: var(--brand-50); border-color: var(--brand-100); }
.svc-card--feat:hover { border-color: var(--brand-600); }
.svc-card--feat .card__icon { background: var(--brand-600); color: var(--on-brand); }
.svc-card--feat .tl2__no {
  background: var(--brand-600); border-color: var(--brand-600); color: var(--on-brand);
}
.svc-card--feat .tl2__item::before {
  background: color-mix(in srgb, var(--brand-600) 45%, transparent);
}

/* 主营业务（横向时间线版）：一行一节，节点居中落在横轴上 */
.tl2 { display: flex; margin-top: var(--sp-4); }
.tl2__item {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 var(--sp-2);
}
/* 每格自己画一段横线，首末格收在节点中心，拼起来就是一条完整轴线 */
.tl2__item::before {
  content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 2px;
  background: color-mix(in srgb, var(--brand-600) 28%, transparent);
}
.tl2__item:first-child::before { left: 50%; }
.tl2__item:last-child::before { right: 50%; }
.tl2__no {
  position: relative; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--brand-600); color: var(--brand-600);
  font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
}
.tl2__name { margin-top: var(--sp-3); font-size: 13.5px; font-weight: 600; color: var(--text); }
.tl2__desc { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }

/* 窄屏：横轴自动翻回竖轴，避免 10 节挤成一团 */
@media (max-width: 900px) {
  .tl2 { display: block; position: relative; }
  .tl2::before {
    content: ""; position: absolute; left: 11px; top: 20px; bottom: 20px;
    width: 2px; background: color-mix(in srgb, var(--brand-600) 28%, transparent);
  }
  .tl2__item {
    display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-3);
    align-items: start; text-align: left; padding: 8px 0;
  }
  .tl2__item::before { display: none; }
  .tl2__name { margin-top: 0; }
  .tl2__desc { grid-column: 2; }
}
.svc-card__foot { margin-top: auto; padding-top: var(--sp-3); }

/* ---------------- 团队：画册跨页（2026-10-29 替换模板 B） ----------------
   左：创始人竖图 + 米色偏移衬板 + 竖排英文小标；右：引语 + 衬线数字 + 文字 CTA
   下：极细线名录，八位老师折叠完整履历（<details>，无 JS 也能展开，正文可被爬虫读到）
   尺寸上限 1080：这一块比其它区块收窄，是为了拿到杂志内页的留白比例 */
.team { max-width: 1080px; margin-inline: auto; }

.team__head {
  display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 56px;
  align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--border-2);
}
.team__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--brand-600);
}
.team__eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand-600); flex: none; }
.team__h2 { margin: 12px 0 0; font-size: 37px; line-height: 1.16; font-weight: 800; letter-spacing: -.015em; }
.team__head p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--text-2); }
.team__head p b { font-weight: 700; color: var(--text); }

.team__body { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 56px; padding-top: 52px; }
.team__fig { position: relative; }
/* 衬板：只衬托照片本体。包到下面的姓名条上会变成一条怪色带（原型阶段踩过） */
.team__frame { position: relative; }
.team__frame::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 3px;
  background: linear-gradient(155deg, #F5E8DA, #E7D2BD);
}
[data-theme="dark"] .team__frame::before { background: linear-gradient(155deg, #2B2219, #35281D); }
.team__ph { position: relative; border-radius: 3px; overflow: hidden; background: var(--surface-2); }
.team__ph img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.team__vert {
  position: absolute; left: -30px; top: 2px; writing-mode: vertical-rl;
  font-size: 9.5px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brand-600); opacity: .85;
}
.team__cap {
  position: relative; margin-top: 26px; padding-top: 15px; border-top: 1px solid var(--border-2);
}
.team__cap b { display: block; font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.team__cap i { display: block; font-style: normal; font-size: 12px; color: var(--text-3); margin-top: 5px; line-height: 1.5; }

.team__right { display: flex; flex-direction: column; min-width: 0; }
.team__quote { position: relative; padding-left: 36px; }
.team__quote::before {
  content: "\201C"; position: absolute; left: -2px; top: -20px;
  font: 700 68px/1 Georgia, "Times New Roman", serif; color: var(--brand-600); opacity: .18;
}
.team__quote p { margin: 0; font-size: 21.5px; line-height: 1.88; font-weight: 500; color: var(--text); text-wrap: pretty; }
.team__quote em { font-style: normal; background: linear-gradient(180deg, transparent 62%, rgba(198, 71, 10, .14) 62%); }
/* 2026-11-02 去掉引语下的署名行（「思源老师 · 浸会硕士 · 十年香港…」），
   姓名与身份在照片下的 .team__cap 已经写过一遍，属于重复信息；
   原来靠 20px(署名上距) + 18px(署名行高) + 32px 撑出的留白，收成 40px 一段。 */
/* 履历要点：两列规格表（学历 / 专长）。用于填满引语与数字之间的留白，
   左侧标签用字距拉开，右侧内容用正文字号，读起来是一段简历而不是标签堆 */
.team__bio { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; margin-top: 40px; }
.team__bio-i { padding: 14px 0 13px; border-top: 1px solid var(--border); }
.team__bio-i span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em;
  color: var(--text-3);
}
.team__bio-i p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.62; color: var(--text); text-wrap: pretty; }

/* 数字压到与照片底齐平：右栏用 margin-top:auto 把这一组推到最下面 */
.team__foot { margin-top: auto; padding-top: 36px; }
.team__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 22px; border-top: 1px solid var(--border); }
.team__stat { padding-left: 22px; border-left: 1px solid var(--border); }
.team__stat:first-child { padding-left: 0; border-left: 0; }
.team__stat b { display: block; font: 700 29px/1 Georgia, "Times New Roman", serif; letter-spacing: -.01em; color: var(--brand-600); }
.team__stat b s { font-size: 14px; font-weight: 700; text-decoration: none; margin-left: 2px; font-family: var(--font); }
.team__stat i { display: block; font-style: normal; font-size: 11.5px; color: var(--text-3); margin-top: 9px; letter-spacing: .03em; }

.team__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.team__btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 0 0 3px;
  border: 0; border-bottom: 1.5px solid currentColor; background: none;
  font-size: 14px; font-weight: 700; color: var(--brand-ink);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.team__btn:hover { gap: 14px; color: var(--brand-700); }
.team__btn svg { width: 14px; height: 14px; }
.team__hint { font-size: 11.5px; color: var(--text-3); }

/* 名录 */
.team__roster {
  display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 58px;
  margin-top: 52px; border-top: 1px solid var(--border-2);
}
.team__rlab { position: sticky; top: calc(var(--header-h) + 26px); align-self: start; padding-top: 26px; }
.team__rlab b { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.team__rlab span { display: block; margin-top: 9px; font-size: 11.5px; line-height: 1.75; color: var(--text-3); }
.team__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 46px; align-content: start; }
.team__m[hidden] { display: none; }

/* 分页：一页 6 位（两列三行），翻页看其余；页数 ≤ 1 时整块由 JS 保持 hidden */
.team__pager {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; row-gap: 10px;
  padding-top: 22px;
}
.team__pager[hidden] { display: none; }
.team__pgnums { display: flex; align-items: center; gap: 8px; }
.team__pg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; flex: none;
  border: 1px solid var(--border-2); border-radius: 9px; background: transparent;
  color: var(--text-2); font: 600 12px/1 var(--font-num); letter-spacing: .02em;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.team__pg svg { width: 13px; height: 13px; }
.team__pg:not(.is-off):hover { color: var(--brand-600); border-color: var(--brand-500); background: var(--brand-50); }
.team__pg.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.team__pg.is-off { opacity: .32; cursor: default; }
.team__pg:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.team__pgmeta { margin-left: auto; font-size: 11.5px; color: var(--text-3); letter-spacing: .02em; }
/* 末页只剩一位时居中，别让右半边空一格、看着像没加载出来 */
@media (min-width: 1001px) {
  .team__list.is-solo > .team__m { grid-column: 1 / -1; justify-self: center; width: calc(50% - 23px); }
  .team__list.is-solo > .team__m[open] { justify-self: stretch; width: auto; }
}

.team__m { border-bottom: 1px solid var(--border); }
.team__m > summary {
  display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) 14px; gap: 14px;
  align-items: center; padding: 15px 8px 15px 0; cursor: pointer; list-style: none;
  transition: background .18s var(--ease);
}
.team__m > summary::-webkit-details-marker { display: none; }
.team__m > summary:hover { background: rgba(198, 71, 10, .035); }
.team__idx { font: 600 10.5px/1 var(--font-num); color: var(--text-3); letter-spacing: .04em; }
.team__av {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: var(--surface-2); box-shadow: 0 0 0 1px rgba(120, 88, 60, .14);
}
.team__av img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.96); }
.team__tx { min-width: 0; }
.team__tx b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.team__tx i { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--brand-600); margin-top: 2px; }
[data-theme="dark"] .team__tx i { color: var(--brand-500); }
.team__cred {
  display: block; margin-top: 3px; font-size: 11.5px; color: var(--text-3);
  line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 加号用两条线画，展开时竖线收掉 = 变减号 */
.team__plus { position: relative; width: 12px; height: 12px; flex: none; }
.team__plus::before, .team__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--text-3);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.team__plus::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.team__plus::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.team__m[open] .team__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* 展开：整块跨两列，履历正文分两栏排，避免窄栏把长段落拉成一列 */
.team__m[open] {
  grid-column: 1 / -1; border-bottom: 0; border-radius: 10px;
  background: var(--surface); box-shadow: var(--shadow-1); padding: 0 18px 4px; margin: 6px 0 10px;
}
.team__m[open] > summary { border-bottom: 1px solid var(--border); }
.team__res {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px;
  padding: 20px 0 16px 80px;
}
.team__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.team__facts li {
  padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-600); font-size: 12px; font-weight: 600;
}
[data-theme="dark"] .team__facts li { color: var(--brand-500); }
.team__sec h4 {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--accent-500);
  margin: 12px 0 7px;
}
.team__sec h4::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: var(--brand-600); flex: none; }
.team__sec li {
  position: relative; padding-left: 12px; margin-bottom: 6px;
  font-size: 13px; line-height: 1.8; color: var(--text-2);
}
.team__sec li::before {
  content: ""; position: absolute; left: 0; top: .8em;
  width: 5px; height: 1px; background: var(--border-2);
}
.team__sec--cta {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}

@media (max-width: 1000px) {
  .team__head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  /* 平板不急着单列：先把照片缩到 216、栏距 40，两栏并排能一直撑到 760；
     一旦单列，照片只占左半边，右边会空出 500+px 的白色 */
  .team__body { grid-template-columns: 216px minmax(0, 1fr); gap: 40px; }
  .team__vert { display: none; }
  .team__bio { column-gap: 32px; margin-top: 26px; }
  .team__foot { padding-top: 30px; }
  .team__roster { grid-template-columns: 1fr; gap: 10px; }
  .team__rlab { position: static; padding-top: 22px; }
  .team__list { grid-template-columns: 1fr; }
  .team__res { padding-left: 0; }
}
@media (max-width: 760px) {
  .team__body { grid-template-columns: 1fr; gap: 40px; }
  .team__fig { max-width: 280px; }
  .team__right { display: block; }
  .team__bio { grid-template-columns: 1fr; column-gap: 0; }
  .team__bio-i { padding: 12px 0; }
}
@media (max-width: 640px) {
  .team__h2 { font-size: 29px; }
  .team__quote { padding-left: 24px; }
  .team__quote p { font-size: 19px; }
  .team__quote::before { top: -14px; font-size: 52px; }
  .team__stats { grid-template-columns: 1fr; gap: 0; }
  .team__stat { padding: 14px 0 0; border-left: 0; }
  .team__stat + .team__stat { margin-top: 14px; border-top: 1px solid var(--border); }
  .team__res { grid-template-columns: 1fr; }
  .team__m[open] { padding: 0 14px 4px; }
}

/* ---------------- 案例 ---------------- */
.case-card { padding: 0; overflow: hidden; }
.case-card__media .ph-img { border: 0; border-radius: 0; aspect-ratio: 3 / 4; }
.case-card__body { padding: var(--sp-4); }
.case-card__school { font-size: 15px; font-weight: 600; }
.case-card__meta { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ---------------- 院校推荐（左：院校列表 / 中：院校详情 + 优势专业 / 右：排名 + 院校库） ---------------- */
/* 区头变体：左标题 + 右「更多」，替代默认的居中区头 */
.sec-head--split {
  text-align: left; max-width: none; margin-inline: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-3) var(--sp-6); flex-wrap: wrap;
}
.sec-head--split .sec-head__bar { margin-inline: 0; }
.sec-more {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: 14px; font-weight: 600; color: var(--brand-600);
  transition: gap .2s var(--ease);
}
.sec-more svg { width: 15px; height: 15px; }
.sec-more:hover { gap: 10px; }

/* align-items 用默认的 stretch：右栏会被拉到与左栏同高，再由 align-content 分配内部间距 */
.uni { display: grid; grid-template-columns: 212px minmax(0, 1fr) 262px; gap: clamp(18px, 2.2vw, 30px); }

@media (max-width: 1100px) {
  .uni { grid-template-columns: 196px minmax(0, 1fr); }
  .uni__side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
}
@media (max-width: 760px) {
  .uni { grid-template-columns: 1fr; }
  .uni__side { grid-template-columns: 1fr; }
}

/* --- 左栏：院校列表（直接列校名，选中即切换中间详情） --- */
.uni__schools { display: flex; flex-direction: column; gap: 7px; }
.uni__school {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 13px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: 14px; font-weight: 500; text-align: left;
  cursor: pointer; font-family: inherit;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.uni__school:hover { border-color: var(--brand-300); color: var(--brand-600); }
.uni__school[aria-selected="true"] {
  background: var(--brand-600); border-color: var(--brand-600); color: var(--on-brand);
  box-shadow: 0 6px 16px rgba(198, 71, 10, .18);
}
/* 校名缩写徽标（HKU / CUHK …）：宽度锁定 46px（最长 HKUST / EdUHK 占 45），
   若不锁，2 字母的 LU / UM 只占 34，中文名会跟着缩写长短左右错位、看着参差 */
.uni__badge {
  flex: none; width: 46px; box-sizing: border-box; padding: 3px 0; border-radius: 4px;
  text-align: center; white-space: nowrap;
  font-size: 9.5px; font-weight: 700; letter-spacing: .3px;
  background: var(--brand-50); color: var(--brand-600);
}
/* 选中态徽标：前景是 --on-brand，底必须往深色调（白字压「白 22% 叠橙」只有 2.7:1）
   用 var(--text) 做叠加色，浅色模式压暗、暗色模式提亮，两边都过 AA */
.uni__school[aria-selected="true"] .uni__badge {
  background: color-mix(in srgb, var(--text) 18%, transparent); color: var(--on-brand);
}
.uni__sname { flex: 1; min-width: 0; }

/* --- 中栏：选中院校的详情 + 优势专业 --- */
/* 10 个 pane 用网格叠在同一格里：容器高度 = 内容最多的那一所，
   这样切换院校时整块不会忽高忽低。
   hidden 的 pane 用 visibility 隐藏——仍参与布局，但对读屏与 Tab 均不可见 */
.uni__main { min-width: 0; display: grid; }
.uni__pane { grid-area: 1 / 1; }
.uni__pane[hidden] { display: block; visibility: hidden; }
.uni-hero {
  display: flex; align-items: flex-start; gap: var(--sp-5);
  padding: var(--sp-5); border-radius: var(--r-lg);
  background: var(--bg-soft); border: 1px solid var(--border);
}
.uni-hero .ph-img { width: 96px; flex: none; padding: 0; font-size: 11px; }
/* 校徽：白底方框。学校官方校徽都是按白底稿设计的，所以底板固定白色不跟随主题 */
.uni-hero__logo {
  width: 96px; flex: none; aspect-ratio: 1 / 1; padding: 8px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
}
.uni-hero__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
/* 暂时没有可用校徽的院校：退回字母徽标，样式与左栏 badge 一致 */
.uni-hero__logo--ph {
  background: var(--surface-2); border-style: dashed; border-color: var(--border-2);
  font-size: 12px; font-weight: 700; letter-spacing: .3px; color: var(--text-3);
}
.uni-hero__body { min-width: 0; }
/* 类型 / 排名标签：用现成的 .tag 组件 */
.uni-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
/* 院校简介：比下面的字段稍微轻一点，读起来是先介绍后条件 */
.uni-hero__desc { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.uni-hero__name { display: flex; align-items: baseline; gap: 8px; font-size: 21px; font-weight: 800; }
.uni-hero__en { font-size: 12.5px; font-weight: 600; letter-spacing: .3px; color: var(--text-3); }
.uni-hero__row { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: var(--text-2); }
.uni-hero__row:first-of-type { margin-top: 12px; }
.uni-hero__row b { color: var(--text); font-weight: 700; }

.uni__cap { margin-top: var(--sp-5); font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.uni-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.uni-card {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: var(--sp-4) var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface);
  text-align: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.uni-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.uni-card__icon {
  width: 32px; height: 32px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.uni-card__icon svg { width: 17px; height: 17px; }
.uni-card__name { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
/* 中栏底部：去专业库的入口 */
.uni__more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-4); font-size: 13.5px; font-weight: 600; color: var(--brand-600); transition: gap .2s var(--ease); }
.uni__more svg { width: 14px; height: 14px; }
.uni__more:hover { gap: 10px; }
@media (max-width: 760px) { .uni-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- 右栏：排名榜 + 院校库 + 选校评估 --- */
/* 三块的高度分配：排名吃掉全部剩余高度（1fr），院校库与 CTA 各按内容高。
   这样整列总高恒等于左栏（.uni 默认 align-items:stretch），
   不会像原来 align-content:space-between 那样在中间留出两块 70px 的死白。 */
.uni__side { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: var(--sp-4); min-width: 0; }
.uni-panel__title {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding-bottom: 8px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 15px; font-weight: 700;
}
.uni-panel__title a { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
/* 标题右侧的年份小注（2026 QS）：比「更多」更轻，不抢视线 */
.uni-panel__note {
  font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
  color: var(--text-3); margin-left: 4px;
}
/* 澳门院校：右栏第二张 tablist，样式与左栏完全一致，只是条目少（4 所） */
.uni-panel--mo { display: flex; flex-direction: column; min-height: 0; }
.uni-panel__title a:hover { color: var(--brand-600); }
/* 选校评估小卡：右栏底部的转化位，用品牌浅底把它托出来 */
.uni-panel--cta {
  padding: var(--sp-4);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  background: var(--brand-50);
}
.uni-panel__cta { margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.uni-panel__desc { margin-bottom: var(--sp-4); font-size: 13px; line-height: 1.65; color: var(--text-2); }

/* 宽屏：右栏被拉到与左栏同高，澳门名单吃掉面板的剩余高度。
   ⚠️ 条目本身不拉伸 —— 拉成 55px 高就和左栏 43px 的按钮不一样了（要「样式和左边一样」） */
@media (min-width: 1101px) {
  .uni__schools--mo { flex: 1 1 auto; min-height: 0; }
}
/* 平板两列：澳门名单在左跨两行，右列自上而下叠「选校评估 + 院校库」，右列填满不留空 */
@media (min-width: 761px) and (max-width: 1100px) {
  .uni-panel--mo { grid-column: 1; grid-row: 1 / span 2; }
  .uni__side { align-items: start; }
}
.uni-search { display: flex; gap: 8px; }
.uni-search .input { padding: 10px 12px; font-size: 14px; }
.uni-search .btn { flex: none; padding: 10px 18px; font-size: 14px; }
/* 「看排名」已删（2026-10-29）：指向未建的排名页，纯占位。
   两个动作并排等宽即可，不再需要「首个子项占满一行」的规则。 */
.uni-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
/* 青绿按钮：底上的文字用 --on-accent（暗色模式下 accent 会提亮，白字会糊） */
.btn--accent { background: var(--accent-500); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-600); box-shadow: var(--shadow-2); }
/* ---------------- 用户好评（评价墙双向自动滚动） ---------------- */
/* 版式参考：左侧标题陈述 + 右侧三列评价卡，每列内容由 main.js 复制一份后做 -50% 位移循环 */
.section--reviews { background: linear-gradient(180deg, #FFEFE3 0%, #FFF7F0 100%); }
.reviews { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: clamp(28px, 3.2vw, 56px); align-items: center; }
@media (max-width: 1024px) { .reviews { grid-template-columns: 1fr; } }

.reviews__label { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--brand-600); letter-spacing: .5px; }
.reviews__label svg { width: 20px; height: 20px; flex: none; }
.reviews__title { margin-top: var(--sp-4); font-size: clamp(21px, 1.95vw, 29px); font-weight: 800; line-height: 1.58; color: var(--text); }

/* 评价墙：is-ready（JS 复制完成）之后才启用固定高度 + 渐隐遮罩 + 动画，避免无 JS 时内容被裁 */
.reviews__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.reviews__wall.is-ready { height: 560px; overflow: hidden; }
.reviews__wall.is-ready .reviews__col {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.reviews__track { display: flex; flex-direction: column; }
.reviews__clone { display: flex; flex-direction: column; }
.reviews__wall.is-ready .reviews__track { animation: reviewScroll 36s linear infinite; }
.reviews__wall.is-ready .reviews__col--b .reviews__track { animation-duration: 48s; animation-direction: reverse; }
.reviews__wall.is-ready .reviews__col--c .reviews__track { animation-duration: 44s; }
.reviews__wall.is-ready:hover .reviews__track,
.reviews__wall.is-ready:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviewScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* 评价卡 */
.review { padding: 14px; margin-bottom: var(--sp-4); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.review--solid { background: linear-gradient(150deg, var(--brand-500), var(--brand-600)); border-color: transparent; box-shadow: 0 14px 32px rgba(198, 71, 10, .22); }
.review__text { margin-top: 11px; font-size: 14.5px; line-height: 1.8; color: var(--text); text-wrap: pretty; }
.review--solid .review__text { color: color-mix(in srgb, var(--on-brand) 93%, transparent); }
.review__foot { display: flex; align-items: center; gap: 10px; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.review--solid .review__foot { border-top-color: color-mix(in srgb, var(--on-brand) 26%, transparent); }
.review__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 14px; font-weight: 700; }
.review--solid .review__avatar { background: color-mix(in srgb, var(--on-brand) 22%, transparent); color: var(--on-brand); }
.review__name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.review--solid .review__name { color: var(--on-brand); }
.review__stars { margin-left: auto; font-size: 12px; letter-spacing: 1px; color: #DF9A2C; white-space: nowrap; }
.review--solid .review__stars { color: #FFE0B2; }

/* 学员故事卡（2026-10-29 换掉原来的示例评价）：
   第一行 = 录取结果（学校 · 专业）+ 日期；正文 = 背景与关键动作；底部 = 背景标签 + 读原文 */
.review__tag { display: block; }
.review__tag b { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; color: var(--brand-600); }
.review__tag i { display: block; margin-top: 3px; font-style: normal; font-size: 10.5px; letter-spacing: .04em; color: var(--text-3); }
.review--solid .review__tag b { color: var(--on-brand); }
.review--solid .review__tag i { color: color-mix(in srgb, var(--on-brand) 88%, transparent); }
.review__bg { font-size: 11.5px; line-height: 1.5; letter-spacing: .01em; color: var(--text-3); }
.review--solid .review__bg { color: color-mix(in srgb, var(--on-brand) 88%, transparent); }
.review__link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--brand-600); white-space: nowrap;
}
.review--solid .review__link { color: color-mix(in srgb, var(--on-brand) 90%, transparent); }
.review__link:hover { text-decoration: underline; }
.review__link .ext-ico { width: 9px; height: 9px; margin-left: 0; opacity: .7; }
.nb { white-space: nowrap; }

@media (max-width: 640px) {
  /* 窄屏必须压成一列：原来只把列拆成 display:contents，栅格仍是三列，卡片被挤到 145px 宽 */
  .reviews__wall, .reviews__wall.is-ready { grid-template-columns: 1fr; height: auto; max-height: 520px; overflow-y: auto; }
  .reviews__wall.is-ready .reviews__col { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .reviews__col, .reviews__wall.is-ready .reviews__track { display: contents; }
  .reviews__clone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews__wall.is-ready { height: auto; max-height: 560px; overflow-y: auto; }
  .reviews__wall.is-ready .reviews__col { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .reviews__wall.is-ready .reviews__track { animation: none; }
  .reviews__clone { display: none; }
}
/* ---------------- 咨询 CTA（通用） ---------------- */
.cta { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: var(--on-brand); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); }
.cta__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }
.cta h2 { color: var(--on-brand); }
.cta p { color: color-mix(in srgb, var(--on-brand) 85%, transparent); margin-top: var(--sp-3); }
.cta__points { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-5); }
.cta__points li { display: flex; align-items: center; gap: var(--sp-2); font-size: 14px; color: color-mix(in srgb, var(--on-brand) 92%, transparent); }
.cta__points svg { width: 18px; height: 18px; flex: none; }

/* ---------------- 联系我们：横向紧凑版 ----------------
   高度约为常规 section 的一半：section 内边距减半 + 单行横排 */
.section--contact { padding-block: clamp(24px, 3.5vw, 48px); }
/* 内容密度高的区块（如两张服务清单）：上下留白与区头间距都收一档 */
.section--tight { padding-block: clamp(40px, 4.5vw, 64px); }
/* 「关于源点」复用了 hero__inner 的栅格，但它自带上下留白（Hero 需要、这里重复了）——
   区块已经有 .section 的内边距，这里清零，避免一段区块叠了两层留白 */
#about .hero__inner { padding-block: 0; }
.section--tight .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.cta--contact { padding: clamp(20px, 3vw, 32px); }
.cta--contact h2 { font-size: clamp(20px, 2.2vw, 26px); }
.cta--contact p { margin-top: var(--sp-2); font-size: 14px; }
.cta__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4) var(--sp-6); flex-wrap: wrap;
}
.cta__head .cta__points { margin-top: 0; gap: var(--sp-2) var(--sp-4); }

.contact-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid color-mix(in srgb, var(--on-brand) 28%, transparent);
}
.contact-bar .contact-item { align-items: center; gap: var(--sp-3); }
.contact-bar .contact-item__icon {
  width: 34px; height: 34px;
  background: color-mix(in srgb, var(--on-brand) 14%, transparent);
  color: var(--on-brand);
}
.contact-bar .contact-item__icon svg { width: 18px; height: 18px; }
.contact-bar .contact-item__label { color: color-mix(in srgb, var(--on-brand) 70%, transparent); }
.contact-bar .contact-item__value { color: var(--on-brand); font-size: 15px; }
.contact-bar .contact-item__value--sm { font-size: 13px; }
.contact-bar a.contact-item__value {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--on-brand) 40%, transparent);
  text-underline-offset: 3px;
}
.contact-bar a.contact-item__value:hover { color: var(--on-brand); text-decoration-color: var(--on-brand); }
.contact-bar .contact-copy {
  color: var(--on-brand);
  border-color: color-mix(in srgb, var(--on-brand) 45%, transparent);
}
.contact-bar .contact-copy:hover {
  background: color-mix(in srgb, var(--on-brand) 14%, transparent);
  border-color: var(--on-brand);
}
.contact-bar__qr { display: flex; gap: var(--sp-3); }
.contact-bar__qr > div { text-align: center; }
.contact-bar__qr .ph-img {
  width: 52px; height: 52px; padding: 0; margin: 0 auto;
  background: color-mix(in srgb, var(--on-brand) 10%, transparent);
  border-color: color-mix(in srgb, var(--on-brand) 40%, transparent);
  color: color-mix(in srgb, var(--on-brand) 85%, transparent);
  font-size: 11px;
}
.contact-bar__qr span {
  display: block; margin-top: 4px;
  font-size: 12px; color: color-mix(in srgb, var(--on-brand) 75%, transparent);
}
@media (max-width: 1024px) {
  .contact-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-bar__qr { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) {
  .contact-bar { grid-template-columns: 1fr; }
}

/* ---------------- 联系方式列表：弹窗用（白底面板场景） ---------------- */
.contact-list { display: grid; gap: var(--sp-4); }
.contact-item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.contact-item__icon {
  width: 40px; height: 40px; flex: none; border-radius: var(--r-md);
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__body { min-width: 0; }
.contact-item__label { font-size: 13px; color: var(--text-3); }
.contact-item__value {
  display: block; margin-top: 2px;
  font-size: 17px; font-weight: 600; color: var(--text);
  text-decoration: none; word-break: break-all;
}
a.contact-item__value:hover { color: var(--brand-600); }
.contact-item__value--sm { font-size: 15px; font-weight: 500; }
.contact-item__hint { margin-top: 4px; font-size: 13px; color: var(--text-3); }
.contact-item__row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.contact-copy {
  font: inherit; font-size: 13px; line-height: 1;
  padding: 6px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border-2); background: transparent;
  color: var(--brand-600); cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease);
}
.contact-copy:hover { background: var(--brand-50); border-color: var(--brand-300); }
.contact-copy:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.contact-qr {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
  margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border);
}
.contact-qr > div { text-align: center; }
.contact-qr .ph-img { margin-bottom: 8px; }
.contact-qr span { font-size: 13px; color: var(--text-3); }
@media (max-width: 480px) {
  .contact-item__icon { width: 36px; height: 36px; }
  .contact-item__value { font-size: 16px; }
}

/* 弹窗底部「不方便填表？」替代路径：一行为限，不抢表单的注意力 */
.modal__alt {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px dashed var(--border-2);
  font-size: 13px; color: var(--text-3);
}
.modal__alt a { color: var(--brand-600); font-weight: 600; }
.modal__alt span { color: var(--text-2); }

/* ---------------- Footer ---------------- */
/* 底色用 --surface 纯白，与「院校推荐」同一档；与资讯区 --bg-soft #FBF7F3 靠一档色阶分家。
   顶边线用 --border-2（比 --border 深一档）：资讯/文章页正文本身也是纯白，页脚与它同色，
   只靠一条更明显的线才能分家。 */
.footer { background: var(--surface); border-top: 1px solid var(--border-2); padding-block: var(--sp-8) var(--sp-5); margin-top: 0; }
/* 暗色下 --surface #1C1815 与资讯区 --bg-soft #1A1614 只差 2 阶，几乎看不出，
   退回 --surface-2（#262019）保证页脚仍能靠在上一档分家 */
[data-theme="dark"] .footer { background: var(--surface-2); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
/* 页脚品牌列：官方 logo 图片（透明底，浅色底上直接显示） */
.footer__logo { display: inline-block; }
.footer__logo img { width: 150px; height: auto; display: block; }
@media (max-width: 560px) { .footer__logo img { width: 132px; } }
.footer__title { font-size: 15px; font-weight: 600; margin-bottom: var(--sp-4); }
.footer__list li + li { margin-top: var(--sp-2); }
.footer__list a { font-size: 14px; color: var(--text-2); }
.footer__list a:hover { color: var(--brand-600); }
.footer__contact { font-size: 14px; color: var(--text-2); }
.footer__contact li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.footer__contact li + li { margin-top: var(--sp-2); }
.footer__contact svg { width: 16px; height: 16px; margin-top: 3px; }
.footer__contact span, .footer__contact a { line-height: 1.65; word-break: break-word; }
/* 品牌列补充信息：平衡四列高度，避免左列底部大片留白 */
.footer__meta { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.footer__meta > div { display: flex; gap: var(--sp-3); }
.footer__meta > div + div { margin-top: var(--sp-1); }
.footer__meta-k { flex: none; color: var(--text-2); }
/* 服务范围 7 个地区放不下一行（列宽 ~302px / 26 字）。分项各自 nowrap，
   保证「马来西亚」不会被拆成「马 / 来西亚」；balance 让两行长度接近，
   不出现第二行只剩一个国家名的孤立行。 */
.footer__areas { text-wrap: balance; }
.footer__bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: 13px; color: var(--text-3);
}
.footer__qr { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); }
.footer__qr > div { width: 108px; text-align: center; font-size: 12px; color: var(--text-3); }
.footer__qr .ph-img { aspect-ratio: 1 / 1; padding: 0; margin-bottom: 6px; }
/* 真实二维码：白底方形，跟占位块同尺寸，避免与客服微信占位错位 */
.footer__qr img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block;
  margin-bottom: 6px; border-radius: var(--r-sm); background: #fff;
  /* 页脚改白底后，白底二维码与底色同色会糊成一片 —— 补一圈细边把卡片拎出来 */
  border: 1px solid var(--border);
}

/* ---------------- 内页：页头 ---------------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding-block: var(--sp-7) var(--sp-6); }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); }
.page-head .crumbs { margin-bottom: var(--sp-4); }
/* 页头下面紧接着的区块不套用 section 的 96px 上留白，否则标题与内容之间空一大段 */
.page-head + .section { padding-top: var(--sp-6); }

/* ---------------- 公众号外链 --------------- */
/* 外链小图标：跟随文字色，低调但可辨 */
.ext-ico { width: .7em; height: .7em; margin-left: .3em; opacity: .5; vertical-align: baseline; flex: none; }
/* 来源标识 */
.news-src { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); }
.news-src svg { width: 13px; height: 13px; flex: none; }
.news-src .ext-ico { width: 10px; height: 10px; margin-left: 1px; opacity: .6; }
/* 头条配图容器：比例写在容器上，img 不要带 height 属性 */
.news-media { display: block; overflow: hidden; }
.news-media img, .news-media .ph-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
/* 列表行：整卡可点（stretched link），卡内仅有标题一个链接 */
.news-row { position: relative; }
.news-row__media { overflow: hidden; border-radius: var(--r-md); }
.news-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.news-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.news-row__title a:focus-visible { outline: none; }
.news-row__title a:focus-visible::after { outline: 2px solid var(--brand-600); outline-offset: -2px; }
/* 首页小条：同样整卡可点 */
.news-mini { position: relative; }
.news-mini__media { overflow: hidden; border-radius: var(--r-sm); }
.news-mini__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.news-mini__title::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-md); }
.news-mini__title:focus-visible { outline: none; }
.news-mini__title:focus-visible::after { outline: 2px solid var(--brand-600); outline-offset: -2px; }
/* 首页右列 5 条的容器：5 行等分，总高与左侧头条卡严格对齐 */
.news-side-list { display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); min-width: 0; }
/* 窄屏堆叠后容器没有确定行高，退回常规间距 */
@media (max-width: 900px) {
  .news-side-list { grid-template-rows: auto; }
  .news-mini { padding: var(--sp-4) 0; }
  .news-mini:first-child { padding-top: 0; }
}

/* ---------------- 内页：资讯列表 ---------------- */
/* 上间距交给外层 .with-side 的 mt-6，列表自己不再叠一层，否则左栏顶部比侧栏低 32px */
.news-list { display: grid; gap: var(--sp-5); }
.news-row {
  display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-5);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-4); overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.news-row:hover { box-shadow: var(--shadow-2); border-color: var(--border-2); }
/* 作者样式表里的 display 会压过 UA 的 [hidden]{display:none}，筛选必须显式声明 */
.news-row[hidden], .news-mini[hidden] { display: none; }
@media (max-width: 720px) { .news-row { grid-template-columns: 1fr; } .news-row__media { display: none; } }
.news-row__media .ph-img { aspect-ratio: 4 / 3; }
.news-row__body { display: flex; flex-direction: column; }
.news-row__title { font-size: 19px; font-weight: 600; line-height: 1.45; }
.news-row:hover .news-row__title { color: var(--brand-600); }
.news-row__excerpt { margin-top: var(--sp-2); font-size: 14px; color: var(--text-2); -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.news-row__meta { margin-top: auto; padding-top: var(--sp-3); display: flex; gap: var(--sp-3); font-size: 13px; color: var(--text-3); }

/* 资讯分页：一页 5 条。作者样式会压过 UA 的 [hidden]，必须显式声明 */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: var(--sp-6); flex-wrap: wrap; }
.pager[hidden] { display: none; }
.pager__btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; line-height: 1; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.pager__btn:hover:not(:disabled) { color: var(--brand-600); border-color: var(--brand-600); }
.pager__btn.is-active { color: var(--on-brand); background: var(--brand-600); border-color: var(--brand-600); }
.pager__btn:disabled { opacity: .38; cursor: not-allowed; }
.pager__nav { font-size: 19px; font-weight: 500; }
.pager__btn:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

/* 侧边栏 */
.with-side { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; } .side { order: 2; } }
.side__block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); }
.side__block + .side__block { margin-top: var(--sp-4); }
.side__title { font-size: 15px; font-weight: 600; margin-bottom: var(--sp-4); }


/* 侧栏公众号二维码 */
.side__qr { text-align: center; }
.side__qr .side__title { text-align: left; }
.side__qr .t-body { text-align: left; }
.side__qr-img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;            /* 防 width/height 属性压掉等比 */
  margin: var(--sp-4) auto 0;
  border-radius: var(--r-sm);
}
.side__qr-hint { margin-top: var(--sp-3); font-size: 13px; line-height: 1.5; color: var(--text-3); }
.side__hot li + li { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.side__hot a { font-size: 14px; line-height: 1.5; }
.side__hot a:hover { color: var(--brand-600); }
.side__hot .num { font-family: var(--font-num); font-size: 13px; color: var(--text-3); margin-right: 6px; }

/* ---------------- 内页：文章详情 ---------------- */
.article { padding-block: var(--sp-7); }
.article__wrap { max-width: 760px; margin-inline: auto; }
.article__title { font-size: clamp(26px, 4vw, 40px); line-height: 1.3; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-4); font-size: 13px; color: var(--text-3); }
.article__cover { margin-top: var(--sp-6); }
.prose { margin-top: var(--sp-6); font-size: 17px; line-height: 1.85; color: var(--text); }
.prose h2 { font-size: clamp(21px, 2.6vw, 27px); margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.prose h3 { font-size: 19px; margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose p { margin-bottom: var(--sp-4); }
.prose ul { margin: 0 0 var(--sp-4); }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: var(--sp-2); }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); }
.prose blockquote {
  border-left: 3px solid var(--brand-500); padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  margin: var(--sp-5) 0; color: var(--text-2); background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose strong { color: var(--brand-600); font-weight: 600; }
[data-theme="dark"] .prose strong { color: var(--brand-500); }
.prose .ph-img { margin-block: var(--sp-5); }
.article__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.article__share { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-7); }
@media (max-width: 640px) { .article__nav { grid-template-columns: 1fr; } }
.article__nav a { display: block; padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-md); font-size: 14px; }
.article__nav a:hover { border-color: var(--brand-300); }

/* ---------------- 主营业务 · 2026-10-10 参考图改版 ⚠️ 试版 ----------------
   结构：升学项目（主，品牌浅底 + 六要素时间线）+ 身份项目（次，白底 + 六边形通道）
   ⚠️ 旧的横版时间线 .tl2 样式仍保留在下方 —— 切回旧版只需换回 HTML 备份
      （_nav_backup_20260929/index-主营业务横版时间线.html），不用动样式表。 */
.svc-part { border-radius: var(--r-lg); padding: var(--sp-5); }
.svc-part--main { background: var(--brand-50); border: 1px solid var(--brand-100); }
.svc-part--sub { margin-top: var(--sp-4); background: var(--surface); border: 1px solid var(--border); }

.svc-part__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px var(--sp-3);
  padding-bottom: 10px; border-bottom: 2px solid var(--brand-100);
}
.svc-part__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--brand-600); }
.svc-part__title svg { width: 19px; height: 19px; flex: none; }
.svc-part__note { font-size: 12.5px; color: var(--text-3); }
.svc-part__foot { margin-top: var(--sp-4); }

/* 四条服务线 */
.svc-scopes { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.svc-scopes li {
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--brand-100);
  color: var(--brand-600); font-size: 13.5px; font-weight: 700;
}

/* 八项服务清单：4 × 2 卡片格（2026-10-10 二版 —— 原来两列虚线行右半边全空，太散）
   ⚠️ 旧版（两列虚线行）规则见下方注释，想切回去把它整段换回来即可 */
.svc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-4); }
.svc-steps li {
  position: relative; overflow: hidden;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--brand-100);
}
/* 序号：右上角的装饰性大号数字，把每格右侧的空白填掉（纯装饰，已 aria-hidden） */
.svc-steps__no {
  position: absolute; right: 8px; top: 0;
  font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  color: var(--brand-600); opacity: .13; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.svc-steps b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.svc-steps__desc { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }

/* 旧版（两列虚线行）——
.svc-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-6); margin-top: var(--sp-4); }
.svc-steps li { padding: 9px 0; border-bottom: 1px dashed var(--border-2); font-size: 13.5px; line-height: 1.6; }
.svc-steps__no { margin-right: 7px; font-size: 12px; font-weight: 800; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.svc-steps b { font-weight: 700; color: var(--text); }
.svc-steps b::after { content: "："; font-weight: 400; color: var(--text-3); }
.svc-steps__desc { color: var(--text-2); }
*/

/* 升学规划六要素：交替式横向时间线（3 上 3 下） */
.svc-essence {
  margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: var(--surface); border: 1px solid var(--brand-100); border-radius: var(--r-md);
}
.svc-essence__title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: var(--brand-600); }
.svc-essence__title svg { width: 16px; height: 16px; flex: none; }
.svc-essence__desc { margin-top: 5px; font-size: 13px; line-height: 1.6; color: var(--text-2); }

.essence { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: var(--sp-5); }
.essence__item { position: relative; height: 116px; }
/* 每格自画一段横轴，首末格收在节点中心 → 加减节点不用改代码 */
.essence__item::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px;
  background: color-mix(in srgb, var(--brand-600) 30%, transparent);
}
.essence__item:first-child::before { left: 50%; }
.essence__item:last-child::before { right: 50%; }
/* 节点圆点 */
.essence__item::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%; z-index: 1;
  background: var(--brand-600); box-shadow: 0 0 0 4px var(--surface);
}
.essence__pill {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--brand-600); color: var(--on-brand); font-size: 13px; font-weight: 700;
}
.essence__pill--up { bottom: calc(50% + 17px); }
.essence__pill--down { top: calc(50% + 17px); }
/* 标签到节点之间的短竖线（参考图里的虚线牵引） */
.essence__pill::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 1px; height: 11px;
  background: color-mix(in srgb, var(--brand-600) 45%, transparent);
}
.essence__pill--up::after { top: 100%; }
.essence__pill--down::after { bottom: 100%; }

/* 身份项目：左标题 + 右六边形，一条横带（2026-10-10 二版 —— 原来上下三段且两侧全空）
   ⚠️ 旧版（标题在上、六边形居中一行、链接在下）见下方注释 */
.id-strip { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--sp-5); align-items: center; }
.id-strip__aside { display: grid; gap: 9px; justify-items: start; align-content: center; }
.id-strip__aside .link { font-size: 13px; }

/* ⚠️ 这里别用 grid repeat(5,1fr) + max-width + margin-inline:auto ——
   网格项一旦被 auto margin 缩成内容宽，1fr 轨道会跟着塌缩（实测六边形只剩 56px）。
   改成固定宽度 + flex 居中，尺寸完全可控。 */
.id-hexes { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.id-hex {
  display: grid; place-items: center; text-align: center;
  width: 120px; flex: none; aspect-ratio: 1 / 1.08;
  background: var(--brand-600); color: var(--on-brand);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-size: 14px; font-weight: 700; line-height: 1.35;
}

/* 旧版：标题在上、六边形居中一行、链接在下 ——
.svc-part__head { ... 同升学块 ... }
.id-hexes { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.2vw, 28px); margin-top: var(--sp-5); }
.id-hex {
  display: grid; place-items: center; text-align: center;
  width: 116px; aspect-ratio: 116 / 128;
  background: var(--brand-600); color: var(--on-brand);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-size: 14.5px; font-weight: 700; line-height: 1.35;
}
*/

@media (max-width: 1100px) {
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 六要素横轴翻回竖轴 */
  .essence { display: block; position: relative; margin-top: var(--sp-4); }
  .essence::before {
    content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 2px;
    background: color-mix(in srgb, var(--brand-600) 30%, transparent);
  }
  .essence__item { height: auto; padding: 8px 0 8px 34px; }
  .essence__item::before { display: none; }
  .essence__item::after { left: 12px; top: 50%; box-shadow: 0 0 0 3px var(--surface); }
  .essence__pill { position: static; transform: none; white-space: normal; }
  .essence__pill::after { display: none; }
  .essence__pill--up, .essence__pill--down { top: auto; bottom: auto; }
}
@media (max-width: 900px) {
  /* 身份横带拆成上下两段；aside 恢复成普通小标题 */
  .id-strip { grid-template-columns: 1fr; gap: var(--sp-4); }
  .id-strip__aside { justify-items: start; }
}
@media (max-width: 560px) {
  .svc-steps { grid-template-columns: 1fr; }
  .id-hexes { gap: 18px; }
  .id-hex { width: 116px; }
}


/* 成功案例：录取通知书竖版图（3:4，顶部对齐，保住祝贺横幅与院校专业）
   ⚠️ 比例必须写在容器上 —— 写 img 的 aspect-ratio 会被 HTML 的 height="613" 属性顶掉，
   结果图被拉成 228x613 再 cover 裁，左右两侧全被切掉（踩过）。 */
.case-card { height: 100%; }
/* ⚠️ 这里别加 overflow:hidden —— img 正好填满盒子、本身不需要裁，
   加了之后无头 Chrome 从第 3 张起就不绘制图片了（实测第 3 张整块是空的）。
   圆角由 .case-card 的 overflow:hidden 负责。 */
.case-card__media { aspect-ratio: 3 / 4; background: var(--surface-2); }
.case-card__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* 成功案例：升学 / 身份 两栏，一屏 5 个（升学 3 + 身份 2）
   ⚠️ 卡片宽度是按容器算出来的：容器内容宽 1152，3fr:2fr 减 gap 24 → 升学 676.8 / 身份 451.2。
   3×212+32=668 与 2×212+16=440 都留了余量，改宽度前先重算这两个数。 */
/* ⚠️ min-width:0 不能删 —— 网格项默认 min-width:auto，里面的轮播轨道内容有多宽，
   3fr 轨道就会被顶成多宽（实测升学栏算成 1808px 而不是 676.8px，整页横向溢出）。 */
.case-split { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); align-items: start; }
/* 一行整宽放 5 张：5×216 + 4×16 = 1144 ≤ 容器内容宽 1152 */
.case-split > .case-part { min-width: 0; }
.case-part__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px var(--sp-3);
  padding-bottom: 9px; border-bottom: 2px solid var(--brand-100); margin-bottom: var(--sp-4);
}
.case-part__title { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; color: var(--brand-600); }
.case-part__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); flex: none; }
/* 两栏卡片等高：院校名与说明各预留两行
   （升学栏两行、身份栏占位一行，不补的话两栏卡片差 47px） */
.case-card__school,
.case-card__meta { min-height: 2.8em; }

@media (max-width: 900px) {
  .case-split { gap: var(--sp-6); }
}
