:root {
  color-scheme: light;
  --ink: #162120;
  --muted: #5d6a68;
  --line: #dfe6e1;
  --surface: #ffffff;
  --surface-soft: #f4f7f2;
  --forest: #163b34;
  --teal: #167a68;
  --amber: #d7a43f;
  --brick: #b74736;
  --blue: #274866;
  --shadow: 0 18px 48px rgba(17, 35, 32, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 230, 225, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, 1100px);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--forest);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: -3px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.nav-links a {
  padding: 9px 10px;
  border-radius: 6px;
  color: #273533;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  background: var(--surface-soft);
  color: var(--teal);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--forest);
  color: #fff !important;
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--teal) !important;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #142b27;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 34, 31, 0.9), rgba(15, 34, 31, 0.54) 45%, rgba(15, 34, 31, 0.04)), var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 124px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 1.02;
  font-weight: 850;
}

.hero p {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.88);
}

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

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

.button.primary {
  background: var(--amber);
  color: #201600;
}

.button.dark {
  background: var(--forest);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--forest);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.outline {
  color: var(--forest);
  border-color: #bccbc6;
  background: transparent;
}

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

.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--surface-soft);
}

.section.band {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), #1e554c 62%, #1a354d);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section h2,
.section h3 {
  margin: 0;
  line-height: 1.12;
}

.section h2 {
  max-width: 780px;
  font-size: 2.55rem;
  font-weight: 850;
}

.section h3 {
  font-size: 1.35rem;
}

.section-lead {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.band .section-lead,
.band .section-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.mt-lg {
  margin-top: 42px;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.card.padded {
  padding: 28px;
}

.card.lift {
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}

.card p,
.feature-list,
.plain-list {
  color: var(--muted);
}

.card h3 + p,
.card h2 + p {
  margin-top: 10px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: #edf4f1;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 750;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
}

.stat {
  min-height: 118px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plain-list li {
  position: relative;
  padding-left: 24px;
  margin: 12px 0;
}

.feature-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--amber);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 54px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--brick);
  font-weight: 900;
}

.page-hero {
  position: relative;
  color: #fff;
  background: #143a33;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(14, 34, 31, 0.9), rgba(14, 34, 31, 0.58)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.page-hero .wrap {
  position: relative;
  padding: 112px 0 76px;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.breadcrumb {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.meta-box {
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.meta-box strong {
  display: block;
  color: var(--forest);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.image-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.contact-card a {
  color: var(--teal);
  font-weight: 750;
  text-decoration: none;
}

.map {
  min-height: 360px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.85);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #0f1f1d;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--amber);
}

@media (max-width: 1120px) {
  .nav {
    flex-wrap: wrap;
    min-height: 68px;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 6px;
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .grid.three,
  .grid.four,
  .course-meta,
  .stat-strip,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 76vh;
  }

  .hero-content {
    padding: 104px 0 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .hero p,
  .page-hero p,
  .section-lead {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .card.padded,
  .card-body,
  .contact-card {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
