:root {
  --wdq-bg-deep: var(--wd-bg-deep, #050b12);
  --wdq-bg-card: var(--wd-bg-card, #0d1b2b);
  --wdq-bg-hover: var(--wd-bg-card-hover, #11243a);
  --wdq-blue: var(--wd-blue-primary, #086ee5);
  --wdq-blue-bright: var(--wd-blue-bright, #1681ff);
  --wdq-white: var(--wd-white, #ffffff);
  --wdq-text: var(--wd-text-primary, #f5f7fa);
  --wdq-muted: var(--wd-text-secondary, #c5ced9);
  --wdq-soft: var(--wd-text-muted, #8f9cac);
  --wdq-border: var(--wd-border-dark, rgba(255, 255, 255, 0.10));
  --wdq-radius: 8px;
}

.wdq-form {
  width: 100%;
  border: 1px solid var(--wdq-border);
  border-radius: var(--wdq-radius);
  background: linear-gradient(180deg, rgba(13, 27, 43, 0.98), rgba(7, 17, 30, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color: var(--wdq-muted);
}

.wdq-calculator {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 38px);
}

.wdq-contact-form {
  padding: clamp(22px, 3vw, 30px);
}

.wdq-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wdq-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.wdq-progress span {
  color: var(--wdq-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wdq-progress div {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.wdq-progress i {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--wdq-blue), var(--wdq-blue-bright));
  transition: width 220ms ease;
}

.wdq-status {
  min-height: 0;
  margin-bottom: 0;
  color: var(--wdq-white);
  font-weight: 700;
}

.wdq-status:not(:empty) {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 129, 255, 0.42);
  border-radius: 7px;
  background: rgba(8, 110, 229, 0.12);
}

.wdq-status.is-error:not(:empty) {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.22);
}

.wdq-step {
  display: grid;
  gap: 22px;
}

.wdq-step[hidden] {
  display: none;
}

.wdq-label {
  margin: 0;
  color: var(--wdq-blue-bright);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.wdq-step h2 {
  margin: 0;
  color: var(--wdq-text);
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.wdq-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wdq-choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wdq-choice-card {
  cursor: pointer;
}

.wdq-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wdq-choice-card span {
  min-height: 166px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--wdq-radius);
  background: #f7f8fa;
  color: #111827;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.wdq-choice-card input:focus-visible + span {
  outline: 3px solid rgba(22, 129, 255, 0.9);
  outline-offset: 3px;
}

.wdq-choice-card input:checked + span {
  border-color: var(--wdq-blue-bright);
  background: #eef6ff;
  box-shadow: inset 0 0 0 2px rgba(8, 110, 229, 0.22), 0 16px 34px rgba(8, 110, 229, 0.18);
}

.wdq-choice-card span:hover {
  transform: translateY(-3px);
}

.wdq-choice-card strong {
  color: #111827;
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.25;
}

.wdq-choice-card em {
  color: #4b5563;
  font-style: normal;
  line-height: 1.45;
}

.wdq-choice-card b {
  margin-top: auto;
  color: var(--wdq-blue);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.wdq-result {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--wdq-border);
  border-radius: var(--wdq-radius);
  background: rgba(255, 255, 255, 0.03);
}

.wdq-result div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.wdq-result div + div {
  border-top: 1px solid var(--wdq-border);
}

.wdq-result span {
  color: var(--wdq-soft);
}

.wdq-result strong {
  color: var(--wdq-text);
  font-size: 1.05rem;
}

.wdq-result-total {
  background: rgba(8, 110, 229, 0.16);
}

.wdq-result-total strong {
  color: var(--wdq-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.wdq-small {
  margin: 0;
  color: var(--wdq-soft);
  font-size: 0.94rem;
}

.wdq-budget {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.wdq-budget[hidden] {
  display: none;
}

.wdq-budget label,
.wdq-field-grid label {
  display: grid;
  gap: 8px;
  color: var(--wdq-text);
  font-weight: 800;
}

.wdq-money-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--wdq-border);
  border-radius: 7px;
  background: var(--wdq-white);
}

.wdq-money-field span {
  padding-left: 14px;
  color: #111827;
  font-weight: 850;
}

.wdq-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wdq-field-wide {
  grid-column: 1 / -1;
}

.wdq-field-grid input,
.wdq-field-grid textarea,
.wdq-field-grid select,
.wdq-money-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--wdq-white);
  color: #111827;
  padding: 12px 14px;
  line-height: 1.4;
}

.wdq-money-field input {
  border-radius: 0;
  padding-left: 8px;
}

.wdq-field-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.wdq-field-grid input:focus,
.wdq-field-grid textarea:focus,
.wdq-field-grid select:focus,
.wdq-money-field input:focus {
  border-color: var(--wdq-blue-bright);
  outline: 3px solid rgba(22, 129, 255, 0.22);
  outline-offset: 0;
}

.wdq-consent {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: flex-start;
  gap: 12px !important;
  color: var(--wdq-muted) !important;
  font-weight: 650 !important;
}

.wdq-consent input {
  width: 22px !important;
  min-height: 22px !important;
  margin-top: 2px;
  accent-color: var(--wdq-blue);
}

.wdq-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.wdq-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 13px 20px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.wdq-button-primary {
  background: var(--wdq-blue);
  color: var(--wdq-white);
  box-shadow: 0 12px 28px rgba(8, 110, 229, 0.25);
}

.wdq-button-secondary {
  border-color: var(--wdq-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--wdq-text);
}

.wdq-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.wdq-button-primary:hover:not(:disabled) {
  background: var(--wdq-blue-bright);
}

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

.wdq-contact-form .wdq-button {
  width: 100%;
  margin-top: 22px;
}

.cf-turnstile {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .wdq-choice-grid,
  .wdq-choice-grid-two,
  .wdq-field-grid {
    grid-template-columns: 1fr;
  }

  .wdq-choice-card span {
    min-height: 0;
  }

  .wdq-result div {
    display: grid;
    gap: 6px;
  }

  .wdq-actions {
    display: grid;
  }

  .wdq-actions .wdq-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

