/* «Ремонт квартир под ключ» (/remont-2/, template-parts/remont-landing.php). Палитра сайта: графит #111714 → #181d1a,
   золото #c5a059, тёплый фон #f8f5ee; Raleway. Все правила внутри .npkr. */
.npkr {
	--r-ink: var(--npk-color-ink, #18211c); --r-ink-soft: var(--npk-color-ink-soft, #303a34);
	--r-night: #111714; --r-night-2: #181d1a; --r-gold: #c5a059; --r-gold-hi: #d9b66c; --r-gold-dark: #8f6f32;
	--r-warm: #f8f5ee; --r-paper: #fff; --r-line: #e4ded1; --r-muted: #6f7772;
	--r-on: #eef2ee; --r-on-muted: rgba(238, 242, 238, .7); --r-on-line: rgba(238, 242, 238, .16);
	--r-radius: 20px; --r-ease: cubic-bezier(.2, .7, .2, 1);
	font-family: var(--npk-font-body, "Raleway", Arial, sans-serif); color: var(--r-ink); background: var(--r-paper);
	overflow-x: clip; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.npkr *, .npkr *::before, .npkr *::after { box-sizing: border-box; }
.npkr-wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.npkr-gold { color: var(--r-gold); }
.npkr-sec { padding: clamp(64px, 8vw, 112px) 0; }
.npkr-head { margin-bottom: clamp(28px, 4vw, 52px); }
.npkr-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.npkr-head__note { margin: 0; color: var(--r-muted); font-size: 15px; }
.npkr-label { margin: 0 0 14px; color: var(--r-gold-dark); font: 600 12px/1.2 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.npkr-h2 { margin: 0; max-width: 22em; font-family: var(--npk-font-display, "Raleway", sans-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; color: inherit; }

/* кнопки — как .npk-btn новых блоков сайта */
.npkr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.npkr-actions--center { justify-content: center; }
.npkr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 600 16px/1.1 var(--npk-font-interface, "Inter", sans-serif); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.npkr-btn svg, .npkr-link svg, .npkr-price__more svg, .npkr-dock svg { width: 18px; height: 18px; transition: transform .2s var(--r-ease); flex: none; }
.npkr-btn:hover svg, .npkr-link:hover svg, .npkr-price__more:hover svg { transform: translateX(3px); }
.npkr-btn--gold { background: var(--r-gold); color: #111714; box-shadow: 0 10px 30px rgba(197, 160, 89, .26); }
.npkr-btn--gold:hover { background: var(--r-gold-hi); color: #111714; }
.npkr-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.npkr-btn--ghost:hover { border-color: var(--r-gold); color: var(--r-gold-dark); }
.npkr button:focus-visible, .npkr a:focus-visible, .npkr input:focus-visible { outline: 3px solid var(--npk-color-focus, #315fcb); outline-offset: 3px; }

/* ---------- первый экран ---------- */
.npkr-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--r-on); background: var(--r-night); padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 104px); }
.npkr-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: npkr-zoom 18s ease-out both; }
@keyframes npkr-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.npkr-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 23, 20, .93) 0%, rgba(17, 23, 20, .78) 40%, rgba(17, 23, 20, .22) 72%, rgba(17, 23, 20, .08) 100%), linear-gradient(0deg, rgba(17, 23, 20, .6), transparent 40%); }
.npkr-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.npkr-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px; border: 1px solid rgba(197, 160, 89, .5); border-radius: 999px; color: var(--r-gold); font: 600 12px/1 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .12em; text-transform: uppercase; background: rgba(17, 23, 20, .35); }
.npkr-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--r-gold); }
.npkr-hero__title { margin: 0 0 22px; max-width: 15em; color: var(--r-on); font-family: var(--npk-font-display, "Raleway", sans-serif); font-weight: 400; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.npkr-hero__title .npkr-gold { font-weight: 600; }
.npkr-hero__lead { max-width: 36em; margin: 0 0 34px; color: var(--r-on-muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.npkr-hero .npkr-btn--ghost { color: var(--r-on); border-color: var(--r-on-line); background: rgba(17, 23, 20, .3); }
.npkr-hero .npkr-btn--ghost:hover { color: var(--r-gold); border-color: var(--r-gold); }
.npkr-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--r-on-line); }
.npkr-hero__facts li { padding: 18px 18px 0 0; }
.npkr-hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--r-on-line); }
.npkr-hero__facts b { display: block; margin-bottom: 6px; color: var(--r-gold); font: 600 18px/1.2 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: -.01em; }
.npkr-hero__facts span { color: var(--r-on-muted); font-size: 14px; line-height: 1.4; }
.npkr-price { padding: 26px 26px 22px; border: 1px solid var(--r-on-line); border-radius: var(--r-radius); background: rgba(17, 23, 20, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.npkr-price__label { margin: 0 0 14px; color: var(--r-gold); font: 600 12px/1.3 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.npkr-price ul { margin: 0 0 16px; padding: 0; list-style: none; }
.npkr-price li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--r-on-line); }
.npkr-price li span { color: var(--r-on); font-size: 15px; }
.npkr-price li b { color: var(--r-on); font: 600 17px/1.2 var(--npk-font-interface, "Inter", sans-serif); text-align: right; font-variant-numeric: tabular-nums; }
.npkr-price li em { grid-column: 1 / -1; color: var(--r-on-muted); font-size: 13px; font-style: normal; }
.npkr-price__note { margin: 0 0 12px; color: var(--r-on-muted); font-size: 13px; }
.npkr-price__more { display: inline-flex; align-items: center; gap: 8px; color: var(--r-gold); font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- сценарии ---------- */
.npkr-scen { background: var(--r-warm); }
.npkr-scen__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.npkr-scard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-radius); background: var(--r-paper); border: 1px solid var(--r-line); transition: transform .3s var(--r-ease), box-shadow .3s; }
.npkr-scard:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(24, 33, 28, .12); }
.npkr-scard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.npkr-scard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--r-ease); }
.npkr-scard:hover .npkr-scard__img img { transform: scale(1.04); }
.npkr-scard__body { display: flex; flex: 1; flex-direction: column; padding: 26px 26px 24px; }
.npkr-scard h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--r-ink); }
.npkr-scard__lead { margin: 0 0 16px; color: var(--r-ink-soft); font-size: 16px; line-height: 1.55; }
.npkr-scard ul { margin: 0 0 22px; padding: 0; list-style: none; }
.npkr-scard li { position: relative; padding: 7px 0 7px 26px; color: var(--r-ink-soft); font-size: 15px; line-height: 1.45; border-top: 1px solid var(--r-line); }
.npkr-scard li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--r-gold); border-bottom: 2px solid var(--r-gold); transform: rotate(-45deg); }
.npkr-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 0; border: 0; background: none; color: var(--r-gold-dark); font: 600 15px/1.2 var(--npk-font-interface, "Inter", sans-serif); cursor: pointer; text-align: left; }
.npkr-link:hover { color: var(--r-ink); }

