/* =========================================================================
   Невские Кухни - Квиз. Все стили scoped под .nkq-quiz, префикс nkq-.
   Не конфликтует с BeTheme: внутренний reset + собственная типографика.
   ========================================================================= */

.nkq-quiz {
	/* Палитра бренда */
	--nkq-yellow: #FFDD6F;          /* акцент/бордеры */
	--nkq-gold: #FFCB3D;            /* основная CTA */
	--nkq-gold-press: #F5BE27;
	--nkq-ink: #2C2C2E;             /* основной текст/заголовки */
	--nkq-grey: #4E4E53;            /* вторичный текст (бренд) */
	--nkq-muted: #8A8A90;           /* подписи */
	--nkq-bg: #FBF8F1;              /* фон полотна */
	--nkq-panel: #FFFFFF;           /* карточки */
	--nkq-cream: #FBF6E4;           /* блок скидки */
	--nkq-line: #ECEAE3;            /* границы */
	--nkq-line-soft: #F1EFE8;

	--nkq-radius: 8px;
	--nkq-radius-sm: 6px;
	--nkq-shadow: 0 18px 50px rgba(40, 38, 30, 0.10);
	--nkq-shadow-card: 0 8px 22px rgba(40, 38, 30, 0.06);
	--nkq-cta-shadow: 0 6px 16px rgba(245, 190, 39, 0.32);
	--nkq-screen-h: 600px;   /* единая высота всех экранов квиза */

	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--nkq-ink);
	line-height: 1.4;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.nkq-quiz *,
.nkq-quiz *::before,
.nkq-quiz *::after { box-sizing: border-box; }

/* Shadow DOM host - изоляция от темы */
:host { display: block; width: 100%; }

.nkq-quiz button,
.nkq-quiz input {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}
.nkq-quiz :where(button) { cursor: pointer; border: 0; background: none; }
.nkq-quiz img { max-width: 100%; display: block; }
/* Базовый размер любой иконки (icon()). Контекстные классы переопределяют. */
.nkq-quiz :where(.nkq-ico) { width: 18px; height: 18px; object-fit: contain; flex: none; }
.nkq-quiz a { color: var(--nkq-gold-press); }

/* ---------- Кнопка-триггер (если рендерится шорткодом) ---------- */
.nkq-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	background: var(--nkq-gold);
	color: var(--nkq-ink);
	font-weight: 700;
	border-radius: 8px;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.nkq-trigger:hover { background: var(--nkq-yellow); transform: translateY(-1px); box-shadow: var(--nkq-shadow-card); }

/* =========================================================================
   КАРКАС КВИЗА
   ========================================================================= */
.nkq-app {
	background: var(--nkq-bg);
	border-radius: var(--nkq-radius);
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
	min-height: var(--nkq-screen-h);
}

/* Шапка с логотипом и соц-доказательством */
.nkq-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 28px;
	background: #FCFBF6;
}
.nkq-logo { height: 40px; }
.nkq-logo--fallback {
	font-weight: 800; letter-spacing: .04em; line-height: .95;
	color: var(--nkq-grey); font-size: 18px; text-transform: uppercase;
}
.nkq-logo--fallback small { display:block; font-size: 8px; letter-spacing:.22em; font-weight:600; }

