:root {
  --base: #243447;
  --accent: #e85d4a;
  --gold: #8cc63f;
  --soft: #f2f5f8;
  --wash: #e6f3d9;
  --ink: #182230;
  --muted: #647081;
  --line: #d9e0e7;
  --radius: 4px;
}

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

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

a { color: #bc3f30; text-underline-offset: 3px; }
a:hover { color: #7d2e26; }

h1, h2, h3 { letter-spacing: 0; line-height: 1.16; }
h1 { font-size: clamp(1.72rem, 2.55vw, 2.1rem); font-weight: 880; }
h2 { font-size: clamp(1.3rem, 1.75vw, 1.62rem); font-weight: 830; }
h3 { font-size: 1.06rem; font-weight: 800; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 3px solid var(--base);
  box-shadow: 0 10px 26px rgba(24,34,48,.08);
}
.navbar { padding: .5rem 0; }
.navbar-brand img {
  width: auto;
  height: 40px;
  border-radius: 4px;
}
.navbar-toggler {
  background: var(--base);
  border: 0;
}
.nav-link {
  color: #293849 !important;
  font-size: .86rem;
  font-weight: 780;
  padding-inline: .48rem !important;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}
.nav-link.active:after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 3px;
  background: var(--gold);
}

.btn {
  border-radius: var(--radius);
  font-weight: 820;
  letter-spacing: 0;
}
.btn-lg { font-size: .98rem; padding: .72rem 1.08rem; }
.btn-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-cta:hover { background: #cf4735; border-color: #cf4735; color: #fff; }
.btn-main {
  background: var(--base);
  border-color: var(--base);
  color: #fff;
}
.btn-main:hover { background: #182536; border-color: #182536; color: #fff; }
.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}
.btn-outline-light:hover { background: #fff; color: var(--base); }

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

.hero {
  min-height: 68vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--base);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 0 0 52%;
  background: var(--hero) center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36,52,71,.98) 0 52%, rgba(36,52,71,.2) 52% 100%),
    linear-gradient(135deg, transparent 0 48%, rgba(140,198,63,.9) 48% 49.2%, transparent 49.2% 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero .col-lg-8 {
  flex: 0 0 52%;
  max-width: 52%;
}
.hero .col-lg-4 { margin-left: auto; }
.hero h1 { max-width: 590px; }
.hero .lead {
  max-width: 560px;
  color: rgba(255,255,255,.8);
  font-size: 1.05rem !important;
}
.hero-panel {
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  border-top: 5px solid var(--gold);
  padding: 20px;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.hero-panel strong {
  display: block;
  color: var(--accent);
  font-size: 1.3rem;
}
.hero-panel span { color: var(--muted); }
.hero-panel hr { border-color: var(--line); opacity: 1; }

.trust-strip {
  background: var(--gold);
  color: #1d2a1d;
  font-size: .88rem;
  font-weight: 850;
}
.trust-strip span {
  padding: 4px 10px;
  background: rgba(255,255,255,.34);
  border-radius: 4px;
}

.section { padding: 60px 0; }
.section-alt {
  background: var(--soft);
  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: 22px; }
.feature-card,
.post-card {
  border-bottom: 4px solid var(--gold);
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover,
.post-card:hover {
  transform: translateY(-2px);
  border-bottom-color: var(--accent);
  box-shadow: 0 12px 30px rgba(24,34,48,.1);
}

.locator-panel {
  background: #fff;
  border-top: 6px solid var(--base);
}
.stat-card {
  padding: 18px;
  background: #f9fbf7;
}
.stat-card strong {
  display: block;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}
.stat-card span { color: var(--muted); }

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.path-card {
  border: 0;
  border-radius: 0;
  min-height: 100%;
}
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.academy-band {
  background:
    linear-gradient(90deg, rgba(36,52,71,.06) 0 1px, transparent 1px),
    #fff;
  background-size: 36px 36px;
  border-block: 1px solid var(--line);
}
.split-band {
  background: var(--base);
  color: #fff;
  padding: 44px 0;
  border-top: 6px solid var(--accent);
}
.split-band p { color: rgba(255,255,255,.78); }

.faq details {
  padding: 16px 18px;
  margin-bottom: 10px;
  border-left: 5px solid var(--gold);
}
.faq summary {
  color: var(--base);
  cursor: pointer;
  font-weight: 840;
}

label { color: #1f2937; font-weight: 700; }
.form-control,
.form-select {
  border-radius: var(--radius);
  border-color: var(--line);
  padding: .72rem .85rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(232,93,74,.14);
}

.article-body {
  max-width: 860px;
  border-left: 5px solid var(--gold);
  padding-left: 24px;
}
.article-body h2 { margin-top: 2rem; }

.site-footer {
  background: #182230;
  color: rgba(255,255,255,.73);
  padding: 52px 0;
}
.site-footer img { border-radius: 4px; }
.site-footer a {
  display: block;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  margin: .38rem 0;
}
.site-footer a:hover { color: var(--gold); }
.footer-title {
  color: #fff;
  font-size: .9rem;
  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: 76px; }
  .site-header .container,
  .hero .container {
    max-width: 100%;
    width: 100%;
  }
  .navbar-brand img { max-width: 172px; }
  .navbar-toggler { margin-left: auto; }
  .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;
  }
  .section { padding: 46px 0; }
  .hero {
    min-height: auto;
    padding: 58px 0 42px;
  }
  .hero:before { inset: 0; opacity: .22; }
  .hero:after {
    background: linear-gradient(90deg, rgba(36,52,71,.94), rgba(36,52,71,.86));
  }
  .hero-panel { margin-top: 18px; }
  .hero .col-lg-8,
  .hero .col-lg-4 {
    flex: 0 0 auto;
    max-width: 100%;
  }
  .hero .col-lg-4 { margin-left: 0; }
  .path-grid { grid-template-columns: 1fr; gap: 1px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
  }
}

@media (max-width: 575px) {
  .navbar-brand img { height: 36px; max-width: 210px; }
  h1 { font-size: 1.66rem; }
  .hero .lead { font-size: 1rem !important; }
  .article-body { padding-left: 16px; }
}
