/* ═══════════════════════════════════════
   MR STATE AGENCY — SHARED STYLES
   Used by legal pages and subpages
═══════════════════════════════════════ */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #142a4f;
  --navy-600: #1a3566;
  --gold-400: #c9a84c;
  --gold-300: #d4b85c;
  --gold-200: #e0c974;
  --gold-100: #f0dfa0;
  --white: #f8f6f0;
  --white-pure: #ffffff;
  --gray-100: #e8e6e0;
  --gray-200: #d0cec8;
  --gray-600: #6b6960;
  --gray-800: #2a2824;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══════ HEADER ═══════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; z-index: 1001; }
.logo-img { height: 40px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }

.nav-links a {
  color: rgba(248, 246, 240, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-400);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--gold-400);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold-400); }

/* ═══════ PAGE HERO (small) ═══════ */
.page-hero {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
  padding: 8rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(248, 246, 240, 0.55);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ═══════ LEGAL CONTENT ═══════ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-700);
  margin: 1.8rem 0 0.5rem;
}

.legal-content p {
  font-size: 0.93rem;
  color: var(--gray-800);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.2rem;
}

.legal-content ul li {
  font-size: 0.93rem;
  color: var(--gray-800);
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
}

.legal-content a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.legal-content a:hover { color: var(--navy-700); }

.legal-content .info-box {
  background: var(--navy-900);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem 1.8rem;
  margin: 1.5rem 0;
}

.legal-content .info-box p {
  color: rgba(248, 246, 240, 0.8);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.legal-content .info-box strong { color: var(--gold-300); }

/* ═══════ FOOTER ═══════ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248, 246, 240, 0.06);
}

.footer-brand .logo-img { height: 36px; }

.footer-brand p {
  color: rgba(248, 246, 240, 0.45);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: rgba(248, 246, 240, 0.5);
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: rgba(248, 246, 240, 0.3); }

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(248, 246, 240, 0.35);
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--gold-300); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 34px; }
  .legal-content { padding: 3rem 1.5rem 4rem; }
}

@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
