/* ─────────────────────────────────────────────────────────────
   SHARED MENU + FOOTER STYLING  (used by every page)
   Edit here once and every page changes.
   Colors (--navy, --gold, etc.) come from each page's own :root list.
   ───────────────────────────────────────────────────────────── */

/* ── MENU (TOP OF PAGE) ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--navy);
  text-transform: uppercase;
}
.logo-tagline {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gray-mid);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); font-weight: 600; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.hamburger { display: none; }
.mobile-menu { display: none; }

/* The menu switches to the hamburger icon at 900px wide and below.
   To move the switch point on every page, change 900 here. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
  }
  .hamburger:hover { background: var(--gray-light); }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu.open { display: flex !important; }
  .mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    padding: 12px 2rem;
    border-bottom: 1px solid var(--gray-light);
    letter-spacing: 0.3px;
    transition: color 0.2s, background 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--gold); background: var(--off-white); }
  .mobile-menu a.active { color: var(--gold); }
  .mobile-menu a.nav-cta {
    margin: 12px 2rem 0;
    border: none !important;
    background: var(--gold);
    color: var(--navy) !important;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    padding: 12px 2rem;
    display: block;
  }
  .mobile-menu a.nav-cta:hover { background: var(--gold-light); }
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 2rem 36px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo-name {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-about {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-col-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

/* The footer columns stack into one column at 768px wide and below. */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
