/* Flowpack quiz — UX as in фаршемешалки landing */
:root {
  --mpq-ink: #15181c;
  --mpq-muted: #5c646c;
  --mpq-line: rgba(21, 24, 28, 0.08);
  --mpq-accent: #7365ee;
  --mpq-accent-2: #8842e0;
  --mpq-soft: rgba(115, 101, 238, 0.1);
  --mpq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* десктоп: 3 квадрата в ряд на всю ширину */
  --mpq-card-cols: 3;
  --mpq-card-gap: 14px;
  /* фиксированная зона подписи: radio + 2 строки заголовка */
  --mpq-card-caption-h: auto;
  /* 1 полный ряд крупных карточек + намёк на второй */
  --mpq-choices-h: 520px;
  --mpq-intro-h: 64px;
}

.mpq {
  color: var(--mpq-ink);
  font-family: var(--mp-font, "Inter", sans-serif);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: min(720px, calc(100dvh - var(--mp-header-h, 80px) - 140px));
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--mpq-line);
  box-shadow: 0 8px 24px rgba(21, 24, 28, 0.04);
}

.mpq__head {
  margin-bottom: 28px;
}

.mpq__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mpq-accent-2);
}

.mpq__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mpq-ink);
}

.mpq__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--mpq-muted);
}

.mpq__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.mpq__top .mpq__progress {
  width: 100%;
}

.mpq__expert {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.mpq__expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8e9ee;
}

.mpq__expert-copy strong,
.mpq__expert-copy span {
  display: block;
}

.mpq__expert-copy strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--mpq-ink);
}

.mpq__expert-copy span {
  margin-top: 2px;
  font-size: 12px;
  color: var(--mpq-muted);
}

.mpq__progress {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.mpq__progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mpq__step {
  font-size: 14px;
  font-weight: 500;
  color: var(--mpq-muted);
}

.mpq__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--mpq-accent-2);
  font-variant-numeric: tabular-nums;
}

.mpq__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(21, 24, 28, 0.08);
  overflow: hidden;
}

.mpq__bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mpq-accent), var(--mpq-accent-2));
  transition: width 0.45s var(--mpq-ease);
}

.mpq__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mpq__body > .mpq-panel,
.mpq__body > .mpq-success {
  contain: layout style;
  will-change: opacity, transform;
}

.mpq__body > .mpq-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mpq__body > .mpq-result,
.mpq__body > .mpq-success {
  flex: 1 1 auto;
}

.mpq__body > .is-enter {
  animation: mpq-enter 0.38s var(--mpq-ease) both;
}
.mpq__body > .is-enter-back {
  animation: mpq-enter-back 0.38s var(--mpq-ease) both;
}
.mpq__body > .is-leave {
  animation: mpq-leave 0.24s ease both;
}
.mpq__body > .is-leave-back {
  animation: mpq-leave-back 0.24s ease both;
}

.mpq__body > .is-enter-fade {
  animation: mpq-enter-fade 0.34s var(--mpq-ease) both;
}

.mpq__body > .is-leave-fade {
  animation: mpq-leave-fade 0.22s ease both;
}

@keyframes mpq-enter {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes mpq-enter-back {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes mpq-leave {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-16px);
  }
}
@keyframes mpq-leave-back {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}

@keyframes mpq-enter-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mpq-leave-fade {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpq__body > .is-enter,
  .mpq__body > .is-enter-back,
  .mpq__body > .is-leave,
  .mpq__body > .is-leave-back,
  .mpq__body > .is-enter-fade,
  .mpq__body > .is-leave-fade {
    animation: none;
  }
}

.mpq__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  flex-shrink: 0;
  background: transparent;
  border-top: 0;
}

.mpq__foot[hidden] {
  display: none !important;
}

.mpq__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.2s var(--mpq-ease), border-color 0.2s var(--mpq-ease), opacity 0.2s;
}

.mpq__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mpq__btn--ghost {
  padding: 14px 18px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(22, 20, 36, 0.16);
  color: var(--mpq-ink);
}

.mpq__btn--ghost:hover:not(:disabled) {
  border-color: rgba(22, 20, 36, 0.28);
  background: rgba(21, 24, 28, 0.04);
}

.mpq__btn--cta {
  margin-left: auto;
  min-width: 200px;
  padding: 15px 22px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(95deg, var(--mpq-accent) 0%, var(--mpq-accent-2) 100%);
}

