/* Квиз сайта wow-doma.ru (23.09.2026).
   Слой поверх собранного SPA: своя разметка и свои стили, чтобы не пересобирать
   приложение. Палитра и типографика — как в сборке: акцент #c9944a, фон #0f1114,
   стекло #1a1d22, шрифт Inter (уже подключён в index.html). */
.pdq, .pdq * { box-sizing: border-box; }
.pdq[hidden] { display: none !important; }
.pdq {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(8, 9, 11, .72);
  backdrop-filter: blur(6px);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}
.pdq__modal {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: linear-gradient(180deg, #1c2026 0%, #14171b 100%);
  border: 1px solid rgba(201, 148, 74, .28);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: 28px 24px 24px;
}
.pdq__bar-track { position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255, 255, 255, .08); border-radius: 24px 24px 0 0; overflow: hidden; }
.pdq__bar { height: 100%; width: 0; background: linear-gradient(90deg, #c9944a, #e7c489);
  transition: width .35s ease; }
.pdq__close, .pdq__back {
  position: absolute; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.pdq__close { right: 14px; }
.pdq__back { left: 14px; }
.pdq__close:hover, .pdq__back:hover { background: rgba(201, 148, 74, .18); border-color: rgba(201, 148, 74, .5); }
.pdq__back[hidden] { display: none; }
.pdq__step { padding-top: 14px; }
.pdq__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #c9944a; margin: 0 0 10px; }
.pdq__title { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 0 0 18px; }
.pdq__opts { display: grid; gap: 10px; }
.pdq__opt {
  width: 100%; text-align: left; padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
  background: rgba(255, 255, 255, .04); color: #fff;
  font: inherit; font-size: 16px; cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.pdq__opt:hover { background: rgba(201, 148, 74, .14); border-color: rgba(201, 148, 74, .55); transform: translateY(-1px); }
.pdq__fields { display: grid; gap: 12px; }
.pdq__fields input[type=text], .pdq__fields input[type=tel] {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 16px;
  color: #fff; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
}
.pdq__fields input::placeholder { color: rgba(255, 255, 255, .42); }
.pdq__fields input:focus { outline: none; border-color: #c9944a; background: rgba(255, 255, 255, .08); }
.pdq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pdq__agree { display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .65); }
.pdq__agree input { margin: 2px 0 0; accent-color: #c9944a; }
.pdq__agree a { color: #c9944a; }
.pdq__submit {
  width: 100%; padding: 16px 20px; font: inherit; font-size: 16px; font-weight: 600;
  color: #15181c; background: linear-gradient(135deg, #e7c489, #c9944a);
  border: 0; border-radius: 999px; cursor: pointer;
  transition: filter .25s, transform .2s;
}
.pdq__submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pdq__submit:disabled { filter: grayscale(.4) brightness(.8); cursor: default; transform: none; }
.pdq__note { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 12px 0 0; }
.pdq__done { text-align: center; padding: 18px 4px 6px; }
.pdq__done-icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  color: #15181c; background: linear-gradient(135deg, #e7c489, #c9944a); }
.pdq__done h3 { font-size: 22px; margin: 0 0 10px; }
.pdq__done p { margin: 0; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.pdq__done a { color: #c9944a; }
@media (max-width: 560px) {
  .pdq__modal { padding: 26px 18px 20px; border-radius: 20px; }
  .pdq__title { font-size: 20px; }
}
