.contact-main {
  width: 100%;
  padding: 48px 0 80px;
}

.contact-wrap {
  width: 100%;
  max-width: 560px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: normal;
  line-height: 1.08;
  margin: 16px 0 12px;
  color: var(--ink);
}

.contact-lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(226, 98, 43, 0.15);
}

.turnstile-slot {
  min-height: 65px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 14px;
  line-height: 1.5;
  min-height: 1.5em;
}

.form-status[data-tone="ok"] {
  color: var(--orange-deep);
}

.form-status[data-tone="error"] {
  color: #9b2c1a;
}

.contact-success {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.contact-success.is-visible {
  display: block;
}

.contact-success h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: normal;
  margin: 0 0 8px;
}

.contact-success p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 639px) {
  .contact-main {
    padding: 28px 0 64px;
  }

  .form-actions .btn {
    width: 100%;
  }
}