.mpq__btn--cta:hover:not(:disabled) {
  background: linear-gradient(95deg, #6556e0 0%, #7736d4 100%);
}

.mpq__btn--cta.is-ready {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(115, 101, 238, 0.35);
  animation: mpq-cta-pulse 1.7s var(--mpq-ease) infinite;
}

.mpq__foot.is-multi-ready .mpq__btn--cta {
  min-width: 200px;
}

@keyframes mpq-cta-pulse {
  0% {
    box-shadow: 0 8px 22px rgba(115, 101, 238, 0.32);
  }
  55% {
    box-shadow: 0 10px 28px rgba(115, 101, 238, 0.48);
  }
  100% {
    box-shadow: 0 8px 22px rgba(115, 101, 238, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpq__btn--cta.is-ready {
    animation: none;
  }
}

.mpq-panel {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mpq-panel__intro {
  min-height: var(--mpq-intro-h);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.mpq-panel h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--mpq-ink);
}

.mpq-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mpq-muted);
}

.mpq-multi-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--mpq-muted);
}

.mpq-multi-hint__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mpq-accent-2);
  background: var(--mpq-soft);
  border: 1px solid rgba(115, 101, 238, 0.18);
}

.mpq-option__img:not([src]) {
  opacity: 0;
}

.mpq-option__img[src] {
  opacity: 1;
  transition: opacity 0.25s var(--mpq-ease);
}

.mpq-choices {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  min-height: var(--mpq-choices-h);
  contain: layout paint;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* запас под обводку выбранной карточки, чтобы не обрезалась */
  padding: 6px 10px 14px 6px;
  margin: 0 -4px 0 0;
  -webkit-overflow-scrolling: touch;
}

.mpq-choices.is-scrollable {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.mpq-choices.is-scrollable.is-scrolled-end {}

.mpq-choices::-webkit-scrollbar {
  width: 6px;
}

.mpq-choices::-webkit-scrollbar-thumb {
  background: rgba(22, 20, 36, 0.22);
  border-radius: 999px;
}

.mpq-choices::-webkit-scrollbar-track {
  background: transparent;
}

.mpq-options {
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (min-width: 720px) {
  .mpq-options {
    grid-template-columns: 1fr 1fr;
  }
  .mpq-options--single {
    grid-template-columns: 1fr 1fr;
  }
}

.mpq-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(22, 20, 36, 0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: var(--mpq-ink);
  font: inherit;
  transition: border-color 0.15s var(--mpq-ease), background 0.15s var(--mpq-ease);
}

.mpq-options--images {
  grid-template-columns: repeat(var(--mpq-card-cols), minmax(0, 1fr));
  justify-content: start;
  align-content: start;
  justify-items: stretch;
  gap: var(--mpq-card-gap);
}

.mpq-options--images .mpq-option--image {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "media media"
    "radio text";
  gap: 8px;
  align-items: start;
  justify-items: stretch;
  padding: 12px;
}

.mpq-option__media {
  grid-area: media;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  height: auto;
  max-width: none;
  aspect-ratio: 1;
  justify-self: stretch;
  padding: 0;
  border-radius: 8px;
  background: #f1f2f6;
  border: 1px solid rgba(22, 20, 36, 0.06);
  overflow: hidden;
}

.mpq-options--images .mpq-option__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

.mpq-options--images .mpq-option__radio {
  grid-area: radio;
  margin-top: 2px;
  justify-self: start;
  align-self: start;
}

.mpq-options--images .mpq-option__text {
  grid-area: text;
  min-width: 0;
  height: auto;
  text-align: left;
  justify-self: stretch;
  align-self: start;
}

.mpq-options--images .mpq-option__title {
  display: block;
  overflow: visible;
  height: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.mpq-bonus {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(115, 101, 238, 0.06);
  border: 1px solid rgba(115, 101, 238, 0.16);
}

.mpq-bonus img {
  width: 92px;
  height: 36px;
  object-fit: contain;
}

.mpq-bonus strong,
.mpq-bonus span {
  display: block;
}

.mpq-bonus strong {
  font-size: 14px;
}

.mpq-bonus span {
  margin-top: 2px;
  font-size: 12px;
  color: var(--mpq-muted);
}

.mpq-option:hover {
  border-color: rgba(115, 101, 238, 0.5);
  box-shadow: 0 6px 18px rgba(115, 101, 238, 0.1);
}

.mpq-option.is-selected {
  border-color: var(--mpq-accent);
  background: rgba(115, 101, 238, 0.1);
  box-shadow: inset 0 0 0 1px var(--mpq-accent);
}

.mpq-option:disabled {
  cursor: default;
  opacity: 1;
}

.mpq-option.is-selected:disabled {
  transform: none;
}

.mpq-option__radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 20, 36, 0.25);
  display: grid;
  place-items: center;
}

.mpq-option.is-selected .mpq-option__radio {
  border-color: var(--mpq-accent);
}

.mpq-option.is-selected .mpq-option__radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mpq-accent);
}

