/* Frankmar Associates — shared stylesheet
   Palette pulled from the client logo/flyer: deep navy + gold on white. */

:root {
  --navy-900: #0d1f3c;
  --navy-800: #132a52;
  --navy-700: #1e3a68;
  --navy-600: #2a4a80;
  --gold-500: #c9a227;
  --gold-400: #d9b94a;
  --white: #ffffff;
  --off-white: #f6f7fa;
  --gray-100: #eceef2;
  --gray-300: #c7ccd6;
  --gray-500: #6b7280;
  --gray-700: #3d4451;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(13, 31, 60, 0.08);
  --shadow-hover: 0 10px 28px rgba(13, 31, 60, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy-900); color: var(--gray-300); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .card h2, .section--navy .card h3 { color: var(--navy-900); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13, 31, 60, 0.18); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--gold-400); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy-900); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.whatsapp-btn:hover { background: #1fb956; transform: scale(1.06); }
.whatsapp-btn svg { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(13, 31, 60, 0.3);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.whatsapp-float:hover { background: #1fb956; transform: translateY(-2px); }
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
@media (max-width: 560px) {
  .whatsapp-float { padding: 14px; right: 16px; bottom: 16px; }
  .whatsapp-float span { display: none; }
}

.search-wrap { position: relative; }
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--navy-900);
  cursor: pointer;
  padding: 8px 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}
.search-btn:hover { color: var(--gold-500); }
.search-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 10px;
  display: none;
  gap: 6px;
}
.search-box.is-open { display: flex; }
.search-box input {
  flex: 1;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: 9px 11px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-700);
}
.search-box input:focus { outline: 2px solid var(--gold-500); border-color: var(--gold-500); }
.search-box button {
  border: none;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 4px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.search-box button:hover { background: var(--gold-400); }

.region-switcher { position: relative; }
.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed var(--gray-300);
  background: transparent;
  color: var(--navy-900);
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.region-btn:hover { color: var(--gold-500); border-color: var(--gold-500); }
.region-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.region-btn .chev { width: 12px; height: 12px; transition: transform 0.2s ease; }
.region-panel.is-open ~ .region-switcher .chev,
.region-switcher.is-open .chev { transform: rotate(180deg); }

.region-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 60, 0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.region-overlay.is-open { opacity: 1; pointer-events: auto; }

.region-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: var(--white);
  z-index: 301;
  box-shadow: -18px 0 40px rgba(13, 31, 60, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
}
.region-panel.is-open { transform: translateX(0); }

.region-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.region-panel-head h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.region-panel-head p {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin: 0;
}
.region-close {
  border: none;
  background: var(--gray-100);
  color: var(--navy-900);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.region-close:hover { background: var(--gold-500); color: var(--white); }
.region-close svg { width: 16px; height: 16px; }

.region-search-wrap {
  position: relative;
  margin-bottom: 18px;
}
.region-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gray-700);
}
.region-search-wrap input {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 11px 12px 11px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy-900);
}
.region-search-wrap input:focus { outline: 2px solid var(--gold-500); border-color: var(--gold-500); }

.region-current-wrap { border-bottom: 1px solid var(--gray-300); padding-bottom: 8px; margin-bottom: 8px; }

.region-list { flex: 1; overflow-y: auto; }
.region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 12px 8px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy-900);
  cursor: pointer;
}
.region-item:hover { background: var(--gray-100); }
.region-item em { color: var(--gray-700); font-style: normal; margin: 0 4px; }
.region-item .check { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; visibility: hidden; }
.region-item.is-active .check { visibility: visible; }
.region-item.is-active { font-weight: 600; }
.region-item.is-hidden { display: none; }

