:root {
  --blue: #0057c8;
  --blue-strong: #00449e;
  --blue-soft: #eaf3ff;
  --ink: #121722;
  --muted: #5e6a7a;
  --line: #d7e1ee;
  --soft: #f5f8fc;
  --white: #ffffff;
  --charcoal: #07090d;
  --charcoal-2: #101722;
  --teal: #008f88;
  --amber: #f1a208;
  --shadow: 0 18px 45px rgba(10, 35, 66, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 13, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 13, 0.98);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 174px;
  height: 62px;
  object-fit: contain;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.nav-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--white);
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-130%);
  transition: transform 220ms ease;
}

.nav-menu.is-open {
  transform: translateY(0);
}

.nav-menu a {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-menu .nav-cta {
  margin-top: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  text-align: center;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(560px, min(740px, 78svh));
  padding: 0;
  color: var(--white);
  background: var(--charcoal);
}

.hero-slides {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.hero-slides::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9) 0%, rgba(5, 10, 18, 0.76) 42%, rgba(5, 10, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 9, 15, 0.86) 0%, transparent 56%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding-block: 36px 28px;
}

.hero-copy {
  max-width: 760px;
  margin-block: auto;
  padding-block: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #9bcaff;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.03;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.03;
}

h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(0, 87, 200, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-strong);
}

.button-secondary,
.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
}

.hero-caption {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-slider {
  display: grid;
  flex: 0 0 auto;
  gap: 9px;
  width: 260px;
}

.hero-slide-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.hero-control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  background: rgba(6, 13, 22, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-control:hover,
.hero-control:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.hero-control:active {
  transform: translateY(1px);
}

.hero-control svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slide-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.hero-progress {
  display: block;
  width: 116px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 2px;
}

.hero-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #78b8ff;
  transform: scaleX(0.0588);
  transform-origin: left center;
  transition: transform 240ms ease;
}

section {
  padding: 72px 0;
}

.section-soft {
  background:
    linear-gradient(rgba(0, 87, 200, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 200, 0.045) 1px, transparent 1px),
    var(--soft);
  background-size: 30px 30px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.trust-grid,
.services-grid {
  display: grid;
  gap: 16px;
}

.trust-item,
.service-card {
  min-height: 100%;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 33, 59, 0.06);
}

.trust-item p,
.service-card p,
.process-list p,
.project-panel p,
.contact-copy p {
  color: var(--muted);
}

.icon-badge,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.icon-badge svg,
.service-icon svg,
.check-list svg,
.contact-list svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(4n + 2) .service-icon {
  color: var(--teal);
  background: #e6f7f5;
}

.service-card:nth-child(4n + 3) .service-icon {
  color: #8b5a00;
  background: #fff4d8;
}

.service-card:nth-child(4n + 4) .service-icon {
  color: #46515f;
  background: #eef2f6;
}

.split-layout,
.contact-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list svg {
  flex: 0 0 22px;
  color: var(--teal);
}

.team-illustration {
  width: 100%;
  min-height: 300px;
}

.svg-sheet {
  fill: #f8fbff;
  stroke: var(--line);
  stroke-width: 3;
}

.svg-line,
.svg-blueprint,
.svg-tool,
.svg-accent {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-line {
  stroke: #94a3b8;
  stroke-width: 8;
}

.svg-blueprint {
  stroke: var(--blue);
  stroke-width: 8;
}

.svg-person {
  fill: #dfe8f5;
  stroke: var(--blue);
  stroke-width: 6;
}

.svg-person.alt {
  fill: #e8f7f5;
  stroke: var(--teal);
}

.svg-tool {
  stroke: var(--amber);
  stroke-width: 10;
}

.svg-accent {
  stroke: var(--blue);
  stroke-width: 6;
}

.process-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 950;
  font-size: 1.4rem;
}

.project-panel {
  display: grid;
  gap: 22px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--charcoal-2);
  background-size: 28px 28px;
  border-radius: var(--radius);
}

.project-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.cta-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 87, 200, 0.96), rgba(0, 68, 158, 0.92)),
    var(--blue);
}

.cta-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.cta-layout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

.contact-list svg {
  flex: 0 0 22px;
  color: var(--blue);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #c7d4e5;
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 200, 0.12);
  outline: none;
}

[aria-invalid="true"] {
  border-color: #c92f2f;
  background: #fff7f7;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: #9a1f1f;
  font-weight: 800;
}

.form-feedback.success {
  color: #087f5b;
}

.site-footer {
  padding: 52px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid img {
  width: 210px;
  margin-bottom: 14px;
}

.footer-grid h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.05rem;
}

.footer-grid p {
  margin-bottom: 8px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
  outline: none;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

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

  .hero-slide {
    transition: none;
  }
}

@media (min-width: 640px) {
  .trust-grid,
  .services-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row-full,
  .form-feedback {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: max(600px, min(740px, 78svh));
  }

  .hero h1 {
    font-size: 3.15rem;
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
  }

  .nav-menu a {
    padding: 10px 9px;
    font-size: 0.9rem;
  }

  .nav-menu .nav-cta {
    margin-top: 0;
    margin-left: 6px;
    padding: 11px 14px;
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .cta-layout,
  .project-panel {
    grid-template-columns: 1fr 0.78fr;
  }

  .cta-actions {
    justify-content: flex-end;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }
}

@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .brand img {
    width: 194px;
    height: 68px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 138px;
    height: 50px;
  }

  .hero {
    min-height: max(570px, min(710px, 82svh));
  }

  .hero-inner {
    padding-block: 28px 20px;
  }

  .hero-copy {
    padding-block: 26px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-caption {
    margin-bottom: 0;
  }

  .hero-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .hero-slide-meta {
    gap: 8px;
  }

  .hero-progress {
    width: 72px;
  }

  h2 {
    font-size: 1.72rem;
  }

  .button {
    width: 100%;
  }

  .project-panel,
  .contact-form {
    padding: 20px;
  }
}
