:root {
  --bg: #0a0a0f;
  --text: #e8e8ec;
  --muted: #8a8a9a;
  --accent: #c8a96e;
  --border: rgba(255, 255, 255, 0.08);
  --surface: #111118;
  --surface2: #16161f;
  --surface3: #1e1e2a;
  --fq-bg: #0a0a0f;
  --fq-surface: #14141e;
  --fq-border: rgba(255,255,255,.08);
  --fq-txt: #e8e8ec;
  --fq-muted: #8a8a9a;
  --fq-gold: #c8a96e;
}

.fq-progress-wrap {
  width: 100%;
  height: 3px;
  background: var(--fq-bdr);
  position: sticky;
  top: 0;
  z-index: 100;
}
.fq-progress-bar {
  height: 100%;
  background: var(--fq-gold);
  width: 0%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* ── Stage ── */
.fq-stage-wrap {
  width: 100%;
  max-width: 680px;
  padding: 3.5rem 1.5rem 5rem;
  margin: 0 auto;
  position: relative;
}

/* ── Steps ── */
.fq-step {
  display: none;
  animation: fqFadeUp .4s ease both;
}
.fq-step.active { display: block; }
.fq-step.exit   { display: block; animation: fqFadeOut .25s ease both; }

@keyframes fqFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fqFadeOut {
  to { opacity: 0; transform: translateY(-14px); }
}

.fq-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fq-gold);
  margin-bottom: 1rem;
}

/* ── Hero (paso 0) ── */
.fq-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fq-gold);
  margin-bottom: 1.25rem;
}
.fq-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: .95;
  letter-spacing: .04em;
  color: var(--fq-txt);
  margin: 0 0 1rem;
}
.fq-hero-title em {
  font-style: normal;
  color: var(--fq-gold);
}
.fq-hero-sub {
  font-size: 15px;
  color: var(--fq-muted);
  margin: 0 0 2rem;
}
.fq-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.fq-trust-pill {
  font-size: 12px;
  color: var(--fq-gold);
  background: var(--fq-gold-dim);
  border: 1px solid var(--fq-gold-bdr);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-weight: 500;
}

/* ── Question titles ── */
.fq-q-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: .05em;
  color: var(--fq-txt);
  margin: 0 0 .5rem;
  line-height: 1.05;
}
.fq-q-sub {
  font-size: 14px;
  color: var(--fq-muted);
  margin: 0 0 2rem;
  line-height: 1.65;
}

/* ── Grid de tarjetas ── */
.fq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: .75rem;
  margin-bottom: 2.5rem;
}

/* ── Tarjeta de opción ── */
.fq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.1rem 1.1rem .9rem;
  background: var(--fq-surf);
  border: 1px solid var(--fq-bdr);
  border-radius: var(--fq-r);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
  appearance: none;
  color: inherit;
  font-family: inherit;
}
.fq-card:hover {
  border-color: var(--fq-gold-bdr);
  background: var(--fq-surf2);
  transform: translateY(-2px);
}
.fq-card.selected {
  border-color: var(--fq-gold);
  background: var(--fq-gold-dim);
}
.fq-card-icon  { font-size: 1.5rem; margin-bottom: .15rem; }
.fq-card-tag   { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fq-gold); }
.fq-card-label { font-size: 14px; font-weight: 600; color: var(--fq-txt); }
.fq-card-desc  { font-size: 12px; color: var(--fq-muted); line-height: 1.4; }
.fq-card-badge {
  position: absolute;
  top: -10px; right: 12px;
  font-size: 10px; font-weight: 700;
  background: var(--fq-gold); color: #0a0a0f;
  border-radius: 999px; padding: .2rem .65rem;
  letter-spacing: .05em;
}

/* Multi-select check */
.fq-card--multi .fq-check {
  position: absolute;
  top: .7rem; right: .7rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--fq-bdr);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent;
  transition: all .2s;
}
.fq-card--multi.selected .fq-check {
  border-color: var(--fq-gold);
  background: var(--fq-gold);
  color: #0a0a0f;
}

/* Budget cards */
.fq-card--budget {
  grid-column: span 1;
}
.fq-card--featured {
  border-color: var(--fq-gold-bdr);
}

/* ── Formulario ── */
.fq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.fq-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.fq-field--full { grid-column: span 2; }
.fq-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--fq-txt);
}
.fq-optional { color: var(--fq-muted); font-weight: 400; }
.fq-field input,
.fq-field textarea {
  background: var(--fq-surf);
  border: 1px solid var(--fq-bdr);
  border-radius: var(--fq-r);
  color: var(--fq-txt);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.fq-field input:focus,
.fq-field textarea:focus { border-color: var(--fq-gold); }
.fq-field input::placeholder,
.fq-field textarea::placeholder { color: var(--fq-muted); }

/* RGPD checkbox */
.fq-field--check { align-self: start; }
.fq-check-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: 12px;
  color: var(--fq-muted);
  line-height: 1.55;
}
.fq-check-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--fq-gold);
  margin-top: 2px;
  cursor: pointer;
  padding: 0; border: none; border-radius: 0;
}
.fq-check-label a { color: var(--fq-gold); }

/* ── Nav buttons ── */
.fq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.fq-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--fq-gold);
  color: #0a0a0f;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--fq-r);
  padding: .8rem 1.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter .2s, transform .15s, opacity .2s;
}
.fq-btn-primary:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.fq-btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.fq-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  color: var(--fq-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border: 1px solid var(--fq-bdr);
  border-radius: var(--fq-r);
  padding: .75rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.fq-btn-ghost:hover { color: var(--fq-txt); border-color: rgba(255,255,255,.18); }

.fq-micro {
  font-size: 11px;
  color: var(--fq-muted);
  margin-top: 1rem;
}
.fq-micro a { color: var(--fq-gold); }
.fq-error { font-size: 13px; color: #f87171; margin-top: .75rem; }
.fq-hidden { display: none !important; }

/* ── Success / Confirmación ── */
.fq-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--fq-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--fq-gold);
  margin-bottom: 1.5rem;
}
.fq-calendly-box {
  background: var(--fq-surf);
  border: 1px solid var(--fq-gold-bdr);
  border-radius: var(--fq-r-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.fq-calendly-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.fq-calendly-icon { font-size: 1.75rem; flex-shrink: 0; }
.fq-calendly-header strong { font-size: 15px; color: var(--fq-txt); display: block; margin-bottom: .25rem; }
.fq-calendly-header p { font-size: 13px; color: var(--fq-muted); margin: 0; }
.fq-btn-calendly { width: 100%; justify-content: center; }

.fq-summary {
  background: var(--fq-surf2);
  border: 1px solid var(--fq-bdr);
  border-radius: var(--fq-r);
  padding: 1.25rem;
  font-size: 13px;
  color: var(--fq-muted);
  line-height: 1.7;
}
.fq-summary strong { color: var(--fq-txt); }
.fq-btn-home { margin-top: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 540px) {
  .fq-stage-wrap { padding: 2.5rem 1rem 4rem; }
  .fq-grid { grid-template-columns: 1fr 1fr; }
  .fq-form-grid { grid-template-columns: 1fr; }
  .fq-field--full { grid-column: span 1; }
  .fq-nav { flex-direction: column-reverse; width: 100%; }
  .fq-btn-primary, .fq-btn-ghost { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .fq-grid { grid-template-columns: 1fr; }
}