/* Header / Mega nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #eff0f4;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 10px rgba(13, 31, 60, 0.05);
  transition: box-shadow 0.25s ease;
}
.site-header.is-solid {
  box-shadow: 0 4px 16px rgba(13, 31, 60, 0.1);
}
.nav-bar {
  max-width: none;
  margin: 0;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.brand-card {
  display: inline-flex;
  align-items: center;
}
.brand-card img {
  display: block;
  height: 92px;
  width: auto;
  filter: drop-shadow(0 1px 1px rgba(13, 31, 60, 0.35));
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-card {
  background: var(--white);
  border-radius: 12px;
  padding: 7px 16px;
  box-shadow: 0 3px 14px rgba(13, 31, 60, 0.2);
}
.footer-brand .brand-card img {
  height: 76px;
  filter: none;
}
.footer-brand .brand-card img { height: 68px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy-900);
  border-radius: 4px;
  transition: color 0.2s ease;
}
.nav-link::before {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--navy-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::before,
.nav-link:focus::before {
  transform: scaleX(1);
}

.nav-actions { margin-left: auto; }

.nav-item.has-mega > .nav-link::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-bottom: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-item.has-mega:hover > .nav-link::after,
.nav-item.has-mega:focus-within > .nav-link::after {
  transform: rotate(225deg);
  margin-bottom: -1px;
}
.nav-item.current > .nav-link::before { transform: scaleX(1); }

.mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 560px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: all 0.18s ease;
}
.nav-item.has-mega:hover .mega-panel,
.nav-item.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
.mega-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.mega-col a:hover { color: var(--navy-900); text-decoration: underline; }

/* Deloitte-style full-width dark mega panel (Who We Are) */
.nav-item.has-mega-dark { position: static; }
.mega-panel--dark {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 0;
  width: 100%;
  background: var(--navy-900);
  border: none;
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 0;
  display: flex;
  gap: 0;
  transform: none;
  translate: 0 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, translate 0.15s ease, visibility 0.15s;
}
.nav-item.has-mega-dark.is-open .mega-panel--dark {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
}
.nav-item.has-mega-dark > .nav-link::after { transition: transform 0.2s ease; }
.nav-item.has-mega-dark.is-open > .nav-link::after {
  transform: rotate(225deg);
  margin-bottom: -1px;
}

/* Accordion sub-items inside dark sidebar */
.mega-sidebar details { border-radius: 4px; }
.mega-sidebar summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-sidebar summary::-webkit-details-marker { display: none; }
.mega-sidebar summary:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.mega-sidebar summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mega-sidebar details[open] summary::after { transform: rotate(45deg); }
.mega-sidebar details[open] summary { color: var(--white); }
.mega-sidebar .details-sub {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
}
.mega-sidebar .details-sub a { padding: 10px 18px; font-size: 0.88rem; }
.mega-panel--dark .mega-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
}
.mega-panel--dark .mega-sidebar a {
  padding: 13px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: 4px;
}
.mega-panel--dark .mega-sidebar a:first-child { color: var(--gold-500); font-weight: 600; }
.mega-panel--dark .mega-sidebar a:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); text-decoration: none; }
.mega-panel--dark .mega-sidebar { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.mega-panel--dark .mega-featured {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 32px 60px 32px 40px;
  margin-left: auto;
  max-width: 320px;
}
.mega-panel--dark .mega-featured h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.mega-panel--dark .mega-featured img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 16px;
  display: block;
}
.mega-panel--dark .mega-featured a {
  display: block;
  color: var(--gray-300);
  font-size: 0.92rem;
  padding: 4px 0;
}
.mega-panel--dark .mega-featured a:first-of-type { color: var(--white); font-weight: 600; margin-top: 4px; }
.mega-panel--dark .mega-featured a:hover { color: var(--gold-500); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  margin: 4px 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 150px 0 80px;
}
.hero--page { padding: 128px 0 64px; }

.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--gray-300);
  font-size: 0.88rem;
  margin-top: 18px;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-body li { margin-bottom: 10px; }
