
.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: 5px;
	--nkq-radius-sm: 5px;
	--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: 'Manrope', 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: 5px;
	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-head__disc { display: none; align-items: center; gap: 5px;
	background: var(--nkq-yellow); color: var(--nkq-ink);
	border-radius: 5px; padding: 5px 11px 5px 9px; font-weight: 800; line-height: 1; }
.nkq-head__disc-ico { width: 15px; height: 15px; }
.nkq-head__disc-val { font-size: 15px; }

/* Прогресс-полоса под шапкой: полупрозрачный трек + заполнение + явная "загрузка" */
.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: 5px; 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: 5px;
	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__name { font-weight: 700; font-size: 16px; }
.nkq-consult__role { font-size: 13px; color: var(--nkq-muted); }
.nkq-consult__bubble {
	background: #F4F2EC; border-radius: 5px; 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: 5px;
	margin-bottom: 20px;
}
.nkq-hint--plain { background: #EFECE3; color: var(--nkq-grey); }

/* ---------- Карточки с картинками (планировка / фасады) ---------- */
.nkq-cards-wrap { position: relative; min-width: 0; max-width: 100%; container: nkqcards / inline-size; }
.nkq-cards {
	/* --nkq-peek = сколько карточек видно (десктоп 4 + хвостик 5-й).
	   Меняется на планшете/мобайле ниже. --nkq-gap = отступ между карточками. */
	--nkq-peek: 4.3;
	--nkq-gap: 16px;
	display: flex; flex-wrap: nowrap; gap: var(--nkq-gap);
	width: 100%; min-width: 0; max-width: 100%;
	overflow-x: auto; scroll-behavior: smooth;
	scroll-snap-type: x proximity; scroll-padding-left: 2px;
	-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% - (var(--nkq-peek) - 1) * var(--nkq-gap)) / var(--nkq-peek));
	min-width: 0; scroll-snap-align: start;
	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; aspect-ratio: 1 / 1; background: #EFEDE6; flex: none;
	display: grid; place-items: center; overflow: hidden;
}

/* Адаптив слайдера по РЕАЛЬНОЙ ширине блока карточек (а не окна).
   Так раскладка не ломается при сжатии окна и в двухколоночном режиме. */
@container nkqcards (max-width: 620px) {
	.nkq-cards { --nkq-peek: 3.3; --nkq-gap: 14px; }
}
@container nkqcards (max-width: 455px) {
	.nkq-cards { --nkq-peek: 2.3; --nkq-gap: 12px; }
}
@container nkqcards (max-width: 360px) {
	.nkq-cards { --nkq-peek: 2.2; --nkq-gap: 10px; }
}
.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); width: 100%; height: 100%; display: block; }
.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: 12px; 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: 5px; 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: 600;
	font-size: 18px; padding: 14px 30px; border-radius: 5px;
	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: 5px; 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: 5px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }

