/* ==========================================================================
   Обменник — блоки acf/nxo-* (макет Figma «Создание криптообменника — кастом v2 (Raleway)»).
   Подключается только на страницах с этими блоками (inc/service-exchanger-blocks.php),
   поверх service-v2.css (токены --nx-*, .nx-btn, .nx-grad-text, [data-nx-stagger]).
   Все анимации выключены при prefers-reduced-motion — контент виден в статике.
   ========================================================================== */

:root {
	--nxo-bg: #f6f6f7;
	--nxo-bg2: #f5f7fb;
	--nxo-tag: #fcedeb;
	--nxo-num: #9ea1ab;
	--nxo-shadow: 0 16px 40px rgba(26, 26, 38, 0.05);
	--nxo-shadow2: 0 24px 60px rgba(26, 26, 38, 0.08);
}

[class^="nxo-"], [class*=" nxo-"] { box-sizing: border-box; }
[class^="nxo-"] *, [class*=" nxo-"] * { box-sizing: inherit; }

/* --- общее ---------------------------------------------------------------- */
.nxo-h2 {
	margin: 0;
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 2.3vw, 44px);
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--nx-dark);
	font-feature-settings: "lnum" 1, "pnum" 1;
	text-wrap: balance;
}
.nxo-h2--big { font-size: clamp(30px, 2.7vw, 52px); line-height: 1.12; }
.nxo-h2--light { color: #fff; }
.nxo-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin: 0 auto 56px; max-width: 900px; }
.nxo-sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--nx-text); font-feature-settings: "lnum" 1, "pnum" 1; }
.nxo-tag {
	display: inline-flex; align-items: center;
	padding: 6px 12px; border-radius: 100px;
	background: var(--nxo-tag); color: var(--nx-red);
	font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: 0.03em;
	white-space: nowrap;
}
.nxo-tag--white { background: #fff; }
.nxo-cta { display: flex; justify-content: center; margin-top: 56px; }
.nxo-btn { padding: 16px 22px 16px 36px; }
.nxo-btn:not(:has(svg)) { padding: 18px 36px; }
.nxo-btn:focus-visible, .nxo-switch:focus-visible { outline: 3px solid rgba(232, 62, 59, 0.45); outline-offset: 3px; }

/* --- Виды обменников --------------------------------------------------------- */
.nxo-types { background: var(--nxo-bg); padding: 120px 0; }
.nxo-types__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nxo-types__card {
	display: flex; flex-direction: column;
	background: #fff; border-radius: 36px; padding: 16px;
	box-shadow: var(--nxo-shadow);
	transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease);
}
.nxo-types__visual {
	height: 300px; border-radius: 26px; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(70% 90% at 50% 50%, rgba(253, 234, 226, 0) 0%, #fdeae2 100%), var(--nxo-bg);
}
.nxo-types__img { display: block; width: auto; max-width: 84%; max-height: 260px; height: auto; transition: transform .5s var(--nx-ease); }
.nxo-types__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 20px 20px; }
.nxo-types__top { display: flex; align-items: center; gap: 12px; }
.nxo-types__num { font-size: 15px; font-weight: 700; letter-spacing: 0.03em; color: var(--nxo-num); }
.nxo-types__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--nx-dark); }
.nxo-types__text { margin: 0; font-size: 18px; line-height: 1.6; color: var(--nx-text); }
@media (hover: hover) {
	.nxo-types__card:hover { transform: translateY(-6px); box-shadow: var(--nxo-shadow2); }
	.nxo-types__card:hover .nxo-types__img { transform: translateY(-8px) scale(1.04); }
}

