.contact-page {
  background: #fff;
}

.contact-main {
  color: #000;
  font-family: "Figtree", Arial, sans-serif;
}

.contact-main h1,
.contact-main h2 {
  font-family: "Cal Sans Local", "Figtree", sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}

.contact-hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  padding: 80px max(7vw, 32px);
  color: #fff;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 7%)),
    url("/imgs/contact/contact-hero.webp") center / cover no-repeat;
}

.contact-hero__content {
  width: min(560px, 48%);
}

.contact-hero h1 {
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(58px, 5.6vw, 84px);
  line-height: 1.02;
}

.contact-hero h1 span {
  color: #ffed00;
}

.contact-hero__content > p {
  max-width: 540px;
  margin: 0 0 34px;
  color: #fff !important;
  font-size: 17px;
  line-height: 1.55;
}

.contact-hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.contact-hero__actions p {
  margin: 0;
  color: #fff !important;
}

.contact-hero__actions small,
.contact-hero__actions a {
  display: block;
}

.contact-hero__actions small {
  margin-bottom: 3px;
  font-size: 13px;
}

.contact-hero__actions p a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.contact-button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid;
  border-radius: 999px;
  font-family: "Figtree", Arial, sans-serif;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.contact-button::before,
.contact-button::after {
  content: none !important;
}

.contact-button--light {
  color: #005bae;
  background: #fff;
  border-color: #fff;
}

.contact-button--light:hover,
.contact-button--light:focus-visible {
  color: #005bae;
  background: #ffed00;
  border-color: #005bae;
}

.contact-info {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 100px 0;
}

.contact-info__copy h2,
.contact-form-section h2 {
  margin: 0 0 28px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
}

.contact-info__copy > p,
.contact-form-section__content > p {
  margin: 0 0 34px;
  color: #333 !important;
  font-size: 16px;
  line-height: 1.6;
}

.contact-info__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-info__details h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.contact-info__details p,
.contact-info__details address {
  margin: 0;
  color: #333 !important;
  font-style: normal;
  line-height: 1.55;
}

.contact-info__map-wrap {
  position: relative;
  min-width: 0;
}

.contact-info__map {
  display: block;
  width: 100%;
  min-height: 430px;
  border-radius: 16px;
  overflow: hidden;
}

.contact-info__directions {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  padding: 13px 22px;
  border: 1px solid #005bae;
  border-radius: 999px;
  background: #005bae;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.contact-info__directions:hover {
  background: #fff;
  color: #005bae !important;
}

.contact-map-marker {
  display: block;
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #ffed00;
  box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
  transform: rotate(-45deg);
}

.contact-map-marker::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #005bae;
  content: "";
}

.contact-info__map .maplibregl-popup-content {
  padding: 14px 18px;
  border-radius: 10px;
  color: #000;
  font-family: "Figtree", sans-serif;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  width: calc(100% - 32px);
  margin: 0 auto 16px;
  padding: 56px max(10vw, 32px);
  background: #fff;
}

.contact-form-section__image {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 16px;
}

.contact-form-section__content {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 26px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form label,
.contact-form label span {
  display: block;
}

.contact-form label span {
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  color: #000;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d6d3d0;
  border-radius: 0;
  outline: 0;
  font: inherit;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #005bae;
}

.contact-button--primary {
  width: fit-content;
  color: #fff;
  background: #005bae;
  border-color: #005bae;
}

.contact-button--primary:hover,
.contact-button--primary:focus-visible {
  color: #005bae;
  background: #fff;
}

.contact-form__status {
  margin: 0;
  color: #005bae !important;
  font-weight: 700;
}

@media (max-width: 980px) {
  .contact-hero {
    min-height: 560px;
    background-position: 62% center;
  }

  .contact-hero__content {
    width: min(580px, 62%);
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-section {
    gap: 48px;
    padding-inline: 42px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 620px;
    align-items: end;
    padding: 70px 24px;
    background-position: 68% center;
  }

  .contact-hero__content {
    width: 100%;
  }

  .contact-hero h1 {
    font-size: 52px;
  }

  .contact-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .contact-info {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .contact-info__details,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-info__copy h2,
  .contact-form-section h2 {
    font-size: 46px;
  }

  .contact-form-section {
    grid-template-columns: 1fr;
    width: calc(100% - 16px);
    padding: 24px;
    border-width: 8px;
  }
}
