/* ============================================================
   FDI Partners — Light Theme Stylesheet
   White · Gold · Grey palette — no navy
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Light palette */
  --navy:      #1A1A1A;        /* replaces navy → near-black charcoal */
  --navy-mid:  #2C2C2C;        /* replaces navy-mid → dark charcoal */
  --gold:      #B8945A;        /* slightly deeper gold reads better on white */
  --gold-light:#D4B07A;
  --gold-pale: #F5ECD9;        /* very pale gold for subtle tints */
  --offwhite:  #FAFAF8;
  --cream:     #F3F0EA;
  --charcoal:  #1A1A1A;
  --mid-grey:  #6B7280;
  --dark-grey: #3D3D3D;
  --light-grey:#E2DED8;
  --pale-grey: #F0EEEB;
  --white:     #FFFFFF;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1200px;
  --section-pad: 96px 24px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { display: block; max-width: 100%; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--pale-grey); }       /* was navy → now pale grey */
.bg-offwhite { background: var(--offwhite); }
.bg-cream { background: var(--cream); }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}
.divider.left { margin: 20px 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--gold); color: var(--white); }

.btn-solid { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }

/* btn-white: still white when on dark overlays (hero image, dark CTA sections) */
.btn-white { border-color: rgba(255,255,255,0.85); color: var(--white); }
.btn-white:hover { background: var(--white); color: var(--charcoal); }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}
.logo-text .logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-grey);
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-top: 2px solid var(--gold);
  border: 1px solid var(--light-grey);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  padding: 16px 0 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--dark-grey);
}
.dropdown a:hover { color: var(--gold); background: var(--gold-pale); }
.dropdown a::after { display: none; }

/* Mobile chevron */
.nav-chevron {
  display: none;
  font-size: 0.6rem;
  margin-left: 4px;
  transition: transform 0.25s ease;
  color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
  margin-top: 72px;
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  /* lighter overlay — warm grey instead of navy */
  background: linear-gradient(to bottom, rgba(245,236,217,0.15) 0%, rgba(30,25,20,0.55) 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); }
.page-banner .breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* ---------- Sections ---------- */
section { padding: var(--section-pad); }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .divider { margin: 16px auto 0; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 32px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--light-grey);
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }

/* "dark" cards → light gold-tinted on light theme */
.card.dark { background: var(--gold-pale); border-color: var(--gold); }
.card.dark h3, .card.dark h4 { color: var(--charcoal); }
.card.dark p { color: var(--dark-grey); }

.card-icon { width: 40px; height: 40px; margin-bottom: 20px; }

.card-img { background: var(--pale-grey); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.6s ease; }
.card-img:hover img { transform: scale(1.04); }
.card-img-body { padding: 28px; background: var(--white); border: 1px solid var(--light-grey); border-top: none; height: 100%; }

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { width: 100%; height: 480px; object-fit: cover; }

/* ---------- Quote / Callout strip ---------- */
.callout-strip {
  /* gold-pale warm tint instead of navy */
  background: var(--gold-pale);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 80px 24px;
  text-align: center;
}
.callout-strip blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--charcoal);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.5;
  font-style: italic;
}
.callout-strip blockquote span { color: var(--gold); }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--light-grey);
  border-left: 1px solid var(--light-grey);
}
.stat-item {
  padding: 40px 32px;
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  text-align: center;
}
.stat-number { font-family: var(--font-serif); font-size: 3rem; color: var(--charcoal); line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--gold); }
.stat-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-grey); }

