/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── ROOT VARS ─── */
:root {
  --navy:    #0F1F3D;
  --teal:    #1D9E75;
  --white:   #F5F4F0;
  --amber:   #EF9F27;
  --charcoal:#2C2C2A;
  --tint:    #E1F5EE;
  --font:    'DM Sans', system-ui, sans-serif;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
main { padding-top: 60px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--navy);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15); }
.nav-logo {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: rgba(245,244,240,0.65); font-size: 14px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--white); }
.nav-cta {
  background: var(--amber); color: var(--navy) !important;
  padding: 8px 18px; border-radius: 6px;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: #d98d20 !important; }

/* ─── LOGO WORDMARK ─── */
.logo-text {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: #F5F4F0; font-family: 'DM Sans', sans-serif;
}
.logo-text-sm {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: #F5F4F0; font-family: 'DM Sans', sans-serif;
}

/* ─── PAGE HERO (shared sub-page structure) ─── */
.page-hero {
  background: var(--navy);
  padding: 80px 2rem 70px;
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; }
.page-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.25rem;
  border: 1px solid rgba(29,158,117,0.35);
  padding: 5px 14px; border-radius: 100px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--white);
  max-width: 700px; margin-bottom: 1.25rem;
}
.page-hero h1 span { color: var(--teal); }
.page-hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(245,244,240,0.7);
  max-width: 560px;
  line-height: 1.65;
}

/* ─── LAYOUT ─── */
.container { max-width: 1020px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; letter-spacing: -0.025em;
  color: var(--navy); line-height: 1.15; margin-bottom: 1rem;
}
.section-lead {
  font-size: 18px; color: #5a5956; max-width: 560px; line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn-dark {
  background: var(--navy); color: var(--white);
  padding: 16px 36px; border-radius: 8px;
  font-size: 17px; font-weight: 500; font-family: var(--font);
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover { background: #0a1628; transform: translateY(-2px); }

/* ─── EYEBROW PILL ─── */
.eyebrow-pill {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); background: var(--amber);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* ─── CTA SECTION (structural — pages set their own background) ─── */
.cta-section { padding: 90px 2rem; text-align: center; }
.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600; color: white;
  letter-spacing: -0.025em; margin-bottom: 1rem; line-height: 1.15;
}
.cta-section p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  max-width: 500px; margin: 0 auto 2.5rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 40px 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-size: 20px; font-weight: 600; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--teal); }
.footer-right { font-size: 13px; color: rgba(245,244,240,0.4); }
.footer-links { display: flex; gap: 1.5rem; margin-bottom: 4px; justify-content: flex-end; }
.footer-links a {
  color: rgba(245,244,240,0.55); font-size: 13px;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ─── MOBILE HAMBURGER NAV ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.ham-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #F5F4F0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 60px; left: 0; right: 0;
  background: #0F1F3D;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.nav-mobile-menu.open { max-height: 500px; }
.nav-mobile-link {
  display: block;
  color: #F5F4F0;
  font-size: 18px;
  font-weight: 500;
  font-family: 'DM Sans', system-ui, sans-serif;
  text-decoration: none;
  padding: 16px 2rem;
  border-bottom: 1px solid rgba(29,158,117,0.2);
  transition: background 0.15s;
}
.nav-mobile-link:hover { background: rgba(255,255,255,0.04); }
.nav-mobile-cta {
  margin: 16px 2rem;
  background: #EF9F27;
  color: #0F1F3D !important;
  font-weight: 600 !important;
  text-align: center;
  border-radius: 8px;
  border-bottom: none;
  padding: 16px 2rem;
}
.nav-mobile-cta:hover { background: #d98d20 !important; }
@media (max-width: 767px) {
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
  nav .nav-links { display: none; }
}

/* ─── ACCESSIBILITY ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-nav {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-nav:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

/* ─── FOOTER RESPONSIVE ─── */
@media (max-width: 680px) {
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
