:root {
  --ink: #07101c;
  --ink-2: #0d1726;
  --blue: #075bdd;
  --blue-2: #1477ff;
  --line: #d9e0ec;
  --muted: #5c6574;
  --white: #ffffff;
  --soft: #f4f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 280px) 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding: 12px 30px;
  background: #020812;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.brand img,
.footer-brand img {
  width: 250px;
  height: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 28px 0 22px;
  color: rgba(255, 255, 255, .86);
}

.primary-nav a.active,
.primary-nav a:hover {
  color: var(--blue-2);
}

.primary-nav a.active::after,
.primary-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
}

.quote-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.quote-link,
.button.primary {
  background: linear-gradient(135deg, var(--blue), #0a62ea);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(7, 91, 221, .25);
}

.quote-link::after,
.button::after {
  margin-left: 12px;
  content: "›";
  font-size: 22px;
  line-height: 1;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .68);
  color: var(--white);
  background: rgba(3, 8, 16, .28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04);
}

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

.hero {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 72px 30px;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, .98) 0%, rgba(2, 8, 18, .92) 38%, rgba(2, 8, 18, .58) 63%, rgba(2, 8, 18, .82) 100%),
    radial-gradient(circle at 70% 30%, rgba(36, 91, 160, .45), transparent 34%),
    #030812;
  color: var(--white);
}

.hero::before,
.trust-band::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .25;
  content: "";
}

.hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(65vw, 860px);
  opacity: .94;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #030812 0%, #030812 40%, rgba(3, 8, 18, .9) 56%, rgba(3, 8, 18, .34) 78%, transparent 100%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center right;
}

.hero-copy,
.section-heading,
.trust-copy,
.quote-panel,
.site-footer,
.copyright {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(620px, 100%);
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .92;
  font-weight: 950;
}

h1 span,
.section-heading h2 span {
  display: block;
  color: var(--blue-2);
}

.hero-text {
  max-width: 470px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.section-light {
  padding: 54px 30px 60px;
  background: var(--soft);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 42px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 560px);
  gap: 48px;
  align-items: center;
}

.section-heading h2,
.trust-copy h2,
.quote-panel h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  font-weight: 950;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: #1d2530;
  line-height: 1.65;
}

.section-heading h2::after,
.trust-copy h2::after,
.centered h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--blue);
  content: "";
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 210px;
  padding: 36px 30px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  color: var(--blue);
}

.service-icon svg {
  width: 70px;
  height: 70px;
  fill: currentColor;
}

.service-grid h3 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 950;
}

.service-grid p {
  margin-bottom: 0;
  color: #3f4855;
  font-size: 14px;
  line-height: 1.6;
}

.aegis-meaning {
  display: grid;
  grid-template-columns: minmax(320px, 580px) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 58px 30px;
  background: #ffffff;
}

.meaning-copy {
  justify-self: end;
  width: min(580px, 100%);
}

.meaning-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 950;
  line-height: 1.03;
}

.meaning-copy h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--blue);
  content: "";
}

.meaning-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: #253040;
  font-size: 16px;
  line-height: 1.7;
}

.meaning-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(560px, 100%);
}

.meaning-points div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.meaning-points div:last-child {
  border-bottom: 0;
}

.meaning-points strong {
  color: var(--blue);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.meaning-points span {
  color: #394555;
  font-size: 15px;
  line-height: 1.55;
}

.trust-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 570px) minmax(360px, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 380px;
  overflow: hidden;
  padding: 56px 30px 34px;
  background:
    linear-gradient(90deg, rgba(3, 8, 18, .98), rgba(3, 8, 18, .88) 48%, rgba(3, 8, 18, .58)),
    #030812;
  color: var(--white);
}

.trust-copy {
  justify-self: end;
  width: min(560px, 100%);
}

.trust-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
}

.trust-image {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  min-height: 260px;
  justify-self: start;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(.95);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stats div {
  min-width: 0;
}

.stats strong {
  display: block;
  color: var(--white);
  font-size: 31px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

.centered h2::after {
  margin-right: auto;
  margin-left: auto;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.commitment-grid article {
  position: relative;
  margin: 0;
  min-height: 190px;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(10, 31, 58, .05);
}

.commitment-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.commitment-grid h3 {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.commitment-grid p {
  margin-bottom: 0;
  color: #26313e;
  font-size: 14px;
  line-height: 1.6;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 34px;
  align-items: end;
  padding: 46px 30px;
  background: #e9eef6;
}

.quote-panel > div,
.quote-form {
  width: min(1180px, 100%);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #253040;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #bfc9d8;
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  padding: 36px 30px;
  background: #040b15;
  color: rgba(255, 255, 255, .76);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.copyright {
  padding: 14px 30px;
  background: #040b15;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav,
  .quote-link {
    display: none;
  }

  .site-header.open .primary-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-header.open .quote-link {
    display: inline-flex;
    grid-column: 1 / -1;
    width: max-content;
  }

  .primary-nav a {
    padding: 14px 0;
  }

  .primary-nav a.active::after,
  .primary-nav a:hover::after {
    bottom: 7px;
    width: 42px;
  }

  .hero-media {
    width: 88vw;
    opacity: .45;
  }

  .section-heading.split,
  .aegis-meaning,
  .trust-band,
  .quote-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-copy,
  .meaning-copy,
  .trust-image {
    justify-self: center;
  }

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

  .service-grid article:nth-child(2) {
    border-right: 0;
  }

  .service-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (min-width: 981px) and (max-width: 1240px) {
  .site-header {
    grid-template-columns: 230px 1fr auto;
    gap: 16px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .brand img {
    width: 220px;
  }

  .primary-nav {
    gap: 17px;
    font-size: 11px;
  }

  .quote-link {
    min-height: 42px;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section-light,
  .trust-band,
  .quote-panel,
  .site-footer,
  .copyright {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand img,
  .footer-brand img {
    width: 205px;
  }

  .hero {
    min-height: 600px;
    align-items: flex-end;
    padding-top: 54px;
  }

  .hero-media {
    top: 70px;
    right: -120px;
    bottom: auto;
    width: 720px;
  }

  .hero-media img {
    height: 360px;
  }

  h1 {
    font-size: 46px;
  }

  .service-grid,
  .commitment-grid,
  .stats,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid article:last-child {
    border-bottom: 0;
  }

  .actions .button {
    width: 100%;
  }

  .trust-image {
    min-height: 210px;
  }

  .aegis-meaning {
    gap: 28px;
  }

  .meaning-points div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
