/* ==========================================================================
   河北哎上课 — 专升本一站式备考平台官网
   品牌调性：明黄 #FFD60A · 墨黑 · 红色点缀 | 简约大气 · 活力教育
   ========================================================================== */

:root {
  --ink: #17181b;
  --ink-2: #24262b;
  --text: #43464d;
  --muted: #85888f;
  --line: #ececec;
  --bg: #ffffff;
  --soft: #faf8f2;
  --yellow: #ffd60a;
  --yellow-deep: #f2c200;
  --yellow-soft: #fff8d6;
  --red: #e8442e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 24, 27, .05), 0 12px 32px rgba(23, 24, 27, .07);
  --shadow-lg: 0 8px 24px rgba(23, 24, 27, .08), 0 32px 64px rgba(23, 24, 27, .12);
  --max: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

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

/* ---------------------------------------------------------------- 布局工具 */

.section { padding: 104px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-desc { max-width: 680px; color: var(--muted); font-size: 17px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-desc { margin: 0 auto; }

.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 94%, transparent 94%);
  padding: 0 2px;
}
.em-red { color: var(--red); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23,24,27,.25); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(242,194,0,.4); }
.btn--yellow:hover { background: var(--yellow-deep); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--yellow); transform: translateY(-2px); }
.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,.65); }

/* ------------------------------------------------------------------ 顶部 */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(23,24,27,.05); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  background: var(--yellow);
  display: grid; place-items: center;
  font-size: 17px; font-weight: 900; color: var(--ink);
  box-shadow: 0 4px 12px rgba(242,194,0,.45);
}
.logo__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.logo__name { font-size: 19px; font-weight: 900; color: var(--ink); letter-spacing: .02em; }
.logo__sub { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--ink); background: var(--yellow-soft); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--yellow);
}

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { height: 42px; padding: 0 22px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------------ 首屏 */

.hero {
  position: relative;
  padding: 96px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(640px 360px at 12% 0%, rgba(255, 214, 10, .22), transparent 60%),
    radial-gradient(560px 340px at 96% 12%, rgba(255, 214, 10, .16), transparent 62%),
    #fffdf4;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .14;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
  z-index: 1;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 26px;
}
.hero__tag b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.24; margin-bottom: 22px; }
.hero__desc { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 28px; border-top: 1px solid rgba(23,24,27,.1); }
.hero__points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero__points i {
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
}
.hero__points i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* 首屏右侧：APP 卡片 */
.hero__visual { position: relative; display: flex; justify-content: center; }
.app-card {
  position: relative;
  width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  text-align: center;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(242, 194, 0, .55);
  border-radius: 18px;
  pointer-events: none;
}
.app-card img { width: 200px; margin: 0 auto 18px; }
.app-card b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.app-card span { font-size: 14px; color: var(--muted); }

