.nlq-flow__btn { padding: 12px 16px; cursor: pointer; }
.nlq-flow__modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
}
.nlq-flow__modal-inner {
  background: #fff; border-radius: 12px;
  padding: 16px; width: min(520px, 92vw);
  position: relative;
}
.nlq-flow__close {
  position: absolute; top: 10px; right: 12px;
  border: 0; background: transparent;
  font-size: 22px; cursor: pointer;
}

/* Base */
.nlq-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor:pointer;
  gap:8px;
  line-height:1;
  white-space:nowrap;
  padding: 14px 20px;
}

/* Variants */
:root{
  --nlq-primary:#015A94;
  --nlq-primary-hover:#014a7a;
}

.nlq-btn-primary{
  background:var(--nlq-primary);
  color:#fff;
  padding: 14px 20px;

}

.nlq-btn-primary:hover{
  background:var(--nlq-primary-hover);
  padding: 14px 20px;
}


.nlq-btn-outline{
  background:transparent;
  color:#015A94;
  border:2px solid #015A94;
}
.nlq-btn-outline:hover{
  background:#015A94;
  color:#fff;
}

/* Sizes */
.nlq-btn-sm{ padding:10px 14px; font-size:14px; border-radius:10px; }
.nlq-btn-md{ padding:14px 22px; font-size:15px; }
.nlq-btn-lg{ padding:16px 26px; font-size:16px; border-radius:14px; }

/* Full width */
.nlq-btn-full{
  width:100%;
}

/* Optional: focus visible accesible */
.nlq-btn:focus-visible{
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 3px;
}

/* Secondary button (V2) */
.nlq-btn-secondary{
  background: transparent;
  color: var(--nlq-primary);
  border: 2px solid var(--nlq-primary);
}
.nlq-btn-secondary:hover{
  background: rgba(1, 90, 148, 0.08);
}

/* ============================================
   NLQ Flow V2 - Wizard & Diagnóstico
   ============================================ */

.nlq-dx {
  max-width: 560px;
  margin: 0 auto;
}

.nlq-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.75rem;
}

@media (min-width: 480px) {
  .nlq-card { padding: 2rem 2.25rem; }
}

/* Feedback */
.nlq-feedback {
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
}

/* Indicador de progreso (Paso X de 3) */
.nlq-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.nlq-progress-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
}
.nlq-progress-dots {
  display: flex;
  gap: 0.4rem;
}
.nlq-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s, transform 0.2s;
}
.nlq-progress-dot.is-active {
  background: var(--nlq-primary);
  transform: scale(1.2);
}

/* Hint cuando no hay selección */
.nlq-step-hint {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0.75rem 0 0;
  font-style: italic;
}

/* Botón disabled - más visible que está deshabilitado */
.nlq-btn[disabled],
.nlq-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #9ca3af !important;
  color: #fff !important;
}
.nlq-btn-secondary[disabled],
.nlq-btn-secondary:disabled {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  border-color: #d1d5db !important;
}

/* Steps */
.nlq-step {
  animation: nlq-fadeIn 0.3s ease;
}

@keyframes nlq-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nlq-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

@media (min-width: 480px) {
  .nlq-step-title { font-size: 1.5rem; }
}

.nlq-step-subtext {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

/* Step 0 - Botón CTA principal (protagonista, más peso visual) */
.nlq-start-btn {
  display: block;
  width: 100%;
  padding: 20px 32px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  background: #015A94 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(1, 90, 148, 0.35);
  margin-top: 0.5rem;
  min-height: 56px;
}
.nlq-start-btn:hover {
  background: #014a7a !important;
  box-shadow: 0 6px 20px rgba(1, 90, 148, 0.4);
  transform: translateY(-1px);
}

/* Microtexto debajo del botón - centrado */
.nlq-step-micro {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 1rem 0;
  text-align: center;
}

/* Elementos de conversión (bajan fricción) - centrados */
.nlq-step-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
}
.nlq-step-perks li {
  padding: 0;
  margin: 0;
}

/* Step 0 - más aire, card protagonista, contenido centrado */
.nlq-step-0 {
  padding: 0.5rem 0;
  text-align: center;
}
.nlq-step-0 .nlq-step-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-align: center;
}
.nlq-step-0 .nlq-step-subtext {
  text-align: center;
}
@media (min-width: 480px) {
  .nlq-step-0 .nlq-step-title { font-size: 1.55rem; }
}

.nlq-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nlq-option {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nlq-option:hover {
  border-color: var(--nlq-primary);
  background: rgba(1, 90, 148, 0.04);
}

.nlq-option.is-selected {
  border-color: var(--nlq-primary);
  background: rgba(1, 90, 148, 0.08);
  box-shadow: 0 0 0 1px var(--nlq-primary);
}

.nlq-option-small {
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
}

/* Profundización contextual - separación visual, fade-in */
.nlq-profundizacion {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}
.nlq-profundizacion-fade {
  animation: nlq-fadeIn 0.35s ease;
}

.nlq-profundizacion-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #013a5e;
  margin: 0 0 0.875rem;
}

.nlq-profundizacion .nlq-options {
  flex-direction: row;
  flex-wrap: wrap;
}

.nlq-profundizacion .nlq-option {
  flex: 1 1 auto;
  min-width: 120px;
}

/* Actions (back/next) */
.nlq-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.nlq-actions .nlq-btn {
  flex: 1;
}

