/* Survey-specific styles (uses site.css vars) */
.topbar{border-bottom:1px solid var(--line);padding:14px 0;background:rgba(11,15,25,.85);position:sticky;top:0;backdrop-filter:blur(8px)}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:14px}
.brand{text-decoration:none;font-weight:700}
.small{font-size:13px}
.center{text-align:center}
.survey{padding:18px 0 40px}
.survey-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.title{margin:0 0 6px}
.progress-wrap{min-width:240px}
.progress{height:10px;border-radius:999px;background:#0E1528;border:1px solid var(--line);overflow:hidden}
.progress-bar{height:100%;background:linear-gradient(90deg, rgba(110,231,255,.85), rgba(139,92,246,.85))}
.pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);font-size:13px;margin-top:12px}
.q-meta{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.q-text{margin:10px 0 12px;font-size:20px;line-height:1.25}
.options{display:grid;gap:10px;margin:14px 0}
.opt{
  display:flex;gap:12px;align-items:flex-start;
  padding:12px;border-radius:16px;border:1px solid var(--line);
  background:rgba(14,21,40,.35);cursor:pointer;
}
.opt:hover{transform:translateY(-1px)}
.opt input{margin-top:3px}
.opt .ot{font-weight:650}
.opt .od{color:var(--muted);font-size:14px;line-height:1.45;margin-top:2px}
.nav{display:flex;justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:wrap}
.hidden{display:none}
.lead-form{display:grid;gap:10px;max-width:520px}
.lead-form input{
  width:100%;padding:12px 12px;border-radius:14px;
  border:1px solid var(--line);background:#0E1528;color:var(--text);
  outline:none;
}
.lead-form input:focus{border-color:rgba(110,231,255,.45)}
.note{margin-top:10px}

/* ===== UX PRO survey polish ===== */
.survey .card{border-radius:var(--radius)}
.screen{animation: fadeIn .2s ease}
@keyframes fadeIn{from{opacity:.0;transform:translateY(6px)}to{opacity:1;transform:none}}

.opt{transition: transform .12s ease, border-color .2s ease, background .2s ease; position:relative;}
.opt input{accent-color: rgba(110,231,255,.9)}
.opt.is-selected{
  border-color: rgba(110,231,255,.45);
  background: linear-gradient(135deg, rgba(110,231,255,.12), rgba(139,92,246,.10));
}
.opt.is-selected::after{
  content:"✓";
  position:absolute;
  right:14px; top:12px;
  width:26px; height:26px;
  border-radius:999px;
  display:grid; place-items:center;
  border:1px solid rgba(110,231,255,.35);
  color: rgba(110,231,255,.95);
  background: rgba(14,21,40,.65);
}
.nav .btn{min-width:140px}
.toast{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,99,99,.35);
  background: rgba(255,99,99,.08);
  color: var(--text);
}
.stepper{display:flex;gap:6px;margin:8px 0 10px;flex-wrap:wrap}
.stepper .dot{width:10px;height:10px;border-radius:999px;border:1px solid var(--line);background: rgba(166,179,209,.15);}
.stepper .dot.on{border-color: rgba(110,231,255,.45);background: rgba(110,231,255,.35);}
.stepper .dot.done{border-color: rgba(110,231,255,.35);background: rgba(110,231,255,.18);}

/* Vivid survey accents */
.progress{border-color: rgba(110,231,255,.22)}
.progress-bar{
  background: linear-gradient(90deg, rgba(0,255,209,.95), rgba(110,231,255,.95), rgba(139,92,246,.95));
  box-shadow: 0 0 14px rgba(0,255,209,.22), 0 0 20px rgba(110,231,255,.18), 0 0 22px rgba(139,92,246,.16);
}
.opt input{accent-color: rgba(0,255,209,.95)}
.opt.is-selected{
  border-color: rgba(0,255,209,.45);
  background: linear-gradient(135deg, rgba(0,255,209,.14), rgba(110,231,255,.10), rgba(139,92,246,.10));
}
.opt.is-selected::after{
  border-color: rgba(0,255,209,.35);
  color: rgba(0,255,209,.95);
}


/* ===== UI MATCH (screenshot style) ===== */
body{background:#000 !important}
.topbar{background:transparent;border-bottom:none;position:static}
.topbar-inner{padding-top:10px}
.brand{color:rgba(255,255,255,.7)}
.survey{padding:22px 0 44px}
.survey .card{
  background: transparent;
  border: none;
  box-shadow:none;
  padding: 0;
}

.survey-hero{
  background: linear-gradient(180deg, rgba(18,28,49,.95), rgba(10,16,30,.95));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 20px 18px;
  text-align:center;
  margin-bottom: 14px;
}
.survey-hero-title{
  margin:0;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: .2px;
}
.survey-hero-sub{
  margin-top:10px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

/* progress bar like thin line */
.progress-wrap{width:100%}
.progress{
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.14);
}
.progress-bar{
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,140,0,.95), rgba(255,196,0,.95));
  box-shadow: 0 0 18px rgba(255,140,0,.18);
}
#progressText{display:none}

