:root {
  --blue-900: #07356f;
  --blue-800: #0a4d94;
  --blue-700: #0965bd;
  --blue-500: #1788df;
  --cyan-100: #dff7ff;
  --gold: #f4b23e;
  --ink: #172033;
  --muted: #637083;
  --line: #d9e4ef;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(10, 50, 100, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 228, 239, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  color: #243247;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-800);
  background: #eaf4ff;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--blue-800);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue-800);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 96px clamp(20px, 7vw, 96px) 120px;
  overflow: hidden;
}

.hero-home {
  background: url("images/hero-campus.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 32, 72, 0.82), rgba(5, 42, 92, 0.58) 48%, rgba(5, 42, 92, 0.18));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 53, 111, 0.18);
}

.btn-primary {
  background: var(--gold);
  color: #1d2635;
}

.btn-light,
.btn-white {
  background: var(--white);
  color: var(--blue-800);
}

.btn-outline {
  border-color: var(--blue-700);
  color: var(--blue-800);
  background: var(--white);
}

.quick-band {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 40px));
  margin: -54px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-item {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item strong {
  display: block;
  color: var(--blue-800);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
}

.quick-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.section-head {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2,
.split h2,
.cta-section h2,
.contact-panel h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid,
.process-grid,
.major-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-card,
.process-grid article,
.major-grid article,
.timeline article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 26px rgba(10, 50, 100, 0.06);
}

.feature-card h3,
.process-grid h3,
.major-grid h3,
.timeline h3 {
  margin: 10px 0 8px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p,
.process-grid p,
.major-grid p,
.timeline p,
.cta-section p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-mark,
.process-grid span,
.timeline span,
.major-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: #eaf4ff;
  color: var(--blue-800);
  font-weight: 900;
}

.section-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.section-blue h2,
.section-blue .section-text,
.section-blue .eyebrow {
  color: var(--white);
}

.section-blue .eyebrow {
  color: #ffe0a2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.align-start {
  align-items: start;
}

.major-strip,
.info-list {
  display: grid;
  gap: 12px;
}

.major-strip span,
.info-list p {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
}

.info-list.light p {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  text-align: left;
}

.text-link {
  color: var(--blue-800);
  font-weight: 900;
  white-space: nowrap;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.image-grid img,
.rounded-image,
.gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-grid img {
  height: 330px;
}

.rounded-image {
  height: 420px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 34px;
  border-radius: 8px;
  background: #eef7ff;
  border: 1px solid var(--line);
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 86px clamp(20px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 32, 72, 0.84), rgba(9, 101, 189, 0.62)),
    url("images/school-home.jpg") center / cover no-repeat;
}

.page-hero > div {
  width: min(860px, 100%);
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats-panel div {
  padding: 28px 16px;
  background: var(--white);
  text-align: center;
}

.stats-panel strong {
  display: block;
  color: var(--blue-800);
  font-size: 34px;
  line-height: 1.1;
}

.stats-panel span {
  color: var(--muted);
  font-weight: 800;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid span {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--blue-900);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.major-grid {
  grid-template-columns: repeat(3, 1fr);
}

.major-grid article {
  min-height: 218px;
}

.major-grid span {
  width: fit-content;
  font-size: 13px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.gallery figure {
  position: relative;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img {
  height: 100%;
  min-height: 260px;
  box-shadow: none;
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(7, 53, 111, 0.84);
  color: var(--white);
  font-weight: 900;
}

.compact {
  grid-template-columns: repeat(3, 1fr);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 26px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-lines p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines strong {
  color: var(--blue-900);
}

.contact-lines a {
  color: var(--blue-800);
  font-weight: 900;
}

.note {
  margin-top: 22px !important;
  font-size: 14px;
}

.map-card {
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.check-grid span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #062a59;
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .main-nav.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .header-call {
    margin-left: 0;
  }

  .feature-grid,
  .timeline,
  .process-grid,
  .major-grid,
  .compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 172px;
  }

  .site-header {
    min-height: 68px;
    gap: 10px;
  }

  .header-call {
    width: 100%;
  }

  .main-nav.open {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 82vh;
    padding: 76px 20px 96px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .quick-band {
    grid-template-columns: 1fr 1fr;
  }

  .quick-item:nth-child(2) {
    border-right: 0;
  }

  .quick-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 54px 18px;
  }

  .feature-grid,
  .timeline,
  .process-grid,
  .major-grid,
  .compact,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .row-head,
  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .image-grid img,
  .rounded-image {
    height: 260px;
  }

  .gallery-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .contact-lines p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
  }
}
