/* ==========================================================================
   GEBISA PROJECTS — DESIGN SYSTEM
   Corporate Gallery — flat surfaces, hairline structure, one accent color
   ========================================================================== */

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

:root {
  /* ---- Color tokens ---- */
  --color-canvas: #f6f8fa;
  --color-mist: #e4ecf3;
  --color-steel: #d7e3ee;
  --color-navy: #1c416b;
  --color-navy-deep: #142f4e;
  --color-blue: #049fdd;
  --color-blue-deep: #0378a8;
  --color-charcoal: #4b5563;
  --color-ink: #0d0d0d;
  --color-line: rgba(28, 65, 107, 0.16);
  --color-line-strong: rgba(28, 65, 107, 0.28);
  --color-white: #ffffff;

  /* ---- Typography — single corporate sans for everything ---- */
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-label: 12px;
  --text-caption: 14px;
  --text-body: 17px;
  --text-body-lg: 19px;
  --text-subheading: 24px;
  --text-heading: 34px;
  --text-heading-lg: 44px;
  --text-display: 60px;

  /* ---- Spacing ---- */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-110: 110px;
  --space-128: 128px;

  /* ---- Radius — small and consistent; pill reserved for primary actions ---- */
  --radius-sm: 8px;
  --radius-card: 10px;
  --radius-pill: 100px;

  /* ---- Layout ---- */
  --page-max: 1240px;
  --section-gap: var(--space-110);
  --nav-height: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

html { overflow-x: hidden; }

main { padding-top: var(--nav-height); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-charcoal);
  background: var(--color-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Soft, fixed tonal wash — keeps large white/canvas expanses from feeling flat and stark */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 0% 0%, rgba(28,65,107,0.08), transparent 60%),
    radial-gradient(ellipse 900px 700px at 100% 0%, rgba(4,159,221,0.07), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 50% 100%, rgba(28,65,107,0.08), transparent 55%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.container {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--space-24);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   TYPOGRAPHY — one family, weight and size carry the hierarchy
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: normal;
}

h1 { font-size: var(--text-heading-lg); line-height: 1.1; }
h2 { font-size: var(--text-heading); line-height: 1.18; }
h3 { font-size: var(--text-subheading); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--color-ink); }

p { font-size: var(--text-body); color: var(--color-charcoal); }
p.lead { font-size: var(--text-body-lg); color: var(--color-charcoal); line-height: 1.55; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.on-dark { color: #d7ecf7; }
.eyebrow.on-dark::before { background: var(--color-blue); }

/* ==========================================================================
   BUTTONS — pill reserved for the primary action; flat, no lift, no shadow
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: background 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep)); color: var(--color-white); }
.btn-primary:hover { background: var(--color-navy-deep); }

.btn-accent { background: linear-gradient(135deg, var(--color-blue), var(--color-blue-deep)); color: var(--color-white); }
.btn-accent:hover { background: var(--color-blue-deep); }

.btn-ghost { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-ghost:hover { background: var(--color-navy); color: var(--color-white); }

.btn-ghost-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: var(--color-white); color: var(--color-navy); border-color: var(--color-white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-navy);
  border-bottom: 1.5px solid var(--color-line-strong);
  padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--color-blue-deep); border-color: var(--color-blue-deep); }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   NAVIGATION — solid by default; transparent-over-photo only where declared
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-navy);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

body.has-media-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--color-white);
}
body.has-media-hero .site-header.is-scrolled {
  background: var(--color-canvas);
  border-bottom-color: var(--color-line);
  color: var(--color-navy);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-24);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-size: 17px;
  font-weight: 700;
  color: inherit;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
  opacity: .68;
  position: relative;
  padding: 4px 0;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--color-blue);
}

.nav-cta { display: flex; align-items: center; gap: var(--space-16); }
.nav-cta .btn {
  padding: 12px 22px;
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.nav-cta .btn:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
body.has-media-hero .site-header:not(.is-scrolled) .nav-cta .btn:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}
.nav-phone { display: none; font-size: 14px; font-weight: 700; color: inherit; opacity: .8; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

@media (min-width: 900px) {
  .nav-phone { display: inline-flex; }
}

@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--color-canvas);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-32);
    gap: var(--space-24);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 24px; color: var(--color-navy); opacity: .82; }
  .nav-links a[aria-current="page"] { color: var(--color-navy); opacity: 1; }
  .nav-toggle { display: flex; color: inherit; }
  .nav-toggle[aria-expanded="true"] { color: var(--color-navy); position: relative; z-index: 101; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta .btn { display: none; }
  .nav-phone { display: none !important; }
}

/* ==========================================================================
   SECTIONS / LAYOUT
   ========================================================================== */

section { padding-block: var(--section-gap); }
section.tight { padding-block: var(--space-64); }
.bg-mist { background: var(--color-mist); }
.bg-steel { background: var(--color-steel); }
.bg-navy { background: var(--color-navy); color: rgba(255,255,255,0.86); }
.bg-navy h2, .bg-navy h3, .bg-navy h1 { color: var(--color-white); }
.bg-navy p { color: rgba(255,255,255,0.78); }
.bg-ink { background: var(--color-ink); color: rgba(255,255,255,0.8); }

/* ---- Two-column section intro: caption column + heading/body column ---- */
.section-intro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-40);
  align-items: start;
  margin-bottom: var(--space-64);
}
.section-caption { padding-top: 5px; }
.section-intro-body { max-width: 680px; }
.section-intro-body h2 { margin-bottom: var(--space-16); }
.section-intro.center-body { grid-template-columns: 240px 1fr; }

