/* Munyai Consulting — shared design system
   Palette extends the existing brand (navy/teal) from the original coming-soon page,
   warmed with an off-white base rather than stark white. */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --navy: #1E2A78;
  --navy-deep: #151E5A;
  --teal: #1BA7C4;
  --teal-deep: #14879F;
  --silver: #A7B0C0;
  --ink: #1C2135;
  --text: #2A2F45;
  --text-muted: #5B6478;
  --cream: #F7F5EF;
  --surface: #FFFFFF;
  --surface-tint: #F1F0FA;
  --border: rgba(30, 42, 120, 0.12);
  --shadow: 0 24px 60px rgba(21, 30, 90, 0.12);

  --font-head: 'Lexend', Arial, sans-serif;
  --font-body: 'Source Sans 3', Arial, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-height: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-deep);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 22px); }

p { color: var(--text-muted); }

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

section { padding: var(--space-7) 0; }
section.tight { padding: var(--space-6) 0; }

/* Kept in the DOM for search engines and screen readers, hidden visually —
   the eyebrow labels and the CATI/CAPI-style methodology/sector tag lists. */
.section-eyebrow, .chip-group {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 12px 28px rgba(30,42,120,0.28); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: rgba(30,42,120,0.25);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(30,42,120,0.05); }

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--teal); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(21, 30, 90, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--space-4); }
.main-nav ul { display: flex; list-style: none; gap: var(--space-3); }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color 150ms ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Extra links shown only inside the mobile slide-in nav panel — desktop keeps
   the top nav to the 5 core pages, the panel adds the quote CTA + legal pages. */
.main-nav-more { display: none; }

.nav-close { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Hero — full-bleed background photo with parallax; the photo lives on its own
   ::before layer (grayscale filter) separate from the white legibility overlay
   (::after) so the filter can't desaturate the navy heading text above it.
   The header is a fixed overlay (see .site-header) so it sits on top of this
   on page load. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-corporate-building.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  filter: grayscale(100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.87);
}
@media (max-width: 960px) {
  .hero::before { background-attachment: scroll; }
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-5)) var(--space-4) var(--space-6);
}
.hero-copy h1 { font-size: clamp(28px, 3.6vw, 46px); color: var(--navy-deep); }
.hero-copy p.lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  max-width: 60ch;
  margin: var(--space-2) auto var(--space-3);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }
.hero-actions .link-cta { font-family: var(--font-head); font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

.floating-badge {
  position: absolute;
  bottom: 28px;
  left: max(var(--space-4), calc((100vw - var(--container)) / 2));
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: badge-float 4s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.floating-badge .num { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy); }
.floating-badge .label { font-size: 13px; color: var(--text-muted); line-height: 1.3; max-width: 14ch; }

/* Interior page hero */
.page-hero { position: relative; overflow: hidden; background: var(--surface); padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-5); border-bottom: 1px solid var(--border); }
.page-hero::before {
  content: "";
  position: absolute;
  top: -160px; right: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(27, 167, 196, 0.12);
  filter: blur(70px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { font-size: 18px; max-width: 62ch; margin-top: var(--space-2); }

/* Prose blocks */
.prose { max-width: 720px; }
.prose p { font-size: 17px; color: var(--text); margin-bottom: var(--space-2); }
.prose p:last-child { margin-bottom: 0; }

/* Generic content section with divider list (people, provinces, sectors) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); margin-top: var(--space-4); }
.info-item { display: flex; align-items: flex-start; gap: 12px; padding: var(--space-3); border-bottom: 1px solid var(--border); transition: background 200ms ease; }
.info-item:not(:nth-child(3n)) { border-right: 1px solid var(--border); }
.info-item:hover { background: var(--surface-tint); }
.info-item .icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-sm); background: #fff; display: flex; align-items: center; justify-content: center; transition: background 200ms ease, transform 200ms ease; }
.info-item .icon svg { width: 20px; height: 20px; stroke: var(--navy); transition: stroke 200ms ease; }
.info-item:hover .icon { background: var(--teal); transform: scale(1.1); }
.info-item:hover .icon svg { stroke: #fff; }
.info-item h4 { font-family: var(--font-head); font-weight: 700; color: var(--navy-deep); font-size: 15.5px; }
.info-item p { font-size: 14px; margin: 0; }

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-4); }
.two-col.three-col { grid-template-columns: repeat(3, 1fr); }
.two-col h4 { font-family: var(--font-head); color: var(--navy-deep); margin-bottom: var(--space-2); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.two-col-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--surface-tint); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2); }
.two-col-icon svg { width: 24px; height: 24px; stroke: var(--navy); }
.section-dark .two-col-icon { background: rgba(255,255,255,0.1); }
.section-dark .two-col-icon svg { stroke: #fff; }
.two-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.two-col li { font-size: 16px; color: var(--text); padding-bottom: 10px; border-bottom: 1px solid var(--border); }

.award-callout {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface-tint);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
}
.award-callout .icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.award-callout .icon svg { width: 24px; height: 24px; stroke: var(--teal-deep); }
.award-callout strong { display: block; color: var(--navy-deep); font-family: var(--font-head); }
.award-callout span { font-size: 14.5px; color: var(--text-muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-6); align-items: start; }
.contact-card { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-4); }
.contact-card + .contact-card { margin-top: var(--space-3); }
.contact-card h4 { font-family: var(--font-head); color: var(--navy-deep); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 16px; color: var(--text); }

.form-field { margin-bottom: var(--space-3); }
.form-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy-deep); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-note { font-size: 13.5px; color: var(--text-muted); margin-top: var(--space-2); }

/* Trust strip — label stacked above a full-width logo track */
.trust-strip { padding: var(--space-5) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: flex; flex-direction: column; gap: var(--space-3); }
.trust-strip .trust-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.trust-marks { position: relative; overflow: hidden; width: 100%; height: 60px; }
.trust-track { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-6); height: 60px; }

.trust-logo {
  height: 42px;
  width: auto;
  min-width: 42px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: opacity 200ms ease, filter 200ms ease;
  flex-shrink: 0;
}
.trust-logo:hover { opacity: 0.9; filter: grayscale(40%); }
.trust-marks span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-deep);
  opacity: 0.65;
  transition: opacity 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.trust-marks span:hover { opacity: 1; color: var(--teal-deep); }

