.sw-request-wizard {
  --sw-request-accent: #0b4497;
  --sw-request-accent-dark: #083777;
  --sw-request-soft: #e3e6f3;
  --sw-request-border: #d7deea;
  --sw-request-text: #213244;
  --sw-request-muted: #5a6c84;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px);
  background: #ffffff;
  border: 1px solid #dfe6f2;
  box-shadow: 0 20px 52px rgba(9, 34, 73, 0.08);
  color: var(--sw-request-text);
}

.sw-request-progress-wrap {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
  display: none !important;
}

.sw-request-progress-track {
  position: relative;
  height: 14px;
  background: #eef2f8;
  border: 1px solid #cfd9e8;
}

.sw-request-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0b4497 0%, #2f6cc5 100%);
  transition: width 0.26s ease;
}

.sw-request-progress-text {
  margin: 12px 0 0;
  color: #4f6078;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.sw-request-form {
  display: grid;
  gap: 24px;
}

.sw-request-stage {
  min-height: 460px;
}

.sw-request-step {
  opacity: 0;
  transform: translateY(10px);
  animation: sw-request-step-in 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: opacity, transform;
}

@keyframes sw-request-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sw-request-step-header {
  margin-bottom: 26px;
  text-align: center;
}

.sw-request-step-header h3 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.15;
  color: #17304f;
  text-align: center;
}

.sw-request-step-header p {
  margin: 14px 0 0;
  color: var(--sw-request-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sw-request-step-body {
  display: grid;
  gap: 24px;
}

.sw-request-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  justify-items: stretch;
}

.sw-request-choice-card {
  position: relative;
  display: grid;
  gap: 0;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
  text-align: center;
}

.sw-request-choice-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

.sw-request-choice-card:hover,
.sw-request-choice-card:focus-within {
  transform: translateY(-1px);
}

.sw-request-choice-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--sw-request-accent);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(9, 34, 73, 0.12);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.sw-request-choice-card::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sw-request-accent);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.sw-request-choice-card.is-selected::after,
.sw-request-choice-card.is-selected::before {
  opacity: 1;
  transform: scale(1);
}

.sw-request-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sw-request-choice-image {
  display: block;
  overflow: hidden;
  max-width: 250px;
  margin: auto;
  aspect-ratio: 1 / 1;
  border-radius: 100% !important;
  background: #d9e0f04f;
}

.sw-request-choice-image img {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: auto;
  aspect-ratio: 1 / 1;
  border-radius: 100% !important;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.sw-request-choice-icon {
  display: grid;
  place-items: center;
  border-bottom: 1px solid #dee5f0;
  background: #f2f5fa;
  color: #16468d;
}

.sw-request-choice-icon .dashicons,
.sw-request-choice-icon i {
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.sw-request-choice-copy {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.sw-request-choice-copy strong {
  display: block;
  color: #183252;
  font-size: 18px;
  line-height: 1.25;
}

.sw-request-choice-copy small {
  color: #5a6d84;
  line-height: 1.45;
  font-size: 14px;
}

.sw-request-number-wrap {
  display: grid;
  gap: 14px;
  border: 1px solid var(--sw-request-border);
  padding: 24px;
  background: #fbfcfe;
}

.sw-request-number-wrap input[type="range"] {
  --sw-request-thumb-size: 20px;

  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 7px;
  border: 0;
  background: #d9e2f1;
}

.sw-request-number-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0b4497;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #0b4497;
  cursor: pointer;
}

.sw-request-number-wrap input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0b4497;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #0b4497;
  cursor: pointer;
}

.sw-request-number-wrap input[type="range"]::-moz-range-track {
  height: 7px;
  background: #d9e2f1;
  border: 0;
}

.sw-request-slider-wrap {
  position: relative;
  padding-top: 56px;
}

.sw-request-slider-output {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid #b9c8e1;
  background: #ffffff;
  padding: 9px 12px;
  min-width: 72px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #163b71;
}

.sw-request-slider-minmax {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sw-request-slider-minmax span {
  margin: 0;
  color: #5b6e84;
  font-size: 14px;
  font-weight: 600;
}

.sw-request-textarea-wrap textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--sw-request-border);
  padding: 12px;
  font: inherit;
  color: #1d3049;
  resize: vertical;
}

.sw-request-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sw-request-field {
  display: grid;
  gap: 7px;
}

.sw-request-field label {
  color: #1f3554;
  font-weight: 700;
}

.sw-request-field input,
.sw-request-field select {
  min-height: 50px;
  border: 1px solid var(--sw-request-border);
  background: #ffffff;
  padding: 0 12px;
  font: inherit;
  color: #1d3049;
}

.sw-request-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #334a66;
  line-height: 1.5;
  font-size: 14px;
}

.sw-request-consent input {
  margin-top: 3px;
}

.sw-request-summary {
  border: 1px solid var(--sw-request-border);
  background: #fbfcff;
  padding: 18px;
}

.sw-request-summary h4 {
  margin: 0 0 12px;
  color: #17304f;
  font-size: 22px;
  line-height: 1.25;
}

