:root {
  --red: #920000;
  --red-dark: #720000;
  --navy: #101c62;
  --blue: #073f86;
  --green: #075d33;
  --gold: #d49a00;
  --cream: #f3f1e6;
  --ink: #172033;
  --muted: #5c6576;
  --line: #e4e7ee;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.top-strip {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--navy) 50% 100%);
}
.top-strip .container {
  min-height: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
.top-strip span:last-child { text-align: right; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
}
.header-inner {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 280px;
  gap: 14px;
}
.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}
.brand-name {
  display: block;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-line {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.brand-small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  font-size: 15px;
  font-weight: 900;
}
.main-nav a { white-space: nowrap; transition: color 0.2s ease; }
.main-nav a:hover { color: var(--red); }
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 94px;
}
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  white-space: nowrap;
}
.nav-dropdown-menu {
  position: absolute;
  top: 72px;
  left: 50%;
  min-width: 248px;
  padding: 12px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: var(--ink);
  font-size: 15px;
}
.nav-dropdown-menu a:hover {
  color: var(--red);
  background: #f7f8fb;
}
.login-btn,
.mobile-toggle,
.primary-btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
}
.login-btn,
.primary-btn {
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(146, 0, 0, 0.18);
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: #f3f5f9;
  border: 1px solid var(--line);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 20px 20px;
  background: var(--white);
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 900;
  border-bottom: 1px solid var(--line);
}
.site-header.is-open .mobile-menu { display: block; }

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 44, 39, 0.98), rgba(7, 93, 51, 0.82)),
    url("campus.jpg") center / cover;
  overflow: hidden;
}
.breadcrumb {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 900;
}
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 900;
}
.page-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 19px;
  font-weight: 800;
}

.section { padding: 76px 0; }
.section.alt { background: var(--cream); }
.section-title {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.14;
  font-weight: 900;
}
h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 900;
}
p { color: var(--muted); font-size: 17px; }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.image-frame {
  overflow: hidden;
  border-radius: 8px;
  border-left: 18px solid var(--green);
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.card i {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 23px;
}
.card:nth-child(2n) i { background: var(--gold); }
.card:nth-child(3n) i { background: var(--green); }
.card ul,
.content-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
}
.content-list li { margin-bottom: 8px; }

.info-band {
  color: var(--white);
  background: var(--red);
  padding: 38px 0;
}
.info-band .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.info-band h2,
.info-band p { color: var(--white); margin: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  height: 285px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}
.gallery-card span { z-index: 1; }

.form-panel {
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd5df;
  border-radius: 8px;
  outline: none;
}
.field textarea { min-height: 106px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(146, 0, 0, 0.12);
}
.submit-row { margin-top: 22px; text-align: center; }

.map-panel {
  overflow: hidden;
  min-height: 360px;
  background: #edf1f6;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.map-panel iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.site-footer {
  color: var(--white);
  background: var(--red);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 46px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}
.footer-grid h3 {
  color: var(--white);
  font-size: 21px;
  text-transform: uppercase;
}
.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.93);
  font-size: 16px;
  font-weight: 800;
}
.footer-grid p {
  margin: 0;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-contact {
  display: grid;
  gap: 18px;
}
.footer-contact div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.footer-contact i {
  width: 30px;
  margin-top: 4px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
}
.footer-contact p {
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .site-header .login-btn { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-inner { height: 82px; }
  .brand img { width: 62px; height: 62px; }
  .brand-name { font-size: 21px; }
  .split,
  .info-band .container,
  .footer-grid { grid-template-columns: 1fr; }
  .info-band .container { display: grid; }
  .card-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .top-strip .container { grid-template-columns: 1fr; gap: 4px; padding: 7px 0; text-align: center; }
  .top-strip span:last-child { text-align: center; }
  .brand { min-width: 0; gap: 10px; }
  .brand img { width: 54px; height: 54px; }
  .brand-name { font-size: 18px; }
  .brand-line,
  .brand-small { font-size: 9px; }
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 34px; }
  h2 { font-size: 30px; }
  .section { padding: 56px 0; }
  .card-grid,
  .gallery-grid,
  .form-grid { grid-template-columns: 1fr; }
  .image-frame img { height: 330px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