.nkq-cover__disc {
	align-self: stretch;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: linear-gradient(92deg, #FFF1C2, #FFE38F);
	border: 1px solid rgba(245,190,39,.55);
	border-radius: 5px; padding: 10px 18px; margin-bottom: 18px;
	box-shadow: 0 5px 16px rgba(245,190,39,.22);
}
.nkq-cover__disc-l { display: flex; flex-direction: column; gap: 1px; }
.nkq-cover__disc-cap { font-size: 12px; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; color: var(--nkq-ink); }
.nkq-cover__disc-note { font-size: 11px; line-height: 1.15; color: var(--nkq-grey); font-weight: 600; }
.nkq-cover__disc-r { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.nkq-cover__disc-val { font-size: 20px; font-weight: 800; line-height: 1; color: var(--nkq-ink); }
.nkq-cover__disc-up { font-size: 12px; line-height: 1; color: #2E9B57; display: inline-block; animation: nkq-bob 1.3s ease-in-out infinite; }
.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: 5px;
	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: 5px; 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-final__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.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: 5px; padding: 0 16px;
	background: #fff; height: 58px;
	box-shadow: 0 2px 8px rgba(78,78,83,.07);
	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: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nkq-chan {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	border: 1.5px solid var(--nkq-line); border-radius: 5px; padding: 13px 8px;
	background: #fff; min-width: 0;
	transition: border-color .15s ease, background .15s ease;
}
.nkq-chan__label { font-size: 15px; line-height: 1; white-space: nowrap; }
.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__dot .nkq-ico { width: 11px; height: 11px; }
.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: 5px;
	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; }
a.nkq-thanks__cta {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--nkq-gold); color: var(--nkq-ink); font-weight: 700; font-size: 18px;
	padding: 16px 34px; border-radius: 5px; text-decoration: none;
	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;max-height:92dvh; overflow: auto; border-radius: 5px;
	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) {
	/* Мобильный: компактно, высота по контенту (без жёсткого экрана 600px) */
	.nkq-app { min-height: auto; }
	.nkq-body { grid-template-columns: 1fr; }
	.nkq-main { padding: 12px 14px 14px; }

	/* Шапка в две строки: лого + бейдж скидки, ниже три факта; прогрессбар уже под шапкой */
	.nkq-head { flex-wrap: wrap; align-items: center; gap: 14px 10px; padding: 10px 14px 11px; }
	.nkq-logo { height: 25px; }
	.nkq-head__disc {
		display: inline-flex; margin-left: auto; align-items: center; gap: 6px;
		background: var(--nkq-yellow); padding: 4px 11px; border-radius: 5px;
		box-shadow: 0 2px 8px rgba(245,190,39,.28);
	}
	.nkq-head__disc-cap { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--nkq-ink); opacity: .72; }
	.nkq-head__disc-val { font-size: 15px; font-weight: 800; color: var(--nkq-ink); }
	.nkq-head__disc-up { font-size: 8px; color: var(--nkq-ink); display: inline-block; animation: nkq-bob 1.3s ease-in-out infinite; }
	.nkq-proof { flex-basis: 100%; order: 3; gap: 0; justify-content: space-between; }
	.nkq-proof__item { text-align: left; }
	.nkq-proof__top { justify-content: flex-start; gap: 5px; }
	.nkq-proof__val { font-size: 14px; }
	.nkq-proof__stars { font-size: 9px; }
	.nkq-proof__label { font-size: 9px; margin-top: 1px; }

	/* Большой блок скидки в сайдбаре на мобильном не нужен — скидка ушла в шапку */
	.nkq-side { display: none; }

	/* Консультант — виден, мелким и аккуратным; бонусы уезжают на финал */
	.nkq-mobile-extra { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--nkq-line); }
	.nkq-mobile-extra .nkq-bonuses { display: none; }
	.nkq-mobile-extra .nkq-consult { margin-top: 0; padding-top: 0; border-top: 0; }
	.nkq-mobile-extra .nkq-consult__head { margin-bottom: 6px; gap: 9px; }
	.nkq-mobile-extra .nkq-consult__ava, .nkq-mobile-extra .nkq-consult__ava img { width: 36px; height: 36px; }
	.nkq-mobile-extra .nkq-consult__name { font-size: 13px; }
	.nkq-mobile-extra .nkq-consult__role { font-size: 11px; }
	.nkq-mobile-extra .nkq-consult__bubble {
		display: block; font-size: 11.5px; line-height: 1.4; color: var(--nkq-grey);
		background: var(--nkq-panel); border: 1px solid var(--nkq-line); border-radius: 5px;
		padding: 8px 10px; margin-top: 6px;
	}

	/* Заголовок шага компактнее */
	.nkq-step__meta { margin-bottom: 6px; font-size: 10px; letter-spacing: .04em; }
	.nkq-step__meta::before { width: 18px; }
	.nkq-step__q { font-size: 16px; margin-bottom: 8px; line-height: 1.22; }
	.nkq-hint { font-size: 11px; padding: 6px 10px; gap: 6px; }
	.nkq-hint .nkq-ico { width: 14px; height: 14px; }

	/* Карточки планировки/фасадов — горизонтальный слайдер (свайп).
	   Кол-во видимых карточек считают container-queries по ширине блока. */
	.nkq-cards { padding-bottom: 4px; }
	.nkq-card__title { font-size: 13px; margin: 7px 9px 2px; }
	.nkq-card__sub { font-size: 11px; margin: 0 9px 2px; }
	.nkq-card__mark { width: 24px; height: 24px; top: 8px; right: 8px; }
	.nkq-arrow { display: grid; width: 34px; height: 34px; }

	/* Текстовые варианты (без слайдера) — в один столбец, компактно */
	.nkq-list { grid-template-columns: 1fr; gap: 7px; }
	.nkq-opt { min-width: 0; padding: 9px 12px; gap: 10px; }
	.nkq-opt__radio { width: 22px; height: 22px; flex: none; }
	.nkq-opt__title { font-size: 13.5px; }
	.nkq-opt__sub { font-size: 11px; line-height: 1.3; }
	.nkq-card { min-width: 0; }

	/* Липкий подвал: прогресс + кнопки в одну строку */
	.nkq-foot {
		position: sticky; bottom: 0; background: var(--nkq-bg);
		padding: 10px 12px; margin: 12px -14px -14px;
		box-shadow: 0 -6px 18px rgba(0,0,0,.05);
		flex-wrap: nowrap; gap: 8px; align-items: center;
	}
	.nkq-ring { width: 40px; height: 40px; }
	.nkq-ring__txt { font-size: 15px; }
	.nkq-progress { gap: 13px; min-width: 0; }
	.nkq-progress__cap { font-size: 10px; line-height: 1.18; }
	.nkq-nav { flex: 0 0 auto; margin-left: auto; gap: 6px; min-width: 0; }
	.nkq-skip { font-size: 10.5px; padding: 4px 2px; }
	.nkq-next { padding: 9px 13px; font-size: 12.5px; }
	.nkq-next__arrow { display: none; }
	.nkq-back { width: 38px; height: 38px; }

	/* Обложка в одну колонку, картинка сверху */
	/* Обложка — компактно, но с воздухом; высота близка к экранам вопросов */
	.nkq-cover { grid-template-columns: 1fr; }
	.nkq-cover__right { order: -1; min-height: 172px; }
	.nkq-cover__badge { display: none; } /* дубль скидки на фото не нужен — есть плашка ниже */
	.nkq-cover__logo { display: none; }
	.nkq-cover__proof { right: 12px; bottom: 12px; gap: 7px; }
	.nkq-cover__proof .nkq-proof__item { padding: 6px 11px; }
	.nkq-cover__proof .nkq-proof__val { font-size: 14px; }
	.nkq-cover__proof .nkq-proof__label { font-size: 8px; }
	.nkq-cover__left { padding: 15px 16px 18px; }
	.nkq-cover__disc { margin-bottom: 12px; padding: 8px 14px; gap: 12px; }
	.nkq-cover__disc-cap { font-size: 11px; }
	.nkq-cover__disc-note { font-size: 10px; }
	.nkq-cover__disc-val { font-size: 18px; }
	.nkq-cover__eyebrow { font-size: 10px; margin-bottom: 9px; gap: 8px; }
	.nkq-cover__eyebrow::before { width: 20px; }
	.nkq-cover__title { font-size: 21px; margin: 0 0 9px; }
	.nkq-cover__sub { font-size: 12.5px; margin: 0 0 13px; }
	.nkq-cover__benefits { gap: 9px; margin-bottom: 15px; }
	.nkq-ben { font-size: 13px; gap: 11px; }
	.nkq-ben__icon { width: 21px; height: 21px; }
	.nkq-cover__cta { align-self: stretch; justify-content: center; font-size: 16px; padding: 14px 24px; }
	.nkq-cover__micro { font-size: 11.5px; margin-top: 11px; text-align: center; }

	/* Финал в одну колонку, мельче и плотнее */
	.nkq-final { grid-template-columns: 1fr; }
	.nkq-final__left { order: -1; padding: 14px 16px 0; }
	.nkq-final__right { border-left: 0; padding: 16px 16px; gap: 12px; margin-top: 4px; border-top: 1px solid var(--nkq-line); }
	.nkq-final__eyebrowrow { margin-bottom: 10px; }
	.nkq-final__title { font-size: 18px; margin-bottom: 7px; }
	.nkq-final__sub { font-size: 12px; }
	.nkq-final__eyebrow { font-size: 11px; }

	/* Бонусы компактнее */
	.nkq-bonus { padding: 9px 12px; gap: 10px; margin-bottom: 8px; }
	.nkq-bonus__icon { width: 20px; height: 20px; }
	.nkq-bonus__title { font-size: 13px; }
	.nkq-bonus__sub { font-size: 11px; }
	.nkq-bonus__check { width: 20px; height: 20px; top: -7px; right: -7px; font-size: 11px; }

	/* Поля компактнее, имя+телефон в 2 колонки */
	.nkq-final__row { gap: 9px; }
	.nkq-field { gap: 5px; }
	.nkq-field__label { font-size: 11.5px; }
	.nkq-input { height: 44px; padding: 0 11px; gap: 7px; }
	.nkq-input__icon { width: 17px; height: 17px; }
	.nkq-input input { font-size: 13px; }

	/* Выбор мессенджера компактнее, чтобы помещалось; подпись 11px отдельным классом */
	.nkq-channels { gap: 6px; }
	.nkq-chan { padding: 9px 4px; gap: 5px; border-radius: 5px; }
	.nkq-chan__label { font-size: 11px; }
	.nkq-chan__dot { width: 16px; height: 16px; }
	.nkq-chan__dot .nkq-ico { width: 10px; height: 10px; }

	.nkq-submit { font-size: 14px; padding: 13px 14px; }
	.nkq-consent { font-size: 11px; gap: 8px; }
	.nkq-consent input { width: 16px; height: 16px; }

	/* Экран «Спасибо» — мельче и плотнее */
	.nkq-thanks { padding: 24px 16px; }
	.nkq-thanks__check { width: 56px; height: 56px; font-size: 26px; margin-bottom: 14px; }
	.nkq-thanks__title { font-size: 20px; margin-bottom: 8px; }
	.nkq-thanks__text { font-size: 12.5px; margin-bottom: 18px; }
	.nkq-thanks__bonuses { flex-direction: column; flex-wrap: nowrap; gap: 8px; width: 100%; margin-bottom: 18px; }
	.nkq-thanks__bonuses .nkq-bonus { min-width: 0; width: 100%; margin-bottom: 0; }
	a.nkq-thanks__cta { width: 100%; justify-content: center; font-size: 15px; padding: 13px 20px; }

	.nkq-popup__dialog { max-height:96vh;max-height:96dvh; border-radius: 5px; }
}