.nkq-proof { display: flex; gap: 30px; }
.nkq-proof__item { text-align: center; line-height: 1.15; }
.nkq-proof__top { display: flex; align-items: center; gap: 6px; justify-content: center; }
.nkq-proof__val { font-weight: 800; font-size: 21px; letter-spacing: .01em; }
.nkq-proof__stars { color: var(--nkq-gold); font-size: 12px; letter-spacing: 1px; }
.nkq-proof__label { font-size: 11px; color: var(--nkq-muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }

/* Прогресс-полоса под шапкой: полупрозрачный трек + заполнение + явная "загрузка" */
.nkq-topbar { height: 6px; background: rgba(255, 221, 111, 0.30); overflow: hidden; }
.nkq-topbar__fill {
	height: 100%; width: 0%; position: relative; overflow: hidden;
	background: linear-gradient(90deg, var(--nkq-gold), var(--nkq-yellow));
	transition: width .7s cubic-bezier(.22,.61,.36,1);
}
/* Бегущие диагональные полосы = понятная анимация движения вперёд */
.nkq-topbar__fill::before {
	content: ""; position: absolute; inset: 0;
	background-image: repeating-linear-gradient(135deg,
		rgba(255,255,255,0) 0 9px, rgba(255,255,255,.32) 9px 18px);
	background-size: 25px 100%;
	animation: nkq-stripes .9s linear infinite;
}
/* Периодический блик поверх */
.nkq-topbar__fill::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
	transform: translateX(-100%);
	animation: nkq-shimmer 2.4s ease-in-out infinite;
}
.nkq-topbar--slow .nkq-topbar__fill::before { animation-duration: 1.5s; }
.nkq-topbar--slow .nkq-topbar__fill::after { animation-duration: 3.4s; }

/* Двухколоночная сетка: основное + сайдбар. Заполняет высоту экрана. */
.nkq-body {
	display: grid;
	grid-template-columns: 1fr 360px;
	flex: 1;
	min-height: 0;
}
.nkq-main { padding: 30px 34px 26px; position: relative; display: flex; flex-direction: column; min-width: 0; }
.nkq-side {
	padding: 26px 26px 22px;
	border-left: 1px solid var(--nkq-line);
	background: #FCFBF6;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* ---------- Блок скидки (сайдбар) ---------- */
.nkq-disc {
	border: 1.5px solid var(--nkq-yellow);
	background: var(--nkq-cream);
	border-radius: var(--nkq-radius);
	padding: 18px 20px;
}
.nkq-disc__row { display: flex; align-items: baseline; justify-content: space-between; }
.nkq-disc__label { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.nkq-disc__valwrap { display: inline-flex; align-items: center; gap: 6px; }
.nkq-disc__val { font-size: 34px; font-weight: 800; }
.nkq-disc__up {
	font-size: 15px; line-height: 1; color: var(--nkq-gold-press);
	display: inline-block; animation: nkq-bob 1.3s ease-in-out infinite;
}
.nkq-disc__bar { height: 6px; border-radius: 6px; background: #EBDFA8; margin: 12px 0 10px; overflow: hidden; position: relative; }
.nkq-disc__bar::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
	transform: translateX(-100%);
	animation: nkq-shimmer 2.6s ease-in-out infinite;
}
.nkq-disc__fill {
	height: 100%; width: 0%; position: relative; overflow: hidden;
	background: linear-gradient(90deg, var(--nkq-gold), var(--nkq-yellow));
	border-radius: 6px;
	transition: width .7s cubic-bezier(.22,.61,.36,1);
}
.nkq-disc__fill::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
	transform: translateX(-100%);
	animation: nkq-shimmer 2.2s ease-in-out infinite;
}
.nkq-disc__note { font-size: 14px; color: var(--nkq-grey); }

/* ---------- Бонусы ---------- */
.nkq-bonuses__title,
.nkq-block-title {
	font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--nkq-muted); margin: 22px 0 12px; font-weight: 700;
}
.nkq-bonus {
	position: relative;
	display: flex; align-items: center; gap: 12px;
	border: 1.5px solid var(--nkq-yellow);
	border-radius: var(--nkq-radius-sm);
	padding: 14px 16px;
	background: var(--nkq-panel);
	margin-bottom: 12px;
}
.nkq-bonus__icon { width: 26px; height: 26px; color: var(--nkq-gold-press); flex: none; }
.nkq-bonus__title { font-weight: 700; font-size: 15px; }
.nkq-bonus__sub { font-size: 13px; color: var(--nkq-muted); }
.nkq-bonus__check {
	position: absolute; top: -9px; right: -9px;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--nkq-gold); color: var(--nkq-ink);
	display: grid; place-items: center; font-size: 13px;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* ---------- Консультант ---------- */
