/* ============================================================
   大圣学成官网 · 视觉样式
   ============================================================ */

:root {
  --ink: #1c1610;
  --ink-soft: #4d4237;
  --ink-mute: #7b6d5e;
  --red: #8f171a;
  --red-deep: #5f0d10;
  --red-dark: #7a1114;
  --gold: #c3a15c;
  --gold-deep: #a8843c;
  --gold-soft: #e8d7b0;
  --paper: #f6f1e7;
  --paper-deep: #efe6d5;
  --white: #ffffff;
  --line: rgba(28, 22, 16, .13);
  --line-gold: rgba(195, 161, 92, .42);
  --shadow: 0 18px 50px rgba(28, 22, 16, .1);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

::selection { background: var(--red); color: var(--white); }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff8ea; border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-gold { background: var(--gold); color: #2a1c06; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-outline-dark { border-color: rgba(28, 22, 16, .35); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--red); color: var(--red); }
.btn-ghost-light { border-color: rgba(255, 248, 234, .55); color: #fff8ea; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(143, 23, 26, .35);
  transition: border-color .2s, color .2s;
}
.text-link:hover { color: var(--red-deep); border-color: var(--red-deep); }

/* ---------------- 顶部信息条 ---------------- */

.utility-bar {
  background: var(--red-deep);
  color: rgba(255, 248, 234, .8);
  font-size: 13px;
  letter-spacing: .02em;
}
.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-slogan { display: flex; align-items: center; gap: 9px; color: var(--gold-soft); }
.utility-slogan .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(195, 161, 92, .18);
}
.utility-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.utility-item { display: inline-flex; align-items: center; gap: 6px; }
.utility-item svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
.utility-phone { color: var(--gold-soft); font-weight: 600; letter-spacing: .05em; }
.utility-phone:hover { color: #fff; }

/* ---------------- 页头 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line-gold);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(28, 22, 16, .09); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 34px; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(28, 22, 16, .12);
  flex-shrink: 0;
}
.brand-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-deep) 100%);
  border: 1px solid var(--gold);
  position: relative;
}
.brand-seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(232, 215, 176, .55);
  pointer-events: none;
}
.brand-seal-inner {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
  transform: translateY(-1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .16em;
  color: var(--ink);
  font-weight: 700;
}
.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 8px;
  font-size: 13px;
  color: var(--ink-soft);
  position: relative;
  white-space: nowrap;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s;
}
.nav-group:hover .nav-link, .nav-link:hover { color: var(--red); }
.nav-group:hover .nav-link::after, .nav-link:hover::after,
.nav-group.is-active .nav-link::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-group.is-active .nav-link { color: var(--red); }
.nav-link .caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .7; }
.nav-apply {
  background: var(--red);
  color: var(--gold-soft) !important;
  border-radius: 2px;
  padding: 8px 14px !important;
  font-weight: 600;
  margin-left: 4px;
  transition: background .2s, transform .2s;
}
.nav-apply svg { width: 14px; height: 14px; fill: currentColor; }
.nav-apply:hover { background: var(--red-dark); color: var(--white) !important; transform: translateY(-1px); }
.nav-apply::after { display: none; }
.nav-group { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 10;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0; height: 12px;
}
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.nav-dropdown a:hover, .nav-dropdown a.is-current {
  background: var(--paper);
  color: var(--red);
  border-left-color: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { display: none; flex-direction: column; line-height: 1.25; text-align: right; }
.header-phone small { font-size: 11px; color: var(--ink-mute); letter-spacing: .06em; }
.header-phone strong {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--red);
  letter-spacing: .04em;
}

.nav-toggle-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 11px;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
}
.nav-toggle-btn span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-actions { display: none; }

/* ---------------- 英雄区 ---------------- */

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  color: #fff8ea;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.85); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, .94) 0%, rgba(22, 14, 9, .72) 42%, rgba(24, 15, 9, .28) 100%),
    linear-gradient(180deg, rgba(18, 12, 8, .55) 0%, rgba(18, 12, 8, .08) 38%, rgba(18, 12, 8, .78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0 0; width: min(var(--container), calc(100% - 48px)); }
.hero-copy { max-width: 700px; padding-bottom: 64px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .18em; color: var(--gold-soft);
  text-transform: uppercase;
}
.hero-kicker-line { width: 44px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 22px 0 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-soft);
  letter-spacing: .12em;
}
.hero-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(255, 248, 234, .78);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span {
  font-size: 12.5px;
  letter-spacing: .08em;
  padding: 7px 14px;
  border: 1px solid rgba(232, 215, 176, .32);
  color: var(--gold-soft);
  background: rgba(255, 248, 234, .04);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(18, 12, 8, .55);
  border: 1px solid rgba(195, 161, 92, .34);
  border-bottom: none;
  backdrop-filter: blur(8px);
  margin-top: 10px;
}
.hero-stat {
  padding: 24px 26px 22px;
  border-right: 1px solid rgba(255, 248, 234, .12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold-soft);
  letter-spacing: .02em;
}
.hero-stat > span {
  font-size: 13px;
  color: var(--gold);
  margin-left: 4px;
  vertical-align: 4px;
}
.hero-stat p { margin-top: 8px; font-size: 12.5px; letter-spacing: .08em; color: rgba(255, 248, 234, .6); }

/* ---------------- 公告条 ---------------- */

.notice-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.notice-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 60px; font-size: 14.5px;
}
.notice-label {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--red); font-weight: 700; flex-shrink: 0;
  padding-right: 18px; border-right: 1px solid var(--line);
}
.notice-label svg { width: 17px; height: 17px; fill: currentColor; }
.notice-inner p { color: var(--ink-soft); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-inner > a { flex-shrink: 0; font-size: 13px; color: var(--red); font-weight: 600; }

/* ---------------- 通用区块 ---------------- */

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
}
.eyebrow {
  font-size: 11.5px; letter-spacing: .2em; color: var(--gold-deep);
  text-transform: uppercase; font-weight: 600; margin-bottom: 14px;
}
.section-head h2, .section h2, .page-cta h2, .closing-band h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: .03em;
}
.section-head h2 em, .section h2 em { font-style: normal; color: var(--red); }
.section-desc { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; }

