:root {
  --navy: #17365d;
  --navy-deep: #0d2340;
  --navy-soft: #244a75;
  --gold: #c89a2b;
  --gold-light: #e7c86f;
  --cream: #f8f4e9;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #142033;
  --muted: #657286;
  --line: #e5dfcf;
  --sky: #edf4f8;
  --success: #2f7a5f;
  --shadow: 0 24px 70px rgba(13, 35, 64, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(190px, 24vw, 310px);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

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

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  color: #304767;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--navy);
  color: var(--white);
}

.nav-cta {
  background: var(--gold) !important;
  color: #211706 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(13, 35, 64, 0.94), rgba(23, 54, 93, 0.72), rgba(23, 54, 93, 0.18)),
    url("hero-pathways.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 76px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
}

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

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

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

.button.primary {
  background: var(--gold);
  color: #211706;
}

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

.button.dark {
  color: var(--white);
  background: var(--navy);
}

.button.light {
  color: var(--navy);
  background: var(--white);
}

main {
  overflow: hidden;
}

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

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--white);
}

.section.navy {
  background: var(--navy-deep);
  color: var(--white);
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 13px;
  color: inherit;
  font-size: clamp(2.05rem, 4vw, 3.65rem);
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.navy .section-head p,
.navy .lead,
.navy .card p {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(23, 54, 93, 0.95), rgba(13, 35, 64, 0.92)),
    url("hero-pathways.png") center / cover no-repeat;
  color: var(--white);
  border-bottom: 5px solid var(--gold);
  padding: 82px 0 72px;
}

.page-hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

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

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

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

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

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(13, 35, 64, 0.07);
}

.card.accent {
  border-top: 5px solid var(--gold);
}

.navy .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(231, 200, 111, 0.28);
}

.card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -34px;
  position: relative;
  z-index: 4;
}

.metric {
  min-height: 128px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

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

.feature-panel {
  background: var(--navy);
  color: var(--white);
  border: 4px solid var(--gold);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.journey-step {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.journey-step:last-child {
  border-right: 0;
}

.journey-step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  font-weight: 900;
}

.steps {
  counter-reset: service-step;
}

.step {
  padding-left: 76px;
}

.step::before {
  counter-increment: service-step;
  content: counter(service-step);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 6px;
  font-weight: 900;
}

.program-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border: 1px solid rgba(231, 200, 111, 0.45);
  border-radius: 8px;
  padding: 28px;
  overflow: hidden;
}

.program-card:nth-child(2) {
  background: linear-gradient(145deg, #6d5a25, var(--navy));
}

.program-card:nth-child(3) {
  background: linear-gradient(145deg, #285c68, var(--navy-deep));
}

.program-card:nth-child(4) {
  background: linear-gradient(145deg, #2f6759, var(--navy));
}

.program-card p {
  color: rgba(255, 255, 255, 0.8);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid rgba(200, 154, 43, 0.5);
  border-radius: 6px;
  background: rgba(200, 154, 43, 0.12);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
}

.program-card .tag,
.navy .tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(101, 114, 134, 0.18);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 3px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.83rem;
  text-transform: uppercase;
}

td:last-child,
th:last-child {
  text-align: right;
}

tr:last-child td {
  border-bottom: 0;
}

.total-row td {
  color: var(--navy);
  background: #fff9e7;
  font-weight: 900;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 5px solid var(--gold);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 26px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h3 {
  margin: 0 0 10px;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .grid.two,
  .grid.three,
  .grid.four,
  .metric-row,
  .split,
  .journey,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .journey-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 760px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }

  .hero-inner {
    padding: 72px 0 56px;
  }

  .brand img {
    width: 190px;
    max-height: 56px;
  }

  .metric strong {
    font-size: 1.8rem;
  }
}