.nkq-consult { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--nkq-line); }
.nkq-consult__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.nkq-consult__ava {
	width: 46px; height: 46px; border-radius: 50%;
	background: transparent; color: var(--nkq-grey); font-weight: 800;
	display: grid; place-items: center; font-size: 16px; overflow: visible; flex: none;
	position: relative;
}
.nkq-consult__ava img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; }
.nkq-consult__ava::after {
	content: ""; position: absolute; right: -1px; bottom: -1px; z-index: 2;
	width: 12px; height: 12px; border-radius: 50%;
	background: #38B86A; border: 2px solid #fff;
}
.nkq-consult__name { font-weight: 700; font-size: 16px; }
.nkq-consult__role { font-size: 13px; color: var(--nkq-muted); }
.nkq-consult__bubble {
	background: #F4F2EC; border-radius: 8px; padding: 14px 16px;
	font-size: 14px; color: var(--nkq-grey); position: relative;
}
.nkq-consult__bubble::before {
	content: ""; position: absolute; top: -7px; left: 22px;
	border-left: 7px solid transparent; border-right: 7px solid transparent;
	border-bottom: 7px solid #F4F2EC;
}

/* =========================================================================
   ОСНОВНАЯ КОЛОНКА: вопрос, карточки, навигация
   ========================================================================= */
.nkq-step__meta {
	display: flex; align-items: center; gap: 10px;
	color: var(--nkq-gold-press); font-weight: 700; font-size: 13px;
	letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px;
}
.nkq-step__meta::before { content: ""; width: 26px; height: 2px; background: var(--nkq-gold-press); }
.nkq-step__q { font-size: 26px; font-weight: 800; line-height: 1.18; margin: 0 0 14px; max-width: 22ch; }

.nkq-hint {
	display: inline-flex; align-items: center; gap: 8px;
	align-self: flex-start; width: auto; max-width: 100%;
	background: var(--nkq-yellow); color: var(--nkq-ink);
	font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 6px;
	margin-bottom: 20px;
}
.nkq-hint--plain { background: #EFECE3; color: var(--nkq-grey); }

/* ---------- Карточки с картинками (планировка / фасады) ---------- */
.nkq-cards-wrap { position: relative; min-width: 0; max-width: 100%; }
.nkq-cards {
	display: flex; flex-wrap: nowrap; gap: 16px;
	width: 100%; min-width: 0; max-width: 100%;
	overflow-x: auto; scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch; touch-action: pan-x;
	padding-bottom: 6px; scrollbar-width: none; cursor: grab;
}
.nkq-cards.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.nkq-cards::-webkit-scrollbar { display: none; }

.nkq-card {
	position: relative; flex: 0 0 calc((100% - 64px) / 5); min-width: 132px;
	display: flex; flex-direction: column;
	border: 2px solid var(--nkq-line); border-radius: var(--nkq-radius);
	background: var(--nkq-panel); padding: 0 0 14px; overflow: hidden;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
	text-align: center;
}
.nkq-card:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(40,38,30,.06); }
.nkq-card.is-selected { border-color: var(--nkq-yellow); box-shadow: 0 3px 12px rgba(245,190,39,.16); }
.nkq-card__media {
	position: relative; height: 150px; background: #EFEDE6; flex: none;
	display: grid; place-items: center; overflow: hidden;
}
.nkq-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nkq-card__ph { font-size: 12px; color: var(--nkq-muted); padding: 8px; text-align: center; }
.nkq-card__title { font-weight: 700; font-size: 15px; margin: 12px 12px 4px; }
.nkq-card__sub { font-size: 13px; color: var(--nkq-muted); margin: 0 12px; }
.nkq-card__mark {
	position: absolute; top: 10px; right: 10px;
	width: 30px; height: 30px; border-radius: 50%;
	background: #fff; border: 1px solid var(--nkq-line);
	display: grid; place-items: center; color: transparent;
	transition: background .15s ease, color .15s ease;
}
.nkq-card.is-selected .nkq-card__mark { background: var(--nkq-gold); color: var(--nkq-ink); border-color: var(--nkq-gold); }