@media (max-width: 800px) {
  .section-intro { grid-template-columns: 1fr; gap: var(--space-16); }
}

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding-block: var(--space-64); }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
}

/* ==========================================================================
   HERO — full-bleed photograph (homepage only)
   ========================================================================== */

.hero-photo {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(var(--nav-height) * -1);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.5) contrast(1.08) brightness(.82);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.58) 0%, rgba(13,13,13,.68) 55%, rgba(13,13,13,.86) 100%);
}
.hero-photo .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--nav-height) + var(--space-48));
  padding-bottom: var(--space-64);
}
.hero-photo-copy { max-width: 760px; }
.hero-photo h1 {
  color: var(--color-white);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.25;
  margin-block: var(--space-24);
}
.hero-photo .lead { color: rgba(255,255,255,0.82); max-width: 620px; }
.hero-actions { display: flex; gap: var(--space-16); margin-top: var(--space-32); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-40); margin-top: var(--space-64); flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--color-white); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .hero-photo .hero-stats { margin-top: var(--space-40); gap: var(--space-24); }
}

/* ---- Hero headline line-reveal (homepage intro animation) ---- */
.h1-line-wrap { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.h1-line { display: inline-block; }

/* ---- Hero logo set-piece — full-hero assembly animation, homepage only ----
   Built from real vector/text pieces (not the raster PNG) so it can be
   decomposed into independently-animating parts and scaled to fill the
   hero without blurring. Plays once, then clears the way for the headline. */
.hero-logo-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  padding: var(--space-32);
  text-align: center;
  pointer-events: none;
}

.logo-reveal-mark {
  width: clamp(72px, 8vw, 128px);
  height: clamp(72px, 8vw, 128px);
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)) drop-shadow(0 0 32px rgba(4,159,221,.25));
}

.logo-reveal-word { display: flex; flex-direction: column; align-items: center; gap: 0.06em; }
.word-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(38px, 8.6vw, 124px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-block: 0.06em;
}
.word-line-1 { color: var(--color-blue); }
.word-line-2 { color: var(--color-white); }
.word-char { display: inline-block; will-change: transform, opacity; }
.word-char.is-space { width: 0.28em; }