/* --- Тёмный блок: цифра + журнал ------------------------------------------ */
.nxo-log { padding: 0 20px; background: var(--nxo-bg); }
.nxo-log__sheet {
	position: relative; overflow: hidden;
	border-radius: 40px; padding: 140px 0;
	background:
		radial-gradient(55% 70% at 8% 85%, rgba(160, 40, 30, 0.45) 0%, rgba(160, 40, 30, 0) 70%),
		linear-gradient(180deg, #0f0f10 0%, #0b0b0b 100%);
	color: #fff;
}
.nxo-log__grid { display: grid; grid-template-columns: minmax(0, 576px) minmax(0, 672px); justify-content: space-between; align-items: center; gap: 48px; }
.nxo-log__title { margin-bottom: 32px; }
.nxo-log__text { margin: 0 0 40px; font-size: 17px; line-height: 1.7; color: var(--nx-grey); }
.nxo-log__stat { display: flex; align-items: center; gap: 28px; }
.nxo-log__num {
	font-family: "Raleway", Arial, sans-serif; font-weight: 700;
	font-size: clamp(96px, 8.5vw, 164px); line-height: 0.9; letter-spacing: -0.04em;
	background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-variant-numeric: tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1;
	white-space: nowrap;
}
.nxo-log__cap { font-size: 17px; font-weight: 700; line-height: 1.5; color: #fff; max-width: 200px; }

.nxo-log__card { background: #161618; border: 1px solid #2a2a30; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.nxo-log__bar { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: #1c1c20; border-bottom: 1px solid #26262c; }
.nxo-log__dots { display: inline-flex; gap: 8px; }
.nxo-log__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.nxo-log__dots i:nth-child(2) { background: #febc2e; }
.nxo-log__dots i:nth-child(3) { background: #28c840; }
.nxo-log__file { font-size: 13px; color: var(--nx-grey); }
.nxo-log__rows { list-style: none; margin: 0; padding: 12px 24px 24px; }
.nxo-log__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 18px 0; border-bottom: 1px solid #222227; }
.nxo-log__row:last-child { border-bottom: 0; }
.nxo-log__status { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #ff5c54; padding-top: 4px; }
.nxo-log__body { display: flex; flex-direction: column; gap: 6px; }
.nxo-log__body b { font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; }
.nxo-log__body span { font-size: 14px; line-height: 1.55; color: var(--nx-grey2); }
.nxo-log__idx { font-size: 11px; color: #6c6e78; padding-top: 4px; }
.nxo-log__row--pass {
	margin-top: 12px; padding: 22px 20px; border: 0; border-radius: 16px;
	background: linear-gradient(90deg, #f26d3c 0%, #e83e3b 100%);
	grid-template-columns: 44px 1fr;
	position: relative; overflow: hidden;
}
.nxo-log__row--pass .nxo-log__status { color: #fff; padding-top: 10px; }
.nxo-log__row--pass .nxo-log__body b { font-size: 20px; }
.nxo-log__row--pass .nxo-log__body span { color: rgba(255, 255, 255, 0.9); }

/* Motion: строки печатаются с задержкой, FAIL мигает 1 раз, PASS заливается красным */
.nxo-js .nxo-log__row { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--nx-ease), transform .45s var(--nx-ease); }
.nxo-js .nxo-log__row.is-in { opacity: 1; transform: none; }
.nxo-log__row.is-in .nxo-log__status { animation: nxo-blink .7s steps(1, end) 1; }
.nxo-js .nxo-log__row--pass { background: #232327; }
.nxo-js .nxo-log__row--pass::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	background: linear-gradient(90deg, #f26d3c 0%, #e83e3b 100%);
	transform: scaleX(0); transform-origin: left center;
	transition: transform .9s var(--nx-ease) .15s;
}
.nxo-js .nxo-log__row--pass > * { position: relative; }
.nxo-js .nxo-log__row--pass.is-in::before { transform: scaleX(1); }
.nxo-js .nxo-log__row--pass.is-in .nxo-log__status { animation: none; }
@keyframes nxo-blink { 0%, 100% { opacity: 1; } 35% { opacity: 0; } 70% { opacity: 1; } }

/* --- Кому подходит ---------------------------------------------------------- */
.nxo-aud { background: var(--nxo-bg); padding: 120px 0; }
.nxo-aud__title { max-width: 620px; }
.nxo-aud__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* Цвета карточки, метки, заголовка, текста и номера меняются одновременно: одна длительность, без задержки.
   Появление — отдельной анимацией (animation), чтобы задержка каскада не попадала в смену цвета. */
.nxo-aud__card {
	--nxo-aud-t: .3s cubic-bezier(.4, 0, .2, 1);
	display: flex; flex-direction: column;
	min-height: 296px; padding: 28px; border-radius: 28px;
	background-color: #fff; box-shadow: var(--nxo-shadow);
	transition: background-color var(--nxo-aud-t), box-shadow var(--nxo-aud-t);
}
.nxo-aud__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 56px; }
.nxo-aud__num { font-size: 13px; font-weight: 700; color: var(--nxo-num); transition: color var(--nxo-aud-t); }
.nxo-aud__h { margin: 0 0 14px; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--nx-dark); transition: color var(--nxo-aud-t); }
.nxo-aud__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--nx-text); transition: color var(--nxo-aud-t); }
.nxo-aud__card .nxo-tag { transition: background-color var(--nxo-aud-t), color var(--nxo-aud-t); }
.nxo-aud__card.is-dark { background-color: #111113; box-shadow: 0 24px 50px rgba(17, 17, 19, 0.25); }
.nxo-aud__card.is-dark .nxo-aud__h { color: #fff; }
.nxo-aud__card.is-dark .nxo-aud__text { color: var(--nx-grey); }
.nxo-aud__card.is-dark .nxo-tag { background-color: #2e2e34; color: #fff; }
.nxo-aud__card.is-dark .nxo-aud__num { color: var(--nx-grey2); }
.nxo-js .nxo-aud__grid .nxo-aud__card { opacity: 0; }
.nxo-js .nxo-aud__grid.is-in .nxo-aud__card { animation: nxo-rise .6s var(--nx-ease) calc(var(--i, 0) * 60ms) both; }
@keyframes nxo-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* --- Модули ------------------------------------------------------------------ */
.nxo-mod { background: var(--nxo-bg2); padding: 100px 0 120px; }
.nxo-mod__title { max-width: 680px; margin-bottom: 56px; }
.nxo-mod__grid { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 474px); justify-content: space-between; gap: 26px; align-items: stretch; }
.nxo-mod__panel { background: #fff; border-radius: 36px; padding: 32px; box-shadow: var(--nxo-shadow2); }
.nxo-mod__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 14px; color: var(--nx-dark); }
.nxo-mod__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--nx-text); font-variant-numeric: tabular-nums; }
.nxo-mod__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(var(--nxo-rows, 5), auto); grid-auto-flow: column;
	gap: 14px;
}
.nxo-mod__item {
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 18px 76px 18px 18px; border-radius: 16px;
	background: var(--nxo-bg2); border: 1px solid transparent;
	transition: background-color .3s, border-color .3s, opacity .3s;
}
.nxo-mod__item.is-active { background: #fdf0ed; border-color: #f4a99b; }
.nxo-mod__item.is-off { opacity: .55; }
.nxo-mod__code { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--nx-red); }
.nxo-mod__h { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--nx-dark); }
.nxo-mod__text { font-size: 13px; line-height: 1.5; color: var(--nx-text); }
.nxo-switch {
	position: absolute; top: 8px; right: 8px;
	width: 56px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.nxo-switch span {
	position: absolute; top: 10px; right: 8px;
	width: 40px; height: 24px; border-radius: 12px; background: #d5d8df;
	transition: background-color .25s var(--nx-ease);
}
.nxo-switch span::after {
	content: ""; position: absolute; top: 3px; left: 3px;
	width: 18px; height: 18px; border-radius: 50%; background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform .25s var(--nx-ease);
}
.nxo-switch.is-on span { background: var(--nx-grad); }
.nxo-switch.is-on span::after { transform: translateX(16px); }
.nxo-mod__aside {
	display: flex; flex-direction: column;
	border-radius: 36px; border: 1.5px dashed #f2a497;
	background: linear-gradient(180deg, #fde8e2 0%, rgba(253, 232, 226, 0.2) 45%, #fff 100%);
}
.nxo-mod__sticky { position: sticky; top: 110px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; flex: 1 1 auto; padding: 40px 24px 36px; }
.nxo-mod__img {
	display: block; width: 96%; max-width: 440px; height: auto; margin: -16px auto 0;
}
.nxo-mod__cap { position: relative; }
.nxo-mod__cap { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--nx-dark); }

/* --- Технологии ---------------------------------------------------------------- */
.nxo-tech {
	position: relative; padding: 120px 0 140px; color: #fff; overflow: hidden;
	background: radial-gradient(50% 45% at 50% 100%, rgba(190, 55, 30, 0.55) 0%, rgba(190, 55, 30, 0) 100%), #0b0b0b;
}
.nxo-tech__head { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 64px; }
.nxo-tech__head .nxo-h2 { flex: 0 1 720px; }
.nxo-tech__lead { flex: 0 1 540px; margin: 0; font-size: 17px; line-height: 1.7; color: var(--nx-grey); }
.nxo-tech__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nxo-tech__card {
	position: relative; display: flex; flex-direction: column;
	min-height: 252px; padding: 24px 24px 0; border-radius: 20px; overflow: hidden;
	background: linear-gradient(180deg, #1a1a1d 0%, #141416 100%);
	transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease);
}
.nxo-tech__h { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.25; color: #fff; }
.nxo-tech__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--nx-grey); }
.nxo-tech__icon { margin-top: auto; display: flex; justify-content: center; padding-top: 16px; }
.nxo-tech__img { display: block; width: 136px; height: auto; transform: translateY(12px); transition: transform .5s var(--nx-ease); }
@media (hover: hover) {
	.nxo-tech__card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(232, 62, 59, 0.18); }
	.nxo-tech__card:hover .nxo-tech__img { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
}

/* --- Сравнение вариантов --------------------------------------------------------- */
.nxo-opt { background: #fff; padding: 140px 0; }
.nxo-opt__title { max-width: 1060px; }
.nxo-opt .nxo-head { max-width: 1100px; }
.nxo-opt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.nxo-opt__col {
	display: flex; flex-direction: column; gap: 20px;
	min-height: 600px; padding: 40px; border-radius: 32px;
	background: var(--nxo-bg2);
}
.nxo-opt__col .nxo-tag { align-self: flex-start; }
.nxo-opt__h { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--nx-dark); }
.nxo-opt__text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--nx-text); }
.nxo-opt__bars { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: flex; flex-direction: column; gap: 22px; }
.nxo-opt__label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--nx-dark); }
.nxo-opt__track { display: block; height: 6px; border-radius: 3px; background: #e5e8ed; overflow: hidden; }
.nxo-opt__track i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: var(--nx-grad); transform-origin: left center; }
.nxo-js .nxo-opt__track i { transform: scaleX(0); transition: transform .6s cubic-bezier(.33, 1, .68, 1); }
.nxo-js .nxo-opt__col.is-in .nxo-opt__track i { transform: scaleX(1); }
.nxo-opt__bars li:nth-child(2) i { transition-delay: .12s; }
.nxo-opt__bars li:nth-child(3) i { transition-delay: .24s; }
.nxo-opt__bars li:nth-child(n+4) i { transition-delay: .36s; }
.nxo-opt__tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nxo-opt__tags li { padding: 9px 16px; border-radius: 100px; background: #fff; color: var(--nx-red); font-size: 13px; font-weight: 700; }
.nxo-opt__col.is-accent {
	background: linear-gradient(100deg, #f26d3c 0%, #e2433b 55%, #c8232e 100%);
	transform: translateY(-8px);
	box-shadow: 0 30px 60px rgba(232, 62, 59, 0.28);
	animation: nxo-breathe 3.6s ease-in-out infinite;
}
.nxo-opt__col.is-accent .nxo-opt__h { color: #fff; }
.nxo-opt__col.is-accent .nxo-opt__text { color: rgba(255, 255, 255, 0.92); }
.nxo-opt__col.is-accent .nxo-opt__label { color: #fff; }
.nxo-opt__col.is-accent .nxo-opt__track { background: rgba(255, 255, 255, 0.3); }
.nxo-opt__col.is-accent .nxo-opt__track i { background: #fff; }
@keyframes nxo-breathe {
	0%, 100% { box-shadow: 0 24px 50px rgba(232, 62, 59, 0.22); }
	50% { box-shadow: 0 36px 80px rgba(232, 62, 59, 0.42); }
}

/* --- Этапы (вертикальная лента) ---------------------------------------------------- */
.nxo-steps { background: var(--nxo-bg2); padding: 160px 0; }
.nxo-steps .nxo-head { max-width: 860px; margin-bottom: 64px; }
.nxo-steps__track { position: relative; max-width: 1000px; margin: 0 auto; }
.nxo-steps__line { position: absolute; top: var(--nxo-line-top, 0px); bottom: var(--nxo-line-bottom, 0px); left: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #e5e8ed; overflow: hidden; }
.nxo-steps__line i { position: absolute; inset: 0; background: linear-gradient(180deg, #f26d3c 0%, #e83e3b 100%); transform: scaleY(var(--p, 1)); transform-origin: top center; }
.nxo-steps__list { list-style: none; margin: 0; padding: 0; position: relative; }
.nxo-steps__item { position: relative; display: flex; justify-content: flex-start; padding-right: calc(50% + 60px); }
.nxo-steps__item + .nxo-steps__item { margin-top: 48px; }
.nxo-steps__item.is-right { justify-content: flex-end; padding-right: 0; padding-left: calc(50% + 60px); }
.nxo-steps__node {
	--nxo-node-t: .3s cubic-bezier(.4, 0, .2, 1);
	position: absolute; left: 50%; top: 50%; z-index: 1;
	width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid #e5e8ed; color: var(--nx-dark);
	font-size: 16px; font-weight: 700; font-feature-settings: "lnum" 1;
	isolation: isolate;
	transition: color var(--nxo-node-t), border-color var(--nxo-node-t), box-shadow var(--nxo-node-t);
}
/* Градиент нельзя плавно сменить через background — заливка отдельным слоем с той же длительностью, что и цвет цифры. */
.nxo-steps__node::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
	background: var(--nx-grad); opacity: 0;
	transition: opacity var(--nxo-node-t);
}
.nxo-steps__item.is-lit .nxo-steps__node { border-color: transparent; color: #fff; box-shadow: 0 10px 26px rgba(232, 62, 59, 0.38); }
.nxo-steps__item.is-lit .nxo-steps__node::before { opacity: 1; }
.nxo-steps__card {
	width: 100%; max-width: 440px; padding: 30px 32px;
	background: #fff; border: 1px solid transparent; border-radius: 22px;
	box-shadow: 0 20px 50px rgba(26, 26, 38, 0.07);
	transition: border-color .3s cubic-bezier(.4, 0, .2, 1), opacity .6s var(--nx-ease), transform .6s var(--nx-ease);
}
.nxo-steps__item.is-current .nxo-steps__card { border-color: #f6b0a5; }
.nxo-steps__label { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--nx-red); }
.nxo-steps__h { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--nx-dark); }
.nxo-steps__text { margin: 0; font-size: 14px; line-height: 1.75; color: var(--nx-text); }
.nxo-js .nxo-steps__card { opacity: 0; transform: translateX(-40px); }
.nxo-js .nxo-steps__item.is-right .nxo-steps__card { transform: translateX(40px); }
.nxo-js .nxo-steps__item.is-in .nxo-steps__card { opacity: 1; transform: none; }

/* --- Почему мы -------------------------------------------------------------------- */
.nxo-why { background: #fff; padding: 160px 0; }
.nxo-why__grid { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 735px); justify-content: space-between; gap: 48px; align-items: start; }
.nxo-why__text { margin: 32px 0 0; font-size: 17px; line-height: 1.7; color: var(--nx-text); max-width: 520px; }
.nxo-why__stats { display: flex; gap: 48px; margin: 40px 0 0 60px; }
.nxo-why__stat { display: flex; flex-direction: column; gap: 10px; }
.nxo-why__num {
	font-family: "Raleway", Arial, sans-serif; font-weight: 700;
	font-size: clamp(72px, 5.2vw, 100px); line-height: 0.95; letter-spacing: -0.04em;
	background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-feature-settings: "lnum" 1, "tnum" 1; white-space: nowrap;
}
.nxo-why__cap { font-size: 15px; font-weight: 600; color: var(--nx-text); }
.nxo-why__image { margin: 28px 0 0 40px; max-width: 440px; }
.nxo-why__img { display: block; width: 100%; height: auto; }
.nxo-why__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.nxo-why__card {
	display: flex; flex-direction: column;
	min-height: 400px; padding: 32px; border-radius: 32px;
	background: var(--nxo-bg2);
	transition: transform .8s var(--nx-ease), opacity .5s var(--nx-ease);
	backface-visibility: hidden;
}
.nxo-why__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.nxo-why__idx { font-size: 48px; font-weight: 700; line-height: 1; color: var(--nx-dark); font-feature-settings: "lnum" 1; }
.nxo-why__h { margin: 0 0 18px; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--nx-dark); }
.nxo-why__ctext { margin: 0; font-size: 14px; line-height: 1.7; color: var(--nx-text); }
.nxo-why__card.is-dark { background: #222229; }
.nxo-why__card.is-dark .nxo-why__idx, .nxo-why__card.is-dark .nxo-why__h { color: #fff; }
.nxo-why__card.is-dark .nxo-why__ctext { color: var(--nx-grey); }
.nxo-why__card.is-dark .nxo-tag { background: #34343c; color: #fff; }
.nxo-js .nxo-why__card { transform: rotateY(90deg); opacity: 0; }
.nxo-js .nxo-why__card.is-in { transform: none; opacity: 1; }

/* --- адаптив ------------------------------------------------------------------ */
@media (max-width: 1200px) {
	.nxo-aud__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nxo-tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.nxo-why__grid { grid-template-columns: 1fr; }
	.nxo-why__image { margin-left: 0; }
}
@media (max-width: 1075px) {
	.nxo-types, .nxo-aud, .nxo-tech, .nxo-opt { padding: 80px 0; }
	.nxo-mod { padding: 72px 0 80px; }
	.nxo-steps, .nxo-why { padding: 96px 0; }
	.nxo-head { margin-bottom: 40px; }
	.nxo-log__sheet { padding: 80px 0; border-radius: 32px; }
	.nxo-log__grid { grid-template-columns: 1fr; }
	.nxo-mod__grid { grid-template-columns: 1fr; }
	.nxo-mod__sticky { position: static; }
	.nxo-mod__img { width: 70%; max-width: 340px; }
	.nxo-tech__head { flex-direction: column; gap: 20px; margin-bottom: 40px; }
	.nxo-tech__head .nxo-h2, .nxo-tech__lead { flex: 0 0 auto; }
	.nxo-opt__grid { grid-template-columns: 1fr; }
	.nxo-opt__col { min-height: 0; }
	.nxo-opt__col.is-accent { transform: none; }
	.nxo-types__title { font-size: 24px; }
	.nxo-types__text { font-size: 16px; }
}
@media (max-width: 767px) {
	.nxo-types__grid { grid-template-columns: 1fr; gap: 16px; }
	.nxo-types__card { border-radius: 28px; padding: 12px; }
	.nxo-types__visual { height: 220px; border-radius: 20px; }
	.nxo-types__img { max-height: 190px; }
	.nxo-types__body { padding: 20px 12px 12px; }
	.nxo-sub { font-size: 16px; }
	.nxo-log { padding: 0 8px; }
	.nxo-log__sheet { padding: 56px 0; border-radius: 28px; }
	.nxo-log__stat { flex-direction: column; align-items: flex-start; gap: 12px; }
	.nxo-log__num { font-size: 88px; }
	.nxo-log__cap { max-width: none; }
	.nxo-log__cap { font-size: 15px; }
	.nxo-log__rows { padding: 8px 16px 16px; }
	.nxo-log__row { grid-template-columns: 38px 1fr; }
	.nxo-log__idx { display: none; }
	.nxo-log__body b { font-size: 16px; }
	.nxo-log__row--pass { padding: 18px 14px; }
	.nxo-aud__grid { grid-template-columns: 1fr; gap: 12px; }
	.nxo-aud__card { min-height: 0; padding: 22px; }
	.nxo-aud__top { padding-bottom: 28px; }
	.nxo-mod__panel { padding: 20px 14px; border-radius: 28px; }
	.nxo-mod__head { flex-wrap: wrap; }
	.nxo-mod__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 10px; }
	.nxo-mod__aside { border-radius: 28px; }
	.nxo-tech__grid { grid-template-columns: 1fr; }
	.nxo-tech__grid { gap: 12px; }
	.nxo-tech__card { min-height: 0; display: grid; grid-template-columns: 1fr 84px; grid-template-rows: auto 1fr; column-gap: 12px; padding: 20px; align-items: start; }
	.nxo-tech__h { grid-column: 1; grid-row: 1; }
	.nxo-tech__text { grid-column: 1; grid-row: 2; }
	.nxo-tech__icon { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; align-self: center; }
	.nxo-tech__img { width: 84px; transform: none; }
	.nxo-opt__col { padding: 28px 22px; border-radius: 26px; }
	.nxo-opt__h { font-size: 24px; }
	.nxo-steps__line { left: 31px; }
	.nxo-steps__item, .nxo-steps__item.is-right { justify-content: flex-start; padding: 0 0 0 76px; }
	.nxo-steps__item + .nxo-steps__item { margin-top: 20px; }
	.nxo-steps__node { left: 31px; width: 48px; height: 48px; margin: -24px 0 0 -24px; font-size: 14px; }
	.nxo-steps__card { max-width: none; padding: 22px 20px; }
	.nxo-js .nxo-steps__card, .nxo-js .nxo-steps__item.is-right .nxo-steps__card { transform: translateX(24px); }
	.nxo-why__stats { margin-left: 0; gap: 32px; }
	.nxo-why__cards { grid-template-columns: 1fr; gap: 14px; }
	.nxo-why__card { min-height: 0; padding: 26px 22px; border-radius: 26px; }
	.nxo-why__top { padding-bottom: 28px; }
	.nxo-why__idx { font-size: 40px; }
	.nxo-why__h { font-size: 21px; }
	.nxo-why__image { margin: 24px auto 0; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
	.nxo-js .nxo-log__row, .nxo-js .nxo-steps__card, .nxo-js .nxo-why__card { opacity: 1; transform: none; transition: none; }
	.nxo-js .nxo-log__row--pass::before { transform: none; transition: none; }
	.nxo-js .nxo-opt__track i { transform: none; transition: none; }
	.nxo-log__row.is-in .nxo-log__status { animation: none; }
	.nxo-opt__col.is-accent { animation: none; }
	.nxo-types__card, .nxo-types__img, .nxo-tech__card, .nxo-tech__img, .nxo-aud__card { transition: none; }
	.nxo-js .nxo-aud__grid .nxo-aud__card { opacity: 1; animation: none; }
}

/* --- RU-97: 6830 — шапка: иллюстрация на всю ширину экрана без обрезки, бегущая строка в первом экране --- */
body.page-id-6830 { --nxo-hdr: 102px; --nxo-tick: 58px; }
body.page-id-6830 .nx-hero {
	position: relative;
	/* снизу — место под иллюстрацию (2103×748 → 35.57vw) минус наезд на пустую середину под кнопкой */
	padding: 48px 0 calc(35.57vw - 9vw);
	max-height: calc(100svh - var(--nxo-hdr) - var(--nxo-tick));
	min-height: 560px;
	box-sizing: border-box;
}
body.page-id-6830 .nx-hero > .container { position: static; }
body.page-id-6830 .nx-hero__copy { position: relative; z-index: 1; }
body.page-id-6830 .nx-hero__image {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
	margin: 0; max-width: none; pointer-events: none;
}
body.page-id-6830 .nx-hero__img { width: 100%; height: auto; max-height: none; }
@media (max-width: 1290px) { body.page-id-6830 { --nxo-hdr: 89px; } }
@media (max-width: 767px) {
	body.page-id-6830 { --nxo-tick: 51px; }
	body.page-id-6830 .nx-hero { padding: 40px 0 0; max-height: none; min-height: 0; }
	body.page-id-6830 .nx-hero__image { position: static; margin: 24px 0 0; width: 100vw; margin-left: calc(50% - 50vw); }
}
@media (max-width: 575px) { body.page-id-6830 { --nxo-hdr: 67px; } }

/* --- RU-99: 6830 — заголовок, описание и кнопка по центру видимой области (между шапкой сайта и бегущей строкой) --- */
body.page-id-6830 .nx-hero { display: flex; flex-direction: column; height: calc(100svh - var(--nxo-hdr) - var(--nxo-tick)); max-height: none; padding: 0; }
body.page-id-6830 .nx-hero > .container { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; width: 100%; }
@media (max-width: 767px) {
	/* на телефоне иллюстрация под кнопкой: центрируется группа «текст + иллюстрация», контент не обрезается */
	body.page-id-6830 .nx-hero { height: auto; min-height: calc(100svh - var(--nxo-hdr) - var(--nxo-tick)); }
	body.page-id-6830 .nx-hero > .container { padding-top: 32px; padding-bottom: 24px; }
	body.page-id-6830 .nx-hero__copy { margin: auto 0; } /* текст — по центру над иллюстрацией, иллюстрация прижата к бегущей строке */
	body.page-id-6830 .nx-hero__image { flex: 0 0 auto; margin-top: 24px; }
}

/* --- RU-100: 6830 — отступы как на /gejmifikaciya/muzei/: контент не шире 1200 px, от края экрана не меньше 16 px; внутренние поля карточек больше --- */
body.page-id-6830 .main-content .container:not(.container .container) { max-width: 1232px; padding-left: 16px; padding-right: 16px; }
/* блоки темы (проекты, блог, отзывы) строятся на .row с отрицательными полями — компенсируем, чтобы край совпал с остальными */
body.page-id-6830 .main-content > .section-projects > .container:not(.container .container),
body.page-id-6830 .main-content > .section-blog > .container:not(.container .container),
body.page-id-6830 .main-content > .feedback-section > .container:not(.container .container) { max-width: 1262px; padding-left: 31px; padding-right: 31px; }
body.page-id-6830 .nxo-types__body { padding: 32px 28px 28px; }
body.page-id-6830 .nxo-aud__card { padding: 32px; }
body.page-id-6830 .nxo-mod__panel { padding: 40px; }
body.page-id-6830 .nxo-why__card { padding: 36px; }
@media (max-width: 767px) {
	body.page-id-6830 .nxo-types__card { padding: 14px; }
	body.page-id-6830 .nxo-types__body { padding: 24px 14px 14px; }
	body.page-id-6830 .nxo-aud__card { padding: 28px 24px; }
	body.page-id-6830 .nxo-mod__panel { padding: 24px 20px; }
	body.page-id-6830 .nxo-tech__card { padding: 24px; }
	body.page-id-6830 .nxo-opt__col { padding: 28px 24px; }
	body.page-id-6830 .nxo-steps__card { padding: 24px 22px; }
	body.page-id-6830 .nxo-why__card { padding: 28px 24px; }
	body.page-id-6830 .nxo-log__rows { padding: 8px 20px 20px; }
	body.page-id-6830 .nxo-log { padding: 0 16px; }
}

/* --- RU-114: 6830 — новая иллюстрация первого экрана (центр с модулем обмена внизу): картинка под текстом в потоке, без наложения; текст по центру свободного места над ней --- */
body.page-id-6830 .nx-hero { display: flex; flex-direction: column; padding: 0; }
body.page-id-6830 .nx-hero > .container { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; position: relative; }
body.page-id-6830 .nx-hero__copy { margin: auto 0; padding: 24px 0 16px; }
body.page-id-6830 .nx-hero__image { position: relative; left: auto; right: auto; bottom: auto; flex: 0 1 auto; min-height: 120px; width: 100vw; max-width: none; margin: 0 0 0 calc(50% - 50vw); display: flex; justify-content: center; align-items: flex-end; }
body.page-id-6830 .nx-hero__img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
@media (max-width: 767px) {
	body.page-id-6830 .nx-hero__image { min-height: 0; margin-top: 8px; }
}

/* --- RU-127: 6830 — новая иллюстрация первого экрана (фон картинки не чисто белый): края растворяются в белом --- */
body.page-id-6830 .nx-hero__img {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 82%, transparent 100%);
	mask-composite: intersect;
}

/* --- RU-128: 6830 — первый экран: текст и кнопка не сжимаются; картинка на всю ширину прижата к низу и при нехватке высоты уходит под текст --- */
body.page-id-6830 .nx-hero { position: relative; display: flex; flex-direction: column; height: calc(100svh - var(--nxo-hdr) - var(--nxo-tick)); min-height: 0; max-height: none; padding: 0; overflow: hidden; }
body.page-id-6830 .nx-hero > .container { position: static; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; padding-top: 24px; padding-bottom: calc(31.1vw * 0.72); }
body.page-id-6830 .nx-hero__copy { position: relative; z-index: 1; flex: 0 0 auto; margin: 0; padding: 0; }
body.page-id-6830 .nx-hero__image { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; width: 100%; min-height: 0; margin: 0; display: block; pointer-events: none; }
body.page-id-6830 .nx-hero__img { width: 100%; max-width: none; height: auto; max-height: none; }
@media (max-width: 767px) {
	body.page-id-6830 .nx-hero { height: auto; min-height: calc(100svh - var(--nxo-hdr) - var(--nxo-tick)); overflow: visible; }
	body.page-id-6830 .nx-hero > .container { padding-bottom: 16px; justify-content: center; }
	body.page-id-6830 .nx-hero__image { position: static; width: 100vw; margin: 8px 0 0 calc(50% - 50vw); }
}