/* ---------- Values / Pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-grey);
}
.pillar { background: var(--white); padding: 48px 32px; text-align: center; }
.pillar .pillar-icon { width: 48px; height: 48px; margin: 0 auto 20px; }
.pillar h4 { font-family: var(--font-serif); font-size: 1.2rem; text-transform: none; letter-spacing: 0; color: var(--charcoal); margin-bottom: 12px; }
.pillar p { font-size: 0.9rem; color: var(--mid-grey); }

/* ---------- Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 48px 36px;
  border-left: 1px solid var(--light-grey);
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  position: absolute;
  top: 36px; right: 28px;
  line-height: 1;
}
.process-step:first-child { border-left: none; }
.process-step h4 { font-family: var(--font-serif); font-size: 1.2rem; text-transform: none; letter-spacing: 0; margin-bottom: 12px; }

/* ---------- Team Cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { text-align: center; }
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold-pale);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar svg { width: 56px; height: 56px; fill: var(--mid-grey); }
.team-card h4 { font-family: var(--font-serif); font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--charcoal); margin-bottom: 4px; }
.team-card .role { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Offices ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.office-card {
  padding: 40px;
  border: 1px solid var(--light-grey);
  background: var(--white);
}
.office-card.coming-soon { /* opacity: 0.65; */ }
.coming-soon-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.office-card h3 { margin-bottom: 4px; }
.office-flag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.office-card address { font-style: normal; font-size: 0.9rem; color: var(--mid-grey); line-height: 1.8; }

