/* Contact Form */
.contact-form {
  width: 100%;
}

.contact-form__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #C4C4C4;
}

.contact-form__row:last-child {
  border-bottom: 1px solid #C4C4C4;
}

.contact-form__label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  flex: 0 0 240px;
}

.contact-form__label {
  color: #353535;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  cursor: pointer;
}
.contact-form__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ec-errorMessage {
  font-size: 12px;
  font-weight: bold;
  color: #DE5D50;
}

.contact-form__badge, .ec-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  background: #D0174E;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  border-radius: 1000px;
  white-space: nowrap;
}

.contact-form__input-group {
  display: flex;
  gap: 16px;
  flex: 1;
}

.contact-form__input {
  flex: 1;
  padding: 23px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #353535;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  box-sizing: border-box;
}

.contact-form__input::placeholder {
  color: #BBBBBB;
}

.contact-form__input:focus {
  outline: none;
  border-color: #8B6E00;
}

.contact-form__textarea {
  flex: 1;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #353535;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  resize: vertical;
  min-height: 200px;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form__textarea::placeholder {
  color: #BBBBBB;
}

.contact-form__textarea:focus {
  outline: none;
  border-color: #8B6E00;
}

.btn_contact_wrap {
  display: flex;
  justify-content: center;
}

.btn_contact {
  width: 275px;
  margin-top: 64px;
}

@media screen and (max-width: 890px) {
  .contact-form__row {
    flex-direction: column;
    gap: 12px;
  }
  .contact-form__label-group {
    width: 100%;
    flex: 1;
  }
  .contact-form__input-group {
    gap: 8px;
  }
  .contact-form__input-group, .contact-form__textarea, .contact-form__input{
    width: 100%;
  }
  .contact-form__label {
    font-size: 16px;
  }
  .contact-form__badge {
    font-size: 13px;
  }
}
