.zqb-quiz {
  --zqb-accent: #d77a1f;
  --zqb-secondary: #16324f;
  --zqb-surface: #FFFFFF;
  --zqb-ink: #1c2430;
  --zqb-muted: rgba(60, 63, 68, 0.92);
  --zqb-border: #e2e5ea;
  --zqb-radius: 8px;
  --zqb-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --zqb-heading-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --zqb-badge-bg: #16324f;
  --zqb-badge-text: #ffffff;
  font-family: var(--zqb-font-family);
  color: var(--zqb-ink);
  max-width: 1240px;
  margin: 0 auto;
}

body.page-id-1423 .elementor-location-header,
body.page-id-1423 .elementor-location-footer,
body.page-id-1423 .entry-header,
body.page-id-1423 #ast-scroll-top {
  display: none !important;
}

body.page-id-1423 #content,
body.page-id-1423 .site-content,
body.page-id-1423 #primary,
body.page-id-1423 .ast-article-single,
body.page-id-1423 .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.page-id-1423 #content .ast-container {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 640px) {
  body.page-id-1423 #content .ast-container {
    padding: 12px;
  }
}

.zqb-shell {
  position: relative;
}

.zqb-quiz--hide-progress .zqb-progress {
  display: none;
}

.zqb-quiz--contact-only .zqb-progress,
.zqb-quiz--contact-only .zqb-step-top {
  display: none;
}

.zqb-quiz--contact-only .zqb-contact-grid {
  margin-top: 18px;
}

.zqb-progress {
  height: 6px;
  background: #edf0f3;
  overflow: hidden;
  margin-bottom: 20px;
}

.zqb-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--zqb-accent);
  transition: width 0.25s ease;
}

.zqb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.zqb-layout--intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zqb-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.zqb-card,
.zqb-hero-card,
.zqb-aside-card {
  background: var(--zqb-surface);
  border: 1px solid var(--zqb-border);
  border-radius: var(--zqb-radius);
  box-shadow: 0 14px 36px rgba(28, 36, 48, 0.08);
}

.zqb-card,
.zqb-aside-card {
  padding: 26px;
}

.zqb-card--intro {
  min-height: 100%;
}

.zqb-hero-card {
  min-height: 640px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(215, 122, 31, 0.18), rgba(22, 50, 79, 0.12)),
    linear-gradient(135deg, #fff7ed, #f8fafc);
}

.zqb-hero-image,
.zqb-hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.zqb-hero-fallback {
  background:
    linear-gradient(135deg, #fff7ed, #f8fafc 58%, rgba(215, 122, 31, 0.24));
}

.zqb-offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  margin: 0 0 18px;
  background: var(--zqb-badge-bg);
  color: var(--zqb-badge-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--zqb-radius);
}

.zqb-kicker,
.zqb-mini-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: rgba(215, 122, 31, 0.12);
  color: var(--zqb-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--zqb-radius);
}

.zqb-card h2,
.zqb-card h3 {
  margin: 0 0 14px;
  font-family: var(--zqb-heading-font-family);
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: 0;
}

.zqb-card h3 {
  font-size: 28px;
}

.zqb-description,
.zqb-policy,
.zqb-scenario-chip span,
.zqb-option-description,
.zqb-step-counter,
.zqb-aside-header span,
.zqb-aside-text {
  color: var(--zqb-muted);
  line-height: 1.65;
}

.zqb-description--compact {
  margin-top: 18px;
}

.zqb-scenario-selector {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.zqb-scenario-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--zqb-border);
  border-radius: var(--zqb-radius);
  background: #FFFFFF;
  text-align: left;
  color: var(--zqb-ink);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.zqb-scenario-chip strong {
  color: var(--zqb-ink);
  font-size: 15px;
}

.zqb-scenario-chip.is-active,
.zqb-scenario-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 122, 31, 0.48);
  background: #fff7ed;
  color: var(--zqb-ink);
  box-shadow: 0 12px 24px rgba(28, 36, 48, 0.08);
}

.zqb-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.zqb-step-spacer {
  width: 56px;
}

.zqb-step-counter--hidden {
  visibility: hidden;
}

.zqb-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--zqb-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.zqb-link-button:hover,
.zqb-link-button:focus {
  background: transparent;
  color: var(--zqb-accent);
}

.zqb-options {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.zqb-options--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.zqb-options--list {
  grid-template-columns: 1fr;
}

.zqb-option-button {
  appearance: none;
  display: block;
  position: relative;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--zqb-border);
  border-radius: var(--zqb-radius);
  background: #fff;
  color: var(--zqb-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.zqb-option-button:hover,
.zqb-option-button.is-selected {
  transform: translateY(-1px);
  border-color: rgba(215, 122, 31, 0.48);
  background: #fff7ed;
  color: var(--zqb-ink);
  box-shadow: 0 12px 22px rgba(28, 36, 48, 0.08);
}

.zqb-option-button--image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
}

.zqb-option-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin: 18px 0 0 18px;
  border: 2px solid var(--zqb-secondary);
  background: #fff;
  flex-shrink: 0;
  border-radius: var(--zqb-radius);
  vertical-align: top;
}

.zqb-option-button--multi .zqb-option-check {
  position: absolute;
  top: 0;
  left: 0;
}

