/* =========================================================
   成都华师单招 · 站点样式
   ========================================================= */

:root {
  --brand: #e8452b;
  --brand-dark: #c3321b;
  --brand-soft: #fff1ee;
  --blue: #1b57d6;
  --blue-soft: #eef3ff;
  --gold: #f5a623;
  --ink: #161b2b;
  --gray: #5c6478;
  --gray-light: #8b93a7;
  --line: #e6e9f0;
  --bg: #f6f7fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(22, 27, 43, .06);
  --shadow: 0 8px 28px rgba(22, 27, 43, .09);
  --shadow-lg: 0 18px 50px rgba(22, 27, 43, .14);
  --max: 1200px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }

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

/* ---------- 通用排版 ---------- */
.sec { padding: 76px 0; }
.sec-alt { background: var(--bg); }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.sec-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}
.sec-title {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}
.sec-title em { font-style: normal; color: var(--brand); }
.sec-sub { color: var(--gray); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(232, 69, 43, .28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232, 69, 43, .34); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1547b0; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .hot { color: var(--gold); font-weight: 600; }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a:hover { color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), #ff7a45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(232, 69, 43, .3);
}
.logo-text { line-height: 1.2; }
.logo-text b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.logo-text small { display: block; font-size: 12px; color: var(--gray-light); letter-spacing: 1.5px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative;
  padding: 8px 14px;
  font-size: 15.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: all .2s;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-menu a.active { color: var(--brand); font-weight: 700; }
.nav-menu a.active::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2.5px; border-radius: 3px; background: var(--brand);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -.3px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3.5px auto; border-radius: 2px; transition: .22s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 460px at 88% -10%, rgba(27, 87, 214, .10), transparent 60%),
    radial-gradient(760px 420px at 6% 12%, rgba(232, 69, 43, .12), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fdf7f5 60%, #fff 100%);
  padding: 62px 0 78px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -140px; bottom: -190px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 69, 43, .10), transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

