/* ==========================================================
   中涯教育 · 设计系统
   ========================================================== */

:root {
  --ink: #1B1D21;
  --ink-2: #3A3E45;
  --ink-3: #565C65;
  --muted: #8A9099;
  --line: #E6E8EC;
  --line-soft: #F1F2F5;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-cream: #FBF7F0;
  --navy: #17181C;
  --navy-2: #26282E;
  --brand-red: #DE3226;
  --brand-red-deep: #BC2419;
  --gold: #F0A31B;
  --gold-deep: #B9780C;
  --gold-soft: #FDF2D9;
  --blue: #1D5C8F;
  --teal: #14776E;
  --red: #C4372B;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05), 0 4px 12px rgba(23, 24, 28, .04);
  --shadow-md: 0 2px 6px rgba(23, 24, 28, .06), 0 16px 40px -12px rgba(23, 24, 28, .16);
  --shadow-lg: 0 30px 70px -30px rgba(23, 24, 28, .38);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-num: "DIN Alternate", "Bebas Neue", "Optima", Georgia, "Times New Roman", serif;

  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1360px; }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(240, 163, 27, .28); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar .tel { color: #fff; font-weight: 600; letter-spacing: .04em; }
.topbar svg { width: 13px; height: 13px; display: inline-block; vertical-align: -1px; opacity: .6; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header.is-stuck { box-shadow: 0 8px 30px -18px rgba(15, 36, 56, .35); border-color: transparent; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 38px; width: auto; display: block; border-radius: 6px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(150deg, var(--brand-red) 0%, var(--brand-red-deep) 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.brand-mark::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(circle at 50% 0, rgba(240, 163, 27, .55), transparent 65%);
}
.brand-mark span { color: #fff; font-size: 17px; font-weight: 700; position: relative; z-index: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.brand-sub { font-size: 10px; color: var(--muted); letter-spacing: .22em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: block; padding: 9px 15px; font-size: 15px; color: var(--ink-2);
  border-radius: 7px; transition: color .2s, background .2s;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links > li > a.active { color: var(--ink); font-weight: 600; }
.nav-links > li > a.active::after {
  content: ""; display: block; width: 16px; height: 2px; background: var(--gold);
  margin: 5px auto -3px; border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; padding: 0; place-items: center;
}
.nav-toggle i { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .3s; }
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: .3s;
}
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; font-size: 15px; font-weight: 500; border-radius: 8px;
  border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--brand-red); color: #fff; box-shadow: 0 8px 20px -10px rgba(222, 50, 38, .65); }
.btn-primary:hover { background: var(--brand-red-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(222, 50, 38, .6); }
.btn-gold { background: var(--gold); color: #3A2506; box-shadow: 0 8px 20px -10px rgba(240, 163, 27, .75); }
.btn-gold:hover { background: #E29511; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 6px; }
.btn-block { width: 100%; }

/* ---------- 通用版块 ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 0 0 96px; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, .74); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.bg-navy .eyebrow { color: var(--gold); }
.section-head h2 { font-size: 38px; letter-spacing: -.02em; margin-bottom: 18px; }
.section-head p { font-size: 16.5px; color: var(--ink-3); line-height: 1.85; }
.bg-navy .section-head p { color: rgba(255, 255, 255, .68); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D6E0EB; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 20px;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.blue { background: #FCE9E5; color: var(--red); }
.icon-badge.teal { background: #E7F4F2; color: var(--teal); }
.icon-badge.red { background: #FCE9E5; color: var(--red); }

/* ---------- 服务入口大卡 ---------- */
.service-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px 28px; position: relative;
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand-red), var(--gold));
  transition: width .45s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #D6E0EB; }
.service-card:hover::before { width: 100%; }
.service-card .idx {
  position: absolute; right: 24px; top: 22px; font-family: var(--font-num);
  font-size: 34px; color: #EDF1F6; font-weight: 700; letter-spacing: .04em;
}
.service-card h3 { font-size: 21px; margin-bottom: 6px; }
.service-card .en { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.service-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; min-height: 78px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 22px; }
.tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line-soft);
}
.tag-gold { background: var(--gold-soft); color: var(--gold-deep); border-color: #EADFC9; }
.tag-blue { background: #FCE9E5; color: var(--red); border-color: #F3D0CA; }
.tag-teal { background: #E7F4F2; color: var(--teal); border-color: #D3E9E5; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.service-card:hover .link-arrow { color: var(--gold-deep); }
.service-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: 84px 0 0;
}
.hero::before {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -180px; top: -280px;
  background: radial-gradient(circle, rgba(222, 50, 38, .22), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding-bottom: 76px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px;
  padding: 6px 14px 6px 8px; border-radius: 999px; color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 26px;
}
.hero-tag b { background: var(--gold); color: #2A1F0F; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.hero h1 { font-size: 54px; line-height: 1.24; letter-spacing: -.025em; color: #fff; margin-bottom: 24px; font-weight: 600; }
.hero h1 em {
  font-style: normal; color: var(--gold); position: relative;
  background-image: linear-gradient(transparent 68%, rgba(240, 163, 27, .3) 68%);
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero-sub { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .7); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-note { font-size: 12.5px; color: rgba(255, 255, 255, .45); letter-spacing: .02em; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats li { flex: 1; padding: 22px 0; border-right: 1px solid rgba(255, 255, 255, .09); }
.hero-stats li:last-child { border-right: 0; }
.hero-stats .num { font-family: var(--font-num); font-size: 32px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: .01em; }
.hero-stats .num i { font-style: normal; font-size: 16px; color: var(--gold); margin-left: 2px; }
.hero-stats .lab { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin-top: 8px; letter-spacing: .04em; }

/* Hero 右侧面板 */
.hero-panel { position: relative; }
.panel-card {
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-xl); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-head .t { font-size: 14px; color: rgba(255, 255, 255, .8); font-weight: 600; letter-spacing: .04em; }
.panel-head .s { font-size: 11px; color: rgba(255, 255, 255, .38); letter-spacing: .1em; }
.plan-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.plan-row:last-of-type { border-bottom: 0; }
.plan-badge {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.plan-badge.a { background: rgba(222, 50, 38, .22); color: #F2968D; }
.plan-badge.b { background: rgba(240, 163, 27, .24); color: #F3C46B; }
.plan-badge.c { background: rgba(255, 255, 255, .14); color: #C8CDD6; }
.plan-body { flex: 1; min-width: 0; }
.plan-body .n { font-size: 13.5px; color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-body .m { font-size: 11.5px; color: rgba(255, 255, 255, .42); }
.plan-pct { font-family: var(--font-num); font-size: 15px; color: var(--gold); font-weight: 700; }
.panel-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between;
}
.panel-foot .k { font-size: 12px; color: rgba(255, 255, 255, .5); }
.panel-foot .v { font-size: 13px; color: #fff; font-weight: 600; }

/* Hero 底部跑马灯 */
.hero-marquee { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .16); overflow: hidden; }
.marquee-track { display: flex; gap: 56px; padding: 16px 0; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { font-size: 13px; color: rgba(255, 255, 255, .38); letter-spacing: .12em; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.marquee-track span::before { content: "◆"; font-size: 7px; color: var(--gold); opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 页面头部（子页） ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 72px 0 64px; }
.page-hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -140px; top: -300px;
  background: radial-gradient(circle, rgba(222, 50, 38, .18), transparent 62%);
}
.page-hero .container { position: relative; z-index: 2; }
.crumb { font-size: 12.5px; color: rgba(255, 255, 255, .45); margin-bottom: 22px; letter-spacing: .04em; }
.crumb a:hover { color: var(--gold); }
.crumb span { margin: 0 8px; opacity: .5; }
.page-hero h1 { font-size: 42px; color: #fff; letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero .lead { font-size: 16.5px; color: rgba(255, 255, 255, .7); max-width: 680px; line-height: 1.85; }
.page-hero-meta { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.page-hero-meta div { }
.page-hero-meta .k { font-family: var(--font-num); font-size: 26px; color: var(--gold); font-weight: 700; }
.page-hero-meta .v { font-size: 12.5px; color: rgba(255, 255, 255, .5); letter-spacing: .04em; }

/* ---------- 数据/特性列表 ---------- */
.feature { display: flex; gap: 18px; }
.feature .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.feature h4 { font-size: 16.5px; margin-bottom: 7px; }
.feature p { font-size: 14px; color: var(--ink-3); line-height: 1.8; }

.check-list { display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-3); line-height: 1.75; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9780C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.check-list.dark li { color: rgba(255, 255, 255, .72); }

/* ---------- 对比 / 表格 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.data thead th {
  background: var(--bg-soft); text-align: left; padding: 15px 20px; font-weight: 600;
  font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody td { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #FAFCFE; }
table.data .school { font-weight: 600; color: var(--ink); }
table.data .sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), var(--line) 70%, transparent); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold); box-shadow: 0 0 0 4px #fff;
}
.tl-item.done::before { background: var(--gold); }
.tl-when { font-family: var(--font-num); font-size: 13px; color: var(--gold-deep); font-weight: 700; letter-spacing: .06em; margin-bottom: 5px; }
.tl-item h4 { font-size: 16px; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: var(--ink-3); line-height: 1.75; }

/* 横向时间轴 */
.tl-horizontal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.tl-horizontal::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--line); }
.tl-h { position: relative; padding: 42px 22px 0 0; }
.tl-h::before {
  content: ""; position: absolute; top: 9px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
}
.tl-h .m { position: absolute; top: -8px; left: 22px; font-size: 12px; color: var(--gold-deep); font-weight: 700; letter-spacing: .08em; }
.tl-h h4 { font-size: 15.5px; margin-bottom: 7px; }
.tl-h p { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }

/* ---------- 工具面板（位次换算） ---------- */
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.tool-grid { display: grid; grid-template-columns: 420px 1fr; }
.tool-form { padding: 38px; border-right: 1px solid var(--line-soft); background: #FCFDFE; }
.tool-form h3 { font-size: 20px; margin-bottom: 8px; }
.tool-form .hint { font-size: 13px; color: var(--muted); margin-bottom: 26px; line-height: 1.7; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 163, 27, .18);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool-result { padding: 38px; display: flex; flex-direction: column; }
.result-empty { margin: auto; text-align: center; color: var(--muted); }
.result-empty svg { width: 46px; height: 46px; margin: 0 auto 16px; opacity: .3; }
.result-empty p { font-size: 14px; }
.result-top { display: flex; align-items: flex-end; gap: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; flex-wrap: wrap; }
.result-top .big { font-family: var(--font-num); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.result-top .big small { font-size: 14px; font-family: var(--font); color: var(--muted); font-weight: 400; margin-left: 6px; }
.result-top .meta { display: flex; gap: 26px; }
.result-top .meta div span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.result-top .meta div b { font-family: var(--font-num); font-size: 20px; color: var(--ink); font-weight: 700; }
.tier-list { display: grid; gap: 10px; }
.tier-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 9px;
  background: var(--bg-soft); border: 1px solid transparent; transition: .25s;
}
.tier-row:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.tier-flag {
  width: 40px; height: 26px; border-radius: 5px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; letter-spacing: .04em;
}
.tier-flag.a { background: #FCE9E5; color: var(--red); }
.tier-flag.b { background: var(--gold-soft); color: var(--gold-deep); }
.tier-flag.c { background: #ECEEF2; color: #454B54; }
.tier-row .name { flex: 1; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.tier-row .name small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.tier-row .p { font-family: var(--font-num); font-size: 13.5px; color: var(--muted); }
.disclaimer { font-size: 11.5px; color: var(--muted); margin-top: 18px; line-height: 1.7; }

/* ---------- 院校筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.chip {
  padding: 7px 16px; font-size: 13.5px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-3); transition: .22s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-box { position: relative; margin-left: auto; }
.search-box input {
  width: 240px; padding: 9px 14px 9px 36px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 999px; outline: none; background: #fff; color: var(--ink);
}
.search-box input:focus { border-color: var(--gold); }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }

.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.school-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  transition: .3s var(--ease);
}
.school-card:hover { border-color: #D3DEEA; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.school-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.school-card h4 { font-size: 16px; }
.school-card .loc { font-size: 12px; color: var(--muted); margin-top: 3px; }
.school-card .lvl { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--gold-soft); color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.school-card .desc { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin: 12px 0 14px; min-height: 44px; }
.school-card .foot { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 常见误区 ---------- */
.myth { border-left: 2px solid var(--red); padding: 4px 0 4px 20px; margin-bottom: 26px; }
.myth .q { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.myth .q::before { content: "误区 "; font-size: 11px; color: var(--red); background: #FCE9E5; padding: 2px 7px; border-radius: 4px; margin-right: 9px; vertical-align: 2px; letter-spacing: .05em; }
.myth .a { font-size: 14px; color: var(--ink-3); line-height: 1.8; }
.myth .a strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; background: none; border: 0; text-align: left;
  font-size: 16px; font-weight: 500; color: var(--ink); font-family: inherit;
}
.faq-q .ic { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px; transition: .3s var(--ease);
}
.faq-q .ic::before { left: 50%; top: 4px; bottom: 4px; width: 1.5px; transform: translateX(-50%); }
.faq-q .ic::after { top: 50%; left: 4px; right: 4px; height: 1.5px; transform: translateY(-50%); }
.faq-item.open .faq-q .ic::before { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq-a p { padding: 0 4px 24px; font-size: 14.5px; color: var(--ink-3); line-height: 1.9; max-width: 860px; }

/* ---------- 预约 / CTA ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; padding: 76px 0; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 85% 50%, rgba(222, 50, 38, .22), transparent 60%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: 34px; color: #fff; margin-bottom: 12px; letter-spacing: -.02em; }
.cta-band p { font-size: 15px; color: rgba(255, 255, 255, .65); }

.form-card { background: #fff; border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.form-ok {
  display: none; text-align: center; padding: 30px 0;
}
.form-ok.show { display: block; }
.form-ok .ico { width: 54px; height: 54px; border-radius: 50%; background: #E7F4F2; color: var(--teal); display: grid; place-items: center; margin: 0 auto 18px; }
.form-ok h4 { font-size: 18px; margin-bottom: 8px; }
.form-ok p { font-size: 14px; color: var(--ink-3); }

/* ---------- 页脚 ---------- */
.site-footer { background: #101114; color: rgba(255, 255, 255, .55); padding: 68px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .35); }
.site-footer h5 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-about { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .45); margin: 20px 0; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 12px; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .35);
}
.footer-bottom .links { display: flex; gap: 20px; }

/* ---------- 悬浮咨询 ---------- */
.float-consult {
  position: fixed; right: 24px; bottom: 28px; z-index: 80;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-btn {
  display: flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px;
  background: var(--navy); color: #fff; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 14px 34px -12px rgba(15, 36, 56, .7); border: 1px solid rgba(255, 255, 255, .1);
  transition: .3s var(--ease);
}
.float-btn:hover { transform: translateY(-2px); background: var(--navy-2); }
.float-btn svg { width: 17px; height: 17px; color: var(--gold); }
.float-btn .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 520px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .school-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-horizontal { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .tl-horizontal::before { display: none; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .site-header { position: sticky; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(15, 36, 56, .3);
    gap: 0; display: none;
  }
  .nav-links.show { display: flex; }
  .nav-links > li > a { padding: 13px 6px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links > li > a.active::after { display: none; }
  .topbar-right .hide-sm { display: none; }
  .section { padding: 68px 0; }
  .section-head h2 { font-size: 30px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 38px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-form { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 28px; }
  .tool-result { padding: 28px; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .cta-band h2 { font-size: 26px; }
  .page-hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats li { flex: 1 0 45%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; }
  .hero-stats li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .hero-stats .num { font-size: 26px; }
  .g-4 { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 25px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .tl-horizontal { grid-template-columns: 1fr; }
  .float-consult .float-btn span { display: none; }
  .float-btn { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .result-top .big { font-size: 34px; }
}
