/* ═══════════════════════════════════════════════
   GENESIS MANAGEMENT CONSULTANCY — SHARED STYLES
   Version 2.0 | April 2026
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Montserrat+Alternates:wght@400;600;700;800&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #112240;
  --navy-light: #1A3358;
  --blue-light: #D6E4F5;
  --gold: #C8A84B;
  --gold-dark: #A8882B;
  --gold-pale: #F5EDD0;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --text: #1C1C2E;
  --muted: #556080;
  --rule: rgba(10,22,40,0.09);
  --nav-height: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Montserrat', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }


/* ══════════════════════════════════════════
   NAVIGATION — DESKTOP + MOBILE UNIFIED
   ══════════════════════════════════════════ */

/* ── BASE NAV ── */
#siteNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: var(--navy);
  border-bottom: 1px solid rgba(200,168,75,0.15);
  transition: box-shadow .3s;
}
#siteNav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: var(--nav-height); max-width: 1440px; margin: 0 auto;
}
.nav-left { display: flex; align-items: center; gap: 24px; }

/* ── HAMBURGER ── */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; cursor: pointer; flex-shrink: 0;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--white); border-radius: 2px;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .2s;
}
.hamburger:hover span { background: var(--gold); }
.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); }

/* ── LOGO ── */
.nav-logo {
  font-family: 'Montserrat Alternates', sans-serif; font-weight: 700;
  font-size: 17px; color: var(--white); letter-spacing: 0.04em; white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

/* ── DESKTOP LINKS ── */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* ── CONTACT CTA ── */
.nav-cta {
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase; padding: 9px 20px;
  transition: background .2s; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--navy); }

/* ── OVERLAY ── */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 490; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════════
   PANEL — TWO-COLUMN MEGA MENU (DESKTOP)
   FULL-SCREEN SHEET (MOBILE)
   ══════════════════════════════════════════ */
.nav-panel {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(820px, 100vw);
  background: var(--navy);
  z-index: 500;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.nav-panel.open { transform: translateX(0); }

/* Header row inside panel */
.np-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 60px; flex-shrink: 0;
  border-bottom: 1px solid rgba(200,168,75,0.12);
}
.np-close {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.4); font-size: 18px;
  background: none; border: none; transition: color .2s; flex-shrink: 0;
}
.np-close:hover { color: var(--gold); }

/* Two-column body */
.np-body {
  display: grid; grid-template-columns: 220px 1fr;
  flex: 1; overflow: hidden;
}
.np-col { padding: 28px 0; overflow-y: auto; }
.np-col-left {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}
.np-col-right { padding: 28px 28px 28px 24px; }

.np-section-label {
  font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); padding: 0 24px 10px; margin-bottom: 2px;
}

/* Left column main links */
.np-main-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px; color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 600;
  transition: all .18s; border-left: 2px solid transparent;
}
.np-main-link:hover {
  color: var(--white); background: rgba(200,168,75,0.06); border-left-color: var(--gold);
}
.np-link-label { flex: 1; }
.np-link-arrow { color: var(--gold); opacity: 0; transition: opacity .18s; font-size: 13px; }
.np-main-link:hover .np-link-arrow { opacity: 1; }

/* Right column sub links */
.np-sub-link {
  display: block; padding: 9px 0; color: rgba(255,255,255,0.5); font-size: 12px;
  font-weight: 500; transition: color .18s; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.np-sub-link:hover { color: var(--white); }

/* Footer CTA strip */
.np-footer {
  padding: 20px 28px; border-top: 1px solid rgba(200,168,75,0.12);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex-shrink: 0;
  background: rgba(255,255,255,0.02);
}
.np-cta {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--navy) !important; font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 20px;
  transition: background .2s; white-space: nowrap;
}
.np-cta:hover { background: var(--gold-dark); }
.np-cta-outline {
  background: transparent; color: var(--gold) !important;
  border: 1px solid rgba(200,168,75,0.4);
}
.np-cta-outline:hover { background: rgba(200,168,75,0.1); }
.np-footer-links {
  display: flex; gap: 16px; margin-left: auto;
}
.np-footer-links a {
  font-size: 11px; color: rgba(255,255,255,0.3); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s;
}
.np-footer-links a:hover { color: rgba(255,255,255,0.7); }


