/* ===== SECTION 9: ENERGY WIZARD ===== */
.home-wizard {
  position: relative;
  padding: 50px 300px;
  overflow: hidden;
  background: #e9e9e9;
}

.wizard-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 20px;
}

.wizard-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark-navy);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-header p {
  font-family: var(--font-body-alt);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.38;
  color: var(--dark-navy);
  margin: 0 auto 40px;
}

/* Wizard Card */
.wizard-card {
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  border: none;
  box-shadow: none;
}

/* Wizard 2-column layout */
.wizard-2col {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.wizard-2col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background: #f5f0ea;
  border-radius: 20px;
  padding: 50px;
  box-shadow: none;
}

.wizard-2col-left h3 {
  font-family: var(--font-body-alt);
  font-weight: 900;
  font-style: italic;
  font-size: 44px;
  line-height: 1.15;
  background: linear-gradient(135deg, #86cfb0, #e2d36b, #e8870e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8870e;
  width: 100%;
}

.wizard-2col-illustration {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.wizard-2col-illustration img {
}

.wizard-2col-illustration img.fading {
}

.wizard-2col-illustration svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.wizard-2col-right {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-options-stack {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.wizard-options-stack .wizard-option {
  flex-direction: row;
  text-align: left;
  padding: 28px 32px;
  gap: 24px;
  background: #fff;
  border-radius: 18px;
  border: none;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.wizard-options-stack .wizard-option:hover {
  background: var(--orange);
  border: none;
  box-shadow: 0 6px 24px rgba(241, 146, 49, 0.3);
  transform: translateY(-2px);
}

.wizard-options-stack .wizard-option:hover .wizard-option-text strong {
  color: #fff;
}

.wizard-options-stack .wizard-option:hover .wizard-option-icon {
  background: transparent;
}

.wizard-options-stack .wizard-option:hover .wizard-option-icon svg * {
  stroke: #fff;
}

.wizard-options-stack .wizard-option.selected {
  background: var(--orange);
  border: none;
  box-shadow: 0 6px 24px rgba(241, 146, 49, 0.3);
}

.wizard-options-stack .wizard-option.selected .wizard-option-text strong {
  color: #fff;
}

.wizard-options-stack .wizard-option.selected .wizard-option-icon {
  background: transparent;
}

.wizard-options-stack .wizard-option.selected .wizard-option-icon svg * {
  stroke: #fff;
}

.wizard-options-stack .wizard-option-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wizard-options-stack .wizard-option:nth-child(2) .wizard-option-icon {
  background: transparent;
}

.wizard-options-stack .wizard-option:nth-child(3) .wizard-option-icon {
  background: transparent;
}

.wizard-options-stack .wizard-option-icon svg {
  width: 26px;
  height: 26px;
}


.wizard-options-stack .wizard-option-text {
  align-items: flex-start;
}

.wizard-options-stack .wizard-option-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: #1a1a2e;
}

.wizard-options-stack .wizard-option-text small {
  display: block;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

[data-wizard-step="1"] .wizard-option-text small,
[data-wizard-step="2"] .wizard-option-text small {
  display: none;
}

.wizard-options-stack .wizard-option:hover .wizard-option-text small,
.wizard-options-stack .wizard-option.selected .wizard-option-text small {
  color: rgba(255, 255, 255, 0.85);
}

.wizard-card::before {
  display: none;
}

/* Steps */
.wizard-step {
  display: none;
  animation: wizardFadeIn 0.45s ease forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark-navy);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.4;
}

.wizard-step-desc {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 24px;
}

.wizard-success-desc strong {
  color: #10b981;
}

/* Options Grid */
.wizard-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wizard-options-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* Option Cards */
.wizard-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 28px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: inherit;
  font: inherit;
  width: 100%;
}

.wizard-option:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(241, 146, 49, 0.3);
}

.wizard-option:hover .wizard-option-text strong {
  color: #fff;
}

.wizard-option:hover .wizard-option-text small {
  color: rgba(255, 255, 255, 0.85);
}

.wizard-option:hover .wizard-option-icon {
  background: rgba(255, 255, 255, 0.25);
}

.wizard-option:hover .wizard-option-icon svg * {
  stroke: #fff;
}

.wizard-option:active {
  transform: translateY(0);
}

.wizard-option.selected {
  background: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(105, 238, 253, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.wizard-option-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 150, 243, 0.08);
  border-radius: 50%;
}

.wizard-option-icon svg {
  width: 24px;
  height: 24px;
}

.wizard-option-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wizard-option-text strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.3;
}

.wizard-option-text small {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
}

/* Step Numbers / Progress Bar */
.wizard-progress {
  margin-bottom: 30px;
}

.wizard-progress-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 6px;
}

