*,
*::before,
*::after {
  box-sizing: border-box;
}

.contact-page {
  color: #594a47;
  min-height: 710px;
}

.contact-hero {
  text-align: center;
  padding: 48px 16px 24px;
  margin: 0 auto;
}

.contact-hero h1 {
  margin: 0 0 20px;
  text-align: center;
  color: #594a47;
  font-family: 'Noto Serif Display', serif;
  line-height: 1.1;
  font-weight: 400;
  font-size: clamp(35px, 3vw, 46px);
}

.contact-hero p {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  color: #594a47;
}

.contact-notice {
  max-width: 720px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.contact-notice.success { background: #e8f7ef; color: #1b6e3a; }
.contact-notice.error { background: #fdecea; color: #a23b32; }

.contact-form-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 16px 40px;
  margin: 0 auto;
  min-height: 530px;
}

.contact-form-wrap form,
.contact-form-wrap .wpforms-container {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 2rem !important;
  max-width: 700px !important;
  width: 100% !important;
}

.wpforms-field-text {
  padding: 0 !important;
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  display: block !important;
  width: 570px !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  border: 1px solid #e6e0db !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  transition: border-color 0.2s ease !important;
  margin-bottom: 0 !important;
  background-color: #73876e !important;
  color: #fafafa !important;
  max-width: 100% !important;
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select,
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus,
.wpforms-field input:valid,
.wpforms-field textarea:valid,
.wpforms-field select:valid {
  background-color: #73876e !important;
  color: #fafafa !important;
  border-color: #e6e0db !important;
}

.wpforms-field textarea {
  resize: vertical !important;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder,
.wpforms-field select::placeholder {
  color: #fafafa !important;
  opacity: 1 !important;
}

.wpforms-field label {
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: block !important;
  color: #594a47 !important;
}

.wpforms-field input[type="checkbox"] {
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
  border: initial !important;
  accent-color: #73876e;
  cursor: pointer;
  padding: 0 !important;
}

.wpforms-submit {
  background: #73876e !important;
  color: #fff !important;
  padding: 14px 25px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  width: 100% !important;
}

.wpforms-submit:hover {
  background: #476a58 !important;
}


@media (max-width: 480px) {
  .contact-form-wrap form,
  .contact-form-wrap .wpforms-container {
    padding: 1.5rem !important;
  }
}


