/* Structuralia Leads Form */

.slf-form {
  width: 100%;
  display: grid;
  gap: 18px;
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.slf-form__notice {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.slf-form__notice--success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.slf-form__notice--error {
  background: rgba(255, 49, 69, 0.1);
  color: #e91f33;
}

.slf-form__hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.slf-form__field {
  display: grid;
  gap: 8px;
}

.slf-form label,
.slf-form__field label {
  margin: 0;
  color: #111111;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.slf-form input,
.slf-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8dce2;
  border-radius: 3px;
  background: #ffffff;
  padding: 9px 12px;
  color: #111111;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.2;
  outline: none;
  box-shadow: none;
}

.slf-form input::placeholder {
  color: #9b9b9b;
  opacity: 1;
}

.slf-form input:focus,
.slf-form select:focus {
  border-color: #ff3145;
  box-shadow: 0 0 0 3px rgba(255, 49, 69, 0.12);
}

.slf-phone {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
}

.slf-phone select {
  border-right: 0;
  border-radius: 3px 0 0 3px;
  padding-right: 6px;
}

.slf-phone input {
  border-radius: 0 3px 3px 0;
}

.slf-form__privacy {
  display: grid !important;
  grid-template-columns: 14px 1fr;
  gap: 10px !important;
  align-items: start;
  margin-top: 6px !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  cursor: pointer;
}

.slf-form__privacy input {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #ff3145;
}

.slf-form__privacy span {
  color: #111827;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 400;
}

.slf-form__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #ff3145;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slf-form__submit:hover {
  background: #e91f33;
  transform: translateY(-1px);
}

.slf-form__submit:active {
  transform: translateY(0);
}
