:root {
  --blue: #2269a2;
  --deep: #123f70;
  --gold: #d7a84f;
  --ink: #1f2933;
  --muted: #667085;
  --line: #e6edf5;
  --bg: #f5f8fb;
  --white: #fff;
  --shadow: 0 16px 42px rgba(15, 52, 96, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.wechat-hover {
  position: relative;
  cursor: default;
}
.wechat-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 132px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: .18s ease;
  z-index: 50;
}
.wechat-pop:before {
  content: "";
  position: absolute;
  top: -6px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.wechat-hover:hover .wechat-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(18, 63, 112, .08);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; }
.brand-biaoyu {
  width: min(420px, 42vw);
  max-height: 72px;
  object-fit: contain;
}
.brand-title {
  margin: 0;
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
  font-weight: 800;
}
.brand-subtitle { margin: 4px 0 0; color: rgba(255,255,255,.86); font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-meta {
  display: grid;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  gap: 4px;
  white-space: nowrap;
}
.header-date {
  text-align: right;
}
.header-contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-meta strong { color: #fff; }
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
}
.primary-btn { background: var(--blue); color: #fff; }
.header-actions .primary-btn { background: var(--gold); color: #fff; }
.ghost-btn { border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.nav-wrap { background: var(--blue); }
.nav-wrap { border-top: 1px solid rgba(255,255,255,.18); }
.nav { display: flex; align-items: center; justify-content: center; gap: 0; }
.nav a { color: #fff; padding: 13px 14px; font-size: 15px; white-space: nowrap; }
.nav a:hover,
.nav a.active { background: rgba(255,255,255,.16); }
.mobile-menu { display: none; }

.hero-carousel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0d3e70;
  color: #fff;
}
.hero-track,
.hero-slide,
.hero-shade { min-height: 430px; }
.hero-slide {
  display: none;
  background: var(--hero-image) center/cover no-repeat;
}
.hero-slide.active { display: block; }
.hero-shade {
  background: linear-gradient(90deg, rgba(9, 44, 82, .78), rgba(9, 44, 82, .22) 58%, rgba(9, 44, 82, .08));
}
.hero-carousel .container { min-height: 430px; display: grid; align-items: center; }
.hero-content { max-width: 690px; padding: 48px 0; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
  margin: 0 0 8px;
}
.hero h2 { margin: 0; font-size: 46px; line-height: 1.18; font-weight: 900; }
.hero p { margin: 18px 0 26px; font-size: 18px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-carousel h2 { margin: 0; font-size: 46px; line-height: 1.18; font-weight: 900; }
.hero-carousel p { margin: 18px 0 26px; font-size: 18px; color: rgba(255,255,255,.94); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 58px;
  border: 0;
  background: rgba(8, 40, 74, .42);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}
.carousel-btn:hover { background: rgba(8, 40, 74, .72); }
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.carousel-dots button.active { background: #fff; }

.notice-strip { background: #fff; border-bottom: 1px solid var(--line); }
.notice-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 62px;
}
.notice-tag {
  background: var(--gold);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 800;
}
.notice-title {
  min-width: 0;
  color: var(--deep);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section { padding: 58px 0; }
.section.alt { background: var(--bg); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { margin: 0; font-size: 30px; color: var(--deep); }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.more-link { color: var(--blue); font-weight: 800; white-space: nowrap; }

.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.intro-card-body {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}
.intro-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 63, 112, .06);
  background: #fff;
}
.intro-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.intro-text {
  display: grid;
  align-content: start;
}
.intro-text p {
  margin: 0;
  color: var(--muted);
}
.intro-card,
.news-panel,
.feature-card,
.article-card,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 63, 112, .06);
}
.intro-card { padding: 28px; border-top: 4px solid var(--blue); }
.intro-card h3 { color: var(--deep); font-size: 24px; margin: 0 0 10px; }
.point-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.intro-card-body .point-list { margin-top: 0; }
.intro-text .point-list { margin-top: 12px; }
.point-list li { padding-left: 22px; position: relative; }
.point-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.about-profile {
  display: flow-root;
}
.about-photo {
  float: left;
  width: min(42%, 320px);
  margin: 0;
  margin-right: 24px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef4fa;
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-copy h2,
.about-section h2 {
  margin: 0 0 12px;
  color: var(--deep);
}
.about-copy p,
.about-section p {
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.9;
}
.about-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.honor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.honor-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d8e7f6;
  border-radius: 999px;
  background: #f5f9fd;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}
.characteristic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.characteristic-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.characteristic-card h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 18px;
}
.characteristic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.news-panel { padding: 22px; }
.news-panel-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}
.news-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.date-box {
  background: #eff6fd;
  border-left: 4px solid var(--blue);
  color: var(--deep);
  padding: 8px;
  font-weight: 800;
  text-align: center;
  font-size: 13px;
}
.news-item h3 { margin: 0 0 4px; font-size: 17px; color: var(--deep); }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 22px; min-height: 190px; }
.feature-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #eff6fd;
  color: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 12px;
}
.feature-card h3 { margin: 0 0 8px; color: var(--deep); }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.article-card small { color: var(--muted); }
.article-card h3 { margin: 0; color: var(--deep); font-size: 19px; line-height: 1.45; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }
.regulation-gallery,
.fare-gallery {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}
.regulation-page,
.fare-page {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.regulation-page img,
.fare-page img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.regulation-page figcaption,
.fare-page figcaption,
.campus-photo figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  background: #fff;
}
.campus-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.campus-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.campus-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef4fa;
  cursor: zoom-in;
}
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 24, 42, .86);
}
.image-viewer.open {
  display: flex;
}
.image-viewer img {
  display: block;
  max-width: min(1080px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  background: #fff;
}
.image-viewer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
body.viewer-open {
  overflow: hidden;
}

.page-hero { background: linear-gradient(90deg, var(--deep), var(--blue)); color: #fff; padding: 54px 0; }
.page-hero h1 { font-size: 38px; margin: 0; }
.page-hero p { max-width: 760px; margin: 12px 0 0; color: rgba(255,255,255,.88); }
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.content-main { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.content-main h2 { margin-top: 0; color: var(--deep); }
.sidebar { display: grid; gap: 16px; }
.contact-card {
  background: var(--deep);
  color: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 8px; }
.contact-card p { margin: 6px 0; color: rgba(255,255,255,.9); }
.contact-card .primary-btn { width: 100%; margin-top: 12px; background: var(--gold); }
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field label { display: block; font-weight: 800; color: var(--deep); margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
}
.field.full { grid-column: 1 / -1; }
.form-message { margin-top: 12px; color: var(--blue); font-weight: 800; }

.footer { background: #153c66; color: #dbe7f3; padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.footer h3 { margin: 0 0 10px; color: #fff; }
.footer a { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 16px; }
.footer-contact p,
.contact-detail p { margin: 6px 0; }
.footer-contact .qr-mini { display: none; }
.contact-detail a { color: var(--blue); font-weight: 800; }
.footer-qrs {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  align-items: flex-start;
}
.footer-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}
.footer-qr img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
}
.friend-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #dbe7f3;
  font-size: 14px;
}
.friend-links span {
  color: #fff;
  font-weight: 800;
}
.friend-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qr-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: inherit;
  font-size: 13px;
}
.qr-mini img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.35);
  background: #fff;
  padding: 4px;
}
.float-contact { position: fixed; right: 18px; bottom: 24px; z-index: 20; display: grid; gap: 8px; }
.float-contact a {
  background: var(--gold);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  font-weight: 800;
}
.left-contact-card {
  position: fixed;
  left: 18px;
  bottom: 24px;
  z-index: 20;
  width: 250px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  color: var(--ink);
}
.left-contact-card h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 17px;
}
.left-contact-card p {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.55;
}
.left-contact-card a { color: var(--blue); font-weight: 800; }
.left-contact-card .qr-mini img {
  width: 72px;
  height: 72px;
  border-color: var(--line);
}

