.hblf-shell{
  --hblf-accent:#7cda24;
  --hblf-bg:#fff;
  --hblf-surface:#fff;
  --hblf-heading:#111827;
  --hblf-text:#111827;
  --hblf-muted:#475569;
  --hblf-border:#e2e8f0;
  --hblf-button:#000;
  --hblf-button-hover:#333;
  --hblf-button-text:#fff;
  --hblf-back:#ebebeb;
  --hblf-back-text:#111827;
  --hblf-radius:8px;
  max-width:860px;
  margin:40px auto;
  font:inherit;
  color:inherit;
  box-sizing:border-box;
}
.hblf-shell *, .hblf-shell *::before, .hblf-shell *::after{box-sizing:border-box}
.hblf-shell.hblf-layout-wide{max-width:1080px}
.hblf-form{margin:0}

.hblf-shell.hblf-surface-glass .hblf-card{
  background:color-mix(in srgb,var(--hblf-bg) 76%,transparent);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 32px rgba(0,0,0,.10);
}
.hblf-shell.hblf-surface-glass .hblf-service-card,
.hblf-shell.hblf-surface-glass .hblf-choice span,
.hblf-shell.hblf-surface-glass .hblf-field input[type="text"],
.hblf-shell.hblf-surface-glass .hblf-field input[type="email"],
.hblf-shell.hblf-surface-glass .hblf-field input[type="tel"],
.hblf-shell.hblf-surface-glass .hblf-field input[type="date"],
.hblf-shell.hblf-surface-glass .hblf-field textarea{
  background:color-mix(in srgb,var(--hblf-surface) 88%,transparent);
}
.hblf-card{
  background:var(--hblf-bg);
  border:1px solid var(--hblf-border);
  border-radius:14px;
  padding:40px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
}
.hblf-progress{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px}
.hblf-progress-step{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--hblf-muted);white-space:nowrap}
.hblf-progress-step.is-active,.hblf-progress-step.is-complete{color:var(--hblf-text)}
.hblf-progress-num{width:32px;height:32px;border-radius:999px;background:color-mix(in srgb,var(--hblf-border) 45%,var(--hblf-surface));color:var(--hblf-muted);display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 auto}
.hblf-progress-step.is-active .hblf-progress-num,.hblf-progress-step.is-complete .hblf-progress-num{background:var(--hblf-accent);color:#fff}
.hblf-progress-line{flex:1;height:2px;background:var(--hblf-border);margin:0 15px;min-width:14px}
.hblf-progress-line.is-active{background:var(--hblf-accent)}
.hblf-step{display:none}
.hblf-step.is-active{display:block}
.hblf-shell .hblf-heading{font-size:24px;line-height:1.25;font-weight:800;color:var(--hblf-heading)!important;margin:0 0 25px;text-align:center}
.hblf-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:15px;margin:25px 0}
.hblf-service{display:flex;cursor:pointer;min-width:0;height:100%}
.hblf-service input{position:absolute;opacity:0;pointer-events:none}
.hblf-service-card{width:100%;height:100%;box-sizing:border-box;min-height:126px;border:2px solid var(--hblf-border);padding:24px 14px;text-align:center;border-radius:var(--hblf-radius);transition:border-color .2s ease,background-color .2s ease,transform .2s ease;background:var(--hblf-surface);display:flex;flex-direction:column;align-items:center;justify-content:center}
.hblf-service:hover .hblf-service-card{border-color:color-mix(in srgb,var(--hblf-border) 65%,var(--hblf-text));background:color-mix(in srgb,var(--hblf-surface) 94%,var(--hblf-text))}
.hblf-service input:focus-visible + .hblf-service-card{outline:3px solid color-mix(in srgb,var(--hblf-accent) 35%,transparent);outline-offset:2px}
.hblf-service input:checked + .hblf-service-card{border-color:var(--hblf-accent);background:color-mix(in srgb,var(--hblf-accent) 10%,var(--hblf-surface))}
.hblf-service-icon{display:inline-flex;width:40px;height:40px;margin-bottom:12px;color:var(--hblf-text);transition:color .2s ease}
.hblf-service-icon svg{display:block;width:100%;height:100%}
.hblf-service input:checked + .hblf-service-card .hblf-service-icon{color:var(--hblf-accent)}
.hblf-service-name{font-size:14px;line-height:1.35;font-weight:700;color:var(--hblf-text)}
.hblf-field{margin-bottom:25px;text-align:left}
.hblf-label{font-weight:700;font-size:16px;line-height:1.45;display:block;margin-bottom:10px;color:var(--hblf-text)}
.hblf-required{color:#df4747;margin-left:4px}
.hblf-field input[type="text"],.hblf-field input[type="email"],.hblf-field input[type="tel"],.hblf-field input[type="date"],.hblf-field textarea{
  appearance:none;width:100%;padding:14px 18px;border:2px solid var(--hblf-border);border-radius:0;background:var(--hblf-surface);font:inherit;font-size:16px;color:var(--hblf-text);box-shadow:none;outline:none;transition:border-color .2s ease,box-shadow .2s ease
}
.hblf-field textarea{min-height:135px;resize:vertical}
.hblf-field input[type="date"]{min-height:54px;min-width:0;color-scheme:light}
.hblf-theme-dark .hblf-field input[type="date"]{color-scheme:dark}
.hblf-field input::placeholder,.hblf-field textarea::placeholder{color:var(--hblf-muted);opacity:.8}
.hblf-field input:focus,.hblf-field textarea:focus{border-color:var(--hblf-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--hblf-accent) 18%,transparent)}
.hblf-choice-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.hblf-choice{display:block;cursor:pointer;position:relative;margin:0}
.hblf-choice input{position:absolute;opacity:0;pointer-events:none}
.hblf-choice span{display:block;padding:15px 20px;border:2px solid var(--hblf-border);background:var(--hblf-surface);font-size:15px;line-height:1.45;font-weight:500;color:var(--hblf-text);transition:border-color .2s ease,background-color .2s ease;border-radius:0}
.hblf-choice:hover span{border-color:color-mix(in srgb,var(--hblf-border) 65%,var(--hblf-text));background:color-mix(in srgb,var(--hblf-surface) 94%,var(--hblf-text))}
.hblf-choice input:focus-visible + span{outline:3px solid color-mix(in srgb,var(--hblf-accent) 35%,transparent);outline-offset:2px}
.hblf-choice input:checked + span{border-color:var(--hblf-accent);background:color-mix(in srgb,var(--hblf-accent) 10%,var(--hblf-surface));font-weight:600}
.hblf-privacy{margin:25px 0;text-align:center}
.hblf-privacy p{font-size:13px;line-height:1.6;color:var(--hblf-muted);margin:0}
.hblf-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.hblf-actions{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:30px;width:100%}
.hblf-actions-single .hblf-button{max-width:280px}
.hblf-button{flex:1;max-width:280px;width:280px;min-height:44px;padding:12px 15px;font:inherit;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1px;border-radius:0;cursor:pointer;border:0;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;line-height:1.1;white-space:normal;margin:0;transition:background-color .2s ease,opacity .2s ease,color .2s ease}
.hblf-next,.hblf-submit{background:var(--hblf-button);color:var(--hblf-button-text)}
.hblf-next:hover,.hblf-submit:hover{background:var(--hblf-button-hover);color:var(--hblf-button-text)}
.hblf-back{background:var(--hblf-back);color:var(--hblf-back-text)}
.hblf-back:hover{background:color-mix(in srgb,var(--hblf-back) 88%,var(--hblf-text));color:var(--hblf-back-text)}
.hblf-button:focus-visible{outline:3px solid color-mix(in srgb,var(--hblf-accent) 35%,transparent);outline-offset:3px}
.hblf-button[disabled]{opacity:.6;cursor:wait}
.hblf-step-error{display:none;margin:16px 0 0;padding:11px 14px;background:#fff2f2;border:1px solid #efb2b2;color:#9f1d1d;font-size:14px;line-height:1.45;text-align:center}
.hblf-step-error.is-visible{display:block}
.hblf-field.has-error .hblf-label{color:#b42318}
.hblf-field.has-error input[type="text"],.hblf-field.has-error input[type="email"],.hblf-field.has-error input[type="tel"],.hblf-field.has-error input[type="date"],.hblf-field.has-error textarea{border-color:#df4747}
.hblf-question.has-error .hblf-choice span{border-color:#efb2b2}
.hblf-success{text-align:center;padding:30px 10px 20px}
.hblf-success[hidden]{display:none}
.hblf-success-icon{width:58px;height:58px;border-radius:999px;margin:0 auto 18px;background:var(--hblf-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700}
.hblf-success p{font-size:16px;line-height:1.6;color:var(--hblf-muted);margin:0 auto;max-width:560px}
.hblf-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

@media (max-width:767px){
  .hblf-shell{margin:24px auto;overflow-x:hidden}
  .hblf-card{padding:25px 20px;border-radius:12px}
  .hblf-progress{margin-bottom:30px}
  .hblf-progress-step{font-size:11px;gap:5px}
  .hblf-progress-num{width:26px;height:26px;font-size:11px}
  .hblf-progress-line{margin:0 5px}
  .hblf-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .hblf-service-card{min-height:108px;padding:16px 10px}
  .hblf-service-icon{width:32px;height:32px;margin-bottom:8px}
  .hblf-service-name{font-size:13px}
  .hblf-shell .hblf-heading{font-size:22px}
  .hblf-field{margin-bottom:18px}
  .hblf-label{font-size:15px}
  .hblf-choice span{padding:14px 16px;font-size:14px}
}
@media (max-width:540px){
  .hblf-progress-label{display:none}
  .hblf-progress-step{gap:0}
  .hblf-progress-line{margin:0 8px}
  .hblf-actions{flex-direction:column-reverse;gap:10px}
  .hblf-actions-single{flex-direction:column}
  .hblf-button{width:100%;max-width:none;flex:none}
  .hblf-submit{order:2}
  .hblf-back{order:1}
}
@media (max-width:380px){
  .hblf-card{padding:22px 14px}
  .hblf-services{grid-template-columns:1fr}
  .hblf-service-card{min-height:96px}
}

/* v0.4.0 accessibility helpers */
.hblf-shell .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hblf-step[hidden],.hblf-progress[hidden]{display:none!important}
.hblf-shell .hblf-heading:focus{outline:none}
.hblf-field [aria-invalid="true"]:focus-visible,.hblf-services [aria-invalid="true"]:focus-visible{outline:3px solid color-mix(in srgb,#df4747 35%,transparent);outline-offset:2px}

/* v1.3.0 - project images and conditional questions */
.hblf-question[hidden]{display:none!important}
.hblf-upload-field{padding:16px 18px;border:1px solid var(--hblf-border);background:color-mix(in srgb,var(--hblf-surface) 96%,transparent)}
.hblf-file-input{display:block;width:100%;max-width:100%;font:inherit;font-size:14px;color:var(--hblf-text)}
.hblf-file-input::file-selector-button{margin-right:12px;padding:9px 14px;border:1px solid var(--hblf-border);background:var(--hblf-surface);color:var(--hblf-text);font:inherit;font-weight:600;cursor:pointer}
.hblf-file-input::-webkit-file-upload-button{margin-right:12px;padding:9px 14px;border:1px solid var(--hblf-border);background:var(--hblf-surface);color:var(--hblf-text);font:inherit;font-weight:600;cursor:pointer}
.hblf-file-input:focus-visible{outline:3px solid color-mix(in srgb,var(--hblf-accent) 35%,transparent);outline-offset:3px}
.hblf-field-help{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--hblf-muted)}
.hblf-file-summary{margin-top:8px;font-size:13px;font-weight:600;color:var(--hblf-text)}
.hblf-file-summary:empty{display:none}
.hblf-file-summary.is-error{color:#9f1d1d}
.hblf-upload-field.has-error{border-color:#df4747}
.hblf-shell.hblf-surface-glass .hblf-upload-field{background:color-mix(in srgb,var(--hblf-surface) 88%,transparent)}

/* v1.4.1 - keep thank-you heading centered */
.hblf-shell .hblf-success .hblf-heading{text-align:center!important}