@media (min-width: 861px) {
	.nkq-mobile-extra { display: none; }
}

@media (max-width: 380px) {
	.nkq-list { grid-template-columns: 1fr; }
	.nkq-final__row { grid-template-columns: 1fr; gap: 9px; }
	.nkq-channels { grid-template-columns: 1fr; }
	.nkq-proof { width: 100%; justify-content: space-between; }
}

/* =========================================================================
   ОФОРМЛЕНИЕ ПОД САЙТ «НЕВСКИЕ КУХНИ» (перекрывает стили плагина выше)
   Палитра и скругления сайта, плоские поверхности: без свечений, бликов,
   «бегущих полос» и кремового фона - квиз не должен «мылиться» и выглядеть чужим.
   ========================================================================= */
.nkq-quiz {
	--nkq-yellow: #f2c14e; --nkq-gold: #f2c14e; --nkq-gold-press: #e6ad2c;
	--nkq-ink: #232327; --nkq-grey: #4e4e53; --nkq-muted: #74716c;
	--nkq-bg: #ffffff; --nkq-panel: #ffffff; --nkq-cream: #f5f2ed; --nkq-soft: #f8f6f2;
	--nkq-line: #e6e1d9; --nkq-line-soft: #eeeae4;
	--nkq-radius: 8px; --nkq-radius-sm: 6px; --nkq-r4: 4px;
	--nkq-shadow: 0 30px 80px -30px rgba(43,36,20,.45); --nkq-shadow-card: none; --nkq-cta-shadow: none;
	--nkq-ease: cubic-bezier(.2,.7,.2,1);
	letter-spacing: -.005em;
}
/* без «рекламных» эффектов */
.nkq-next, .nkq-cover__cta, .nkq-submit, a.nkq-thanks__cta { animation: none; box-shadow: none; }
.nkq-next::after, .nkq-cover__cta::after, .nkq-submit::after, .nkq-thanks__cta::after,
.nkq-disc__bar::after, .nkq-disc__fill::after { display: none; }
.nkq-disc__up, .nkq-cover__disc-up { animation: none; }
.nkq-head, .nkq-topbar, .nkq-progress { display: none; }

