/* ==========================================================
   NINETY4MGMT — Get Started Page Styles
   Multi-section intake form
   ========================================================== */

.getstarted-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-2xl);
}

.getstarted-intro p {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
}

/* ── Progress Indicator ── */
.form-progress {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.form-progress__step {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--text-dim);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.form-progress__step::before {
  content: attr(data-step);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.form-progress__step.active {
  color: var(--orange-mid);
}

.form-progress__step.active::before {
  background: var(--brand-gradient-warm);
  color: var(--text-white);
  border-color: transparent;
}

.form-progress__step.completed::before {
  background: var(--blue);
  color: var(--text-white);
  border-color: transparent;
  content: '✓';
}

.form-progress__divider {
  width: 20px;
  height: 1px;
  background: var(--border-subtle);
  align-self: center;
}

/* ── Form Card ── */
.getstarted-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-2xl);
  margin-bottom: var(--space-xl);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-gradient-warm-h);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.form-section:hover::before {
  opacity: 1;
}

.form-section__header {
  margin-bottom: var(--space-xl);
}

.form-section__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  background: var(--brand-gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  margin-bottom: var(--space-xs);
}

.form-section__title {
  font-size: var(--fs-h4);
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.form-section__desc {
  font-size: var(--fs-small);
  color: var(--text-subtle);
}

/* ── Checkbox / Radio Groups ── */
.checkbox-group,
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.checkbox-item:hover,
.radio-item:hover {
  border-color: var(--border-orange);
  color: var(--text-light);
}

.checkbox-item input,
.radio-item input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-item:has(input:checked),
.radio-item:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-glow);
  color: var(--text-white);
}

/* ── Select Range ── */
.budget-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.budget-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-align: center;
}

.budget-option:hover {
  border-color: var(--border-orange);
  color: var(--text-light);
}

.budget-option:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-glow);
  color: var(--text-white);
}

.budget-option input {
  display: none;
}

/* ── Consent ── */
.consent-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.consent-block label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-body);
  cursor: pointer;
}

.consent-block input {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Form Row 2-col ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ── Submit Area ── */
.form-submit-area {
  text-align: center;
  padding-top: var(--space-xl);
}

.form-submit-area p {
  font-size: var(--fs-small);
  color: var(--text-dim);
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .checkbox-group,
  .radio-group {
    grid-template-columns: 1fr;
  }
  .budget-options {
    grid-template-columns: 1fr 1fr;
  }
  .form-section {
    padding: var(--space-xl) var(--space-lg);
  }
  .form-progress {
    gap: 2px;
  }
  .form-progress__step {
    font-size: 0;
  }
  .form-progress__step::before {
    font-size: var(--fs-xs);
  }
  .form-progress__divider {
    width: 10px;
  }
}

@media (max-width: 480px) {
  .budget-options {
    grid-template-columns: 1fr;
  }
}