.section-directory { background: var(--white); }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.directory-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 26px 24px;
  background: var(--white);
  transition: background .25s, transform .25s;
  position: relative;
}
.directory-card:hover { background: var(--paper); }
.directory-card-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.directory-index {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: .1em;
}
.directory-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .06em;
  font-weight: 700;
}
.directory-card ul { display: flex; flex-direction: column; gap: 2px; }
.directory-card li a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 7px 0;
  font-size: 14px; color: var(--ink-soft);
  border-bottom: 1px dashed transparent;
  transition: color .2s;
}
.directory-card li a svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform: translateX(-4px); transition: all .2s; }
.directory-card li a:hover { color: var(--red); }
.directory-card li a:hover svg { opacity: 1; transform: translateX(0); }
.directory-count { margin-top: 16px; font-size: 11.5px; letter-spacing: .08em; color: var(--ink-mute); }

/* ---------------- 官方报名入口 ---------------- */

.apply-entry {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
  color: #fff8ea;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.apply-entry::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(195, 161, 92, .12);
  border-radius: 50%;
}
.apply-entry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  z-index: 1;
}
.apply-entry-eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.apply-entry-copy h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.apply-entry-copy h2 em { font-style: normal; color: var(--gold); }
.apply-entry-desc {
  font-size: 14.5px;
  color: rgba(255, 248, 234, .88);
  line-height: 1.8;
  max-width: 620px;
}
.apply-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 16px;
  font-size: 14px;
}
.apply-entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
}
.apply-entry-meta svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.apply-entry-meta strong { color: #fff8ea; font-family: var(--serif); font-size: 18px; }
.apply-entry-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-lg { padding: 16px 32px; font-size: 17px; }
.apply-entry-action .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.apply-entry-action .btn-gold svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.apply-entry-note { font-size: 12px; color: rgba(255,248,234,.7); letter-spacing: .06em; }

/* ---------------- 江西职教高考 ---------------- */

.section-zjgk { background: var(--paper-deep); }
.section-zjgk .section-head h2 em { font-style: normal; color: var(--red); }
.zjgk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.zjgk-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 32px 28px;
  border-radius: 2px;
  transition: transform .25s, box-shadow .25s;
}
.zjgk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.zjgk-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  margin-bottom: 18px;
}
.zjgk-icon svg { width: 26px; height: 26px; fill: var(--red); }
.zjgk-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.zjgk-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.zjgk-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------------- 校区电话栏 ---------------- */

