/* ── Inquiry page — form-specific styles only ─────────
   Shared styles (reset, nav, header, footer, card,
   buttons, sr-only) come from ../style.css
   ────────────────────────────────────────────────── */

.inquiry-main {
  padding: 40px 0;
  max-width: 860px;
}

.inquiry-main h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto 22px;
  max-width: 62ch;
  text-align: center;
  color: var(--muted);
  font-size: clamp(14px, 2.6vw, 18px);
}

/* ── Form layout ──────────────────────────────────── */
form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: flex;
  flex-direction: column;
}

/* ── Labels ───────────────────────────────────────── */
label {
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin: 0 0 8px;
}

/* ── Inputs ───────────────────────────────────────── */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0f0d10;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: rgba(201, 185, 190, 0.60);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Actions ──────────────────────────────────────── */
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  align-items: center;
}

/* ── Alerts ───────────────────────────────────────── */
.alert {
  display: none;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.alert-success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.alert-error {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
}

.alert-error a {
  color: inherit;
  text-decoration: underline;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 760px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

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