:root {
  --navy: #07142e;
  --navy-2: #0c2147;
  --red-dark: #8d0007;
  --red: #c4000b;
  --red-mid: #d61721;
  --red-bright: #eb2810;
  --red-soft: #fff4f4;
  --ink: #222;
  --muted: #6b7280;
  --line: #e6e6e6;
  --paper: #fff;
  --soft: #f6f7f9;
  --shadow-sm: 0 6px 18px rgba(12, 33, 71, 0.06);
  --shadow: 0 16px 40px rgba(122, 4, 9, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background: #fff;
  line-height: 1.72;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.ico {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
}

/* ============================= 头部 ============================= */
.topline {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.topline__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topline__links {
  display: flex;
  gap: 20px;
}

.topline a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.18s ease;
}

.topline a:hover {
  color: #fff;
}

.header-main {
  background: #fff;
}

.header-main__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: left center;
  border-radius: 50%;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand strong {
  color: var(--red);
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.1;
  font-weight: 900;
}

.brand em {
  color: #b0454a;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.header-meta__item {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: #555;
  white-space: nowrap;
}

.header-meta__phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-meta__icon {
  font-size: 30px;
  color: var(--red);
}

.header-meta__item span {
  font-size: 13px;
}

.header-meta__item strong {
  color: #111;
  font-size: 18px;
  line-height: 1.2;
}

.header-meta__phone strong {
  color: var(--red);
  font-size: 23px;
  letter-spacing: 0.5px;
}

.header-actions {
  display: grid;
  gap: 9px;
}

.header-apply {
  min-width: 170px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(196, 0, 11, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-apply .ico {
  font-size: 17px;
}

.header-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(196, 0, 11, 0.32);
}

.site-search {
  display: flex;
  width: 178px;
  height: 32px;
}

.site-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 10px;
  outline: none;
  font-size: 13px;
}

.site-search button {
  width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 4px 4px 0;
  background: var(--red);
  color: #fff;
}

.site-search button .ico {
  font-size: 17px;
}

/* ============================= 导航 ============================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--red), var(--red-mid));
  color: #fff;
  box-shadow: 0 6px 16px rgba(122, 4, 9, 0.22);
}

.nav__inner {
  min-height: 46px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav__inner::-webkit-scrollbar {
  display: none;
}

.nav a {
  position: relative;
  min-width: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 16px;
  width: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.nav a:hover,
.nav a:focus,
.nav a.is-active {
  background: var(--red-dark);
}

/* ============================= 通用按钮 ============================= */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 5px;
  padding: 0 26px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn .ico {
  font-size: 18px;
}

.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--sm .ico {
  font-size: 15px;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  box-shadow: 0 12px 22px rgba(196, 0, 11, 0.24);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(2px);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--red);
}

.btn--outline {
  border: 1px solid var(--red);
  background: #fff;
  color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

/* ============================= 首页 Hero ============================= */
.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0d2247;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: brightness(1.08) contrast(1.06) saturate(1.2);
  transition: opacity 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero__dots button.is-active {
  width: 28px;
  border-radius: 6px;
  background: #fff;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 46, 0.1), rgba(7, 20, 46, 0.04) 42%, rgba(7, 20, 46, 0.26));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 40px 0 56px;
  text-align: center;
}

.hero__slogan {
  margin: 0;
  color: #fff;
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 8px 26px rgba(0, 0, 0, 0.4);
}

.hero__slogan b {
  color: #ffd24a;
}

.hero h1 {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.45);
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(196, 0, 11, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.hero-pills li {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.hero-pills li:last-child {
  border-right: 0;
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.hero-quick a {
  min-width: 150px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(4px);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-quick a .ico {
  font-size: 22px;
}

.hero-quick a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--red);
}

.hero-quick a.hero-quick--accent {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  border-color: transparent;
}

.hero-quick a.hero-quick--accent:hover {
  color: #fff;
  filter: brightness(1.06);
}

/* ============================= 内页 Banner + 面包屑 ============================= */
.page-hero {
  position: relative;
  height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0d2247;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 46, 0.78), rgba(7, 20, 46, 0.32));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 24px 0;
}

.page-hero__content h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
}

.page-hero__content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero__content h1 {
  animation: heroFadeUp 0.8s ease both;
}

.page-hero__content p {
  animation: heroFadeUp 0.8s ease 0.18s both;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__content h1,
  .page-hero__content p {
    animation: none;
  }
}

.breadcrumb {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb .ico {
  font-size: 16px;
  color: var(--red);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span[aria-current] {
  color: var(--red);
  font-weight: 700;
}

.breadcrumb .sep {
  color: #bbb;
}

/* ============================= Section 通用 ============================= */
.section {
  padding: 56px 0;
  background: #fff;
}

.section--soft {
  background: var(--soft);
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  color: #1f2937;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  padding-bottom: 14px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--red);
  border-radius: 3px;
}

.section-head .eyebrow {
  margin: 8px 0 0;
  color: #aab1bd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-head p.section-desc {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}

.section-title-row h2 {
  position: relative;
  color: #1f2937;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  padding-left: 16px;
}

.section-title-row h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 3px;
  background: var(--red);
}

.section-title-row .eyebrow {
  margin: 4px 0 0 16px;
  color: #b3b9c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.more-link .ico {
  font-size: 16px;
}

.more-link:hover {
  color: var(--red);
}

/* ============================= 学校简介（首页） ============================= */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.intro-photo {
  margin: 0;
  position: relative;
}

.intro-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}

.section-copy .eyebrow {
  margin: 0 0 6px;
  color: #b3b9c4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-copy h2 {
  color: #1f2937;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 16px;
}

.section-copy h2 .accent {
  color: var(--red);
}

.section-copy p {
  margin: 0 0 14px;
  color: #555;
  font-size: 15.5px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.stat-row div {
  display: grid;
  gap: 4px;
  border-top: 3px solid var(--red);
  padding-top: 12px;
}

.stat-row strong {
  color: var(--red);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.stat-row span {
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

/* ============================= 专业卡片（首页） ============================= */
.major-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.major-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.major-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.major-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.major-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.major-card:hover .major-card__media img {
  transform: scale(1.06);
}

.major-card__badge {
  position: absolute;
  left: 16px;
  bottom: -22px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  box-shadow: 0 10px 20px rgba(196, 0, 11, 0.32);
}

.major-card__badge .ico {
  font-size: 26px;
}

.major-card__body {
  padding: 18px 18px 20px;
}

.major-card__body h3 {
  color: #222;
  font-size: 19px;
  font-weight: 900;
}

.major-card__body p {
  margin: 8px 0 14px;
  min-height: 66px;
  color: #6b7280;
  font-size: 13.5px;
  line-height: 1.6;
}

.major-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.major-card__more .ico {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.major-card:hover .major-card__more .ico {
  transform: translateX(4px);
}

/* ============================= 专业页 tiles + 筛选 ============================= */
.major-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.major-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.major-chip {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.18s ease;
}

.major-chip:hover,
.major-chip.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.major-search-box {
  position: relative;
  margin-left: auto;
  width: min(280px, 100%);
}

.major-search-box .ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
}

.major-search-box input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px 0 38px;
  outline: none;
}

.major-search-box input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 0, 11, 0.1);
}

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

.major-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.major-tile[hidden] {
  display: none;
}

.major-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.major-tile__media {
  position: relative;
  height: 188px;
  overflow: hidden;
}

.major-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.major-tile:hover .major-tile__media img {
  transform: scale(1.06);
}

.major-tile__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(196, 0, 11, 0.92);
  color: #fff;
}

.major-tile__badge .ico {
  font-size: 24px;
}

.major-tile__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}