.wizard-progress-bar {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  background: #f0edd8;
  border-radius: 22px;
}

.wizard-progress-bar-track {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  border-radius: 22px;
  background: linear-gradient(90deg, #86cfb0 0%, #b8d98a 25%, #e2d36b 50%, #f0b84a 75%, #e8870e 100%);
  opacity: 0.7;
  transition: width 0.5s ease;
}

.wizard-step-numbers {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 12px;
}

.wizard-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background: #fff;
  color: #9ca3af;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
}

.wizard-step-num.completed[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1a1a2e;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 16px;
  border-radius: 10px;
  max-width: 200px;
  white-space: normal;
  text-align: center;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: wizardTooltipIn 0.2s ease;
}

.wizard-step-num.completed[data-tooltip]:hover::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
  animation: wizardTooltipIn 0.2s ease;
}

@keyframes wizardTooltipIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.wizard-step-num:hover {
  border-color: #e8870e;
  color: #e8870e;
}

.wizard-step-num.active {
  border-color: #e8870e;
  color: #e8870e;
  box-shadow: 0 0 0 4px rgba(232, 135, 14, 0.15);
}

.wizard-step-num.completed {
  background: #fff;
  border-color: #10b981;
  color: #10b981;
}

.wizard-step-num.completed:hover {
  border-color: #059669;
  color: #059669;
}

.wizard-step-num:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

/* Back Button */
.wizard-back-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  color: #282828;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  margin: 24px auto 0;
  padding: 0;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.wizard-back-btn:hover {
  color: #000;
}

/* Input styles */
.wizard-input-wrap {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.wizard-input {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--dark-navy);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.wizard-input::placeholder {
  color: #c0c5cc;
}

.wizard-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(105, 238, 253, 0.2);
}

.wizard-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.wizard-next-btn:hover {
  background: #1a2a4a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Upload Area */
.wizard-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  border: 2px dashed #e5e7eb;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background: #fff;
}

.wizard-upload-area:hover,
.wizard-upload-area.drag-over {
  border-color: var(--cyan);
  background: rgba(105, 238, 253, 0.03);
}

.wizard-upload-icon svg {
  width: 48px;
  height: 48px;
}

.wizard-upload-text {
  font-size: 14px;
  color: #6b7280;
}

.wizard-upload-text strong {
  color: #2196F3;
}

.wizard-upload-hint {
  font-size: 12px;
  color: #b0b5bc;
}

.wizard-upload-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.wizard-upload-preview span {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--dark-navy);
  flex: 1;
}

.wizard-upload-remove {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.wizard-upload-remove:hover {
  color: #ef4444;
}

.wizard-upload-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.wizard-skip-btn {
  background: #fff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 9999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.wizard-skip-btn:hover {
  color: var(--dark-navy);
  border-color: var(--dark-navy);
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 25, 46, 0.08);
}

/* Contact Form */
.wizard-form {
  max-width: 420px;
  margin: 0 auto;
}

.wizard-name-row {
  display: flex;
  gap: 12px;
}

.wizard-name-row .wizard-form-group {
  flex: 1;
}

.wizard-form-group {
  margin-bottom: 16px;
}

.wizard-form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.wizard-input-icon-wrap {
  position: relative;
}

.wizard-input-icon-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.wizard-input-icon-wrap .wizard-input {
  padding-left: 42px;
  width: 100%;
}

.wizard-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--dark-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 24px;
}

.wizard-submit-btn:hover {
  background: #1a2a4a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.wizard-disclaimer {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-top: 12px;
}

/* Success State */
.wizard-success-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.wizard-success-animation svg {
  width: 80px;
  height: 80px;
}

.wizard-success-circle {
  stroke-dasharray: 227;
  stroke-dashoffset: 227;
  animation: wizardCircleDraw 0.8s ease forwards;
}

.wizard-success-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: wizardCheckDraw 0.5s ease 0.5s forwards;
}

