*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette */
  --navy:        #0e1b2e;
  --navy-2:      #162336;
  --navy-3:      #1d2f47;
  --white:       #ffffff;
  --off-white:   #f5f6f8;
  --surface:     #fafbfc;

  /* Text */
  --text:        #111827;
  --text-2:      #4b5563;
  --text-3:      #9ca3af;

  /* Gold accent — refined, darker */
  --gold:        #b87a1c;
  --gold-2:      #d4952a;
  --gold-bg:     #fdf4e3;
  --gold-border: rgba(184,122,28,0.2);

  /* Borders & shadows */
  --border:      rgba(0,0,0,0.07);
  --border-2:    rgba(0,0,0,0.12);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 16px 40px rgba(0,0,0,0.09), 0 6px 16px rgba(0,0,0,0.06);
  --shadow-xl:   0 28px 64px rgba(0,0,0,0.12), 0 10px 28px rgba(0,0,0,0.07);

  /* Spacing & shape */
  --radius:      10px;
  --radius-lg:   16px;
  --max-w:       1160px;
  --tr:          0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ════════════════════════════════════
   COMPATIBILITY — maps old subpage variable names
   to the new design-system tokens
════════════════════════════════════ */
:root {
  --bg:           var(--white);
  --bg2:          var(--off-white);
  --bg3:          var(--surface);
  --bg-warm:      var(--off-white);
  --dark:         var(--navy);
  --accent:       var(--gold);
  --accent-bg:    var(--gold-bg);
  --accent-border:var(--gold-border);
  --muted:        var(--text-3);
  --text2:        var(--text-2);
  --shadow:       var(--shadow-md);
  --shadow-xs:    var(--shadow-sm);
}

/* Section layout */
.section-inner {
  max-width: var(--max-w); margin: 0 auto;
}
section { padding: 88px 6%; }

/* Section eyebrow / tag */
.section-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

/* Section subtitle */
.section-sub {
  font-size: .97rem; color: var(--text-2); line-height: 1.78;
  max-width: 540px; margin-bottom: 0;
}

/* Headings used on subpages without class */
section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.14;
  color: var(--text); margin-bottom: 12px;
}

/* White button (used on dark backgrounds) */
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.2);
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.btn-white:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); color: #fff; }

/* Footer brand block (subpages use this wrapper) */
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 16px; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.32); line-height: 1.8; max-width: 200px; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-size: .84rem; font-weight: 500;
  letter-spacing: .01em;
  transition: color var(--tr);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .6rem; opacity: .4; }
.dropdown-menu {
  display: none; position: absolute;
  top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 210px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  margin-top: 8px;
}
.nav-dropdown::after {
  content: ''; position: absolute;
  bottom: -8px; left: 0; right: 0; height: 8px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 11px 18px;
  font-size: .84rem; color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr), color var(--tr);
}
.dropdown-menu a:last-child { border: none; }
.dropdown-menu a:hover { background: var(--off-white); color: var(--text); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: .84rem !important;
  letter-spacing: .01em !important;
  transition: background var(--tr) !important;
}
.nav-cta:hover { background: var(--navy-2) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 1px; }

/* ════════════════════════════════════
   SHARED TYPOGRAPHY & LAYOUT
════════════════════════════════════ */
.inner { max-width: var(--max-w); margin: 0 auto; }

.label {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

h2.title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800; letter-spacing: -1.2px; line-height: 1.12;
  color: var(--text); margin-bottom: 14px;
}
h2.title-lg {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
}

.body-lg { font-size: 1rem; color: var(--text-2); line-height: 1.8; max-width: 540px; }
.body-sm { font-size: .88rem; color: var(--text-2); line-height: 1.75; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem; letter-spacing: .01em;
  text-decoration: none;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 2px 8px rgba(14,27,46,.2);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,27,46,.25); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem; letter-spacing: .01em;
  text-decoration: none;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 2px 10px rgba(184,122,28,.25);
}
.btn-gold:hover { background: #9d6918; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(184,122,28,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem;
  text-decoration: none; border: 1.5px solid var(--border-2);
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.btn-outline:hover { border-color: var(--text); background: var(--off-white); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.65);
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 500; font-size: .88rem;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.2);
  transition: border-color var(--tr), color var(--tr);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: .84rem; font-weight: 600;
  text-decoration: none; transition: gap var(--tr), opacity var(--tr);
}
.btn-text:hover { gap: 10px; }

/* Page hero (subpages) */
.page-hero {
  padding: 118px 6% 68px;
  background: var(--off-white); border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { font-size: .73rem; color: var(--text-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-3); text-decoration: none; transition: color var(--tr); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-2); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -2px; line-height: 1.06; margin-bottom: 16px; }
.page-hero > .page-hero-inner > p { font-size: 1.02rem; color: var(--text-2); max-width: 520px; line-height: 1.78; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--navy);
  padding: 72px 6% 40px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-logo { height: 30px; width: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 16px; }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.32); line-height: 1.8; max-width: 200px; }
.footer-col h5 { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.48); text-decoration: none; transition: color var(--tr); }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .73rem; color: rgba(255,255,255,.22); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: .73rem; color: rgba(255,255,255,.32); text-decoration: none; transition: color var(--tr); }
.footer-social a:hover { color: rgba(255,255,255,.75); }

/* ════════════════════════════════════
   RESPONSIVE SHARED
════════════════════════════════════ */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; right: 0; z-index: 998;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    padding: 20px 6%; gap: 0; border-bottom: 1px solid var(--border);
  }
  .nav-links.mobile-open li { width: 100%; }
  .nav-links.mobile-open a { font-size: .92rem; padding: 12px 0; display: block; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav-links.mobile-open .dropdown-menu { display: block; position: static; background: none; border: none; box-shadow: none; padding-left: 16px; }
  .nav-links.mobile-open .dropdown-menu a { font-size: .86rem; border-bottom: none; padding: 8px 0; }
  .nav-links.mobile-open .nav-cta { background: var(--navy) !important; border-radius: var(--radius) !important; text-align: center; color: #fff !important; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════
   FAQ (rich snippet friendly accordion)
═══════════════════════════════════════ */
.faq-section { background: var(--off-white); }
.faq-intro { max-width: 800px; margin: 0 auto; text-align: center; }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding-right: 44px;
  position: relative;
  transition: color var(--tr);
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--tr);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p {
  margin-top: 14px;
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.75;
}