.major-tile__body h3 {
  color: #222;
  font-size: 20px;
  font-weight: 900;
}

.major-tile__body p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.major-tile__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-tip {
  margin-top: 22px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ============================= 招生优势 ============================= */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.advantage-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 0, 11, 0.4);
  box-shadow: var(--shadow);
}

.advantage-card__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  transition: background 0.2s ease, color 0.2s ease;
}

.advantage-card__icon .ico {
  font-size: 34px;
}

.advantage-card:hover .advantage-card__icon {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
}

.advantage-card h3 {
  color: #222;
  font-size: 19px;
  font-weight: 900;
}

.advantage-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============================= 校园风采 ============================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  position: relative;
  height: 210px;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #eee;
  cursor: zoom-in;
}

.gallery figure:focus {
  outline: 3px solid rgba(196, 0, 11, 0.3);
  outline-offset: 3px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.07);
}

.gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 46, 0.82));
  color: #fff;
  padding: 26px 14px 12px;
  font-size: 15px;
  font-weight: 800;
}

/* ============================= 新闻公告 ============================= */
.news-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-tab {
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #555;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.18s ease;
}

.news-tab:hover,
.news-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
}

.news-grid[data-variant="featured"] {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 6px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.18s ease, padding 0.18s ease;
}

.news-item:hover {
  background: var(--soft);
  padding-left: 12px;
  padding-right: 12px;
}

