.lws-progressive-form {
  max-width: 760px;
  margin: 0 auto;
}

.lws-step {
  display: none;
}

.lws-step.is-active {
  display: block;
}

.lws-step label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  color: #17324a;
}

.lws-step input,
.lws-step select,
.lws-step textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  background: #fff;
  color: #17324a;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.lws-step textarea {
  min-height: 120px;
  resize: vertical;
}

.lws-step input:focus,
.lws-step select:focus,
.lws-step textarea:focus {
  outline: none;
  border-color: #2eb5c3;
  box-shadow: 0 0 0 3px rgba(46, 181, 195, 0.15);
}

.lws-help {
  display: block;
  margin: -0.5rem 0 1rem;
  font-size: 0.9rem;
  color: #5e7486;
}

.lws-radio-group,
.lws-checkbox-group {
  display: grid;
  gap: 1.1rem;
  margin: 0 0 1.5rem;
}

.lws-radio-group label,
.lws-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  font-weight: 400;
  color: #17324a;
  line-height: 1.45;
  cursor: pointer;
}

.lws-radio-group input[type="radio"],
.lws-checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 2px solid #8a98a6;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lws-radio-group input[type="radio"] {
  border-radius: 50%;
}

.lws-checkbox-group input[type="checkbox"] {
  border-radius: 4px;
}

.lws-radio-group input[type="radio"]::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
  background: #2eb5c3;
}

.lws-checkbox-group input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform 0.2s ease;
  background: #2eb5c3;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.lws-radio-group input[type="radio"]:checked,
.lws-checkbox-group input[type="checkbox"]:checked {
  border-color: #2eb5c3;
  background: #fff;
}

.lws-radio-group input[type="radio"]:checked::before,
.lws-checkbox-group input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.lws-radio-group input[type="radio"]:focus,
.lws-checkbox-group input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 181, 195, 0.18);
}

.lws-radio-group label span,
.lws-checkbox-group label span {
  display: block;
}

.lws-next-btn,
.lws-start-search,
.lws-submit-lead,
.lws-modal-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 8px;
  background: #2eb5c3;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lws-next-btn:hover,
.lws-start-search:hover,
.lws-submit-lead:hover,
.lws-modal-continue:hover {
  background: #249ca9;
  transform: translateY(-1px);
}

.lws-form-message {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.lws-form-message.is-error {
  background: #fdecec;
  color: #9f1d1d;
}

.lws-form-message.is-success {
  background: #ebf8ef;
  color: #116b34;
}

.lws-step[data-step="contact"] {
  max-width: 560px;
}

.lws-step[data-step="contact"] .cf-turnstile {
  display: block;
  margin: 1rem 0 1rem;
  max-width: 100%;
}

.lws-step[data-step="contact"] iframe {
  max-width: 100%;
}

.lead-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 23, 38, 0.45);
}

.lead-loader-box {
  background: #fff;
  color: #10263a;
  padding: 2rem 2.25rem;
  border-radius: 12px;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.lead-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  border: 4px solid #d6e5ea;
  border-top-color: #20b2c8;
  border-radius: 50%;
  animation: lws-spin 1s linear infinite;
}

.lead-loader-text {
  font-size: 1rem;
  color: #17324a;
}

@keyframes lws-spin {
  to {
    transform: rotate(360deg);
  }
}

.lws-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
}

.lws-modal.is-open {
  display: block;
}

.lws-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 23, 38, 0.58);
}

.lws-modal-dialog {
  position: relative;
  z-index: 2;
  background: #fff;
  width: min(92vw, 620px);
  margin: 10vh auto 0;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.lws-modal-dialog h3 {
  margin: 0 0 1rem;
  color: #17324a;
}

.lws-modal-dialog p {
  margin: 0 0 1rem;
  color: #4b6578;
}

.lws-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #17324a;
}

.lws-modal-close:hover {
  color: #000;
}

@media (max-width: 767px) {
  .lws-progressive-form {
    max-width: 100%;
  }

  .lws-next-btn,
  .lws-start-search,
  .lws-submit-lead,
  .lws-modal-continue {
    width: 100%;
  }

  .lws-modal-dialog {
    margin: 6vh auto 0;
    padding: 1.25rem;
    width: min(92vw, 92vw);
  }
}