.campus-phone-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--red);
  border-radius: 2px;
}
.campus-phone-label {
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: .08em;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.25);
  margin-right: 4px;
}
.campus-phone-item {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding: 2px 10px;
  transition: background .2s;
  border-radius: 2px;
}
.campus-phone-item:hover { background: var(--red-dark); }
.campus-phone-item small { color: var(--gold-soft); font-size: 11px; letter-spacing: .06em; }
.campus-phone-item strong { color: var(--white); font-family: var(--serif); font-size: 16px; }

/* ---------------- 内文电话网格 ---------------- */

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.phone-grid > div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  line-height: 1.6;
}
.phone-grid strong { color: var(--red); font-size: 18px; font-family: var(--serif); }

/* ---------------- 办学实力 ---------------- */

.section-strength { background: var(--paper); }
.strength-layout { display: grid; grid-template-columns: 1.02fr 1fr; gap: 72px; align-items: center; }
.strength-visual { position: relative; }
.visual-frame { position: relative; border: 1px solid var(--line-gold); padding: 14px; background: var(--white); }
.visual-frame::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(28, 22, 16, .08); z-index: 1; pointer-events: none;
}
.visual-frame img { width: 100%; height: 470px; object-fit: cover; }
.visual-stamp {
  position: absolute; right: -18px; bottom: 34px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--red);
  color: var(--gold-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 13px; line-height: 1.35; letter-spacing: .12em;
  transform: rotate(-8deg);
  box-shadow: 0 10px 30px rgba(95, 13, 16, .25);
}
.visual-caption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 16px 0; font-size: 12.5px; color: var(--ink-mute);
}
.visual-caption > span { color: var(--gold-deep); }
.strength-copy h2 { margin-bottom: 20px; }
.strength-list { margin-top: 34px; display: flex; flex-direction: column; }
.strength-list li {
  display: flex; gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.strength-list li:last-child { border-bottom: 1px solid var(--line); }
.strength-num {
  font-family: var(--serif); font-size: 13px; color: var(--gold-deep); letter-spacing: .08em;
  padding-top: 4px; flex-shrink: 0;
}
.strength-list h3 { font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.strength-list p { margin-top: 5px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.strength-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }

/* ---------------- 院校墙 ---------------- */

.section-schools { background: var(--white); }
.school-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.school-wall li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 20px;
  font-family: var(--serif);
  font-size: 16.5px;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.school-wall li:hover { background: var(--red); color: #fff8ea; }
.school-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.school-note a { color: var(--red); font-weight: 600; margin-left: 6px; }

/* ---------------- 成绩 ---------------- */

.section-results { background: var(--paper); }
.result-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.result-label { font-size: 13px; letter-spacing: .08em; color: var(--ink-mute); }
.result-value {
  font-family: var(--serif); font-size: 58px; line-height: 1.1;
  color: var(--red); margin-top: 22px; letter-spacing: .02em;
}
.result-value span { font-size: 17px; margin-left: 6px; color: var(--ink-soft); }
.result-desc { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.result-card-main { background: var(--red-deep); border-color: var(--red-deep); color: #fff8ea; overflow: hidden; }
.result-card-main .result-label { color: rgba(255, 248, 234, .65); }
.result-card-main .result-value { color: var(--gold-soft); }
.result-card-main .result-value span { color: rgba(255, 248, 234, .65); }
.result-card-main .result-desc { color: rgba(255, 248, 234, .72); }
.result-ribbon {
  position: absolute; top: 20px; right: -34px;
  transform: rotate(45deg);
  background: var(--gold);
  color: #2a1c06;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 4px 42px;
}
.result-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-mute); }

/* ---------------- 校区 ---------------- */

.section-campus { background: var(--white); }
.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 230px 230px;
  gap: 16px;
}
.campus-item { position: relative; overflow: hidden; background: var(--paper-deep); }
.campus-item-lg { grid-column: span 2; grid-row: span 2; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.campus-item:hover img { transform: scale(1.04); }
.campus-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  font-size: 12.5px; color: #fff8ea; letter-spacing: .04em;
  background: linear-gradient(180deg, transparent, rgba(18, 12, 8, .78));
}

/* ---------------- 视频 ---------------- */

.section-video { background: var(--ink); color: #fff8ea; }
.video-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.video-copy .eyebrow { color: var(--gold); }
.video-copy h2 { color: #fff8ea; }
.video-copy .section-desc { color: rgba(255, 248, 234, .68); }
.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 24px; font-size: 14.5px; color: rgba(255, 248, 234, .82); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.video-frame { border: 1px solid var(--line-gold); padding: 12px; background: rgba(255, 255, 255, .03); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; object-fit: cover; }
.video-caption { display: flex; align-items: center; gap: 9px; padding: 14px 4px 2px; font-size: 12.5px; color: rgba(255, 248, 234, .6); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.video-copy .text-link { color: var(--gold-soft); border-color: rgba(232, 215, 176, .4); }

/* ---------------- 师资 ---------------- */

.section-faculty { background: var(--paper); }
.faculty-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.faculty-copy h2 { font-size: clamp(28px, 2.9vw, 40px); }
.faculty-stats { display: flex; gap: 42px; margin: 30px 0 32px; }
.faculty-stats div { display: flex; flex-direction: column; }
.faculty-stats strong { font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--red); }
.faculty-stats strong span { font-size: 15px; margin-left: 2px; }
.faculty-stats span { margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); letter-spacing: .04em; }
.faculty-visual { position: relative; }
.faculty-visual img { width: 100%; height: 430px; object-fit: cover; border: 1px solid var(--line-gold); }
.faculty-visual figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-mute); }

/* ---------------- FAQ ---------------- */

.section-faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; }
.faq-head .btn { margin-top: 30px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--gold-deep); transition: transform .25s, opacity .25s;
}
.faq-plus::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.faq-plus::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); opacity: 0; }
.faq-body { padding: 0 34px 24px 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }

/* ---------------- 咨询 ---------------- */

.section-consult { background: var(--ink); color: #fff8ea; }
.consult-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.consult-copy .eyebrow { color: var(--gold); }
.consult-copy h2 { color: #fff8ea; }
.consult-copy .section-desc { color: rgba(255, 248, 234, .68); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: rgba(255, 248, 234, .14); border: 1px solid rgba(255, 248, 234, .14); }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--ink); padding: 20px 18px;
  transition: background .25s;
}
.contact-card:hover { background: #241c14; }
.contact-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(195, 161, 92, .5);
  color: var(--gold);
}
.contact-icon svg { width: 17px; height: 17px; fill: currentColor; }
.contact-card small { display: block; font-size: 11px; letter-spacing: .08em; color: rgba(255, 248, 234, .5); }
.contact-card strong { display: block; margin-top: 5px; font-size: 14px; font-weight: 600; color: #fff8ea; line-height: 1.6; }

.consult-form-wrap { background: var(--paper); color: var(--ink); padding: 36px 34px 30px; border-top: 3px solid var(--gold); }
.form-head h3 { font-family: var(--serif); font-size: 24px; letter-spacing: .04em; }
.form-head p { margin-top: 6px; font-size: 12.5px; color: var(--ink-mute); }
.consult-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .03em; }
.field > span b { color: var(--red); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(28, 22, 16, .18);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 11px 12px;
  border-radius: 1px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(143, 23, 26, .08);
}
.field input::placeholder, .field textarea::placeholder { color: #a89a89; }
.agree-line { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-soft); cursor: pointer; }
.agree-line input { margin-top: 3px; accent-color: var(--red); }
.form-foot { font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.form-foot a { color: var(--red); font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.static-consult-note { text-align: center; padding: 20px 0; }
.static-consult-note h3 { font-family: var(--serif); font-size: 24px; }
.static-consult-note p { margin: 12px 0 22px; font-size: 14px; color: var(--ink-soft); }

/* ---------------- 结尾横幅 ---------------- */

.closing-band {
  background:
    linear-gradient(90deg, rgba(95, 13, 16, .97), rgba(122, 17, 20, .9)),
    url("../../img/campus-new-03.jpg") center/cover;
  color: #fff8ea;
  padding: 74px 0;
}
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.closing-eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--gold-soft); margin-bottom: 12px; }
.closing-band h2 { font-size: clamp(28px, 3vw, 40px); }
.closing-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 页脚 ---------------- */