/* ---------- до / после ---------- */
.npkr-ba { background: var(--r-night); color: var(--r-on); background-image: radial-gradient(circle at 8% 10%, rgba(207, 164, 86, .16), transparent 32%), linear-gradient(145deg, var(--r-night) 0%, var(--r-night-2) 58%, #101310 100%); }
.npkr-ba .npkr-label { color: var(--r-gold); }
.npkr-ba .npkr-head__note { color: var(--r-on-muted); }
.npkr-ba__stage { position: relative; }
.npkr-compare { position: relative; display: none; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-radius); background: #0b0f0d; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); user-select: none; touch-action: pan-y; }
.npkr-compare.is-active { display: block; }
.npkr-compare img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.npkr-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.npkr-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--r-gold); pointer-events: none; }
.npkr-compare__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--r-gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.npkr-compare__handle span::before, .npkr-compare__handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-left: 2px solid #111714; border-bottom: 2px solid #111714; }
.npkr-compare__handle span::before { left: 13px; transform: rotate(45deg); }
.npkr-compare__handle span::after { right: 13px; transform: rotate(-135deg); }
.npkr-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.npkr-compare__tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(17, 23, 20, .72); color: var(--r-on); font: 600 12px/1 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.npkr-compare__tag--before { left: 18px; }
.npkr-compare__tag--after { right: 18px; background: var(--r-gold); color: #111714; }
.npkr-compare__visual { position: absolute; left: 18px; bottom: 16px; padding: 5px 10px; border-radius: 6px; background: rgba(17, 23, 20, .7); color: var(--r-on-muted); font: 500 11px/1 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .06em; pointer-events: none; }
.npkr-ba__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.npkr-ba__tab { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--r-on-line); border-radius: 16px; background: rgba(255, 255, 255, .03); color: var(--r-on); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.npkr-ba__tab img { flex: none; width: 84px; height: 62px; border-radius: 10px; object-fit: cover; }
.npkr-ba__tab span { font-size: 14px; line-height: 1.35; }
.npkr-ba__tab em { display: block; margin-bottom: 4px; color: var(--r-gold); font: 600 11px/1 var(--npk-font-interface, "Inter", sans-serif); font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.npkr-ba__tab:hover { border-color: rgba(197, 160, 89, .55); }
.npkr-ba__tab.is-active { border-color: var(--r-gold); background: rgba(197, 160, 89, .1); }
.npkr-ba__disclaimer { margin: 18px 0 0; color: var(--r-on-muted); font-size: 13px; line-height: 1.5; }

/* ---------- решения ---------- */
.npkr-sol__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.npkr-sol__card { overflow: hidden; border-radius: 18px; border: 1px solid var(--r-line); background: var(--r-paper); transition: transform .3s var(--r-ease), box-shadow .3s; }
.npkr-sol__card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(24, 33, 28, .1); }
.npkr-sol__img { aspect-ratio: 4 / 3; overflow: hidden; }
.npkr-sol__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.npkr-sol__body { padding: 18px 18px 20px; }
.npkr-sol__tag { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--r-gold-dark); font: 600 11px/1 var(--npk-font-interface, "Inter", sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.npkr-sol__tag svg { width: 18px; height: 18px; flex: none; }
.npkr-sol__card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--r-ink); }
.npkr-sol__card p:last-child { margin: 0; color: var(--r-ink-soft); font-size: 14px; line-height: 1.5; }

