/* ============================================================
   启明实验学校 · 官网
   气质：米白纸感 / 墨蓝 / 暖金 / 衬线标题
   ============================================================ */

:root {
  --ink: #16202b;
  --ink-soft: #2c3a49;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --paper-3: #e8e2d6;
  --gold: #b08d57;
  --gold-light: #d9bf94;
  --green: #3f6b57;
  --muted: #6f6a60;
  --muted-2: #948e82;
  --line: rgba(22, 32, 43, .12);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--ink); }

.wrap { width: min(1180px, calc(100% - 80px)); margin: 0 auto; }
.serif { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.section { padding: 104px 0; }
section[id] { scroll-margin-top: 78px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.4; letter-spacing: .04em; }
.section-head p { color: var(--muted); max-width: 30em; font-size: 14px; }
.section-head .more { font-size: 12.5px; color: var(--gold); white-space: nowrap; border-bottom: 1px solid var(--gold-light); padding-bottom: 3px; }

/* ---------------------------------------------------------- 导航 */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(247, 244, 238, .94); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav {
  height: 78px; display: flex; align-items: center; gap: 36px;
  width: min(1240px, calc(100% - 64px)); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); transition: color .3s; }
.site-header.solid .brand { color: var(--ink); }
.brand-seal {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: var(--gold); color: #fff; font-family: var(--serif); font-size: 20px;
}
.brand-name { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; line-height: 1.25; }
.brand-name small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .22em; opacity: .55; }
.nav-links { display: flex; gap: 22px; margin-left: auto; min-width: 0; }
.nav-links a {
  position: relative; font-size: 13px; color: var(--muted); white-space: nowrap;
  transition: color .25s; padding: 4px 0;
}
.site-header.solid .nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.site-header:not(.solid) .nav-links a:hover, .site-header:not(.solid) .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); }
.nav-cta {
  height: 40px; padding: 0 18px; display: inline-flex; align-items: center;
  border: 1px solid rgba(22, 32, 43, .3); color: var(--ink); font-size: 12.5px; letter-spacing: .06em;
  transition: all .25s; border-radius: 2px; flex: 0 0 auto; white-space: nowrap;
}
.site-header.solid .nav-cta { border-color: var(--ink); color: var(--ink); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }

/* ---------------------------------------------------------- 首屏 */
.hero {
  position: relative; padding: 132px 0 74px; color: var(--ink);
  background: var(--paper); overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 141, 87, .16), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(63, 107, 87, .10), transparent 46%);
}
.hero-rules {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: repeating-linear-gradient(0deg, transparent 0 39px, rgba(22, 32, 43, .05) 39px 40px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25));
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: center; }
.hero-eyebrow { font-size: 11px; letter-spacing: .28em; color: var(--gold); margin-bottom: 22px; text-transform: uppercase; }
.hero-motto {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--serif); font-size: 13.5px; letter-spacing: .5em; color: var(--ink-soft);
}
.hero-motto i { width: 5px; height: 5px; background: #a63a2f; transform: rotate(45deg); flex: 0 0 auto; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); line-height: 1.34;
  letter-spacing: .02em; max-width: 12em; font-weight: 500;
}
.hero h1 em {
  font-style: normal; background: linear-gradient(transparent 64%, rgba(176, 141, 87, .35) 64%);
  padding: 0 2px;
}
.hero-sub { max-width: 31em; margin-top: 26px; color: var(--muted); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn-solid, .btn-line {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 26px;
  font-size: 13px; letter-spacing: .06em; border-radius: 2px; transition: all .22s;
}
.btn-solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-line { border: 1px solid rgba(22, 32, 43, .3); color: var(--ink-soft); }
.btn-line:hover { border-color: var(--ink); background: rgba(22, 32, 43, .04); }
.hero-facts {
  display: flex; gap: 34px; margin-top: 38px; padding-top: 22px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.hero-facts li { display: flex; align-items: baseline; gap: 7px; }
.hero-facts b { font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 500; }
.hero-facts span { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }
.hero-stats {
  display: flex; gap: 46px; margin-top: 26px; flex-wrap: wrap;
}
.hero-stats b { display: block; font-family: var(--serif); font-size: 27px; color: var(--ink); font-weight: 500; line-height: 1.2; }
.hero-stats span { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }

.hero-visual { position: relative; padding: 0 26px 34px 0; }
.hero-photo {
  position: relative; margin: 0; padding: 12px 12px 0; background: #fff;
  box-shadow: 0 26px 60px -28px rgba(22, 32, 43, .38), 0 0 0 1px rgba(22, 32, 43, .07);
  transform: rotate(-1.2deg);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 6px; border: 1px solid rgba(176, 141, 87, .35); pointer-events: none;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.94) contrast(1.02); }
.hero-photo figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 6px 14px; font-family: var(--serif); font-size: 12px;
  letter-spacing: .16em; color: var(--muted);
}
.hero-photo figcaption span:last-child { color: #a63a2f; letter-spacing: .3em; }
.hero-seal {
  position: absolute; top: 26px; right: 2px; z-index: 3; width: 56px; padding: 8px 0;
  display: grid; place-items: center; text-align: center;
  background: #a63a2f; color: #fff; font-family: var(--serif); font-size: 19px;
  line-height: 1.25; letter-spacing: .1em; border-radius: 4px;
  transform: rotate(5deg); box-shadow: 0 8px 22px -8px rgba(166, 58, 47, .55);
}
.hero-ticket {
  position: absolute; left: -34px; bottom: 0; z-index: 4; max-width: 268px;
  background: #fff; padding: 18px 20px 16px; border-left: 3px solid var(--gold);
  box-shadow: 0 18px 44px -20px rgba(22, 32, 43, .35), 0 0 0 1px rgba(22, 32, 43, .05);
}
.hero-ticket .ticket-tag {
  display: inline-block; font-size: 10.5px; letter-spacing: .18em; color: var(--gold);
  border-bottom: 1px solid rgba(176, 141, 87, .4); padding-bottom: 3px; margin-bottom: 10px;
}
.hero-ticket b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: .04em; }
.hero-ticket p { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; line-height: 1.7; }
.hero-ticket a {
  display: inline-block; margin-top: 10px; font-size: 12px; color: #a63a2f;
  border-bottom: 1px solid rgba(166, 58, 47, .3); padding-bottom: 2px;
}
.hero-side-text {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 12px;
  letter-spacing: .42em; color: rgba(22, 32, 43, .28);
}
.hero-scroll {
  position: absolute; left: 40px; bottom: 30px; z-index: 2; writing-mode: vertical-rl;
  font-size: 9.5px; letter-spacing: .34em; color: rgba(22, 32, 43, .3);
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 34px; margin: 12px auto 0; background: rgba(22, 32, 43, .22); }

