/* 蒙城县知运私塾培训学校 · 官网样式
   设计基调：简约大气 / 知运品牌蓝 / 大留白 / 衬线标题 */
:root {
  --ink: #0d2b52;
  --ink-2: #14477f;
  --ink-3: #1e5b9b;
  --gold: #0f6fd8;
  --gold-light: #86c9ff;
  --paper: #f6f9fd;
  --paper-2: #eaf2fc;
  --white: #ffffff;
  --line: #dbe6f3;
  --line-dark: rgba(255, 255, 255, .16);
  --text: #2a3646;
  --muted: #66748a;
  --danger: #b4453c;
  --ok: #2f7a55;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 36px rgba(13, 43, 82, .08);
  --shadow-lg: 0 24px 60px rgba(13, 43, 82, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(880px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 249, 253, .95);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 82px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 158px; height: auto; display: block; }
.brand-seal { display: none; }
.brand-text { display: none; }
.site-footer .footer-logo { width: 168px; height: auto; display: block; margin-bottom: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a {
  padding: 8px 15px; font-size: 14.5px; color: var(--ink-2);
  border-radius: 4px; transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 1px;
  height: 2px; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 3px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: .4px;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #0a58b0; box-shadow: 0 8px 22px rgba(15, 111, 216, .28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink-2); color: var(--ink-2); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, #062a5a 0%, #0b56ae 52%, #1583dc 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -240px;
  background: radial-gradient(circle, rgba(112,190,255,.24), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 104px 0 112px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 3px; color: var(--gold-light); margin-bottom: 26px; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-light); }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); line-height: 1.28; letter-spacing: 4px; margin: 0 0 24px; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead { font-size: 17px; line-height: 2; color: rgba(255,255,255,.78); max-width: 520px; margin: 0 0 14px; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.55); margin: 0 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.hero-meta div span { display: block; font-size: 11px; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.hero-meta div strong { display: block; font-family: var(--serif); font-size: 20px; color: #fff; margin-top: 4px; font-weight: 500; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual svg { width: 100%; max-width: 480px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.22)); }
.hero-badge {
  position: absolute; bottom: 6%; left: 2%; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
  padding: 14px 20px; font-size: 13px; color: #fff; letter-spacing: 1px;
}
.hero-badge strong { color: var(--gold-light); font-family: var(--serif); font-size: 17px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.4; color: var(--ink); margin: 0 0 18px; letter-spacing: 2px; font-weight: 600; }
.section-lead { font-size: 16px; color: var(--muted); line-height: 1.95; margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 数字带 ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 46px 0; }
.stat { padding-left: 34px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 40px; line-height: 1.2; color: var(--ink); font-weight: 600; }
.stat strong small { font-size: 17px; margin-left: 4px; color: var(--gold); }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: 1px; }

/* ---------- 卡片 ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dcf2; }
.card-index { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: 2px; margin-bottom: 18px; }
.card h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin: 0 0 8px; letter-spacing: 1px; font-weight: 600; }
.card .sub { font-size: 13px; color: var(--gold); margin: 0 0 16px; letter-spacing: .5px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; margin: 0; }
.course-card { position: relative; display: flex; flex-direction: column; min-height: 340px; }
.course-card .badge {
  position: absolute; top: 26px; right: 26px; font-size: 11px; letter-spacing: 1px;
  background: var(--paper-2); color: var(--gold); padding: 4px 12px; border-radius: 2px;
}
.course-card .audience { margin: 20px 0 16px; padding: 12px 16px; background: var(--paper); border-left: 2px solid var(--gold); font-size: 13.5px; color: var(--ink-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-list span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 2px; }

/* ---------- 流程 / 时间线 ---------- */
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-item { background: var(--white); padding: 34px 30px; }
.process-item .num { font-family: var(--serif); font-size: 30px; color: #d3e3f6; line-height: 1; margin-bottom: 18px; }
.process-item h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.process-item .sub { font-size: 12.5px; color: var(--gold); margin: 0 0 14px; }
.process-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.85; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -31px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--paper); }
.timeline-item .year { font-family: var(--serif); font-size: 24px; color: var(--ink); letter-spacing: 1px; }
.timeline-item .label { font-size: 13px; color: var(--gold); margin-left: 14px; letter-spacing: 1px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.9; }

.notice-list { display: grid; gap: 14px; }
.notice-item { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); padding: 22px 26px; }
.notice-item .n-index { font-family: var(--serif); color: var(--gold); font-size: 15px; flex-shrink: 0; padding-top: 2px; }
.notice-item h4 { margin: 0 0 4px; font-size: 16px; color: var(--ink); font-weight: 600; }
.notice-item .n-tag { font-size: 12px; color: var(--gold); }
.notice-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.faq-list summary { padding: 20px 26px; font-size: 16px; color: var(--ink); font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; color: var(--gold); font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 26px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }

