/*
Theme Name: НТР — Национальные Технологические Решения
Theme URI: https://ntr1.ru/
Author: ООО «Национальные Технологические Решения»
Author URI: https://ntr1.ru/
Description: Корпоративная тема для сайта ООО «НТР» — интегратора решений в области безопасности объектов критической инфраструктуры и автономных систем. Инженерно-чертёжная («blueprint») стилистика, 3D-визуализация РЛС, слайдер главного экрана, разделы услуг, разработок, проектов и сотрудничества.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ntr
Tags: business, corporate, custom-logo, custom-menu, featured-images, translation-ready, right-sidebar, block-styles, wide-blocks
*/

/* ═══════════════════════════════════════════════════════════════════════════
   1. ТОКЕНЫ ДИЗАЙН-СИСТЕМЫ
   Тональные ряды построены в OKLCH по единой шкале светлоты, поэтому
   одинаковый шаг любой роли совпадает с остальными по визуальному весу.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
	--color-bg: #f2f2f3;
	--color-surface: #e9e9ea;
	--color-text: #1d1f20;
	--color-accent: #5980a6;
	--color-accent-2: #728fab;
	--color-divider: rgba(29, 31, 32, 0.16);

	--color-neutral-100: #f5f5f8;
	--color-neutral-200: #e7e7ea;
	--color-neutral-300: #d4d4d7;
	--color-neutral-400: #b7b7ba;
	--color-neutral-500: #98989b;
	--color-neutral-600: #7a7a7d;
	--color-neutral-700: #5d5d60;
	--color-neutral-800: #424244;
	--color-neutral-900: #2b2b2d;

	--color-accent-100: #eef6ff;
	--color-accent-200: #d6ebff;
	--color-accent-300: #b5d9fd;
	--color-accent-400: #94bce3;
	--color-accent-500: #749dc4;
	--color-accent-600: #597ea3;
	--color-accent-700: #416180;
	--color-accent-800: #2c455d;
	--color-accent-900: #1d2d3d;

	/* Схема моно: второй акцент — машинно выведенный дублёр, читается как первый. */
	--color-accent-2-100: #eef6ff;
	--color-accent-2-200: #d6ebff;
	--color-accent-2-300: #bdd8f2;
	--color-accent-2-400: #9ebbd8;
	--color-accent-2-500: #7e9cb8;
	--color-accent-2-600: #627d98;
	--color-accent-2-700: #486077;
	--color-accent-2-800: #314457;
	--color-accent-2-900: #1f2d3a;

	/* Зелёный «суши» на карте главной — тон взят из фирменного знака НТР. */
	--color-land-100: #edfbe2;
	--color-land-200: #cdf1b0;
	--color-land-300: #b7f086;
	--color-land-400: #8ed96f;
	--color-land-500: #72bd58;
	--color-land-600: #5fa24b;
	--color-land-700: #4b7f3f;
	--color-land-800: #396130;
	--color-land-900: #274321;

	/* Barlow не содержит кириллицы — она подхватывается следующим шрифтом. */
	--font-heading: "Barlow Condensed", "Oswald", system-ui, sans-serif;
	--font-heading-weight: 600;
	--font-body: "Barlow", "IBM Plex Sans", system-ui, sans-serif;

	--space-1: 3.4px;
	--space-2: 6.8px;
	--space-3: 10.2px;
	--space-4: 13.6px;
	--space-6: 20.4px;
	--space-8: 27.2px;

	--radius-sm: 2px;
	--radius-md: 4px;
	--radius-lg: 7px;

	--shadow-sm: 0 1px 2px rgba(43, 43, 45, 0.14);
	--shadow-md: 0 3px 10px rgba(43, 43, 45, 0.16);
	--shadow-lg: 0 12px 32px rgba(43, 43, 45, 0.22);

	--wrap: 1240px;
	--gutter: 28px;
	--header-h: 70px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. БАЗА
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 var(--space-2);
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 var(--space-3); }

a {
	color: var(--color-accent-700);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--color-accent-900);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure { margin: 0; }

figcaption {
	font-size: 11px;
	margin-top: var(--space-1);
	color: rgba(29, 31, 32, 0.55);
}

:focus { outline: none; }

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

::selection {
	background: rgba(89, 128, 166, 0.3);
}

hr,
.hr {
	height: 1px;
	border: 0;
	margin: var(--space-4) 0;
	background: var(--color-divider);
}

.text-muted { color: rgba(29, 31, 32, 0.55); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--color-bg);
	clip: auto;
	clip-path: none;
	color: var(--color-accent-900);
	display: block;
	font-family: var(--font-heading);
	font-size: 14px;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
	border: 1px solid var(--color-accent);
}

.ntr-container {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-inline: var(--gutter);
	width: 100%;
}

.ntr-site-main {
	flex: 1 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. BLUEPRINT — чертёжная рамка с приводочными метками
   ═══════════════════════════════════════════════════════════════════════════ */

.blueprint {
	position: relative;
	border: 1px solid var(--color-divider);
	border-radius: 0;
}

.blueprint.duotone,
.blueprint.halftone,
.blueprint.plate {
	overflow: visible;
}

.blueprint > .corner {
	position: absolute;
	width: 11px;
	height: 11px;
	color: rgba(29, 31, 32, 0.55);
	pointer-events: none;
}

.blueprint > .corner::before,
.blueprint > .corner::after {
	content: "";
	position: absolute;
	background: currentColor;
}

.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.corner--light { color: var(--color-accent-300) !important; }

/* Рамка фотографии. Синий дуотон дизайн-системы снят намеренно: фотографии
   с объектов показываются в естественном цвете. */
.duotone {
	position: relative;
	overflow: hidden;
}

.duotone > img,
.duotone > picture > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. КНОПКИ, ФОРМЫ, КАРТОЧКИ, ТЕГИ
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 14px;
	line-height: 1.2;
	color: var(--color-text);
	background: transparent;
	border: 1px solid var(--color-divider);
	padding: var(--space-2) calc(var(--space-3) * 1.2);
	border-radius: 0;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn svg { display: block; flex: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
	background: var(--color-accent);
	color: var(--color-bg);
	border-color: var(--color-accent);
}

.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }

.btn-secondary:hover { background: rgba(29, 31, 32, 0.07); color: var(--color-text); }
.btn-secondary:active { background: rgba(29, 31, 32, 0.14); }

.btn-ghost {
	color: var(--color-accent);
	padding-inline: var(--space-1);
	border-color: transparent;
}

.btn-ghost:hover { background: rgba(89, 128, 166, 0.1); }

.btn-invert {
	background: var(--color-bg);
	color: var(--color-accent-900);
	border-color: var(--color-bg);
}

