/* ═══════════════════════════════════════════════════
   SESHEGO CONSULTING — MAIN STYLESHEET
   Navy #1A3A5C · Cyan #00AEEF · Blue #1D4ED8
═══════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────── */
:root {
  --navy:        #1A3A5C;
  --navy-deep:   #0F2540;
  --cyan:        #00AEEF;
  --blue:        #1D4ED8;
  --blue-light:  #DBEAFE;
  --blue-mid:    #BFDBFE;

  --text:        #111827;
  --text-muted:  #6B7280;
  --text-subtle: #9CA3AF;

  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --card-bg:     #DBEAFE;
  --card-border: #BFDBFE;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-pill: 9999px;

  --shadow-xs:   0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
  --shadow-xl:   0 16px 48px rgba(0,0,0,.14);

  --ease:        cubic-bezier(.4,0,.2,1);
  --transition:  all .25s var(--ease);

  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-head:   'Montserrat', 'Inter', sans-serif;

  --nav-h:       72px;
  --max-w:       1200px;
  --max-w-narrow:780px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle brand-wave pattern — matches logo motif, barely visible */
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300AEEF' stroke-opacity='0.035' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M0 30 Q30 22 60 30 Q90 38 120 30'/%3E%3Cpath d='M0 60 Q30 52 60 60 Q90 68 120 60'/%3E%3Cpath d='M0 90 Q30 82 60 90 Q90 98 120 90'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
address { font-style: normal; }

/* ── Layout ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(1.75rem, 3.5vw, 3.5rem); }
.section-alt { background: var(--bg-alt); }

/* ── Section Typography ─────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin-inline: auto; }

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: .75rem;
  letter-spacing: -.5px;
}
.section-lead {
  font-size: clamp(.875rem, 1.4vw, 1rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2.25rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: .975rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-ghost-dark {
  background: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.4);
  color: var(--navy);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.btn-ghost-dark:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-ghost-light {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
}
.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,58,92,.25);
}
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-primary:disabled { opacity: .7; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  border-color: rgba(26,58,92,.3);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-full { width: 100%; }
.btn-primary.success { background: #16a34a; border-color: #16a34a; }


/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  /* 3-column grid: logo | links (centred) | auth (far right) */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  gap: 1rem;
}

/* Logo — uses real PNG */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav menu — occupies the centre column */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .7px;
  color: var(--navy);
  padding: .45rem .7rem;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--cyan); }

/* Dot-dash nav indicator replaces chevron — seed → line, brand-consistent */
.chevron {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  opacity: .7;
  flex-shrink: 0;
  transition: width .25s var(--ease), border-radius .25s var(--ease), opacity .2s;
}
.has-dropdown.open .chevron {
  width: 11px;
  border-radius: 2px;
  opacity: .9;
}

/* Dropdown — click-toggled via JS .open class only, no CSS hover */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + .6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: .5rem;
  min-width: 190px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 10;
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: .6rem 1rem;
  font-size: .875rem;
  color: var(--navy);
  border-radius: 7px;
  transition: var(--transition);
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--cyan); padding-left: 1.25rem; }

/* Auth */
.nav-auth { display: flex; align-items: center; gap: .15rem; flex-shrink: 0; }
.auth-divider { color: var(--text-subtle); font-size: .85rem; padding: 0 .05rem; user-select: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 6px;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════
   HOME HERO (banner image)
════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  background: var(--navy-deep);
}
.hero-banner-wrap {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  overflow: hidden;
}
.hero-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Hero slogan overlay */
.hero-banner-wrap { position: relative; }
.hero-slogan {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: clamp(2rem, 5vw, 5rem);
  /* gradient fades right so it doesn't obscure the subject */
  background: linear-gradient(
    to right,
    rgba(10, 25, 60, .60) 0%,
    rgba(10, 25, 60, .30) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-slogan-text {
  font-family: var(--font-head);
  font-size: clamp(.9rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1.4;
  letter-spacing: .8px;
  text-transform: uppercase;
  max-width: 340px;
}

.hero-ctas-bar {
  background: var(--navy);
  padding: 2rem clamp(1rem,4vw,2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Interior page hero ─────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300AEEF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem,4vw,2rem);
}
.page-hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .75rem;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: clamp(.875rem, 1.4vw, 1rem);
  color: rgba(255,255,255,.65);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.75;
}


/* ════════════════════════════════════════
   HOME — SERVICES PREVIEW
════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: relative;
  overflow: clip;  /* clip without creating a new BFC — allows accordion to expand */
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}
/* Clean hover — minimal border highlight */
.service-card:hover {
  border-color: rgba(0,174,239,.35);
  box-shadow: 0 6px 20px rgba(26,58,92,.10);
  transform: translateY(-2px);
}
.service-card.is-open {
  border-color: var(--cyan);
  box-shadow: 0 4px 16px rgba(26,58,92,.08);
  transform: none;
}

/* Expandable detail panel — hidden by default */
.service-detail-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease), opacity .3s;
  opacity: 0;
  margin-top: 0;
}
.service-card.is-open .service-detail-panel {
  max-height: 300px;
  opacity: 1;
  margin-top: .5rem;
}
.service-detail-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(0,0,0,.06);
}
.service-detail-panel ul li {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}
.service-detail-panel ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Toggle indicator dot on card */
.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  padding-top: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .3px;
  transition: color .2s;
  pointer-events: none; /* card itself is clickable */
}
.service-toggle svg {
  width: 12px; height: 12px;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.service-card.is-open .service-toggle svg { transform: rotate(180deg); }
.service-card a.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
  padding-top: .5rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .3px;
  transition: gap .2s var(--ease), color .2s;
}
.service-card a.service-card-link:hover { color: var(--navy); gap: .5rem; }

