/* ═══════════════════════════════════════════════════════════════
   AI-SOLUTIONS — COTIZADOR INTELIGENTE (wizard interactivo)
   ═══════════════════════════════════════════════════════════════ */

/* Tag morado para el header de la sección */
.tag-purple { background: rgba(124, 77, 255, 0.1) !important; border-color: rgba(124, 77, 255, 0.3) !important; color: #b388ff !important; }

.cz-card {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(13, 27, 42, 0.92), rgba(8, 16, 28, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 24px;
    padding: 34px clamp(18px, 4vw, 44px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}
.cz-card::before {
    content: "";
    position: absolute; inset: -2px;
    background: radial-gradient(600px 200px at 20% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
                radial-gradient(500px 220px at 85% 100%, rgba(124, 77, 255, 0.1), transparent 60%);
    pointer-events: none;
}

/* ── Barra de progreso ── */
.cz-progress { display: flex; align-items: center; gap: 0; margin-bottom: 30px; position: relative; z-index: 1; }
.cz-step-dot {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #0d1b2a; border: 2px solid rgba(0, 229, 255, 0.25);
    color: #6f8aa0; font-weight: 700; font-size: 0.9rem;
    transition: all 0.3s; position: relative; z-index: 2;
}
.cz-step-dot.active {
    border-color: #00e5ff; color: #00e5ff;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
    transform: scale(1.1);
}
.cz-step-dot.done { background: linear-gradient(135deg, #00e5ff, #7c4dff); border-color: transparent; color: #fff; }
.cz-step-line { flex: 1; height: 2px; background: rgba(0, 229, 255, 0.15); position: relative; }
.cz-step-line .fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #00e5ff, #7c4dff); transition: width 0.4s; }
.cz-step-line.done .fill { width: 100%; }

/* ── Pasos ── */
.cz-step { display: none; animation: czIn 0.35s ease both; position: relative; z-index: 1; }
.cz-step.active { display: block; }
@keyframes czIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

.cz-q { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 700; color: #eaf6ff; margin: 0 0 6px; font-family: 'Poppins', sans-serif; }
.cz-hint { color: #8ea6ba; font-size: 0.9rem; margin: 0 0 22px; }

/* Opciones tipo tarjeta */
.cz-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cz-opt {
    background: rgba(16, 29, 43, 0.85); border: 1.5px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px; padding: 18px 12px; cursor: pointer; text-align: center;
    transition: all 0.22s; color: #cfe3f2; font-family: inherit; font-size: 0.9rem;
    display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative;
}
.cz-opt .cz-ico { font-size: 1.7rem; line-height: 1; }
.cz-opt b { font-size: 0.92rem; font-weight: 600; }
.cz-opt small { color: #7f97ab; font-size: 0.74rem; line-height: 1.35; }
.cz-opt:hover { border-color: rgba(0, 229, 255, 0.5); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.cz-opt.selected {
    border-color: #00e5ff; background: rgba(0, 229, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.cz-opt.selected::after {
    content: "✓"; position: absolute; top: 8px; right: 10px;
    width: 20px; height: 20px; border-radius: 50%; font-size: 0.7rem; font-weight: 800;
    background: linear-gradient(135deg, #00e5ff, #7c4dff); color: #fff;
    display: flex; align-items: center; justify-content: center;
}

/* Precio estimado en vivo */
.cz-live-price {
    margin-top: 22px; display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px;
    background: rgba(0, 229, 255, 0.06); border: 1px dashed rgba(0, 229, 255, 0.3);
}
.cz-live-price span { color: #8ea6ba; font-size: 0.85rem; }
.cz-live-price b { color: #00e5ff; font-size: 1.3rem; font-family: 'Orbitron', sans-serif; }

/* Navegación */
.cz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; position: relative; z-index: 1; }
.cz-btn {
    border: none; border-radius: 30px; padding: 13px 28px; font-size: 0.95rem;
    font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif;
    display: inline-flex; align-items: center; gap: 9px; transition: all 0.22s;
}
.cz-btn-next { background: linear-gradient(135deg, #00e5ff, #7c4dff); color: #fff; box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3); }
.cz-btn-next:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 77, 255, 0.45); }
.cz-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
.cz-btn-back { background: transparent; color: #8ea6ba; border: 1px solid rgba(142, 166, 186, 0.3); }
.cz-btn-back:hover { color: #eaf6ff; border-color: #00e5ff; }

/* ── Resultado ── */
.cz-result { text-align: center; }
.cz-result-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 30px;
    background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00e676; font-size: 0.85rem; font-weight: 600; margin-bottom: 18px;
}
.cz-price-big {
    font-family: 'Orbitron', sans-serif; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800;
    background: linear-gradient(135deg, #00e5ff, #7c4dff, #e040fb);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin: 4px 0 2px; line-height: 1.15;
}
.cz-price-note { color: #8ea6ba; font-size: 0.85rem; margin-bottom: 22px; }
.cz-summary {
    text-align: left; max-width: 480px; margin: 0 auto 24px; padding: 18px 22px;
    background: rgba(16, 29, 43, 0.8); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 16px;
}
.cz-summary li { list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: #cfe3f2; font-size: 0.9rem; }
.cz-summary li i { color: #00e5ff; margin-top: 3px; flex-shrink: 0; }
.cz-result-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cz-cta-wa {
    background: linear-gradient(135deg, #25d366, #128c7e); color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); text-decoration: none;
}
.cz-cta-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
.cz-cta-form { background: transparent; color: #00e5ff; border: 1.5px solid rgba(0, 229, 255, 0.5); text-decoration: none; }
.cz-cta-form:hover { background: rgba(0, 229, 255, 0.1); transform: translateY(-2px); }
.cz-restart { margin-top: 18px; background: none; border: none; color: #6f8aa0; font-size: 0.82rem; cursor: pointer; text-decoration: underline; font-family: inherit; }
.cz-restart:hover { color: #00e5ff; }

/* ═══════ FAQ ACCORDION ═══════ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: rgba(13, 27, 42, 0.85); border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px; overflow: hidden; transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(0, 229, 255, 0.45); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: none; border: none; cursor: pointer; text-align: left;
    padding: 18px 22px; color: #eaf6ff; font-size: 1rem; font-weight: 600; font-family: 'Poppins', sans-serif;
}
.faq-q:hover { color: #00e5ff; }
.faq-q .faq-arrow { flex-shrink: 0; color: #00e5ff; transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 20px; color: #a9c0d4; font-size: 0.92rem; line-height: 1.7; }
.faq-a-inner b { color: #00e5ff; }

@media (max-width: 640px) {
    .cz-card { padding: 26px 16px; border-radius: 18px; }
    .cz-options { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .cz-opt { padding: 14px 8px; }
    .cz-nav { flex-direction: column-reverse; }
    .cz-btn { justify-content: center; }
    .faq-q { padding: 15px 16px; font-size: 0.92rem; }
    .faq-a-inner { padding: 0 16px 16px; }
}