.btn-invert:hover { background: #fff; color: var(--color-accent-900); }

.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-xl { padding: 14px 26px; font-size: 16px; }

.field > label {
	display: block;
	font-size: 12px;
	margin-bottom: 5px;
	color: rgba(29, 31, 32, 0.7);
}

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--color-text);
	caret-color: var(--color-accent);
	background: var(--color-surface);
	border: 1px solid var(--color-divider);
	border-radius: 0;
	transition: border-color 0.2s;
}

.input:hover,
input:hover,
textarea:hover {
	border-color: rgba(29, 31, 32, 0.45);
}

.input:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	border-color: var(--color-accent);
	outline-offset: 0;
}

textarea,
textarea.input {
	min-height: 90px;
	resize: vertical;
}

.radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}

.radio input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.radio .dot {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	border: 1.5px solid var(--color-divider);
}

.radio:hover .dot { border-color: var(--color-accent); }

.radio input:checked + .dot {
	border-color: var(--color-accent);
	background: var(--color-accent);
	box-shadow: inset 0 0 0 4px var(--color-bg);
}

.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.seg {
	display: inline-flex;
	flex-wrap: wrap;
	overflow: hidden;
	border: 1px solid var(--color-divider);
	border-radius: 0;
}

.seg-opt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.seg-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: rgba(29, 31, 32, 0.07); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

.card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-3);
	border-radius: 0;
	background: transparent;
	border: 1px solid var(--color-divider);
}

.card-kicker {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.card-title {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 17px;
	line-height: 1.2;
}

.card-body {
	margin: 0;
	font-size: 13px;
	opacity: 0.8;
	flex: 1;
}

.card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: rgba(29, 31, 32, 0.5);
}

.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

.tag {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	letter-spacing: 0.02em;
	padding: 3px 10px;
	border-radius: 0;
}

.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-invert { background: var(--color-accent-700); color: var(--color-bg); }

.table,
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.table th,
table th {
	text-align: left;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(29, 31, 32, 0.6);
	padding: var(--space-2);
	border-bottom: 1px solid var(--color-divider);
}

.table td,
table td {
	padding: var(--space-2);
	border-bottom: 1px solid rgba(29, 31, 32, 0.08);
}

.table tbody tr:hover,
table tbody tr:hover { background: rgba(29, 31, 32, 0.04); }

.dialog-backdrop {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: var(--space-4);
	background: rgba(43, 43, 45, 0.5);
	z-index: 900;
}

.dialog {
	width: min(440px, 100%);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4);
	border-radius: 0;
	background: transparent;
	border: 1px solid var(--color-divider);
	box-shadow: var(--shadow-lg);
}

.dialog-title {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 20px;
}

.dialog-body { font-size: 14px; opacity: 0.85; }

.dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. АНИМАЦИИ
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes ntr-marquee { to { transform: translateX(-50%); } }
@keyframes ntr-progress { from { width: 0; } to { width: 100%; } }
@keyframes ntr-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

[data-reveal] {
	transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal="hidden"] {
	opacity: 0;
	transform: translateY(28px);
}

/* Наведение не сдвигает текст: карточка только получает тень,
   строка — только фон. Подъём карточки и сдвиг строки убраны намеренно. */
.ntr-card {
	transition: box-shadow 0.35s;
}

.ntr-card:hover {
	box-shadow: var(--shadow-md);
}

.ntr-row { transition: background 0.25s; }
.ntr-row:hover { background: var(--color-accent-100); }

.ntr-row--slide { transition: background 0.25s; }
.ntr-row--slide:hover { background: var(--color-accent-100); }

/* ═══════════════════════════════════════════════════════════════════════════
   6. ШАПКА
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(242, 242, 243, 0.88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-divider);
	flex: none;
}

.admin-bar .ntr-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .ntr-header { top: 46px; }
}

.ntr-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 12px var(--gutter);
}

.ntr-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	margin-right: auto;
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 18px;
	line-height: 1;
}

.ntr-brand img {
	height: 44px;
	width: auto;
	max-width: 260px;
	object-fit: contain;
}

.ntr-nav-links {
	display: flex;
	gap: 26px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ntr-nav-links li { position: relative; }

.ntr-link,
.ntr-nav-links a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.02em;
	position: relative;
	padding: 4px 0;
	white-space: nowrap;
	display: inline-block;
}

.ntr-link::after,
.ntr-nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 0;
	background: var(--color-accent);
	transition: width 0.25s;
}

.ntr-link:hover::after,
.ntr-nav-links a:hover::after,
.ntr-nav-links .current-menu-item > a::after,
.ntr-nav-links .current_page_item > a::after,
.ntr-nav-links [aria-current="page"]::after {
	width: 100%;
}

/* Подменю */
.ntr-nav-links .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--color-bg);
	border: 1px solid var(--color-divider);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	z-index: 30;
}

.ntr-nav-links li:hover > .sub-menu,
.ntr-nav-links li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ntr-nav-links .sub-menu a {
	display: block;
	padding: 8px 16px;
	white-space: normal;
}

.ntr-nav-links .sub-menu a::after { display: none; }
.ntr-nav-links .sub-menu a:hover { background: var(--color-accent-100); }

.ntr-burger { display: none !important; }

.ntr-mobile-menu {
	border-top: 1px solid var(--color-divider);
	padding: 12px var(--gutter) 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--color-bg);
}

.ntr-mobile-menu[hidden] { display: none !important; }

.ntr-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.ntr-mobile-menu .sub-menu { padding-left: 16px; }

.ntr-mobile-menu a {
	color: inherit;
	text-decoration: none;
	font-family: var(--font-heading);
	font-size: 22px;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-divider);
	display: block;
}

.ntr-mobile-menu .sub-menu a { font-size: 17px; }
.ntr-mobile-menu a:hover { color: var(--color-accent-700); }
.ntr-mobile-menu .btn { margin-top: 14px; align-self: flex-start; }

