.contact-main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 24px 90px;
  float: none;
}

.contact-main .page_title {
  margin-bottom: 28px;
  color: #279fd6;
  text-align: center;
}

.contact-page {
  color: #3d4b55;
}

.contact-intro {
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.8;
}

.contact-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px auto 22px;
}

.contact-shortcuts a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  padding: 14px 18px;
  border: 2px solid #18a991;
  border-radius: 12px;
  background: #fff;
  color: #138875;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}

.contact-shortcuts a:hover {
  background: #18a991;
  color: #fff;
  transform: translateY(-2px);
}

.required-note {
  margin-top: 8px;
  color: #687680;
  font-size: 14px;
}

.required-note span,
.required {
  color: #ef6b57;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fff0ed;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
}

.contact-form {
  padding: 42px 48px;
  border: 1px solid #dcebf1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(45, 119, 150, .09);
}

.form-status {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eef8fb;
  color: #24566c;
  text-align: center;
}

.form-status.error {
  background: #fff0ed;
  color: #b34031;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-field {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.form-field > label,
.form-field legend {
  display: block;
  margin-bottom: 10px;
  color: #24566c;
  font-size: 16px;
  font-weight: 700;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #b8d4df;
  border-radius: 8px;
  background: #fbfdfe;
  color: #26343c;
  font: inherit;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: #25a6d9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 166, 217, .13);
}

.inquiry-types > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf3f5;
  color: #3d4b55;
  font-weight: 400;
  cursor: pointer;
}

.inquiry-types input[type="radio"],
.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #18a991;
  flex: 0 0 auto;
}

.inquiry-types .other-option {
  align-items: center;
  flex-wrap: wrap;
}

.other-option input[type="text"] {
  width: min(360px, 100%);
  margin-left: 6px;
  padding: 8px 10px;
}

.privacy-check {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 15px;
  cursor: pointer;
}

.privacy-check a {
  color: #168ab6;
  text-decoration: underline;
}

.submit-note {
  margin-bottom: 18px;
  color: #687680;
  font-size: 13px;
  text-align: center;
}

.form-submit {
  text-align: center;
}

.form-submit button {
  min-width: 280px;
  padding: 16px 36px;
  border: 0;
  border-radius: 999px;
  background: #ef6f5a;
  box-shadow: 0 6px 14px rgba(239, 111, 90, .24);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}

.form-submit button:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.form-submit button:disabled {
  opacity: .45;
  cursor: wait;
  transform: none;
}

.contact-thanks {
  padding: 55px 30px;
  border: 1px solid #dcebf1;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(45, 119, 150, .09);
}

.thanks-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #18a991;
  color: #fff;
  font-size: 40px;
  line-height: 64px;
}

.contact-thanks h2 {
  margin-bottom: 18px;
  color: #24566c;
}

.contact-thanks p {
  line-height: 1.9;
}

.back-home {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #279fd6;
  color: #fff !important;
  font-weight: 700;
}

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

  .contact-main .page_title {
    font-size: 25px;
  }

  .contact-intro {
    text-align: left;
  }

  .contact-shortcuts {
    grid-template-columns: 1fr;
  }

  .contact-shortcuts a {
    min-height: 58px;
    text-align: center;
  }

  .contact-form {
    padding: 28px 18px;
    border-radius: 13px;
  }

  .form-field {
    margin-bottom: 24px;
  }

  .inquiry-types > label {
    line-height: 1.55;
  }

  .other-option input[type="text"] {
    width: 100%;
    margin: 5px 0 0 28px;
  }

  .form-submit button {
    width: 100%;
    min-width: 0;
  }
}
