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

:root {
  --green-dark: #0B2D6E;
  --green-mid: #1A4BAD;
  --green: #2563EB;
  --green-light: #7EB3F8;
  --green-pale: #EFF6FF;
  --blue-dark: #0B2D6E;
  --blue-mid: #1A4BAD;
  --blue: #2563EB;
  --blue-light: #7EB3F8;
  --blue-pale: #EFF6FF;
  --cream: #FAF8F3;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: rgba(0,0,0,0.08);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; color: var(--green-dark); text-decoration: none; }
.nav-logo .mark { width: 37px; height: 37px; background: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.nav-logo .mark svg { width: 20px; height: 20px; fill: white; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); font-weight: 500; }
.nav-cta { background: var(--green); color: white; padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--green-mid); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 500; color: var(--text); text-decoration: none; }
.mobile-menu .close-btn { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text); }

/* ── UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 1.5rem; }
.section-eyebrow { font-size: 12px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--green-dark); line-height: 1.15; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; margin-bottom: 2.5rem; }
.btn-primary { background: var(--green); color: white; padding: 14px 30px; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--green-dark); padding: 14px 30px; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--border); transition: border-color 0.2s, transform 0.15s; display: inline-block; }
.btn-secondary:hover { border-color: var(--green-light); transform: translateY(-1px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--green-dark); color: white; padding: 5rem 1.5rem 4rem; text-align: center; }
.page-hero .eyebrow { font-size: 12px; font-weight: 600; color: var(--green-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── FOOTER ── */
footer { background: #051B4A; color: rgba(255,255,255,0.5); padding: 3rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .nav-logo { color: white; margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-light); }
.footer-bottom { max-width: 1100px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; text-align: center; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: white; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card .icon svg { width: 24px; height: 24px; fill: var(--green-mid); }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--green-dark); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── FORM ── */
.form-wrap { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-wrap input, .form-wrap select, .form-wrap textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: white; color: var(--text);
  font-size: 14px; font-family: 'DM Sans', sans-serif; transition: border-color 0.2s;
}
.form-wrap input:focus, .form-wrap select:focus, .form-wrap textarea:focus { outline: none; border-color: var(--green); }
.form-wrap textarea { resize: vertical; min-height: 110px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  section { padding: 3rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── SOCIAL ICONS (activate when handles are ready) ── */
.footer-social { display: flex; gap: 14px; justify-content: center; margin-top: 1.5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.18); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: rgba(255,255,255,0.6); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── DROPDOWN NAV ── */
.nav-links li { position: relative; }
.nav-links li.has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0;
  width: 100%; height: 12px; background: transparent;
}
.nav-links li .dropdown {
  display: block; opacity: 0; visibility: hidden;
  transform: translateY(8px); pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: white; border-radius: 12px; padding: 10px 0;
  min-width: 240px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border); z-index: 200;
  max-height: 70vh; overflow-y: auto;
  margin-top: 8px;
}
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown,
.nav-links li.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
/* nicer scrollbar inside the dropdown */
.nav-links li .dropdown::-webkit-scrollbar { width: 8px; }
.nav-links li .dropdown::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.nav-links li .dropdown a {
  display: block; padding: 9px 18px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links li .dropdown a:hover { background: var(--blue-pale); color: var(--blue-dark); }
.nav-links li .dropdown .dropdown-section {
  font-size: 11px; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 18px 4px; margin-top: 4px;
}
.nav-links li .dropdown hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }
.has-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