@media (max-width: 900px) {
	.ntr-nav-links,
	.ntr-cta { display: none !important; }
	.ntr-burger { display: inline-flex !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. ГЛАВНЫЙ ЭКРАН — СЛАЙДЕР
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-hero {
	position: relative;
	border-bottom: 1px solid var(--color-divider);
	background: linear-gradient(90deg, var(--color-bg) 55%, var(--color-surface) 55%);
}

.ntr-hero__grid {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 64px var(--gutter) 40px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.ntr-hero__text {
	display: grid;
	min-height: 420px;
	align-content: center;
}

.ntr-slide {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-self: center;
	transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ntr-slide[data-active="false"] {
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
}

/* Неактивный слайд скрыт от скринридеров — иначе они читают все три подряд. */
.ntr-slide[aria-hidden="true"],
.ntr-vis[aria-hidden="true"] {
	visibility: hidden;
}

.ntr-slide[aria-hidden="true"] { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.7s; }
.ntr-slide[aria-hidden="false"] { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
.ntr-vis[aria-hidden="true"] { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.8s; }
.ntr-vis[aria-hidden="false"] { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }

.ntr-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-700);
}

.ntr-kicker::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--color-accent);
	flex: none;
}

/* .h1 — заголовок неактивного слайда: визуально это h1, но в структуре
   документа единственный h1 остаётся у первого слайда. */
.ntr-slide h1,
.ntr-slide .h1 {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: clamp(42px, 5.4vw, 78px);
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}

.ntr-slide p {
	font-size: 17px;
	line-height: 1.55;
	max-width: 540px;
	margin: 0;
	color: var(--color-neutral-700);
	text-wrap: pretty;
}

.ntr-slide__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.ntr-hero__vis {
	display: grid;
	aspect-ratio: 1;
	max-width: 560px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.ntr-hero__frame {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 3;
}

.ntr-vis {
	grid-area: 1 / 1;
	position: relative;
	overflow: hidden;
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ntr-vis[data-active="false"] {
	opacity: 0;
	transform: scale(0.97);
	pointer-events: none;
}

.ntr-vis--radar { background: var(--color-surface); }
.ntr-vis--map { background: var(--color-accent-900); }

.ntr-vis--sc {
	background: var(--color-surface);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 8px;
	padding: 40px 14px 36px;
}

.ntr-vis__label {
	position: absolute;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
	pointer-events: none;
}

.ntr-vis__label--tl { left: 14px; top: 12px; }
.ntr-vis__label--tr { right: 14px; top: 12px; color: var(--color-accent-700); display: flex; gap: 6px; align-items: center; }

.ntr-vis__foot {
	position: absolute;
	left: 14px;
	bottom: 12px;
	right: 14px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--color-neutral-600);
	pointer-events: none;
}

.ntr-vis--map .ntr-vis__label,
.ntr-vis--map .ntr-vis__foot { color: var(--color-accent-300); }

.ntr-blink {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
	animation: ntr-blink 1.6s infinite;
	flex: none;
}

.ntr-tile {
	border: 1px solid var(--color-divider);
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 4px;
	min-width: 0;
	overflow: hidden;
}

.ntr-tile__label {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
}

.ntr-tile__value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 34px;
	line-height: 1;
}

.ntr-tile__value--sm { font-size: 20px; line-height: 1.1; }
.ntr-tile__value--accent { color: var(--color-accent-700); }
.ntr-tile--span2 { grid-column: span 2; grid-row: span 2; padding: 0; }

.ntr-tile__row {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
}

.ntr-tile__row span:last-child { color: var(--color-accent-700); }

.ntr-hero__controls {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter) 28px;
	display: flex;
	align-items: center;
	gap: 22px;
}

.ntr-dots {
	display: flex;
	gap: 8px;
	flex: 1;
	max-width: 360px;
}

.ntr-dot {
	height: 2px;
	background: var(--color-neutral-300);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	flex: 1;
	border: 0;
	padding: 0;
}

.ntr-dot[data-active="true"]::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--color-accent);
	animation: ntr-progress 7s linear;
}

.ntr-hero__counter {
	font-family: var(--font-heading);
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--color-neutral-600);
}

.ntr-hero__arrows {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. БЕГУЩАЯ СТРОКА
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-marquee {
	border-bottom: 1px solid var(--color-divider);
	overflow: hidden;
	padding: 12px 0;
	white-space: nowrap;
}

.ntr-marquee__track {
	display: inline-flex;
	width: max-content;
	animation: ntr-marquee 40s linear infinite;
}

.ntr-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 0 11px;
	font-family: var(--font-heading);
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-700);
}

.ntr-marquee__item::after {
	content: "";
	width: 5px;
	height: 5px;
	background: var(--color-accent);
	display: inline-block;
	flex: none;
}

@media (prefers-reduced-motion: reduce) {
	.ntr-marquee__track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. ЦИФРЫ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-section { padding-block: 48px; }
.ntr-section--tight { padding-block: 48px 24px; }
.ntr-section--flush { padding-block: 56px; }
.ntr-section--list { padding-block: 40px 48px; }

.ntr-numbers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--color-divider);
	border: 1px solid var(--color-divider);
}

.ntr-numbers__cell {
	background: var(--color-bg);
	padding: 26px;
}

.ntr-numbers__value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 52px;
	line-height: 1;
}

.ntr-numbers__value span { font-size: 24px; }

.ntr-numbers__label {
	font-size: 13px;
	color: var(--color-neutral-600);
	margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. ЗАГОЛОВКИ СЕКЦИЙ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.ntr-eyebrow {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-700);
	margin-bottom: 14px;
}

.ntr-h2 {
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.02;
	margin: 0;
	text-wrap: balance;
}

.ntr-h3 {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.04;
	margin: 0;
	text-wrap: balance;
}

.ntr-lead {
	color: var(--color-neutral-700);
	font-size: 16px;
	text-wrap: pretty;
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. КАРТОЧКИ УСЛУГ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.ntr-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ntr-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.ntr-svc-card {
	padding: 0;
	gap: 0;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}

.ntr-svc-card__media {
	aspect-ratio: 4 / 3;
	border-bottom: 1px solid var(--color-divider);
}

.ntr-svc-card__body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.ntr-svc-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.ntr-svc-card h3 {
	font-size: 22px;
	line-height: 1.1;
	margin: 0;
}

.ntr-svc-card p {
	font-size: 13.5px;
	line-height: 1.5;
	opacity: 0.85;
	margin: 0;
	flex: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. ЭШЕЛОНЫ / ФЛАГМАН / CTA
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-band {
	background: var(--color-surface);
	border-top: 1px solid var(--color-divider);
	border-bottom: 1px solid var(--color-divider);
}

.ntr-split {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 56px var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

/* Обращение директора: узкая колонка под портрет. */
.ntr-split--portrait {
	grid-template-columns: 300px minmax(0, 1fr);
	padding-block: 56px;
}

/* Портрет справа от текста. */
.ntr-split--portrait-right {
	grid-template-columns: minmax(0, 1fr) 300px;
}

.ntr-split--portrait-right > .duotone {
	justify-self: end;
}

.ntr-diagram {
	aspect-ratio: 1;
	max-width: 520px;
	width: 100%;
	position: relative;
	background: var(--color-bg);
}

.ntr-diagram svg { width: 100%; height: 100%; display: block; }

.ntr-echelon-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--color-divider);
	margin-top: 22px;
}

.ntr-echelon-list > div {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	padding: 14px 10px;
	border-bottom: 1px solid var(--color-divider);
}

.ntr-echelon-list b {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 20px;
	color: var(--color-accent-700);
}

.ntr-flagship {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	background: var(--color-accent-900);
	color: var(--color-bg);
}

.ntr-flagship__body {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ntr-flagship__tags {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.ntr-flagship__tags > span:first-child {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-300);
}

.ntr-flagship h2 {
	font-size: clamp(38px, 4.2vw, 64px);
	line-height: 0.98;
	margin: 0;
	letter-spacing: -0.02em;
}

.ntr-flagship p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--color-accent-200);
	text-wrap: pretty;
}

