.wsq {
  --bg: #020617;
  --card: #0f172a;
  --line: #1e293b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #2563eb;
  --accent2: #38bdf8;
  --ok: #22c55e;
  max-width: 1180px;
  margin: 30px auto;
  padding: 22px;
  background: linear-gradient(135deg, #020617, #071326);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(2, 6, 23, .35);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wsq * { box-sizing: border-box; }

.wsq-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 4px 8px 14px;
}
.wsq-mode-switch {
  display: inline-flex;
  border: 2px solid rgba(234, 179, 8, .4);
  border-radius: 999px;
  padding: 6px;
  background: rgba(15, 23, 42, .85);
  box-shadow: 0 6px 24px rgba(234, 179, 8, .14);
  gap: 4px;
}
.wsq-mode-btn {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s, background .25s, color .2s, box-shadow .25s;
  text-transform: uppercase;
}
.wsq-mode-btn:hover { color: #fde68a; }
.wsq-mode-btn.active {
  background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
  color: #0b1220;
  box-shadow: 0 8px 22px rgba(234, 179, 8, .55), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transform: scale(1.04);
}
.wsq-mode-btn.active:hover { color: #0b1220; }
.wsq-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.wsq-lang-btn {
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(15, 23, 42, .7);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.wsq-lang-btn.active {
  background: var(--accent2);
  color: #020617;
  border-color: var(--accent2);
}

.wsq-hero { padding: 14px 8px 10px; }
.wsq-badge {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, .16);
  font-weight: 700;
  font-size: 13px;
}
.wsq h2 {
  font-size: clamp(28px, 4.5vw, 50px);
  line-height: 1;
  margin: 16px 0 10px;
  letter-spacing: -.04em;
  color: #fff;
}
.wsq h3 { font-size: 22px; margin: 0 0 18px; color: #fff; }
.wsq h4 { margin: 0 0 12px; color: #bfdbfe; }
.wsq p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.wsq-mode-desc { font-style: italic; font-size: 14px; margin-top: 6px; }

.wsq-form {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  padding: 10px 0 0;
}
.wsq-progress {
  grid-column: 1 / -1;
  height: 6px;
  background: #0b1220;
  border-radius: 999px;
  overflow: hidden;
}
.wsq-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: .3s;
  width: 0;
}
.wsq-steps-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wsq-steps-nav button {
  flex: 1 1 auto;
  min-width: 120px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .8);
  color: var(--muted);
  border-radius: 14px;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
}
.wsq-steps-nav button.active {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  border-color: transparent;
}

.wsq-step {
  background: rgba(15, 23, 42, .88);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 22px;
  padding: 22px;
  min-height: 380px;
}
.wsq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wsq label {
  display: block;
  color: #dbeafe;
  font-weight: 700;
  font-size: 14px;
}
.wsq input, .wsq select, .wsq textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #020617;
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.wsq textarea { min-height: 100px; resize: vertical; }
.wsq input:focus, .wsq select:focus, .wsq textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .12);
}

.wsq-services-intro {
  margin: 0 0 14px;
  font-size: 14px;
  color: #bfdbfe;
}
.wsq-catalog {
  display: grid;
  gap: 14px;
  max-height: 600px;
  overflow: auto;
  padding-right: 8px;
}
.wsq-group {
  background: #020617;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  padding: 16px;
}
.wsq-service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  margin: 8px 0;
  background: rgba(15, 23, 42, .7);
  cursor: pointer;
  transition: .15s;
}
.wsq-service:hover { border-color: rgba(56, 189, 248, .45); }
.wsq-service input { width: auto; margin-top: 4px; }
.wsq-service small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 4px;
}
.wsq-service em {
  font-style: normal;
  color: #86efac;
  font-weight: 900;
  white-space: nowrap;
}