/* кнопки */
.nkq-next, .nkq-cover__cta, .nkq-submit, a.nkq-thanks__cta {
	background: var(--nkq-gold); color: var(--nkq-ink); border-radius: var(--nkq-r4);
	font-weight: 700; transition: background .2s, transform .15s, box-shadow .25s;
}
.nkq-next:hover, .nkq-cover__cta:hover, .nkq-submit:hover, a.nkq-thanks__cta:hover {
	background: var(--nkq-gold-press); transform: none; box-shadow: 0 10px 24px -10px rgba(230,173,44,.8);
}
.nkq-next:active, .nkq-cover__cta:active, .nkq-submit:active { transform: translateY(1px); }
.nkq-next { font-size: 16px; padding: 0 26px; height: 52px; }
.nkq-back { width: 52px; height: 52px; border: 0; border-radius: var(--nkq-r4); box-shadow: inset 0 0 0 1.5px var(--nkq-line); }
.nkq-back:hover { background: var(--nkq-cream); }
.nkq-skip { color: var(--nkq-muted); text-decoration-color: var(--nkq-line); text-underline-offset: 4px; }

/* шапка шагов */
.nkq-bar {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
	padding: 18px 32px; border-bottom: 1px solid var(--nkq-line-soft); background: #fff;
}
.nkq-bar__l { display: flex; flex-direction: column; line-height: 1.25; }
.nkq-bar__t { font-weight: 800; font-size: 15px; }
.nkq-bar__cap { font-size: 13px; color: var(--nkq-muted); }
.nkq-bar__segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; max-width: 520px; width: 100%; justify-self: center; }
.nkq-bar__segs i { height: 4px; border-radius: 2px; background: var(--nkq-line-soft); position: relative; overflow: hidden; }
.nkq-bar__segs i::after { content: ""; position: absolute; inset: 0; background: var(--nkq-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--nkq-ease); }
.nkq-bar__segs i.is-done::after { transform: scaleX(1); }
.nkq-bar__segs i.is-cur::after { transform: scaleX(.5); }
.nkq-bar__disc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--nkq-r4); background: var(--nkq-cream); font-size: 13px; font-weight: 600; color: var(--nkq-grey); white-space: nowrap; }
.nkq-bar__disc b { font-size: 17px; font-weight: 800; color: var(--nkq-ink); font-variant-numeric: tabular-nums; }

