.contact-page {
  background: #f4f4f4;
  color: #111;
  min-height: 100vh;
}

.contact-page .hero-top-bar {
  position: relative;
  background: #050505;
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 5% 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 7vw, 120px);
}

.contact-title,
.contact-info-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 0.95;
  color: #09531b;
  margin-bottom: 18px;
}

.contact-note {
  font-size: 13px;
  color: #7a7a7a;
  margin-bottom: 18px;
}

.contact-note span {
  color: #c13030;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 28px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-field {
  position: relative;
  margin-bottom: 26px;
}

.contact-field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #111;
  transition: width 0.35s ease;
  pointer-events: none;
}

.contact-field:hover::after,
.contact-field:focus-within::after {
  width: 100%;
}

.contact-field label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #8a8a8a;
  margin-bottom: 10px;
}

.contact-form .required {
  color: #c13030;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #d5d5d5;
  border-radius: 0;
  background: transparent;
  color: #111;
  padding: 4px 0 10px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

.contact-field textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-end;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 15px 32px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-submit:hover {
  background: #09531b;
  transform: translateY(-1px);
}

.contact-info-block {
  margin-bottom: 40px;
}

.contact-info-head {
  font-family: "Anton", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 0.95;
  margin-bottom: 12px;
  color: #1c1c1c;
}

.contact-info-text {
  font-size: clamp(20px, 2.4vw, 28px);
  font-family: "Anton", sans-serif;
  line-height: 1.55;
  color: #2c2c2c;
}

.contact-info-text a {
  color: #09531b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-underline-offset 0.2s ease;
}

.contact-info-text a:hover {
  color: #0b6221;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 52px 5% 70px;
  }

  .contact-info-text {
    font-size: clamp(20px, 5.8vw, 26px);
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 15px;
  }

  .contact-field textarea {
    min-height: 140px;
  }

  .contact-submit {
    align-self: stretch;
  }
}

.contact-map-wrap {
  grid-column: 1 / -1;
  margin-top: 10px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.contact-map {
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  border: 0;
  display: block;
}