.sw-request-summary table {
  width: 100%;
  border-collapse: collapse;
}

.sw-request-summary th,
.sw-request-summary td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--sw-request-border);
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.5;
}

.sw-request-summary th {
  width: 250px;
  background: #f2f5fb;
  color: #193250;
  font-weight: 700;
}

.sw-request-summary-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dbe3f0;
}

.sw-request-summary-contact strong {
  color: #193250;
}

.sw-request-summary-contact p {
  margin: 6px 0 0;
  line-height: 1.6;
  color: #425a75;
}

.sw-request-hint {
  margin: 0;
  border: 1px solid var(--sw-request-border);
  padding: 12px;
  background: #f8fafd;
  color: #576a83;
}

.sw-request-feedback {
  min-height: 24px;
  margin: 8px 0 0;
  font-weight: 600;
}

.sw-request-feedback.is-error {
  color: #9c1f24;
}

.sw-request-feedback.is-success {
  color: #0f6b2a;
}

.sw-request-feedback.is-info {
  color: #1a4e9b;
}

.sw-request-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
}

.sw-request-actions [hidden],
.sw-request-actions .sw-request-btn[hidden] {
  display: none !important;
}

.sw-request-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--sw-request-border);
  background: #f2f5fb;
  color: #22364f;
  min-height: 50px;
  padding: 0 24px;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sw-request-wizard .sw-request-btn:focus,
.sw-request-wizard .sw-request-btn:focus-visible {
  outline: 2px solid rgba(11, 68, 151, 0.28);
  outline-offset: 2px;
}

.sw-request-btn:hover,
.sw-request-btn:focus-visible {
  border-color: #bccce5;
  background: #e9eef8;
}

.sw-request-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sw-request-btn--ghost {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #63758d;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.sw-request-btn--ghost:hover,
.sw-request-btn--ghost:focus-visible {
  background: transparent;
  border: 0;
  color: #3f5168;
}

.sw-request-wizard .sw-request-btn--ghost {
  background: transparent !important;
  border: 0 !important;
  color: #63758d !important;
  box-shadow: none !important;
}

.sw-request-wizard .sw-request-btn--ghost:hover,
.sw-request-wizard .sw-request-btn--ghost:focus,
.sw-request-wizard .sw-request-btn--ghost:focus-visible,
.sw-request-wizard .sw-request-btn--ghost:active {
  background: transparent !important;
  border: 0 !important;
  color: #3f5168 !important;
  box-shadow: none !important;
}

.sw-request-btn--accent {
  background: var(--sw-request-accent);
  border-color: var(--sw-request-accent);
  color: #ffffff;
}

.sw-request-btn--accent:hover,
.sw-request-btn--accent:focus-visible {
  background: var(--sw-request-accent-dark);
  border-color: var(--sw-request-accent-dark);
}

.sw-request-submit-success {
  border: 1px solid #b7d9c1;
  background: #f1faf4;
  padding: 16px;
}

.sw-request-submit-success h3 {
  margin: 0 0 10px;
  color: #1b5632;
  font-size: 30px;
  line-height: 1.15;
}

.sw-request-submit-success p {
  margin: 0 0 8px;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .sw-request-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sw-request-choice-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .sw-request-choice-image {
    max-width: 180px;
  }

  .sw-request-choice-image img {
    max-width: 180px;
  }

  .sw-request-choice-copy {
    padding: 14px 12px;
  }

  .sw-request-choice-copy strong {
    font-size: 16px;
  }

  .sw-request-choice-copy small {
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 900px) {
  .sw-request-summary th {
    width: 40%;
  }

  .sw-request-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .sw-request-wizard {
    padding: 30px 16px;
  }

  .sw-request-stage {
    min-height: 320px;
  }

  .sw-request-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sw-request-choice-card {
    grid-template-columns: 1fr;
    grid-template-rows: 128px auto;
  }

  .sw-request-choice-card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .sw-request-choice-image,
  .sw-request-choice-icon {
    border-right: 0;
    border-bottom: 1px solid #dee5f0;
  }

  .sw-request-choice-image {
    max-width: 120px;
  }

  .sw-request-choice-image img {
    max-width: 120px;
    height: 128px;
  }

  .sw-request-choice-copy {
    padding: 10px 8px;
    gap: 5px;
  }

  .sw-request-choice-copy strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .sw-request-choice-copy small {
    font-size: 12px;
    line-height: 1.3;
  }

  .sw-request-summary table,
  .sw-request-summary tbody,
  .sw-request-summary tr,
  .sw-request-summary th,
  .sw-request-summary td {
    display: block;
    width: 100%;
  }

  .sw-request-summary tr {
    border: 1px solid var(--sw-request-border);
    margin-bottom: 8px;
  }

  .sw-request-summary th,
  .sw-request-summary td {
    border: 0;
    padding: 8px 10px;
  }

  .sw-request-btn {
    width: 100%;
  }

  .sw-request-btn--ghost {
    width: auto;
  }
}
