﻿:root {
  --red: #b30b19;
  --deep-red: #8d0611;
  --ink: #202734;
  --muted: #667085;
  --line: #e6e8ef;
  --bg: #f5f7fb;
  --white: #fff;
  --gold: #c99a42;
  --blue: #17466f;
  --shadow: 0 18px 45px rgba(28, 38, 58, 0.12);
}

* {
  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: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.topbar {
  background: #1b1f2a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar a:hover,
.main-nav a:hover {
  color: var(--gold);
}

.brandbar {
  background: var(--red);
}

.brandbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--white);
  font-weight: 700;
  font-size: 25px;
  white-space: nowrap;
}

.brand img {
  width: 226px;
  height: auto;
}

.brand span {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  color: var(--white);
  padding: 28px 16px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(80, 0, 8, 0.92), rgba(92, 11, 19, 0.68) 42%, rgba(15, 28, 47, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0 142px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #f4d89a;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 700;
}

.eyebrow.dark {
  color: var(--red);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 980px;
  margin: 22px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 700;
}

.primary-link {
  background: var(--gold);
  color: #21160a;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.text-link {
  padding: 0;
  min-height: auto;
  color: var(--red);
}

.quick-strip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(1200px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-strip a {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip a:hover {
  color: var(--red);
  background: #fff8f8;
}

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--bg);
}

.overview-grid,
.section-heading,
.service-layout,
.feature-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.overview-grid {
  grid-template-columns: 320px 1fr;
  gap: 44px;
}

.section-title p {
  margin: 0 0 4px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.section-title h2,
.feature-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.overview-text {
  font-size: 18px;
}

.overview-text p {
  margin: 0 0 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.stat {
  min-height: 150px;
  padding: 26px;
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 10px 30px rgba(20, 34, 54, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--red);
  font-size: 44px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.section-heading {
  margin-bottom: 34px;
  align-items: end;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.org-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  text-align: left;
  align-items: end;
}

.org-heading .section-title p,
.org-heading .section-title h2 {
  text-align: left;
}

.org-heading > p {
  max-width: none;
  margin: 0;
  text-align: left;
}

.org-map {
  position: relative;
  padding-top: 0;
}

.org-core {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  margin: 0 auto 62px;
  padding: 22px 32px 24px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(141, 6, 17, 0.98), rgba(179, 11, 25, 0.94)),
    url("assets/campus-building.png") center / cover;
  border-radius: 6px;
  box-shadow: 0 20px 48px rgba(124, 16, 26, 0.24);
}

.org-core::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 2px;
  height: 28px;
  transform: translateX(-50%);
  background: rgba(179, 11, 25, 0.32);
}

.org-core strong {
  display: block;
  font-size: 32px;
  line-height: 1.15;
}

.org-core p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.org-branches {
  position: relative;
  width: 100%;
  height: 34px;
  margin: -34px auto 0;
}

.org-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(11.058% - 6px);
  right: calc(13.462% - 7.3px);
  border-top: 1px solid rgba(179, 11, 25, 0.34);
}

.org-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.16fr 0.96fr 1.12fr;
  gap: 18px;
}

.org-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: rgba(179, 11, 25, 0.28);
}

.org-card {
  position: relative;
  min-height: 360px;
  padding: 32px 24px 26px;
  overflow: visible;
  border: 1px solid #e8d7db;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #fff, #fff 64%, #fff8f8),
    var(--white);
  box-shadow: 0 16px 38px rgba(20, 34, 54, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.org-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.org-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.org-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff4f4;
  border: 1px solid #f0c9cf;
  border-radius: 50%;
  font-weight: 800;
}

.org-card h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 26px;
  text-align: center;
}

.org-card p {
  min-height: 86px;
  margin: 0 0 22px;
  color: var(--muted);
  text-align: left;
}

