.hfb-form-wrap {
  background: #eef5e9;
  border: 2px solid #b8d4a8;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1.5rem;
}

.hfb-contact-form {
  position: relative;
}

.hfb-form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hfb-form-field {
  margin-bottom: 1.25rem;
}

.hfb-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #2d5016;
  font-size: 0.95rem;
}

.hfb-required {
  color: #c0392b;
}

.hfb-optional {
  font-weight: 400;
  color: #888;
  font-size: 0.85em;
}

.hfb-form-field input,
.hfb-form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid #d4d4d4;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.hfb-form-field input:focus,
.hfb-form-field textarea:focus {
  outline: none;
  border-color: #2d5016;
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.hfb-form-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.hfb-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2d5016;
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.hfb-submit:hover {
  background: #1e3a0e;
}

.hfb-submit svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
}

.hfb-form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.hfb-form-success svg {
  width: 3rem;
  height: 3rem;
  fill: #2d5016;
  margin-bottom: 0.5rem;
}

.hfb-form-success h3 {
  color: #2d5016;
  margin: 0 0 0.5rem;
}

.hfb-form-success p {
  color: #555;
}

.hfb-form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.hfb-notice {
  background: #fef9e7;
  border-left: 4px solid #d4a017;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #5a4b1e;
}

@media (max-width: 30rem) {
  .hfb-form-row--two {
    grid-template-columns: 1fr;
  }
}