@keyframes wizardCircleDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes wizardCheckDraw {
  to { stroke-dashoffset: 0; }
}

.wizard-success-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.wizard-success-stat {
  text-align: center;
  padding: 16px;
  background: rgba(16, 185, 129, 0.06);
  border-radius: 12px;
}

.wizard-success-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 4px;
}

.wizard-success-stat span {
  font-size: 12px;
  color: #6b7280;
}

/* Wizard Overlay (transition - created by JS) */
.wizard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  border-radius: 20px;
}

.wizard-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.wizard-overlay.exit {
  opacity: 0;
}

.wizard-overlay-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 40px 40px;
}

.wizard-overlay-heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, #e8870e, #f59e0b, #10b981, #2196F3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.wizard-overlay-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #e8870e, #f59e0b);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.wizard-overlay-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.wizard-overlay-illust {
  flex-shrink: 0;
  width: 160px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-overlay-illust img,
.wizard-overlay-illust svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wizard-overlay-check {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.wizard-overlay-check svg {
  width: 44px;
  height: 44px;
}

.wizard-overlay-answer {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--dark-navy);
  text-align: left;
}

/* Compact overlay (no illustration steps like postcode, upload) */
.wizard-overlay-content.compact .wizard-overlay-illust {
  width: 48px;
  height: 48px;
}

.wizard-overlay-content.compact .wizard-overlay-heading {
  font-size: clamp(18px, 2.5vw, 24px);
}

.wizard-overlay-content.compact {
  padding: 28px 30px;
}

.wizard-overlay-content.compact .wizard-overlay-bottom {
  gap: 14px;
}

@media (max-width: 480px) {
  .wizard-overlay-content {
    padding: 24px 20px;
  }
  .wizard-overlay-illust {
    width: 100px;
    height: 90px;
  }
  .wizard-overlay-check {
    width: 32px;
    height: 32px;
  }
  .wizard-overlay-check svg {
    width: 32px;
    height: 32px;
  }
  .wizard-overlay-answer {
    font-size: 14px;
  }
  .wizard-overlay-content.compact .wizard-overlay-illust {
    width: 40px;
    height: 40px;
  }
}

/* Confetti */
.wizard-confetti-go {
  animation: wizardConfetti 0.7s ease forwards;
}

@keyframes wizardConfetti {
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
    opacity: 0;
  }
}

/* Wizard Utility Animations */
.wizard-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(33, 150, 243, 0.12) 0%, transparent 70%);
  animation: wizardRipple 0.6s ease forwards;
  pointer-events: none;
}

@keyframes wizardRipple {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(2.5); opacity: 0; }
}

.wizard-shake {
  animation: wizardShake 0.4s ease;
}

@keyframes wizardShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.wizard-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wizardSpin 0.6s linear infinite;
}

@keyframes wizardSpin {
  to { transform: rotate(360deg); }
}


/* ===== RESPONSIVE ===== */

/* --- 1440px: Reduce wide paddings --- */
@media (max-width: 1440px) {
  .hero-section .hero-content {
    padding: 0 60px;
  }

  .hero-section .hero-heading {
    font-size: 64px;
  }

  .hero-section .hero-subtitle {
    font-size: 24px;
  }

  .hero-section .hero-dots {
    right: 60px;
  }

  .trap-inner,
  .steps-content,
  .testimonials-inner {
    padding: 0 120px;
  }

  .trap-highlight {
    font-size: 48px;
    line-height: 54px;
  }

  .trap-subtitle {
    font-size: 20px;
  }



  .home-wizard {
    padding: 50px 120px;
  }

  .split-text-section {
    padding: 100px 0;
  }

  .installers-inner {
    padding: 0 200px;
  }

  .wizard-2col-left h3 {
    font-size: 38px;
    line-height: 1.15;
  }

  .testimonials-inner > .testimonials-label,
  .testimonials-inner > .testimonials-heading,
  .testimonials-inner > .testimonials-subtitle {
    padding: 0 120px;
  }

  .testimonials-slider {
    padding: 40px 40px;
  }

  .wizard-header h2 {
    font-size: 60px;
  }

}