.site-footer { background: #14100b; color: rgba(255, 248, 234, .7); font-size: 13.5px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, .72fr) 1.15fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.brand-light .brand-text strong { color: #fff8ea; }
.brand-light .brand-text small { color: rgba(255, 248, 234, .45); }
.footer-intro { margin-top: 20px; font-size: 13px; line-height: 1.9; color: rgba(255, 248, 234, .55); max-width: 320px; }
.footer-badge {
  display: inline-block; margin-top: 18px;
  border: 1px solid rgba(195, 161, 92, .4);
  padding: 8px 14px; font-size: 12px; color: var(--gold-soft);
}
.footer-badge strong { font-family: var(--serif); font-size: 16px; margin-left: 6px; letter-spacing: .04em; }
.footer-col h4 {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; color: #fff8ea;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 248, 234, .12);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li, .footer-col a { color: rgba(255, 248, 234, .58); font-size: 13px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 10px; line-height: 1.75; }
.footer-contact li span { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 248, 234, .1);
  padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255, 248, 234, .4);
}
.footer-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-meta a { color: rgba(255, 248, 234, .55); }
.footer-meta a:hover { color: var(--gold-soft); }

.mobile-callbar { display: none; }

/* ---------------- 面包屑 / 内页头部 ---------------- */

.breadcrumb-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; font-size: 12.5px; color: var(--ink-mute);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb em { font-style: normal; color: var(--red); }

.page-hero { background: var(--white); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: "大圣学成";
  position: absolute; right: 3vw; bottom: -22px;
  font-family: var(--serif); font-size: 190px; font-weight: 700;
  color: rgba(28, 22, 16, .03);
  letter-spacing: .06em; pointer-events: none; white-space: nowrap;
}
.page-hero-inner {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 54px 0 46px; position: relative; z-index: 1;
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(34px, 4vw, 50px);
  line-height: 1.25; letter-spacing: .04em; font-weight: 700;
}
.page-hero-sub { margin-top: 16px; max-width: 760px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.page-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; padding-bottom: 6px; }
.official-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-gold);
  background: var(--paper);
  color: var(--red);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 8px 14px;
}
.official-badge svg { width: 15px; height: 15px; fill: currentColor; }
.page-updated { font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em; }

/* ---------------- 内页布局 ---------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  padding: 62px 0 88px;
  align-items: start;
}
.prose { font-size: 16px; line-height: 1.95; color: var(--ink-soft); }
.prose > p { margin-bottom: 18px; }
.prose .lead {
  font-size: 17.5px;
  line-height: 1.95;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  background: var(--paper);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.prose h2, .prose h3, .prose h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: .03em;
  line-height: 1.45;
  margin: 38px 0 16px;
  position: relative;
  padding-left: 16px;
}
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 18px; }
.prose h2::before, .prose h3::before, .prose h4::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 3px; height: 1em; background: var(--gold);
}
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); border-bottom: 1px solid rgba(143, 23, 26, .3); }
.prose a:hover { border-color: var(--red); }
.prose ul, .prose ol { margin: 6px 0 22px; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .78em;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; padding-left: 30px; }
.prose ol li::before {
  content: counter(item) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 13px; color: var(--gold-deep);
}
.prose blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 3px solid var(--red);
  color: var(--ink-soft);
  font-size: 15px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose th { background: var(--paper); color: var(--ink); font-weight: 600; }
.prose figure { margin: 26px 0; }
.prose figure img { width: 100%; border: 1px solid var(--line); }
.prose figure img.is-portrait { max-width: 420px; margin: 0 auto; display: block; }
.prose figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.prose iframe { width: 100% !important; border: 1px solid var(--line) !important; background: var(--paper); }
.prose div[class] { margin-bottom: 16px; }

.inline-consult { margin-top: 42px; padding: 32px 30px; background: var(--paper); border-top: 3px solid var(--gold); }
.inline-consult-head h3 { font-family: var(--serif); font-size: 22px; }
.inline-consult-head p { margin-top: 6px; font-size: 13px; color: var(--ink-mute); }
.consult-form-inline { margin-top: 20px; }
.consult-form-inline .btn { align-self: flex-start; }

.article-footer {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.article-tags span {
  font-size: 11.5px; color: var(--ink-mute);
  border: 1px solid var(--line); padding: 5px 10px;
}

/* ---------------- 侧栏 ---------------- */