/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST, NO BLEED, NO OVERFLOW
   ════════════════════════════════════════════════════════ */

/* Base: prevent ANY horizontal scroll site-wide */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* All sections: safe horizontal padding via custom property */
:root {
  --px: 56px;   /* desktop side padding */
}
@media (max-width: 1024px) { :root { --px: 32px; } }
@media (max-width: 768px)  { :root { --px: 20px; } }
@media (max-width: 480px)  { :root { --px: 16px; } }

/* ── NAV: tablet ── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 28px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; }
}

/* ── NAV: hide links on small tablet ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
}

/* ── NAV: mobile — 3-cell grid, zero overlap ── */
@media (max-width: 600px) {
  :root { --nav-height: 52px; }

  #siteNav { width: 100%; left: 0; right: 0; }

  .nav-inner {
    width: 100%;
    max-width: 100vw;
    padding: 0;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    grid-template-rows: var(--nav-height);
    align-items: center;
    height: var(--nav-height);
    overflow: hidden;
  }

  .nav-left {
    display: contents; /* children slot directly into grid */
  }

  .hamburger {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: 28px; height: 28px;
  }

  .nav-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    font-size: 13px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    font-size: 8.5px;
    padding: 6px 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}

/* ── PANEL: mobile full-screen ── */
@media (max-width: 600px) {
  .nav-panel { width: 100vw; max-width: 100vw; }
  .np-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .np-col { overflow-y: visible; }
  .np-col-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
  }
  .np-col-right { padding: 16px 20px 20px; }
  .np-main-link { padding: 15px 20px; font-size: 15px; font-weight: 700; }
  .np-section-label { padding: 0 20px 8px; }
  .np-sub-link { font-size: 13px; padding: 11px 0; }
  .np-footer {
    padding: 16px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .np-cta {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
  }
  .np-footer-links {
    margin-left: 0;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
  }
}

/* ── GOLD STRIP ── */
@media (max-width: 768px) {
  .gold-strip { padding: 16px var(--px); }
  .gsi { grid-template-columns: 1fr 1fr; }
  .gs-num { font-size: 22px; }
}
@media (max-width: 480px) {
  .gsi { grid-template-columns: 1fr 1fr; gap: 1px; }
}

/* ── NEWSLETTER ── */
@media (max-width: 768px) {
  .mag-strip { padding: 32px var(--px); }
  .mag-inner { grid-template-columns: 1fr; gap: 20px; }
  .mag-form { flex-direction: column; }
  .mag-form input,
  .mag-form button { width: 100%; }
}

