:root {
  --bg: #090b1b;
  --bg-2: #0c1024;
  --bg-elevated: #12162e;
  --bg-card: rgba(18, 22, 46, 0.72);
  --text: #e9eef4;
  --text-muted: #9aa3b5;
  --text-dim: #6b7385;
  --accent: #4f7cff;
  --accent-2: #22d3ee;
  --accent-3: #7c5cff;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --gradient: linear-gradient(135deg, #4f7cff 0%, #22d3ee 55%, #7c5cff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(34, 211, 238, 0.12));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Outfit", sans-serif;
  --display: "Syne", sans-serif;
  --container: 1180px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Background orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(79,124,255,0.55), transparent 70%);
  top: -120px; left: -100px;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 70%);
  top: 35%; right: -120px;
  animation-delay: -6s;
}
.orb-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,92,255,0.35), transparent 70%);
  bottom: -160px; left: 30%;
  animation-delay: -12s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: rgba(9, 11, 27, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(9, 11, 27, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(79, 124, 255, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-size: 0.95rem; font-weight: 700; }
.brand-text small { color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
.nav-desktop > a,
.nav-drop-btn {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-desktop > a:hover,
.nav-drop-btn:hover { color: var(--white); }
.nav-dropdown { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  display: grid;
  gap: 0.15rem;
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: 0.25s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(9,11,27,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav nav { display: grid; gap: 0.35rem; }
.mobile-nav a {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 500;
}
.mobile-nav .mobile-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
}
.mobile-nav .btn { margin-top: 1rem; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(79,124,255,0.3);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(79,124,255,0.45); }
.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--white);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
h1, h2, h3, .display {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
}
.section { padding: 6rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
  max-width: 40rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 2rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,11,27,0.55) 0%, rgba(9,11,27,0.82) 55%, var(--bg) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(79,124,255,0.28), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  animation: heroIn 1s ease both;
  font-family: "Poppins", sans-serif;
}
.hero-content h1,
.hero-content .hero-brand,
.hero-content .lead,
.page-hero h1,
.page-hero .lead,
.page-hero .eyebrow {
  font-family: "Poppins", sans-serif;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 1.2rem; }

.page-hero {
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
}
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,27,0.5), var(--bg));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 1rem;
}
.page-hero .lead { margin-bottom: 1.5rem; }

/* Trust / logos strip */
.trust-strip {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-strip p {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  opacity: 0.55;
}
.trust-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-tile {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s;
}
.service-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(79,124,255,0.45);
}
.service-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: -2;
}
.service-tile:hover img { transform: scale(1.08); }
.service-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,27,0.15), rgba(9,11,27,0.92));
  z-index: -1;
}
.service-tile-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.service-tile h3 {
  font-size: 1.45rem;
}
.service-tile p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.service-tile .arrow {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Work / projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  display: grid;
  gap: 1rem;
}
.project-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-meta { display: grid; gap: 0.4rem; }
.project-meta .tag {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-meta h3 { font-size: 1.4rem; }
.project-meta p { color: var(--text-muted); font-size: 0.95rem; }

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.split-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.split-copy p { color: var(--text-muted); margin-bottom: 1rem; }
.checklist { display: grid; gap: 0.65rem; margin: 1.25rem 0 1.75rem; }
.checklist li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  color: var(--text);
}
.checklist li::before {
  content: "";
  width: 10px; height: 10px; margin-top: 0.45rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(34,211,238,0.5);
}

/* Image mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 480px;
}
.mosaic figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.mosaic figure:first-child { grid-row: 1 / -1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-muted); font-size: 0.9rem; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-step {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.process-step .num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 800px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent-2);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  padding: 3.5rem 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(135deg, rgba(79,124,255,0.22), rgba(34,211,238,0.08) 50%, rgba(124,92,255,0.18)),
    var(--bg-elevated);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); position: relative; }
.cta-band p { color: var(--text-muted); max-width: 36rem; position: relative; }
.cta-band .btn-group { position: relative; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 1.25rem;
}
.info-block {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.info-block h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.info-block p, .info-block a { color: var(--text-muted); }
.info-block a:hover { color: var(--accent-2); }

.form-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0,0,0,0.25);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,124,255,0.2);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--text-dim); font-size: 0.85rem; }
.form-success {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.35);
  color: var(--accent-2);
}
.form-success.show { display: block; }

/* Legal pages */
.legal {
  max-width: 820px;
  padding: 2rem 0 4rem;
}
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 0.75rem; }
.legal .updated { color: var(--text-dim); margin-bottom: 2rem; }
.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.legal p, .legal li { color: var(--text-muted); margin-bottom: 0.85rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal ul li { list-style: disc; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* Sitemap page */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sitemap-col {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.sitemap-col h3 { margin-bottom: 1rem; font-size: 1.15rem; }
.sitemap-col a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-muted);
}
.sitemap-col a:hover { color: var(--accent-2); }

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-muted);
  margin: 1.25rem 0;
  max-width: 28rem;
}
.footer-contact { display: grid; gap: 0.4rem; color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent-2); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-cols h4 {
  font-family: var(--display);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-cols a {
  display: block;
  color: var(--text-muted);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, 720px);
  z-index: 200;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.cookie-inner p { color: var(--text-muted); font-size: 0.92rem; }
.cookie-inner a { color: var(--accent-2); }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Feature image row */
.feature-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.feature-images figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.feature-images img { width: 100%; height: 100%; object-fit: cover; }
.feature-images figcaption {
  position: absolute;
  /* keep simple captions via sibling if needed */
}

.image-caption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.image-caption-grid article {
  display: grid;
  gap: 0.75rem;
}
.image-caption-grid .media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/2;
}
.image-caption-grid img { width: 100%; height: 100%; object-fit: cover; }
.image-caption-grid h3 { font-size: 1.15rem; }
.image-caption-grid p { color: var(--text-muted); font-size: 0.95rem; }

/* Locations / about gallery */
.gallery-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-4 figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
}
.gallery-4 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-4 figure:hover img { transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .contact-grid, .footer-top { grid-template-columns: 1fr; direction: ltr; }
  .process-grid, .stats, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { min-height: 360px; }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
}

@media (max-width: 760px) {
    .brandimgs{
        display:none;
    }
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .services-grid,
  .project-grid,
  .process-grid,
  .stats,
  .feature-images,
  .image-caption-grid,
  .sitemap-grid,
  .footer-cols,
  .form-row { grid-template-columns: 1fr; }
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .mosaic figure:first-child { grid-row: auto; aspect-ratio: 16/10; }
  .mosaic figure { aspect-ratio: 16/10; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .hero { min-height: auto; padding: 3.5rem 0 3rem; }
  .section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}



.trust-row.brandimgs img {
    filter: invert(1);
    width: 12%;
    margin: 0;
}