.mpq-option__title {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

.mpq-option__meta {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--mpq-muted);
  line-height: 1.35;
}

.mpq-other {
  margin-top: 12px;
}

.mpq-other input,
.mpq-field input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(22, 20, 36, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--mpq-ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s var(--mpq-ease), box-shadow 0.2s var(--mpq-ease);
}

.mpq-other input:focus,
.mpq-field input:focus {
  border-color: rgba(115, 101, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(115, 101, 238, 0.12);
}

.mpq-result__card {
  padding: 16px;
  border-radius: 10px;
  background: rgba(115, 101, 238, 0.08);
  border: 1px solid rgba(115, 101, 238, 0.2);
}

.mpq-result__sheet {
  box-sizing: border-box;
  width: 100%;
}

.mpq-result__title {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--mpq-ink);
}

.mpq-result__text {
  margin: 0;
  color: var(--mpq-muted);
  font-size: 15px;
  line-height: 1.5;
}

.mpq-result__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mpq-accent);
}

.mpq-result__card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mpq-ink);
}

.mpq-result__card p {
  margin: 0;
  color: var(--mpq-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mpq-result__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mpq-result__tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(115, 101, 238, 0.08);
  border: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mpq-ink);
}

.mpq-result__layout {
  display: grid;
  gap: 24px;
}

.mpq-result__aside {
  display: grid;
  gap: 0;
  align-content: start;
}

.mpq-result__form-col {
  min-width: 0;
}

.mpq-form {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.mpq-form__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Contact step — одна поверхность, без вложенных карточек */
.mpq.is-contact .mpq__body > .mpq-result {
  flex: 0 1 auto;
  min-height: 0;
  width: 100%;
}

.mpq.is-contact .mpq-result__sheet {
  padding: 0;
}

.mpq.is-contact .mpq-result__layout {
  height: auto;
  align-items: start;
}

.mpq.is-contact .mpq-result__aside {
  padding: 0;
}

.mpq.is-contact .mpq-result__form-col {
  padding: 0;
}

.mpq.is-contact .mpq-form {
  display: grid;
  gap: 12px;
  padding: 0;
}

.mpq.is-contact .mpq-field input {
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 10px;
  background: #f8f9fc;
  border-color: rgba(21, 24, 28, 0.1);
}

.mpq.is-contact .mpq-field input:focus {
  background: #fff;
}

.mpq.is-contact .mpq-form__submit {
  margin-top: 4px;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 0;
  min-height: 52px;
  padding: 15px 28px;
  font-size: 15px;
}

.mpq-form__submit {
  width: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  justify-content: center;
  align-self: flex-start;
}

.mpq-form__submit.mpq__btn--cta {
  margin-left: 0;
}

@media (min-width: 900px) {
  .mpq-result__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  .mpq-result__card h3 {
    font-size: 22px;
  }

  .mpq-form__title {
    font-size: 20px;
  }

  .mpq-form__submit {
    width: auto;
    min-width: 260px;
  }

  .mpq.is-contact .mpq-result__layout {
    align-items: start;
    gap: 0;
  }

  .mpq.is-contact .mpq-result__aside {
    padding-right: 32px;
    border-right: 1px solid rgba(21, 24, 28, 0.08);
  }

  .mpq.is-contact .mpq-result__form-col {
    padding-left: 32px;
  }

  .mpq.is-contact .mpq-result__title {
    font-size: 22px;
  }
}

.mpq-field {
  display: grid;
  gap: 6px;
}

.mpq-field label {
  font-size: 13px;
  font-weight: 600;
}

.mpq-field.is-error input {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.mpq-field.is-valid input {
  border-color: rgba(46, 160, 98, 0.55);
}

.mpq-field__error {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #d64545;
}

.mpq-field__error[hidden] {
  display: none;
}

.mpq-consent-wrap {
  display: grid;
  gap: 6px;
}

.mpq-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mpq-muted);
  cursor: pointer;
}

.mpq-consent-wrap.is-error .mpq-consent {
  border-color: rgba(214, 69, 69, 0.35);
  background: rgba(214, 69, 69, 0.05);
  color: #b33a3a;
}

