:root {
  --ink: #07111f;
  --ink-soft: #1a2a3f;
  --slate: #536175;
  --line: rgba(115, 133, 158, 0.22);
  --white: #ffffff;
  --cloud: #f4f7fb;
  --steel: #dbe4ef;
  --navy: #0a2342;
  --navy-2: #0f3157;
  --blue: #1d6fb8;
  --cyan: #49b5d8;
  --gold: #c99a2e;
  --green: #1d8f73;
  --shadow: 0 24px 70px rgba(5, 19, 36, 0.18);
  --radius: 24px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cloud);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding: 34px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(7, 17, 31, 0.10);
}

.nav {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 28px rgba(29, 111, 184, 0.2);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding-top: 154px;
  color: var(--white);
  background: radial-gradient(circle at 70% 30%, rgba(73, 181, 216, 0.2), transparent 32%),
    linear-gradient(135deg, #06101f 0%, #0a2342 48%, #07111f 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 92%);
}

.hero::after {
  position: absolute;
  right: -14%;
  bottom: -20%;
  width: 520px;
  height: 520px;
  content: "";
  border-radius: 999px;
  background: rgba(201, 154, 46, 0.17);
  filter: blur(24px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.contact-copy h1,
.contact-copy h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.hero-copy p {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #d7eff8);
  box-shadow: 0 18px 42px rgba(73, 181, 216, 0.22);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn.ghost {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-media {
  padding: 0;
  background: #06101f;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  border-radius: inherit;
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.signal-card {
  position: relative;
  z-index: 2;
  width: calc(100% - 52px);
  margin: 28px auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(6, 16, 31, 0.64);
}

.signal-card small,
.signal-card span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
}

.signal-card strong {
  display: block;
  margin: 10px 0;
  color: var(--white);
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.visualizer {
  position: relative;
  z-index: 2;
  display: flex;
  height: 150px;
  align-items: end;
  gap: 14px;
  width: calc(100% - 72px);
  margin: 40px auto 28px;
}

.visualizer span {
  flex: 1;
  height: var(--height);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(to top, var(--blue), var(--cyan));
  box-shadow: 0 0 28px rgba(73, 181, 216, 0.38);
  animation: pulse-bar 2.8s ease-in-out infinite;
  animation-delay: calc(var(--height) * -0.025);
}

.system-lines {
  position: relative;
  z-index: 2;
  width: calc(100% - 52px);
  margin: 0 auto;
}

.system-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

.system-lines strong {
  color: #8fe1c7;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(73, 181, 216, 0.2);
  border-radius: 999px;
}

.orbit-one {
  inset: 94px -150px auto auto;
  width: 330px;
  height: 330px;
}

.orbit-two {
  inset: auto auto -130px -120px;
  width: 300px;
  height: 300px;
  border-color: rgba(201, 154, 46, 0.2);
}

.logos {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}

.section-heading p,
.split-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.06rem;
}

/* Section headings inside dark split sections need white text */
.split-section .section-heading h2 { color: var(--white); }
.split-section .section-heading p  { color: rgba(255, 255, 255, 0.76); }

.cards {
  display: grid;
  gap: 20px;
}

.capability-grid {
  grid-template-columns: repeat(4, 1fr);
}

.capability-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.capability-grid--three .card {
  min-height: 220px;
}

.card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 999px;
  background: rgba(29, 111, 184, 0.08);
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(29, 111, 184, 0.32);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
}

.card h3,
.timeline-item h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.card p,
.timeline-item p {
  margin: 0;
  color: var(--slate);
}

.split-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #06101f);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.split-copy h2,
.split-copy p {
  color: var(--white);
}

.split-copy p,
.contact-copy p {
  max-width: 650px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.8);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  border-radius: 999px;
  color: var(--ink);
  background: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.solution-stack {
  display: grid;
  gap: 18px;
}

.solution-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.14);
}

.solution-card strong,
.solution-card span {
  display: block;
}

.solution-card strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.2rem;
}

.solution-card span {
  color: rgba(255, 255, 255, 0.66);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline-item {
  min-height: 270px;
  padding: 30px;
  background: var(--white);
}

.timeline-item span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: #e9f5fb;
  font-weight: 900;
}

.proof {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(73, 181, 216, 0.18), transparent 34%),
    linear-gradient(135deg, #06101f, #102a48);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.proof-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.proof-stack .quote--mission p {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.proof-stack .quote--mission {
  padding: 36px 40px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metrics div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metrics span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.quote {
  margin: 0;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.quote p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.quote cite {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.64);
  font-style: normal;
  font-weight: 700;
}

.contact-section {
  background: linear-gradient(180deg, var(--cloud), var(--white));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  gap: 70px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  color: var(--navy);
  font-weight: 800;
}

.contact-office {
  margin-top: 1.5rem;
}

.contact-office:first-of-type {
  margin-top: 2rem;
}

.contact-office-label {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.contact-office-detail {
  margin: 0;
  opacity: 0.8;
}

.contact-form-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.required {
  color: #c00;
}

.contact-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--steel);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 184, 0.12);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 70px 0 36px;
}

