/* Roadmap to Success — shared chrome: fonts, tokens, menu, footer (every page) */

@font-face { font-family: 'Hector'; src: url("/assets/fonts/hector.woff2") format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url("/assets/fonts/poppins-400.woff2") format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url("/assets/fonts/poppins-600.woff2") format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url("/assets/fonts/poppins-700.woff2") format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --brand-primary: #3070b6;
  --brand-primary-soft: #1a4f8a;
  --brand-accent: #d1b223;
  --brand-accent-light: #e8c845;
  --brand-dark: #003455;
  --brand-darker: #002235;
  --surface-card: #082c58;
  --ink: #1A2340;
  --muted: #5d6c8a;
  --gray-100: #f4f6f9;
  --gray-200: #E4E8F0;
  --white: #ffffff;
  --font-display: 'Hector', Georgia, serif;
  --font-sans: 'Poppins', system-ui, sans-serif;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 999px;
  --max: 1200px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--brand-accent); color: var(--brand-dark); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: var(--nav-h);
  background: rgba(0, 34, 53, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-accent); }
.nav-cta {
  padding: 11px 22px; border-radius: var(--radius-full);
  background: var(--brand-accent); color: var(--brand-dark) !important;
  font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(209, 178, 35, 0.28);
}
.nav-cta:hover { background: var(--brand-accent-light); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px;
  color: var(--white); width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ── FOOTER ── */
.site-footer { background: var(--brand-darker); padding: 72px 40px 32px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--white); }
.footer-top { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 280px; }
.footer-col h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.66); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; gap: 16px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background 0.2s, color 0.2s; }
.social-links a:hover { background: var(--brand-primary); color: var(--white); }


@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .site-nav { padding: 0 20px; }
  .nav-logo img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brand-darker); border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .site-footer { padding: 56px 20px 28px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
