/* Prospectos — modal demo + CTAs con icono */

.lv3-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lv3-btn-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.lv3-btn-whatsapp {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 55%, #0891b2 100%);
}

.prospect-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.prospect-modal[hidden] {
  display: none !important;
}

.prospect-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.prospect-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  max-height: min(92dvh, 40rem);
  overflow-y: auto;
  padding: 1.35rem 2.5rem 1.25rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
}

.prospect-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.prospect-modal-close:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(6, 182, 212, 0.45);
}

.prospect-modal-close:active {
  transform: scale(0.96);
}

.prospect-modal-progress {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.prospect-modal-progress-bar {
  height: 4px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.prospect-modal-progress-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

.prospect-modal h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
}

.prospect-modal-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #94a3b8;
}

.prospect-field {
  margin: 0 0 0.85rem;
}

.prospect-field label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.prospect-field label .req {
  color: #22d3ee;
}

.prospect-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
}

.prospect-input-wrap:focus-within {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.prospect-input-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: #64748b;
  flex-shrink: 0;
}

.prospect-input-icon svg {
  width: 100%;
  height: 100%;
}

.prospect-input-wrap input,
.prospect-input-wrap select,
.prospect-field > select,
.prospect-field > textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #f1f5f9;
  font: inherit;
  font-size: 0.95rem;
}

.prospect-field > select,
.prospect-field > textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
}

.prospect-phone-prefix {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.prospect-tools {
  display: grid;
  gap: 0.35rem;
}

.prospect-tool-opt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.prospect-error {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  font-size: 0.84rem;
}

.prospect-error[hidden],
.prospect-success[hidden] {
  display: none !important;
}

.prospect-success {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #cffafe;
  font-size: 0.84rem;
}

.prospect-submit {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 2.9rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 55%, #0891b2 100%);
}

.prospect-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