.footer-locations {
  display: block;
  opacity: 0.75;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-locations + .footer-locations {
  margin-top: 0.75rem;
}

.footer-brand {
  margin-bottom: 20px;
}

.site-footer p {
  max-width: 430px;
  margin: 0;
}

.footer-credentials {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.75;
}

.footer-linkedin {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.92rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 9px 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-bottom-legal {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.site-footer .footer-bottom a {
  display: inline;
  margin: 0;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-bar {
  0%,
  100% {
    transform: scaleY(0.86);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
  }

  .capability-grid,
  .capability-grid--three,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 78px 0;
  }

  .nav {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 5rem);
  }

  .hero-panel {
    min-height: 470px;
    border-radius: 26px;
  }

  .hero-media img {
    min-height: 470px;
  }

  .signal-card strong {
    font-size: 3.4rem;
  }

  .capability-grid,
  .timeline,
  .metrics,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .proof-grid,
  .contact-grid,
  .split-grid,
  .hero-grid {
    gap: 42px;
  }

  .quote,
  .contact-form {
    padding: 24px;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-bottom-legal {
    margin-left: 0;
    white-space: normal;
  }
}

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

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-panel {
    min-height: 430px;
  }

  .hero-media img {
    min-height: 430px;
  }

  .visualizer {
    gap: 8px;
    width: calc(100% - 44px);
  }

  .system-lines {
    font-size: 0.86rem;
  }
}

.section-alt {
  background: var(--white);
}

.consultation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow);
}

.consultation-banner h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.consultation-banner p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
}

.consultation-banner .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.consultation-banner .eyebrow::before {
  background: rgba(255, 255, 255, 0.72);
}

.consultation-banner > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.service-row + .service-row {
  margin-top: 88px;
}

.service-row[id] {
  scroll-margin-top: 100px;
}

.service-row.reverse > div:first-child {
  order: 2;
}

.service-row h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.service-row p {
  color: var(--slate);
}

.service-row .media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.service-row .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-list li svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--blue);
}

.cta-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(900px 380px at 80% 10%, rgba(73, 181, 216, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.cta-block h2 {
  margin: 0 0 12px;
  color: var(--white);
}

.cta-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-block .eyebrow {
  color: var(--cyan);
}

.cta-block .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: end;
}

.cta-block--simple {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta-block--simple > .btn {
  justify-self: end;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-row.reverse > div:first-child {
    order: 0;
  }

  .service-row + .service-row {
    margin-top: 56px;
  }

  .consultation-banner {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }

  .cta-block,
  .cta-block--simple {
    grid-template-columns: 1fr;
  }

  .cta-block .cta-actions,
  .cta-block--simple > .btn {
    justify-self: start;
  }
}

/* ===== Photo Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Block header integration: WordPress Site Logo + Navigation blocks
   ===================================================================== */

/* Brand: native Site Logo, with the EV badge as a fallback */
.brand-area {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-area .wp-block-site-logo {
  margin: 0;
  line-height: 0;
}

.brand-area .wp-block-site-logo img {
  display: block;
  width: auto;
  height: 42px;
}

/* Hide the EV badge fallback only when an actual custom logo is present */
.brand-area:has(.wp-block-site-logo img) .brand-fallback {
  display: none;
}

/* Right-hand cluster holds the navigation and the fixed CTA button */
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Core Navigation block styled to match the original .nav-menu */
.primary-nav {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav .wp-block-navigation__container {
  gap: 28px;
}

.primary-nav .wp-block-navigation-item__content {
  color: inherit;
  transition: color 0.2s ease;
}

.primary-nav .wp-block-navigation-item__content:hover,
.primary-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--blue);
}

/* Closed hamburger sits on the light bar, so keep it dark */
.primary-nav .wp-block-navigation__responsive-container-open {
  color: var(--ink);
}

/* Close icon sits on the dark slide-out overlay, so keep it light */
.primary-nav .wp-block-navigation__responsive-container-close {
  color: var(--white);
}

.primary-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: rgba(7, 17, 31, 0.97);
}

.primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 768px) {
  .nav-cluster {
    gap: 14px;
  }
}