/* Галочка-img внутри кружков скрыта, пока вариант не выбран (SVG нельзя гасить через color) */
.nkq-card__mark .nkq-ico,
.nkq-opt__radio .nkq-ico,
.nkq-chan__dot .nkq-ico { opacity: 0; transition: opacity .15s ease; }
.nkq-card.is-selected .nkq-card__mark .nkq-ico,
.nkq-opt.is-selected .nkq-opt__radio .nkq-ico,
.nkq-chan.is-selected .nkq-chan__dot .nkq-ico { opacity: 1; }

/* Стрелки карусели (десктоп) */
.nkq-arrow {
	position: absolute; top: 40%; z-index: 3;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--nkq-gold); color: var(--nkq-ink);
	display: grid; place-items: center;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
	transition: transform .15s ease, opacity .15s ease;
}
.nkq-arrow:hover { transform: scale(1.07); }
.nkq-arrow[hidden] { display: none; }
.nkq-arrow--next { right: -6px; }
.nkq-arrow--prev { left: -6px; }

/* ---------- Список-ответы (площадь / сроки) ---------- */
.nkq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nkq-opt {
	display: flex; align-items: center; gap: 14px;
	border: 1.5px solid var(--nkq-line); border-radius: var(--nkq-radius);
	padding: 18px 20px; background: var(--nkq-panel); text-align: left;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.nkq-opt:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(40,38,30,.05); }