.news-date {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.news-item:hover .news-date {
  background: var(--red);
  color: #fff;
}

.news-date strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.news-date em {
  font-style: normal;
  font-size: 12px;
}

.news-item__body {
  min-width: 0;
}

.news-item__body h3 {
  color: #333;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-item:hover .news-item__body h3 {
  color: var(--red);
}

.news-item__body p {
  margin: 4px 0 0;
  color: #9aa3b2;
  font-size: 13px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-item__arrow {
  color: #c7ccd6;
}

.news-item__arrow .ico {
  font-size: 18px;
}

.news-item:hover .news-item__arrow {
  color: var(--red);
}

.news-item--card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-item--card:hover {
  background: #fff;
  padding: 0;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-item--card .news-item__media {
  height: 190px;
  overflow: hidden;
}

.news-item--card .news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-item--card:hover .news-item__media img {
  transform: scale(1.06);
}

.news-item--card .news-item__body {
  padding: 18px;
}

.news-item--card .news-item__body h3 {
  -webkit-line-clamp: 2;
  font-weight: 900;
}

.news-item--card .news-item__body p {
  -webkit-line-clamp: 2;
}

.news-item--card time {
  display: inline-block;
  margin-top: 10px;
  color: #9aa3b2;
  font-size: 13px;
}

/* ============================= 报名流程 ============================= */
.process {
  background: linear-gradient(120deg, #0d2247, #07142e);
  color: #fff;
}

.process .section-head h2 {
  color: #fff;
}

.process .section-head .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 6px, transparent 6px 12px);
}

.process-step__icon {
  position: relative;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.process-step__icon .ico {
  font-size: 36px;
}

.process-step strong {
  position: absolute;
  top: 0;
  right: calc(50% - 50px);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}

.process-step h3 {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 900;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

/* ============================= 报名咨询 CTA 带 ============================= */
.cta-band {
  background:
    linear-gradient(90deg, rgba(196, 0, 11, 0.94), rgba(214, 23, 33, 0.88)),
    url("assets/site/news-campus.jpg") center/cover;
  color: #fff;
  padding: 44px 0;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}

.cta-band__text h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 900;
}

.cta-band__text p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.cta-band__phone {
  display: grid;
  gap: 2px;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.cta-band__phone span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__phone strong {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================= 内页布局：侧栏 + 主体 ============================= */
.page-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.subnav {
  position: sticky;
  top: 64px;
  display: grid;
  gap: 18px;
}

.subnav__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.subnav__title {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  padding: 18px 20px;
}

.subnav__title strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.subnav__title span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.subnav__list {
  display: grid;
}

.subnav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: #444;
  font-weight: 700;
  transition: all 0.18s ease;
}

.subnav__list a::after {
  content: "›";
  color: #c7ccd6;
  font-size: 18px;
}

.subnav__list a:last-child {
  border-bottom: 0;
}

.subnav__list a:hover,
.subnav__list a.is-active {
  background: var(--red-soft);
  color: var(--red);
  padding-left: 26px;
}

.subnav__list a.is-active::after,
.subnav__list a:hover::after {
  color: var(--red);
}

.subnav__contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 22px 20px;
  display: grid;
  gap: 8px;
}

.subnav__contact h3 {
  font-size: 17px;
  font-weight: 900;
}

.subnav__contact .phone {
  color: #ffd24a;
  font-size: 26px;
  font-weight: 900;
}

.subnav__contact p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.subnav__contact .ico {
  font-size: 16px;
  margin-top: 3px;
  color: #ffd24a;
}

.page-main {
  min-width: 0;
}

.content-block {
  margin-bottom: 40px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.block-title .ico {
  font-size: 24px;
  color: var(--red);
}

.block-title h2 {
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
}

.block-title em {
  color: #b3b9c4;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.prose p {
  margin: 0 0 16px;
  color: #555;
  font-size: 15.5px;
  line-height: 1.95;
  text-indent: 2em;
}

.about-figure {
  margin: 0 0 24px;
}

.about-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================= 详情页：新闻 / 专业 ============================= */
.article-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .ico {
  font-size: 16px;
  color: var(--red);
}

.article-cover {
  margin: 0 0 24px;
}

.article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-body p {
  margin: 0 0 16px;
  color: #444;
  font-size: 16px;
  line-height: 2;
  text-indent: 2em;
}

.article-back {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.major-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.major-detail__img {
  margin: 0;
}

.major-detail__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.major-detail__intro h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: #1f2937;
}

.major-detail__intro h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: var(--red);
  border-radius: 3px;
}

.major-detail__intro p {
  margin: 18px 0 22px;
  color: #555;
  font-size: 15.5px;
  line-height: 1.9;
}

.major-detail__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================= 进度查询 ============================= */
.query-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.query-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.query-result[hidden] {
  display: none;
}

.query-card--miss {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #555;
}

.query-card--miss .ico {
  font-size: 24px;
  color: var(--red);
  flex: 0 0 auto;
}

.query-card--miss strong {
  display: block;
  color: #222;
  margin-bottom: 4px;
}

.query-card--miss p {
  margin: 0;
  font-size: 14px;
}

.query-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.query-card__head .ico {
  font-size: 30px;
  color: #1a9c4b;
  flex: 0 0 auto;
}

.query-card__head strong {
  display: block;
  color: #222;
  font-size: 18px;
}

.query-card__head span {
  color: var(--muted);
  font-size: 13px;
}

.query-status {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.query-hint {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: #555;
  font-size: 14.5px;
}

/* ============================= 数据统计带 ============================= */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.stat-band div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 26px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-band div:last-child {
  border-right: 0;
}

.stat-band .ico {
  font-size: 28px;
  color: var(--red);
}

.stat-band strong {
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
}

.stat-band span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

/* ============================= 办学理念 / 亮点卡 ============================= */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.highlight-card__icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
}

.highlight-card__icon .ico {
  font-size: 30px;
}

.highlight-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #222;
}

.highlight-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

/* ============================= 发展历程时间轴 ============================= */
.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(196, 0, 11, 0.15));
}

