.peloki-contact {
  width: min(980px, calc(100% - 40px));
  margin: 70px auto;
  color: #100d12;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.peloki-contact__intro {
  margin-bottom: 28px;
}

.peloki-contact__intro p {
  margin: 0 0 12px;
  color: #d6372f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.peloki-contact__intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .94;
}

.peloki-contact__intro span {
  color: #746b68;
  font-size: 1.1rem;
}

.peloki-contact__notice {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 4px;
  font-weight: 800;
}

.peloki-contact__notice.success {
  color: #063f2d;
  background: #dff7ea;
}

.peloki-contact__notice.error {
  color: #64150f;
  background: #ffe3df;
}

.peloki-contact__form {
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border: 1px solid rgba(16, 13, 18, .14);
}

.peloki-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.peloki-contact__grid p {
  margin: 0;
}

.peloki-contact__grid .wide {
  grid-column: 1 / -1;
}

.peloki-contact label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.peloki-contact label span {
  color: #746b68;
  font-weight: 700;
}

.peloki-contact input,
.peloki-contact select,
.peloki-contact textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: #100d12;
  background: #fbf7ef;
  border: 1px solid rgba(16, 13, 18, .18);
  border-radius: 4px;
  font: inherit;
}

.peloki-contact textarea {
  min-height: 180px;
  resize: vertical;
}

.peloki-contact input:focus,
.peloki-contact select:focus,
.peloki-contact textarea:focus {
  outline: 3px solid rgba(245, 184, 75, .42);
  border-color: #d6372f;
}

.peloki-contact button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 22px;
  color: #fff;
  background: #d6372f;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .peloki-contact {
    width: min(100% - 28px, 980px);
    margin: 50px auto;
  }

  .peloki-contact__grid {
    grid-template-columns: 1fr;
  }
}