.ntr-flagship__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid var(--color-accent-700);
}

.ntr-fact__label {
	font-size: 11px;
	color: var(--color-accent-300);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ntr-fact__value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 20px;
}

.ntr-flagship__media {
	min-height: 320px;
	border-left: 1px solid var(--color-accent-700);
}

.ntr-cta-band { border-top: 1px solid var(--color-divider); }

.ntr-cta {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 56px var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
}

.ntr-cta h2 {
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.02;
	margin: 0 0 10px;
	text-wrap: balance;
}

.ntr-cta p {
	margin: 0;
	color: var(--color-neutral-700);
	max-width: 560px;
}

.ntr-cta--dark {
	padding: 40px;
	background: var(--color-accent-900);
	color: var(--color-bg);
}

.ntr-cta--dark p { color: var(--color-accent-200); max-width: 600px; }

/* ═══════════════════════════════════════════════════════════════════════════
   13. ШАПКИ ВНУТРЕННИХ СТРАНИЦ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-page-hero {
	border-bottom: 1px solid var(--color-divider);
	position: relative;
	overflow: hidden;
}

.ntr-page-hero__ghost {
	position: absolute;
	right: -10px;
	top: -40px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(180px, 26vw, 360px);
	line-height: 1;
	color: var(--color-accent-200);
	letter-spacing: -0.04em;
	pointer-events: none;
	user-select: none;
}

.ntr-page-hero__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 64px var(--gutter) 48px;
	position: relative;
}

.ntr-page-hero h1 {
	font-size: clamp(42px, 5.4vw, 78px);
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	max-width: 900px;
	text-wrap: balance;
}

.ntr-page-hero__lead {
	font-size: 18px;
	line-height: 1.5;
	color: var(--color-neutral-700);
	max-width: 640px;
	margin: 0;
	text-wrap: pretty;
}

.ntr-page-hero--split .ntr-page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 56px;
	align-items: end;
}

.ntr-facts {
	padding: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	background: var(--color-bg);
}

.ntr-facts__label {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
}

.ntr-facts__value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 30px;
	margin-top: 6px;
	line-height: 1;
}

.ntr-facts__note {
	font-size: 12px;
	color: var(--color-neutral-600);
}

/* ═══════════════════════════════════════════════════════════════════════════
   14. СТРАНИЦА УСЛУГ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	position: relative;
}

.ntr-steps::before {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	top: 22px;
	height: 1px;
	background: var(--color-accent);
	opacity: 0.5;
}

.ntr-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-right: 18px;
	position: relative;
}

.ntr-step__num {
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-accent);
	background: var(--color-bg);
	display: grid;
	place-items: center;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 18px;
	color: var(--color-accent-700);
	position: relative;
	z-index: 1;
}

.ntr-step__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.1;
}

.ntr-step__text {
	font-size: 13px;
	color: var(--color-neutral-700);
	line-height: 1.45;
}

.ntr-svc-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ntr-svc-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--color-bg);
}

.ntr-svc-row__media {
	min-height: 320px;
	border-right: 1px solid var(--color-divider);
}

.ntr-svc-row:nth-child(even) .ntr-svc-row__media {
	order: 2;
	border-right: 0;
	border-left: 1px solid var(--color-divider);
}

.ntr-svc-row__body {
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ntr-svc-row__body > p {
	margin: 0;
	color: var(--color-neutral-700);
	font-size: 15px;
	line-height: 1.55;
	text-wrap: pretty;
}

.ntr-ticks {
	margin: 6px 0 0;
	padding: 14px 0 0;
	list-style: none;
	display: grid;
	gap: 8px;
	border-top: 1px solid var(--color-divider);
}

.ntr-ticks li {
	font-size: 14px;
	line-height: 1.45;
	padding-left: 16px;
	position: relative;
}

.ntr-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 1px;
	background: var(--color-accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   15. СТРАНИЦА РАЗРАБОТОК — СХЕМА ПЛАТФОРМЫ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-dark {
	background: var(--color-accent-900);
	color: var(--color-bg);
}

.ntr-dark a { color: var(--color-accent-300); }
.ntr-dark a:hover { color: #fff; }

.ntr-arch {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.3fr) 40px minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
}

.ntr-arch__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ntr-arch__label {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent-300);
	margin-bottom: 6px;
}

.ntr-node {
	border: 1px solid var(--color-accent-600);
	padding: 12px 14px;
	font-family: var(--font-heading);
	font-size: 17px;
	transition: background 0.25s, color 0.25s;
}

.ntr-node:hover {
	background: var(--color-accent);
	color: var(--color-bg);
}

.ntr-arch__arrow {
	display: grid;
	place-items: center;
	color: var(--color-accent-400);
}

.ntr-arch__core {
	border-color: var(--color-accent-300);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--color-accent-800);
}

.ntr-arch__core-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 28px;
	line-height: 1;
}

.ntr-arch__core-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 6px;
}

.ntr-arch__core-grid > div {
	border: 1px solid var(--color-accent-600);
	padding: 10px;
	font-size: 13px;
}

.ntr-registry {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 22px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--color-accent-700);
}

.ntr-registry__value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 24px;
	margin-top: 6px;
}

.ntr-registry__note {
	font-size: 13px;
	color: var(--color-accent-300);
}

.ntr-item-card {
	padding: 24px;
	gap: 12px;
}

.ntr-item-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.ntr-item-card__idx {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 22px;
	color: var(--color-accent-300);
}

.ntr-item-card h2,
.ntr-item-card h3 {
	font-size: 26px;
	line-height: 1.08;
	margin: 0;
	text-wrap: balance;
}

.ntr-item-card p {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	opacity: 0.8;
	flex: 1;
}

.ntr-item-card .card-meta {
	border-top: 1px solid var(--color-divider);
	padding-top: 10px;
}

.ntr-item-card__media {
	aspect-ratio: 16 / 9;
	margin: -24px -24px 4px;
	border-bottom: 1px solid var(--color-divider);
}

.ntr-cta-card {
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	background: var(--color-accent);
	color: var(--color-bg);
	text-decoration: none;
	min-height: 220px;
}

.ntr-cta-card:hover { color: var(--color-bg); }

.ntr-cta-card__kicker {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ntr-cta-card__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.05;
}

.ntr-cta-card__more {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   16. ПРОЕКТЫ И ГАЛЕРЕИ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
}

.ntr-featured .duotone { aspect-ratio: 16 / 10; }

.ntr-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ntr-gallery__item {
	position: relative;
	display: block;
	padding: 0;
	border: 1px solid var(--color-divider);
	background: var(--color-surface);
	cursor: zoom-in;
	overflow: hidden;
}

.ntr-gallery__item img {
	aspect-ratio: 4 / 3;
	width: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ntr-gallery__item:hover img { transform: scale(1.04); }

.ntr-gallery__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 10px;
	font-family: var(--font-heading);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-bg);
	background: linear-gradient(0deg, rgba(29, 45, 61, 0.88), rgba(29, 45, 61, 0));
	text-align: left;
}

.ntr-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(29, 45, 61, 0.92);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.ntr-lightbox[hidden] { display: none !important; }

.ntr-lightbox__img {
	max-width: min(1200px, 92vw);
	max-height: 82vh;
	width: auto;
	object-fit: contain;
	border: 1px solid var(--color-accent-600);
}

.ntr-lightbox__cap {
	margin-top: 14px;
	font-family: var(--font-heading);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent-200);
	text-align: center;
}

.ntr-lightbox__close,
.ntr-lightbox__nav {
	position: absolute;
	background: transparent;
	border: 1px solid var(--color-accent-600);
	color: var(--color-bg);
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s;
}

.ntr-lightbox__close:hover,
.ntr-lightbox__nav:hover { background: var(--color-accent-700); }

.ntr-lightbox__close { top: 20px; right: 20px; }
.ntr-lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.ntr-lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════════════════════════════
   17. СОТРУДНИЧЕСТВО — ЭТАПЫ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-stage {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 40px;
	padding: 40px 0;
	border-top: 1px solid var(--color-divider);
}

.ntr-stage__head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.ntr-stage__num {
	width: 56px;
	height: 56px;
	flex: none;
	border: 1px solid var(--color-accent);
	background: var(--color-accent-900);
	color: var(--color-bg);
	display: grid;
	place-items: center;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 22px;
}

.ntr-stage__count {
	font-size: 13px;
	color: var(--color-neutral-600);
}

.ntr-stage__items { display: flex; flex-direction: column; }

.ntr-stage__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 12px;
	border-bottom: 1px solid var(--color-divider);
	align-items: baseline;
	transition: background 0.25s;
}

.ntr-stage__item:hover { background: var(--color-accent-100); }

.ntr-stage__item > span:first-child {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 18px;
	color: var(--color-accent-700);
}

.ntr-stage__item > span:last-child { font-size: 15px; line-height: 1.45; }

/* ═══════════════════════════════════════════════════════════════════════════
   18. НАПРАВЛЕНИЯ (О КОМПАНИИ)
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-dir-list { border-top: 1px solid var(--color-divider); }

.ntr-dir-list > div {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 16px 12px;
	border-bottom: 1px solid var(--color-divider);
}

.ntr-dir-list__num {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 22px;
	color: var(--color-accent-700);
}

.ntr-dir-list__text { font-size: 15.5px; line-height: 1.4; }

.ntr-quote {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(22px, 2.2vw, 32px);
	line-height: 1.22;
	text-wrap: pretty;
}

.ntr-sign {
	margin-top: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.ntr-sign::before {
	content: "";
	width: 36px;
	height: 1px;
	background: var(--color-accent-400);
	flex: none;
}

.ntr-sign__name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 20px;
}

.ntr-sign__role {
	font-size: 13px;
	color: var(--color-accent-300);
}

.ntr-okved {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
}

.ntr-okved__row {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-divider);
	align-items: baseline;
}

.ntr-okved__code {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 17px;
	color: var(--color-accent-700);
}

.ntr-okved__text { font-size: 14px; line-height: 1.4; }
.ntr-okved__row--main .ntr-okved__code { color: var(--color-text); }

/* ═══════════════════════════════════════════════════════════════════════════
   19. КОНТАКТЫ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-contacts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.ntr-contact-card {
	padding: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.ntr-contact-card__label {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
}

.ntr-contact-card__name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 22px;
	margin-top: 6px;
	line-height: 1.1;
}

.ntr-contact-card a {
	display: block;
	font-size: 15px;
	text-decoration: none;
}

/* Основной телефон компании — крупнее остальных контактов.
   Селектор с элементом: иначе правило .ntr-contact-card a выше по специфичности. */
