.health-hero {
  padding: 40px 0 36px;
}

.health-hero h1 {
  font-size: 52px;
  line-height: 1.05;
}

.hero-art {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.health-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.health-benefits i {
  color: var(--blue);
}

.health-panels {
  background: #f4f9fd;
  padding: 26px 0 45px;
}

.health-panels .soft-card {
  height: 100%;
  padding: 32px;
}

.steps {
  display: flex;
  gap: 15px;
  text-align: center;
}

.steps>div {
  flex: 1;
}

.step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f3ff;
  color: var(--blue);
  font-size: 2rem;
  margin: 0 auto 12px;
}

.step-icon.purple {
  color: #6942e9;
  background: #f0eaff;
}

.step-icon.green {
  color: #078b44;
  background: #eaf8ee;
}

.consult-bar {
  padding: 22px 28px;
}

@media (max-width: 767.98px) {
  .health-hero {
    padding: 32px 0;
  }

  .health-panels .soft-card {
    padding: 24px;
  }

  .steps {
    flex-direction: column;
    text-align: left;
  }

  .steps>div {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .step-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin: 0;
  }

  .steps p {
    margin: 0;
  }

  .health-hero h1 {
    font-size: 32px !important;
    line-height: 1.05;
  }
}

/* =========================================================
   HAPUS ASSESSMENT - STEP VISIBILITY
   Flow:
   1. Select Assessment
   2. Questions
   3. Client Details
   4. Results
   5. Report
   ========================================================= */

/* Hide client-details-only content by default. */
.hapus-assessment-landing .assessment-step-two {
  display: none;
}

/* Hide the landing-page introduction after Step 1. */
.hapus-assessment-landing:has(.premium-step:nth-child(n + 2).is-current) .assessment-step-one {
  display: none;
}

/* Show client details introduction only on Step 3. */
.hapus-assessment-landing:has(.premium-step:nth-child(3).is-current) .assessment-step-two {
  display: block;
}

/* Hide the consultation section on Steps 2 through 5. */
.hapus-assessment-landing:has(.premium-step:nth-child(n + 2).is-current) .assessment-final-cta {
  display: none;
}

/* Keep the wizard rendered for Drupal AJAX. */
.hapus-assessment-landing .assessment-wizard-section {
  position: relative;
  scroll-margin-top: 120px;
}

/*
 * Hide the redundant Step 1 wizard visually.
 * Do not use display:none because the form must remain
 * available for Drupal's existing AJAX Start action.
 */
.hapus-assessment-landing:not(.hapus-hero-starting):has(.premium-step:first-child.is-current) .assessment-wizard-section {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Reveal the wizard when the hero Start button is clicked. */
.hapus-assessment-landing.hapus-hero-starting .assessment-wizard-section {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip-path: none !important;
  white-space: normal !important;
}

/* Keep the wizard visible from Question 1 onward. */
.hapus-assessment-landing:has(.premium-step:nth-child(n + 2).is-current) .assessment-wizard-section {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip-path: none !important;
  white-space: normal !important;
}

/* Preserve question legend layout. */
.hapus-quiz-answers legend {
  float: none !important;
}

/* Responsive wizard spacing. */
@media (max-width: 767px) {
  .hapus-assessment-landing .assessment-wizard-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}