/* ── FOOTER ── */
@media (max-width: 768px) {
  footer { padding: 40px var(--px) 28px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  footer { padding: 32px var(--px) 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { gap: 12px; }
}

/* ── PAGE HERO (inner pages) ── */
@media (max-width: 768px) {
  .page-hero { padding: 80px var(--px) 48px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 42px); }
}
@media (max-width: 480px) {
  .page-hero { padding: 64px var(--px) 40px; }
}

/* ── BREADCRUMB ── */
@media (max-width: 768px) {
  .breadcrumb { padding: 12px var(--px); }
}

/* ── SECTION HEADER ── */
@media (max-width: 768px) {
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── BUTTONS ── */
@media (max-width: 480px) {
  .btn-gold, .btn-navy, .btn-outline {
    font-size: 10px; padding: 11px 18px;
  }
}

/* Utility: any element with fixed 56px padding gets clamped on mobile */
@media (max-width: 768px) {
  [style*="padding-left:56px"],
  [style*="padding-right:56px"],
  [style*="padding: 72px 56px"],
  [style*="padding:72px 56px"] {
    padding-left: var(--px) !important;
    padding-right: var(--px) !important;
  }
}


/* ── GOLD STRIP ── */
.gold-strip { background: var(--gold); padding: 22px 56px; }
.gsi { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(10,22,40,0.15); }
.gs-item { background: var(--gold); padding: 16px 24px; }
.gs-num { font-size: 26px; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.gs-label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(10,22,40,0.65); margin-top: 4px; line-height: 1.4; }

/* ── SECTION COMMONS ── */
.section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { font-size: clamp(24px,3vw,36px); font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.section-header { max-width: 1280px; margin: 0 auto 40px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-more { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ── NEWSLETTER STRIP ── */
.mag-strip { background: var(--navy-mid); border-top: 1px solid rgba(200,168,75,0.15); border-bottom: 1px solid rgba(200,168,75,0.15); padding: 40px 56px; }
.mag-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.mag-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.mag-head { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px; }
.mag-sub { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; }
.mag-form { display: flex; }
.mag-form input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 13px; padding: 12px 16px; outline: none; }
.mag-form input::placeholder { color: rgba(255,255,255,0.25); }
.mag-form button { background: var(--gold); color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 20px; border: none; cursor: pointer; transition: background .2s; white-space: nowrap; }
.mag-form button:hover { background: var(--gold-dark); }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 60px 56px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 220px 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand a { font-family: 'Montserrat Alternates', sans-serif; font-weight: 700; font-size: 18px; color: var(--white); display: block; margin-bottom: 14px; }
.footer-brand a span { color: var(--gold); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 700; transition: all .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-offices { margin-top: 16px; }
.footer-office { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.6; margin-bottom: 12px; }
.footer-office strong { color: rgba(255,255,255,0.55); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-cr { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.2); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); padding: 120px 56px 72px; position: relative; overflow: hidden; margin-top: var(--nav-height); }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),transparent); opacity: 0.4; }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,168,75,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(200,168,75,0.04) 1px,transparent 1px); background-size: 48px 48px; pointer-events: none; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.page-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.page-eyebrow-pill { background: rgba(200,168,75,0.15); border: 1px solid rgba(200,168,75,0.3); color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 14px; }
.page-hero h1 { font-size: clamp(32px,4.2vw,56px); font-weight: 900; color: var(--white); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero-sub { font-size: 16px; color: rgba(214,228,245,0.65); line-height: 1.75; max-width: 640px; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--off-white); padding: 14px 56px; border-bottom: 1px solid var(--rule); }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.breadcrumb-inner a { color: var(--muted); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--navy); }
.breadcrumb-inner span { color: rgba(85,96,128,0.4); }
.breadcrumb-inner .current { color: var(--navy); }

/* ── CTA BUTTON ── */
.btn-gold { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 24px; transition: background .2s; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 24px; transition: background .2s; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--gold); border: 1px solid var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 24px; transition: all .2s; }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-arrow { width: 14px; height: 14px; flex-shrink: 0; }

/* ── MOBILE TOP BAR (visible on mobile under nav) ── */
.mobile-top-bar {
  display: none;
  background: rgba(200,168,75,0.06);
  border-bottom: 1px solid rgba(200,168,75,0.12);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.mobile-top-bar::-webkit-scrollbar { display: none; }
.mobile-top-bar-inner {
  display: flex; align-items: center; padding: 0 16px;
  white-space: nowrap; min-height: 40px;
}
.mobile-top-bar-inner a {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); padding: 10px 12px; border-right: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0; transition: color .2s;
}
.mobile-top-bar-inner a:last-child { border-right: none; }
.mobile-top-bar-inner a:hover, .mobile-top-bar-inner a.active { color: var(--gold); }
.mobile-top-bar-inner .mob-cta {
  margin-left: auto; background: var(--gold); color: var(--navy) !important;
  padding: 5px 14px; border: none; border-right: none; font-weight: 800;
}

/* ── PANEL MOBILE TABS ── */
.panel-mobile-nav {
  display: none; flex-direction: row; overflow-x: auto;
  border-bottom: 1px solid rgba(200,168,75,0.15);
  scrollbar-width: none; -ms-overflow-style: none; flex-shrink: 0;
}
.panel-mobile-nav::-webkit-scrollbar { display: none; }
.panel-mobile-nav .panel-nav-item {
  padding: 14px 18px; white-space: nowrap; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  cursor: pointer; border-bottom: 2px solid transparent; border-left: none; transition: all .2s;
}
.panel-mobile-nav .panel-nav-item.active { color: var(--white); border-bottom-color: var(--gold); background: none; }

