/* ============================================================
   SITE CHROME = single source of truth for the NAV + FOOTER.
   Loaded LAST on every page (after qxt.css / build.css / strategy.css /
   claude-legal.css / motion.css), so these rules win everywhere and the
   nav + footer are identical on all pages. Edit nav/footer ONLY here.
   Hardcoded colors (no token dependency) so it works on any page.
   ============================================================ */

/* ---------- NAV (light, sticky) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #F1F5F9; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; display: block; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text strong { font-weight: 800; font-size: 16px; color: #18181B; }
.nav-brand-text small { font-weight: 500; font-size: 9px; letter-spacing: 0.06em; color: #71717A; margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 600; color: #18181B; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #8B5A1F; }
.nav-cta { background: #B8842C; color: #fff; padding: 10px 18px; font-size: 12px; font-weight: 600; border-radius: 9999px; border: none; text-decoration: none; transition: background 0.2s, box-shadow 0.2s; }
.nav-cta:hover { background: #8B5A1F; box-shadow: 0 4px 12px rgba(184,132,44,0.3); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #18181B; margin: 4px 0; transition: transform 0.2s; }

/* Services / Resources dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown-toggle { background: none; border: none; font-family: inherit; font-size: 13px; font-weight: 600; color: #18181B; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s; }
.nav-dropdown-toggle:hover { color: #8B5A1F; }
.nav-chevron { font-size: 9px; transition: transform 0.2s; }
.nav-has-dropdown:hover .nav-chevron, .nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; flex-direction: column; gap: 2px; background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; padding: 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.06); list-style: none; margin: 0; z-index: 60; }
.nav-has-dropdown:hover .nav-dropdown, .nav-has-dropdown:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a { display: block; padding: 8px 10px; border-radius: 4px; white-space: nowrap; font-size: 13px; font-weight: 600; color: #18181B; }
.nav-dropdown a:hover { background: #FBFAF7; color: #8B5A1F; }

@media (max-width: 1023px) {
  .nav-inner { gap: 14px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 24px; border-bottom: 1px solid #E5E7EB; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links.open + .nav-cta { display: inline-block; }
  .nav-has-dropdown { width: 100%; }
  .nav-dropdown { display: flex; position: static; border: none; box-shadow: none; padding: 8px 0 8px 16px; min-width: 0; }
  .nav-dropdown a { padding: 6px 0; }
  .nav-dropdown-toggle { padding: 8px 0; }
  .nav-chevron { display: none; }
}

/* ---------- FOOTER (dark) ---------- */
.footer { background: #18181B; color: #A1A1AA; padding: 48px 0 24px; }
.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1.5fr 1fr 1fr; margin-bottom: 0; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; display: block; }
.footer-brand-text strong { color: #fff; font-size: 14px; display: block; font-weight: 700; }
.footer-brand-text small { color: #71717A; font-size: 10px; letter-spacing: 0.05em; display: block; margin-top: 4px; }
.footer-brand-text p { color: #A1A1AA; font-size: 11px; margin-top: 12px; line-height: 1.5; }
.footer-col h4 { color: #fff; font-size: 11px; font-weight: 700; margin: 0 0 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #A1A1AA; font-size: 12px; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: #B8842C; }
.footer-office { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.footer-address { font-style: normal; color: #A1A1AA; font-size: 12px; line-height: 1.65; margin: 0 0 12px; display: block; }
.footer-contact-icons { display: flex; gap: 14px; }
.footer-contact-icons a, .footer-contact-icons button { color: #71717A; transition: color 0.2s; line-height: 0; }
.footer-contact-icons button { background: none; border: none; padding: 0; cursor: pointer; }
.footer-contact-icons a:hover, .footer-contact-icons button:hover { color: #B8842C; }
.footer-bottom { border-top: 1px solid #27272A; margin-top: 48px; padding-top: 16px; font-size: 11px; color: #71717A; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #A1A1AA; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #B8842C; }
.footer-legal a + a { margin-left: 14px; }
.footer-legal a + a::before { content: ""; display: inline-block; width: 1px; height: 11px; background: #3F3F46; margin-right: 14px; vertical-align: middle; }

@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; } }