.nkq-app:has(.nkq-side) .nkq-bar__disc { display: none; }
.nkq-final__bonuses .nkq-bonus { border-color: var(--nkq-line-soft); }

/* шаг: вопрос и варианты */
.nkq-main { padding: 30px 32px 28px; }
.nkq-step__meta { color: var(--nkq-gold-press); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.nkq-step__meta::before { width: 20px; }
.nkq-step__q { font-size: 28px; letter-spacing: -.025em; line-height: 1.15; max-width: 26ch; margin-bottom: 12px; }
.nkq-hint, .nkq-hint--plain { background: transparent; color: var(--nkq-muted); padding: 0; font-weight: 500; font-size: 14px; margin-bottom: 20px; }
.nkq-hint .nkq-ico { width: 15px; height: 15px; opacity: .55; }
.nkq-card { border: 0; border-radius: var(--nkq-radius-sm); box-shadow: inset 0 0 0 1px var(--nkq-line); padding-bottom: 14px; text-align: left; }
.nkq-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--nkq-grey), 0 14px 30px -18px rgba(43,36,20,.35); }
.nkq-card.is-selected { box-shadow: inset 0 0 0 2px var(--nkq-gold-press); }
.nkq-card__media { margin: 6px 6px 0; border-radius: var(--nkq-r4); background: var(--nkq-soft); }
.nkq-card__media img { transition: transform .5s var(--nkq-ease); }
.nkq-card:hover .nkq-card__media img { transform: scale(1.04); }
.nkq-card__title { margin: 12px 14px 2px; font-size: 15px; }
.nkq-card__sub { margin: 0 14px; line-height: 1.35; }
.nkq-card__mark { width: 26px; height: 26px; border-radius: var(--nkq-r4); border: 0; box-shadow: inset 0 0 0 1.5px var(--nkq-line); background: #fff; }
.nkq-card.is-selected .nkq-card__mark { box-shadow: none; }
.nkq-arrow { width: 40px; height: 40px; border-radius: var(--nkq-r4); background: #fff; box-shadow: 0 6px 18px -6px rgba(43,36,20,.35), inset 0 0 0 1px var(--nkq-line); }
.nkq-arrow:hover { background: var(--nkq-gold); transform: none; }
.nkq-list { gap: 12px; }
.nkq-opt { border: 0; border-radius: var(--nkq-radius-sm); box-shadow: inset 0 0 0 1px var(--nkq-line); padding: 18px 20px; }
.nkq-opt:hover { transform: none; box-shadow: inset 0 0 0 1px var(--nkq-grey); }
.nkq-opt.is-selected { background: #fffaf0; box-shadow: inset 0 0 0 2px var(--nkq-gold-press); }
.nkq-opt__radio, .nkq-chan__dot { border-radius: var(--nkq-r4); }
.nkq-foot { padding-top: 22px; justify-content: flex-end; border-top: 1px solid var(--nkq-line-soft); margin-top: auto; }

/* боковая колонка: скидка, бонусы, консультант */
.nkq-side { background: var(--nkq-soft); border-left: 1px solid var(--nkq-line-soft); padding: 28px 26px 24px; }
.nkq-disc { border: 0; background: #fff; border-radius: var(--nkq-radius-sm); box-shadow: inset 0 0 0 1px var(--nkq-line-soft); padding: 18px 20px; }
.nkq-disc__label { font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--nkq-grey); }
.nkq-disc__val { font-size: 36px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nkq-disc__up { color: #3f9a6b; font-size: 12px; }
.nkq-disc__bar { background: var(--nkq-line-soft); height: 6px; border-radius: 3px; }
.nkq-disc__fill { background: var(--nkq-gold); border-radius: 3px; }
.nkq-disc__note { font-size: 13px; color: var(--nkq-muted); }
.nkq-bonuses__title, .nkq-block-title { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--nkq-ink); font-weight: 800; margin: 24px 0 6px; }
.nkq-bonus { border: 0; border-radius: 0; background: transparent; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--nkq-line-soft); gap: 12px; }
.nkq-bonus__icon { width: 34px; height: 34px; padding: 8px; border-radius: var(--nkq-r4); background: #fbf3df; }
.nkq-bonus__check { position: static; margin-left: auto; width: 22px; height: 22px; border-radius: var(--nkq-r4); box-shadow: none; font-size: 12px; flex: none; }
.nkq-consult { border-top: 0; }
.nkq-consult__ava img { border-radius: var(--nkq-r4); }
.nkq-consult__bubble { background: #fff; border-radius: var(--nkq-radius-sm); box-shadow: inset 0 0 0 1px var(--nkq-line-soft); }
.nkq-consult__bubble::before { border-bottom-color: #fff; }

/* обложка */
.nkq-cover2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); flex: 1; min-height: 0; }
.nkq-cover2__l { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 48px 48px 48px 52px; }
.nkq-cover2__tag { display: inline-flex; padding: 6px 10px; border-radius: var(--nkq-r4); background: var(--nkq-cream); font-size: 13px; font-weight: 700; color: var(--nkq-grey); }
.nkq-cover2__title { margin: 0; font-size: 40px; line-height: 1.06; font-weight: 800; letter-spacing: -.035em; max-width: 16ch; text-wrap: balance; }
.nkq-cover2__sub { margin: 0; font-size: 17px; line-height: 1.55; color: var(--nkq-grey); max-width: 40ch; }
.nkq-cover2 .nkq-cover__cta { font-size: 17px; padding: 0 30px; height: 56px; margin-top: 6px; }
.nkq-cover2__note { font-size: 14px; color: var(--nkq-muted); }
.nkq-cover2__r { display: flex; flex-direction: column; justify-content: center; padding: 40px 44px; background: var(--nkq-soft); border-left: 1px solid var(--nkq-line-soft); }
.nkq-plan__cap { font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.nkq-plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nkq-plan__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--nkq-radius-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--nkq-line-soft); transition: transform .3s var(--nkq-ease), box-shadow .3s; }
.nkq-plan__row:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px var(--nkq-line); }
.nkq-plan__n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--nkq-r4); box-shadow: inset 0 0 0 1.5px var(--nkq-gold-press); font-weight: 800; font-size: 15px; }
.nkq-plan__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.nkq-plan__txt b { font-size: 15px; }
.nkq-plan__txt small { font-size: 13px; color: var(--nkq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nkq-plan__thumbs { display: flex; flex: none; }
.nkq-plan__thumbs img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--nkq-r4); border: 2px solid #fff; background: var(--nkq-soft); }
.nkq-plan__thumbs img + img { margin-left: -12px; }
.nkq-plan__disc { flex: none; min-width: 48px; padding: 5px 8px; border-radius: var(--nkq-r4); background: #fbf3df; color: #9f7418; font-size: 13px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.nkq-plan__row--fin { background: var(--nkq-ink); color: #fff; box-shadow: none; }
.nkq-plan__row--fin .nkq-plan__n { background: var(--nkq-gold); box-shadow: none; }
.nkq-plan__row--fin .nkq-plan__n .nkq-ico { width: 16px; height: 16px; }
.nkq-plan__row--fin small { color: #bdbdc2; }
.nkq-app--cover .nkq-plan__row { animation: nkq-row .6s var(--nkq-ease) both; }
.nkq-app--cover .nkq-plan__row:nth-child(2) { animation-delay: .06s; }
.nkq-app--cover .nkq-plan__row:nth-child(3) { animation-delay: .12s; }
.nkq-app--cover .nkq-plan__row:nth-child(4) { animation-delay: .18s; }
.nkq-app--cover .nkq-plan__row:nth-child(5) { animation-delay: .24s; }
@keyframes nkq-row { from { opacity: 0; transform: translateY(10px); } }

/* финал и «спасибо» */
.nkq-final__left, .nkq-final__right { padding: 36px 40px; }
.nkq-final__right { border-left: 1px solid var(--nkq-line-soft); background: var(--nkq-soft); }
.nkq-final__eyebrow { text-transform: none; letter-spacing: 0; font-size: 14px; }
.nkq-final__pct { display: none; }
.nkq-final__title { font-size: 30px; letter-spacing: -.025em; }
.nkq-input { border: 0; border-radius: var(--nkq-r4); box-shadow: inset 0 0 0 1.5px var(--nkq-line); height: 56px; background: #fff; }
.nkq-input:focus-within { box-shadow: inset 0 0 0 1.5px var(--nkq-gold-press); }
.nkq-input.is-error { box-shadow: inset 0 0 0 1.5px #c4533f; }
.nkq-input input { font-size: 17px; }
.nkq-chan { border: 0; border-radius: var(--nkq-r4); box-shadow: inset 0 0 0 1.5px var(--nkq-line); background: #fff; }
.nkq-chan.is-selected { background: #fffaf0; box-shadow: inset 0 0 0 2px var(--nkq-gold-press); }
.nkq-submit { font-size: 18px; padding: 0; height: 58px; }
.nkq-thanks__check { border-radius: var(--nkq-radius); box-shadow: none; }

/* попап */
.nkq-popup__dialog { border-radius: var(--nkq-radius); background: #fff; }
.nkq-popup__close { border-radius: var(--nkq-r4); top: 12px; right: 12px; box-shadow: inset 0 0 0 1px var(--nkq-line); }

@media (max-width: 1100px) {
	.nkq-cover2__l { padding: 36px 32px; }
	.nkq-cover2__r { padding: 32px; }
	.nkq-cover2__title { font-size: 32px; }
}
@media (max-width: 860px) {
	.nkq-app:has(.nkq-side) .nkq-bar__disc { display: inline-flex; }
	.nkq-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 12px 14px; }
	.nkq-bar__segs { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.nkq-bar__t { font-size: 14px; }
	.nkq-bar__cap { font-size: 12px; }
	.nkq-bar__disc { padding: 5px 9px; }
	.nkq-bar__disc b { font-size: 15px; }
	.nkq-main { padding: 16px 14px 14px; }
	.nkq-step__q { font-size: 19px; }
	.nkq-hint { margin-bottom: 12px; font-size: 12px; }
	.nkq-foot { background: #fff; border-top: 1px solid var(--nkq-line-soft); box-shadow: none; justify-content: flex-end; }
	.nkq-next { height: 44px; padding: 0 18px; font-size: 14px; }
	.nkq-back { width: 44px; height: 44px; }
	.nkq-cover2 { grid-template-columns: 1fr; }
	.nkq-cover2__l { padding: 24px 16px 20px; gap: 12px; }
	.nkq-cover2__title { font-size: 25px; max-width: none; }
	.nkq-cover2__sub { font-size: 14px; }
	.nkq-cover2 .nkq-cover__cta { align-self: stretch; justify-content: center; height: 50px; font-size: 16px; }
	.nkq-cover2__note { font-size: 12px; }
	.nkq-cover2__r { padding: 18px 16px 20px; border-left: 0; border-top: 1px solid var(--nkq-line-soft); }
	.nkq-plan { gap: 8px; }
	.nkq-plan__row { padding: 9px 10px; gap: 10px; }
	.nkq-plan__n { width: 28px; height: 28px; font-size: 13px; }
	.nkq-plan__txt b { font-size: 14px; }
	.nkq-plan__txt small { display: none; }
	.nkq-plan__thumbs img { width: 32px; height: 32px; }
	.nkq-final__left, .nkq-final__right { padding: 18px 16px; }
	.nkq-final__right { background: #fff; }
	.nkq-final__title { font-size: 20px; }
	.nkq-input { height: 46px; }
	.nkq-submit { height: 50px; font-size: 15px; }
}

/* ---------- скидка и прогресс: живее (рост, «+N%», бегущие полосы) ---------- */
:host([data-nkq-mode="popup"]) .nkq-bar { padding-right: 76px; }
.nkq-bar__segs i { height: 6px; border-radius: 3px; }
.nkq-bar__segs i::after {
	background: var(--nkq-gold) repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 8px, rgba(255,255,255,.35) 8px 16px);
	background-size: 23px 100%;
	animation: nkq-stripes 1s linear infinite;
	transition: none;
}
.nkq-bar__segs i.is-done::after { transform: scaleX(1); }
.nkq-bar__segs i.is-cur::after { transform: scaleX(.55); animation: nkq-stripes 1s linear infinite, nkq-seg .9s var(--nkq-ease) .15s both; }
@keyframes nkq-seg { from { transform: scaleX(0); } }

.nkq-bar__disc { position: relative; gap: 8px; padding: 6px 12px 6px 6px; background: var(--nkq-gold); color: var(--nkq-ink); font-weight: 700; }
.nkq-bar__pct { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 3px; background: var(--nkq-ink); color: var(--nkq-gold); font-size: 13px; font-weight: 800; }
.nkq-bar__disc b { font-size: 18px; }

.nkq-plus { position: absolute; right: 8px; top: -6px; padding: 2px 7px; border-radius: 3px; background: #3f9a6b; color: #fff; font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; }
.nkq-plus.is-on { animation: nkq-plus 1.8s var(--nkq-ease) .2s both; }
@keyframes nkq-plus { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 15% { opacity: 1; transform: translateY(-6px) scale(1.05); } 70% { opacity: 1; transform: translateY(-10px); } 100% { opacity: 0; transform: translateY(-18px); } }

/* карточка скидки в боковой колонке - тёмная, контрастная */
.nkq-disc { position: relative; background: #2b2b30; color: #fff; box-shadow: none; padding: 20px 20px 18px; overflow: visible; }
.nkq-disc__row { display: flex; align-items: center; justify-content: space-between; }
.nkq-disc__label { color: #cfcfd3; font-size: 14px; }
.nkq-disc .nkq-plus { position: static; font-size: 13px; }
.nkq-disc__val { display: block; margin: 4px 0 12px; font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--nkq-gold); }
.nkq-disc__bar { height: 8px; border-radius: 4px; margin: 0 0 8px; background: rgba(255,255,255,.12); }
.nkq-disc__fill {
	border-radius: 4px; background: var(--nkq-gold) repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 8px, rgba(255,255,255,.35) 8px 16px);
	background-size: 23px 100%; animation: nkq-stripes 1s linear infinite, nkq-grow 1s var(--nkq-ease) .2s both;
}
@keyframes nkq-grow { from { width: var(--from, 0%); } }
.nkq-disc__ladder { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #8e8e94; font-variant-numeric: tabular-nums; }
.nkq-disc__ladder .is-on { color: #cfcfd3; }
.nkq-disc__ladder .is-cur { color: var(--nkq-gold); }
.nkq-disc__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #cfcfd3; }
.nkq-disc__note b { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.nkq-bar__segs i::after, .nkq-disc__fill, .nkq-plus.is-on { animation: none !important; }
	.nkq-plus.is-on { opacity: 1; }
}
@media (max-width: 860px) {
	:host([data-nkq-mode="popup"]) .nkq-bar { padding-right: 60px; }
	.nkq-bar__disc { padding: 4px 9px 4px 4px; font-size: 12px; }
	.nkq-bar__disc span:not(.nkq-bar__pct):not(.nkq-plus) { display: none; }
	.nkq-bar__pct { width: 22px; height: 22px; }
}
.nkq-cover2__img { margin: -8px 0 18px; aspect-ratio: 16 / 7; border-radius: var(--nkq-radius-sm); overflow: hidden; background: #fbf5f0; }
.nkq-cover2__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .nkq-cover2__img { display: none; } }
.nkq-disc__fill { display: block; height: 100%; }
.nkq-cover2__img { aspect-ratio: 2 / 1; }
.nkq-cover2__r { justify-content: flex-start; }
.nkq-cover2__l { justify-content: flex-start; padding-top: 56px; }

/* ---------- обложка: иллюстрация фоном, текст и план вопросов поверх ---------- */
.nkq-cover2--bg { position: relative; isolation: isolate; overflow: hidden; min-height: 560px; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); background: #fbf5f0; }
.nkq-cover2__bg { position: absolute; z-index: -2; top: 50%; left: 50%; width: 62%; height: auto; transform: translate(-36%, -50%); pointer-events: none; animation: nkq-float 9s ease-in-out infinite; }
.nkq-cover2--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fbf5f0 0%, #fbf5f0 30%, rgba(251,245,240,.55) 48%, rgba(251,245,240,0) 62%), linear-gradient(270deg, rgba(251,245,240,.9) 0%, rgba(251,245,240,0) 30%); }
@keyframes nkq-float { 0%, 100% { transform: translate(-36%, -50%); } 50% { transform: translate(-36%, -52%); } }
.nkq-cover2--bg .nkq-cover2__l { justify-content: center; padding: 44px 32px 44px 52px; max-width: 520px; }
.nkq-cover2--bg .nkq-cover2__tag { background: #fff; box-shadow: 0 6px 16px -10px rgba(43,36,20,.4); }
.nkq-cover2--bg .nkq-cover2__r { justify-content: center; margin: 28px 28px 28px 0; padding: 24px; border: 0; border-radius: var(--nkq-radius); background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(43,36,20,.45), inset 0 0 0 1px rgba(255,255,255,.7); }
.nkq-cover2--bg .nkq-plan__row { background: #fff; }
.nkq-cover2--bg .nkq-plan__txt small { max-width: 220px; }
@media (max-width: 1100px) {
	.nkq-cover2__bg { width: 80%; transform: translate(-30%, -50%); animation: none; opacity: .5; }
}
@media (max-width: 860px) {
	.nkq-cover2--bg { grid-template-columns: 1fr; min-height: 0; }
	.nkq-cover2__bg { top: 0; left: 0; width: 100%; transform: translateY(-14%); opacity: .35; }
	.nkq-cover2--bg::before { background: linear-gradient(180deg, rgba(251,245,240,.3) 0%, #fbf5f0 45%); }
	.nkq-cover2--bg .nkq-cover2__l { padding: 28px 16px 16px; max-width: none; }
	.nkq-cover2--bg .nkq-cover2__r { margin: 0 12px 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .nkq-cover2__bg { animation: none; } }
.nkq-cover2--bg .nkq-plan__row--fin { background: var(--nkq-ink); }
.nkq-cover2__bg { width: 56%; }
/* крестик не уезжает при прокрутке окна квиза (телефон, маленькие экраны) */
.nkq-popup__close { position: sticky; top: 12px; right: auto; float: right; margin: 12px 12px -50px 0; display: flex; align-items: center; justify-content: center; }
