.hero {
  position: relative;
  min-height: 440px;
  background-image: url('images/header-hero-2.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: linear-gradient(90deg, #063a5a 0%, #063a5a 76%, rgba(6, 58, 90, .94) 88%, rgba(6, 58, 90, 0) 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 440px;
  padding-top: 62px;
  display: block;
}

.hero__content > .eyebrow,
.hero__content > h1,
.hero__content > .hero__lead,
.hero__content > .hero__services {
  display: block;
}

.hero__content > .eyebrow {
  margin: 0 0 13px;
}

.hero__content > h1 {
  max-width: 650px;
  margin: 0 0 13px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: .98;
}

.hero__content > .hero__lead {
  max-width: 535px;
  margin: 0 0 23px;
}

.hero__actions {
  position: static;
  display: flex;
  gap: 12px;
}

.hero__services {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .hero {
    min-height: 590px;
    background-position: 68% center;
  }

  .hero::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(6, 58, 90, .98), rgba(6, 58, 90, .88));
  }

  .hero__content {
    min-height: 590px;
    padding-top: 45px;
  }

  .hero__content > h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__services {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Match the supplied hero artwork exactly; only the CTAs are live HTML. */
.hero {
  min-height: 460px;
  background-image: url('images/header-hero-2.webp');
  background-color: #063a5a;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  display: none;
}

.hero__content {
  min-height: 460px;
  padding-top: 0;
}

.hero__content > .eyebrow,
.hero__content > h1,
.hero__content > .hero__lead,
.hero__content > .hero__services {
  display: none;
}

.hero__actions {
  position: absolute;
  left: 6%;
  bottom: 98px;
  display: flex;
  gap: 12px;
}

@media (max-width: 720px) {
  .hero {
    min-height: 500px;
    background-size: auto calc(100% - 18px);
    background-position: 38% bottom;
    background-repeat: no-repeat;
  }

  .hero__content {
    min-height: 500px;
  }

  .hero__actions {
    left: 24px;
    right: 24px;
    bottom: 104px;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }
}

/* Give the live CTA and service row their own clean vertical lanes. */
.hero::before {
  display: block;
  inset: auto 0 0;
  width: 100%;
  height: 125px;
  background: #063a5a;
  z-index: 1;
}

.hero__actions {
  bottom: 120px;
  z-index: 3;
}

.hero__content > .hero__services {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 45px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
}

.hero__services > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero__services .round-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  flex: 0 0 42px;
}

@media (max-width: 720px) {
  .hero::before {
    height: 175px;
  }

  .hero__actions {
    bottom: 190px;
  }

  .hero__content > .hero__services {
    left: 24px;
    right: 24px;
    bottom: 34px;
    gap: 12px;
  }

  .hero__services > span {
    font-size: 10px;
  }

  .hero__services .round-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 16px;
  }
}

/* Final reference mode: preserve the artwork's original service icons. */
.hero::before {
  display: none;
}

.hero__content > .hero__services {
  display: none;
}

.hero__actions {
  bottom: 18px;
}

@media (max-width: 720px) {
  .hero__actions {
    bottom: 14px;
  }
}

/* Cover the two cyan decorative strokes baked into the supplied artwork. */
.hero::before {
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(#06436c, #06436c) 5.3% 49px / 105px 10px no-repeat,
    linear-gradient(#063e63, #063e63) 30% 68px / 36px 10px no-repeat;
  z-index: 3;
  pointer-events: none;
}

/* Hide the thin baked border under the logo artwork. */
.brand img,
.footer-brand img {
  clip-path: inset(0 0 5px 0);
}