.hero h1 {
  font-size: 46px; line-height: 1.24; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(245, 166, 35, .38); border-radius: 4px; z-index: -1;
}
.hero-lead { font-size: 17.5px; color: var(--gray); margin-bottom: 24px; max-width: 560px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; }
.hero-points li { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8452b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
  flex-shrink: 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.countdown {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 12px 20px; box-shadow: var(--shadow-sm);
}
.countdown .label { font-size: 13.5px; color: var(--gray); }
.countdown .nums { display: flex; gap: 8px; align-items: center; }
.countdown .nums b {
  min-width: 52px; text-align: center; font-size: 20px; font-weight: 800;
  color: var(--brand); background: var(--brand-soft); border-radius: 8px; padding: 2px 6px;
  font-variant-numeric: tabular-nums;
}
.countdown .nums i { font-style: normal; font-size: 13px; color: var(--gray-light); }

/* 报名卡 */
.sign-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 28px;
  border-top: 4px solid var(--brand);
  position: relative;
}
.sign-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.sign-card .tip { font-size: 13.5px; color: var(--gray); margin-bottom: 20px; }
.field { margin-bottom: 13px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe;
  transition: .2s; color: var(--ink);
}
.field textarea { height: 84px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(232, 69, 43, .1);
}
.field .err { display: none; font-size: 12.5px; color: var(--brand); margin-top: 4px; }
.field.invalid input, .field.invalid select { border-color: var(--brand); background: #fff8f7; }
.field.invalid .err { display: block; }
.sign-note { font-size: 12.5px; color: var(--gray-light); text-align: center; margin-top: 12px; line-height: 1.6; }
.form-ok {
  display: none; text-align: center; padding: 26px 8px;
}
.form-ok .tick {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8452b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 28px;
}
.form-ok b { display: block; font-size: 18px; margin-bottom: 6px; }
.form-ok p { color: var(--gray); font-size: 14px; }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -1px; color: #fff; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 20px; font-weight: 700; margin-left: 2px; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .65); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }

/* ---------- 卡片通用 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: .25s; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* 班型卡 */
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s; height: 100%;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 12px 34px rgba(232, 69, 43, .16); }
.plan-top { padding: 26px 26px 20px; border-bottom: 1px dashed var(--line); position: relative; }
.plan-top .flag {
  position: absolute; top: 0; right: 0;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-bottom-left-radius: 12px;
}
.plan-top h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.plan-top .for { font-size: 13.5px; color: var(--gray); }
.plan-body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.plan-body ul { margin-bottom: 20px; }
.plan-body li { display: flex; gap: 9px; font-size: 14.5px; padding: 5px 0; color: #384054; }
.plan-body li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 5px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8452b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.plan-meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-meta .label { font-size: 12.5px; color: var(--gray-light); }
.plan-meta .val { font-size: 15px; font-weight: 700; }
.plan-actions { display: flex; gap: 10px; margin-top: 14px; }

/* 师资 */
.teacher { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.teacher:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.teacher-photo {
  height: 190px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; font-weight: 800; color: rgba(255, 255, 255, .92);
  background: linear-gradient(135deg, #1b57d6, #4d84f5);
  letter-spacing: 2px;
}
.teacher:nth-child(2n) .teacher-photo { background: linear-gradient(135deg, #e8452b, #ff8a5c); }
.teacher:nth-child(3n) .teacher-photo { background: linear-gradient(135deg, #0f9d76, #4fd1a5); }
.teacher:nth-child(4n) .teacher-photo { background: linear-gradient(135deg, #7a4fd8, #b18bff); }
.teacher:nth-child(5n) .teacher-photo { background: linear-gradient(135deg, #f5a623, #ffcd6b); }
.teacher-info { padding: 20px; }
.teacher-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.teacher-info .role { font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.teacher-info p { font-size: 14px; color: var(--gray); }
.teacher-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 6px; background: var(--bg); color: var(--gray); }

/* 案例 */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 18px; align-items: flex-start; transition: .25s;
}
.case:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.case-avatar {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), #ff8a5c);
}
.case:nth-child(2n) .case-avatar { background: linear-gradient(135deg, var(--blue), #6a9bff); }
.case:nth-child(3n) .case-avatar { background: linear-gradient(135deg, #0f9d76, #52d6ab); }
.case-body h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.case-body .school { font-size: 14px; color: var(--brand); font-weight: 600; margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--gray); }
.case-score {
  margin-left: auto; text-align: center; flex-shrink: 0;
  background: var(--brand-soft); border-radius: 12px; padding: 8px 14px; min-width: 78px;
}
.case-score b { display: block; font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.case-score span { font-size: 11.5px; color: var(--gray-light); }

/* 流程时间轴 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow-item { text-align: center; position: relative; }
.flow-num {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--brand); position: relative; z-index: 2;
}
.flow-item:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 58%; right: -42%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.flow-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.flow-item p { font-size: 13.5px; color: var(--gray); padding: 0 4px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 56px 18px 22px; font-size: 16.5px; font-weight: 700; color: var(--ink);
  position: relative; display: block;
}
.faq-q::after {
  content: ""; position: absolute; right: 22px; top: 26px;
  width: 11px; height: 11px; border-right: 2.4px solid var(--brand); border-bottom: 2.4px solid var(--brand);
  transform: rotate(45deg); transition: .25s;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); top: 28px; }
.faq-a { display: none; padding: 0 22px 20px; color: var(--gray); font-size: 15px; border-top: 1px dashed var(--line); padding-top: 16px; }
.faq-item.open .faq-a { display: block; }

/* 资讯 */
.news-item {
  display: grid; grid-template-columns: 108px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: .25s; align-items: center;
}
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.news-date {
  text-align: center; background: var(--bg); border-radius: 12px; padding: 12px 6px;
}
.news-date b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--gray-light); }
.news-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.news-item:hover h3 { color: var(--brand); }
.news-item p { font-size: 14px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 新文章徽标 */
.tag-new {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: var(--brand); border-radius: 4px;
  padding: 2px 6px; vertical-align: middle; white-space: nowrap;
}

/* CTA 条 */
.cta-bar {
  background: linear-gradient(120deg, var(--brand) 0%, #ff7a45 55%, var(--brand-dark) 100%);
  color: #fff; padding: 46px 0; text-align: center;
}
.cta-bar h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-bar p { opacity: .92; margin-bottom: 24px; }
.cta-bar .btn { background: #fff; color: var(--brand); }
.cta-bar .btn:hover { background: #fff8f6; }
.cta-bar .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta-bar .btn-outline:hover { background: rgba(255, 255, 255, .14); }

/* 页面头 */
.pagehead {
  background: linear-gradient(160deg, #fff 0%, #fff3ef 70%, #fff 100%);
  padding: 58px 0 52px; border-bottom: 1px solid var(--line); text-align: center;
}
.pagehead h1 { font-size: 38px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }
.pagehead p { color: var(--gray); font-size: 16.5px; }
.crumb { font-size: 13.5px; color: var(--gray-light); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }

/* 内容区 */
.prose h2 { font-size: 26px; font-weight: 800; margin: 36px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: #3c4459; margin-bottom: 14px; }
.prose ul { margin-bottom: 16px; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; color: #3c4459; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.table-wrap { overflow-x: auto; margin: 18px 0 24px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; min-width: 620px; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
th { background: var(--bg); font-weight: 700; }
tbody tr:hover { background: #fffaf8; }
.callout {
  background: var(--blue-soft); border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0; font-size: 14.5px; color: #2b3a5c;
}
.callout b { color: var(--blue); }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list li {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line);
}
.info-list .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .k { font-size: 13px; color: var(--gray-light); }
.info-list .v { font-size: 16.5px; font-weight: 700; }
.map-box {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  height: 260px; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 14px; text-align: center; padding: 20px;
}

/* 院校 marquee */
.school-marquee { overflow: hidden; padding: 8px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.school-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: #384054;
}
.school-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* 页脚 */
.footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 9px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: rgba(255, 255, 255, .45); }
.f-contact { font-size: 15px; }
.f-contact b { color: #fff; font-size: 22px; font-weight: 800; display: block; margin: 6px 0 12px; letter-spacing: -.4px; }
.qr {
  width: 108px; height: 108px; border-radius: 12px; background: #fff; padding: 6px;
  display: flex; align-items: center; justify-content: center;
}
.qr svg { width: 100%; height: 100%; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px;
}

/* 移动端底部条 */
.mobar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22, 27, 43, .08);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mobar-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.mobar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 48px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg);
}
.mobar a svg { width: 19px; height: 19px; }
.mobar a.hot { background: var(--brand); color: #fff; }

/* 返回顶部 */
.totop {
  position: fixed; right: 20px; bottom: 90px; z-index: 65;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: .25s;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop svg { width: 18px; height: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 38px; }
  .sign-card { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
  .flow-item:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .nav-menu a.active::after { display: none; }
  .nav-cta .btn { display: none; }
  .burger { display: block; }
  .nav-phone { font-size: 17px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 54px 0; }
  .sec-title { font-size: 27px; }
  .pagehead h1 { font-size: 29px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .topbar { display: none; }
  .mobar { display: block; }
  body { padding-bottom: 68px; }
  .totop { bottom: 84px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 16px; }
  .stat b { font-size: 30px; }
  .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-date { display: flex; gap: 6px; align-items: baseline; justify-content: flex-start; padding: 8px 12px; width: fit-content; }
  .news-date b { font-size: 18px; }
  .case { flex-wrap: wrap; }
  .case-score { margin-left: 0; }
  .countdown { width: 100%; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
