/* Contact and advertising pages */
.contact_page_panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  margin: 34px 0 56px;
  padding: 34px;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 49, 74, 0.08);
}

.contact_page_intro .section_kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #db5c4c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact_page_intro .section_kicker:before {
  display: inline-block;
  width: 42px;
  height: 3px;
  background: #db5c4c;
  border-radius: 3px;
  content: "";
}

.contact_page_intro h2 {
  margin: 0 0 14px;
  color: #161d2f;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.16;
}

.contact_page_intro p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.65;
}

.contact_page_notes,
.contact_form,
.contact_field_group {
  display: grid;
}

.contact_page_notes {
  gap: 12px;
  margin-top: 28px;
}

.contact_note {
  padding: 16px 18px;
  background: #f7f9fc;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.contact_note_label {
  display: block;
  margin-bottom: 4px;
  color: #172033;
  font-weight: 700;
}

.contact_form {
  gap: 18px;
  margin: 0;
}

.contact_form_status {
  display: none;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.contact_form_status.is_success,
.contact_form_status.is_error {
  display: block;
}

.contact_form_status.is_success {
  color: #137333;
  background: #eaf7ee;
  border: 1px solid #bde8c8;
}

.contact_form_status.is_error {
  color: #a33a2f;
  background: #fff0ee;
  border: 1px solid #f1c2bc;
}

.contact_field_group {
  gap: 8px;
}

.contact_field_group label {
  margin: 0;
  color: #273043;
  font-size: 14px;
  font-weight: 700;
}

.contact_field_group input,
.contact_field_group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #172033;
  background: #fbfcfe;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.contact_field_group textarea {
  min-height: 170px;
  resize: vertical;
}

.contact_field_group input:focus,
.contact_field_group textarea:focus {
  background: #fff;
  border-color: #3d7cc9;
  box-shadow: 0 0 0 4px rgba(61, 124, 201, 0.12);
}

.contact_field_group input.is_error,
.contact_field_group textarea.is_error {
  border-color: #db5c4c;
  box-shadow: 0 0 0 4px rgba(219, 92, 76, 0.12);
}

.contact_submit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: #db5c4c;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 22px rgba(219, 92, 76, 0.24);
}

.contact_submit_btn:hover,
.contact_submit_btn:focus {
  background: #c84f41;
  text-decoration: none;
  transform: translateY(-1px);
}

.contact_submit_btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.contact_submit_loading,
.contact_form.is_sending .contact_submit_text {
  display: none;
}

.contact_form.is_sending .contact_submit_loading {
  display: inline;
}

@media screen and (max-width: 900px) {
  .contact_page_panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .contact_page_intro h2 {
    font-size: 28px;
  }
}

@media screen and (max-width: 520px) {
  .contact_page_panel {
    margin: 22px 0 38px;
    padding: 20px;
  }

  .contact_page_intro h2 {
    font-size: 24px;
  }

  .contact_submit_btn {
    width: 100%;
  }
}