/* ---------- Contact Form ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--mid-grey); font-size: 0.9rem; }

.contact-email-list { list-style: none; margin: 32px 0; }
.contact-email-list li { padding: 16px 0; border-bottom: 1px solid var(--light-grey); font-size: 0.85rem; }
.contact-email-list li:first-child { border-top: 1px solid var(--light-grey); }
.contact-email-list .email-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.contact-email-list a { color: var(--charcoal); }
.contact-email-list a:hover { color: var(--gold); }

.contact-form { background: var(--pale-grey); padding: 48px; border: 1px solid var(--light-grey); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .error-msg { display: none; font-size: 0.75rem; color: #c0392b; margin-top: 6px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #c0392b; }
.form-group.has-error .error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-notice { font-size: 0.75rem; color: var(--mid-grey); margin-top: 16px; }
.form-status { display: none; padding: 16px 20px; margin-bottom: 24px; font-size: 0.85rem; }
.form-status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-status.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

/* ---------- Map ---------- */
.map-embed { width: 100%; height: 380px; border: none; display: block; filter: grayscale(20%) sepia(10%); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #FFFFFF;
  padding: 72px 24px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand .logo-main { color: #FFFFFF; }
.footer-brand .logo-sub  { color: var(--gold-light); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 16px; color: #FFFFFF; max-width: 280px; }

/* Logo SVG colour override inside footer */
.site-footer .logo-mark polygon { stroke: var(--gold-light); }
.site-footer .logo-mark text    { fill: var(--gold-light); }

.footer-col h5 { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.85rem; color: #FFFFFF; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #FFFFFF; }
.footer-col .coming-soon-badge { margin-top: 16px; font-size: 0.6rem; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #FFFFFF; }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* warmer, lighter overlay — amber tint instead of pure navy */
  background: linear-gradient(105deg, rgba(30,22,12,0.72) 0%, rgba(30,22,12,0.35) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-content .label { color: var(--gold-light); }
.hero-content h1 { color: var(--white); max-width: 680px; margin-bottom: 24px; }
.hero-content p { color: rgba(255,255,255,0.85); max-width: 520px; font-size: 1rem; margin-bottom: 40px; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll span { display: block; width: 1px; height: 48px; background: rgba(255,255,255,0.35); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Home: intro split ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.intro-split-img { overflow: hidden; }
.intro-split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.intro-split-img:hover img { transform: scale(1.04); }
.intro-split-body {
  /* warm off-white instead of navy */
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-split-body h2 { color: var(--charcoal); margin-bottom: 24px; }
.intro-split-body p  { color: var(--dark-grey); margin-bottom: 32px; }

/* ---------- Services strip ---------- */
.services-strip { background: var(--pale-grey); padding: var(--section-pad); }
.service-item {
  padding: 48px 36px;
  border-left: 2px solid var(--gold);
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow var(--transition);
}
.service-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.service-item h3 { margin-bottom: 12px; font-size: 1.4rem; color: var(--charcoal); }
.service-item p { font-size: 0.9rem; color: var(--mid-grey); }
.service-item .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 20px;
}
.service-item .read-more::after { content: '→'; transition: transform var(--transition); }
.service-item:hover .read-more::after { transform: translateX(4px); }

/* ---------- Presence section ---------- */
.presence-section {
  /* Redefine --white locally so inline style="color:var(--white)" resolves to charcoal */  
  background: var(--cream) !important;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: var(--section-pad);
  color: var(--charcoal);
}
.presence-section h2,
.presence-section h3 { color: var(--charcoal) !important; }
.presence-section p   { color: var(--dark-grey) !important; }
/* address uses inline rgba(255,255,255,x) — force override */
.presence-section address { color: var(--mid-grey) !important; }
.presence-section .label  { color: var(--gold) !important; }
.presence-section .divider { background: var(--gold); }

/* Override inline transparent card backgrounds */
.presence-section .office-card {
  background: var(--offwhite) !important;
  border: 1px solid var(--light-grey) !important;
}
.presence-section .office-card.coming-soon {
  background: var(--offwhite) !important;
  opacity: 0.85;
}
.presence-section .office-flag { color: var(--gold) !important; }

/* CTA button inside presence section → gold outline instead of "white" */
.presence-section .btn-white {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  /* undo the local --white override for hover text */
  --white: #FFFFFF;
}
.presence-section .btn-white:hover {
  background: var(--gold) !important;
  color: #FFFFFF !important;
}

/* ---------- Asset class tags ---------- */
.asset-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.asset-tag {
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.asset-tag:hover { background: var(--gold); color: var(--white); }

/* ---------- Dark section overrides (used inline on some pages) ---------- */
/* All sections with inline background:var(--navy) get a light treatment.
   --white is redefined locally so style="color:var(--white)" resolves to charcoal.
   Paragraph and address rgba-white inline colours are force-overridden. */
[style*="background: var(--navy)"],
[style*="background:var(--navy)"] {  
  background: var(--cream) !important;
}
[style*="background: var(--navy)"] h1,
[style*="background: var(--navy)"] h2,
[style*="background: var(--navy)"] h3,
[style*="background: var(--navy)"] h4,
[style*="background:var(--navy)"] h1,
[style*="background:var(--navy)"] h2,
[style*="background:var(--navy)"] h3,
[style*="background:var(--navy)"] h4 {
  color: var(--charcoal) !important;
}
[style*="background: var(--navy)"] p,
[style*="background:var(--navy)"] p {
  color: var(--dark-grey) !important;
}
/* .card.dark inside navy sections — use gold-pale tint */
[style*="background: var(--navy)"] .card.dark,
[style*="background:var(--navy)"] .card.dark {
  background: var(--white) !important;
  border-color: var(--gold) !important;
}
[style*="background: var(--navy)"] .card.dark p,
[style*="background:var(--navy)"] .card.dark p {
  color: var(--mid-grey) !important;
}
/* btn-white inside navy sections → gold outline */
[style*="background: var(--navy)"] .btn-white,
[style*="background:var(--navy)"] .btn-white {
  --white: #FFFFFF;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
[style*="background: var(--navy)"] .btn-white:hover,
[style*="background:var(--navy)"] .btn-white:hover {
  background: var(--gold) !important;
  color: #FFFFFF !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pillar-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-left: none; border-top: 1px solid var(--light-grey); padding: 36px 0; }
  .process-step:first-child { border-top: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 20px 24px 28px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Mobile dropdown */
  .dropdown {
    position: static;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    min-width: 0;
    padding: 0 0 0 16px;
    background: none;
    border: none;
    box-shadow: none;
    transition: opacity 0.25s ease, max-height 0.3s ease;
  }
  .nav-item.open .dropdown { opacity: 1; max-height: 200px; pointer-events: all; }
  .nav-item:hover .dropdown { opacity: 0; max-height: 0; pointer-events: none; }
  .nav-item.open:hover .dropdown { opacity: 1; max-height: 200px; pointer-events: all; }

  .nav-chevron { display: inline-block; }
  .nav-item > a { display: inline-flex; align-items: center; }
  .nav-item.open .nav-chevron { transform: rotate(180deg); }

  .intro-split, .two-col, .contact-wrapper { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .intro-split-img { height: 300px; }
  .intro-split-body { padding: 48px 28px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .team-grid, .offices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { min-height: 100svh; }
  .page-banner { height: 280px; }
  .contact-form { padding: 32px 20px; }
}