.trust-track.marquee {
  flex-wrap: nowrap;
  gap: var(--space-6);
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}
.trust-marks:hover .trust-track.marquee { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scroll-reveal (class applied only via JS — safe no-JS fallback is fully visible) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms cubic-bezier(.16,.8,.24,1), transform 700ms cubic-bezier(.16,.8,.24,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* Alternating feature rows — the image runs full-bleed to the viewport edge;
   only the text side keeps the site's normal container gutter. order (not DOM
   position) decides which side the image lands on, so .reverse actually alternates it. */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 460px; padding: 0; }
/* min-height/min-width: 0 stop a tall/narrow image's intrinsic aspect ratio from
   inflating the auto-sized grid row (a well-known CSS Grid gotcha) */
.feature-row .media { order: 1; overflow: hidden; height: 100%; min-height: 0; min-width: 0; }
.feature-row .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
.feature-row .media:hover img { transform: scale(1.05); }
.feature-row > *:not(.media) {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5) max(var(--space-3), calc((100vw - var(--container)) / 2)) var(--space-5) var(--space-6);
}
.feature-row.reverse .media { order: 2; }
.feature-row.reverse > *:not(.media) {
  order: 1;
  padding: var(--space-5) var(--space-6) var(--space-5) max(var(--space-3), calc((100vw - var(--container)) / 2));
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.stat-row .stat { position: relative; padding-left: 14px; transition: transform 200ms ease; }
.stat-row .stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--teal); }
.stat-row .stat:hover { transform: translateY(-3px); }
.stat-row .stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3vw, 34px); color: var(--navy); }
.stat-row .stat .label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* Dark section variant — navy background + parallax photo, inverted text.
   Overlay is stronger than .cta-band-wrap's since this section carries dense
   foreground content (icons, headings, body copy) that needs to stay legible. */