.logo-reveal-rule {
  display: block;
  width: clamp(70px, 9vw, 150px);
  height: 2px;
  background: var(--color-blue);
  transform-origin: center;
  margin-top: 4px;
}
.logo-reveal-kicker {
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Pre-animation hidden states — only while JS confirms it can animate */
.js-anim .anim-el { opacity: 0; transform: translateY(22px); }
.js-anim .h1-line { opacity: 0; transform: translateY(36px); filter: blur(6px); }
.js-anim .logo-reveal-mark { opacity: 0; transform: scale(0.4) rotate(-10deg); }
.js-anim .word-char { opacity: 0; transform: translateY(70px); }
.js-anim .logo-reveal-rule { transform: scaleX(0); }
.js-anim .logo-reveal-kicker { opacity: 0; transform: translateY(14px); }

/* Reduced motion: never show the big set-piece, go straight to the resting hero */
.reduced-motion .hero-logo-reveal { display: none; }

/* ---- Compact hero (inner pages) ---- */
.hero {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-48);
  align-items: center;
}
.hero-copy h1 { margin-top: var(--space-20); margin-bottom: var(--space-24); }
.hero-grid .image-card { min-height: 320px; aspect-ratio: auto; height: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .image-card { min-height: 260px; order: -1; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: linear-gradient(165deg, #ffffff 0%, var(--color-mist) 120%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: var(--space-28);
  transition: border-color .25s ease;
}
.card:hover { border-color: var(--color-line-strong); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(4,159,221,0.16);
  color: var(--color-blue-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-20);
  flex-shrink: 0;
}
.card-logo {
  display: block;
  height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: var(--space-20);
}
.card h3 { margin-bottom: var(--space-12); font-size: 20px; }
.card p { font-size: 15.5px; }

/* ---- Pillar (service) card — caption/heading text, no photo baked in ---- */
.pillar-card {
  background: linear-gradient(165deg, #ffffff 0%, var(--color-mist) 120%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease;
}
.pillar-card:hover { border-color: var(--color-line-strong); }
.pillar-card .eyebrow { margin-bottom: var(--space-16); }
.pillar-card h3 { margin-bottom: var(--space-12); }
.pillar-card p { margin-bottom: var(--space-24); flex-grow: 1; }

/* ---- Image card — real photography, hairline border, no overlay text ---- */
.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-24); }
.image-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3;
}
.image-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.4) contrast(1.06);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.image-card::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--color-navy);
  opacity: .12;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.image-card:hover img { transform: scale(1.035); }
.image-card.tall { aspect-ratio: 3 / 4; }
.image-card.wide { aspect-ratio: 16 / 9; }
.image-card-label { margin-top: var(--space-16); }
.image-card-label h4 { font-size: 15.5px; margin-bottom: 2px; }
.image-card-label span { font-size: 13px; color: var(--color-charcoal); }

@media (max-width: 900px) { .image-grid { grid-template-columns: 1fr; } }

/* ---- Slideshow — service work gallery, autoplay + manual controls ---- */
.slideshow {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.slideshow-viewport { overflow: hidden; aspect-ratio: 16 / 9; }
.slideshow-track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.slideshow-slide { flex: 0 0 100%; height: 100%; position: relative; }
.slideshow-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.4) contrast(1.06);
  cursor: pointer;
}
.slideshow-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--color-navy);
  opacity: .14;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,13,13,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
  z-index: 2;
}
.slideshow-arrow:hover { background: var(--color-navy); }
.slideshow-prev { left: var(--space-16); }
.slideshow-next { right: var(--space-16); }

.slideshow-dots {
  position: absolute;
  bottom: var(--space-16);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background-color .2s ease, transform .2s ease;
}
.slideshow-dot.is-active { background: var(--color-white); transform: scale(1.3); }

@media (max-width: 600px) {
  .slideshow { margin-inline: -10px; border-radius: 12px; }
  .slideshow-viewport { aspect-ratio: 1 / 1; }
  .slideshow-arrow { width: 34px; height: 34px; }
  .slideshow-prev { left: var(--space-12); }
  .slideshow-next { right: var(--space-12); }
  .slideshow-dots { bottom: var(--space-12); gap: 6px; }
  .slideshow-dot { width: 7px; height: 7px; }
}

/* ==========================================================================
   LIST / CHECK ITEMS
   ========================================================================== */

.check-list { display: grid; gap: var(--space-12); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: 15.5px;
  color: var(--color-charcoal);
}
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-blue-deep); }

/* ==========================================================================
   ACCORDION
   ========================================================================== */

.accordion { border-top: 1px solid var(--color-line); }
.accordion-item { border-bottom: 1px solid var(--color-line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  padding: var(--space-24) 0;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
}
.accordion-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--color-navy);
  transition: transform .3s ease;
}
.accordion-icon::before { width: 12px; height: 1.5px; }
.accordion-icon::after { width: 1.5px; height: 12px; }
.accordion-item[data-open="true"] .accordion-icon::after { transform: scaleY(0); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-item[data-open="true"] .accordion-panel { max-height: 400px; }
.accordion-panel-inner { padding-bottom: var(--space-24); max-width: 640px; }
.accordion-panel-inner p { font-size: 15.5px; }

/* ==========================================================================
   STEPS / PROCESS
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-24); }
.step { position: relative; padding-top: var(--space-24); border-top: 2px solid var(--color-line); }
.step-index { font-size: 28px; color: var(--color-blue); font-weight: 800; display: block; margin-bottom: var(--space-12); }
.step h4 { margin-bottom: var(--space-8); }
.step p { font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   TRUST STRIP / TESTIMONIAL
   ========================================================================== */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-32);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-32);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.trust-item { display: flex; align-items: center; gap: var(--space-12); font-size: 14px; font-weight: 700; color: var(--color-navy); }