.ntr-contact-card a.ntr-contact-card__phone {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin-top: 10px;
	color: var(--color-text);
}

.ntr-contact-card a.ntr-contact-card__phone:hover { color: var(--color-accent-700); }

.ntr-form {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ntr-form__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 28px;
	line-height: 1;
}

.ntr-form__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ntr-form__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ntr-form__note {
	font-size: 12px;
	color: var(--color-neutral-600);
	max-width: 320px;
}

.ntr-notice {
	padding: 12px 16px;
	border: 1px solid var(--color-accent);
	background: var(--color-accent-100);
	font-size: 14px;
	color: var(--color-accent-900);
}

.ntr-notice--error {
	border-color: var(--color-neutral-700);
	background: var(--color-neutral-100);
	color: var(--color-neutral-900);
}

.ntr-map {
	aspect-ratio: 16 / 10;
	position: relative;
	background: var(--color-accent-900);
}

.ntr-map svg { width: 100%; height: 100%; display: block; }

.ntr-map__link {
	position: absolute;
	left: 14px;
	bottom: 14px;
	font-family: var(--font-heading);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent-200);
	text-decoration: none;
	border-bottom: 1px solid var(--color-accent-600);
}

.ntr-map__link:hover { color: #fff; }

/* Встроенная карта Яндекса: кадр на всю рамку, ссылка под ним — на подложке,
   чтобы читалась поверх любой подложки карты. */
.ntr-map--embed { overflow: hidden; background: var(--color-surface); }

.ntr-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ntr-map--embed .ntr-map__link {
	padding: 7px 10px;
	background: rgba(29, 45, 61, 0.88);
	border-bottom: 0;
	z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   20. ПОДВАЛ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-footer {
	border-top: 1px solid var(--color-divider);
	background: var(--color-surface);
	flex: none;
	margin-top: auto;
}

.ntr-footer__grid {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 48px var(--gutter) 32px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
}

.ntr-footer__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ntr-footer__col--brand { gap: 14px; }

.ntr-footer__col--brand img {
	height: 40px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
	align-self: flex-start;
}

.ntr-footer__col--brand p {
	margin: 0;
	font-size: 13px;
	color: var(--color-neutral-700);
	max-width: 320px;
}

.ntr-footer__title {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
	margin-bottom: 4px;
}

.ntr-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ntr-flink,
.ntr-footer__col a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
}

.ntr-flink:hover,
.ntr-footer__col a:hover { color: var(--color-accent-700); }

.ntr-footer__col span { font-size: 13px; color: var(--color-neutral-700); }

.ntr-footer__bar { border-top: 1px solid var(--color-divider); }

.ntr-footer__bar-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 16px var(--gutter);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--color-neutral-600);
}