/* ---------- 表单 / 联系 ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: 36px; box-shadow: var(--shadow); }
.form-title { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0 0 6px; }
.form-hint { font-size: 13.5px; color: var(--muted); margin: 0 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--paper); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(15,111,216,.12); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.info-card h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 0 0 4px; }
.info-card .hours { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.9; margin: 16px 0 0; }
.info-card .addr { color: var(--ink-2); }
.kv-list { display: grid; gap: 0; }
.kv-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv-list div:last-child { border-bottom: 0; }
.kv-list span { color: var(--muted); flex-shrink: 0; }
.kv-list strong { color: var(--ink-2); font-weight: 500; text-align: right; }
.form-msg { font-size: 13.5px; margin: 14px 0 0; min-height: 20px; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.login-required { background: var(--paper-2); border: 1px dashed #c6d8ef; padding: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.login-required .btn { margin-top: 14px; }

/* ---------- 会员中心 ---------- */
.account-head { background: var(--ink); color: #fff; padding: 60px 0 54px; }
.account-head h1 { font-family: var(--serif); font-size: 34px; margin: 0 0 10px; letter-spacing: 2px; }
.account-head p { margin: 0; color: rgba(255,255,255,.65); font-size: 14.5px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { background: var(--white); border: 1px solid var(--line); padding: 30px; }
.panel h2 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin: 0 0 6px; }
.panel .panel-hint { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.upload-zone { border: 1px dashed #c6d8ef; background: var(--paper); padding: 26px; text-align: center; }
.upload-zone input[type=file] { display: block; width: 100%; font-size: 13px; margin-bottom: 14px; }
.record-list { display: grid; gap: 10px; margin-top: 22px; }
.record { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.record:last-child { border-bottom: 0; }
.record .r-title { font-size: 14.5px; color: var(--ink); }
.record .r-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.record .r-body { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.7; word-break: break-word; }
.record .r-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.status-pill { font-size: 11px; padding: 2px 8px; background: var(--paper-2); color: var(--gold); border-radius: 2px; margin-left: 8px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #0b3b7a, #1667c4); color: #fff; padding: 76px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-family: var(--serif); font-size: 30px; margin: 0 0 10px; letter-spacing: 2px; }
.cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #08264b; color: rgba(255,255,255,.65); padding: 64px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: 2px; margin-bottom: 12px; }
.footer-brand p { margin: 0; line-height: 1.9; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 18px; letter-spacing: 1px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 24px; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.42); }
.footer-bottom strong { color: rgba(255,255,255,.6); font-weight: 500; }

/* ---------- 登录弹窗 / 提示 ---------- */
.modal-mask { position: fixed; inset: 0; z-index: 100; background: rgba(6, 32, 70, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.modal-card { width: min(420px, 100%); background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); padding: 34px; position: relative; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted); }
.modal-title { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 6px; }
.modal-sub { font-size: 13px; color: var(--muted); margin: 0 0 26px; }
.modal-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.modal-tabs button { flex: 1; background: none; border: 0; padding: 10px 0; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.modal-tabs button.active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row .btn { flex-shrink: 0; padding: 11px 14px; }
.modal-sep { display: flex; align-items: center; gap: 12px; margin: 24px 0; font-size: 12px; color: var(--muted); }
.modal-sep::before, .modal-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 18px 0 0; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.user-chip .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; font-size: 12px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 40px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 3px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg); max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

/* ---------- 加载占位 ---------- */
.skeleton { background: var(--white); border: 1px solid var(--line); padding: 30px; min-height: 120px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.loading-note { font-size: 13px; color: var(--muted); padding: 16px 0; }
.error-note { font-size: 13.5px; color: var(--danger); background: #fdf3f2; border: 1px solid #f0d4d1; padding: 14px 18px; border-radius: 3px; }
.empty-note { font-size: 13.5px; color: var(--muted); padding: 18px 0; }

/* ---------- 内页页头 / 双栏 ---------- */
.page-head { position: relative; overflow: hidden; background: linear-gradient(120deg, #0a3168, #1473cf); color: #fff; padding: 68px 0 62px; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent); }
.page-head .container { position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--gold-light); }
.page-head .eyebrow::before { background: var(--gold-light); }
.page-head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); letter-spacing: 3px; margin: 0 0 14px; font-weight: 600; }
.page-head p { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.72); max-width: 720px; line-height: 1.9; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.prose p { font-size: 15.5px; line-height: 2; color: var(--muted); margin: 0 0 18px; }
.prose p strong { color: var(--ink-2); font-weight: 600; }
.prose .lead { font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.8; margin-bottom: 24px; }
.fact-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.fact { background: var(--white); padding: 22px 24px; }
.fact strong { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 600; }
.fact span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.quote-bar { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 30px 0 0; }
.quote-bar p { font-family: var(--serif); font-size: 17px; color: var(--ink-2); margin: 0 0 6px; line-height: 1.8; }
.quote-bar span { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.tel-link { color: var(--ink); font-family: var(--serif); font-size: 22px; letter-spacing: 1px; }
.tel-link:hover { color: var(--gold); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 80px; }
  .hero-visual { order: -1; max-width: 380px; }
  .hero-badge { left: auto; right: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container, .narrow { width: calc(100% - 36px); }
  .header-inner { height: 64px; gap: 12px; }
  .brand-text strong { font-size: 16px; letter-spacing: 1px; }
  .brand-text span { font-size: 9px; letter-spacing: 1.4px; }
  .nav-toggle { display: block; margin-left: auto; order: 3; }
  .nav-links { order: 4; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 18px 18px; display: none; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .header-actions { order: 2; margin-left: auto; }
  .header-actions .btn { padding: 7px 12px; font-size: 12.5px; }
  .header-actions .user-chip span { display: none; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .hero h1 { font-size: 34px; letter-spacing: 2px; }
  .hero-meta { gap: 18px; margin-top: 36px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding: 34px 0; }
  .stat { padding-left: 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat strong { font-size: 30px; }
  .grid-2, .grid-3, .grid-4, .account-grid, .field-row, .process-list, .split, .split.even { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .page-head { padding: 52px 0 46px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .card { padding: 24px; }
  .course-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px; }
  .modal-card { padding: 26px 22px; }
}

/* ---------- 品牌蓝 · 图片与地图导航 ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.photo-item { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.photo-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.photo-item .ph { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.photo-item.portrait .ph { aspect-ratio: 3 / 4; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.photo-item:hover img { transform: scale(1.04); }
.photo-item .cap { padding: 14px 16px 16px; }
.photo-item .cap strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; }
.photo-item .cap span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.7; }

.photo-band { position: relative; overflow: hidden; color: #fff; padding: 92px 0; background: #0b3b7a; }
.photo-band .band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,42,90,.92), rgba(10,80,160,.55)); }
.photo-band .container { position: relative; z-index: 1; }
.photo-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: 2px; margin: 0 0 14px; }
.photo-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.9; max-width: 640px; }

.campus-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.campus-card .campus-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--paper-2); }
.campus-card .campus-body { padding: 28px; }
.campus-card .hours { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.campus-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 8px 0 0; }
.campus-card .addr { font-size: 14px; color: var(--muted); line-height: 1.9; margin: 14px 0 0; }
.campus-card .guide { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.campus-card .guide b { color: var(--ink-2); font-weight: 600; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btn-map { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--ink-2); color: var(--ink-2); background: transparent; border-radius: 3px; font-size: 13px; transition: .2s; }
.btn-map:hover { background: var(--ink-2); color: #fff; }
.btn-map.primary { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-map.primary:hover { background: #0a58b0; border-color: #0a58b0; }
.btn-map svg { width: 14px; height: 14px; fill: currentColor; }

.nav-note { display: flex; gap: 14px; align-items: flex-start; background: var(--paper-2); border-left: 3px solid var(--gold); padding: 18px 22px; margin-top: 26px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.nav-note b { flex-shrink: 0; color: var(--ink); }

@media (max-width: 1000px) {
  .photo-grid, .photo-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .photo-grid, .photo-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .photo-item .cap { padding: 10px 12px 12px; }
  .photo-item .cap strong { font-size: 13px; }
  .photo-item .cap span { font-size: 11.5px; }
  .brand-logo { width: 122px; }
  .photo-band { padding: 64px 0; }
  .campus-card .campus-body { padding: 22px; }
}

/* ============================================================
   参照 mastertoo 模板版式（蓝色调改版）
   纯色首屏 → 深蓝横向 tab → 居中标题短下划线 → 左文右图
   → 浅灰蓝企业文化 → 深蓝横向年份时间轴
   ============================================================ */

/* 顶部右侧电话 */
.header-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .4px;
  color: var(--gold); text-decoration: none; white-space: nowrap;
}
.header-tel svg { width: 15px; height: 15px; fill: currentColor; }
.header-tel:hover { color: var(--ink); }
.header-actions { gap: 14px; }

/* ---------- 模板式居中标题 ---------- */
.tpl-head { text-align: center; max-width: 860px; margin: 0 auto 52px; }
.tpl-head .eyebrow { justify-content: center; display: flex; }
.tpl-head h2, .section-head.center h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.4; letter-spacing: 3px; color: var(--ink); margin: 0;
}
.tpl-head h2::after, .section-head.center h2::after {
  content: ""; display: block; width: 46px; height: 2px;
  background: var(--gold); margin: 18px auto 0;
}
.tpl-head .section-lead { margin-top: 18px; }
.section-head.center .section-lead { margin-top: 18px; }

/* ---------- 蓝色纯色首屏（模板黄色 banner → 品牌蓝） ---------- */
.tpl-hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: #0b6bd3; padding: 74px 0 66px;
}
.tpl-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 22%, rgba(255,255,255,.19), transparent 64%),
              linear-gradient(180deg, rgba(6,58,130,0), rgba(6,48,110,.32));
}
.tpl-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,.2);
}
.tpl-hero .container { position: relative; z-index: 1; }
.tpl-hero-logo { width: 218px; max-width: 60vw; height: auto; display: block; margin: 0 auto 28px; }
.tpl-hero h1 {
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: 7px; line-height: 1.35; color: #fff; margin: 0;
}
.tpl-hero .tpl-rule { width: 54px; height: 3px; border-radius: 2px; background: #fff; margin: 22px auto; }
.tpl-hero .hero-lead { font-size: 16px; letter-spacing: 2.5px; color: rgba(255,255,255,.9); margin: 0 0 10px; }
.tpl-hero .hero-sub { font-size: 14px; color: rgba(255,255,255,.65); margin: 0 0 30px; letter-spacing: 1px; }
.tpl-hero .hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tpl-hero .btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.72); color: #fff; }
.tpl-hero .btn-ghost:hover { background: rgba(255,255,255,.14); }
.tpl-hero .btn-white { background: #fff; color: #0b4ea0; }
.tpl-hero .btn-white:hover { background: #eaf4ff; }
.tpl-hero-meta {
  display: flex; margin-top: 58px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.tpl-hero-meta div { flex: 1; border-right: 1px solid rgba(255,255,255,.18); padding: 0 12px; }
.tpl-hero-meta div:last-child { border-right: 0; }
.tpl-hero-meta strong { display: block; font-family: var(--serif); font-size: 27px; color: #fff; line-height: 1.25; }
.tpl-hero-meta strong small { font-size: 15px; }
.tpl-hero-meta span { display: block; font-size: 11.5px; letter-spacing: 1.4px; color: rgba(255,255,255,.72); margin-top: 7px; }

/* ---------- 深蓝横向 tab 条 ---------- */
.tpl-tabs { background: #0a3f7d; }
.tpl-tabs .container { display: flex; }
.tpl-tabs a {
  flex: 1; text-align: center; padding: 17px 6px 16px; position: relative;
  color: rgba(255,255,255,.72); font-size: 14px; letter-spacing: 2px;
  text-decoration: none; transition: color .2s, background .2s;
}
.tpl-tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.tpl-tabs a.on { color: #fff; font-weight: 600; }
.tpl-tabs a.on::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%); width: 56px; height: 3px; background: #fff;
}

/* ---------- 学校概况：左文右图 ---------- */
.tpl-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.tpl-about .tpl-about-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tpl-about h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1.7; margin: 0 0 18px; letter-spacing: 1px; }
.tpl-about .prose p { font-size: 15.5px; line-height: 2; color: var(--muted); margin: 0 0 16px; }
.tpl-about .prose p strong { color: var(--ink-2); font-weight: 600; }
.tpl-about .notice-list { margin-top: 26px; }

/* ---------- 企业文化：浅灰蓝底，左文右图 ---------- */
.tpl-gray { background: #f1f6fc; }
.tpl-culture { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tpl-culture.no-photo { grid-template-columns: 1fr; }
.tpl-culture.no-photo .culture-list { max-width: 900px; margin: 0 auto; }
.tpl-culture-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.culture-list { display: grid; }
.culture-item { padding: 17px 0 18px; border-bottom: 1px solid var(--line); }
.culture-item:first-child { padding-top: 0; }
.culture-item:last-child { border-bottom: 0; padding-bottom: 0; }
.culture-item .tag { font-size: 11px; letter-spacing: 2.2px; color: var(--gold); text-transform: uppercase; }
.culture-item h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 7px 0 6px; letter-spacing: 1px; }
.culture-item p { font-size: 15.5px; line-height: 1.9; color: var(--text); margin: 0; }
.creed-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 46px; }
.creed-item {
  background: var(--white); border: 1px solid var(--line); padding: 20px 22px;
  font-family: var(--serif); font-size: 15px; line-height: 1.85; color: var(--ink-2);
  position: relative;
}
.creed-item::before { content: "“"; position: absolute; right: 12px; top: 2px; font-size: 34px; color: #cfe2f7; font-family: Georgia, serif; }
.founder-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.founder-note strong { color: var(--ink-2); font-weight: 600; }

/* ---------- 发展历程：深蓝 + 横向年份时间轴 ---------- */
.tpl-history { position: relative; overflow: hidden; color: #fff; padding: 86px 0 88px; background: #0a3168; }
.tpl-history::before {
  content: ""; position: absolute; inset: 0;
  background: url('../img/history-blue.jpg') center / cover no-repeat; opacity: .22;
}
.tpl-history::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,40,90,.86), rgba(8,52,110,.72));
}
.tpl-history .container { position: relative; z-index: 1; }
.tpl-history .tpl-head h2 { color: #fff; }
.tpl-history .tpl-head .eyebrow { color: var(--gold-light); }
.tpl-history .tpl-head h2::after { background: #fff; }
.year-axis { display: flex; position: relative; margin: 0 0 32px; }
.year-axis::before { content: ""; position: absolute; left: 8%; right: 8%; top: 8px; height: 1px; background: rgba(255,255,255,.4); }
.year-axis button {
  flex: 1; background: none; border: 0; cursor: pointer; position: relative;
  padding: 32px 4px 0; color: rgba(255,255,255,.68); font-size: 15px;
  letter-spacing: 1px; transition: color .2s;
}
.year-axis button::before {
  content: ""; position: absolute; left: 50%; top: 2px; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: #0a3168; border: 2px solid rgba(255,255,255,.65);
}
.year-axis button.on { color: #fff; font-weight: 600; }
.year-axis button.on::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.history-panel {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  padding: 30px 34px; min-height: 132px;
}
.history-panel .hp-year { font-family: var(--serif); font-size: 22px; color: var(--gold-light); letter-spacing: 2px; }
.history-panel .hp-label { font-size: 14px; color: #fff; margin-left: 14px; letter-spacing: 1px; }
.history-panel p { font-size: 15.5px; color: rgba(255,255,255,.83); line-height: 1.95; margin: 14px 0 0; }

/* ---------- 首页联系区块 ---------- */
.tpl-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.tpl-tel { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); letter-spacing: 2px; display: block; margin: 6px 0 12px; }
.tpl-contact-side p { font-size: 14.5px; color: var(--muted); line-height: 1.95; margin: 0 0 10px; }

/* ---------- 内页页头模板化 ---------- */
.page-head { text-align: center; padding: 66px 0 58px; }
.page-head .container { max-width: 900px; }
.page-head .eyebrow { justify-content: center; display: flex; }
.page-head h1 { letter-spacing: 5px; }
.page-head h1::after { content: ""; display: block; width: 46px; height: 2px; background: #fff; margin: 18px auto 0; }
.page-head p { margin: 18px auto 0; }
.account-head { text-align: center; }
.account-head .eyebrow { justify-content: center; display: flex; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .tpl-about, .tpl-culture, .tpl-contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .creed-strip { grid-template-columns: repeat(2, 1fr); }
  .tpl-culture-photo { max-height: 420px; }
}
@media (max-width: 760px) {
  .tpl-hero { padding: 54px 0 48px; }
  .tpl-hero-logo { width: 158px; }
  .tpl-hero h1 { font-size: 30px; letter-spacing: 4px; }
  .tpl-hero-meta { flex-wrap: wrap; row-gap: 22px; margin-top: 40px; }
  .tpl-hero-meta div { flex: 0 0 50%; border-right: 0; }
  .tpl-hero-meta strong { font-size: 22px; }
  .tpl-tabs .container { flex-wrap: wrap; }
  .tpl-tabs a { flex: 0 0 50%; font-size: 12.5px; letter-spacing: 1px; padding: 13px 4px; }
  .tpl-head { margin-bottom: 34px; }
  .tpl-head h2, .section-head.center h2 { font-size: 24px; letter-spacing: 2px; }
  .creed-strip { grid-template-columns: 1fr; }
  .tpl-history { padding: 62px 0 66px; }
  .year-axis { flex-wrap: wrap; }
  .year-axis::before { display: none; }
  .year-axis button { flex: 0 0 33.33%; padding: 12px 2px; font-size: 13px; }
  .year-axis button::before { display: none; }
  .history-panel { padding: 22px; }
  .header-tel span { display: none; }
  .header-tel svg { width: 17px; height: 17px; }
  .header-actions { gap: 8px; }
  .page-head { padding: 48px 0 42px; }
}

/* ---------- 模板版式补充 ---------- */
#authArea { display: flex; align-items: center; gap: 8px; }
section[id] { scroll-margin-top: 88px; }
.tpl-head .section-lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.tpl-history .tpl-head .section-lead { max-width: 760px; margin-left: auto; margin-right: auto; }
#homeNotices .notice-list, #aboutCulture .culture-list { margin-top: 0; }
.tpl-about .notice-list { margin-top: 24px; }
.tpl-hero h1 em { font-style: normal; color: #d8ecff; }
@media (max-width: 760px) {
  .tpl-hero h1 { font-size: 26px; letter-spacing: 2px; line-height: 1.5; }
  .tpl-hero .hero-lead { font-size: 13.5px; letter-spacing: 1px; }
  .tpl-hero .hero-sub { font-size: 12px; letter-spacing: 0; line-height: 1.8; }
  .tpl-hero-meta div { padding: 0 5px; min-width: 0; }
  .tpl-hero-meta strong { font-size: 20px; }
  .tpl-hero-meta span { font-size: 10.5px; letter-spacing: .5px; }
  .tpl-tabs a { flex: 0 0 50%; }
}