.section-dark {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(21, 30, 90, 0.95) 0%, rgba(30, 42, 120, 0.92) 100%), url('../images/cta-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 960px) {
  .section-dark { background-attachment: scroll; }
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -140px; right: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(27, 167, 196, 0.18);
  filter: blur(80px);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-dark .service-list { border-top-color: rgba(255,255,255,0.15); }
.section-dark .service-item { border-bottom-color: rgba(255,255,255,0.15); }
.section-dark .service-item:nth-child(odd) { border-right-color: rgba(255,255,255,0.15); }
.section-dark .service-item .icon { background: rgba(255,255,255,0.1); }
.section-dark .service-item .icon svg { stroke: #fff; }
.section-dark .service-item h3 { color: #fff; }
.section-dark .service-item p { color: rgba(255,255,255,0.68); }
.section-dark .service-item:hover { background: rgba(255,255,255,0.06); }
.section-dark .service-item:hover .icon { background: var(--teal); }
.section-dark .service-item:hover h3 { color: var(--teal); }
.page-hero.section-dark { border-bottom: none; }

/* Services — no boxed cards, divider-led rows */
.service-list { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.service-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--border);
  transition: background 200ms ease, padding-left 200ms ease;
}
.service-item:nth-child(odd) { border-right: 1px solid var(--border); }
.service-item:hover { background: var(--surface-tint); padding-left: calc(var(--space-3) + 6px); }
.service-item .icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background 200ms ease, transform 200ms ease;
}
.service-item .icon svg { width: 24px; height: 24px; stroke: var(--navy); transition: stroke 200ms ease; }
.service-item:hover .icon { background: var(--navy); transform: scale(1.08) rotate(-4deg); }
.service-item:hover .icon svg { stroke: #fff; }
.service-item h3 { margin-bottom: 6px; transition: color 200ms ease; }
.service-item:hover h3 { color: var(--teal-deep); }
.service-item p { font-size: 15px; }

/* Methodology chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-3); }
.chip {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--surface-tint);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.chip:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 42, 120, 0.18);
}

/* Testimonial carousel */
.testimonial-section { background: var(--surface); }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms ease, border-color 150ms ease;
}
.carousel-controls button:hover { background: var(--navy); border-color: var(--navy); }
.carousel-controls button:hover svg { stroke: #fff; }
.carousel-controls svg { width: 18px; height: 18px; stroke: var(--navy); }

.carousel-track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 32vw, 380px);
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial-card .quote { font-size: 16px; color: var(--text); line-height: 1.65; }
.testimonial-card .quote::before { content: "\201C"; color: var(--teal); font-size: 32px; font-family: var(--font-head); line-height: 0; display: block; margin-bottom: 8px; }
.testimonial-card .attribution { margin-top: var(--space-3); }
.testimonial-card .attribution .name { font-family: var(--font-head); font-weight: 700; color: var(--navy-deep); font-size: 15px; }
.testimonial-card .attribution .role { font-size: 13.5px; color: var(--text-muted); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* CTA band-wrap — this is the full-bleed row (edge to edge of the browser,
   same navy-blue + parallax photo on every instance sitewide since they all
   share this class); .cta-band inside it is just the content layout, aligned
   to the site's normal container width, the same pattern .section-dark uses. */
.cta-band-wrap {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  background-image: linear-gradient(135deg, rgba(21, 30, 90, 0.9) 0%, rgba(30, 42, 120, 0.84) 100%), url('../images/cta-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
@media (max-width: 960px) {
  /* background-attachment: fixed is unreliable on mobile browsers */
  .cta-band-wrap { background-attachment: scroll; }
}
.cta-band-wrap::before, .cta-band-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band-wrap::before { width: 260px; height: 260px; background: rgba(27, 167, 196, 0.22); filter: blur(60px); top: -100px; right: 8%; }
.cta-band-wrap::after { width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.08); bottom: -80px; right: 22%; }
.cta-band-wrap .container { position: relative; z-index: 1; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 46ch; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding: var(--space-6) 0 var(--space-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); padding-bottom: var(--space-5); }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid p, .footer-grid li { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.footer-grid a:hover { color: var(--teal); }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: var(--space-2); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { color: rgba(255,255,255,0.55); transition: color 150ms ease; }
.footer-legal-links a:hover { color: var(--teal); }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w { max-width: 640px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-copy { padding: calc(var(--header-height) + var(--space-4)) var(--space-3) var(--space-5); }
  .feature-row { grid-template-columns: 1fr; min-height: 0; }
  .feature-row .media, .feature-row.reverse .media { order: -1; height: 320px; }
  .feature-row > *:not(.media), .feature-row.reverse > *:not(.media) { order: 2; padding: var(--space-4) var(--space-3); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
  .service-item:nth-child(odd) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { position: fixed; inset: 0; background: var(--surface); padding: 84px var(--space-3) var(--space-6); overflow-y: auto; transform: translateX(100%); transition: transform 220ms ease; z-index: 70; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
  .main-nav a { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-close {
    display: flex;
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--surface-tint);
    border: none;
    border-radius: 50%;
    color: var(--navy);
    cursor: pointer;
  }
  .main-nav-more { display: block; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); }
  .main-nav-more .btn { width: 100%; }
  .main-nav-legal { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: var(--space-3); }
  .main-nav-legal a { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--text-muted); }
  .main-nav-legal a:hover { color: var(--navy); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-item:not(:nth-child(3n)) { border-right: 1px solid var(--border); }
  .info-item:nth-child(2n) { border-right: none; }
  .two-col, .two-col.three-col { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item { border-right: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .two-col.three-col { grid-template-columns: 1fr; }
}

/* Mobile bottom nav — replaces the header's quote button + hamburger below
   760px. About/Services/Clients/Quote sit either side of a raised circular
   logo (links home); the hamburger opens the existing .main-nav slide-in
   panel via the shared .nav-toggle click handler in main.js. */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }

  .site-header .header-actions .btn { display: none; }

  .bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(21, 30, 90, 0.1);
    padding: 6px max(6px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right));
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 2px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-head);
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 600;
    min-width: 0;
  }
  .bottom-nav-item svg { width: 21px; height: 21px; stroke: var(--text-muted); transition: stroke 150ms ease, transform 150ms ease; }
  .bottom-nav-item span { white-space: nowrap; }
  .bottom-nav-item.active, .bottom-nav-item:hover { color: var(--navy); }
  .bottom-nav-item.active svg, .bottom-nav-item:hover svg { stroke: var(--navy); transform: translateY(-1px); }
  .bottom-nav-item.bottom-nav-cta { color: var(--teal-deep); }
  .bottom-nav-item.bottom-nav-cta svg { stroke: var(--teal-deep); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
