.enquiry-wizard {
  min-height: 700px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d2d9d4;
  box-shadow: 14px 14px 0 rgba(202, 255, 52, .16);
}

.enquiry-wizard::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--lime);
}

.form-confidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 0 0;
}

.form-confidence span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d9dfdb;
  background: #f6f8f4;
  color: #405048;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
}

.form-heading {
  display: grid !important;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 22px !important;
  padding-bottom: 28px !important;
}

.form-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 0;
  background: transparent;
}

.form-brand img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.form-heading-copy { min-width: 0; }

.form-heading-copy h2 {
  max-width: 360px;
  line-height: 1.02;
}

.form-heading > p {
  margin: 0;
  text-align: right;
  line-height: 1.35;
}

.form-heading > p small {
  display: block;
  margin-top: 5px;
  color: #6b7771;
  font-size: 9px;
  white-space: nowrap;
}

.form-heading [data-step-count] {
  color: var(--ink);
  font-size: 11px;
}

.wizard-progress {
  padding: 24px 0 8px;
}

.wizard-track {
  height: 3px;
  overflow: hidden;
  background: #dde2de;
}

.wizard-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--lime);
  transition: width .35s ease;
}

.wizard-progress ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.wizard-progress li {
  color: #8a958f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease;
  position: relative;
  padding: 11px 12px;
  border: 1px solid #dce1de;
  background: #fafbf8;
}

.wizard-progress li span {
  display: block;
  margin-bottom: 3px;
  font-size: 8px;
}

.wizard-progress li.active,
.wizard-progress li.complete {
  color: var(--ink);
  border-color: #9daa9f;
}

.wizard-progress li.active {
  background: var(--ink);
  color: #fff;
}

.wizard-progress li.active span,
.wizard-progress li.complete span {
  color: var(--lime);
}

.enquiry-wizard[data-wizard-ready] .form-step {
  display: none;
}

.enquiry-wizard[data-wizard-ready] .form-step.active {
  display: block;
  animation: wizard-in .34s ease both;
}

.enquiry-wizard .form-step {
  min-height: 430px;
  border-bottom: 0;
}

@keyframes wizard-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #d8ddd9;
}

.wizard-actions.first {
  justify-content: flex-end;
}

.professional-form .visual-choices label > span {
  display: flex;
  flex-direction: column;
  position: relative;
  border-width: 1px;
  background: #fbfcf9;
}

.professional-form .site-choices {
  grid-auto-rows: 1fr;
  gap: 12px;
}

.professional-form .site-choices label,
.professional-form .site-choices label > span {
  height: 100%;
}

.professional-form .visual-choices label > span > b {
  line-height: 1;
}

.professional-form .visual-choices label > span > strong {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.2;
}

.professional-form .visual-choices label > span > small {
  display: block;
  margin-top: 6px;
  max-width: 190px;
  font-size: 10px;
  line-height: 1.4;
}

.visual-choices label > span::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #cbd3cd;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.visual-choices input:checked + span::after {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.service-choices {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.professional-form .service-choices label > span {
  min-height: 112px !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.professional-form .service-choices label > span > strong {
  margin-top: 16px;
}

.service-choices strong {
  max-width: 90px;
}

.professional-form input[type="text"],
.professional-form input[type="email"],
.professional-form input[type="tel"],
.professional-form select,
.professional-form textarea {
  min-height: 52px;
  border: 1px solid #bcc7c0 !important;
  background: #fff !important;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.professional-form textarea {
  min-height: 150px;
  line-height: 1.55;
}

.professional-form input:hover,
.professional-form select:hover,
.professional-form textarea:hover {
  border-color: #78877f !important;
}

.wizard-back,
.wizard-next,
.wizard-submit {
  min-width: 155px;
  border: 0;
  padding: 15px 18px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.wizard-back {
  background: transparent;
  color: var(--ink);
  border: 1px solid #b8c0bb;
}

.wizard-next,
.wizard-submit {
  display: inline-flex;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  box-shadow: 4px 4px 0 var(--lime);
}

.wizard-submit {
  min-width: 205px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.wizard-back:hover,
.wizard-next:hover,
.wizard-submit:hover,
.wizard-back:focus-visible,
.wizard-next:focus-visible,
.wizard-submit:focus-visible {
  transform: translateY(-2px);
}

.wizard-back:focus-visible,
.wizard-next:focus-visible,
.wizard-submit:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.wizard-error {
  margin: 18px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #b43b31;
  background: #fff0ed;
  color: #8d261f;
  font-size: 11px;
  font-weight: 800;
}

.form-finish {
  padding-top: 28px;
}

.response-panel {
  margin: 0 0 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--lime);
  background: var(--ink);
  color: #fff;
}

.response-panel span {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.response-panel strong {
  display: block;
  font-size: 17px;
}

.response-panel p {
  margin: 7px 0 0;
  color: #b8c2bd;
  font-size: 11px;
  line-height: 1.45;
}

.form-finish .wizard-actions {
  margin-top: 24px;
}

@media (max-width: 720px) {
  .enquiry-wizard { min-height: 0; box-shadow: 8px 8px 0 rgba(202, 255, 52, .14); }
  .form-confidence { display: grid; grid-template-columns: 1fr; }
  .form-heading { grid-template-columns: 1fr !important; align-items: start !important; }
  .form-brand { width: min(190px, 100%); min-height: 100px; }
  .form-brand img { height: 100px; }
  .form-heading > p { text-align: left; }
  .wizard-progress ol { gap: 4px; }
  .wizard-progress li { padding: 9px 5px; font-size: 7px; }
  .wizard-progress li span { font-size: 7px; }
  .service-choices { grid-template-columns: 1fr 1fr !important; }
  .professional-form .service-choices label > span { min-height: 105px !important; }
  .enquiry-wizard .form-step { min-height: 0; }
  .wizard-actions { align-items: stretch; }
  .wizard-back, .wizard-next, .wizard-submit { min-width: 0; flex: 1; }
  .wizard-submit { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-wizard[data-wizard-ready] .form-step.active { animation: none; }
}
