.contact-with-form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  align-items: start;
}

.contact-copy {
  max-width: 720px;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(3, 7, 18, 0.34);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.86);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(56, 189, 248, 0.74);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.contact-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.75em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-state='success'] {
  color: #86efac;
}

.form-status[data-state='error'] {
  color: #fbbf24;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  color: transparent;
  font-size: 0;
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.20), 0 6px 18px rgba(0, 0, 0, 0.16);
}

.brand-mark::before {
  position: absolute;
  left: 9px;
  top: 8px;
  width: 21px;
  height: 21px;
  content: '';
  background:
    linear-gradient(#031525, #031525) center / 4px 21px no-repeat,
    linear-gradient(#031525, #031525) center / 21px 4px no-repeat;
}

.brand-mark::after {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: '';
  background: #031525;
}

@media (max-width: 980px) {
  .contact-with-form {
    grid-template-columns: 1fr;
  }
}
