.hhfi-wrap,
.hhfi-wrap * { box-sizing: border-box; }

.hhfi-wrap {
  --hhfi-green: #629647;
  --hhfi-dark: #1f5232;
  --hhfi-text: #1d2419;
  --hhfi-muted: #667064;
  --hhfi-border: #dfe6dc;
  --hhfi-bg: #ffffff;
  width: 100%;
  font-family: Raleway, Arial, sans-serif;
  color: var(--hhfi-text);
}

.hhfi-card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 46px);
  background: var(--hhfi-bg);
  border: 1px solid rgba(31, 82, 50, .10);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(31, 82, 50, .09);
}

.hhfi-layout-half .hhfi-card { max-width: none; }

.hhfi-heading { margin-bottom: 26px; }
.hhfi-heading h3 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  font-weight: 700;
  color: var(--hhfi-dark);
}
.hhfi-heading p {
  margin: 0;
  max-width: 620px;
  color: var(--hhfi-muted);
  font-size: 15px;
  line-height: 1.65;
}

.hhfi-fields { display: grid; grid-template-columns: 1fr; gap: 18px; }
.hhfi-layout-half .hhfi-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hhfi-layout-half .hhfi-field-phone { grid-column: 1 / -1; }

.hhfi-field label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--hhfi-text);
}

.hhfi-optional {
  font-size: 11px;
  font-weight: 600;
  color: #7b8479;
}

.hhfi-field input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--hhfi-border);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--hhfi-text);
  font: 500 15px/1.3 Raleway, Arial, sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hhfi-field input:focus {
  border-color: var(--hhfi-green);
  box-shadow: 0 0 0 3px rgba(98, 150, 71, .14);
}

.hhfi-field input.hhfi-invalid { border-color: #b3261e; }

.hhfi-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--hhfi-green);
  color: #fff;
  font: 700 14px/1 Raleway, Arial, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 10px 24px rgba(98, 150, 71, .20);
}
.hhfi-submit:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(98, 150, 71, .25); }
.hhfi-submit:disabled { cursor: wait; opacity: .68; transform: none; }

.hhfi-consent {
  margin: 13px 0 0;
  color: #7b8479;
  font-size: 11px;
  line-height: 1.55;
}

.hhfi-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.45;
}
.hhfi-status.hhfi-show { display: block; }
.hhfi-status.hhfi-success { background: #edf6e9; color: #315b22; }
.hhfi-status.hhfi-error { background: #fff0ef; color: #8b1d18; }

.hhfi-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 720px) {
  .hhfi-card { padding: 26px 20px; border-radius: 14px; }
  .hhfi-layout-half .hhfi-fields { grid-template-columns: 1fr; }
  .hhfi-layout-half .hhfi-field-phone { grid-column: auto; }
  .hhfi-field input { min-height: 52px; font-size: 16px; }
  .hhfi-submit { min-height: 54px; }
}