.ntr-footer__bar-inner a { font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════════════════
   21. ТИПОГРАФИКА КОНТЕНТА (страницы, записи, блоки Гутенберга)
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-prose {
	font-size: 16px;
	line-height: 1.65;
	max-width: 760px;
}

.ntr-prose > * + * { margin-top: 1.1em; }
.ntr-prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
.ntr-prose h3 { font-size: 26px; margin-top: 1.4em; }
.ntr-prose h4 { font-size: 20px; margin-top: 1.2em; }
.ntr-prose p { margin-bottom: 0; }
.ntr-prose ul,
.ntr-prose ol { padding-left: 22px; }
.ntr-prose li + li { margin-top: 6px; }

.ntr-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--color-accent);
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.3;
	color: var(--color-neutral-800);
}

.ntr-prose img,
.ntr-prose .wp-caption { border: 1px solid var(--color-divider); }

.ntr-prose figure { margin: 1.6em 0; }

.ntr-prose code,
.ntr-prose kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	background: var(--color-surface);
	padding: 2px 5px;
	border: 1px solid var(--color-divider);
}

.ntr-prose pre {
	background: var(--color-accent-900);
	color: var(--color-accent-200);
	padding: 18px;
	overflow-x: auto;
	border: 1px solid var(--color-accent-700);
}

.ntr-prose pre code { background: none; border: 0; color: inherit; padding: 0; }
.ntr-prose table { margin: 1.6em 0; }

.ntr-prose .alignleft { float: left; margin: 0 1.6em 1.2em 0; }
.ntr-prose .alignright { float: right; margin: 0 0 1.2em 1.6em; }
.ntr-prose .aligncenter { margin-inline: auto; }

.ntr-prose .alignwide {
	width: min(1080px, 92vw);
	max-width: none;
	margin-inline: calc(50% - min(540px, 46vw));
}

.ntr-prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.ntr-prose > .wp-block-image,
.ntr-prose > .wp-block-gallery { margin-block: 1.6em; }

.ntr-prose:after { content: ""; display: table; clear: both; }

/* ═══════════════════════════════════════════════════════════════════════════
   22. НОВОСТИ / АРХИВЫ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-post-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.ntr-post-card__media {
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--color-divider);
	background: var(--color-surface);
}

.ntr-post-card__body {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.ntr-post-card h2,
.ntr-post-card h3 {
	font-size: 24px;
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
}

.ntr-post-card p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--color-neutral-700); flex: 1; }

.ntr-meta {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.ntr-single__media {
	margin-bottom: 32px;
	border: 1px solid var(--color-divider);
}

.ntr-pagination {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--color-divider);
}

.ntr-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	border: 1px solid var(--color-divider);
	font-family: var(--font-heading);
	font-size: 15px;
	color: var(--color-text);
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ntr-pagination .page-numbers:hover { background: var(--color-accent-100); }

.ntr-pagination .page-numbers.current {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-bg);
}

.ntr-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--color-divider);
}

.ntr-post-nav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border: 1px solid var(--color-divider);
	text-decoration: none;
	color: inherit;
	transition: background 0.25s;
}

.ntr-post-nav a:hover { background: var(--color-accent-100); }
.ntr-post-nav span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-600); }
.ntr-post-nav strong { font-family: var(--font-heading); font-weight: 600; font-size: 19px; line-height: 1.15; }
.ntr-post-nav a:last-child { text-align: right; }

.ntr-empty {
	padding: 64px 0;
	text-align: center;
	color: var(--color-neutral-600);
}

.ntr-searchform {
	display: flex;
	gap: 10px;
	max-width: 460px;
}

.ntr-searchform .input { flex: 1; }

.ntr-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}

.ntr-widgets .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ntr-widgets .widget a { text-decoration: none; font-size: 14px; }

.ntr-widget-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 17px;
	margin-bottom: 12px;
}

.ntr-404 {
	padding: 120px 0;
	text-align: center;
}

.ntr-404__code {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(120px, 22vw, 260px);
	line-height: 0.9;
	color: var(--color-accent-200);
	letter-spacing: -0.04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   23. АДАПТИВНОСТЬ
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
	.ntr-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ntr-arch {
		grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.2fr);
	}
	.ntr-arch > *:nth-child(4) { display: none; }
	.ntr-arch > *:nth-child(5) {
		grid-column: 1 / -1;
		margin-top: 22px;
	}
}

@media (max-width: 900px) {
	:root { --gutter: 20px; }

	.ntr-hero { background: var(--color-bg); }
	.ntr-hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
	.ntr-hero__text { min-height: 0; }
	.ntr-hero__vis { max-width: 100%; }

	.ntr-numbers { grid-template-columns: 1fr 1fr; }
	.ntr-grid-4 { grid-template-columns: 1fr 1fr; }
	.ntr-grid-3 { grid-template-columns: 1fr; }
	/* !important — секции задают пропорции колонок инлайном по вёрстке. */
	.ntr-grid-2 { grid-template-columns: 1fr !important; gap: 36px !important; }
	.ntr-featured { grid-template-columns: 1fr; }

	.ntr-split,
	.ntr-split--portrait { grid-template-columns: 1fr; gap: 40px; padding-block: 44px; }
	.ntr-split--portrait-right > .duotone { justify-self: start; }
	.ntr-flagship { grid-template-columns: 1fr; }
	.ntr-flagship__media { border-left: 0; border-top: 1px solid var(--color-accent-700); min-height: 260px; }
	.ntr-cta { grid-template-columns: 1fr; }
	.ntr-cta--dark { padding: 28px; }

	.ntr-page-hero--split .ntr-page-hero__inner { grid-template-columns: 1fr; gap: 36px; }
	.ntr-page-hero__inner { padding-block: 48px 36px; }

	.ntr-steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
	.ntr-steps::before { display: none; }

	.ntr-svc-row { grid-template-columns: 1fr; }
	.ntr-svc-row__media,
	.ntr-svc-row:nth-child(even) .ntr-svc-row__media {
		order: 0;
		border: 0;
		border-bottom: 1px solid var(--color-divider);
		min-height: 240px;
	}
	.ntr-svc-row__body { padding: 26px; }

	.ntr-arch { grid-template-columns: 1fr; }
	.ntr-arch__arrow { transform: rotate(90deg); padding-block: 14px; }
	.ntr-arch > *:nth-child(4) { display: grid; }
	.ntr-arch > *:nth-child(5) { grid-column: auto; margin-top: 0; }

	.ntr-stage { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
	.ntr-contacts { grid-template-columns: 1fr; gap: 32px; }
	.ntr-form { padding: 24px; }

	.ntr-okved { grid-template-columns: 1fr; }
	.ntr-footer__grid { grid-template-columns: 1fr 1fr; }
	.ntr-post-nav { grid-template-columns: 1fr; }
	.ntr-section { padding-block: 40px; }
}

/* Планшет и телефон: iOS увеличивает страницу при фокусе в поле со шрифтом
   меньше 16px, поэтому все поля и тач-цели переводятся на мобильные размеры. */