/* ---------- процесс + специалист ---------- */
.npkr-proc { background: var(--r-warm); }
.npkr-proc__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.npkr-steps { counter-reset: npkr; margin: 0; padding: 0; list-style: none; }
.npkr-steps li { counter-increment: npkr; position: relative; display: grid; gap: 4px; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--r-line); }
.npkr-steps li::before { content: counter(npkr); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--r-ink); color: var(--r-gold); font: 600 15px/1 var(--npk-font-interface, "Inter", sans-serif); }
.npkr-steps b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--r-ink); }
.npkr-steps span { color: var(--r-ink-soft); font-size: 15px; line-height: 1.5; }
.npkr-expert { position: sticky; top: 110px; overflow: hidden; border-radius: var(--r-radius); background: var(--r-night); color: var(--r-on); background-image: radial-gradient(circle at 90% 0%, rgba(207, 164, 86, .2), transparent 45%); }
.npkr-expert img { display: block; width: 100%; height: 340px; padding-top: 28px; object-fit: cover; object-position: 50% 0; background: radial-gradient(70% 80% at 50% 30%, #2f3631, #111714); } /* голова целиком: фото прижато к верху + воздух сверху */
.npkr-expert__body { padding: 24px 26px 26px; }
.npkr-expert .npkr-label { color: var(--r-gold); margin-bottom: 8px; }
.npkr-expert__name { margin: 0 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.npkr-expert__role { margin: 0 0 14px; color: var(--r-on-muted); font-size: 14px; }
.npkr-expert__text { margin: 0 0 20px; color: var(--r-on); font-size: 16px; line-height: 1.55; }
.npkr-expert .npkr-btn { min-height: 50px; padding: 0 20px; font-size: 15px; }
.npkr-expert .npkr-btn--ghost { color: var(--r-on); border-color: var(--r-on-line); }
.npkr-expert .npkr-btn--ghost:hover { color: var(--r-gold); border-color: var(--r-gold); }

/* ---------- калькулятор и цены (содержимое страницы) ---------- */
.npkr-calc { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }

/* ---------- финальный призыв ---------- */
.npkr-final { padding: clamp(64px, 8vw, 104px) 0; color: var(--r-on); background: radial-gradient(circle at 8% 10%, rgba(207, 164, 86, .16), transparent 32%), linear-gradient(145deg, var(--r-night) 0%, var(--r-night-2) 58%, #101310 100%); }
.npkr-final__inner { text-align: center; }
.npkr-final .npkr-h2 { margin: 0 auto 14px; }
.npkr-final p { max-width: 38em; margin: 0 auto 30px; color: var(--r-on-muted); font-size: 17px; line-height: 1.55; }
.npkr-final .npkr-btn--ghost { color: var(--r-on); border-color: var(--r-on-line); }
.npkr-final .npkr-btn--ghost:hover { color: var(--r-gold); border-color: var(--r-gold); }

.npkr-dock { display: none; }

/* ---------- адаптив (брейкпоинты main.css: 1200 / 991 / 767) ---------- */
@media (max-width: 1200px) {
	.npkr-sol__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.npkr-hero__grid, .npkr-proc__grid { grid-template-columns: 1fr; }
	.npkr-price { max-width: 520px; }
	.npkr-scen__grid { grid-template-columns: 1fr; max-width: 640px; }
	.npkr-ba__tabs { grid-template-columns: 1fr; }
	.npkr-expert { position: static; max-width: 520px; }
}
@media (max-width: 767px) {
	.npkr-hero { padding-top: 36px; }
	.npkr-hero__bg { object-position: 62% 50%; }
	.npkr-hero__shade { background: linear-gradient(180deg, rgba(17, 23, 20, .75) 0%, rgba(17, 23, 20, .9) 55%, rgba(17, 23, 20, .97) 100%); }
	.npkr-actions .npkr-btn { width: 100%; }
	.npkr-hero__facts { grid-template-columns: 1fr; border-top: 0; margin-top: 30px; }
	.npkr-hero__facts li, .npkr-hero__facts li + li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--r-on-line); }
	.npkr-compare { aspect-ratio: 4 / 3.4; }
	.npkr-compare__handle span { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
	.npkr-sol__grid { grid-template-columns: 1fr; }
	.npkr-steps li { padding-left: 56px; }
	.npkr-dock {
		position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 900;
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px;
		border: 0; border-radius: 999px; background: var(--r-gold); color: #111714; cursor: pointer;
		font: 600 15px/1 var(--npk-font-interface, "Inter", sans-serif); box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
		transform: translateY(140%); transition: transform .35s var(--r-ease);
	}
	.npkr-dock.is-shown { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.npkr *, .npkr *::before, .npkr *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* содержимое страницы над калькулятором: пустой заголовок и пустые колонки из старого редактора — скрыть;
   короткий ответ «сколько стоит» (#npk-calc-page) — карточка-ответ для поиска и ИИ */
.npkr-calc .editor > .wrapper > .wp-block-heading:empty,
.npkr-calc .wp-block-columns:not(:has(.wp-block-column:not(:empty))) { display: none; }
.npkr-calc #npk-calc-page { max-width: 920px; margin: 0 auto 8px; padding: 22px 26px; border-left: 3px solid var(--r-gold); border-radius: 0 16px 16px 0; background: var(--r-warm); }
.npkr-calc #npk-calc-page .ncp-updated { margin: 0 0 8px; color: var(--r-muted); font-size: 13px; letter-spacing: .02em; }
.npkr-calc #npk-calc-page .ncp-answer { color: var(--r-ink-soft); font-size: 17px; line-height: 1.6; }