/* ---------------------------------------------------------- 理念 */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.intro-copy h2 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.55; letter-spacing: .03em; margin-bottom: 24px; }
.intro-copy p { color: var(--muted); margin-bottom: 16px; font-size: 14.5px; }
.intro-copy .signature { margin-top: 26px; font-family: var(--serif); font-size: 14px; color: var(--ink-soft); letter-spacing: .1em; }
.intro-copy .signature small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted-2); letter-spacing: .06em; margin-top: 4px; }
.intro-media { position: relative; }
.intro-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-media::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1;
}
.intro-media .caption {
  position: absolute; left: -18px; bottom: 28px; background: var(--paper); padding: 14px 20px;
  border-left: 2px solid var(--gold); font-size: 11.5px; color: var(--muted); letter-spacing: .05em;
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 74px; border-top: 1px solid var(--line); }
.pillar { padding: 34px 30px 0 0; }
.pillar + .pillar { padding-left: 30px; border-left: 1px solid var(--line); }
.pillar span { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .14em; }
.pillar h3 { font-family: var(--serif); font-size: 20px; margin: 10px 0 10px; letter-spacing: .04em; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ---------------------------------------------------------- 课程 */
.courses { background: var(--paper-2); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -30px rgba(22, 32, 43, .45); }
.course-media { position: relative; overflow: hidden; }
.course-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.course-card:hover .course-media img { transform: scale(1.04); }
.course-tag { position: absolute; left: 16px; top: 16px; background: rgba(247, 244, 238, .92); padding: 4px 10px; font-size: 10.5px; letter-spacing: .1em; color: var(--ink); }
.course-body { padding: 24px 24px 26px; }
.course-body h3 { font-family: var(--serif); font-size: 21px; letter-spacing: .04em; margin-bottom: 10px; }
.course-body p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.course-meta { display: flex; gap: 18px; margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }
.curriculum { margin-top: 46px; border-top: 1px solid var(--line); }
.curriculum-row {
  display: grid; grid-template-columns: 130px 1fr 1fr 100px; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: center;
}
.curriculum-row.head { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }
.curriculum-row b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.curriculum-row span { color: var(--muted); }

/* ---------------------------------------------------------- 师资 */
.faculty { background: var(--paper); }
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-card { position: relative; }
.faculty-photo { overflow: hidden; background: var(--paper-3); }
.faculty-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.85); transition: filter .4s, transform .5s; }
.faculty-card:hover .faculty-photo img { filter: saturate(1); transform: scale(1.03); }
.faculty-info { padding-top: 16px; }
.faculty-info h3 { font-family: var(--serif); font-size: 18px; letter-spacing: .06em; }
.faculty-info .role { font-size: 11.5px; color: var(--gold); margin-top: 3px; letter-spacing: .03em; }
.faculty-info p { font-size: 12px; color: var(--muted); margin-top: 9px; line-height: 1.8; }
.faculty-quote {
  margin-top: 56px; padding: 32px 40px; background: var(--paper-2);
  border-left: 2px solid var(--gold); display: flex; gap: 26px; align-items: flex-start;
}
.faculty-quote p { font-family: var(--serif); font-size: 19px; line-height: 1.85; letter-spacing: .03em; }
.faculty-quote span { font-size: 11px; color: var(--muted-2); letter-spacing: .1em; white-space: nowrap; margin-top: 6px; }

