/* ==========================================================================
   site.css — Tariff Recovery Group USA shared stylesheet
   ==========================================================================
   Loaded by every page. Contains the CSS for elements that appear sitewide:
   color variables, body reset, the urgency banner, nav, smart-nav active
   states, and the footer.

   Rule of thumb: if a selector renders the same on every page, it lives here.
   Page-specific layouts (heroes, content sections, forms) stay in each file's
   inline <style> block.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-light: #1a3060;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --gold-pale: #f5e9c8;
  --cream: #faf8f3;
  --white: #ffffff;
  --green: #1a6640;
  --red-warn: #c0392b;
  --text-dark: #0d1f3c;
  --text-mid: #3a4a6a;
  --text-light: #7a8aaa;
  --border: rgba(201,168,76,0.25);
}
.urgency-bar { background: var(--red-warn); color: white; text-align: center; padding: 0.65rem 1rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; position: fixed; top: 68px; left: 0; right: 0; z-index: 99; }
.urgency-bar strong { text-transform: uppercase; letter-spacing: 0.05em; }
.urgency-bar a { color: white; text-decoration: underline; font-weight: 800; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,22,40,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,168,76,0.2); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--gold-light); display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-logo span { line-height: 1.2; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 0.5rem 1.25rem; border-radius: 4px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
footer { background: #060e1c; padding: 2.5rem 2rem; text-align: center; }
footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); line-height: 1.8; max-width: 800px; margin: 0 auto; }
footer a { color: #ffffff; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--gold-light); }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: #ffffff; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.legal-marker { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* Mobile breakpoint — hide nav links on small screens. Burger menu can be added later. */
/* Burger hidden on desktop — override happens inside @media below */
.nav-burger { display: none; }

@media (max-width: 768px) {
  nav .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── Burger button (hidden on desktop) ── */
.nav-burger {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Mobile menu overlay (hidden on desktop) ── */
#trg-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,14,28,0.6);
  backdrop-filter: blur(4px);
}
#trg-mobile-menu.open { display: flex; align-items: flex-start; justify-content: flex-end; }
.mobile-menu-inner {
  background: var(--navy-mid);
  width: min(320px, 85vw);
  height: 100%;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid rgba(201,168,76,0.2);
  overflow-y: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.mobile-menu-close:hover { color: white; }
.mobile-menu-inner a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-menu-inner a:hover { color: var(--gold-light); }
.mobile-menu-cta {
  margin-top: 1.25rem;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 0.85rem 1rem !important;
  border-radius: 4px;
  border-bottom: none !important;
}
.mobile-menu-cta:hover { background: var(--gold-light) !important; }