.trust-item svg { color: var(--color-blue-deep); flex-shrink: 0; }

/* ---- Partner/client logos — continuous left-to-right scrolling marquee ---- */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: var(--space-24);
  animation: logoMarquee 34s linear infinite;
}
.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track {
  animation-play-state: paused;
}
@keyframes logoMarquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.logo-tile {
  flex: 0 0 200px;
  aspect-ratio: 3 / 2;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  transition: border-color .25s ease;
}
.logo-tile:hover { border-color: var(--color-line-strong); }
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 560px) { .logo-tile { flex-basis: 150px; } }

.quote-block {
  border-left: 3px solid var(--color-blue);
  padding-left: var(--space-32);
  max-width: 760px;
}
.quote-block p { font-size: 26px; font-weight: 500; color: var(--color-navy); line-height: 1.42; }
.quote-block cite { display: block; margin-top: var(--space-20); font-style: normal; font-size: 14px; font-weight: 700; color: var(--color-charcoal); }
.quote-block cite span { display: block; font-weight: 500; opacity: .75; margin-top: 2px; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-20); }
.form-field { display: flex; flex-direction: column; gap: var(--space-8); }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-navy); }
.form-field input, .form-field select, .form-field textarea {
  background: #f2f6f9;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--color-ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  background: var(--color-white);
  border-color: var(--color-navy);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--color-charcoal); margin-top: var(--space-8); }
.form-success {
  display: none;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: var(--space-20);
  font-size: 14.5px;
  color: var(--color-navy);
  font-weight: 700;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  background: rgba(185,28,28,0.06);
  border: 1px solid rgba(185,28,28,0.25);
  border-radius: var(--radius-sm);
  padding: var(--space-20);
  font-size: 14.5px;
  color: #b91c1c;
  font-weight: 700;
  margin-top: var(--space-16);
}
.form-error.is-visible { display: block; }

@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT DETAILS / MAP
   ========================================================================== */

.contact-detail { display: flex; gap: var(--space-16); align-items: flex-start; }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(4,159,221,0.12);
  color: var(--color-blue-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail h4 { margin-bottom: 4px; font-size: 15px; }
.contact-detail p, .contact-detail a { font-size: 15px; }
.contact-detail a:hover { color: var(--color-blue-deep); }

.map-embed {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-line);
  min-height: 240px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 240px; display: block; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */

.cta-band {
  border-radius: var(--radius-card);
  padding: var(--space-64);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-32);
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 520px; }
@media (max-width: 700px) {
  .cta-band { padding: var(--space-48) var(--space-32); text-align: center; justify-content: center; }
  .cta-band h2 { max-width: 100%; }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-charcoal);
  padding-top: var(--space-24);
}
.breadcrumb a { color: var(--color-charcoal); font-weight: 600; }
.breadcrumb a:hover { color: var(--color-blue-deep); }
.breadcrumb span[aria-current] { color: var(--color-navy); font-weight: 700; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.6);
  padding-top: var(--space-96);
  padding-bottom: var(--space-32);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-48);
  padding-bottom: var(--space-64);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: var(--color-white); margin-bottom: var(--space-16); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14.5px; max-width: 320px; }
.footer-col h4 { color: var(--color-white); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-20); }
.footer-col ul { display: grid; gap: var(--space-12); }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.62); }
.footer-col a:hover { color: var(--color-blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
  padding-top: var(--space-32);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--color-blue); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { text-align: center; }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.max-560 { max-width: 560px; }
.max-680 { max-width: 680px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-group > *:nth-child(2) { transition-delay: .08s; }
.reveal-group > *:nth-child(3) { transition-delay: .16s; }
.reveal-group > *:nth-child(4) { transition-delay: .24s; }
.reveal-group > *:nth-child(5) { transition-delay: .32s; }
.reveal-group > *:nth-child(6) { transition-delay: .4s; }
.reveal-group > *:nth-child(7) { transition-delay: .48s; }
