.contact {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #141414;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.contact :where(a) {
  color: inherit;
  text-decoration: none;
}
.contact img {
  display: block;
  max-width: 100%;
}
.contact h2,
.contact h3 {
  margin: 0;
}
.contact__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-org {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  color: #017435;
  text-wrap: pretty;
}

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-info__item--pair {
  flex-wrap: wrap;
  gap: 12px 24px;
}
.contact-info__cell {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact-info__sep {
  width: 1px;
  align-self: stretch;
  background: #d9d9d9;
}
.contact-info__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #017435;
}
.contact-info__text {
  font-size: 16px;
  line-height: 1.5;
  color: #141414;
  text-wrap: pretty;
}
.contact-info__text strong {
  font-weight: 400;
}

.contact-rule {
  height: 0;
  margin: 8px 0;
  border: none;
  border-top: 1px solid #d9d9d9;
}

.contact-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #141414;
  text-wrap: pretty;
}

.contact-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  min-width: 260px;
  max-width: 420px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.contact-toast.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.contact-toast--success {
  background: #017435;
}
.contact-toast--error {
  background: #e51a23;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-error {
  font-size: 13px;
  color: #e51a23;
  padding-left: 4px;
  min-height: 18px;
  line-height: 1.4;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #d9d9d9;
  transition: box-shadow 0.15s ease;
}
.field:focus-within {
  box-shadow: inset 0 0 0 1.5px #017435;
}
.field--error {
  box-shadow: inset 0 0 0 1.5px #e51a23;
}
.field--area {
  align-items: stretch;
}
.field__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #0d0d0d;
  resize: none;
}
.field__input::-moz-placeholder {
  color: #8a8a8a;
}
.field__input::placeholder {
  color: #8a8a8a;
}
.field__input:focus {
  outline: none;
}
.field__textarea {
  min-height: 120px;
}

.contact-privacy {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #141414;
  text-wrap: pretty;
}
.contact-privacy strong {
  font-weight: 700;
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.contact-consent__box {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.contact-consent__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1.5px #d9d9d9;
  color: transparent;
  background: #fff;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.contact-consent__box:checked + .contact-consent__mark {
  background: #017435;
  box-shadow: inset 0 0 0 1.5px #017435;
  color: #fff;
}
.contact-consent__box:focus-visible + .contact-consent__mark {
  box-shadow: inset 0 0 0 1.5px #017435, 0 0 0 3px rgba(1, 116, 53, 0.25);
}
.contact-consent__text {
  font-size: 16px;
  line-height: 1.4;
  color: #141414;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  border: none;
  border-radius: 8px;
  background: #017435;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.contact-submit:hover {
  background: #c7202c;
}
.contact-submit:active {
  transform: translateY(1px);
}
.contact-submit svg {
  flex: 0 0 auto;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #017435;
  line-height: 0;
}
.section-heading__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__rule {
  flex: 1 1 auto;
  height: 8px;
  background: url("assets/divider-dots.png") left center/auto 8px repeat-x;
}

.map-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-embed {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f3e9;
  aspect-ratio: 1040/560;
}
.map-embed__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #017435;
}
.map-link svg {
  flex: 0 0 auto;
}
.map-link:hover {
  text-decoration: underline;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1100px) {
  .contact__wrap {
    grid-template-columns: 1fr;
  }
  .contact-side {
    max-width: 460px;
  }
}
@media (max-width: 640px) {
  .contact__wrap {
    padding: 32px 20px;
  }
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
  .contact-info__item--pair {
    flex-direction: column;
  }
  .contact-info__sep {
    display: none;
  }
  .contact-org {
    font-size: 19px;
  }
}
