/* ── Lead Qualification Funnel ── */

.funnel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,8,5,0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.funnel-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.funnel-card {
  background: #1C1309;
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.funnel-overlay.active .funnel-card {
  transform: translateY(0);
}

/* Progress dots */
.funnel-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 36px;
}
.funnel-dot {
  height: 3px;
  flex: 1;
  background: rgba(245,240,232,0.12);
  border-radius: 2px;
  transition: background 0.35s ease;
}
.funnel-dot.done { background: #E07B4F; }
.funnel-dot.current { background: rgba(224,123,79,0.5); }

/* Close button */
.funnel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 6px;
  color: rgba(245,240,232,0.35);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.funnel-close:hover {
  color: rgba(245,240,232,0.7);
  border-color: rgba(245,240,232,0.25);
}

/* Steps */
.funnel-step { display: none; }
.funnel-step.active { display: block; animation: fadeSlide 0.28s ease forwards; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.funnel-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E07B4F;
  margin-bottom: 12px;
}

.funnel-question {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  color: #F5F0E8;
  line-height: 1.1;
  margin-bottom: 8px;
}

.funnel-hint {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,240,232,0.45);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Choice buttons */
.funnel-choices { display: flex; flex-direction: column; gap: 9px; }

.funnel-choice {
  background: rgba(245,240,232,0.03);
  border: 1px solid rgba(245,240,232,0.09);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.18s ease;
  color: #F5F0E8;
  text-align: left;
  width: 100%;
}
.funnel-choice:hover {
  background: rgba(224,123,79,0.08);
  border-color: rgba(224,123,79,0.35);
}
.funnel-choice.selected {
  background: rgba(224,123,79,0.11);
  border-color: #E07B4F;
}

.funnel-choice-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  color: #F5F0E8;
}
.funnel-choice-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(245,240,232,0.45);
  display: block;
  margin-top: 2px;
}
.funnel-check {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(245,240,232,0.2);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.funnel-choice.selected .funnel-check {
  background: #E07B4F;
  border-color: #E07B4F;
}
.funnel-choice.selected .funnel-check::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* Contact step */
.funnel-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }

.funnel-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
  margin-bottom: 7px;
}
.funnel-field input {
  width: 100%;
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  color: #F5F0E8;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.funnel-field input::placeholder { color: rgba(245,240,232,0.2); }
.funnel-field input:focus { border-color: #E07B4F; }

/* Navigation row */
.funnel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.funnel-back {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.funnel-back:hover { color: rgba(245,240,232,0.6); }

.funnel-skip {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,240,232,0.22);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}
.funnel-skip:hover { color: rgba(245,240,232,0.45); }

/* WA button */
.funnel-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s, transform 0.1s;
}
.funnel-wa-btn:hover {
  background: #1fba59;
  transform: translateY(-1px);
}
.funnel-wa-btn svg { flex-shrink: 0; }

/* Summary in last step */
.funnel-summary {
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(245,240,232,0.08);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.funnel-summary-row {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  line-height: 1.8;
}
.funnel-summary-row strong {
  color: rgba(245,240,232,0.8);
  font-weight: 500;
}

@media (max-width: 560px) {
  .funnel-card { padding: 32px 20px 28px; border-radius: 16px; }
  .funnel-question { font-size: 22px; }
}