.zqb-options--list .zqb-option-button--multi {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
}

.zqb-options--list .zqb-option-button--multi .zqb-option-check {
  position: static;
  margin: 2px 0 0;
}

.zqb-options--list .zqb-option-button--multi .zqb-option-body {
  flex: 1 1 auto;
  padding: 0;
}

.zqb-option-button--multi.is-selected .zqb-option-check {
  background: var(--zqb-secondary);
}

.zqb-option-button--multi.is-selected .zqb-option-check::after {
  content: "";
  width: 6px;
  height: 11px;
  margin: 2px auto 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.zqb-option-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(135deg, rgba(215, 122, 31, 0.16), rgba(22, 50, 79, 0.12));
}

.zqb-option-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
  object-fit: cover;
  object-position: center center;
}

.zqb-option-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 18px 20px 20px;
}

.zqb-option-button:not(.zqb-option-button--image) .zqb-option-body {
  padding: 0;
}

.zqb-option-title {
  color: var(--zqb-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.zqb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.zqb-sub-actions {
  margin-top: 14px;
}

.zqb-button {
  appearance: none;
  border: 1px solid var(--zqb-accent);
  border-radius: 30px;
  padding: 15px 28px;
  background: var(--zqb-accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.zqb-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #c96f19;
  border-color: #c96f19;
  color: #fff !important;
}

.zqb-button:focus:not(:disabled) {
  background: #c96f19;
  border-color: #c96f19;
  color: #fff !important;
}

.zqb-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.zqb-button--secondary {
  border-color: var(--zqb-secondary);
  background: #fff;
  color: var(--zqb-secondary) !important;
}

.zqb-button--secondary:hover:not(:disabled),
.zqb-button--secondary:focus:not(:disabled) {
  border-color: var(--zqb-secondary);
  background: var(--zqb-secondary);
  color: #fff !important;
}

.zqb-aside-wrap {
  min-height: 100%;
}

.zqb-layout--single .zqb-aside-wrap {
  display: none;
}

.zqb-aside-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.zqb-aside-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.zqb-aside-header strong,
.zqb-aside-header span {
  display: block;
}

.zqb-aside-header strong {
  font-size: 14px;
}

.zqb-aside-avatar {
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: rgba(22, 50, 79, 0.12);
  flex-shrink: 0;
  border-radius: var(--zqb-radius);
}

.zqb-aside-avatar-image,
.zqb-aside-avatar-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.zqb-aside-avatar-image {
  object-fit: cover;
}

.zqb-aside-avatar-fallback {
  color: var(--zqb-secondary);
  font-size: 18px;
  font-weight: 700;
}

.zqb-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 22px;
}

.zqb-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zqb-contact-field--phone {
  grid-column: 1 / -1;
  min-width: 0;
}

.zqb-contact-field--full {
  grid-column: 1 / -1;
}

.zqb-contact-field span {
  font-size: 13px;
  font-weight: 700;
}

.zqb-contact-field input,
.zqb-contact-field select,
.zqb-contact-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--zqb-border);
  border-radius: var(--zqb-radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--zqb-ink);
}

.zqb-contact-field input[type="file"] {
  min-height: auto;
  padding: 12px 14px;
  cursor: pointer;
}

.zqb-file-note {
  color: var(--zqb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.zqb-hp {
  position: absolute;
  left: -9999px;
}

.zqb-policy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  color: var(--zqb-muted);
  font-size: 13px;
  line-height: 1.45;
}

.zqb-policy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.zqb-contact-field textarea {
  min-height: 120px;
  resize: vertical;
}

.zqb-phone-row {
  display: grid;
  grid-template-columns: minmax(108px, 118px) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.zqb-phone-country {
  max-width: none;
}

.zqb-phone-row input[name="lead_phone"] {
  min-width: 0;
}

.zqb-contact-field select {
  appearance: none;
  cursor: pointer;
}

.zqb-messenger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.zqb-messenger-option {
  appearance: none;
  border: 1px solid var(--zqb-border);
  border-radius: var(--zqb-radius);
  padding: 14px 16px;
  background: #fff;
  color: var(--zqb-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.zqb-messenger-option.is-selected,
.zqb-messenger-option:hover {
  border-color: var(--zqb-secondary);
  background: var(--zqb-secondary);
  color: #fff;
}

.zqb-inline-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff4f0;
  color: #8c4234;
  border: 1px solid #f0c9c0;
  border-radius: var(--zqb-radius);
}

.zqb-policy {
  margin: 18px 0 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .zqb-layout,
  .zqb-layout--intro {
    grid-template-columns: 1fr;
  }

  .zqb-hero-card,
  .zqb-hero-image,
  .zqb-hero-fallback {
    min-height: 360px;
  }

  .zqb-options--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .zqb-card,
  .zqb-aside-card {
    padding: 22px;
  }

  .zqb-card h2,
  .zqb-card h3 {
    font-size: 24px;
  }

  .zqb-card h3 {
    font-size: 22px;
  }

  .zqb-options--cards,
  .zqb-contact-grid,
  .zqb-messenger-grid {
    grid-template-columns: 1fr;
  }

  .zqb-phone-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .zqb-phone-country {
    max-width: none;
  }
}
