.fuse-form-shell {
  --fuse-primary: #0ea5e9;
  --fuse-primary-dark: #0369a1;
  --fuse-secondary: #10b981;
  --fuse-ink: #0f172a;
  --fuse-muted: #64748b;
  --fuse-border: #e2e8f0;
  --fuse-surface: #ffffff;
  --fuse-soft: #f8fafc;
  --fuse-radius: 24px;
  color: var(--fuse-ink);
  font-family: inherit;
  max-width: 960px;
  margin-inline: auto;
}

.fuse-form-header {
  margin-bottom: 32px;
  text-align: center;
}

.fuse-form-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.fuse-form-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--fuse-muted);
}

.fuse-form-card {
  overflow: hidden;
  border: 1px solid var(--fuse-border);
  border-radius: var(--fuse-radius);
  background: var(--fuse-surface);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.fuse-stepper {
  position: relative;
  padding: 32px 32px 44px;
  background: var(--fuse-soft);
  border-bottom: 1px solid var(--fuse-border);
}

.fuse-stepper-track {
  position: absolute;
  top: 48px;
  right: 48px;
  left: 48px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe4ee;
}

.fuse-stepper-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--fuse-primary);
  transition: width 0.35s ease;
}

.fuse-stepper-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fuse-stepper-item {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.fuse-step-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--fuse-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--fuse-muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fuse-step-dot svg {
  width: 18px;
  height: 18px;
}

.fuse-step-dot.is-active,
.fuse-step-dot.is-complete {
  border-color: var(--fuse-primary);
  background: var(--fuse-primary);
  color: #ffffff;
}

.fuse-step-dot.is-active {
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--fuse-primary) 18%, transparent);
}

.fuse-step-label {
  color: var(--fuse-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fuse-inquiry-form {
  padding: clamp(24px, 5vw, 48px);
}

.fuse-form-step {
  display: none;
}

.fuse-form-step.is-active {
  display: block;
  animation: fuseFadeIn 0.3s ease;
}

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

.fuse-step-heading {
  margin-bottom: 28px;
}

.fuse-step-heading h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.fuse-step-heading p {
  margin: 0;
  color: var(--fuse-muted);
}

.fuse-option-grid,
.fuse-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fuse-field-grid + .fuse-field-grid,
.fuse-field-grid + .fuse-upload {
  margin-top: 24px;
}

.fuse-field-grid--align-end {
  align-items: end;
}

.fuse-choice-card,
.fuse-field,
.fuse-radio-row,
.fuse-upload-box {
  border: 1px solid var(--fuse-border);
  border-radius: 16px;
  background: #ffffff;
}

.fuse-choice-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fuse-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fuse-choice-card:hover,
.fuse-choice-card.is-selected {
  border-color: var(--fuse-primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.fuse-choice-card.is-selected {
  background: color-mix(in srgb, var(--fuse-primary) 8%, white);
}

.fuse-choice-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.fuse-choice-icon svg {
  width: 32px;
  height: 32px;
}

.fuse-form-shell--no-icons .fuse-choice-icon {
  display: none;
}

.fuse-choice-icon--solar {
  color: #ca8a04;
  background: #fef9c3;
}

.fuse-choice-icon--wind {
  color: var(--fuse-primary-dark);
  background: #e0f2fe;
}

.fuse-choice-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.fuse-choice-text {
  color: var(--fuse-muted);
  font-size: 0.92rem;
}

.fuse-field {
  display: grid;
  gap: 8px;
  border: 0;
  background: transparent;
}

.fuse-field > span,
.fuse-upload-label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.fuse-field input,
.fuse-field select,
.fuse-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--fuse-border);
  border-radius: 14px;
  background: var(--fuse-soft);
  color: var(--fuse-ink);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fuse-field textarea {
  min-height: 130px;
  resize: vertical;
}

.fuse-field input:focus,
.fuse-field select:focus,
.fuse-field textarea:focus {
  outline: none;
  border-color: var(--fuse-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fuse-primary) 16%, transparent);
}

.fuse-upload {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.fuse-upload-box {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 150px;
  border-style: dashed;
  color: var(--fuse-muted);
  text-align: center;
  cursor: pointer;
}

.fuse-upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fuse-upload-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--fuse-soft);
  color: var(--fuse-primary);
}

.fuse-upload-icon svg {
  width: 24px;
  height: 24px;
}

.fuse-radio-stack {
  display: grid;
  gap: 14px;
}

.fuse-radio-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
}

.fuse-radio-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--fuse-primary);
}

.fuse-radio-row span {
  display: grid;
  gap: 4px;
}

.fuse-radio-row small {
  color: var(--fuse-muted);
}

.fuse-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--fuse-border);
}

.fuse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 24px;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.fuse-button:hover {
  transform: translateY(-1px);
}

.fuse-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.fuse-button--primary {
  background: var(--fuse-primary);
}

.fuse-button--primary:hover {
  background: var(--fuse-primary-dark);
}

.fuse-button--secondary {
  border: 1px solid var(--fuse-border);
  background: #ffffff;
  color: var(--fuse-muted);
}

.fuse-button--submit {
  background: var(--fuse-secondary);
}

.fuse-button--dark {
  width: 100%;
  background: var(--fuse-ink);
}

.fuse-form-message {
  margin-top: 14px;
  color: var(--fuse-muted);
  font-weight: 700;
}

.fuse-form-message[data-type="error"] {
  color: #dc2626;
}

.has-error {
  border-color: #f87171 !important;
}

.fuse-field.has-error input,
.fuse-field.has-error select,
.fuse-field.has-error textarea {
  border-color: #f87171;
}

.is-hidden {
  display: none !important;
}

.fuse-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
}

.fuse-success-card {
  width: min(100%, 440px);
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.fuse-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
}

.fuse-success-icon svg {
  width: 36px;
  height: 36px;
}

.fuse-success-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.fuse-success-card p {
  margin: 0 0 24px;
  color: var(--fuse-muted);
}

@media (max-width: 700px) {
  .fuse-step-label {
    display: none;
  }

  .fuse-stepper {
    padding: 24px;
  }

  .fuse-stepper-track {
    top: 40px;
    right: 40px;
    left: 40px;
  }

  .fuse-option-grid,
  .fuse-field-grid {
    grid-template-columns: 1fr;
  }

  .fuse-form-actions {
    flex-direction: column;
  }

  .fuse-button {
    width: 100%;
  }
}