/* Icon sits in a soft tinted tile */
.service-icon {
  width: 52px; height: 52px;
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}
.service-card:hover .service-icon { background: rgba(0,174,239,.12); }
.service-icon svg { width: 32px; height: 32px; }

.service-title {
  font-weight: 700;
  font-size: .975rem;
  color: var(--navy);
  line-height: 1.3;
  margin-top: .25rem;
}
.service-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.section-cta-wrap { display: flex; justify-content: center; }


/* ════════════════════════════════════════
   HOME — PHILOSOPHY TEASER
════════════════════════════════════════ */
.philosophy-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.philosophy-teaser-body { font-size: 1.05rem; color: var(--text); line-height: 1.8; }
.philosophy-teaser-body p + p { margin-top: 1rem; }
.philosophy-quote-card {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  margin-inline: auto;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.pq-mark {
  font-size: 2.25rem;
  line-height: .9;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-weight: 700;
}
.pq-text {
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
}
.pq-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.pq-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--blue-mid);
  border: 2px solid var(--card-border);
}
.pq-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pq-name { font-size: .9rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.pq-role { font-size: .8rem; color: var(--cyan); font-weight: 500; }


/* ════════════════════════════════════════
   HOME — TEAM TEASER STRIP
════════════════════════════════════════ */
.team-strip {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
  margin-bottom: 2.5rem;
}
.team-strip::-webkit-scrollbar { height: 4px; }
.team-strip::-webkit-scrollbar-track { background: transparent; }
.team-strip::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

.team-strip-card {
  flex: 0 0 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,58,92,.07), 0 0 0 1px rgba(26,58,92,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
.team-strip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--cyan) 100%);
  z-index: 1;
}
.team-strip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26,58,92,.14), 0 0 0 1px rgba(0,174,239,.15);
}
.team-strip-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  background: var(--card-bg);
  display: block;
}
.team-strip-info { padding: .9rem 1rem 1rem; }
.team-strip-info h4 {
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .3rem;
}
.team-strip-info p {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--cyan);
}


/* ════════════════════════════════════════
   HOME — CTA BAND
════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d78 100%);
  padding: 4.5rem clamp(1rem,4vw,2rem);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
  letter-spacing: -.4px;
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}
.cta-band .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Trusted by belt — pure white, logos faded directly on background */
.trusted-by { text-align: center; }
.trusted-heading {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.logo-belt {
  /* background: #fff; */
  overflow: hidden;
  padding: .75rem 0;
  position: relative;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-belt-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-belt 38s linear infinite;
}
.logo-belt:hover .logo-belt-track { animation-play-state: paused; }

/* Bare logo wrapper — margin-right (not gap) ensures seamless loop seam */
.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 3.5rem;
}
.client-logo-wrap img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  /* faded greyscale — matches the example */
  filter: grayscale(1) opacity(.25);
  transition: filter .35s var(--ease);
}
.logo-belt:hover .client-logo-wrap img { filter: grayscale(1) opacity(.45); }
/* Lebashe has white text — invert so it reads on white bg */
.client-logo-wrap.chip-dark img {
  filter: grayscale(1) invert(1) opacity(.25);
}
.logo-belt:hover .client-logo-wrap.chip-dark img {
  filter: grayscale(1) invert(1) opacity(.45);
}


/* ════════════════════════════════════════
   SERVICES PAGE — Detail sections
════════════════════════════════════════ */
.service-detail {
  padding-block: 3.5rem;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}