.stepper{display:none}

/* question */
.q-meta{justify-content:center;margin-top: 10px}
#qCounter{color: rgba(255,255,255,.55)}
.q-text{
  text-align:center;
  font-size: 24px;
  line-height: 1.22;
  margin: 14px 0 18px;
  color:#fff;
}
.pill{display:none}

/* options as white cards */
.options{gap:14px}
.opt{
  background:#fff;
  border:none;
  border-radius: 16px;
  padding: 16px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.opt:hover{transform:none}
.opt input{accent-color: rgba(255,140,0,.95)}
.opt .ot{display:none}
.opt .od{
  color:#111;
  font-size: 14px;
  line-height: 1.45;
}
.opt.is-selected{
  outline: 2px solid rgba(255,140,0,.55);
  background:#fff;
}
.opt.is-selected::after{display:none}

/* nav buttons */
.nav{
  margin-top: 16px;
}
#btnBack{
  display:none;
}
#btnNext{
  width:100%;
  border:none;
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,140,0,.98);
  color:#fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(255,140,0,.22);
}
#btnNext:hover{transform:none}
#btnNext:disabled{opacity:.55}

/* lead form keep consistent, but dark */
#screenLead .q-text{font-size:22px}
.lead-form input{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
}
.lead-form input::placeholder{color: rgba(255,255,255,.45)}
#btnSend{
  width:100%;
  border:none;
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,140,0,.98);
  color:#fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(255,140,0,.22);
}

/* footer */
footer, .center{color: rgba(255,255,255,.35)}

/* Selected state polish */
.options{gap:16px}
.opt{
  border-radius: 18px;
  padding: 16px 16px;
}
.opt.is-selected{
  outline: none;
  border: 2px solid rgba(255,140,0,.65);
  box-shadow: 0 10px 22px rgba(0,0,0,.38), 0 0 0 4px rgba(255,140,0,.12) inset;
  background: linear-gradient(180deg, #ffffff, #fff7ef);
}
.opt input{
  margin-top: 2px;
}
.opt .od{
  font-size: 14.5px;
}

/* ===== Anti-tedium + sales polish ===== */
.survey-hero{
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(255,138,0,.30), transparent 60%),
    radial-gradient(520px 220px at 80% 0%, rgba(255,61,129,.22), transparent 60%),
    linear-gradient(180deg, rgba(18,28,49,.92), rgba(10,16,30,.92));
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.progress-bar{
  background: linear-gradient(90deg, rgba(255,138,0,.98), rgba(255,61,129,.88), rgba(0,229,255,.65));
}
.mini-stats{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.chip strong{color:#fff}
.block-toast{
  margin: 10px auto 0;
  max-width: 520px;
  text-align:center;
  padding:10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,138,0,.22);
  background: rgba(255,138,0,.10);
  color: rgba(255,255,255,.85);
  display:none;
}
.block-toast.show{display:block; animation: pop .18s ease}
@keyframes pop{from{transform:translateY(6px);opacity:0}to{transform:none;opacity:1}}

.opt{transition: transform .12s ease}
.opt:active{transform: scale(.99)}
#btnNext{
  background: linear-gradient(90deg, rgba(255,138,0,.98), rgba(255,61,129,.90));
}
/* ===== Lead Screen Upgrade (Email Slide) ===== */
.lead-gap{ height: 16px; }
.lead-gap.sm{ height: 10px; }

.lead-card{
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.lead-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(255,138,0,.18), transparent 60%),
    radial-gradient(520px 220px at 80% 0%, rgba(255,61,129,.12), transparent 60%);
  opacity:.95;
  pointer-events:none;
}
.lead-card > *{ position:relative; z-index:1; }

.lead-card-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
}

.lead-ico{
  width:46px;height:46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background: linear-gradient(135deg, rgba(255,138,0,.92), rgba(255,61,129,.82));
  box-shadow: 0 14px 30px rgba(255,138,0,.18), 0 12px 28px rgba(255,61,129,.12);
  position:relative;
}

.lead-ico .ico-at{
  position:absolute;
  left:9px; bottom:9px;
  opacity:.95;
  animation: leadAtPulse 1.8s ease-in-out infinite;
}

.lead-ico .ico-plane{
  position:absolute;
  right:7px; top:8px;
  opacity:.9;
  transform-origin: 0 0;
  animation: leadPlaneFly 2.6s ease-in-out infinite;
}

@keyframes leadPlaneFly{
  0%,100%{ transform: translate(0,0) rotate(0deg); }
  50%{ transform: translate(2px,-3px) rotate(8deg); }
}
@keyframes leadAtPulse{
  0%,100%{ transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,138,0,0)); }
  50%{ transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(255,138,0,.30)); }
}

@media (prefers-reduced-motion: reduce){
  .lead-ico .ico-at, .lead-ico .ico-plane{ animation:none !important; }
}

.lead-title{
  font-weight: 1000;
  line-height: 1.1;
}

/* Espacio extra antes del botón */
.lead-btn{
  width: 100%;
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}