.contact-page main {
  overflow: hidden;
  color: #1f2718;
  font-family: "Poppins", sans-serif;
}

.contact-hero {
  position: relative;
  display: flex;
  min-height: 410px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0f1607 url("../images/bg/gtyyygrrrt.jpeg") center 48% / cover no-repeat;
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 22, 7, .9), rgba(15, 22, 7, .62) 58%, rgba(15, 22, 7, .18));
  content: "";
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 76px;
}

.contact-eyebrow {
  margin: 0 0 16px;
  color: #a9d16d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-hero-lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.7;
}

.contact-main-section {
  padding-block: 88px;
  background: #f3f6f2;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.contact-intro h2,
.contact-location-copy h2 {
  margin: 0 0 16px;
  color: #0f1607;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-intro > p:not(.contact-eyebrow) {
  margin: 0 0 34px;
  color: #58604f;
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #dfe5d8;
}

.contact-detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e5eddd;
  color: #66982f;
  font-size: 19px;
}

.contact-details h3 {
  margin: 0 0 5px;
  color: #0f1607;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: #58604f;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: #66982f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-panel {
  padding: 36px;
  border: 1px solid #e2e9e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 22, 7, .08);
}

.contact-form-heading {
  margin-bottom: 26px;
}

.contact-form-heading h2 {
  margin: 0 0 8px;
  color: #0f1607;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.contact-form-heading p {
  margin: 0;
  color: #58604f;
  font-size: 14px;
  line-height: 1.65;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

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

.contact-form-field.full-width {
  grid-column: 1 / -1;
}

.contact-form-field label {
  color: #1f2718;
  font-size: 13px;
  font-weight: 600;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  border: 1px solid #dfe5d8;
  border-radius: 4px;
  background: #fbfcfb;
  color: #1f2718;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-form-field input {
  min-height: 48px;
  padding: 11px 13px;
}

.contact-form-field textarea {
  min-height: 150px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: #7e8777;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: #66982f;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 152, 47, .14);
}

.contact-submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
}

.contact-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 3px;
  background: #66982f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #0f1607;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.contact-submit:focus-visible,
.contact-details a:focus-visible {
  outline: 3px solid rgba(102, 152, 47, .4);
  outline-offset: 3px;
}

.contact-form-response {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form-response.success {
  color: #28623b;
}

.contact-form-response.error {
  color: #a52f2f;
}

.contact-location-section {
  padding-block: 0 88px;
  background: #f3f6f2;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid #dfe5d8;
  border-radius: 8px;
  background: #fff;
}

.contact-location-copy {
  align-self: center;
  padding: 38px;
}

.contact-location-copy h2 {
  font-size: 30px;
}

.contact-location-copy p:not(.contact-eyebrow) {
  margin: 0 0 20px;
  color: #58604f;
  line-height: 1.7;
}

.contact-location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #66982f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact-location-link:hover {
  color: #0f1607;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-map {
  min-height: 330px;
  background: #e7ece7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

@media (max-width: 900px) {
  .contact-main-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 34px;
  }

  .contact-form-panel {
    padding: 28px;
  }

  .contact-location-copy {
    padding: 28px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 350px;
    background-position: 58% center;
  }

  .contact-hero-content {
    padding-block: 58px;
  }

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

  .contact-hero-lead {
    font-size: 16px;
  }

  .contact-main-section {
    padding-block: 60px;
  }

  .contact-main-grid,
  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-intro h2 {
    font-size: 32px;
  }

  .contact-form-panel {
    padding: 24px 20px;
  }

  .contact-location-section {
    padding-bottom: 60px;
  }

  .contact-location-copy {
    padding: 28px 22px 0;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 290px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-field.full-width {
    grid-column: auto;
  }

  .contact-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-field input,
  .contact-form-field textarea,
  .contact-submit {
    transition-duration: .01ms !important;
  }
}