.timeline li {
  position: relative;
  list-style: none;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.timeline strong {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.timeline p {
  margin: 4px 0 0;
  color: #555;
  font-size: 14.5px;
}

/* ============================= 校训 / 就业信息 ============================= */
.motto {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 26px;
  padding: 20px 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  box-shadow: 0 14px 30px rgba(196, 0, 11, 0.22);
}

.motto__label {
  flex: 0 0 auto;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.motto strong {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: 6px;
}

.job-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.job-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.job-list li:last-child {
  border-bottom: 0;
}

.job-list li:hover {
  background: var(--soft);
}

.job-list .ico {
  font-size: 20px;
  color: var(--red);
  flex: 0 0 auto;
}

.job-list .job-title {
  flex: 1;
  font-weight: 700;
  color: #333;
}

.job-list time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

/* ============================= 报读须知卡 / guide ============================= */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guide-card__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.guide-card__icon .ico {
  font-size: 26px;
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #222;
}

.guide-card p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
}

/* ============================= 招生计划表 ============================= */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}

.plan-table thead {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
}

.plan-table th,
.plan-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.plan-table th {
  font-weight: 800;
}

.plan-table tbody tr:nth-child(even) {
  background: var(--soft);
}

.plan-table tbody tr:hover {
  background: var(--red-soft);
}

.plan-table td:first-child {
  font-weight: 800;
  color: #222;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--soft);
}

.download-row .doc-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #222;
}

