.cq-card {
  max-width: 720px;
  margin: 20px auto;
  background: var(--cq-card-bg, #fff);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px;
  overflow: hidden;
  font-family: var(--cq-font, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  color: #111; /* ensure visibility */
}

.cq-title { text-align: center; }

.cq-center { text-align: center; }

.cq-thanks {
  font-size: 16px;
  margin-top: 8px;
}

.cq-progress {
  height: 8px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.cq-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--cq-btn-primary, var(--cq-accent, #9ad7ff));
  transition: width .25s ease;
}

.cq-slides { position: relative; }
.cq-slide { display: none; }
.cq-slide.is-active { display: block; animation: cqIn .25s ease; }

@keyframes cqIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cq-slide h3 { margin: 6px 0 14px; font-size: 22px; text-align:center; }
.cq-slide h2 { text-align:center; }

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

.cq-choice {
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  font-weight: 650;
  transition: transform .06s ease, border-color .15s ease;
  color: #111;
}
.cq-choice:hover { transform: translateY(-1px); }
.cq-choice.is-selected {
  border-color: var(--cq-accent, #9ad7ff);
  box-shadow: 0 0 0 3px rgba(154,215,255,.35);
}

.cq-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.cq-btn {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  color: #0b0b0b;
}
.cq-btn[disabled] { opacity: .45; cursor: not-allowed; }

.cq-btn--primary {
  background: var(--cq-btn-primary, var(--cq-accent, #9ad7ff)); /* always highlighted */
}

.cq-btn--ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,.12);
  color: #111;
}

.cq-btn--full { width: 100%; margin-top: 10px; }

.cq-callout {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(154,215,255,.18);
}

.cq-form { margin-top: 12px; }
.cq-row { display: grid; gap: 6px; margin: 10px 0; }
.cq-row--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.cq-row label { font-weight: 650; font-size: 14px; opacity: .85; }

.cq-form input, .cq-form textarea {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 16px;
  width: 100%;
  color: #111;
  background: #fff;
}

.cq-price {
  font-size: 34px;
  font-weight: 900;
  margin: 8px 0 6px;
}

.cq-small { font-size: 13px; opacity: .75; margin-top: 8px; }
.cq-disclaimer { margin-top: 6px; }

@media (max-width: 520px) {
  .cq-grid { grid-template-columns: 1fr; }
  .cq-row--2 { grid-template-columns: 1fr; }
}

.cq-btn--primary:hover { background: var(--cq-btn-primary-hover, var(--cq-btn-primary, var(--cq-accent, #9ad7ff))); }
.cq-btn--submit { background: var(--cq-btn-submit, var(--cq-btn-primary, var(--cq-accent, #9ad7ff))); }
.cq-btn--submit:hover { background: var(--cq-btn-submit-hover, var(--cq-btn-submit, var(--cq-btn-primary, var(--cq-accent, #9ad7ff)))); }
.cq-btn--ghost:hover { background: rgba(0,0,0,.04); }