/* --- 1200px: Further reduce padding & fonts --- */
@media (max-width: 1200px) {
  .hero-section .hero-content {
    padding: 0 30px;
  }

  .hero-section .hero-heading {
    font-size: 52px;
  }

  .hero-section .hero-subtitle {
    font-size: 20px;
  }

  .hero-section .hero-dots {
    right: 30px;
  }

  .trap-inner,
  .steps-content,
  .testimonials-inner {
    padding: 0 60px;
  }

  .home-wizard {
    padding: 50px 60px;
  }

  .split-text-section {
    padding: 80px 0;
  }

  .step-info {
    width: 420px;
  }

  .step-img-placeholder {
    height: 300px;
  }

  .trap-highlight {
    font-size: 42px;
    line-height: 48px;
  }

  .trap-subtitle {
    font-size: 18px;
  }

  .split-text-headline {
    font-size: 56px;
    line-height: 52px;
  }

  .installers-inner {
    padding: 0 60px;
  }

  .installers-heading {
    font-size: 56px;
    line-height: 60px;
  }

  .installer-phone {
    width: 240px;
  }

  .testimonials-inner > .testimonials-label,
  .testimonials-inner > .testimonials-heading,
  .testimonials-inner > .testimonials-subtitle {
    padding: 0 60px;
  }

  .testimonials-heading {
    font-size: 56px;
    line-height: 60px;
  }

  .testimonials-label {
    font-size: 26px;
  }

  .testimonials-slider {
    padding: 40px 20px;
  }

  .wizard-header h2 {
    font-size: 48px;
  }

  .wizard-2col-left h3 {
    font-size: 34px;
  }

  .wizard-2col-left {
    padding: 36px;
  }

  .wizard-options-stack .wizard-option-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .wizard-options-stack .wizard-option-text strong {
    font-size: 16px;
  }

}

