*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  color: #333333;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul,
ol {
  list-style: none;
}

.site-header {
  position: relative;
  width: 100%;
  background-color: #ffffff;
}
.site-header__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 48rem) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
.site-header__logo {
  height: 4.5rem;
  width: auto;
}

.accent-bars {
  position: relative;
  z-index: 0;
  width: 100%;
}
.accent-bars__red {
  height: 1.5rem;
  background-color: #b92227;
}
.accent-bars__spacer {
  height: 2.5rem;
  background-color: #ffffff;
}
.accent-bars__blue {
  height: 1.5rem;
  background-color: #004467;
}

.hero {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../../img/hero.jpg") center/cover no-repeat;
  filter: blur(1rem);
  transform: scale(1.1);
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero__content {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  justify-content: center;
  max-width: 72rem;
  margin: 5rem auto;
  padding: 0;
  overflow: hidden;
  min-height: 35rem;
}
@media (max-width: 48rem) {
  .hero__content {
    grid-template-columns: 1fr;
  }
}
.hero__image-wrapper {
  display: grid;
  width: auto;
  height: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem;
}
@media (max-width: 48rem) {
  .hero__image-wrapper {
    width: 18rem;
    height: 18rem;
  }
}
@media (max-width: 36rem) {
  .hero__image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}
.hero__image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
.hero__title-container {
  align-self: end;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  backdrop-filter: blur(0.5rem);
  padding: 1rem;
}
.hero__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.hero__subheading {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
}

.contact {
  flex: 1;
  width: 100%;
  padding: 2rem;
}
@media (max-width: 48rem) {
  .contact {
    max-width: 100%;
  }
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact__label {
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.contact__input, .contact__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: #333333;
  background-color: #ffffff;
  border: 0.125rem solid transparent;
  border-radius: 0.25rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact__input::placeholder, .contact__textarea::placeholder {
  color: #aaa;
}
.contact__input:focus, .contact__textarea:focus {
  border-color: #004467;
  box-shadow: 0 0 0.5rem 0.125rem #2cb7ff;
}
.contact__input.is-error, .contact__textarea.is-error {
  border-color: #b92227;
  box-shadow: 0 0 0.5rem 0.125rem #df5256;
}
.contact__input.is-error:focus, .contact__textarea.is-error:focus {
  border-color: #004467;
  box-shadow: 0 0 0.5rem 0.125rem #2cb7ff;
}
.contact__textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact__recaptcha-notice {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
.contact__recaptcha-notice a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
.contact__recaptcha-notice a:hover {
  color: #ffffff;
}
.contact__submit {
  align-self: flex-start;
  padding: 0.75rem 2.5rem;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #b92227;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact__submit:hover {
  background-color: #85191c;
}
.contact__submit:active {
  transform: translateY(0);
}
.contact__submit:focus-visible {
  outline: 0.175rem solid #004467;
  outline-offset: 0.175rem;
}
.contact__result {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  padding: 3rem 1rem;
  text-align: center;
}
.contact__result.is-visible {
  display: flex;
}
.contact__result-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.contact__retry {
  padding: 0.75rem 2.5rem;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #004467;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact__retry:hover {
  background-color: #002538;
}
.contact__retry:active {
  transform: translateY(0);
}
.contact__retry:focus-visible {
  outline: 0.175rem solid #b92227;
  outline-offset: 0.175rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__form.is-hidden {
  display: none;
}
.contact__heading {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  font-family: "Montserrat", system-ui, sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact__heading.is-hidden {
  display: none;
}
.contact__subheading {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 0.875rem;
}
.contact__subheading.is-hidden {
  display: none;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.site-footer {
  width: 100%;
  background-color: #000000;
  padding: 2rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}
.site-footer__left {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
}
.site-footer__logo {
  height: 6rem;
  width: auto;
}
@media (max-width: 36rem) {
  .site-footer__logo {
    height: 4rem;
  }
}
.site-footer__copy {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.site-footer__callout {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  justify-self: end;
}
@media (max-width: 36rem) {
  .site-footer__callout {
    font-size: 0.75rem;
  }
}
@media (max-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }
  .site-footer__left {
    justify-items: center;
    grid-template-columns: 1fr;
  }
  .site-footer__callout {
    justify-self: center;
  }
}
