:root {
  --base: #16342f;
  --panel: #203f39;
  --accent: #d86f27;
  --gold: #e6b84f;
  --sky: #4f9db0;
  --soft: #f3f8f7;
  --wash: #e2f0ed;
  --ink: #172522;
  --muted: #667773;
  --line: #d5e2df;
  --radius: 7px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, #ffffff 0, #f7fbfa 42%, #ffffff 100%),
    radial-gradient(circle at 12% 12%, rgba(79,157,176,.14), transparent 28%);
  overflow-x: hidden;
}

a {
  color: #b7561d;
  text-underline-offset: 3px;
}

a:hover { color: var(--base); }

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

h1 {
  font-size: clamp(1.74rem, 2.55vw, 2.12rem);
  font-weight: 860;
}

h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.64rem);
  font-weight: 820;
}

h3 {
  font-size: 1.04rem;
  font-weight: 790;
}

p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(22,52,47,.97);
  border-bottom: 1px solid rgba(230,184,79,.32);
  box-shadow: 0 10px 28px rgba(22,52,47,.18);
  backdrop-filter: blur(14px);
}

.navbar {
  padding: .55rem 0;
}

.navbar-brand img {
  width: auto;
  height: 40px;
  border-radius: var(--radius);
}

.navbar-toggler {
  margin-left: auto;
  border-color: rgba(255,255,255,.24);
}

.nav-link {
  color: rgba(255,255,255,.78) !important;
  font-size: .85rem;
  font-weight: 760;
  padding: .42rem .5rem !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(230,184,79,.14);
}

.btn {
  border-radius: 999px;
  font-weight: 830;
  letter-spacing: 0;
}

.btn-lg {
  font-size: .96rem;
  padding: .68rem 1.05rem;
}

.btn-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(216,111,39,.18);
}

.btn-cta:hover {
  background: #bd5c1c;
  border-color: #bd5c1c;
  color: #fff;
}

.btn-main {
  background: var(--base);
  border-color: var(--base);
  color: #fff;
}

.btn-main:hover {
  background: #0f2521;
  border-color: #0f2521;
  color: #fff;
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
}

.btn-outline-light:hover {
  color: var(--base);
  background: #fff;
  border-color: #fff;
}

.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 900;
}

.hero {
  min-height: 66vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--base);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12,28,25,.98) 0 39%, rgba(22,52,47,.9) 39% 63%, rgba(22,52,47,.22)),
    url("https://images.unsplash.com/photo-1504198266287-1659872e6590?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--accent) 0 22%, var(--gold) 22% 42%, var(--sky) 42% 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 720px;
}

.hero .lead {
  max-width: 690px;
  color: rgba(255,255,255,.8);
  font-size: 1.04rem !important;
}

.hero-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  box-shadow: 0 22px 56px rgba(0,0,0,.2);
}

.hero-panel strong {
  display: block;
  color: var(--base);
  font-size: 1.25rem;
}

.hero-panel span {
  color: var(--muted);
  font-size: .96rem;
}

.hero-panel hr {
  border-color: var(--line);
  opacity: 1;
}

.trust-strip {
  background: #fff;
  color: #263b37;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 820;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip span:before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.section {
  padding: 58px 0;
}

.section-alt {
  background:
    linear-gradient(90deg, rgba(79,157,176,.08) 1px, transparent 1px),
    var(--soft);
  background-size: 34px 34px;
  border-block: 1px solid var(--line);
}

.section-dark {
  background: var(--base);
  color: #fff;
}

.section-dark p {
  color: rgba(255,255,255,.78);
}

.section-dark .feature-card {
  color: var(--ink);
}

.section-dark .feature-card p,
.section-dark .post-card p {
  color: var(--muted);
}

.layout-ribbon {
  border-top: 5px solid var(--accent);
}

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel,
.faq details {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card,
.post-card,
.path-card,
.locator-panel {
  padding: 21px;
}

.feature-card,
.post-card {
  box-shadow: 0 12px 28px rgba(22,52,47,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover,
.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216,111,39,.42);
  box-shadow: 0 18px 36px rgba(22,52,47,.1);
}

.feature-card .eyebrow,
.post-card .eyebrow {
  color: var(--sky);
}

.locator-panel {
  background: #fff;
  border-top: 5px solid var(--sky);
}

.stat-card {
  padding: 17px;
  background: #fbf7ed;
  border-left: 5px solid var(--gold);
}

.stat-card strong {
  display: block;
  color: var(--base);
  font-size: 1.45rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
}

.academy-band {
  background: linear-gradient(180deg, #fff, #f3f8f7);
  border-block: 1px solid var(--line);
}

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

.path-card {
  background: #fff;
  border-top: 4px solid var(--base);
}

.path-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.path-card:nth-child(2) span,
.path-card:nth-child(4) span {
  background: var(--sky);
}

.split-band {
  background: linear-gradient(90deg, var(--base), #244b43);
  color: #fff;
  padding: 42px 0;
}

.split-band p {
  color: rgba(255,255,255,.78);
}

.faq details {
  padding: 16px 18px;
  margin-bottom: 11px;
}

.faq summary {
  color: var(--base);
  cursor: pointer;
  font-weight: 820;
}

label {
  color: #20332f;
  font-weight: 720;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  border-color: var(--line);
  padding: .7rem .82rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(216,111,39,.14);
}

.article-body {
  max-width: 850px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
}

.article-body h2 {
  margin-top: 2rem;
}

.site-footer {
  background: #0f211e;
  color: rgba(255,255,255,.72);
  padding: 50px 0;
  border-top: 5px solid var(--accent);
}

.site-footer img {
  border-radius: var(--radius);
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  margin: .36rem 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-title {
  color: #fff;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1199px) {
  .nav-link {
    padding-block: .42rem !important;
  }
}

@media (max-width: 991px) {
  body {
    padding-bottom: 74px;
  }

  .site-header .container,
  .hero .container {
    max-width: 100%;
    width: 100%;
  }

  .navbar-brand img {
    max-width: 174px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .hero:before {
    background:
      linear-gradient(180deg, rgba(12,28,25,.94), rgba(22,52,47,.82)),
      url("https://images.unsplash.com/photo-1504198266287-1659872e6590?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  }

  .hero .row {
    --bs-gutter-x: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero .row > * {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .hero h1,
  .hero .lead {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-panel {
    margin-top: 18px;
  }

  .section {
    padding: 44px 0;
  }

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

  .mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 1.66rem;
  }

  .hero .lead {
    font-size: 1rem !important;
  }

  .article-body {
    padding: 18px;
  }
}