.page-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--paper); border: 1px solid var(--line); padding: 24px 22px; }
.sidebar-kicker { font-size: 11px; letter-spacing: .12em; color: var(--gold-deep); }
.sidebar-phone {
  display: block; font-family: var(--serif); font-size: 27px;
  color: var(--red); letter-spacing: .02em; margin-top: 8px;
}
.sidebar-time { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.sidebar-facts { margin: 18px 0; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--ink-soft); }
.sidebar-facts li { display: flex; gap: 9px; line-height: 1.7; }
.sidebar-facts span { color: var(--ink-mute); flex-shrink: 0; }
.sidebar-safe {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 11px; color: var(--ink-mute);
}
.sidebar-safe svg { width: 13px; height: 13px; fill: var(--gold-deep); flex-shrink: 0; }
.sidebar-title {
  font-family: var(--serif); font-size: 18px; letter-spacing: .04em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.sidebar-links { display: flex; flex-direction: column; }
.sidebar-links a {
  display: flex; flex-direction: column;
  padding: 10px 0; font-size: 13.5px; color: var(--ink-soft);
  border-bottom: 1px dashed rgba(28, 22, 16, .12);
}
.sidebar-links a:hover { color: var(--red); }
.sidebar-links a.is-current { color: var(--red); font-weight: 600; }
.sidebar-links small { font-size: 11px; color: var(--ink-mute); font-weight: 400; margin-top: 2px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-links a {
  font-size: 12.5px; text-align: center; padding: 9px 6px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  transition: all .2s;
}
.quick-links a:hover { border-color: var(--red); color: var(--red); }

/* ---------------- 内页底部 CTA ---------------- */

.page-cta { background: var(--red-deep); color: #fff8ea; padding: 56px 0; }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.page-cta .eyebrow { color: var(--gold); }
.page-cta h2 { color: #fff8ea; font-size: clamp(24px, 2.6vw, 34px); }
.page-cta p { margin-top: 10px; font-size: 13.5px; color: rgba(255, 248, 234, .65); }
.page-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 提示条 ---------------- */

.flash-band { background: var(--paper); padding: 14px 0; border-bottom: 1px solid var(--line); }
.flash {
  padding: 11px 16px;
  font-size: 13.5px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}
.flash + .flash { margin-top: 8px; }
.flash-success { border-left-color: #2f7a4f; color: #235c3b; background: #f1f8f3; }
.flash-error { border-left-color: var(--red); color: var(--red-deep); background: #fbf1f1; }
.flash-warning { border-left-color: #b98a2e; color: #7a5210; background: #fdf7e7; }

/* ---------------- 404 ---------------- */

.error-layout { padding: 110px 0 130px; text-align: center; background: var(--paper); }
.error-code {
  font-family: var(--serif); font-size: 120px; line-height: 1;
  color: var(--gold-soft); letter-spacing: .1em;
}
.error-layout h1 { margin-top: 12px; font-family: var(--serif); font-size: 34px; }
.error-desc { margin: 16px auto 30px; max-width: 520px; color: var(--ink-soft); }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.mobile-only { display: none; }

/* ---------------- 滚动出现 ---------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr) 1.1fr; }
  .footer-col:nth-child(4), .footer-col:nth-child(5) { display: none; }
}

@media (max-width: 980px) {
  .hero { min-height: 600px; }
  .hero-inner { padding-top: 70px; }
  .hero-copy { padding-bottom: 44px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 20px; }
  .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2), .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: 1px solid rgba(255, 248, 234, .12); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-entry-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .apply-entry-action { align-self: stretch; align-items: stretch; }
  .apply-entry-action .btn-gold { justify-content: center; }
  .zjgk-grid { grid-template-columns: 1fr; gap: 18px; }
  .phone-grid { grid-template-columns: 1fr 1fr; }
  .strength-layout, .video-layout, .faculty-layout, .faq-layout, .consult-layout { grid-template-columns: 1fr; gap: 44px; }
  .visual-frame img { height: 400px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-card-main { grid-column: span 2; }
  .school-wall { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-rows: 210px 210px; }
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .page-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .page-sidebar .sidebar-contact { grid-row: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-col:nth-child(4), .footer-col:nth-child(5) { display: block; }
}

@media (max-width: 1100px) {
  .utility-bar { display: none; }
  .header-inner { min-height: 68px; }
  .header-actions { display: none; }
  .nav-toggle-btn { display: flex; }
  .main-nav {
    position: fixed;
    top: 68px; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px rgba(28, 22, 16, .12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 18px 110px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .3s ease;
    z-index: 95;
  }
  .main-nav.is-open { transform: none; }
  .nav-link { padding: 14px 8px; font-size: 15px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-apply { justify-content: center; border-bottom: none; margin: 14px 0 0; padding: 12px 14px !important; }
  .nav-link::after { display: none; }
  .nav-group { width: 100%; }
  .nav-toggle { border-bottom: none; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--gold);
    padding: 4px 0 8px 14px; margin: 0 0 8px; display: none;
  }
  .nav-group.is-open .nav-dropdown { display: block; }
  .nav-group.is-open .nav-toggle .caret { transform: rotate(180deg); }
  .mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
  .section { padding: 64px 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 0 34px; }
  .page-hero-side { align-items: flex-start; }
  .page-sidebar { grid-template-columns: 1fr; }
  .page-sidebar .sidebar-contact { grid-row: auto; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--white); border-top: 1px solid var(--line-gold);
    box-shadow: 0 -8px 24px rgba(28, 22, 16, .1);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-callbar a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; font-size: 14px; font-weight: 600;
    border: 1px solid var(--line); color: var(--ink);
  }
  .mobile-callbar a svg { width: 16px; height: 16px; fill: currentColor; }
  .mobile-callbar a.primary { background: var(--red); border-color: var(--red); color: #fff8ea; }
  body { padding-bottom: 62px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero { min-height: 560px; }
  .hero-inner { width: calc(100% - 32px); padding-top: 56px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 14.5px; }
  .hero-tags span { font-size: 11.5px; padding: 6px 10px; }
  .hero-actions .btn { flex: 1; }
  .hero-stats { margin-top: 4px; }
  .hero-stat strong { font-size: 30px; }
  .notice-inner { flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; }
  .notice-inner p { flex-basis: 100%; white-space: normal; order: 3; font-size: 13px; }
  .section-head h2, .section h2 { font-size: 27px; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card { padding: 24px 20px; }
  .campus-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .campus-item-lg { grid-column: span 2; grid-row: span 1; }
  .result-grid { grid-template-columns: 1fr; }
  .result-card-main { grid-column: auto; }
  .result-value { font-size: 46px; }
  .school-wall li { padding: 20px 12px; font-size: 14.5px; }
  .faculty-stats { gap: 24px; flex-wrap: wrap; }
  .contact-cards { grid-template-columns: 1fr; }
  .consult-form-wrap { padding: 26px 20px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { font-size: 11px; }
  .prose { font-size: 15px; }
  .prose .lead { font-size: 15.5px; padding: 16px 18px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .page-layout { padding: 40px 0 60px; }
  .mobile-only { display: inline; }
  .error-code { font-size: 84px; }
}
