.home-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-form__label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.home-form .input,
.home-form .textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  font-size: 16px;
  color: #232323;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.home-form .input {
  height: 52px;
}

.home-form .textarea {
  min-height: 100px;
  resize: vertical;
}

.home-form .input::-moz-placeholder,
.home-form .textarea::-moz-placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.home-form .input::placeholder,
.home-form .textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.home-form .input:focus,
.home-form .textarea:focus {
  outline: none;
  border-color: #ffbf2e;
}

.home-form .input.error,
.home-form .textarea.error {
  outline: none;
  border-color: #d93025;
}

.home-form__consent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.58);
  line-height: 1.4;
}

.home-form .checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.home-form .checkbox__box {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-form .checkbox__icon {
  width: 13px;
  height: 11px;
  fill: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.home-form .checkbox__text {
  flex: 1;
}

.home-form .checkbox__text a {
  color: rgba(0, 0, 0, 0.58);
  text-decoration: underline;
  text-decoration-style: dotted;
}

.home-form .checkbox__input:checked ~ .checkbox__box {
  border-color: rgba(0, 0, 0, 0.7);
}

.home-form .checkbox__input:checked ~ .checkbox__box .checkbox__icon {
  opacity: 1;
}

.home-form .checkbox.error .checkbox__box {
  border-color: #d93025;
}

.home-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 4px;
  padding: 14px 32px;
  border: none;
  border-radius: 0;
  background-color: #ffbf2e;
  color: #232323;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-form__submit:hover {
  background-color: #e6a30a;
}

.needhelp .home-form .input,
.needhelp .home-form .textarea {
  height: 52px;
  margin-bottom: 0;
}

.needhelp .home-form .textarea {
  height: auto;
  min-height: 100px;
}

.needhelp .form-section .row,
.needhelp .form-section .form-group {
  margin: 0;
}

#product-modal .modal-dialog {
  max-width: 520px;
  margin: 1.75rem auto;
}

#product-modal .modal-content {
  border: 0;
  border-radius: 0;
  padding: 40px 32px 32px;
}

#product-modal .btn-close {
  position: absolute;
  right: 24px;
  top: 20px;
  opacity: 1;
}

#product-modal .modal-body .h3 {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.25;
  padding-right: 28px;
}

#team_modal .home-form,
#product-modal .home-form {
  margin-top: 4px;
}

#team_modal .modal-body .h3,
#product-modal .modal-body .h3 {
  font-weight: 500;
  letter-spacing: -0.5px;
}

#team_modal .modal-body > p,
#product-modal .modal-body > p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.4;
}

#team_modal .home-form .input,
#team_modal .home-form .textarea,
#product-modal .home-form .input,
#product-modal .home-form .textarea,
#contact-modal .home-form .input,
#contact-modal .home-form .textarea,
#choose_modal .home-form .input,
#choose_modal .home-form .textarea,
#product-double-modal .home-form .input,
#product-double-modal .home-form .textarea,
#product-diagnost-modal .home-form .input,
#product-diagnost-modal .home-form .textarea {
  border: 1px solid #c5c5c5 !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

#team_modal .home-form .input:focus,
#team_modal .home-form .textarea:focus,
#product-modal .home-form .input:focus,
#product-modal .home-form .textarea:focus,
#contact-modal .home-form .input:focus,
#contact-modal .home-form .textarea:focus,
#choose_modal .home-form .input:focus,
#choose_modal .home-form .textarea:focus,
#product-double-modal .home-form .input:focus,
#product-double-modal .home-form .textarea:focus,
#product-diagnost-modal .home-form .input:focus,
#product-diagnost-modal .home-form .textarea:focus {
  border-color: #ffbf2e !important;
}

#team_modal .home-form .input.error,
#team_modal .home-form .textarea.error,
#product-modal .home-form .input.error,
#product-modal .home-form .textarea.error,
#contact-modal .home-form .input.error,
#contact-modal .home-form .textarea.error,
#choose_modal .home-form .input.error,
#choose_modal .home-form .textarea.error,
#product-double-modal .home-form .input.error,
#product-double-modal .home-form .textarea.error,
#product-diagnost-modal .home-form .input.error,
#product-diagnost-modal .home-form .textarea.error {
  border-color: #d93025 !important;
}
