
:root {
  --ink: #17202a;
  --muted: #5d6673;
  --paper: #f6f7f4;
  --white: #ffffff;
  --navy: #163e75;
  --steel: #35718c;
  --yellow: #e1dc11;
  --line: #d8dedf;
  --shadow: 0 18px 36px rgba(15, 23, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  background: var(--yellow);
  color: #0b1420;
  padding: 10px 14px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 32, 42, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #103768;
}

.brand img {
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  color: #243142;
}

.site-nav a:hover,
.site-nav a.active {
  background: #eef3f4;
  color: #0e3a6e;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 9px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #132235;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 28, 0.82), rgba(8, 17, 28, 0.54) 42%, rgba(8, 17, 28, 0.14));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  color: var(--white);
  padding: 76px 0 94px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--steel);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.lead {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--yellow);
  color: #0b1420;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.band,
.services-overview,
.split-feature,
.content-prose,
.detail-grid,
.cta-band,
.education-links,
.info-panel,
.course-section,
.gallery-grid,
.contact-layout {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.band,
.services-overview,
.split-feature,
.content-prose,
.detail-grid,
.education-links,
.gallery-grid,
.contact-layout {
  padding: 72px 0;
}

.content-grid.two {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
}

.content-grid p,
.content-prose p,
.course-section p,
.info-panel p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.card-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.detail-card,
.contact-card,
.info-panel,
.course-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.service-card h3,
.detail-card h2 {
  color: #143d72;
}

.service-card p,
.detail-card p,
.detail-card li {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 42px;
  padding-top: 34px;
}

.split-feature img,
.page-hero.image-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: #0f5e80;
  font-weight: 700;
  text-decoration-color: rgba(15, 94, 128, 0.35);
}

.page-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 22px;
}

.page-hero.compact > div {
  max-width: 840px;
}

.page-hero.image-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.page-hero.image-hero > div {
  order: -1;
}

.page-hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 760px;
}

.content-prose {
  max-width: 860px;
  padding-top: 38px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card ul,
.course-section ul {
  padding-left: 20px;
}

.cta-band {
  margin-top: 18px;
  margin-bottom: 72px;
  padding: 34px;
  border-radius: 6px;
  background: #102f58;
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.education-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 34px;
}

.education-tile {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  background: #102f58;
  color: var(--white);
  box-shadow: var(--shadow);
}

.education-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.education-tile span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-size: 24px;
  font-weight: 800;
}

.info-panel,
.course-section {
  margin-top: 24px;
  margin-bottom: 0;
}

.table-like {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.table-like span,
.table-like strong {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.table-like strong {
  background: #eef3f4;
  color: #123a68;
}

.table-like span:nth-last-child(-n+2),
.table-like strong:nth-last-child(-n+2) {
  border-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding-top: 34px;
}

.contact-card a {
  color: #0f5e80;
  font-weight: 700;
}

.contact-card.accent {
  background: #102f58;
  color: var(--white);
}

.contact-card.accent p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #101923;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  padding: 42px 0;
}

.footer-logo {
  width: 230px;
  height: auto;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 4px;
}

address {
  font-style: normal;
}

.footer-inner a {
  color: var(--yellow);
}

.footer-links {
  display: grid;
  gap: 8px;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .content-grid.two,
  .split-feature,
  .page-hero.image-hero,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .page-hero.image-hero > div {
    order: 0;
  }

  .card-grid,
  .detail-grid,
  .education-links,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span {
    max-width: 190px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 17, 28, 0.76), rgba(8, 17, 28, 0.7));
  }

  .hero-content {
    margin-left: 18px;
    padding: 54px 0 70px;
  }

  .card-grid,
  .detail-grid,
  .education-links,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .band,
  .services-overview,
  .split-feature,
  .content-prose,
  .detail-grid,
  .education-links,
  .gallery-grid,
  .contact-layout {
    padding: 48px 0;
  }

  .page-hero {
    padding-top: 54px;
  }

  .table-like {
    grid-template-columns: 1fr;
  }

  .table-like span,
  .table-like strong {
    border-bottom: 0;
  }

  .table-like strong {
    border-bottom: 1px solid var(--line);
  }
}