.article-body .callout {
  background: var(--off-white);
  border-left: 3px solid var(--gold-500);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 28px 0;
  font-size: 0.98rem;
}
.hero--decorated {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
}
.hero--decorated .container { width: 100%; }
.hero-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero--decorated .container { position: relative; z-index: 1; }

/* Hero background photo slideshow */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 60, 0.48);
}

.hero-caption {
  position: relative;
  margin-top: 32px;
  max-width: 460px;
  min-height: 78px;
}
.hero-caption p {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease;
  color: var(--gray-300);
  font-size: 0.92rem;
  line-height: 1.55;
  border-left: 3px solid var(--gold-500);
  padding-left: 16px;
}
.hero-caption p.is-active { opacity: 1; }
@media (max-width: 620px) {
  .hero-caption { min-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-caption p { transition: none; }
}
@media (max-width: 960px) {
  .hero-decor { opacity: 0.6; }
}

/* Hero content: fade + rise in on page load */
.hero .eyebrow,
.hero h1,
.hero p.lead,
.hero-links {
  opacity: 0;
  animation: heroRise 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero p.lead { animation-delay: 0.28s; }
.hero-links { animation-delay: 0.4s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveal for content sections (JS-gated: never hides content if JS fails) */
.section.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.section.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-links { animation: none !important; opacity: 1 !important; }
  .section.reveal-ready { opacity: 1 !important; transform: none !important; transition: none !important; }
  .banner-photo img, .card, .card-img, .btn, .icon-badge { transition: none !important; }
}
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero-badge {
  width: 108px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}
.hero-copy {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-copy.slide-out { opacity: 0; transform: translateX(-48px); }
.hero-copy.slide-in-start { transition: none; opacity: 0; transform: translateX(48px); }
@media (prefers-reduced-motion: reduce) {
  .hero-copy { transition: none; }
}
.hero .eyebrow { color: var(--gold-400); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 620px;
}
.hero--decorated h1,
.hero--decorated p.lead,
.hero--decorated .hero-links,
.hero--decorated .hero-caption p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}
.hero-links a {
  font-weight: 600;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 4px;
}
.hero-links a:hover { color: var(--gold-400); }

/* Cards */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-grid--feature { grid-template-columns: 1.1fr 0.9fr; }
.split-grid--top { align-items: start; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img { transition: transform 0.5s ease; }
.card:hover .card-img { transform: scale(1.06); }
.card .icon-badge { transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.card:hover .icon-badge { transform: scale(1.08); background: var(--gold-500); color: var(--navy-900); }
.card-img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}
.card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.card-body p { color: var(--gray-500); font-size: 0.92rem; flex: 1; }
.card-link { font-weight: 600; font-size: 0.9rem; color: var(--navy-900); margin-top: 10px; }
.card-link:hover { color: var(--gold-500); }

/* Image-background overlay banner (Our Story / Featured Service) */
.banner-photo {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 44px;
}
.banner-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s ease;
}
.banner-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 31, 60, 0.1) 0%, rgba(13, 31, 60, 0.92) 100%);
  z-index: -1;
}
.banner-photo:hover img { transform: scale(1.05); }
.banner-photo-content { max-width: 560px; }
.banner-photo-content .eyebrow { color: var(--gold-400); }
.banner-photo-content h2 { color: var(--white); }
.banner-photo-content p { color: var(--gray-300); }
.banner-photo-content .btn { margin-top: 6px; }
@media (max-width: 620px) {
  .banner-photo { min-height: 360px; padding: 28px; align-items: flex-end; }
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* Credibility strip */
.credibility-strip { padding-top: 40px; padding-bottom: 40px; }
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.credibility-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 28px;
  border-left: 1px solid var(--gray-300);
}
.credibility-item:first-child { border-left: none; padding-left: 0; }
.credibility-item svg {
  width: 30px;
  height: 30px;
  color: var(--gold-500);
  flex-shrink: 0;
}
.credibility-item p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
}
@media (max-width: 900px) {
  .credibility-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .credibility-item:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .credibility-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .credibility-item { border-left: none; padding-left: 0; border-top: 1px solid var(--gray-300); padding-top: 20px; }
  .credibility-item:first-child { border-top: none; padding-top: 0; }
}