/* --- 1024px: Stack columns, reduce further --- */
@media (max-width: 1024px) {
  .trap-inner,
  .steps-content,
  .testimonials-inner {
    padding: 0 40px;
  }

  .home-wizard {
    padding: 50px 40px;
  }

  .split-text-section {
    padding: 60px 0;
  }

  /* Hero */
  .hero-section .hero-heading {
    font-size: 42px;
  }

  .hero-section .hero-subtitle {
    font-size: 18px;
  }

  .hero-section .hero-cta-btn {
    margin-top: 60px;
  }

  /* Steps */
  .step-card {
    flex-direction: column !important;
  }

  .step-card[data-layout="img-right"] .step-img-wrap {
    order: -1;
  }

  .step-info {
    width: 100%;
  }

  .step-img-wrap {
    width: 100%;
  }

  .step-img-placeholder {
    height: 300px;
  }

  .step-number {
    font-size: 100px;
  }

  .step-desc {
    font-size: 20px;
  }

  /* How It Works */
  .howitworks-content {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Trap */
  .trap-highlight {
    font-size: 32px;
    line-height: 38px;
  }

  .trap-subtitle {
    font-size: 16px;
  }

  /* Testimonials */
  .testimonials-inner > .testimonials-label,
  .testimonials-inner > .testimonials-heading,
  .testimonials-inner > .testimonials-subtitle {
    padding: 0 40px;
  }

  .testimonials-heading {
    font-size: 42px;
    line-height: 46px;
    white-space: normal;
  }

  .testimonials-label {
    font-size: 22px;
  }

  .testimonials-slider {
    padding: 40px 16px;
  }

  .testimonial-card {
    width: calc((100% - 30px) / 2);
  }

  .testimonials-arrow {
    width: 40px;
    height: 40px;
  }

  /* Installers */
  .installers-inner {
    padding: 0 40px;
  }

  .installers-heading {
    font-size: 42px;
    line-height: 46px;
  }

  .installers-phones {
    gap: 20px;
  }

  .installer-phone {
    width: 200px;
  }

  /* Split Text */
  .split-text-headline {
    font-size: 42px;
    line-height: 40px;
  }

  .split-text-divider {
    height: 80px;
  }

  /* Wizard */
  .wizard-header h2 {
    font-size: 36px;
  }

  .wizard-header p {
    font-size: 20px;
  }

  .wizard-2col {
    flex-direction: column;
    gap: 30px;
  }

  .wizard-2col-left {
    padding: 36px 28px;
  }

  .wizard-2col-left h3 {
    font-size: 30px;
    margin-bottom: 12px;
    padding-bottom: 14px;
  }

  .wizard-options-stack .wizard-option {
    padding: 18px 20px;
    gap: 16px;
  }

  .wizard-options-stack .wizard-option-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .wizard-options-stack .wizard-option-text strong {
    font-size: 16px;
  }

}

/* --- 768px: Mobile layout --- */
@media (max-width: 768px) {
  /* Hero - proper mobile height & spacing */
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-section .hero-content {
    padding: 0 20px;
  }

  .hero-section .hero-heading {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .hero-section .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-section .hero-dots {
    display: none;
  }

  .hero-section .hero-energy-bars {
    display: none;
  }

  .hero-section .hero-cta-btn {
    margin-top: 36px;
  }

  .hero-section .hero-text-block {
    max-width: 100%;
  }

  /* Trap - hide decorative lines, reduce play btn */
  .trap-section {
    padding: 50px 0 0;
  }

  .trap-inner {
    padding: 0 20px;
  }

  .trap-highlight {
    font-size: 24px;
    line-height: 30px;
  }

  .trap-subtitle {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .trap-video-card {
    border-radius: 16px;
    border-width: 2px;
  }

  .trap-side-line {
    display: none;
  }


  .trap-marquee {
    padding: 30px 0 20px;
  }

  .trap-marquee-track span {
    font-size: 60px;
  }

  /* Steps - reduce padding, stack featured */
  .steps-section {
    padding: 50px 0;
  }

  .steps-content {
    padding: 0 20px;
  }

  .step-card {
    padding: 30px 0;
    gap: 20px;
  }

  .step-title {
    font-size: 22px;
    line-height: 1.35;
  }

  .step-title .title-light {
    font-size: 18px;
  }

  .step-card-featured .step-title .title-light {
    font-size: 18px;
  }

  .step-number {
    font-size: 72px;
    margin-bottom: -5px;
  }

  .step-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .step-img-placeholder {
    height: 200px;
    border-radius: 16px;
  }


  .step-img-wide .step-img-placeholder {
    height: 200px;
  }


  .step-divider {
    max-width: 100%;
  }

  /* Stack the featured step layout */
  .step-info-featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .step-vertical-line {
    display: none;
  }

  .step-info-featured .step-number-wrap {
    width: 100%;
  }

  .step-info-inner {
    width: 100%;
  }

  /* Installers */
  .installers-section {
    padding: 50px 0;
  }

  .installers-inner {
    padding: 0 20px;
  }

  .installers-heading {
    font-size: 28px;
    line-height: 34px;
  }

  .installers-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .installers-phones {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .installer-phone {
    width: 220px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 50px 0 40px;
  }

  .testimonials-inner {
    padding: 0;
  }

  .testimonials-inner > .testimonials-label,
  .testimonials-inner > .testimonials-heading,
  .testimonials-inner > .testimonials-subtitle {
    padding: 0 20px;
  }

  .testimonials-heading {
    font-size: 30px;
    line-height: 36px;
    white-space: normal;
  }

  .testimonials-label {
    font-size: 18px;
  }

  .testimonials-subtitle {
    font-size: 17px;
  }

  /* Testimonials slider - 1 card at a time on mobile */
  .testimonials-slider {
    padding: 24px 8px;
    gap: 8px;
  }

  .testimonials-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .testimonials-arrow svg {
    width: 18px;
    height: 18px;
  }

  .testimonials-viewport {
    overflow: hidden;
  }

  .testimonials-track {
    gap: 0;
  }

  .testimonial-card {
    width: 100%;
    min-width: 100%;
    padding: 22px 18px 20px;
  }

  /* Split Text */
  .split-text-section {
    padding: 40px 0;
  }

  .split-text-headline {
    font-size: 32px;
    line-height: 30px;
  }

  .split-text-label {
    font-size: 14px;
  }

  .split-text-track {
    gap: 40px;
  }

  .split-text-divider {
    height: 60px;
  }

  /* How It Works */
  .howitworks-section {
    padding: 60px 20px;
  }

  .howitworks-heading,
  .howitworks-desc {
    min-width: auto;
  }

  /* Wizard */
  .home-wizard {
    padding: 40px 20px;
  }

  .wizard-header {
    margin-bottom: 16px;
  }

  .wizard-header h2 {
    font-size: 28px;
    line-height: 1.1;
  }

  .wizard-header p {
    font-size: 16px;
    padding: 0;
  }

  .wizard-2col {
    flex-direction: column;
    gap: 20px;
  }

  .wizard-2col-left {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .wizard-2col-left h3 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 10px;
    padding-bottom: 12px;
  }

  .wizard-2col-illustration svg {
    max-width: 180px;
  }

  .wizard-options-stack .wizard-option {
    padding: 16px 18px;
    gap: 14px;
    border-radius: 14px;
  }

  .wizard-options-stack .wizard-option-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
  }

  .wizard-options-stack .wizard-option-text strong {
    font-size: 15px;
  }

  .wizard-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-options-2col {
    grid-template-columns: 1fr;
  }

  .wizard-option {
    flex-direction: row;
    text-align: left;
    padding: 16px;
    gap: 14px;
    min-height: 48px;
  }

  .wizard-option-text {
    align-items: flex-start;
  }

  .wizard-step h3 {
    font-size: 18px;
  }

  .wizard-input-wrap {
    flex-direction: column;
  }

  .wizard-success-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-progress-bar {
    height: 38px;
  }

  .wizard-step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 12px;
  }

  .wizard-progress-labels {
    font-size: 11px;
  }

  .wizard-back-btn {
    font-size: 16px;
  }

}

/* --- 480px: Small mobile --- */
@media (max-width: 480px) {
  .hero-section .hero-heading {
    font-size: 1.75rem;
  }

  .hero-section .hero-subtitle {
    font-size: 14px;
  }

  .hero-section .hero-cta-btn {
    margin-top: 28px;
    padding: 4px 16px 4px 4px;
  }

  .hero-section .hero-cta-text {
    font-size: 13px;
  }

  .hero-section .hero-cta-icon {
    width: 40px;
    height: 40px;
  }

  .trap-highlight {
    font-size: 20px;
    line-height: 26px;
  }

  .trap-marquee-track span {
    font-size: 40px;
  }

  .step-card {
    padding: 20px 0;
  }

  .step-number {
    font-size: 56px;
  }

  .step-title {
    font-size: 20px;
  }

  .step-desc {
    font-size: 15px;
  }

  .step-img-placeholder {
    height: 180px;
  }

  .step-img-wide .step-img-placeholder {
    height: 180px;
  }


  .howitworks-section {
    padding: 40px 16px;
  }

  .split-text-headline {
    font-size: 26px;
    line-height: 26px;
  }

  .installers-heading {
    font-size: 24px;
    line-height: 28px;
  }

  .installer-phone {
    width: 200px;
    border-radius: 28px;
  }

  .testimonials-heading {
    font-size: 24px;
    line-height: 28px;
  }

  .testimonial-card {
    padding: 20px 16px 18px;
  }

  .testimonial-quote {
    font-size: 14px;
  }

  .wizard-header h2 {
    font-size: 24px;
  }

  .wizard-2col-left h3 {
    font-size: 22px;
    line-height: 24px;
  }

  .wizard-2col-left {
    padding: 24px 16px;
  }

}

/* --- 360px: Extra small mobile --- */
@media (max-width: 360px) {
  .hero-section .hero-content {
    padding: 0 16px;
  }

  .hero-section .hero-heading {
    font-size: 1.5rem;
  }

  .hero-section .hero-subtitle {
    font-size: 13px;
  }

  .trap-inner,
  .steps-content {
    padding: 0 16px;
  }

  .home-wizard {
    padding: 30px 16px;
  }

  .installers-inner {
    padding: 0 16px;
  }

  .testimonials-inner > .testimonials-label,
  .testimonials-inner > .testimonials-heading,
  .testimonials-inner > .testimonials-subtitle {
    padding: 0 16px;
  }

  .testimonials-heading {
    font-size: 22px;
    line-height: 26px;
  }

  .wizard-header h2 {
    font-size: 22px;
  }

  .wizard-progress-bar {
    height: 34px;
  }

  .wizard-step-numbers {
    padding: 0 4px;
  }

  .wizard-step-num {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    font-size: 10px;
  }

  .wizard-progress-labels {
    font-size: 10px;
  }

  .installers-heading {
    font-size: 22px;
    line-height: 26px;
  }

}

/* --- Free Assessment page: white wizard background --- */
[data-page="free-assessment"] .home-wizard {
  background: #fff;
}

