
.page {
  min-height: calc(100vh - 76px);
  padding: 82px 20px 26px;
}
.form-wrap {
  width: 100%;
  max-width: 698px;
  margin: 0 auto;
}
h1 {
  margin: 0 0 5px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.55px;
  font-weight: 750;
}
.intro {
  margin: 0 0 22px;
  color: #43536b;
  font-size: 12px;
}
.field {
  min-width: 0;
  margin-bottom: 15px;
}
label,
legend {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
label b {
  color: #ff5c00;
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid #999;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #182235;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #718096;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #f87926;
  box-shadow: 0 0 0 3px #f879261a;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field-row .field {
  margin-bottom: 15px;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choice-field {
  margin-bottom: 16px;
}
.choice-field legend {
  padding: 0;
  width: 100%;
}
.choice-grid {
  display: grid;
  gap: 8px;
}
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.choice input,
.passport-options input {
  width: 12px;
  height: 20px;
  margin: 0;
  accent-color: #f65d00;
  flex-shrink: 0;
}
.choice:has(input:checked) {
  border-color: #ffb27b;
  background: #fffaf6;
}
.separated {
  border-top: 1px solid #f0f1f3;
  padding-top: 16px;
  margin-top: 1px;
}
.passport-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 38px;
  margin: 1px 0 16px;
  padding: 8px 11px;
  border: 1px solid #ffe7d2;
  border-radius: 11px;
  background: #fffaf5;
}
.passport-row legend {
  float: left;
  width: auto;
  margin: 0;
}
.passport-options {
  display: flex;
  align-items: center;
  gap: 15px;
}
.passport-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.message-field {
  margin-bottom: 17px;
}
textarea {
  min-height: 84px;
  resize: vertical;
}
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
}
.consent-field input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #f65d00;
}
.consent-field label {
  margin: 0;
  color: #56647a;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}
.consent-field a {
  color: #f45100;
  text-decoration: none;
}
.error {
  display: block;
  margin-top: 3px;
  color: #c62828;
  font-size: 10px;
  font-weight: 500;
}
.error:empty {
  display: none;
}
.invalid {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 2px #d9302514 !important;
}
.submit-btn {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 12px 16px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #ff6c0b, #ff923a);
  color: #fff;
  box-shadow: 0 8px 13px #ff701638;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  cursor: pointer;
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.form-message {
  display: none;
  margin: 0 0 15px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
}
.form-message.error-message {
  display: block;
  color: #842029;
  background: #f8d7da;
}
.form-message.success-message {
  display: block;
  color: #0f5132;
  background: #d1e7dd;
}
.site-footer {
  border-top: 1px solid #e9edf1;
  padding: 25px 20px 20px;
  color: #748197;
}
.footer-inner {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  line-height: 1.7;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.site-footer nav a {
  color: #66758b;
  font-size: 9px;
  text-decoration: none;
}
.ask-button {
  position: fixed;
  right: 15px;
  bottom: 12px;
  z-index: 5;
  padding: 9px 16px;
  border-radius: 22px;
  background: #f35b0a;
  color: #fff;
  box-shadow: 0 5px 12px #0002;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 650px) {
  .page {
    min-height: auto;
    padding: 35px 16px;
  }
  h1 {
    font-size: 22px;
  }
  .field-row {
    gap: 10px;
  }
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .passport-row {
    align-items: flex-start;
  }
  .passport-row legend {
    width: 100%;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
}
@media (max-width: 380px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .choice {
    min-height: 38px;
  }
}
