/* ============================================================
   SHARED — Foundation Wealth
   Variables, reset, nav, footer used across all pages
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

/* ── Design Tokens ── */
:root {
  --navy:  #0A1F44;
  --gold:  #C5A059;
  --white: #FFFFFF;
  --slate: #F8FAFC;
  --text:  #64748B;
  --border:#E2E8F0;
  --dark:  #1E293B;
}

/* ── Base ── */
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 0 5%;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .85rem;
  color: var(--text);
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--gold) !important; }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 2px;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: #fff;
  padding: 28px 5%;
  text-align: center;
}

.f-name {
  font-size: .98rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

footer p {
  font-size: .78rem;
  opacity: .65;
  margin-top: 4px;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  opacity: .85;
}

.footer-links a:hover { text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 767px) {
  .logo { height: 45px; max-width: 140px; }
  .nav-links { display: none; }
}