@media (max-width: 768px) {
	.input,
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="search"],
	input[type="password"],
	input[type="number"],
	input[type="date"],
	textarea,
	select {
		font-size: 16px;
		min-height: 44px;
		padding: 9px 12px;
	}

	textarea,
	textarea.input { min-height: 112px; }

	.field > label { font-size: 13px; }
	.radio { font-size: 15px; min-height: 44px; }
	.seg-opt { font-size: 14px; padding: 11px 14px; }

	.btn { min-height: 44px; }
	.btn-icon { width: 44px; height: 44px; }
	.btn-ghost { padding-inline: var(--space-2); }
	.ntr-pagination .page-numbers,
	.ntr-comments .ntr-pagination a { min-width: 44px; height: 44px; }

	/* Полоска слайдера высотой 2px: зону нажатия добавляет псевдоэлемент. */
	.ntr-dot { overflow: visible; }
	.ntr-dot::before {
		content: "";
		position: absolute;
		inset: -21px 0;
	}
	.ntr-dots { gap: 10px; }
}

@media (max-width: 700px) {
	.ntr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ntr-lightbox__nav { display: none; }

	/* Заголовки: 42px занимали половину экрана телефона. */
	h1 { font-size: clamp(30px, 8.4vw, 38px); }
	h2 { font-size: 26px; }
	h3 { font-size: 21px; }

	h1, h2, h3, h4,
	.ntr-h2,
	.ntr-h3,
	.ntr-slide h1,
	.ntr-slide .h1,
	.ntr-page-hero h1,
	.ntr-page-hero__lead,
	.ntr-flagship h2,
	.ntr-cta h2,
	.ntr-item-card h2,
	.ntr-item-card h3,
	.ntr-post-card h2,
	.ntr-post-card h3,
	.ntr-numbers__value,
	.ntr-facts__value,
	.ntr-arch__core-title,
	.ntr-cta-card__title,
	.ntr-contact-card__name,
	.ntr-form__title,
	.ntr-step__title,
	.ntr-quote {
		overflow-wrap: break-word;
	}

	.ntr-page-hero h1,
	.ntr-hero__text h1,
	.ntr-slide h1,
	.ntr-slide .h1 {
		font-size: clamp(32px, 9.2vw, 40px);
		line-height: 1.04;
		letter-spacing: -0.015em;
	}

	.ntr-h2 { font-size: clamp(26px, 7.2vw, 36px); }
	.ntr-h3 { font-size: clamp(23px, 6.2vw, 30px); }
	.ntr-flagship h2 { font-size: clamp(28px, 8vw, 36px); }
	.ntr-cta h2 { font-size: clamp(26px, 7.4vw, 34px); }
	.ntr-page-hero__lead { font-size: 16px; }
	.ntr-slide p { font-size: 16px; }

	/* «Призрачная» цифра: мельче и глуше, иначе лезет под заголовок. */
	.ntr-page-hero__ghost {
		font-size: clamp(88px, 28vw, 150px);
		top: -8px;
		right: 0;
		opacity: 0.55;
	}

	.ntr-page-hero__inner { padding-block: 36px 32px; }

	.ntr-nav { gap: 12px; padding-block: 10px; }
	.ntr-brand img { height: 38px; max-width: 180px; }
	.ntr-burger { width: 44px; height: 44px; }

	.ntr-mobile-menu {
		max-height: calc(100vh - 60px);
		max-height: calc(100dvh - 60px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-bottom: 18px;
	}

	.ntr-mobile-menu a { font-size: 19px; padding: 11px 0; }

	.ntr-mobile-menu .btn {
		font-size: 15px;
		padding: 12px 18px;
		border-bottom: 0;
		align-self: stretch;
		justify-content: center;
	}

	/* Лайтбокс: кнопка закрытия уезжает вниз по центру — под большой палец. */
	.ntr-lightbox { padding: 12px 12px 76px; }

	.ntr-lightbox__img {
		max-width: calc(100vw - 24px);
		max-height: 64vh;
	}

	.ntr-lightbox__cap { font-size: 12px; margin-top: 10px; }

	.ntr-lightbox__close {
		top: auto;
		right: auto;
		left: 50%;
		bottom: 16px;
		transform: translateX(-50%);
		width: 64px;
		height: 48px;
		background: rgba(29, 45, 61, 0.85);
	}

	/* Широкая таблица прокручивается внутри себя, а не тянет страницу. */
	.ntr-prose table,
	.ntr-comment table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.ntr-prose .alignwide { width: auto; margin-inline: 0; }

	.ntr-prose .alignleft,
	.ntr-prose .alignright { float: none; margin: 1.2em 0; }
}

@media (max-width: 560px) {
	.ntr-numbers { grid-template-columns: 1fr; }
	.ntr-grid-4 { grid-template-columns: 1fr; }
	.ntr-steps { grid-template-columns: 1fr; }
	.ntr-facts { grid-template-columns: 1fr; }
	.ntr-contact-card { grid-template-columns: 1fr; }
	.ntr-form__pair { grid-template-columns: 1fr; }
	.ntr-footer__grid { grid-template-columns: 1fr; }
	.ntr-vis--sc { padding: 34px 10px 30px; gap: 6px; }
	.ntr-tile { padding: 7px; }
	.ntr-tile__value { font-size: 24px; }
	.ntr-gallery { grid-template-columns: 1fr; gap: 12px; }
	.ntr-gallery__cap { font-size: 11px; letter-spacing: 0.06em; padding: 10px; }

	/* Вертикальные отступы: 56px на экране 390px читаются как провал. */
	.ntr-section { padding-block: 32px; }
	.ntr-section--tight { padding-block: 32px 12px; }
	.ntr-section--flush { padding-block: 36px; }
	.ntr-section--list { padding-block: 28px 36px; }
	.ntr-split,
	.ntr-split--portrait { padding-block: 32px; gap: 28px; }
	.ntr-hero__grid { padding: 32px var(--gutter) 28px; gap: 28px; }
	.ntr-cta { padding-block: 36px; gap: 22px; }
	.ntr-cta--dark { padding: 20px; }
	.ntr-head { margin-bottom: 24px; gap: 16px; }
	.ntr-comments { margin-top: 40px; }
	.ntr-post-nav { margin-top: 40px; }
	.ntr-pagination { margin-top: 32px; }

	/* Внутренние поля карточек и блоков */
	.ntr-flagship__body { padding: 22px; }
	.ntr-flagship__media { min-height: 200px; }
	.ntr-svc-row__body { padding: 20px; }
	.ntr-svc-row__media,
	.ntr-svc-row:nth-child(even) .ntr-svc-row__media { min-height: 200px; }
	.ntr-form { padding: 18px; }
	.ntr-facts { padding: 18px; gap: 16px; }
	.ntr-contact-card { padding: 18px; gap: 16px; }
	.ntr-numbers__cell { padding: 20px; }
	.ntr-numbers__value { font-size: 40px; }
	.ntr-numbers__value span { font-size: 19px; }
	.ntr-item-card { padding: 20px; }
	.ntr-item-card__media { margin: -20px -20px 4px; }
	.ntr-404 { padding: 64px 0; }
	.ntr-404__code { font-size: clamp(84px, 30vw, 140px); }

	/* Ленты и списки: узкие служебные колонки ужимаются под текст. */
	.ntr-steps { gap: 22px; }
	.ntr-step { padding-right: 0; }
	.ntr-stage__head { gap: 14px; }
	.ntr-stage__num { width: 46px; height: 46px; font-size: 19px; }
	.ntr-stage__item { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 12px 6px; }
	.ntr-stage__item > span:last-child { font-size: 14px; }
	.ntr-okved__row { grid-template-columns: 54px minmax(0, 1fr); gap: 10px; }
	.ntr-dir-list > div { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 6px; }
	.ntr-echelon-list > div { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px 6px; }
	.ntr-registry { margin-top: 32px; gap: 18px; }
	.ntr-arch__core { padding: 16px; }
	.ntr-marquee { padding: 10px 0; }
	.ntr-marquee__item { font-size: 13px; gap: 16px; padding: 0 9px; }
	.ntr-hero__controls { gap: 14px; flex-wrap: wrap; }
	.ntr-dots { max-width: none; min-width: 120px; }
	.ntr-post-nav a:last-child { text-align: left; }
	.ntr-comment-list .children { padding-left: 14px; }
	.ntr-comments__cancel { margin-left: 0; }

	/* Подвал: одна колонка и ссылки, по которым можно попасть пальцем. */
	.ntr-footer__grid { gap: 26px; padding: 36px var(--gutter) 26px; }
	.ntr-footer__col--brand img { height: 34px; }
	.ntr-footer__col ul { gap: 0; }
	.ntr-footer__col li a { display: flex; align-items: center; min-height: 44px; }
	.ntr-footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 12px; }
	.ntr-footer__bar-inner a { display: flex; align-items: center; min-height: 44px; }

	/* Телефоны и почта на странице контактов — основные цели нажатия. */
	.ntr-contact-card a,
	.ntr-map__link,
	.ntr-widgets .widget a {
		display: flex;
		align-items: center;
		min-height: 44px;
	}

	.ntr-map__link { display: inline-flex; padding-block: 11px; }

	/* Логотип в шапке тоже должен попадать под палец. */
	.ntr-brand { min-height: 44px; }
}