.mpq-consent-wrap.is-valid .mpq-consent {
  border-color: rgba(46, 160, 98, 0.25);
}

.mpq-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--mpq-accent);
}

.mpq-consent a {
  color: var(--mpq-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mpq-success {
  text-align: center;
  padding: 56px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--mpq-line);
}

.mpq-success__icon {
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.mpq-success h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mpq-success p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--mpq-muted);
  line-height: 1.45;
  font-size: 16px;
}

@media (max-width: 720px) {
  /*
    overflow-x: clip на html/body/main ломает position:sticky у футера.
    На мобилке снимаем clip — горизонтальный скролл режется на #quiz.
  */
  html,
  body,
  main {
    overflow-x: visible;
  }

  #quiz,
  #quiz .container,
  #quiz .mpq-mount {
    overflow: visible !important;
  }

  /*
    Инлайн-квиз на мобилке — обычный поток документа:
    без min-height: 100dvh (скачет «Далее») и без вложенного scroll (блокирует страницу).
  */
  #quiz.section-quiz {
    display: block;
    min-height: 0;
    padding: 12px 0 16px !important;
  }

  #quiz.section-quiz > .container {
    display: block;
    min-height: 0;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #quiz.section-quiz .section-title {
    margin: 0 12px 10px;
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 1.25;
  }

  #quiz .mpq-mount {
    display: block;
    min-height: 0;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  #quiz .mpq {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    padding: 10px 6px 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  #quiz .mpq__body {
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
  }

  #quiz .mpq__body > .mpq-panel {
    flex: 0 1 auto;
    min-height: 0;
  }

  #quiz .mpq-choices {
    flex: 0 1 auto;
    min-height: 0 !important;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    contain: none;
    padding: 2px 1px 6px;
    margin: 0;
  }

  #quiz .mpq-choices.is-scrollable {
    overflow-y: visible;
    overscroll-behavior: auto;
  }

  /* «Далее» — сразу под контентом, sticky только когда шаг длинный */
  #quiz .mpq__foot {
    position: sticky;
    bottom: 0;
    z-index: 40;
    flex-shrink: 0;
    margin: 12px 0 0;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--mpq-line);
    box-shadow: 0 -8px 20px rgba(21, 24, 28, 0.06);
  }

  .mpq-panel h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .mpq__top {
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 10px;
  }

  .mpq__progress {
    flex-basis: 100%;
  }

  .mpq__btn--cta {
    min-width: 0;
    flex: 1;
  }

  .mpq__btn--ghost {
    flex: 0 0 auto;
  }

  .mpq-panel__intro {
    min-height: 0;
    margin-bottom: 8px;
  }

  /* Адаптив: весь текст квиза не мельче 14px */
  .mpq,
  .mpq__eyebrow,
  .mpq__expert-copy span,
  .mpq__step,
  .mpq-desc,
  .mpq-multi-hint,
  .mpq-multi-hint__badge,
  .mpq-panel__intro p,
  .mpq-option__title,
  .mpq-option__meta,
  .mpq-options--images .mpq-option__title,
  .mpq-bonus span,
  .mpq-result__eyebrow,
  .mpq-result__tags span,
  .mpq-field label,
  .mpq-field__error,
  .mpq-consent,
  .mpq__btn {
    font-size: 14px;
  }

  :root {
    --mpq-card-cols: 2;
    --mpq-card-gap: 8px;
    --mpq-choices-h: 0px;
    --mpq-intro-h: 48px;
  }

  /* Контактный шаг — форма не обрезается, колонки друг под другом */
  .mpq.is-contact {
    min-height: 0;
    height: auto;
  }

  #quiz.section-quiz .mpq.is-contact {
    flex: none;
  }

  #quiz .mpq.is-contact .mpq__body {
    overflow: visible;
    overscroll-behavior: auto;
  }

  .mpq.is-contact .mpq__body {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: visible;
    overscroll-behavior: auto;
  }

  .mpq.is-contact .mpq-result__sheet {
    padding: 20px 16px 22px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--mpq-line);
  }

  .mpq.is-contact .mpq-result__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mpq.is-contact .mpq-result__aside {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(21, 24, 28, 0.08);
  }

  .mpq.is-contact .mpq-result__form-col {
    padding-left: 0;
    padding-top: 20px;
  }

  .mpq.is-contact .mpq-result__title {
    font-size: 20px;
  }

  .mpq.is-contact .mpq-form__submit {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}


