.dwiq {
  --dwiq-navy: #17213b;
  --dwiq-navy-2: #25304b;
  --dwiq-gold: #d8bc86;
  --dwiq-gold-dark: #b99350;
  --dwiq-bg: #f5f3ef;
  --dwiq-white: #ffffff;
  --dwiq-text: #1e2534;
  --dwiq-muted: #6f7480;
  --dwiq-line: #e5e2dc;
  --dwiq-danger: #b42318;
  width: 100%;
  color: var(--dwiq-text);
  font-family: inherit;
}

.dwiq *, .dwiq *::before, .dwiq *::after { box-sizing: border-box; }
.dwiq [hidden] { display: none !important; }

.dwiq__shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: var(--dwiq-white);
  border: 1px solid rgba(23, 33, 59, .08);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(23, 33, 59, .10);
  overflow: hidden;
}

.dwiq__header {
  padding: 34px 38px 28px;
  background:
    radial-gradient(circle at 95% 0%, rgba(216,188,134,.22), transparent 34%),
    var(--dwiq-navy);
  color: var(--dwiq-white);
}

.dwiq__eyebrow,
.dwiq__step-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--dwiq-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dwiq__header h2,
.dwiq__question h3,
.dwiq__success h3 {
  margin: 0;
  letter-spacing: -.025em;
  font-weight: 600;
}

.dwiq__header h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.dwiq__header p { max-width: 690px; margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.65; }