.download-row .doc-name .ico {
  font-size: 26px;
  color: var(--red);
}

.download-row .doc-name small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.download-row .btn {
  margin-left: auto;
}

.poster-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.poster-figure img {
  width: 100%;
  display: block;
}

/* ============================= 师资团队 ============================= */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.faculty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.faculty-card__media {
  height: 220px;
  overflow: hidden;
  background: #eef1f5;
}

.faculty-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-card__body {
  padding: 18px;
  text-align: center;
}

.faculty-card__body h3 {
  font-size: 18px;
  font-weight: 900;
  color: #222;
}

.faculty-card__body .role {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.faculty-card__body p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.faculty-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================= FAQ ============================= */
.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: #222;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .ico {
  font-size: 20px;
  color: var(--red);
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--red);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px 50px;
  color: #6b7280;
  font-size: 14.5px;
  line-height: 1.8;
}

/* ============================= 报名表单 ============================= */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.apply-card,
.consult-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.apply-card .card-head {
  margin-bottom: 22px;
}

.apply-card .card-head h2 {
  font-size: 24px;
  font-weight: 900;
  color: #1f2937;
}

.apply-card .card-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.apply-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.apply-form label,
.message-field {
  display: grid;
  gap: 7px;
  color: #333;
  font-weight: 800;
  font-size: 14px;
}

.apply-form b {
  color: var(--red);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #333;
  padding: 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 0, 11, 0.1);
}

.apply-form textarea {
  resize: vertical;
}

.focus-field {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin: 0;
  border: 0;
  padding: 0;
}

.focus-field legend {
  width: 100%;
  margin-bottom: 6px;
  color: #333;
  font-weight: 800;
  font-size: 14px;
}

.focus-field label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #555;
  font-weight: 700;
}

.focus-field input {
  width: 16px;
  height: 16px;
}