.nkq-opt.is-selected { border-color: var(--nkq-yellow); background: #FFFDF6; }
.nkq-opt__radio {
	width: 26px; height: 26px; border-radius: 50%;
	border: 2px solid var(--nkq-line); flex: none;
	display: grid; place-items: center; color: transparent;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nkq-opt.is-selected .nkq-opt__radio { background: var(--nkq-gold); border-color: var(--nkq-gold); color: var(--nkq-ink); }
.nkq-opt__title { font-weight: 700; font-size: 16px; }
.nkq-opt__sub { font-size: 13px; color: var(--nkq-muted); }

/* ---------- Подвал основной колонки: прогресс + навигация ---------- */
.nkq-foot {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; margin-top: auto; padding-top: 26px;
}
.nkq-progress { display: flex; align-items: center; gap: 12px; }
.nkq-ring { --p: 0; width: 52px; height: 52px; flex: none; }
.nkq-ring svg { transform: rotate(-90deg); }
.nkq-ring__bg { stroke: var(--nkq-line); }
.nkq-ring__fg { stroke: var(--nkq-gold); stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.nkq-ring__txt { font-weight: 800; font-size: 13px; fill: var(--nkq-ink); }
.nkq-progress__cap { font-size: 13px; color: var(--nkq-muted); line-height: 1.3; }

.nkq-nav { display: flex; align-items: center; gap: 12px; }
.nkq-skip { background: none; color: var(--nkq-grey); text-decoration: underline; font-size: 14px; padding: 8px; }
.nkq-back {
	width: 54px; height: 50px; border: 1.5px solid var(--nkq-line);
	border-radius: 8px; background: #fff; display: grid; place-items: center;
	transition: border-color .15s ease, background .15s ease;
}
.nkq-back:hover { border-color: var(--nkq-gold); background: #FFFDF4; }
.nkq-next {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--nkq-gold); color: var(--nkq-ink); font-weight: 700;
	font-size: 18px; padding: 14px 30px; border-radius: 8px;
	box-shadow: var(--nkq-cta-shadow);
	animation: nkq-glow 2.4s ease-in-out infinite;
	transition: background .15s ease, transform .15s ease;
}
.nkq-next::after {
	content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: nkq-sheen 3.4s ease-in-out infinite;
}
.nkq-next:hover { background: var(--nkq-yellow); transform: translateY(-1px); }
.nkq-next:active { transform: translateY(0); background: var(--nkq-gold-press); }
.nkq-next__arrow { position: relative; z-index: 1; transition: transform .2s ease; }
.nkq-next:hover .nkq-next__arrow { transform: translateX(4px); }
.nkq-next[disabled] { opacity: .5; cursor: default; }

/* =========================================================================
   ОБЛОЖКА
   ========================================================================= */
.nkq-cover { display: grid; grid-template-columns: 1.05fr 1fr; flex: 1; min-height: 0; }
.nkq-cover__left { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.nkq-cover__right { position: relative; overflow: hidden; background: #E9E5DD; }
.nkq-cover__right > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nkq-cover__logo { position: absolute; top: 22px; right: 22px; background: #fff; padding: 11px 15px; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.nkq-cover__proof { position: absolute; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.nkq-cover__proof .nkq-proof__item { background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }

.nkq-cover__eyebrow {
	display: flex; align-items: center; gap: 10px;
	color: var(--nkq-gold-press); font-weight: 700; font-size: 13px;
	letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.nkq-cover__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--nkq-gold-press); }
.nkq-cover__title { font-size: 36px; line-height: 1.1; font-weight: 800; margin: 0 0 16px; }
.nkq-cover__sub { font-size: 16px; color: var(--nkq-grey); margin: 0 0 24px; max-width: 38ch; }
.nkq-cover__benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.nkq-ben { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.nkq-ben__icon { width: 26px; height: 26px; color: var(--nkq-gold-press); flex: none; }
.nkq-ben b { font-weight: 800; }
.nkq-cover__cta {
	position: relative; overflow: hidden;
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--nkq-gold); color: var(--nkq-ink); font-weight: 800;
	font-size: 19px; padding: 16px 38px; border-radius: 8px;
	box-shadow: var(--nkq-cta-shadow);
	animation: nkq-glow 2.4s ease-in-out infinite;
	transition: background .15s ease, transform .15s ease;
}
.nkq-cover__cta::after {
	content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: nkq-sheen 3.4s ease-in-out infinite;
}
.nkq-cover__cta:hover { background: var(--nkq-yellow); transform: translateY(-2px); }
.nkq-cover__cta .nkq-next__arrow { position: relative; z-index: 1; }
.nkq-cover__badge {
	position: absolute; top: 22px; left: 22px;
	background: var(--nkq-yellow); color: var(--nkq-ink); font-weight: 800;
	padding: 12px 22px; border-radius: 8px; font-size: 18px;
	display: none; /* десктоп: бейдж в углу картинки не нужен, включается на мобайле */
}
.nkq-cover__micro { margin-top: 16px; color: var(--nkq-gold-press); font-weight: 700; font-size: 14px; text-shadow: 0 1px 2px rgba(245,190,39,.30); }

/* =========================================================================
   ФИНАЛ (контакты)
   ========================================================================= */
.nkq-final { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.nkq-final__left { padding: 36px 40px; }
.nkq-final__right { padding: 36px 40px; border-left: 1px solid var(--nkq-line); display: flex; flex-direction: column; gap: 16px; }
.nkq-final__eyebrowrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.nkq-final__eyebrow { color: var(--nkq-gold-press); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.nkq-final__pct { font-weight: 800; color: var(--nkq-ink); font-size: 14px; white-space: nowrap; }
.nkq-final__title { font-size: 28px; font-weight: 800; line-height: 1.15; margin: 0 0 12px; }
.nkq-final__sub { color: var(--nkq-grey); font-size: 15px; margin: 0 0 22px; }
.nkq-final__bonuses .nkq-bonus { border-color: var(--nkq-yellow); }

.nkq-field { display: flex; flex-direction: column; gap: 8px; }
.nkq-field__label { font-size: 15px; color: var(--nkq-grey); }
.nkq-input {
	display: flex; align-items: center; gap: 10px;
	border: 1.5px solid var(--nkq-line); border-radius: 8px; padding: 0 16px;
	background: #fff; height: 58px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.nkq-input:focus-within { border-color: var(--nkq-yellow); box-shadow: 0 0 0 3px rgba(255,221,111,.3); }
.nkq-input.is-error { border-color: #E5736B; box-shadow: 0 0 0 3px rgba(229,115,107,.18); }
.nkq-input__icon { width: 22px; height: 22px; color: var(--nkq-muted); flex: none; }
.nkq-input input { border: 0; outline: 0; background: none; width: 100%; height: 100%; font-size: 18px; }

.nkq-channels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.nkq-chan {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	border: 1.5px solid var(--nkq-line); border-radius: 8px; padding: 14px 10px;
	background: #fff; font-size: 16px; min-width: 0;
	transition: border-color .15s ease, background .15s ease;
}
.nkq-chan__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--nkq-line); flex: none; display: grid; place-items: center; color: transparent; }
.nkq-chan.is-selected { border-color: var(--nkq-yellow); background: #FFFDF4; }
.nkq-chan.is-selected .nkq-chan__dot { background: var(--nkq-gold); border-color: var(--nkq-gold); color: var(--nkq-ink); }

.nkq-submit {
	position: relative; overflow: hidden;
	width: 100%; background: var(--nkq-gold); color: var(--nkq-ink);
	font-weight: 800; font-size: 20px; padding: 18px; border-radius: 8px;
	box-shadow: var(--nkq-cta-shadow);
	animation: nkq-glow 2.4s ease-in-out infinite;
	transition: background .15s ease, transform .15s ease;
}
.nkq-submit::after {
	content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: nkq-sheen 3.4s ease-in-out infinite;
}
.nkq-submit:hover { background: var(--nkq-yellow); transform: translateY(-1px); }
.nkq-submit[disabled] { opacity: .7; cursor: default; }
.nkq-callnote { text-align: center; font-size: 13px; color: var(--nkq-muted); }

.nkq-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--nkq-grey); }
.nkq-consent input { margin-top: 2px; accent-color: var(--nkq-gold); width: 18px; height: 18px; flex: none; }
.nkq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   ЭКРАН "СПАСИБО"
   ========================================================================= */
.nkq-thanks { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 40px; }
.nkq-thanks__check {
	width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 24px;
	background: var(--nkq-gold); color: var(--nkq-ink);
	display: grid; place-items: center; font-size: 40px;
	box-shadow: 0 8px 22px rgba(0,0,0,.12);
	animation: nkq-pop .4s cubic-bezier(.2,1.3,.5,1) both;
}
.nkq-thanks__title { font-size: 30px; font-weight: 800; line-height: 1.2; margin: 0 0 14px; }
.nkq-thanks__text { color: var(--nkq-grey); font-size: 16px; max-width: 44ch; margin: 0 auto 26px; }
.nkq-thanks__bonuses { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.nkq-thanks__bonuses .nkq-bonus { min-width: 240px; }
.nkq-thanks__cta {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--nkq-gold); color: var(--nkq-ink); font-weight: 800; font-size: 18px;
	padding: 16px 34px; border-radius: 8px;
	box-shadow: var(--nkq-cta-shadow);
	animation: nkq-glow 2.4s ease-in-out infinite;
}
.nkq-thanks__cta::after {
	content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: nkq-sheen 3.4s ease-in-out infinite;
}
.nkq-thanks__cta:hover { background: var(--nkq-yellow); }

/* =========================================================================
   АНИМАЦИИ ПЕРЕХОДОВ
   ========================================================================= */
.nkq-stage { position: relative; }
.nkq-anim-enter { opacity: 0; }
.nkq-anim-enter-active { opacity: 1; transition: opacity .34s ease; }
.nkq-anim-exit { opacity: 1; }
.nkq-anim-exit-active { opacity: 0; transition: opacity .24s ease; }

@keyframes nkq-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes nkq-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(220%); } }
@keyframes nkq-stripes { to { background-position: 25px 0; } }
@keyframes nkq-sheen { 0% { left: -70%; } 55%, 100% { left: 140%; } }
@keyframes nkq-glow {
	0%, 100% { box-shadow: 0 6px 16px rgba(245,190,39,.30); }
	50%      { box-shadow: 0 8px 26px rgba(245,190,39,.58); }
}
@keyframes nkq-bob { 0%, 100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(-3px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.nkq-quiz * { transition: none !important; animation: none !important; }
}

/* =========================================================================
   ПОПАП
   ========================================================================= */
.nkq-popup-root[hidden] { display: none; }
.nkq-popup-root {
	position: fixed; inset: 0; z-index: 99999;
	display: grid; place-items: center; padding: 24px;
}
.nkq-popup__overlay { position: absolute; inset: 0; background: rgba(28,26,22,.55); backdrop-filter: blur(2px); animation: nkq-fade .2s ease both; }
.nkq-popup__dialog {
	position: relative; z-index: 1; width: 100%; max-width: 1120px;
	max-height: 92vh; overflow: auto; border-radius: 12px;
	box-shadow: var(--nkq-shadow); animation: nkq-up .28s cubic-bezier(.22,.61,.36,1) both;
	background: var(--nkq-bg);
}
.nkq-popup__close {
	position: absolute; top: 12px; right: 14px; z-index: 5;
	width: 38px; height: 38px; border-radius: 50%; background: #fff;
	font-size: 24px; line-height: 1; color: var(--nkq-grey);
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.nkq-popup__close:hover { background: var(--nkq-yellow); color: var(--nkq-ink); }
@keyframes nkq-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nkq-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
body.nkq-lock { overflow: hidden; }

/* =========================================================================
   МОБАЙЛ - порядок блоков по вашему дизайну
   (скидка сверху, бонусы и консультант снизу под вопросом)
   ========================================================================= */
@media (max-width: 860px) {
	.nkq-body { grid-template-columns: 1fr; }
	.nkq-side {
		border-left: 0; order: -1; background: transparent; padding: 18px 18px 0;
	}
	.nkq-side .nkq-bonuses, .nkq-side .nkq-consult { display: none; } /* перенесём вниз основной колонки */
	.nkq-main { padding: 18px 18px 22px; }

	/* Бонусы и консультант показываем под карточками */
	.nkq-mobile-extra { display: block; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--nkq-line); }

	.nkq-head { padding: 16px 18px; flex-wrap: wrap; }
	.nkq-proof { gap: 18px; }

	.nkq-step__q { font-size: 22px; }
	.nkq-card { flex-basis: calc(50% - 9px); }
	.nkq-cards { flex-wrap: wrap; overflow: visible; }
	.nkq-arrow { display: none; }
	.nkq-list { grid-template-columns: 1fr 1fr; }
	.nkq-card, .nkq-opt { min-width: 0; }

	/* Липкая навигация на мобайле */
	.nkq-foot {
		position: sticky; bottom: 0; background: var(--nkq-bg);
		padding: 14px 0; margin: 16px -18px -22px; padding-left: 18px; padding-right: 18px;
		box-shadow: 0 -6px 18px rgba(0,0,0,.05);
		flex-wrap: wrap; gap: 10px 12px;
	}
	.nkq-nav { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
	.nkq-next { padding: 13px 22px; font-size: 16px; }
	.nkq-back { width: 50px; height: 48px; }

	/* Обложка в одну колонку, картинка сверху */
	.nkq-cover { grid-template-columns: 1fr; }
	.nkq-cover__right { order: -1; min-height: 280px; }
	.nkq-cover__badge { display: inline-block; }
	.nkq-cover__logo { display: none; }
	.nkq-cover__left { padding: 24px 18px 28px; }
	.nkq-cover__title { font-size: 28px; }
	.nkq-cover__cta { align-self: stretch; justify-content: center; }

	/* Финал в одну колонку, бонусы сверху */
	.nkq-final { grid-template-columns: 1fr; }
	.nkq-final__right { border-left: 0; }
	.nkq-final__left { order: -1; padding: 22px 18px; }
	.nkq-final__right { padding: 0 18px 22px; }

	.nkq-popup__dialog { max-height: 96vh; border-radius: 16px; }
}

@media (min-width: 861px) {
	.nkq-mobile-extra { display: none; }
}

@media (max-width: 380px) {
	.nkq-card { flex-basis: 100%; }
	.nkq-list { grid-template-columns: 1fr; }
	.nkq-channels { flex-direction: column; }
	.nkq-proof { width: 100%; justify-content: space-between; }
}
