.amv-contact-wrap {
  --amv-bg: #0b0f20;
  --amv-text: #d0cbc9;
  --amv-accent: #ff6c00;
  --amv-button: #ff3b32;
  --amv-border: #d896e9;
  max-width: 860px;
  margin: 0 auto;
}

.amv-contact-form {
  position: relative;
  overflow: hidden;
  color: var(--amv-text);
  background: var(--amv-bg);
  border: 2px solid var(--amv-border);
}

.amv-contact-form .amv-field {
  display: block !important;
  width: 100% !important;
  margin: 0;
  border-bottom: 2px solid #373a4c;
  box-sizing: border-box;
}

.amv-contact-form .amv-field > label {
  display: block !important;
  width: 100% !important;
  margin: 0;
  padding: 9px 4px;
  color: var(--amv-text);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.amv-contact-form .amv-field > input,
.amv-contact-form .amv-field > select,
.amv-contact-form .amv-field > textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 22px 30px !important;
  color: #27242a !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  font: inherit !important;
  font-size: 18px !important;
  outline: none !important;
  opacity: 1 !important;
}

.amv-contact-form .amv-field > select {
  color: #27242a !important;
  background-color: #fff !important;
  cursor: pointer;
}

.amv-contact-form .amv-field > textarea {
  min-height: 260px;
  resize: vertical;
}

.amv-contact-form .amv-field > input::placeholder,
.amv-contact-form .amv-field > textarea::placeholder {
  color: #8e8885 !important;
  opacity: 1 !important;
}

.amv-contact-form .amv-field > input:focus,
.amv-contact-form .amv-field > select:focus,
.amv-contact-form .amv-field > textarea:focus {
  box-shadow: inset 0 0 0 3px var(--amv-border) !important;
}

.amv-captcha {
  padding-bottom: 18px;
}

.amv-captcha__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.amv-captcha__question {
  flex: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.amv-contact-form .amv-captcha__row input {
  flex: 0 0 150px;
  width: 150px !important;
  padding: 14px 16px !important;
  color: #27242a !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
}

.amv-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 8px 8px;
  color: var(--amv-text);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}

.amv-consent input {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin: 2px 0 0;
  accent-color: var(--amv-accent);
}

.amv-consent a {
  color: var(--amv-accent);
  text-decoration: none;
}

.amv-consent a:hover {
  text-decoration: underline;
}

.amv-contact-form .amv-submit {
  margin: 0 0 0;
  padding: 18px 32px;
  color: #fff !important;
  background: var(--amv-button) !important;
  border: 0 !important;
  border-radius: 0 8px 0 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.amv-submit:hover,
.amv-submit:focus {
  filter: brightness(.92);
  transform: translateY(-1px);
}

.amv-notice {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-left: 5px solid;
  border-radius: 4px;
  font-weight: 600;
}

.amv-notice--success {
  color: #155724;
  background: #d4edda;
  border-color: #28a745;
}

.amv-notice--error {
  color: #721c24;
  background: #f8d7da;
  border-color: #dc3545;
}

.amv-contact-form .amv-hp {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .amv-contact-form .amv-field > input,
  .amv-contact-form .amv-field > select,
  .amv-contact-form .amv-field > textarea {
    padding: 18px 16px !important;
  }

  .amv-field textarea {
    min-height: 220px;
  }

  .amv-captcha__row {
    align-items: stretch;
    flex-direction: column;
  }

  .amv-contact-form .amv-captcha__row input {
    flex-basis: auto;
    width: 100% !important;
  }

  .amv-contact-form .amv-submit {
    width: 100%;
    border-radius: 0;
  }
}