@media (max-width: 900px) {
  .left-contact-card { display: none; }
  .brand-row { padding: 10px 0; }
  .brand-biaoyu { width: min(260px, 68vw); max-height: 54px; }
  .header-actions { display: none; }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: var(--blue);
    color: #fff;
    border-radius: 4px;
    padding: 9px 12px;
    font-weight: 800;
  }
  .nav-wrap { display: none; }
  .nav-wrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav a { border-top: 1px solid rgba(255,255,255,.12); }
  .hero-carousel,
  .hero-track,
  .hero-slide,
  .hero-shade,
  .hero-carousel .container { min-height: 440px; }
  .hero-carousel h2 { font-size: 31px; }
  .hero-carousel p { font-size: 16px; }
  .carousel-btn { display: none; }
  .notice-inner { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .notice-title { white-space: normal; }
  .section { padding: 38px 0; }
  .section-head { display: block; }
  .intro-grid,
  .content-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .intro-card-body,
  .characteristic-grid { grid-template-columns: 1fr; }
  .about-photo {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 18px;
  }
  .feature-grid,
  .article-grid,
  .campus-gallery { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 74px 1fr; }
  .content-main { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 38px 0; }
  .page-hero h1 { font-size: 30px; }
  .float-contact { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr 1fr; }
  .float-contact a { text-align: center; }
  body { padding-bottom: 68px; }
}