.form-submit {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.consult-card {
  display: grid;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}

.consult-card h2 {
  font-size: 22px;
  font-weight: 900;
}

.consult-card .phone-big {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffd24a;
  font-size: 32px;
  font-weight: 900;
}

.consult-card .phone-big .ico {
  font-size: 30px;
}

.consult-card .hours {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.qr-box {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.qr-box img {
  width: 116px;
  height: 116px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.qr-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.consult-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.consult-card ul .ico {
  font-size: 18px;
  margin-top: 2px;
  color: #ffd24a;
}

/* ============================= 联系我们 ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}

.contact-card__icon .ico {
  font-size: 30px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #222;
}

.contact-card p {
  margin: 0;
  color: #555;
  font-size: 15px;
  font-weight: 700;
}

.contact-card .sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe,
.map-wrap img {
  width: 100%;
  height: 380px;
  border: 0;
  object-fit: cover;
  display: block;
}

/* ============================= 页脚 ============================= */
.footer {
  background: var(--navy);
  color: #fff;
}

.footer-top {
  padding: 44px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr auto;
  gap: 36px;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: left center;
  border-radius: 50%;
  background: #fff;
}

.footer-brand h2 {
  font-size: 20px;
  font-weight: 900;
}

.footer-brand p {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.footer-desc {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
  font-size: 13.5px;
}

.footer address span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.footer address .ico {
  font-size: 16px;
  margin-top: 3px;
  color: var(--red-mid);
  stroke: #e0858a;
}

.footer-col--qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col--qr img {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.footer-bar {
  padding: 16px 0;
}

.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* ============================= 悬浮咨询 ============================= */
.consult-float {
  position: fixed;
  top: 168px;
  right: 16px;
  z-index: 45;
  width: 116px;
}

.consult-float__staff,
.consult-float__title {
  display: block;
  width: 116px;
  height: auto;
}

.consult-float__staff {
  margin: 0 auto -2px;
}

.consult-float__title {
  position: relative;
  z-index: 2;
  margin: -5px auto 0;
}

.consult-float a,
.consult-float button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #f1d6d6;
  border-top: 0;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease;
}

.consult-float a .ico,
.consult-float button .ico {
  font-size: 17px;
}

.consult-float a:first-of-type {
  border-top: 1px solid #f1d6d6;
}

.consult-float a:hover,
.consult-float a:focus,
.consult-float button:hover,
.consult-float button:focus {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
}

.consult-float button {
  border-radius: 0 0 8px 8px;
}

/* ============================= 移动端 CTA ============================= */
.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 42;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(7, 20, 46, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-cta--show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-cta a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
}

.mobile-cta a .ico {
  font-size: 18px;
}

.mobile-cta a:first-child {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
}

.mobile-cta a:last-child {
  background: rgba(255, 255, 255, 0.16);
}

/* ============================= 灯箱 / Toast ============================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox--show {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 46, 0.86);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}

.lightbox__panel img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  background: #f3f5f8;
}

.lightbox__panel p {
  margin: 10px 6px 2px;
  color: #222;
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 70;
  max-width: min(460px, calc(100% - 40px));
  transform: translate(-50%, 12px);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 13px 18px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================= 响应式 ============================= */
@media (max-width: 1180px) {
  .consult-float {
    display: none;
  }

  .footer-top__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1000px) {
  .header-main__inner,
  .header-meta,
  .intro__grid,
  .apply-layout,
  .cta-band__inner,
  .page-layout,
  .major-detail__top,
  .query-layout {
    grid-template-columns: 1fr;
  }

  .header-main__inner,
  .header-meta {
    display: grid;
    justify-items: start;
  }

  .header-meta__item {
    border-left: 0;
    padding-left: 0;
  }

  .subnav {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .major-grid,
  .major-list,
  .advantage-grid,
  .faculty-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .news-grid[data-variant="featured"] {
    grid-template-columns: 1fr;
  }

  .cta-band__phone {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .topline__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0;
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand strong {
    font-size: 21px;
    line-height: 1.2;
  }

  .brand em {
    display: none;
  }

  .header-meta {
    width: 100%;
    gap: 14px;
  }

  .header-actions,
  .header-apply,
  .site-search,
  .site-search input {
    width: 100%;
  }

  .nav__inner {
    justify-content: flex-start;
  }

  .nav a {
    min-width: auto;
    padding: 0 14px;
    font-size: 14.5px;
  }

  .hero {
    min-height: 420px;
  }

  .hero-pills {
    border-radius: 10px;
  }

  .hero-pills li {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }

  .hero-quick a {
    min-width: calc(50% - 7px);
  }

  .section {
    padding: 40px 0;
  }

  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stat-row,
  .stat-band,
  .major-grid,
  .major-list,
  .advantage-grid,
  .gallery,
  .highlight-grid,
  .faculty-grid,
  .faculty-feature,
  .guide-grid,
  .contact-grid,
  .form-grid,
  .footer-top__inner,
  .footer-links,
  .subnav {
    grid-template-columns: 1fr;
  }

  .stat-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .cta-band__inner {
    text-align: center;
    justify-items: center;
  }

  .cta-band__actions {
    justify-content: center;
  }

  .footer-bar__inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .mobile-cta {
    display: grid;
  }

  body {
    padding-bottom: 76px;
  }

  .page-hero {
    height: 420px;
  }
}