.viz-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}
.viz-float b { font-size: 15px; color: var(--ink); display: block; line-height: 1.25; }
.viz-float span { font-size: 12px; color: var(--muted); }
.viz-float i {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--yellow); color: var(--ink);
  font-style: normal; font-weight: 900; font-size: 14px;
}
.viz-float--1 { left: -6px; top: 34px; }
.viz-float--2 { right: -10px; bottom: 44px; animation-delay: 1.4s; }
.viz-float--2 i { background: var(--red); color: #fff; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------------ 数据 */

.stats { background: var(--ink); color: #fff; padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat b i { font-style: normal; font-size: .5em; margin-left: 3px; color: #fff; opacity: .85; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .62); }

/* ------------------------------------------------------------------ 卡片 */

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e3ddc8; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: 22px;
  font-weight: 900;
}
.card:nth-child(even) .card__icon { background: var(--ink); color: var(--yellow); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card__tags span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

/* ----------------------------------------------------------- 师资卡片 */

.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard img { width: 100%; }

/* --------------------------------------------------------------- 轮播 */

.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.carousel__track { display: flex; transition: transform .6s cubic-bezier(.3, .8, .3, 1); }
.carousel__slide { flex: 0 0 100%; }
.carousel__slide img { width: 100%; }
.carousel__dots {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel__dots button {
  width: 26px; height: 5px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
  padding: 0;
}
.carousel__dots button.is-active { background: var(--yellow); width: 38px; }

/* --------------------------------------------------------------- 图文分栏 */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.check-list i {
  width: 22px; height: 22px; flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid; place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

/* ------------------------------------------------------------------ 流程 */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.step.is-active::before { background: var(--yellow); }
.step__no { font-size: 13px; font-weight: 900; color: var(--ink); letter-spacing: .1em; margin: 20px 0 6px; display: block; }
.step__no em { font-style: normal; color: var(--red); }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ 环境 */

.gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ------------------------------------------------------------ 关键词条 */

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips span {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  transition: all .2s ease;
}
.chips span:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }

/* ------------------------------------------------------------------ CTA */

.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: -220px;
  transform: translateX(-50%);
  width: 900px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, .28), transparent);
  pointer-events: none;
}
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.cta h2 .hl { color: var(--ink); }
.cta h2 em { font-style: normal; color: var(--yellow); }
.cta p { color: rgba(255, 255, 255, .66); max-width: 620px; margin: 0 auto 34px; position: relative; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ------------------------------------------------------------------ 联系 */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-list { display: flex; flex-direction: column; margin-bottom: 32px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item i {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center;
  font-style: normal; font-weight: 900;
}
.info-item span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.info-item b { font-size: 16px; color: var(--ink); font-weight: 700; }
.info-item p { font-size: 15px; color: var(--text); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a9adb5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, .35);
}
.field textarea { resize: vertical; min-height: 116px; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form__msg {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.form__msg.is-show { display: block; }

.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.qr-card img { width: 160px; margin: 0 auto 16px; }
.qr-card b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.qr-card span { font-size: 13px; color: var(--muted); }

.map {
  height: 240px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 253, 244, .75), rgba(255, 253, 244, .75)),
    repeating-linear-gradient(0deg, #f0ede2 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, #f0ede2 0 1px, transparent 1px 32px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.map b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.map i {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-style: normal; font-weight: 900;
  margin-bottom: 10px;
}

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

.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 72px 0 28px; font-size: 14px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer .logo { margin-bottom: 16px; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .45); }
.footer__about { max-width: 300px; line-height: 1.9; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.footer li { margin-bottom: 10px; }
.footer li a { transition: color .2s ease; }
.footer li a:hover { color: var(--yellow); }
.footer__qrs { display: flex; gap: 20px; }
.footer__qr { text-align: center; }
.footer__qr img {
  width: 104px; height: 104px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}
.footer__qr span { display: block; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

.footer__icp a,
.footer__ga a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .25s ease;
}

.footer__icp a:hover,
.footer__ga a:hover {
  color: var(--yellow, #ffd60a);
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ------------------------------------------------------------ 页面横幅 */

.page-banner {
  padding: 72px 0 64px;
  background:
    radial-gradient(560px 300px at 88% -20%, rgba(255, 214, 10, .28), transparent 62%),
    linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.page-banner p { color: var(--muted); font-size: 17px; max-width: 660px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ 动效 */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- 校区一览 */

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.campus-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.campus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #e3ddc8;
}
.campus-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.campus-card--featured .campus-card__tag {
  background: var(--ink);
  color: var(--yellow);
}
.campus-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--ink);
}
.campus-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .02em;
  margin: 0 0 14px;
}
.campus-card__phone svg { flex: none; }
.campus-card__phone:hover { color: var(--ink); }
.campus-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.campus-card__sub {
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--yellow);
  margin-bottom: 10px;
  font-size: 14px;
}
.campus-card__sub:last-child { margin-bottom: 0; }
.campus-card__sub b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 13.5px;
}
.campus-card--wide { grid-column: span 2; }
.campus-card__subs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.campus-card__subs li {
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--yellow);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.campus-card__subs li b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 13.5px;
}

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

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .viz-float--1 { left: -6px; }
  .viz-float--2 { right: -6px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { max-height: 380px; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-card--wide { grid-column: span 2; }
  .campus-card__subs { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav a.is-active::after { display: none; }
  .header__cta .btn { display: none; }
  .burger { display: grid; }
  .hero { padding: 56px 0 72px; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .qr-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .viz-float { display: none; }
  .app-card { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
