.hf-rfq-form-wrap {
  margin: 1.5rem auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(17, 19, 22, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 19, 22, 0.08);
}

.hf-rfq-form-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.hf-rfq-form-heading h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
}

.hf-rfq-kicker {
  margin: 0;
  color: #dc1717;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.3rem;
}

.hf-field {
  min-width: 0;
}

.hf-field-wide {
  grid-column: 1 / -1;
}

.hf-field label {
  display: block;
  margin-bottom: 0.42rem;
  color: #111316;
  font-size: 0.86rem;
  font-weight: 750;
}

.hf-field label span[aria-hidden="true"] {
  color: #dc1717;
}

.hf-optional {
  color: #64707d;
  font-size: 0.75rem;
  font-weight: 500;
}

.hf-field input[type="text"],
.hf-field input[type="email"],
.hf-field input[type="tel"],
.hf-field input[type="date"],
.hf-field select,
.hf-field textarea,
.hf-file-field input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 0.78rem 0.9rem;
  border: 1px solid #c9d0d6;
  border-radius: 10px;
  background: #fff;
  color: #111316;
  font: inherit;
}

.hf-field textarea {
  resize: vertical;
}

.hf-file-field {
  padding: 1.1rem;
  border: 1px dashed #aab3bb;
  border-radius: 14px;
  background: #f7f8f9;
}

.hf-file-field input[type="file"] {
  min-height: auto;
  border: 0;
  background: transparent;
}

.hf-file-field p,
.hf-check-field label {
  color: #59636d;
  font-size: 0.78rem;
  font-weight: 500;
}

.hf-check-field label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.hf-check-field input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: #dc1717;
}

.hf-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hf-rfq-submit {
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #dc1717;
  box-shadow: 0 12px 28px rgba(220, 23, 23, 0.25);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.hf-rfq-submit:hover {
  background: #a70c0c;
}

.hf-rfq-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hf-form-error {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid #b42318;
  border-radius: 8px;
  background: #fff0ee;
  color: #7a271a;
}

.hf-form-status {
  margin: 0;
  color: #59636d;
  font-size: 0.82rem;
}

.hf-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hf-thank-you {
  max-width: 780px;
  margin: 2rem auto;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 24px;
  background: #f3f5f6;
}

.hf-thank-you h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.hf-reference {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 782px) {
  .hf-form-grid {
    grid-template-columns: 1fr;
  }

  .hf-field-wide {
    grid-column: auto;
  }

  .hf-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hf-rfq-submit {
    width: 100%;
  }
}