/* Transición "Analizando tu caso…" */
.nlq-step-analyzing {
  text-align: center;
  padding: 3rem 1rem;
}
.nlq-analyzing-text {
  font-size: 1.25rem;
  color: var(--nlq-primary);
  font-weight: 600;
  margin: 0;
  animation: nlq-pulse 1.2s ease-in-out infinite;
}
@keyframes nlq-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Resultado / Diagnóstico */
.nlq-result-container {
  animation: nlq-fadeIn 0.35s ease;
}

/* Mini barra de proceso completado */
.nlq-result-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: 10px;
  border: 1px solid #a7f3d0;
}
.nlq-result-status-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: #065f46;
}

/* Bloque 1 - Resumen personalizado (entrada del sistema) */
.nlq-result-resumen-block {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #93c5fd;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.08);
}
.nlq-result-resumen-icon {
  font-size: 1.1em;
  margin-right: 0.25rem;
}
.nlq-result-resumen-intro {
  font-weight: 600;
  color: #1e40af;
  margin: 0 0 0.5rem;
}

/* Bloque documentación */
.nlq-result-docs .nlq-result-docs-intro {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 0 0.35rem;
  font-weight: 500;
}
.nlq-result-resumen-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.nlq-result-resumen-list li {
  margin-bottom: 0.25rem;
}
.nlq-result-resumen-cierre {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.nlq-result-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0.5rem 0 0;
  font-style: italic;
}

.nlq-result-eta-block {
  margin: 1.25rem 0;
  padding: 1rem;
  background: #fefce8;
  border-radius: 10px;
  border-left: 4px solid #eab308;
}
.nlq-result-eta-block h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem;
}
.nlq-result-eta-block p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.nlq-result-closing {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nlq-primary);
  text-align: center;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.nlq-result-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

@media (min-width: 480px) {
  .nlq-result-headline { font-size: 1.5rem; }
}

.nlq-result-resumen {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.nlq-result-section {
  margin-bottom: 1.25rem;
}

.nlq-result-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nlq-result-focus,
.nlq-result-avoid,
.nlq-result-requisitos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nlq-result-focus li,
.nlq-result-avoid li,
.nlq-result-requisitos li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.nlq-result-focus li::before,
.nlq-result-avoid li::before,
.nlq-result-requisitos li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--nlq-primary);
}

.nlq-result-eta {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
  margin: 1rem 0 1.25rem;
}

.nlq-result-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nlq-result-ctas .nlq-btn {
  width: 100%;
  padding: 14px 20px;
}

/* Canalización block */
/* Separador visual entre canalización y CTA secundario */
.nlq-result-divider {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  margin: 1.5rem 0 0.75rem;
  padding: 0 0.5rem;
}

/* CTA secundario muy ligero (cuando canalización es principal) - texto-link */
.nlq-result-ctas-secondary {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}
.nlq-cta-secondary-link {
  font-size: 1rem;
  color: var(--nlq-primary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
.nlq-cta-secondary-link:hover {
  text-decoration: underline;
}

/* Reiniciar como link discreto */
.nlq-restart-wrap {
  text-align: center;
  margin: 1rem 0 0;
}
.nlq-restart-link {
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nlq-restart-link:hover {
  color: var(--nlq-primary);
  text-decoration: underline;
}

.nlq-canalizacion-block {
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 14px;
  border: 2px solid #015A94;
  box-shadow: 0 4px 20px rgba(1, 90, 148, 0.15), 0 0 0 1px rgba(1, 90, 148, 0.08);
}

.nlq-canalizacion-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.nlq-canalizacion-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.nlq-canalizacion-block .nlq-btn {
  width: 100%;
}

.nlq-canalizacion-microcopy {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

/* ============================================
   NLQ Modal (V2 - Canalización)
   ============================================ */

.nlq-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nlq-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.nlq-modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
}

@media (min-width: 480px) {
  .nlq-modal-content { padding: 2rem 2.25rem; }
}

.nlq-modal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem;
  line-height: 1.35;
}

.nlq-modal p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

/* Consent */
.nlq-consent-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.nlq-consent-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.nlq-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.nlq-consent-actions .nlq-btn {
  width: 100%;
  padding: 14px 20px;
}

.nlq-consent-back-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--nlq-primary);
  text-decoration: none;
  margin-top: 0.5rem;
}
.nlq-consent-back-link:hover {
  text-decoration: underline;
}

/* Form */
.nlq-form-group {
  margin-bottom: 1rem;
}

.nlq-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.35rem;
}

.nlq-form-group input[type="text"],
.nlq-form-group input[type="tel"],
.nlq-form-group input[type="email"] {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.nlq-form-group input:focus {
  outline: none;
  border-color: var(--nlq-primary);
}

.nlq-form-group input[type="checkbox"] {
  margin-right: 0.5rem;
  vertical-align: middle;
}

.nlq-form-group.nlq-checkbox-wrap label,
.nlq-form-group label:has(input[type="checkbox"]) {
  font-weight: 400;
  font-size: 0.875rem;
}

.nlq-form-actions {
  margin-top: 1.25rem;
}

.nlq-form-actions .nlq-btn {
  width: 100%;
  padding: 14px 20px;
}

.nlq-form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.5rem 0 0;
}

/* Confirmation */
.nlq-confirmation-note {
  font-size: 0.9rem;
  color: #6b7280;
}

.nlq-confirmation-email {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0;
}

.nlq-confirmation-actions {
  margin-top: 1.25rem;
}

.nlq-confirmation-actions .nlq-btn {
  width: 100%;
  padding: 14px 20px;
}