.dwiq__progress { padding: 21px 38px 0; background: var(--dwiq-white); }
.dwiq__progress-track { height: 4px; overflow: hidden; border-radius: 999px; background: #ebe7df; }
.dwiq__progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dwiq-gold-dark), var(--dwiq-gold)); transition: width .35s ease; }
.dwiq__progress-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.dwiq__progress-labels span { color: #a1a5ad; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dwiq__progress-labels span.is-active { color: var(--dwiq-navy); }

.dwiq__form { padding: 30px 38px 38px; }
.dwiq__step { display: none; animation: dwiqFade .3s ease; }
.dwiq__step.is-active { display: block; }
@keyframes dwiqFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.dwiq__question { margin-bottom: 24px; }
.dwiq__question h3 { color: var(--dwiq-navy); font-size: clamp(25px, 3.3vw, 34px); line-height: 1.17; outline: none; }
.dwiq__question p { margin: 8px 0 0; color: var(--dwiq-muted); line-height: 1.55; }

.dwiq__choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dwiq__choice-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 18px; border: 1px solid var(--dwiq-line); border-radius: 17px; background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.dwiq__choice-card:last-child { grid-column: 1 / -1; min-height: 92px; }
.dwiq__choice-card:hover { border-color: rgba(185,147,80,.65); box-shadow: 0 10px 28px rgba(23,33,59,.08); transform: translateY(-2px); }
.dwiq__choice-card.is-selected { border-color: var(--dwiq-gold-dark); background: #fcfaf5; box-shadow: 0 0 0 3px rgba(216,188,134,.18); }
.dwiq__choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.dwiq__choice-number { display: grid; place-items: center; flex: 0 0 43px; height: 43px; border-radius: 50%; background: var(--dwiq-bg); color: var(--dwiq-gold-dark); font-size: 12px; font-weight: 800; }
.dwiq__choice-copy { min-width: 0; flex: 1; }
.dwiq__choice-copy strong { display: block; color: var(--dwiq-navy); font-size: 16px; line-height: 1.3; }
.dwiq__choice-copy small { display: block; margin-top: 5px; color: var(--dwiq-muted); font-size: 13px; line-height: 1.45; }
.dwiq__choice-arrow { color: var(--dwiq-gold-dark); font-size: 22px; transition: transform .2s ease; }
.dwiq__choice-card:hover .dwiq__choice-arrow { transform: translateX(3px); }

.dwiq__conditional { display: none; }
.dwiq__conditional.is-active { display: block; }

.dwiq__field { margin-bottom: 19px; }
.dwiq__field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dwiq__field label:not(.dwiq__mini-choice):not(.dwiq__check-choice) { display: block; margin-bottom: 8px; color: var(--dwiq-navy); font-size: 14px; font-weight: 700; }
.dwiq__field label small { margin-left: 5px; color: var(--dwiq-muted); font-weight: 500; }

.dwiq input[type="text"],
.dwiq input[type="email"],
.dwiq input[type="tel"],
.dwiq select,
.dwiq textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--dwiq-line);
  border-radius: 12px;
  outline: none;
  background: #fbfbfa;
  color: var(--dwiq-text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dwiq textarea { min-height: 120px; resize: vertical; }
.dwiq input:focus, .dwiq select:focus, .dwiq textarea:focus { border-color: var(--dwiq-gold-dark); background: #fff; box-shadow: 0 0 0 4px rgba(216,188,134,.18); }
.dwiq input.is-invalid, .dwiq select.is-invalid, .dwiq textarea.is-invalid { border-color: var(--dwiq-danger); box-shadow: 0 0 0 3px rgba(180,35,24,.10); }

.dwiq__mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dwiq__mini-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dwiq__mini-choice { position: relative; cursor: pointer; }
.dwiq__mini-choice input { position: absolute; opacity: 0; pointer-events: none; }
.dwiq__mini-choice span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 12px; border: 1px solid var(--dwiq-line); border-radius: 12px; background: #fbfbfa; color: var(--dwiq-text); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; transition: .2s ease; }
.dwiq__mini-choice:hover span { border-color: rgba(185,147,80,.65); }
.dwiq__mini-choice input:checked + span { border-color: var(--dwiq-gold-dark); background: #faf5e9; color: var(--dwiq-navy); box-shadow: 0 0 0 3px rgba(216,188,134,.16); }
.dwiq__mini-choice input:focus-visible + span { outline: 3px solid rgba(23,33,59,.23); outline-offset: 2px; }

.dwiq__check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dwiq__check-choice { position: relative; cursor: pointer; }
.dwiq__check-choice input { position: absolute; opacity: 0; pointer-events: none; }
.dwiq__check-choice span { position: relative; display: flex; align-items: center; min-height: 49px; padding: 10px 12px 10px 42px; border: 1px solid var(--dwiq-line); border-radius: 12px; background: #fbfbfa; font-size: 14px; line-height: 1.3; }
.dwiq__check-choice span::before { content: ''; position: absolute; left: 14px; width: 17px; height: 17px; border: 1px solid #b9bdc4; border-radius: 4px; background: #fff; }
.dwiq__check-choice input:checked + span { border-color: var(--dwiq-gold-dark); background: #faf5e9; }
.dwiq__check-choice input:checked + span::before { border-color: var(--dwiq-gold-dark); background: var(--dwiq-gold-dark); box-shadow: inset 0 0 0 4px #fff; }

.dwiq__privacy { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 5px; color: var(--dwiq-muted); font-size: 13px; line-height: 1.55; cursor: pointer; }
.dwiq__privacy input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dwiq-gold-dark); }
.dwiq__privacy a { color: var(--dwiq-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.dwiq__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.dwiq__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.dwiq__btn:hover { transform: translateY(-1px); }
.dwiq__btn--primary, .dwiq__btn--submit { background: var(--dwiq-gold); color: var(--dwiq-navy); box-shadow: 0 10px 26px rgba(185,147,80,.20); }
.dwiq__btn--primary:hover, .dwiq__btn--submit:hover { background: #e0c793; box-shadow: 0 13px 31px rgba(185,147,80,.28); }
.dwiq__btn--ghost { border-color: var(--dwiq-line); background: transparent; color: var(--dwiq-navy); }
.dwiq__btn--ghost:hover { border-color: #c9c5bd; background: #f8f7f4; }
.dwiq__btn--submit { min-width: 245px; }
.dwiq__btn:disabled { opacity: .7; cursor: wait; transform: none; }

.dwiq__spinner { display: none; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(23,33,59,.25); border-top-color: var(--dwiq-navy); border-radius: 50%; animation: dwiqSpin .7s linear infinite; }
.dwiq__btn.is-loading .dwiq__spinner { display: inline-block; }
@keyframes dwiqSpin { to { transform: rotate(360deg); } }

.dwiq__field-error { display: none; margin-top: 7px; color: var(--dwiq-danger); font-size: 12px; font-weight: 600; }
.dwiq__field-error.is-visible { display: block; }
.dwiq__submit-error { margin-top: 18px; padding: 13px 15px; border: 1px solid rgba(180,35,24,.28); border-radius: 10px; background: #fff4f2; color: var(--dwiq-danger); font-size: 13px; line-height: 1.5; }
.dwiq__trust { margin: 13px 0 0; color: #8b8f98; font-size: 12px; text-align: right; }
.dwiq__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.dwiq__success { padding: 58px 38px 64px; text-align: center; outline: none; }
.dwiq__success-mark { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 19px; border-radius: 50%; background: #f4ead5; color: var(--dwiq-gold-dark); font-size: 29px; font-weight: 800; }
.dwiq__success h3 { color: var(--dwiq-navy); font-size: 31px; }
.dwiq__success p { max-width: 560px; margin: 11px auto 24px; color: var(--dwiq-muted); line-height: 1.65; }

@media (max-width: 720px) {
  .dwiq__shell { border-radius: 18px; }
  .dwiq__header { padding: 28px 22px 24px; }
  .dwiq__progress { padding: 18px 22px 0; }
  .dwiq__form { padding: 26px 22px 28px; }
  .dwiq__choice-grid, .dwiq__field-row, .dwiq__check-grid { grid-template-columns: 1fr; }
  .dwiq__choice-card:last-child { grid-column: auto; }
  .dwiq__mini-grid, .dwiq__mini-grid--three { grid-template-columns: 1fr 1fr; }
  .dwiq__progress-labels span { font-size: 9px; }
  .dwiq__nav { align-items: stretch; flex-direction: column-reverse; }
  .dwiq__btn { width: 100%; }
  .dwiq__trust { text-align: center; }
}

@media (max-width: 440px) {
  .dwiq__mini-grid, .dwiq__mini-grid--three { grid-template-columns: 1fr; }
  .dwiq__choice-card { min-height: 98px; padding: 15px; }
  .dwiq__choice-number { flex-basis: 38px; height: 38px; }
  .dwiq__progress-labels span:nth-child(2), .dwiq__progress-labels span:nth-child(3) { text-align: center; }
  .dwiq__progress-labels span:last-child { text-align: right; }
}

/* Elementor/Theme reset and container-based responsiveness */
.dwiq button,
.dwiq input,
.dwiq select,
.dwiq textarea { font-family: inherit !important; }
.dwiq button { text-transform: none !important; letter-spacing: 0 !important; }
.dwiq__shell p, .dwiq__shell h2, .dwiq__shell h3 { max-width: none; }
.dwiq { container-type: inline-size; }

@container (max-width: 690px) {
  .dwiq__header { padding: 27px 23px 23px; }
  .dwiq__progress { padding: 17px 23px 0; }
  .dwiq__form { padding: 25px 23px 28px; }
  .dwiq__choice-grid,
  .dwiq__field-row,
  .dwiq__check-grid { grid-template-columns: 1fr; }
  .dwiq__choice-card:last-child { grid-column: auto; }
  .dwiq__mini-grid,
  .dwiq__mini-grid--three { grid-template-columns: 1fr 1fr; }
}

@container (max-width: 440px) {
  .dwiq__mini-grid,
  .dwiq__mini-grid--three { grid-template-columns: 1fr; }
  .dwiq__progress-labels span { font-size: 8px; }
}