/* Самый узкий реальный экран — 320px. */
@media (max-width: 380px) {
	:root { --gutter: 16px; }

	.ntr-nav { gap: 10px; }
	.ntr-brand img { height: 32px; max-width: 140px; }
	.ntr-mobile-menu a { font-size: 18px; }
	.ntr-arch__core-grid { grid-template-columns: 1fr; }
	.ntr-okved__row { grid-template-columns: 48px minmax(0, 1fr); }
	.ntr-tile__value { font-size: 20px; }
	.ntr-marquee__item { font-size: 12px; }
}

/* Телефон в альбомной ориентации: первый экран не должен требовать
   прокрутки ради кнопок. */
@media (max-height: 480px) and (orientation: landscape) {
	.ntr-hero__grid { padding-block: 24px 20px; gap: 22px; }
	.ntr-hero__text { min-height: 0; }
	.ntr-hero__vis { max-width: min(100%, 58vh); }
	.ntr-hero__controls { padding-bottom: 16px; }

	.ntr-page-hero__inner { padding-block: 24px 20px; }
	.ntr-page-hero__ghost { font-size: clamp(90px, 18vw, 150px); top: -6px; opacity: 0.5; }

	.ntr-page-hero h1,
	.ntr-hero__text h1,
	.ntr-slide h1,
	.ntr-slide .h1 { font-size: clamp(26px, 4.6vw, 34px); }

	.ntr-page-hero__lead,
	.ntr-slide p { font-size: 15px; }

	.ntr-section { padding-block: 36px; }

	.ntr-mobile-menu {
		max-height: calc(100vh - 56px);
		max-height: calc(100dvh - 56px);
		overflow-y: auto;
	}

	.ntr-lightbox { padding: 10px 10px 68px; }
	.ntr-lightbox__img { max-height: 58vh; }
	.ntr-lightbox__close { bottom: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   24. ПЕЧАТЬ
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
	.ntr-header,
	.ntr-footer,
	.ntr-hero__controls,
	.ntr-marquee,
	.ntr-lightbox { display: none !important; }

	body { background: #fff; font-size: 12px; }
	.duotone::after { display: none; }
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   25. КОММЕНТАРИИ
   ═══════════════════════════════════════════════════════════════════════════ */

.ntr-comments {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--color-divider);
}

.ntr-comment-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.ntr-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0 0 0 32px;
}

.ntr-comment {
	padding: 24px 0;
	border-top: 1px solid var(--color-divider);
}

.ntr-comment-list > .ntr-comment:first-child {
	border-top: 0;
	padding-top: 0;
}

.ntr-comment__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.ntr-comment__avatar {
	width: 48px;
	height: 48px;
	flex: none;
	overflow: hidden;
	background: var(--color-surface);
}

.ntr-comment__avatar img {
	width: 48px;
	height: 48px;
	object-fit: cover;
}

.ntr-comment__author {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	font-size: 19px;
	line-height: 1.15;
}

.ntr-comment__author a {
	color: inherit;
	text-decoration: none;
}

.ntr-comment__author a:hover { color: var(--color-accent-700); }

.ntr-comment .ntr-meta { margin-top: 4px; }
.ntr-comment .ntr-meta a { color: inherit; text-decoration: none; }
.ntr-comment .ntr-meta a:hover { color: var(--color-accent-700); }

.ntr-comment .ntr-prose { font-size: 15px; }
.ntr-comment .ntr-notice { margin-bottom: 14px; }

.ntr-comment__foot {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
}

.ntr-comment__edit {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-neutral-600);
}

.ntr-comment--ping { font-size: 14px; }
.ntr-comment--ping .ntr-meta { margin: 0 0 6px; }

/* Навигация по страницам комментариев использует разметку _navigation_markup. */
.ntr-comments .ntr-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}

.ntr-comments .ntr-pagination a {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 14px;
	border: 1px solid var(--color-divider);
	font-family: var(--font-heading);
	font-size: 15px;
	color: var(--color-text);
	text-decoration: none;
	transition: background 0.2s;
}

.ntr-comments .ntr-pagination a:hover { background: var(--color-accent-100); }

.ntr-comments .comment-respond { margin-top: 48px; }
.ntr-comments .ntr-form__title { margin-bottom: 16px; }
.ntr-comments .ntr-form__note { margin: 0; }
.ntr-comments .field .ntr-form__note { display: block; margin-top: 4px; }
.ntr-comments .logged-in-as { font-size: 13px; margin: 0; }
.ntr-comments__cancel { font-size: 13px; margin-left: 12px; white-space: nowrap; }
.ntr-comments > .ntr-notice { margin-top: 32px; }
