.hd-cta {
  position: relative;
  width: 100%;
  height: 536px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hd-cta > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hd-cta__shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 30, 0.34);
}

.hd-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1320px, calc(100% - 120px));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hd-cta h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.hd-cta__content > a {
  display: inline-flex;
  width: 272px;
  height: 54px;
  margin: 0;
  padding: 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.22s ease, filter 0.22s ease;
}

.hd-cta__content > a:hover,
.hd-cta__content > a:focus-visible {
  background: #1787ca;
  filter: brightness(1.04);
}

.hd-footer {
  width: 100%;
  min-height: 360px;
  padding: 70px 0 34px;
  color: #53636b;
  background: #fff;
}

.hd-footer__inner {
  display: block;
}

.hd-footer__main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.hd-footer__brand {
  display: flex;
  align-items: flex-start;
}

.hd-footer__brand img {
  display: block;
  width: 250px;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.hd-footer__company {
  padding-top: 5px;
}

.hd-footer__company strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hd-footer__company address {
  margin-top: 14px;
  color: #52636b;
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.hd-footer__contact {
  display: flex;
  gap: 24px;
  margin-top: 7px;
  color: #52636b;
  font-size: 14px;
  line-height: 1.7;
}

.hd-footer__contact a:hover,
.hd-footer__contact a:focus-visible {
  color: var(--blue);
}

.hd-footer .hd-footer__copy {
  margin: 48px 0 0;
  padding-top: 22px;
  border-top: 1px solid #dfe5e7;
  color: #8b989e;
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
}

@media (min-width: 770px) {
  .hd-cta {
    height: 500px;
  }

  .hd-cta > img {
    object-position: center 54%;
  }

  .hd-cta__shade {
    background: linear-gradient(
      90deg,
      rgba(7, 21, 33, 0.9) 0%,
      rgba(7, 21, 33, 0.66) 35%,
      rgba(7, 21, 33, 0.18) 68%,
      rgba(7, 21, 33, 0) 100%
    );
  }

  .hd-cta__content {
    width: 100%;
    margin: 0;
    padding: 0 60px 0 16vw;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  .hd-cta .hd-cta__eyebrow {
    margin: 0 0 18px;
    color: #a78348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .hd-cta h2 {
    margin: 0 0 30px;
    font-size: 50px;
    line-height: 1.24;
    letter-spacing: -0.04em;
  }

  .hd-cta__content > a {
    width: auto;
    min-width: 184px;
    height: 50px;
    padding: 0 28px;
    font-size: 16px;
    transition: background-color 0.22s ease, filter 0.22s ease, transform 0.22s ease;
  }

  .hd-cta__content > a:hover,
  .hd-cta__content > a:focus-visible {
    transform: translateY(-2px);
  }
}

@media (max-width: 1024px) {
  .hd-cta__content {
    width: calc(100% - 64px);
  }

  .hd-footer__main {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }

  .hd-footer__brand img {
    width: 220px;
  }
}

@media (max-width: 769px) {
  .hd-cta {
    height: 330px;
  }

  .hd-cta > img {
    object-position: 56% center;
  }

  .hd-cta__shade {
    background: rgba(4, 20, 30, 0.38);
  }

  .hd-cta__content {
    width: calc(100% - 40px);
  }

  .hd-cta h2 {
    margin-bottom: 30px;
    font-size: clamp(32px, 8.8vw, 42px);
    line-height: 1.4;
  }

  .hd-cta__content > a {
    width: 171px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
  }

  .hd-footer {
    min-height: 0;
    padding: 48px 0 28px;
  }

  .hd-footer__main {
    display: block;
  }

  .hd-footer__inner div {
    margin-top: 0;
  }

  .hd-footer__brand img {
    width: 200px;
  }

  .hd-footer__inner .hd-footer__company {
    margin-top: 34px;
    padding-top: 0;
  }

  .hd-footer__company strong {
    font-size: 18px;
  }

  .hd-footer__company address,
  .hd-footer__contact {
    font-size: 13px;
  }

  .hd-footer__inner .hd-footer__contact {
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
  }

  .hd-footer .hd-footer__copy {
    margin-top: 34px;
    padding-top: 20px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-cta__content > a {
    transition: none;
  }
}
