/* Multi-step contact wizard. Additive to css/contact.css — reuses .form-group,
   inputs, .submit-button. Steps are only hidden once JS adds .js-wizard to the
   form, so with no JS every step shows and the form submits normally. */

.contact-form-intro {
  color: var(--text-color-light, #666);
  margin: -6px 0 22px;
  font-size: 0.95rem;
}

/* ---- Progress indicator ---- */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  counter-reset: none;
}
.wizard-progress__step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  color: #9aa3ac;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.wizard-progress__step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e2e2e2;
  transition: background .3s ease;
}
.wizard-progress__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #e2e2e2;
  color: #fff;
  font-size: 0.85rem;
  transition: background .3s ease;
}
.wizard-progress__step.is-active,
.wizard-progress__step.is-done {
  color: var(--primary-color, #1c3f60);
}
.wizard-progress__step.is-active .wizard-progress__dot,
.wizard-progress__step.is-done .wizard-progress__dot {
  background: var(--primary-color, #1c3f60);
}
.wizard-progress__step.is-done::after {
  background: var(--primary-color, #1c3f60);
}
@media (max-width: 560px) {
  .wizard-progress__label { display: none; }
  .wizard-progress__step { flex: 1; }
}

/* ---- Steps ---- */
.js-wizard .wizard-step { display: none; }
.js-wizard .wizard-step.is-active {
  display: block;
  animation: wizardFade .28s ease;
}
@keyframes wizardFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Navigation buttons ---- */
.wizard-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.wizard-nav .submit-button { margin: 0; }
.wizard-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wizard-btn--next {
  background: var(--primary-color, #1c3f60);
  color: #fff;
  border: 1px solid var(--primary-color, #1c3f60);
  margin-left: auto;
}
.wizard-btn--next:hover {
  background: var(--secondary-color, #2c5580);
  border-color: var(--secondary-color, #2c5580);
}
.wizard-btn--back {
  background: transparent;
  color: var(--primary-color, #1c3f60);
  border: 1px solid #cfd6dd;
}
.wizard-btn--back:hover { border-color: var(--primary-color, #1c3f60); }
/* When a step has both Back and Submit, push Submit to the right */
.wizard-nav .submit-button { margin-left: auto; }

/* ---- Helper + validation microcopy ---- */
.form-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-color-light, #666);
}
.form-reassure {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: #9aa3ac;
  text-align: center;
}
.wizard-error {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 5px;
  background: #fbeaea;
  color: #a3282a;
  font-size: 0.85rem;
  display: none;
}
.wizard-error.is-visible { display: block; }
