.impoc-form-wizard {
  width: 100%;
  color: #fff;
}

.impoc-form-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.impoc-form-step-indicator {
  text-align: center;
}

.impoc-form-step-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 0.5rem;
  background: #fff;
  color: #000;
}

.impoc-form-step-indicator.is-active .impoc-form-step-box {
  background: #ffec01;
  color: #000;
}

.impoc-form-step-label {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.impoc-form-panel {
  display: none;
  flex-direction: column;
  align-items: center;
}

.impoc-form-panel.is-active {
  display: flex;
}

.impoc-form-field {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.impoc-form-field label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.impoc-form-field select,
.impoc-form-field input[type="text"],
.impoc-form-field input[type="email"],
.impoc-form-field input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  color: #000000;
  text-align: left;
  background-color: rgba(255, 255, 255, 1);
  border: none;
  border-bottom: 1px solid #999;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  appearance: none;
}

.impoc-form-field select {
  cursor: pointer;
}

.impoc-form-field input::placeholder {
  color: #d8d6d6;
}

.impoc-form-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  margin-top: 0.5rem;
}

.impoc-form-btn {
  background-color: #ffec01;
  color: #000;
  border: none;
  border-radius: 11px;
  min-width: 10rem;
  padding: 0.85rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.impoc-form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.impoc-form-btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.impoc-form-error {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 0, 0, 0.15);
  color: #fff;
  text-align: center;
  display: none;
}

.impoc-form-error.is-visible {
  display: block;
}

.impoc-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Bloqueo defensivo: formularios externos inyectados por CRM legacy */
iframe[src*="pipedrive"],
script[src*="pipedrive"],
.pipedrive-webforms,
.pd-form,
#div-msform iframe,
#div-msform script {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .impoc-form-steps {
    gap: 1rem;
  }

  .impoc-form-step-box {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .impoc-form-actions {
    flex-direction: column;
    align-items: center;
  }

  .impoc-form-btn {
    width: 100%;
  }
}