.wsq-summary {
  grid-row: 4 / span 4;
  background: linear-gradient(180deg, rgba(37, 99, 235, .20), rgba(15, 23, 42, .92));
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 22px;
  padding: 22px;
  position: sticky;
  top: 20px;
  align-self: start;
}
.wsq-total {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  padding: 18px 0;
  margin: 14px 0;
}
.wsq-points {
  font-size: 22px;
  color: #bfdbfe;
  font-weight: 900;
}
.wsq-euros {
  font-size: 38px;
  line-height: 1;
  color: #fff;
}
.wsq-euros small {
  font-size: 14px;
  color: #cbd5e1;
  margin-left: 6px;
  font-weight: 400;
}
.wsq-note { font-size: 13px; }
.wsq-lines {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
}

.wsq-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}
.wsq-actions button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
}
.wsq-prev { background: #1e293b; color: #e5e7eb; }
.wsq-next, .wsq-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}
.wsq-submit { display: none; }

.wsq-message {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 14px;
  display: none;
}
.wsq-message.ok {
  display: block;
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #bbf7d0;
}
.wsq-message.err {
  display: block;
  background: rgba(239, 68, 68, .14);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #fecaca;
}

.wsq-contract-picker {
  margin-top: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(234, 179, 8, .08), rgba(15, 23, 42, .6));
  border: 1px solid rgba(234, 179, 8, .25);
  border-radius: 18px;
}
.wsq-contract-picker h4 {
  color: #fde68a;
  margin: 0 0 6px;
  font-size: 18px;
}
.wsq-contract-picker-desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: #cbd5e1;
}
.wsq-contract-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.wsq-contract-card {
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: rgba(2, 6, 23, .65);
  padding: 0;
  transition: transform .15s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.wsq-contract-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wsq-contract-card:hover {
  border-color: rgba(234, 179, 8, .55);
  transform: translateY(-2px);
}
.wsq-contract-card.selected {
  border-color: #eab308;
  background: linear-gradient(180deg, rgba(234, 179, 8, .18), rgba(15, 23, 42, .9));
  box-shadow: 0 10px 26px rgba(234, 179, 8, .35);
}
.wsq-contract-card-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  text-align: center;
}
.wsq-contract-tag {
  display: inline-block;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(148, 163, 184, .2);
  color: #e5e7eb;
}
.wsq-contract-tag-pop {
  background: rgba(234, 179, 8, .25);
  color: #fde68a;
}
.wsq-contract-tag-best {
  background: linear-gradient(135deg, #eab308, #facc15);
  color: #0b1220;
}
.wsq-contract-card strong {
  font-size: 20px;
  color: #fff;
  margin-top: 4px;
}
.wsq-tier-chips {
  display: inline-flex;
  align-self: center;
  gap: 4px;
  padding: 4px;
  background: rgba(2, 6, 23, .55);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  margin-top: 6px;
}
.wsq-tier-chip {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.wsq-tier-chip:hover {
  color: #fde68a;
}
.wsq-tier-chip.active {
  background: linear-gradient(135deg, #eab308, #facc15);
  color: #0b1220;
  transform: scale(1.06);
  box-shadow: 0 3px 10px rgba(234, 179, 8, .45);
}
.wsq-contract-points {
  font-size: 13px;
  color: #bfdbfe;
  font-weight: 700;
}
.wsq-contract-price {
  font-size: 22px;
  color: #fde68a;
  font-weight: 900;
  margin-top: 4px;
}
.wsq-contract-recap {
  padding: 12px 14px;
  background: rgba(234, 179, 8, .12);
  border: 1px solid rgba(234, 179, 8, .35);
  border-radius: 12px;
  color: #fde68a;
  font-size: 14px;
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .wsq { padding: 10px; border-radius: 20px; }
  .wsq-form { grid-template-columns: 1fr; }
  .wsq-summary { grid-row: auto; position: static; }
  .wsq-steps-nav button { min-width: 0; }
  .wsq-grid { grid-template-columns: 1fr; }
  .wsq-actions { justify-content: stretch; }
  .wsq-actions button { flex: 1; }
  .wsq h2 { font-size: 30px; }
  .wsq-topbar { flex-direction: column; align-items: stretch; }
  .wsq-mode-switch, .wsq-lang-switch { justify-content: center; }
  .wsq-mode-btn { padding: 12px 18px; font-size: 14px; }
  .wsq-contract-cards { grid-template-columns: 1fr; }
}