/* CTA banner */
.cta-banner {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: var(--gray-300); margin: 0; }

/* Carousel */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { min-width: 320px; scroll-snap-align: start; }
.carousel-controls { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 20px; }
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  color: var(--navy-900);
}
.carousel-btn:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.logo-chip {
  flex: 1;
  min-width: 140px;
  height: 70px;
  background: var(--off-white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Auto-scrolling logo marquee */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

/* Auto-scrolling carousel (case studies) */
.carousel-track.auto-scroll {
  overflow: visible;
  width: max-content;
  animation: carouselScroll 38s linear infinite;
}
.carousel.is-auto { overflow: hidden; }
.carousel.is-auto .carousel-track { display: flex; }
.carousel.is-auto:hover .carousel-track.auto-scroll { animation-play-state: paused; }
@keyframes carouselScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .carousel-track.auto-scroll { animation: none; }
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold-500);
  font-weight: 700;
}
.stat-label { font-size: 0.85rem; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.05em; }

/* Team / people */
.person-card { text-align: center; }
.person-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}
.person-role { color: var(--gold-500); font-size: 0.85rem; font-weight: 600; }

/* Timeline */
.timeline { border-left: 2px solid var(--gray-300); padding-left: 28px; display: flex; flex-direction: column; gap: 32px; margin-left: 8px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
}
.timeline-year { font-weight: 700; color: var(--navy-900); font-family: var(--font-head); }

/* Jobs list */
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  gap: 16px;
  flex-wrap: wrap;
}
.job-row + .job-row { margin-top: 16px; }
.job-meta { color: var(--gray-500); font-size: 0.85rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--gold-500); border-color: var(--gold-500); }

.info-block { display: flex; gap: 16px; margin-bottom: 24px; }
.info-block .icon-badge { margin-bottom: 0; flex-shrink: 0; }

.map-placeholder {
  height: 320px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--off-white), var(--off-white) 10px, var(--gray-100) 10px, var(--gray-100) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--gray-300); font-size: 0.88rem; max-width: 260px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--gray-300);
  font-size: 0.88rem;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.legal-links { display: flex; gap: 20px; }
.legal-links a:hover { color: var(--gold-400); }

/* Mobile menu overlay (Deloitte-style full-screen takeover) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy-900);
  padding: 18px 24px 28px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu-overlay.is-open { display: flex; }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-menu-brand-text {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.2;
}
.mobile-menu-brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 2px;
}
.mobile-menu-icons { display: flex; align-items: center; gap: 22px; }
.mobile-menu-icons button {
  background: none;
  border: none;
  padding: 4px;
  color: var(--white);
  cursor: pointer;
  display: flex;
}
.mobile-menu-icons svg { width: 22px; height: 22px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-300);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:active { color: var(--gold-400); }
.mobile-menu-links a svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu-bottom-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 0.92rem;
}
.mobile-menu-bottom-item svg { width: 18px; height: 18px; flex-shrink: 0; }
a.mobile-menu-bottom-item:hover { color: var(--gold-400); }

/* Mobile */
@media (max-width: 960px) {
  .nav-bar { flex-wrap: wrap; }
  .nav-menu { display: none; }
  .mega-panel { display: none; }
  .nav-toggle { display: block; order: 3; }
  .nav-actions { order: 2; }
  .search-btn span { display: none; }
  .region-switcher { display: none; }
  .brand-card img { height: 40px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .split-grid, .split-grid--feature { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .hero--decorated { min-height: 690px; padding-top: 108px; padding-bottom: 48px; }
  .hero-badge { width: 84px; }
  .credibility-strip { padding-top: 28px; padding-bottom: 28px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
