* { box-sizing: border-box; }

.form-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.form-card {
  width: min(860px, 100%);
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 80px rgba(20, 31, 53, 0.08);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  margin: 22px 0 34px;
  max-width: 680px;
  font-size: 19px;
  line-height: 1.55;
  color: #536071;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #273246;
}

input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d7deea;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: #172033;
  background: #fff;
  outline: none;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: #f26a21;
  box-shadow: 0 0 0 4px rgba(242, 106, 33, 0.12);
}

.privacy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  color: #536071;
}

.privacy input {
  width: auto;
  margin-top: 3px;
}

.message {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 24px;
  font-weight: 700;
}

.success { background: #eaf8ef; color: #176b36; }
.error { background: #fff0f0; color: #9a1f1f; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; gap: 0; }
}