.service-detail-icon {
  width: 64px; height: 64px;
  background: var(--card-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
}
.service-detail-icon svg { width: 36px; height: 36px; }
.service-detail h3 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.service-detail-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.service-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.service-detail ul li {
  padding-left: 1.4rem;
  position: relative;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
}
.service-detail ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}


/* ════════════════════════════════════════
   ABOUT — PHILOSOPHY
════════════════════════════════════════ */
.philosophy-body {
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.philosophy-quote-pill {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-pill);
  padding: 1.1rem 2rem 1.1rem 1.1rem;
  margin-top: 3rem;
  max-width: 500px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}
.quote-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--blue-mid);
  border: 2px solid var(--card-border);
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
blockquote {
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .3rem;
  line-height: 1.4;
}
cite { font-size: .8rem; font-style: normal; color: var(--text-muted); font-weight: 500; }


/* ════════════════════════════════════════
   TEAM GRID (about page)
════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}
/* Centred 2×2 for about page (4 team cards) */
.team-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 5rem;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  /* clean shadow, no visible border */
  box-shadow: 0 2px 8px rgba(26,58,92,.07), 0 0 0 1px rgba(26,58,92,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
/* Top gradient accent bar */
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--cyan) 100%);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,58,92,.14), 0 0 0 1px rgba(0,174,239,.15);
}

.team-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  background: var(--card-bg);
  display: block;
}

.team-info { padding: 1.5rem 1.5rem 1.75rem; }

.team-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.25;
}

/* Role as a pill badge */
.team-role {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,174,239,.08);
  border: 1px solid rgba(0,174,239,.2);
  border-radius: var(--radius-pill);
  padding: .22rem .75rem;
  margin-bottom: .65rem;
}

.team-quals {
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: .85rem;
  line-height: 1.55;
}

/* Bio: clamped by default, expanded via JS .is-expanded class */
.team-bio {
  font-size: .875rem;
  color: #4B5563;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height .35s ease;
}
.team-card.is-expanded .team-bio {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.team-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .75rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: .3px;
  transition: color .2s;
}
.team-expand-btn:hover { color: var(--navy); }
.team-expand-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.team-card.is-expanded .team-expand-btn svg { transform: rotate(180deg); }


/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: .975rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: background .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
  line-height: 1;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { background: var(--bg-alt); border-bottom: 1px solid rgba(0,0,0,.06); }
.faq-answer { padding: 1.1rem 1.4rem; font-size: .93rem; color: #374151; line-height: 1.75; }
.faq-answer p { margin-bottom: .5rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--cyan); text-decoration: underline; }
.faq-answer a:hover { color: var(--navy); }


/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.contact-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-icon-circle { border: 1.5px solid var(--navy); border-radius: 50%; padding: 5px; }
.contact-icon-circle svg { width: 20px; height: 20px; }
.contact-link { display: block; font-size: 1.025rem; color: var(--navy); font-weight: 500; line-height: 1.9; transition: color .2s; }
.contact-link:hover { color: var(--cyan); }
.contact-legal { margin-top: 1.75rem; margin-bottom: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.07); }
.contact-company { color: var(--cyan); font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }
.contact-legal p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .4rem; }
.contact-address { margin-top: .9rem; font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

.social-links { display: flex; gap: .65rem; }
.social-link {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(26,58,92,.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: var(--transition);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,58,92,.25); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231A3A5C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,174,239,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }


/* ════════════════════════════════════════
   FOOTER — SITEMAP GRID
════════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
}

.footer-sitemap {
  padding: 4rem clamp(1rem,4vw,2rem) 3rem;
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr;
  gap: 3rem;
}

/* Col 1 — Brand */
.footer-brand { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  /* invert to white for dark background */
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-tagline-txt {
  font-size: .85rem;
  font-style: italic;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 260px;
}
.footer-social { display: flex; gap: .6rem; }
.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { background: rgba(255,255,255,.1); color: var(--cyan); border-color: var(--cyan); }

/* Cols 2–4 — Nav groups */
.footer-col { display: flex; flex-direction: column; gap: .85rem; }
.footer-col-heading {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .2rem;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }
.footer-col p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem clamp(1rem,4vw,2rem);
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--cyan); }


/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-belt {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .footer-sitemap { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .philosophy-teaser { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-inner { grid-template-columns: 64px 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  /* Switch nav-inner back to flex on mobile so hamburger works */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 0;
  }
  .nav-auth { display: none; } /* hidden on mobile — links appear inside nav-menu */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    backgro