.sytec-contact-form,
.sytec-contact-form * {
  box-sizing: border-box;
}

.sytec-contact-form {
  width: 100%;
  color: #171717;
}

.sytec-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sytec-contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #242424;
  font-size: 13px;
  font-weight: 600;
}

.sytec-contact-form input,
.sytec-contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.sytec-contact-form input {
  min-height: 48px;
  padding: 10px 14px;
}

.sytec-contact-form textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.sytec-contact-form input:focus,
.sytec-contact-form textarea:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 8%);
}

.sytec-contact-form__message {
  grid-column: 1 / -1;
}

.sytec-contact-form__submit {
  min-width: 150px;
  margin-top: 18px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sytec-contact-form__submit:hover,
.sytec-contact-form__submit:focus-visible {
  background: #272727;
}

.sytec-contact-form__notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 14px;
}

.sytec-contact-form__notice.is-success {
  border: 1px solid #86b995;
  background: #edf8f0;
  color: #174b25;
}

.sytec-contact-form__notice.is-error {
  border: 1px solid #dca0a0;
  background: #fff1f1;
  color: #762020;
}

.sytec-contact-form__hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .sytec-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .sytec-contact-form__message {
    grid-column: auto;
  }

  .sytec-contact-form__submit {
    width: 100%;
  }
}
