/* Contact — Figma Innerpages form band (1728×756). */

.site-main--contact,
body.page-template-page-contact {
  background: #fff;
  color: #000;
}

.contact-band {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 88px 64px;
  background: #fff;
}

.contact-band__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1600px;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 0;
  gap: 40px;
  width: auto;
  max-width: 760px;
}

.contact-form__alerts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 748px;
  margin: 0;
}

.contact-form__alert {
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.75);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
}

.contact-form__alert > *:first-child {
  margin-top: 0;
}

.contact-form__alert > *:last-child {
  margin-bottom: 0;
}

.contact-form__alert p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.contact-form__alert--ok,
.contact-form__alert--err {
  box-sizing: border-box;
  position: relative;
  padding: 14px 18px 14px 48px;
  background: #e5dacd;
  color: #3d2e1e;
  line-height: 22px;
}

.contact-form__alert--ok::before,
.contact-form__alert--err::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: #a78359;
  mask: no-repeat center / contain;
  -webkit-mask: no-repeat center / contain;
}

.contact-form__alert--ok::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.8 2.8L16.5 9'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.8 2.8L16.5 9'/%3E%3C/svg%3E");
}

.contact-form__alert--err {
  list-style: none;
}

.contact-form__alert--err::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16' r='0.8' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16' r='0.8' fill='%23000'/%3E%3C/svg%3E");
}

.contact-form__alert--err li {
  margin: 0;
  padding: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  gap: 16px;
  margin: 0;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__field {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #cbcac9;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  appearance: none;
}

.contact-form__field::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.contact-form__field:focus {
  outline: none;
  border-color: #a78359;
}

.contact-form__field--message {
  align-items: flex-start;
  height: 120px;
  min-height: 120px;
  resize: vertical;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 174px;
  height: 56px;
  padding: 16px 24px;
  border: 0;
  background: #a78359;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-form__submit:hover {
  background: #8a6c3e;
}

.contact-still {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  width: auto;
  max-width: 776px;
  min-width: 0;
  height: auto;
  aspect-ratio: 776 / 580;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.contact-still__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 1399px) {
  .contact-band {
    padding: 56px 24px;
  }
}

@media (max-width: 1023px) {
  .contact-band__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .contact-form-col {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .contact-still {
    flex: none;
    width: 100%;
    max-width: none;
    height: min(580px, 62vw);
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .contact-band {
    padding: 32px 16px 48px;
  }

  .contact-form-col {
    gap: 24px;
  }

  .contact-form__field {
    height: 48px;
    padding: 12px 16px;
  }

  .contact-form__field--message {
    height: 120px;
  }

  .contact-form__actions {
    width: 100%;
    padding-top: 8px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .contact-still {
    height: 240px;
  }
}
