:root {
  --navy: #08224d;
  --blue: #135fa8;
  --sky: #eaf5ff;
  --mint: #dff5eb;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #dce6ef;
  --text: #172033;
  --muted: #5d6979;
  --silver: #737b86;
  --accent: #f3b23f;
  --shadow: 0 18px 50px rgba(8, 34, 77, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

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

.nav__menu a:hover {
  color: var(--blue);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 239, 0.78);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav__inner {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  min-height: 82px;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 154px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.btn--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 28px rgba(19, 95, 168, 0.28);
}

.btn--primary:hover {
  background: var(--navy);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--outline {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: var(--navy);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 620ms ease,
    visibility 620ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 36, 0.82) 0%, rgba(7, 18, 36, 0.68) 38%, rgba(7, 18, 36, 0.18) 72%, rgba(7, 18, 36, 0.03) 100%),
    linear-gradient(0deg, rgba(7, 18, 36, 0.18), rgba(7, 18, 36, 0.02));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 96px 0;
  color: white;
}

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

.hero .eyebrow,
.cta .eyebrow {
  color: #9ed1ff;
}

.hero h1,
.hero h2 {
  max-width: 710px;
  margin: 0;
  color: white;
  font-size: 4rem;
  line-height: 1.03;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.75;
}

.proof {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.proof__grid div {
  min-height: 128px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.proof__grid div:first-child {
  border-left: 1px solid var(--line);
}

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

.proof strong {
  color: var(--navy);
  font-size: 1.03rem;
}

.proof span {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 94px 0;
}

.section--soft {
  background: var(--soft);
}

.section--split {
  background:
    linear-gradient(90deg, var(--sky) 0%, rgba(234, 245, 255, 0.38) 46%, white 46%, white 100%);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 80px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.7rem;
  line-height: 1.13;
}

h3 {
  margin: 0;
  color: var(--navy);
}

.split__text p,
.section__heading p,
.service p,
.work p,
.checks,
.steps span,
.footer p,
.contact address {
  color: var(--muted);
  line-height: 1.75;
}

.split__text p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__heading p:last-child {
  max-width: 670px;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.section__heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section__heading--row h2 {
  max-width: 720px;
}

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

.service {
  min-height: 252px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(8, 34, 77, 0.05);
}

.service span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.service h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.service p {
  margin: 13px 0 0;
}

.section--image {
  background: linear-gradient(180deg, white 0%, white 34%, var(--soft) 34%, var(--soft) 100%);
}

.image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.image-band__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-band__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-band__content {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.checks {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 34px;
}

.checks li::before {
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #128455;
  content: "✓";
  font-size: 0.82rem;
  font-weight: 900;
}

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

.work {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.work img {
  width: 100%;
  height: 248px;
  object-fit: cover;
}

.work div {
  padding: 24px;
}

.work h3 {
  font-size: 1.28rem;
}

.work p {
  margin: 11px 0 0;
}

.process {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 66px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 28px;
}

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

.steps strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.steps span {
  margin-top: 10px;
}

.cta {
  background:
    linear-gradient(90deg, rgba(8, 34, 77, 0.96), rgba(19, 95, 168, 0.92)),
    var(--navy);
  color: white;
}

.cta__inner {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px 0;
}

.cta h2 {
  max-width: 820px;
  color: white;
}

.section--contact {
  background: var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 46px;
  align-items: stretch;
}

.contact__info {
  padding: 42px 0;
}

.contact address {
  margin-top: 24px;
  font-style: normal;
}

.contact__links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 800;
}

.quote {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 30px;
  box-shadow: 0 12px 32px rgba(8, 34, 77, 0.08);
}

.quote h3 {
  font-size: 1.45rem;
}

.quote label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.quote input,
.quote select,
.quote textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
}

.quote input:focus,
.quote select:focus,
.quote textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 95, 168, 0.12);
}

.quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer__inner {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  min-height: 150px;
  align-items: center;
  gap: 28px;
}

.footer__brand img {
  width: 142px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.footer p {
  margin: 0;
}

.footer span {
  color: var(--silver);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav__inner {
    grid-template-columns: 150px auto auto;
  }

  .nav__toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav__menu {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 128px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav__menu a {
    padding: 14px;
    border-radius: 8px;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero h1,
  .hero h2 {
    font-size: 3.1rem;
  }

  .proof__grid,
  .services,
  .work-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .image-band,
  .process,
  .contact,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .section--split {
    background: var(--sky);
  }

  .image-band__content {
    padding: 30px;
  }

  .cta__inner,
  .section__heading--row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav__inner {
    grid-template-columns: 132px 1fr;
    min-height: 74px;
  }

  .brand img {
    width: 132px;
    height: 54px;
  }

  .nav__menu {
    top: 86px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 690px;
  }

  .hero__content {
    padding: 74px 0 132px;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .quote__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .proof__grid,
  .services,
  .work-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .proof__grid div,
  .proof__grid div:first-child {
    min-height: auto;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    font-size: 2.05rem;
  }

  .service,
  .steps li {
    min-height: auto;
  }

  .image-band__media img,
  .work img {
    height: 300px;
  }

  .contact__info {
    padding: 0;
  }

  .footer__inner {
    min-height: auto;
    padding: 34px 0;
  }
}
