/* ==========================================================================
   sections/wizard.css
   Sección ASISTENTE "¿Qué necesitas?": pasos, opciones y resultado.
   ========================================================================== */
.wizard { max-width: 860px; margin: 0 auto; border-radius: 28px; padding: clamp(18px, 3vw, 32px); background: linear-gradient(160deg, rgba(34,34,42,.85), rgba(14,14,19,.85)); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px rgba(227,38,43,.45); }
.wizard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.wizard__steps { display: flex; gap: 6px; flex: 1; min-width: 0; }
.wstep { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 3px solid var(--line); color: var(--muted); font-size: .8rem; transition: all .4s var(--ease); min-width: 0; }
.wstep b { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .78rem; background: rgba(255,255,255,.06); transition: all .4s var(--ease); }
.wstep b .ico { width: 14px; height: 14px; }
.wstep em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.wstep.on { border-color: var(--red); color: var(--text); }
.wstep.on b { background: var(--red); color: #fff; box-shadow: 0 0 14px -2px var(--red); }
.wizard__back { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .85rem; color: var(--muted); padding: .5em .8em; border-radius: 999px; border: 1px solid var(--line-2); }
.wizard__back:hover { color: #fff; border-color: var(--red); }
.wizard__viewport { overflow: hidden; transition: height .6s var(--ease); }
.wizard__track { display: flex; align-items: flex-start; transition: transform .7s var(--ease); }
.wpane { flex: 0 0 100%; padding: 4px 2px; opacity: .2; transition: opacity .5s; }
.wpane.active { opacity: 1; }
.wpane h3 { font-family: var(--font-d); font-size: clamp(1.2rem, 3vw, 1.7rem); margin: 0 0 18px; letter-spacing: -.02em; }
.wopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.wopts--grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.wopt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-align: left; font-weight: 700; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: all .35s var(--ease); }
.wpane.active .wopt { animation: stepIn .5s var(--ease) both; animation-delay: var(--d); }
.wopt__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(227,38,43,.14); color: var(--red-2); flex: none; transition: all .35s var(--ease); }
.wopt > span:nth-child(2) { flex: 1; }
.wopt__go { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.wopt:hover, .wopt.sel { border-color: var(--red); background: rgba(227,38,43,.1); transform: translateY(-3px); }
.wopt:hover .wopt__ico, .wopt.sel .wopt__ico { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
.wopt:hover .wopt__go { transform: translateX(4px); color: var(--red-2); }
.wpane--result .eyebrow { margin-bottom: 14px; }
.wrecs { display: grid; gap: 10px; margin-bottom: 16px; }
.wrec { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-align: left; background: rgba(227,38,43,.08); border: 1px solid rgba(227,38,43,.35); transition: all .35s var(--ease); animation: stepIn .5s var(--ease) both; animation-delay: var(--d); }
.wrec:hover { transform: translateX(6px); background: rgba(227,38,43,.15); }
.wrec > span:nth-child(2) { flex: 1; min-width: 0; }
.wrec b { display: block; }
.wrec small { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }
.wrec .svc__ico { width: 44px; height: 44px; border-radius: 13px; }
.wsum { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wsum span { display: inline-flex; align-items: center; gap: .45em; padding: .4em .8em; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.wsum .ico { color: var(--red-2); }
.wcta { display: flex; flex-wrap: wrap; gap: 10px; }