.org-card a,
.link-list span {
  display: flex;
  min-height: 42px;
  margin-top: 10px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

.org-card a:hover {
  border-color: #efbdc4;
  color: var(--red);
  background: #fff8f8;
}

.link-list span {
  background: #f6f7fb;
  color: #8b95a5;
}

.section-red {
  background:
    linear-gradient(110deg, rgba(126, 5, 16, 0.96), rgba(179, 11, 25, 0.94)),
    url("assets/campus-building.png") center / cover;
  color: var(--white);
}

.section-red .section-title p {
  color: #f4d89a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  min-height: 138px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.service-item strong,
.service-item span {
  display: block;
}

.service-item strong {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-item span {
  color: rgba(255, 255, 255, 0.82);
}

.feature-band {
  background: var(--white);
}

.feature-grid {
  align-items: center;
}

.campus-photo {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.campus-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.feature-copy p {
  color: var(--muted);
  font-size: 18px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(20, 34, 54, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--red);
  color: var(--white);
  font-size: 16px;
}

th:first-child {
  text-align: center;
}

tbody tr:hover {
  background: #fff7f8;
}

td:first-child {
  color: var(--red);
  font-weight: 700;
}

td.duty-cell {
  vertical-align: middle;
  text-align: center;
  background: #fff8f8;
  font-size: 19px;
  letter-spacing: 0;
}

td a {
  font-weight: 700;
  color: var(--blue);
}

td a:hover {
  color: var(--red);
}

.footer {
  background: #1b1f2a;
  color: rgba(255, 255, 255, 0.82);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer img {
  width: 228px;
}

.footer strong {
  color: var(--white);
  font-size: 20px;
}

.footer p {
  margin: 8px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .brandbar-inner {
    min-height: 72px;
  }

  .brand img {
    width: 190px;
  }

  .brand span {
    font-size: 21px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--deep-red);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .overview-grid,
  .section-heading,
  .service-layout,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .org-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .org-branches {
    display: none;
  }

  .org-card {
    min-height: 320px;
  }

  .org-core {
    margin-bottom: 34px;
  }

  .org-core::after,
  .org-card::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1200px);
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar span {
    display: none;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 156px;
  }

  .brand span {
    padding-left: 12px;
    font-size: 18px;
  }

  .main-nav {
    top: 106px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding: 70px 0 190px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  .lead {
    max-width: 100%;
    font-size: 17px;
    white-space: normal;
  }

  .quick-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-strip a {
    min-height: 66px;
    font-size: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .overview-grid,
  .section-heading,
  .service-layout,
  .feature-grid,
  .org-heading {
    display: block;
  }

  .section-title {
    min-width: 0;
  }

  .section-title p {
    font-size: 16px;
  }

  .section-title h2,
  .feature-copy h2 {
    font-size: 32px;
    line-height: 1.18;
    white-space: nowrap;
    word-break: keep-all;
  }

  .overview-text,
  .section-heading > p,
  .org-heading > p,
  .feature-copy p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
  }

  .org-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .org-core {
    width: 100%;
    margin-bottom: 30px;
    padding: 20px 18px 22px;
  }

  .org-core strong {
    font-size: 30px;
  }

  .org-core::after,
  .org-card::after,
  .org-branches {
    display: none;
  }

  .stat {
    min-height: 112px;
    padding: 20px 12px;
  }

  .stat strong {
    font-size: 34px;
  }

  .stat span {
    margin-top: 10px;
    font-size: 14px;
    white-space: normal;
  }

  .org-card {
    min-height: auto;
    padding: 28px 20px 22px;
  }

  .org-card p {
    min-height: 0;
    margin-bottom: 18px;
    text-align: center;
  }

  .org-card a,
  .link-list span {
    min-height: 40px;
    font-size: 15px;
  }

  .campus-photo img {
    height: 280px;
  }

  .service-item {
    min-height: 112px;
    padding: 20px;
  }

  .table-wrap {
    border-radius: 4px;
  }

  table {
    min-width: 560px;
  }

  th,
  td {
    padding: 14px 12px;
    font-size: 14px;
  }

  td.duty-cell {
    width: 96px;
    font-size: 16px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}