/**
 * Estilos del Asistente Wizard de Presupuesto - NEO Producciones (Parte 1: Base y Selección).
 * Estética de alta fidelidad Apple con paleta "Grises Pro" y modo oscuro.
 */

.presupuesto-intro { margin-bottom: 1.25rem; }
.presupuesto-lead { color: var(--text-muted); max-width: 580px; font-size: 0.92rem; line-height: 1.4; }

.wizard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 700px;
}

/* ─── BARRA DE PROGRESO ─── */
.wizard-progress-bar {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 1rem;
}
.wizard-steps-track { display: flex; gap: 1.5rem; align-items: center; }
.wizard-step-node {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  color: var(--text-muted);
  font-family: inherit;
}
.wizard-step-node:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.step-label { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; }
.wizard-step-node.active .step-badge { background: var(--accent-gradient); border-color: transparent; color: #141416; }
.wizard-step-node.active .step-label { color: var(--text); font-weight: 600; }
.wizard-step-node.completed .step-badge { background: var(--gold3); border-color: transparent; color: #141416; }

/* ─── PASO 1 Y PASO 2: SELECCIÓN DE ITEMS ─── */
.wizard-step-body { flex: 1; display: flex; flex-direction: column; }
.wizard-step-body.fade-in { animation: wizardFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-context-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.wizard-context-pill strong { color: var(--gold2); }

.wizard-group-title { font-family: 'Syne', sans-serif; font-size: 1.25rem; color: var(--text); margin-bottom: 0.25rem; }
.wizard-group-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.wizard-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.wizard-card-radio {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.25s ease;
  position: relative;
}
.wizard-card-radio:hover { border-color: var(--border); transform: translateY(-2px); }
.wizard-card-radio.selected {
  border-color: var(--gold2);
  background: rgba(205, 167, 141, 0.08);
  box-shadow: 0 0 0 1px var(--gold2);
}

.card-radio-header { display: flex; align-items: center; gap: 0.65rem; }
.card-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 192, 103, 0.45);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.wizard-card-radio.selected .card-radio-indicator { border-color: var(--gold2); }
.radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.wizard-card-radio.selected .radio-dot { background: var(--gold2); }

.card-radio-title { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.card-radio-sub {
  font-size: 0.76rem;
  color: var(--gold2);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.card-radio-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.4; }

/* ─── TARJETAS COMPRIMIDAS DE ADICIONALES (PASO 2) ─── */
.wizard-extras-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.wizard-card-checkbox {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}
.wizard-card-checkbox:hover { border-color: var(--border); }
.wizard-card-checkbox input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(244, 192, 103, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: #141416;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.wizard-card-checkbox:hover .checkbox-box { border-color: var(--gold2); background: rgba(244, 192, 103, 0.12); }
.wizard-card-checkbox.checked { border-color: var(--gold2); background: rgba(205, 167, 141, 0.05); }
.wizard-card-checkbox.checked .checkbox-box { background: var(--gold2); border-color: var(--gold2); }

.checkbox-info { min-width: 0; flex: 1; }
.checkbox-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkbox-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
