/* ── FORM SECTION ─────────────────────────────── */

.tf-form-container {
  margin: 0 auto;
}

/* ── HEADER ───────────────────────────────────── */
.tf-form-header {
  margin-bottom: 32px;
}

.tf-form-eyebrow {
  margin-bottom: 10px;
  display: block;
}

.tf-form-headline {
  margin-bottom: 8px;
}

.tf-italic {
  font-style: italic;
}


/* ── FORM CARD ────────────────────────────────── */
.tf-form-card {
  border-radius: 4px;
  overflow: hidden;
}

/* ── STEP INDICATOR ───────────────────────────── */
.tf-step-bar {
  display: flex;
  border-bottom: 1px solid #D4D0C4;
}

.tf-step {
  flex: 1;
  padding: 11px 16px;
  border-right: 1px solid #D4D0C4;
  transition: color 0.25s ease, background 0.25s ease;
}

.tf-step:last-child {
  border-right: none;
}

.tf-step-active {
  color: #1A1A14;
  background: #ECEADE;
}

.tf-step-done {
  color: #8B8678;
}

/* ── FORM ELEMENT RESET ───────────────────────── */
.tf-form {
  margin-bottom: 0;
}

/* ── STEP PANELS ──────────────────────────────── */
.tf-step-panel {
  padding: 28px 28px 24px;
  display: none;
}

.tf-step-panel.tf-panel-visible {
  display: block;
}

/* ── LABELS & QUESTIONS ───────────────────────── */
.tf-step-label {
  margin-bottom: 10px;
  display: block;
}

.tf-step-question {
  margin-bottom: 18px;
}

.tf-step-question--sm {
  margin-top: 20px;
  margin-bottom: 12px;
}

/* ── PILL GRID ────────────────────────────────── */
.tf-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.tf-pill-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.tf-pill {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  line-height: 1.35;
  user-select: none;
}

.tf-pill.tf-pill-selected {
  border-color: #1A1A14;
  background: #1A1A14;
  color: #ECEADE;
}

.tf-pill-icon {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── INPUTS ───────────────────────────────────── */

.tf-input {
  width: 100%;
  background: #ECEADE !important;
  border: 1px solid #C8C3B0 !important;
  border-radius: 2px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: #1A1A14 !important;
  font-weight: 300 !important;
  margin-bottom: 12px !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
  box-shadow: none !important;
}

.tf-input::placeholder {
  color: #A8A498 !important;
}

.tf-input:focus {
  border-color: #1A1A14 !important;
}

.tf-textarea {
  resize: none !important;
  height: 90px !important;
  line-height: 1.6 !important;
}

/* ── URGENCY CHIPS ────────────────────────────── */
.tf-chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tf-chip {
  padding: 7px 13px;
  border: 1px solid #C8C3B0;
  border-radius: 20px;
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8B8678;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ECEADE;
  user-select: none;
}

.tf-chip:hover {
  border-color: #8B8678;
  color: #4A4640;
}

.tf-chip.tf-chip-selected {
  background: #1A1A14;
  border-color: #1A1A14;
  color: #ECEADE;
}

/* ── SELECTION SUMMARY PILL ───────────────────── */
.tf-selection-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ECEADE;
  border: 1px solid #C8C3B0;
  border-radius: 20px;
  padding: 5px 12px 5px 9px;
  font-size: 11px;
  color: #4A4640;
  margin-bottom: 18px;
}

.tf-selection-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1A1A14;
  flex-shrink: 0;
  display: inline-block;
}

/* ── BUTTONS ──────────────────────────────────── */
.tf-btn-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.tf-btn-next {
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #1A1A14;
  color: #ECEADE;
  padding: 13px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  display: inline-block;
  user-select: none;
}

.tf-btn-next:hover {
  background: #2A2A20;
}

.tf-btn-next.tf-btn-disabled {
  background: #C8C3B0;
  cursor: not-allowed;
  pointer-events: none;
}

.tf-btn-back {
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B8678;
  cursor: pointer;
  padding: 13px 0;
  transition: color 0.2s ease;
  user-select: none;
}

.tf-btn-back:hover {
  color: #1A1A14;
}

/* ── TRUST ROW ────────────────────────────────── */
.tf-trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #D4D0C4;
}

.tf-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A8A498;
}

.tf-trust-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C8C3B0;
  flex-shrink: 0;
}

/* ── SUCCESS PANEL ────────────────────────────── */
.tf-success {
  display: none;
  padding: 48px 28px;
  text-align: center;
}

.tf-success-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.tf-success-headline {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #1A1A14;
  margin-bottom: 10px;
}

.tf-success-sub {
  font-size: 13px;
  color: #6B6660;
  font-weight: 300;
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto 24px;
}

.tf-cal-btn {
  display: inline-block;
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #1A1A14;
  color: #ECEADE;
  padding: 13px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tf-cal-btn:hover {
  background: #2A2A20;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 560px) {
  .tf-pill-grid {
    grid-template-columns: 1fr;
  }
  .tf-input-row {
    grid-template-columns: 1fr;
  }
  .tf-chip-row {
    gap: 5px;
  }
  .tf-step-panel {
    padding: 22px 18px 20px;
  }
  .tf-form-headline {
    font-size: 26px;
  }
}