/* ---------------------------------------------------------- 校园 */
.campus { background: var(--ink); color: #f0ece2; }
.campus .eyebrow { color: var(--gold-light); }
.campus .section-head p { color: rgba(240, 236, 226, .6); }
.campus .section-head .more { color: var(--gold-light); border-color: rgba(217, 191, 148, .4); }
.campus-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.campus-photo { position: relative; overflow: hidden; }
.campus-photo img { width: 100%; height: 100%; object-fit: cover; }
.campus-photo.big { grid-row: span 2; aspect-ratio: 4 / 3; }
.campus-photo.small { aspect-ratio: 16 / 10; }
.campus-photo .label {
  position: absolute; left: 18px; bottom: 16px; font-size: 11.5px; letter-spacing: .1em;
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.campus-facilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: rgba(240, 236, 226, .14); }
.campus-facilities div { background: var(--ink); padding: 22px 18px; }
.campus-facilities b { display: block; font-family: var(--serif); font-size: 21px; color: var(--gold-light); font-weight: 500; }
.campus-facilities span { font-size: 11.5px; color: rgba(240, 236, 226, .55); letter-spacing: .05em; }

/* ---------------------------------------------------------- 新闻 */
.news { background: var(--paper-2); }
.news-list { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; }
.news-feature { background: var(--paper); border: 1px solid var(--line); }
.news-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-feature-body { padding: 26px 28px 30px; }
.news-feature .meta { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; margin-bottom: 10px; }
.news-feature h3 { font-family: var(--serif); font-size: 24px; line-height: 1.5; letter-spacing: .03em; margin-bottom: 12px; }
.news-feature p { font-size: 13px; color: var(--muted); }
.news-side { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding-left .25s; }
.news-item:hover { padding-left: 6px; }
.news-item:first-child { padding-top: 0; }
.news-item .date { font-family: var(--serif); font-size: 13px; color: var(--gold); white-space: nowrap; padding-top: 2px; }
.news-item .body h4 { font-family: var(--serif); font-size: 16px; line-height: 1.6; margin-bottom: 4px; }
.news-item .body span { font-size: 11px; color: var(--muted-2); }
.news-item .body p { font-size: 12px; color: var(--muted); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------- 招生 */
.admissions { position: relative; color: #f6f3ec; background: linear-gradient(115deg, #14202d, #23374a); }
.admissions .eyebrow { color: var(--gold-light); }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.admissions h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.5; letter-spacing: .03em; margin-bottom: 20px; }
.admissions-desc { color: rgba(246, 243, 236, .62); font-size: 13.5px; line-height: 1.95; max-width: 32em; }
.steps { margin-top: 38px; }
.step { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(246, 243, 236, .14); }
.step .no { font-family: var(--serif); font-size: 13px; color: var(--gold-light); width: 26px; flex: 0 0 auto; }
.step b { display: block; font-size: 14px; font-weight: 500; }
.step span { font-size: 12px; color: rgba(246, 243, 236, .5); }
.admission-form {
  background: rgba(247, 244, 238, .96); color: var(--ink); padding: 36px 34px 32px;
}
.admission-form h3 { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; margin-bottom: 6px; }
.admission-form > p { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 15px; }
.form-field label { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; height: 42px; padding: 0 12px; background: #fff;
  border: 1px solid rgba(22, 32, 43, .16); border-radius: 2px; outline: none; transition: border-color .2s;
}
.form-field textarea { height: auto; min-height: 86px; padding: 10px 12px; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; color: var(--muted); margin: 4px 0 16px; }
.form-consent input { margin-top: 4px; }
.form-submit {
  width: 100%; height: 46px; background: var(--ink); color: #fff; border: 0;
  letter-spacing: .08em; font-size: 13px; cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--gold); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-msg { min-height: 0; font-size: 12px; margin-top: 10px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #b04a3f; }

/* 登记进度查询 */
.lead-progress {
  margin-top: 22px; padding-top: 20px; border-top: 1px dashed rgba(22, 32, 43, .16);
}
.lead-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.lead-progress-head b { font-family: var(--serif); font-size: 15px; letter-spacing: .05em; }
.lead-progress-head span { font-size: 11px; color: var(--muted-2); }
.lead-progress-form { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 8px; }
.lead-progress-form input {
  height: 38px; padding: 0 10px; background: #fff; border: 1px solid rgba(22, 32, 43, .16);
  border-radius: 2px; font-size: 12px; outline: none;
}
.lead-progress-form input:focus { border-color: var(--gold); }
.lead-progress-form button {
  height: 38px; padding: 0 16px; border: 1px solid var(--ink); background: transparent;
  font-size: 12px; cursor: pointer; transition: all .2s;
}
.lead-progress-form button:hover { background: var(--ink); color: var(--paper); }
.lead-progress-form button:disabled { opacity: .55; cursor: wait; }
.lead-progress-msg { font-size: 11.5px; margin-top: 8px; color: var(--green); }
.lead-progress-msg.err { color: #b04a3f; }
.query-card {
  margin-top: 14px; background: #fff; border: 1px solid rgba(22, 32, 43, .1);
  border-left: 3px solid var(--gold); padding: 16px;
}
.query-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.query-card-head b { font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: .06em; }
.query-card-head div span { display: block; font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.query-badge {
  font-size: 11px; padding: 3px 9px; border-radius: 2px; background: rgba(176, 141, 87, .12);
  color: var(--gold); letter-spacing: .08em;
}
.query-badge.ok { background: rgba(63, 107, 87, .12); color: var(--green); }
.query-steps { display: flex; gap: 4px; margin: 16px 0 10px; }
.query-step { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted-2); }
.query-step i { display: block; height: 3px; border-radius: 3px; background: #e9e4d9; margin-bottom: 6px; }
.query-step.done i { background: var(--green); }
.query-step.done { color: var(--green); }
.query-step.current i { background: var(--gold); }
.query-step.current { color: var(--gold); font-weight: 600; }
.query-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.query-logs { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(22, 32, 43, .12); }
.query-log { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; padding: 4px 0; color: var(--muted); }
.query-log b { font-weight: 500; color: var(--ink-soft); }
.query-log span { color: var(--muted-2); white-space: nowrap; font-size: 10.5px; }

/* ---------------------------------------------------------- 家长服务：成长档案查询 */
.parents { background: var(--paper-2); }
.parent-panel {
  max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid rgba(22, 32, 43, .1);
  border-top: 3px solid var(--gold); padding: 30px 34px 34px;
}
.parent-form { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: end; }
.pf-field label { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 7px; }
.pf-field input {
  width: 100%; box-sizing: border-box; padding: 11px 13px; font: inherit; font-size: 13.5px;
  border: 1px solid rgba(22, 32, 43, .22); background: var(--paper); color: var(--ink);
}
.pf-field input:focus { outline: none; border-color: var(--gold); background: #fff; }
.pf-submit {
  padding: 12px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font: inherit; font-size: 13px; letter-spacing: .12em; cursor: pointer; transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.pf-submit:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.pf-submit:disabled { opacity: .55; cursor: wait; }
.parent-msg { font-size: 12.5px; margin-top: 14px; min-height: 1.2em; }
.parent-msg.ok { color: var(--green); }
.parent-msg.err { color: #a33c2f; }
.parent-result:empty { display: none; }
.pq-card { margin-top: 16px; border: 1px solid rgba(22, 32, 43, .1); border-left: 3px solid var(--gold); padding: 20px 22px; background: var(--paper); }
.pq-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.pq-head > div:first-child b { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; }
.pq-head > div:first-child span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.pq-kpis { display: flex; gap: 26px; }
.pq-kpis div { text-align: center; }
.pq-kpis b { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold); }
.pq-kpis span { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.pq-sec { margin-top: 20px; }
.pq-sec h5 { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 400; margin-bottom: 10px; }
.pq-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pq-table th { text-align: left; font-weight: 400; color: var(--muted-2); padding: 6px 8px; border-bottom: 1px solid rgba(22, 32, 43, .14); }
.pq-table td { padding: 7px 8px; border-bottom: 1px dashed rgba(22, 32, 43, .1); color: var(--ink-soft); }
.pq-status { font-size: 11px; padding: 2px 8px; border-radius: 2px; }
.pq-status.ok { background: rgba(63, 107, 87, .12); color: var(--green); }
.pq-status.leave { background: rgba(176, 141, 87, .14); color: var(--gold); }
.pq-status.absent { background: rgba(163, 60, 47, .1); color: #a33c2f; }
.pq-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 18px; }
.pq-grade { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 6px 0; border-bottom: 1px dashed rgba(22, 32, 43, .1); color: var(--ink-soft); }
.pq-grade b { font-family: var(--serif); color: var(--ink); }
.pq-notices { list-style: none; margin: 0; padding: 0; }
.pq-notices li { font-size: 12.5px; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px dashed rgba(22, 32, 43, .1); }
.pq-notices li span { color: var(--muted-2); margin-right: 10px; font-size: 11.5px; }
.pq-note { font-size: 11px; color: var(--muted-2); margin-top: 18px; }

/* ---------------------------------------------------------- 页脚 */
.site-footer { background: #101a24; color: rgba(240, 236, 226, .62); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #f0ece2; }
.footer-brand p { font-size: 12.5px; line-height: 1.9; margin-top: 16px; max-width: 22em; color: rgba(240, 236, 226, .45); }
.footer-col h4 { font-size: 11px; letter-spacing: .18em; color: var(--gold-light); margin-bottom: 16px; font-weight: 400; }
.footer-col a, .footer-col p { display: block; font-size: 12.5px; margin-bottom: 9px; color: rgba(240, 236, 226, .55); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(240, 236, 226, .1);
  font-size: 11px; color: rgba(240, 236, 226, .35); letter-spacing: .04em;
}
.footer-bottom a { color: rgba(240, 236, 226, .55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------------------------------------------------------- 新闻弹窗 */
.site-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10, 17, 24, .62); display: flex; align-items: center; justify-content: center; padding: 24px; }
.site-modal[hidden] { display: none; }
.site-modal-card { background: var(--paper); max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.site-modal-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.site-modal-body { padding: 30px 36px 40px; }
.site-modal-body .meta { font-size: 11px; color: var(--gold); letter-spacing: .1em; margin-bottom: 12px; }
.site-modal-body h2 { font-family: var(--serif); font-size: 27px; line-height: 1.5; letter-spacing: .03em; margin-bottom: 18px; }
.site-modal-body p { font-size: 14px; color: var(--ink-soft); line-height: 2; margin-bottom: 14px; }
.site-modal-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; background: rgba(247, 244, 238, .92); cursor: pointer; font-size: 18px; line-height: 1; }

/* ---------------------------------------------------------- 动效 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .course-media img, .faculty-photo img { transition: none; }
}

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 48px); }
  .nav { width: calc(100% - 40px); gap: 16px; }
  .nav-links { gap: 15px; }
  /* 电话入口必须常驻：改为紧凑显示而不是整体隐藏 */
  .nav-cta { display: inline-flex; height: 34px; padding: 0 12px; font-size: 11.5px; letter-spacing: 0; }
  .nav-cta .nav-cta-k { display: none; }
  .nav-links a { font-size: 12.5px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 470px; margin: 0 auto; padding: 0 22px 40px 0; }
  .hero-side-text { display: none; }
  .hero h1 { font-size: clamp(36px, 5.6vw, 54px); }
  .intro-grid, .admissions-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-media { max-width: 520px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .nav { height: 66px; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px; }
  .nav-links {
    position: fixed; inset: 66px 0 auto; background: rgba(20, 32, 45, .98);
    flex-direction: column; gap: 0; padding: 10px 22px 22px; display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { color: rgba(255, 255, 255, .8); padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .site-header.solid .nav-links a { color: rgba(255, 255, 255, .8); }
  .site-header.solid .nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
  .nav-links a.active::after { display: none; }
  .hero { min-height: auto; padding: 104px 0 52px; }
  .hero h1 { font-size: 33px; line-height: 1.4; }
  .hero-sub { font-size: 13.5px; margin-top: 20px; }
  .hero-motto { font-size: 12px; letter-spacing: .34em; gap: 10px; }
  .hero-facts { gap: 18px; margin-top: 28px; padding-top: 18px; }
  .hero-facts span { font-size: 11px; }
  .hero-stats { gap: 26px; margin-top: 22px; }
  .hero-stats b { font-size: 22px; }
  .hero-visual { padding: 0 16px 0 0; }
  .hero-photo { transform: none; }
  .hero-seal { width: 48px; font-size: 16px; top: 18px; right: 4px; }
  .hero-ticket { position: static; max-width: none; margin-top: 18px; }
  .hero-scroll { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .course-grid, .faculty-grid { grid-template-columns: 1fr; }
  .curriculum-row { grid-template-columns: 92px 1fr; gap: 6px 14px; font-size: 12.5px; }
  .curriculum-row span:nth-child(3), .curriculum-row span:nth-child(4) { display: none; }
  .curriculum-row.head span:nth-child(3), .curriculum-row.head span:nth-child(4) { display: none; }
  .campus-grid { grid-template-columns: 1fr; }
  .campus-photo.big { grid-row: auto; aspect-ratio: 4 / 3; }
  .campus-facilities { grid-template-columns: repeat(2, 1fr); }
  .faculty-quote { flex-direction: column; gap: 10px; padding: 24px; }
  .faculty-quote p { font-size: 16px; }
  .admissions { padding-bottom: 76px; }
  .admission-form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .lead-progress-form { grid-template-columns: 1fr 1fr; }
  .lead-progress-form button { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-modal { padding: 0; align-items: flex-end; }
  .site-modal-card { max-height: 92vh; }
  .site-modal-body { padding: 24px 22px 32px; }
  .site-modal-body h2 { font-size: 22px; }
}

/* ============================================================
   招生预约关闭态（body.booking-off）
   隐藏全部「预约探校」入口与报名表单，招生区改为咨询展示。
   恢复方法：删除 index.html 中 <body> 的 booking-off 类即可。
   ============================================================ */
/* 电话咨询入口在所有页面、所有宽度都常驻显示 */
.nav-cta.nav-hotline { display: inline-flex; background: var(--ink); border-color: var(--ink); color: #f7f3ea; }
.nav-cta.nav-hotline:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
body.booking-off .nav-cta.btn-book { display: none; }
body.booking-off .hero-actions .btn-solid { display: none; }
body.booking-off .hero-actions .btn-line { background: var(--ink); border-color: var(--ink); color: var(--paper); }
body.booking-off .hero-actions .btn-line:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
body.booking-off .hero-ticket { display: none; }
body.booking-off .admission-form { display: none; }

.admission-contact { display: none; align-self: start; background: rgba(247, 244, 238, .96); color: var(--ink); padding: 36px 34px 32px; }
body.booking-off .admission-contact { display: block; }
.admission-contact h3 { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; margin-bottom: 6px; }
.admission-contact > p { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.contact-row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.contact-row:first-child { border-top: 1px solid var(--line); }
.contact-row b { flex: 0 0 64px; font-weight: 400; color: var(--muted-2); font-size: 11.5px; letter-spacing: .06em; padding-top: 2px; }
.contact-row small { color: var(--muted-2); font-size: 11.5px; }
.contact-strong { font-family: var(--serif); font-size: 18px; letter-spacing: .03em; }

@media (max-width: 760px) {
  .nav-cta.nav-hotline { height: 32px; padding: 0 10px; font-size: 11px; }
  .admission-contact { padding: 26px 22px; }
}

/* ============================================================
   新闻双 tab（校园事迹 / 通知公告）
   ============================================================ */
.news-tabs {
  display: inline-flex; gap: 34px; margin: -22px 0 34px;
  border-bottom: 1px solid var(--line);
}
.news-tab {
  position: relative; padding: 12px 2px 14px; border: 0; background: none;
  font-family: var(--serif); font-size: 17px; letter-spacing: .08em;
  color: var(--muted-2); cursor: pointer; transition: color .25s;
}
.news-tab:hover { color: var(--ink-soft); }
.news-tab::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 2px; background: var(--gold); transition: right .3s ease;
}
.news-tab.active { color: var(--ink); }
.news-tab.active::after { right: 0; }

/* ============================================================
   年级课程地图（后台「课程展示」同步）
   ============================================================ */
.grade-courses { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.grade-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.grade-head h3 { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); letter-spacing: .04em; line-height: 1.5; }
.grade-head .eyebrow { margin-bottom: 10px; }
.grade-desc { max-width: 26em; font-size: 12.5px; color: var(--muted); line-height: 1.9; }

.grade-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.grade-tab {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; font-size: 13.5px; letter-spacing: .05em;
  color: var(--ink-soft); cursor: pointer; transition: all .25s;
}
.grade-tab small { font-size: 11px; color: var(--muted-2); letter-spacing: 0; }
.grade-tab:hover { border-color: var(--gold); color: var(--ink); }
.grade-tab.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grade-tab.active small { color: var(--gold-light); }

.grade-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.gcourse {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fffdf9; border: 1px solid var(--line); padding: 20px 20px 16px;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.gcourse:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(22, 32, 43, .35); border-color: var(--gold-light); }
.gcourse-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gcourse-top h4 { font-size: 15.5px; font-weight: 500; letter-spacing: .03em; }
.gcourse-cat {
  flex: none; font-size: 10.5px; letter-spacing: .1em; padding: 3px 8px;
  border: 1px solid currentColor; border-radius: 2px;
}
.gcourse-cat.cat-req { color: var(--ink-soft); }
.gcourse-cat.cat-elec { color: var(--gold); }
.gcourse-cat.cat-proj { color: var(--green); }
.gcourse-summary { font-size: 12.5px; color: var(--muted); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcourse-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted-2); }
.gcourse-foot b { font-weight: 400; }
.gcourse-more { color: var(--gold); letter-spacing: .08em; font-size: 11px; }

@media (max-width: 760px) {
  .news-tabs { gap: 22px; margin-top: -12px; }
  .news-tab { font-size: 15.5px; }
  .grade-courses { margin-top: 36px; padding-top: 32px; }
  .grade-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .grade-tabs { gap: 8px; }
  .grade-tab { padding: 7px 13px; font-size: 12.5px; }
  .grade-course-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gcourse { padding: 15px 14px 12px; }
  .gcourse-summary { display: none; }
  .parent-panel { padding: 22px 18px 26px; }
  .parent-form { grid-template-columns: 1fr; gap: 12px; }
  .pf-submit { width: 100%; padding: 13px; }
  .pq-kpis { gap: 18px; }
  .pq-kpis b { font-size: 18px; }
}

@media (max-width: 520px) {
  .grade-course-grid { grid-template-columns: 1fr; }
  .pq-head { flex-direction: column; }
}

/* ============================================================
   首页 · 智慧教育资源板块
   ============================================================ */
.platform { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.platform-tab {
  padding: 8px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  font: inherit; font-size: 12.5px; letter-spacing: .08em; cursor: pointer; transition: .18s;
}
.platform-tab:hover { border-color: var(--gold); color: var(--gold); }
.platform-tab.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { display: block; text-decoration: none; color: inherit; transition: transform .22s; cursor: pointer; }
.pcard:hover { transform: translateY(-3px); }
.pcard-play {
  position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border-radius: 50%; background: rgba(255, 255, 255, .86); opacity: 0; transform: scale(.9);
  transition: .2s; pointer-events: none;
}
.pcard-play::after {
  content: ''; position: absolute; left: 15px; top: 12px;
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #16202b;
}
.pcard:hover .pcard-play { opacity: 1; transform: scale(1); }
.pcard-cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3);
}
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pcard:hover .pcard-cover img { transform: scale(1.05); }
.pcard-type {
  position: absolute; left: 0; top: 0; padding: 3px 9px; font-size: 10.5px; letter-spacing: .1em;
  background: rgba(22, 32, 43, .78); color: #fff;
}
.pcard-duration {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; font-size: 10.5px;
  background: rgba(22, 32, 43, .7); color: #fff;
}
.pcard h4 {
  font-size: 14px; font-weight: 600; line-height: 1.55; margin: 11px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-meta { font-size: 11.5px; color: var(--muted-2); display: flex; gap: 8px; flex-wrap: wrap; }
.pcard-cat { font-size: 11.5px; color: var(--gold); margin-top: 5px; }

.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.promo-card { padding: 22px 22px 18px; color: #fff; position: relative; overflow: hidden; }
.promo-card.red { background: linear-gradient(140deg, #9c3b34, #6f2a26); }
.promo-card.gold { background: linear-gradient(140deg, #a8834a, #7a5c2c); }
.promo-card.green { background: linear-gradient(140deg, #3f6b57, #27473a); }
.promo-card h4 { font-size: 15.5px; letter-spacing: .08em; margin-bottom: 4px; font-family: var(--serif); }
.promo-card > p { font-size: 11.5px; opacity: .78; margin-bottom: 14px; }
.promo-list { list-style: none; margin: 0; padding: 0; }
.promo-list li { font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); display: flex; gap: 9px; }
.promo-list li:last-child { border-bottom: 0; }
.promo-list li span { opacity: .6; font-size: 11px; flex: 0 0 auto; }
.promo-list li a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-list li a:hover { text-decoration: underline; }
.promo-rank { counter-reset: r; }
.promo-rank li::before {
  counter-increment: r; content: counter(r); flex: 0 0 15px; font-size: 10.5px;
  color: rgba(255, 255, 255, .7);
}
.promo-rank li:nth-child(-n+3)::before { color: #ffe6b0; font-weight: 700; }
.platform-more { margin-top: 30px; text-align: right; }
.platform-more a { font-size: 12.5px; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: 3px; }
.platform-more a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.plat-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; font-size: 12.5px; color: var(--muted-2); }

/* ============================================================
   资源媒体查看器（原地浮层播放）
   ============================================================ */
body.rv-open { overflow: hidden; }
.rv { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.rv[hidden] { display: none; }
.rv-mask { position: absolute; inset: 0; background: rgba(9, 12, 17, .62); backdrop-filter: blur(3px) saturate(.9); opacity: 0; transition: opacity .22s; }
.rv.open .rv-mask { opacity: 1; }
.rv-frame {
  position: relative; z-index: 1; width: 100%; height: 100%; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(10px) scale(.995); transition: .24s;
}
.rv.open .rv-frame { opacity: 1; transform: none; }

.rv-bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 26px;
  color: rgba(255, 255, 255, .9);
}
.rv-bar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rv-type {
  flex: 0 0 auto; font-size: 10.5px; letter-spacing: .16em; padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, .34); color: #fff;
}
.rv-title-wrap { display: flex; flex-direction: column; min-width: 0; }
.rv-title-wrap strong {
  font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 56vw;
}
.rv-title-wrap span { font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.rv-bar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rv-btn {
  width: 34px; height: 34px; border: 0; background: transparent; color: rgba(255, 255, 255, .82);
  font-size: 26px; line-height: 1; cursor: pointer; transition: .16s; border-radius: 50%;
}
.rv-btn:hover { background: rgba(255, 255, 255, .13); color: #fff; }

.rv-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 26px; }
.rv-video {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  background: #000; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); outline: none;
}
.rv-image { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); }
.rv-hint { flex: 0 0 auto; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .45); padding: 12px 0 16px; }
.rv-missing { text-align: center; color: rgba(255, 255, 255, .8); }
.rv-missing p { font-family: var(--serif); font-size: 16px; margin-bottom: 8px; }
.rv-missing span { font-size: 12px; color: rgba(255, 255, 255, .5); }

/* 文档：纸张阅读 */
.rv[data-mode="doc"] .rv-stage { align-items: stretch; padding-bottom: 6px; }
.rv-doc { width: 100%; max-width: 880px; height: 100%; display: flex; flex-direction: column; background: #fff; margin: 0 auto; }
.rv-doc-head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 22px; border-bottom: 1px solid var(--line); background: var(--paper-2);
  font-size: 11.5px; color: var(--muted);
}
.rv-doc-head span:first-child { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-doc-progress { flex: 0 0 auto; color: var(--gold); font-variant-numeric: tabular-nums; }
.rv-doc-pages { flex: 1 1 auto; overflow-y: auto; padding: 22px 22px 30px; background: #eceae5; scroll-behavior: smooth; }
.rv-page {
  background: #fff; padding: 30px 38px 26px; margin: 0 auto 18px; max-width: 720px;
  box-shadow: 0 6px 18px -14px rgba(22, 32, 43, .6); min-height: 300px; position: relative;
}
.rv-page h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--ink); }
.rv-page p { font-size: 13px; line-height: 2.05; color: var(--ink-soft); margin: 0 0 14px; text-align: justify; }
.rv-page-foot {
  display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2);
  border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 18px; letter-spacing: .04em;
}
.rv-page.fade-in { animation: rvFade .3s ease; }
@keyframes rvFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.rv-page.skeleton { background: #fff; }
.rv-skel-line {
  height: 11px; border-radius: 2px; margin-bottom: 13px;
  background: linear-gradient(90deg, #f0eeea 25%, #f8f7f4 37%, #f0eeea 63%);
  background-size: 400% 100%; animation: rvShimmer 1.5s ease-in-out infinite;
}
.rv-skel-line.w70 { width: 70%; height: 15px; }
.rv-skel-line.w40 { width: 40%; }
.rv-skel-tip { font-size: 11px; color: var(--muted-2); text-align: center; padding-top: 8px; }
@keyframes rvShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

@media (max-width: 720px) {
  .rv-bar { padding: 10px 14px; }
  .rv-title-wrap strong { max-width: 46vw; font-size: 12.5px; }
  .rv-stage { padding: 0 10px; }
  .rv-page { padding: 20px 18px; }
  .rv-doc-pages { padding: 12px 10px 24px; }
  .rv-doc-head { padding: 9px 14px; }
}

/* ============================================================
   资源中心栏目页
   ============================================================ */
.res-page { background: var(--paper); }
.res-head { position: sticky; top: 0; z-index: 40; background: rgba(247, 244, 238, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.res-head .nav { max-width: 1240px; margin: 0 auto; padding: 0 22px; height: 66px; display: flex; align-items: center; gap: 22px; }
.res-head-links { display: flex; gap: 20px; margin-left: auto; }
.res-head-links a { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.res-head-links a:hover { color: var(--gold); }

.res-subnav { position: sticky; top: 66px; z-index: 39; background: #fff; border-bottom: 1px solid var(--line); }
.res-subnav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 22px; display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.res-subnav-inner::-webkit-scrollbar { display: none; }
.res-nav-item {
  flex: 0 0 auto; padding: 12px 13px; font-size: 13px; color: var(--ink-soft); text-decoration: none;
  border-bottom: 2px solid transparent; transition: .16s; display: flex; align-items: center; gap: 5px;
}
.res-nav-item span { font-size: 10.5px; color: var(--muted-2); }
.res-nav-item:hover { color: var(--gold); }
.res-nav-item.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 600; }

.res-banner {
  position: relative; overflow: hidden;
  background: var(--ink) radial-gradient(circle at 82% 18%, rgba(176, 141, 87, .34), transparent 62%);
  color: var(--paper);
}
.res-banner::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px; pointer-events: none;
}
.res-banner-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 40px 22px 36px; }
.res-banner-eyebrow { font-size: 10.5px; letter-spacing: .34em; color: var(--gold-light); margin-bottom: 12px; }
.res-banner h1 { font-family: var(--serif); font-size: 30px; letter-spacing: .1em; font-weight: 400; }
.res-banner-desc { font-size: 12.5px; color: rgba(247, 244, 238, .7); margin-top: 10px; max-width: 640px; line-height: 1.9; }

.res-main { max-width: 1240px; margin: 0 auto; padding: 26px 22px 70px; }
.res-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.res-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.res-meta b { color: var(--ink); font-weight: 600; }
.res-search { margin-left: auto; display: flex; border: 1px solid var(--line); background: #fff; }
.res-search input { border: 0; padding: 8px 12px; font: inherit; font-size: 12.5px; width: 220px; background: transparent; outline: none; }
.res-search button {
  border: 0; border-left: 1px solid var(--line); padding: 8px 15px; background: var(--paper-2);
  font: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink-soft);
}
.res-search button:hover { background: var(--gold); color: #fff; }

.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; min-height: 200px; }
.res-card { background: #fff; border: 1px solid var(--line); padding: 10px 12px 13px; cursor: pointer; transition: .2s; }
.res-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 24px -18px rgba(22, 32, 43, .5); }
.res-card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.res-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.res-card:hover .res-card-cover img { transform: scale(1.04); }
.res-card-cover.noimg::after { content: '启明实验学校'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 12px; color: var(--muted-2); letter-spacing: .2em; }
.res-card-type { position: absolute; left: 0; top: 0; background: rgba(22, 32, 43, .8); color: #fff; font-size: 10.5px; padding: 3px 8px; letter-spacing: .08em; }
.res-card-duration { position: absolute; right: 7px; bottom: 7px; background: rgba(22, 32, 43, .7); color: #fff; font-size: 10.5px; padding: 2px 6px; }
.res-card-title { font-size: 13.5px; line-height: 1.55; margin: 10px 0 6px; font-weight: 600; height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-card-source { font-size: 11.5px; color: var(--muted-2); margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-card-cat { font-size: 11.5px; color: var(--gold); margin: 0; display: flex; align-items: center; gap: 5px; }
.res-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.res-empty p { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; }
.res-empty span { font-size: 12.5px; color: var(--muted-2); }

.res-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 38px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.res-pager-total { margin-right: 6px; }
.res-pager-total b { color: var(--ink); }
.res-pager-btn, .res-pager-num {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font: inherit; font-size: 12.5px;
  padding: 6px 11px; cursor: pointer; transition: .16s;
}
.res-pager-btn:hover:not(:disabled), .res-pager-num:hover { border-color: var(--gold); color: var(--gold); }
.res-pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.res-pager-num.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.res-pager-gap { color: var(--muted-2); padding: 0 3px; }
.res-pager-jump { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.res-pager-jump input { width: 52px; padding: 5px 7px; border: 1px solid var(--line); font: inherit; font-size: 12.5px; text-align: center; background: #fff; }

.res-foot { background: var(--ink); color: rgba(247, 244, 238, .6); }
.res-foot-inner { max-width: 1240px; margin: 0 auto; padding: 26px 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; }

.res-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.res-modal[hidden] { display: none; }
.res-modal-mask { position: absolute; inset: 0; background: rgba(22, 32, 43, .55); opacity: 0; transition: opacity .2s; }
.res-modal.open .res-modal-mask { opacity: 1; }
.res-modal-card {
  position: relative; background: #fff; max-width: 620px; width: 100%; max-height: 86vh; overflow: auto;
  transform: translateY(12px); opacity: 0; transition: .22s;
}
.res-modal.open .res-modal-card { transform: none; opacity: 1; }
.res-modal-close {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 30px; height: 30px; border: 0;
  background: rgba(22, 32, 43, .7); color: #fff; font-size: 17px; cursor: pointer; line-height: 1;
}
.res-modal-cover { aspect-ratio: 16 / 8; overflow: hidden; background: var(--paper-3); }
.res-modal-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-modal-body { padding: 22px 24px 26px; }
.res-modal-col { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); }
.res-modal-body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin: 8px 0 10px; font-weight: 400; }
.res-modal-meta { font-size: 11.5px; color: var(--muted-2); margin-bottom: 14px; }
.res-modal-summary { font-size: 13px; color: var(--ink-soft); line-height: 2; margin-bottom: 18px; }
.res-modal-link { font-size: 12.5px; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }

@media (max-width: 1080px) {
  .platform-grid, .res-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .promo-row { grid-template-columns: 1fr; }
  .platform-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
  .res-head .nav { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .res-head-links { margin-left: 0; gap: 14px; width: 100%; }
  .res-subnav { top: 0; position: static; }
  .res-banner h1 { font-size: 23px; }
  .res-search { margin-left: 0; width: 100%; }
  .res-search input { flex: 1; width: auto; }
}
@media (max-width: 520px) {
  .platform-grid, .res-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .res-card-title { font-size: 12.5px; height: 39px; }
  .pcard h4 { font-size: 12.5px; }
  .res-pager-jump { width: 100%; justify-content: center; margin-top: 6px; }
}

/* ============================================================
   食安溯源（food.html）
   ============================================================ */
.fs-page { background: var(--paper); }

.fs-hero {
  padding: 132px 0 64px;
  background:
    radial-gradient(circle at 82% 12%, rgba(176, 141, 87, .14), transparent 46%),
    linear-gradient(160deg, #101a25 0%, #1c2b39 52%, #16202b 100%);
  color: #f2efe8;
  position: relative;
  overflow: hidden;
}
.fs-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px; pointer-events: none;
}
.fs-hero .wrap { position: relative; z-index: 1; }
.fs-eyebrow { font-size: 10.5px; letter-spacing: .28em; color: var(--gold-light); text-transform: uppercase; margin: 0 0 14px; }
.fs-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.35; font-weight: 400; letter-spacing: .01em; }
.fs-hero h1 em { font-style: normal; color: var(--gold-light); }
.fs-hero-sub { max-width: 660px; margin: 20px 0 34px; color: rgba(242, 239, 232, .72); font-size: 14px; line-height: 2; }
.fs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); max-width: 760px; }
.fs-stats > div { background: rgba(16, 26, 37, .55); padding: 16px 18px; }
.fs-stats b { display: block; font-family: var(--serif); font-size: 28px; color: #fff; font-weight: 400; }
.fs-stats span { font-size: 11.5px; color: rgba(242, 239, 232, .6); }
.fs-sync { margin: 12px 0 0; font-size: 11.5px; color: rgba(242, 239, 232, .45); }

.fs-section { padding: 64px 0; }
.fs-section + .fs-section { border-top: 1px solid var(--line); }
.fs-section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.fs-section-head h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; line-height: 1.45; margin: 6px 0 0; }
.fs-section-head > p { font-size: 13px; color: var(--muted); line-height: 1.95; margin: 0 0 4px; }

.fs-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: fsstep; }
.ft-item { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s; }
.ft-item:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -28px rgba(22, 32, 43, .5); }
.ft-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.ft-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ft-item:hover .ft-media img { transform: scale(1.04); }
.ft-body { padding: 14px 15px 18px; position: relative; }
.ft-no { font-size: 10.5px; letter-spacing: .18em; color: var(--gold); }
.ft-body h3 { font-family: var(--serif); font-size: 15px; font-weight: 500; margin: 5px 0 6px; }
.ft-body p { font-size: 11.5px; color: var(--muted); line-height: 1.8; margin: 0; }

/* 查询面板 */
.fs-query-sec { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.fs-query-panel { background: #fff; border: 1px solid var(--line); padding: 26px 28px; max-width: 760px; }
.fs-form label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 8px; }
.fs-form-row { display: flex; gap: 10px; }
.fs-form-row input {
  flex: 1; height: 46px; border: 1px solid var(--line); background: var(--paper);
  padding: 0 14px; font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: var(--ink);
}
.fs-form-row input:focus { outline: none; border-color: var(--gold); background: #fff; }
.fs-form-row button {
  height: 46px; padding: 0 26px; border: 0; background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 13.5px; letter-spacing: .06em; cursor: pointer; transition: background .2s;
}
.fs-form-row button:hover { background: var(--gold); }
.fs-form-row button:disabled { opacity: .6; cursor: progress; }
.fs-demo { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted-2); }
.fs-demo button {
  border: 1px dashed var(--line); background: transparent; color: var(--muted);
  font-size: 11.5px; padding: 4px 10px; cursor: pointer; font-family: var(--sans); transition: .18s;
}
.fs-demo button:hover { border-color: var(--gold); color: var(--gold); background: rgba(176, 141, 87, .06); }
.fs-msg { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.fs-msg.bad { color: #b4483d; }

/* 查询结果 */
.fs-result:not(:empty) { margin-top: 30px; }
.fs-sheet { background: #fff; border: 1px solid var(--line); padding: 28px 30px 30px; }
.fs-sheet-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fs-sheet-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 4px 0 6px; }
.fs-sheet-head .fs-sub { font-size: 12.5px; color: var(--muted); margin: 0; }
.fs-sheet-side { text-align: right; }
.fs-sheet-side small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--muted-2); }

.fs-flow { display: flex; align-items: center; margin: 26px 0; }
.fs-node { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 50px; }
.fs-node .dot {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted-2);
}
.fs-node.done .dot { background: #eef5f0; border-color: #c3dccd; color: var(--green); }
.fs-node.current .dot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 4px rgba(22, 32, 43, .1); }
.fs-node .lbl { font-size: 11.5px; color: var(--muted); }
.fs-node.current .lbl { color: var(--ink); font-weight: 600; }
.fs-flow .bar { flex: 1; height: 1px; background: var(--line); min-width: 10px; }

.fs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fs-facts > div { display: flex; gap: 12px; padding: 11px 14px; background: #fff; font-size: 12.5px; }
.fs-facts span { flex: 0 0 88px; color: var(--muted-2); }
.fs-facts b { font-weight: 500; color: var(--ink); }

.fs-timeline-title { margin: 28px 0 16px; font-size: 13px; letter-spacing: .06em; color: var(--ink); }
.fs-timeline-title small { margin-left: 8px; color: var(--muted-2); letter-spacing: 0; font-size: 11.5px; }
.fs-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.fs-step { position: relative; padding: 0 0 22px 34px; border-left: 1px solid var(--line); }
.fs-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.fs-step .no {
  position: absolute; left: -14px; top: 0; width: 27px; height: 27px; background: #fff;
  border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted);
}
.fs-step-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fs-step-head b { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.fs-chip { font-size: 10.5px; letter-spacing: .1em; color: var(--gold); border: 1px solid var(--gold-light); padding: 1px 7px; }
.fs-time { font-size: 11.5px; color: var(--muted-2); }
.fs-step-body p { margin: 7px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.95; }
.fs-step-meta { margin-top: 5px; font-size: 11.5px; color: var(--muted-2); }
.fs-shots { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.fs-shots img { width: 132px; height: 88px; object-fit: cover; border: 1px solid var(--line); }

.fs-tag { font-size: 10.5px; padding: 2px 8px; letter-spacing: .06em; white-space: nowrap; }
.fs-tag.ok { background: #eef5f0; color: var(--green); }
.fs-tag.warn { background: #fbf3e2; color: #a3771f; }
.fs-tag.bad { background: #f8e9e6; color: #b4483d; }

.fs-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted-2); line-height: 1.9; }
.fs-empty { color: var(--muted-2); font-size: 12.5px; }

/* 最近批次 */
.fs-latest-sec { background: var(--paper-2); }
.fs-latest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fs-card { text-align: left; background: #fff; border: 1px solid var(--line); padding: 0; cursor: pointer; font-family: var(--sans); transition: transform .24s, box-shadow .24s; }
.fs-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -26px rgba(22, 32, 43, .5); }
.fs-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.fs-card-media img { width: 100%; height: 100%; object-fit: cover; }
.fs-card-body { padding: 13px 15px 16px; }
.fs-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fs-card-top b { font-family: var(--serif); font-size: 14.5px; font-weight: 500; }
.fs-card-body p { margin: 6px 0 8px; font-size: 11.5px; color: var(--muted); }
.fs-card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--muted-2); letter-spacing: .04em; }

@media (max-width: 1080px) {
  .fs-track { grid-template-columns: repeat(3, 1fr); }
  .fs-latest { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .fs-hero { padding: 104px 0 48px; }
  .fs-stats { grid-template-columns: repeat(2, 1fr); }
  .fs-section-head { grid-template-columns: 1fr; gap: 14px; }
  .fs-sheet { padding: 22px 18px; }
  .fs-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fs-track { grid-template-columns: repeat(2, 1fr); }
  .fs-form-row { flex-direction: column; }
  .fs-form-row button { width: 100%; }
  .fs-latest { grid-template-columns: 1fr; }
  .fs-node { min-width: 38px; }
  .fs-node .lbl { font-size: 10px; }
  .fs-shots img { width: 104px; height: 70px; }
}



/* ---------------------------------------------------------- 页面平滑过渡 */
body { transition: opacity .18s ease; }
body.pg-out { opacity: 0; }
html.pg-in body { animation: pgIn .24s ease-out both; }
@keyframes pgIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  body.pg-out { opacity: 1; }
  html.pg-in body { animation: none; }
}

/* ---------------------------------------------------------- 统一导航（资源中心沿用官网头部） */
.res-head .nav { gap: 18px; }
.res-head .nav-links a { font-size: 13px; color: var(--ink-soft); }
.res-head .nav-links a:hover, .res-head .nav-links a.active { color: var(--gold); }
.res-head .nav-links a.active { border-bottom: 1px solid var(--gold); }
@media (max-width: 860px) {
  .res-head .nav-links { width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .res-head .nav-links::-webkit-scrollbar { display: none; }
}

/* 中等屏幕（平板横屏）导航再压缩一档，确保电话入口不被挤出 */
@media (max-width: 900px) and (min-width: 761px) {
  .nav { gap: 12px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; padding: 4px 0; }
  .brand-name { font-size: 16px; }
  .brand-name small { font-size: 8px; letter-spacing: .16em; }
}
