/* EngineXpress. Дизайн-система 4: оформление в духе coterie.com на наших шрифтах и цветах.
   Подключается последним на всех страницах.

   Принципы
   - Крупные заголовки обычной жирности (Unbounded 400), спокойный текст Onest.
   - Кнопки-«пилюли»: полностью скруглённые, тёмно-синие или белые.
   - Блоки во всю ширину: фото на весь экран, разделение 50 на 50, мягкие светлые фоны
     (голубой, песочный) вместо карточек с тенями.
   - Движение: шапка из прозрачной становится белой, меню выезжают, блоки мягко поднимаются,
     фото проплывают поверх крупной фразы и чуть смещаются при прокрутке. Без увеличения фото. */

:root {
  --nx-blue: var(--brand);
  --nx-blue-h: #0b22a3;
  --nx-tint: #dde7fb;
  --nx-tint-2: #eef3fd;
  --nx-sand: #f4f1ec;
  --nx-ink: #0a0f2e;
  --nx-mute: #5d6382;
  --nx-line: rgba(10, 15, 46, .12);
  --nx-ease: cubic-bezier(.22, 1, .36, 1);
  --nx-strip-h: 34px;
  --nx-head-h: 68px;
  --nx-sec: 120px;
  --r-btn: 999px;
}
@media (max-width: 860px) { :root { --nx-sec: 72px; --nx-head-h: 60px; } }

/* ---------- Кнопки-пилюли (и старые кнопки сайта тоже) ---------- */
.nx-pill, .ex-btn { border-radius: 999px !important; }
.nx-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--nx-blue); color: #fff; font: 600 14px/1 var(--font-sans); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--nx-ease), color .3s var(--nx-ease), box-shadow .3s var(--nx-ease), transform .3s var(--nx-ease); }
.nx-pill:hover { background: var(--nx-blue-h); color: #fff; }
.nx-pill:active { transform: scale(.98); }
.nx-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nx-pill .ex-ic { width: 18px; height: 18px; }
.nx-pill--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.nx-pill--lg { height: 54px; padding: 0 30px; font-size: 16px; }
.nx-pill--block { display: flex; width: 100%; }
.nx-pill--white { background: #fff; color: var(--nx-blue); }
.nx-pill--white:hover { background: var(--nx-tint); color: var(--nx-blue); }
.nx-pill--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nx-pill--glass:hover { background: rgba(255, 255, 255, .26); }
.nx-pill--ghost { background: transparent; color: var(--nx-ink); box-shadow: inset 0 0 0 1px var(--nx-line); }
.nx-pill--ghost:hover { background: var(--nx-tint-2); color: var(--nx-blue); box-shadow: inset 0 0 0 1px var(--nx-tint); }

/* Подчёркнутая ссылка: линия уходит вправо и возвращается слева */
.nx-ulink { position: relative; display: inline-block; padding-bottom: 3px; font: 600 14px/18px var(--font-sans); color: var(--nx-ink); }
.nx-ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .5s var(--nx-ease); }
a:hover > .nx-ulink::after, button:hover > .nx-ulink::after, .nx-ulink:hover::after, span:hover > .nx-ulink::after { animation: nx-uline .7s var(--nx-ease); }
@keyframes nx-uline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- Типографика ---------- */
.nx-title { margin: 0; font: 400 46px/1.1 var(--font-head); letter-spacing: -.035em; color: var(--nx-ink); text-wrap: balance; }
.nx-lead { margin: 18px 0 0; max-width: 620px; font: 400 18px/28px var(--font-sans); color: var(--nx-mute); text-wrap: pretty; }
.nx-lead a { color: var(--nx-ink); }
.nx-center { text-align: center; margin-left: auto; margin-right: auto; }
.nx-head2 { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.nx-head2 .nx-lead { margin-left: auto; margin-right: auto; }
.nx-sec { padding: var(--nx-sec) 0; }
.nx-sec .nx-title.nx-center { margin-bottom: 56px; }
@media (max-width: 860px) {
  .nx-title { font-size: 30px; line-height: 1.15; }
  .nx-lead { font-size: 16px; line-height: 24px; }
  .nx-head2 { margin-bottom: 32px; }
  .nx-sec .nx-title.nx-center { margin-bottom: 32px; }
}

/* ---------- Бегущая строка над шапкой ---------- */
.nx-strip { position: relative; z-index: 51; height: var(--nx-strip-h); background: var(--nx-blue); color: #fff; overflow: hidden; }
.nx-strip__track { position: relative; height: 100%; }
.nx-strip p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 16px; font: 500 12px/1 var(--font-sans); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: opacity .6s var(--nx-ease), transform .7s var(--nx-ease); }
.nx-strip p.is-on { opacity: 1; transform: none; }
.nx-strip p.is-off { opacity: 0; transform: translateY(-100%); }

/* ---------- Шапка ---------- */
.site-head, .hsub-space, .ex-header, .ex-topbar { display: none !important; }
.nx-head { position: sticky; top: 0; z-index: 50; color: var(--nx-ink); background: rgba(255, 255, 255, .98); box-shadow: 0 1px 0 var(--nx-line); transition: background-color .45s var(--nx-ease), box-shadow .45s var(--nx-ease), color .45s var(--nx-ease); }
.nx-head__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--nx-head-h); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.nx-head__left { display: flex; align-items: center; gap: 14px; }
.nx-logo { position: relative; display: block; height: 40px; }
.nx-logo img { display: block; height: 40px; width: auto; transition: opacity .4s var(--nx-ease); }
.nx-logo__light { position: absolute; left: 0; top: 0; opacity: 0; }
.nx-burger { display: inline-grid; place-content: center; gap: 4px; width: 40px; height: 40px; margin-left: -10px; border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; transition: background-color .3s; }
.nx-burger span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--nx-ease); }
.nx-burger:hover { background: rgba(10, 15, 46, .06); }
.nx-burger:hover span:nth-child(2) { transform: translateX(3px); }
.nx-nav { display: flex; align-items: center; gap: 2px; }
.nx-nav__a { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; background: none; color: inherit; font: 500 14px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.nx-nav__a .ex-ic { width: 14px; height: 14px; transition: transform .4s var(--nx-ease); }
.nx-nav__a[aria-expanded="true"] .ex-ic { transform: rotate(180deg); }
.nx-nav__a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--nx-ease); }
.nx-nav__a:hover::after, .nx-nav__a[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nx-nav__a:has(.ex-ic)::after { right: 30px; }
.nx-head__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nx-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; transition: background-color .3s; }
.nx-icon:hover { background: rgba(10, 15, 46, .06); }
.nx-icon .ex-ic { width: 20px; height: 20px; }
.nx-phone { margin: 0 8px 0 2px; color: inherit; font: 600 14px/1 var(--font-sans); text-decoration: none; white-space: nowrap; }
.nx-phone:hover { color: var(--nx-blue); }

/* Прозрачная шапка над первым экраном главной */
.has-over .nx-head--over { position: fixed; left: 0; right: 0; top: var(--nx-strip-h); }
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) { background: transparent; box-shadow: none; color: #fff; }
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) .nx-logo__dark { opacity: 0; }
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) .nx-logo__light { opacity: 1; }
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) .nx-head__cta { background: #fff; color: var(--nx-blue); }
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) .nx-icon:hover,
.nx-head--over:not(.is-scrolled):not(.dd-open):not(.search-open) .nx-burger:hover { background: rgba(255, 255, 255, .14); }
.nx-head--over.is-scrolled { top: 0; }
.has-over .nx-head--over { transition: background-color .45s var(--nx-ease), box-shadow .45s var(--nx-ease), color .45s var(--nx-ease), top .45s var(--nx-ease); }

/* Выпадающие меню */
.nx-dd { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 1px 0 var(--nx-line), 0 30px 60px -30px rgba(2, 11, 71, .25); color: var(--nx-ink); opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--nx-ease), transform .45s var(--nx-ease); }
.nx-dd.is-open { opacity: 1; transform: none; }
.nx-dd__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 28px; padding-bottom: 36px; }
.nx-dd__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-content: start; }
.nx-dd__item { display: flex; flex-direction: column; color: var(--nx-ink); text-decoration: none; }
.nx-dd__thumb { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 12px; border-radius: 6px; background: var(--nx-tint); color: var(--nx-blue); overflow: hidden; }
.nx-dd__thumb img { width: 82%; height: 82%; object-fit: contain; transition: transform .6s var(--nx-ease); }
.nx-dd__thumb .ex-ic { width: 40%; height: 40%; stroke-width: 1.2; opacity: .55; }
.nx-dd__item:hover .nx-dd__thumb img { transform: translateY(-4px) rotate(-2deg); }
.nx-dd__item small { font: 400 12px/16px var(--font-sans); color: var(--nx-mute); }
.nx-dd__item b { margin-top: 2px; font: 400 17px/22px var(--font-sans); }
.nx-dd__item:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.nx-dd__item em { margin-top: 4px; font: 400 12px/16px var(--font-sans); font-style: normal; color: var(--nx-mute); }
.nx-dd__feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; border: 0; background: none; color: var(--nx-ink); text-align: left; text-decoration: none; cursor: pointer; }
.nx-dd__fimg { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: 6px; background: var(--nx-sand); color: var(--nx-blue); overflow: hidden; }
.nx-dd__feature--blue .nx-dd__fimg { background: var(--nx-tint); }
.nx-dd__fimg img { width: 78%; height: 78%; object-fit: contain; }
.nx-dd__fimg .ex-ic { width: 30%; height: 30%; opacity: .5; stroke-width: 1.2; }
.nx-dd__feature b { font: 400 17px/24px var(--font-sans); }
.nx-dd__label { margin: 0 0 16px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-mute); }
.nx-dd__brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 24px; }
.nx-dd__brands a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--nx-line); color: var(--nx-ink); font: 400 15px/20px var(--font-sans); text-decoration: none; transition: color .25s, padding .4s var(--nx-ease); }
.nx-dd__brands a span { color: var(--nx-mute); font-size: 13px; }
.nx-dd__brands a:hover { color: var(--nx-blue); padding-left: 6px; }

/* Поиск под шапкой */
.nx-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 1px 0 var(--nx-line), 0 30px 60px -30px rgba(2, 11, 71, .25); color: var(--nx-ink); opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--nx-ease), transform .45s var(--nx-ease); }
.nx-search.is-open { opacity: 1; transform: none; }
.nx-search__in { display: flex; align-items: flex-start; gap: 12px; padding-top: 20px; padding-bottom: 24px; }
.nx-search .ex-search { flex: 1; max-width: none; }
.nx-search .ex-search__bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 22px; border: 1px solid var(--nx-line); border-radius: 999px; background: var(--nx-tint-2); }
.nx-search .ex-search__bar:focus-within { border-color: var(--nx-blue); background: #fff; }
.nx-search__ic { width: 20px; height: 20px; color: var(--nx-mute); flex: none; }
.nx-search .ex-search__input { flex: 1; height: 100%; min-width: 0; padding: 0; border: 0; background: none; font: 400 18px/1 var(--font-sans); color: var(--nx-ink); outline: none; }
.nx-search .hsearch__go { width: auto; flex: none; }
.nx-search__x { margin-top: 10px; }
.nx-search .ex-search__list { border-radius: 12px; }

/* Боковое меню */
.nx-drawer { position: fixed; inset: 0; z-index: 2147483000; }
.nx-drawer__bg { position: absolute; inset: 0; background: rgba(10, 15, 46, .32); opacity: 0; transition: opacity .4s var(--nx-ease); }
.nx-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; gap: 28px; width: min(440px, 100%); padding: 20px 32px 32px; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--nx-ease); }
.nx-drawer.is-open .nx-drawer__bg { opacity: 1; }
.nx-drawer.is-open .nx-drawer__panel { transform: none; }
.nx-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.nx-drawer__top img { height: 40px; width: auto; }
.nx-drawer__top .nx-icon { margin-right: -10px; }
.nx-drawer__nav { display: flex; flex-direction: column; }
.nx-drawer__nav > a, .nx-drawer__sub summary { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 9px 0 9px 0; color: var(--nx-ink); font: 400 24px/32px var(--font-head); letter-spacing: -.03em; text-decoration: none; cursor: pointer; transition: padding .45s var(--nx-ease), color .3s; }
.nx-drawer__nav > a::before, .nx-drawer__sub summary::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--nx-blue); transform: scale(0); transition: transform .4s var(--nx-ease); }
.nx-drawer__nav > a:hover, .nx-drawer__sub summary:hover { padding-left: 18px; color: var(--nx-blue); }
.nx-drawer__nav > a:hover::before, .nx-drawer__sub summary:hover::before { transform: scale(1); }
.nx-drawer__sub summary { list-style: none; }
.nx-drawer__sub summary::-webkit-details-marker { display: none; }
.nx-drawer__sub summary .ex-ic { width: 20px; height: 20px; transition: transform .4s var(--nx-ease); }
.nx-drawer__sub[open] summary .ex-ic { transform: rotate(90deg); }
.nx-drawer__sub > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 4px 0 12px; }
.nx-drawer__sub > div a { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--nx-line); color: var(--nx-ink); font: 400 15px/20px var(--font-sans); text-decoration: none; }
.nx-drawer__sub > div a span { color: var(--nx-mute); font-size: 13px; }
.nx-drawer__promo { display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: 16px; padding: 18px; border: 0; border-radius: 8px; background: var(--nx-sand); color: var(--nx-ink); text-align: left; cursor: pointer; }
.nx-drawer__promo b { display: block; margin-bottom: 14px; font: 400 17px/23px var(--font-sans); }
.nx-drawer__pimg { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; background: #fff; color: var(--nx-blue); overflow: hidden; }
.nx-drawer__pimg img { width: 86%; height: 86%; object-fit: contain; }
.nx-drawer__pimg .ex-ic { width: 44%; height: 44%; opacity: .5; }
.nx-drawer__contacts { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--nx-line); color: var(--nx-mute); font: 400 13px/18px var(--font-sans); }
.nx-drawer__phone { color: var(--nx-ink); font: 400 22px/28px var(--font-head); letter-spacing: -.02em; text-decoration: none; }
.nx-drawer__msg { display: flex; gap: 8px; margin-top: 12px; }

@media (max-width: 1180px) {
  .nx-nav, .nx-phone { display: none; }
  .nx-head__bar { grid-template-columns: 1fr auto; }
}
@media (max-width: 600px) {
  .nx-head__cta { display: none; }
  .nx-logo, .nx-logo img { height: 34px; }
  .nx-dd { display: none !important; }
  .nx-search__in { padding-top: 12px; padding-bottom: 14px; }
  .nx-search .ex-search__bar { height: 52px; padding-left: 16px; }
  .nx-search .ex-search__input { font-size: 16px; }
  .nx-search .hsearch__go { display: none; }
  .nx-search__x { margin-top: 6px; }
  .nx-drawer__panel { padding: 14px 20px 24px; gap: 22px; }
  .nx-drawer__nav > a, .nx-drawer__sub summary { font-size: 21px; line-height: 28px; }
}

/* ---------- Первый экран ---------- */
.nx-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: max(640px, calc(100svh - var(--nx-strip-h))); padding: calc(var(--nx-head-h) + 48px) 0 140px; background: var(--brand-deep); color: #fff; overflow: hidden; isolation: isolate; }
.nx-hero__media { position: absolute; inset: 0; z-index: -2; }
.nx-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--nx-ease); }
.nx-hero__slide.is-on { opacity: 1; }
.nx-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.nx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 8, 40, .45) 0%, rgba(2, 8, 40, .12) 30%, rgba(2, 8, 40, .18) 60%, rgba(2, 8, 40, .62) 100%); pointer-events: none; }
.nx-hero--plain { background: radial-gradient(120% 80% at 50% 100%, #1a2fa8 0%, #061a8f 35%, #02137b 60%, #020b47 100%); }
.nx-hero--plain::after { background: none; }
.nx-hero__slide--empty .ph__brief { position: absolute; left: 24px; bottom: 120px; max-width: 360px; }
.nx-hero__obj { position: absolute; left: 50%; bottom: 72px; z-index: -1; width: min(620px, 70vw); transform: translateX(-50%); opacity: .95; pointer-events: none; }
.nx-hero__obj .obj { width: 100%; height: auto; }
.nx-hero__obj .obj--empty { display: none; }
.nx-hero__in { position: relative; text-align: center; }
.nx-hero__title { margin: 0 auto; max-width: 1100px; font: 400 80px/1.02 var(--font-head) !important; letter-spacing: -.045em !important; color: #fff; text-wrap: balance; }
.nx-hero__lead { margin: 24px auto 0; max-width: 620px; font: 400 18px/27px var(--font-sans); color: rgba(255, 255, 255, .82); text-wrap: balance; }
.nx-hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.nx-hero__pause { position: absolute; right: var(--gutter); bottom: 96px; padding: 6px 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font: 500 12px/1 var(--font-sans); cursor: pointer; }
.nx-hero__pause:hover { color: #fff; text-decoration: underline; }
.nx-hero__brands { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 0 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.nx-hero__brands .marquee__name { color: rgba(255, 255, 255, .72); }
.nx-hero__brands .marquee__item a:hover .marquee__name { color: #fff; }
/* Логотипы марок: без подложки. Белый фон из файлов убирает сервер (img_cutout в inc/thumbs.php).
   Сначала все логотипы одинаково серые и полупрозрачные, при наведении плавно становятся цветными.
   Почти чёрные логотипы (is-dark) на тёмно-синем не видны, поэтому при наведении они становятся белыми. */
.nx-hero__brands .marquee__list { gap: 72px; padding-right: 72px; }
.nx-hero__brands .marquee__item a { display: flex; align-items: center; height: 56px; padding: 0; background: none; transform: none !important; }
.nx-hero__brands .marquee__item img { height: 40px; max-width: 150px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .5; transform: none !important; transition: filter .7s var(--nx-ease), opacity .7s var(--nx-ease); }
.nx-hero__brands .marquee__item a:hover img, .nx-hero__brands .marquee__item a:focus-visible img { filter: brightness(1) invert(0); opacity: 1; }
.nx-hero__brands .marquee__item.is-dark a:hover img, .nx-hero__brands .marquee__item.is-dark a:focus-visible img { filter: brightness(0) invert(1); opacity: 1; }
.nx-hero__brands .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* заголовок выезжает строками (разбивку делает home.js) */
.nx-hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.nx-hero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--nx-ease); }
.nx-hero__title .ln:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .nx-hero__title .ln > span { transform: none; }
.nx-hero__lead, .nx-hero__btns { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--nx-ease) .35s, transform 1s var(--nx-ease) .35s; }
.nx-hero__btns { transition-delay: .45s; }
.is-loaded .nx-hero__lead, .is-loaded .nx-hero__btns { opacity: 1; transform: none; }
.nx-hero__obj { animation: nx-obj-in 1.6s var(--nx-ease) .2s both; }
@keyframes nx-obj-in { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: .95; transform: translate(-50%, 0); } }
@media (max-width: 860px) {
  .nx-hero { min-height: max(560px, calc(100svh - var(--nx-strip-h) - 64px)); padding-bottom: 120px; justify-content: flex-start; padding-top: calc(var(--nx-head-h) + 48px); }
  .nx-hero__title { font-size: 38px !important; line-height: 1.08 !important; letter-spacing: -.04em !important; }
  .nx-hero__lead { font-size: 15px; line-height: 22px; }
  .nx-hero__btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .nx-hero__obj { width: 92vw; bottom: 70px; }
  .nx-hero__pause { bottom: 80px; }
  .nx-hero__brands { padding: 18px 0 20px; }
  .nx-hero__brands .marquee__list { gap: 40px; padding-right: 40px; }
  .nx-hero__brands .marquee__item img { height: 32px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-hero__lead, .nx-hero__btns { opacity: 1; transform: none; }
  .nx-hero__obj { animation: none; }
}

/* ---------- Разделы: три карточки ---------- */
.nx-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx-cat { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 28px; border-radius: 4px; background: var(--nx-tint); color: var(--nx-ink); text-decoration: none; overflow: hidden; }
.nx-cat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nx-cat__t { margin: 0; font: 400 30px/1.1 var(--font-head); letter-spacing: -.035em; }
.nx-cat__d { margin: 10px 0 0; max-width: 270px; font: 400 14px/20px var(--font-sans); color: var(--nx-mute); }
.nx-cat .nx-pill { flex: none; }
.nx-cat:hover .nx-pill { background: var(--nx-blue-h); }
.nx-cat__obj { flex: 1; display: grid; place-items: center; padding: 24px 0 8px; }
.nx-cat__obj .obj { width: 88%; max-height: 360px; object-fit: contain; transition: transform .9s var(--nx-ease); }
.nx-cat:hover .nx-cat__obj .obj { transform: translateY(-10px) rotate(-3deg); }
.nx-cat__obj .obj--empty { display: grid; place-items: center; width: 100%; min-height: 260px; color: var(--nx-blue); }
.nx-cat__obj .obj--empty > .ex-ic { width: 96px; height: 96px; stroke-width: 1; opacity: .35; }
.nx-cat__n { font: 500 13px/1 var(--font-sans); color: var(--nx-mute); }
@media (max-width: 1000px) {
  .nx-cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .nx-cats__grid::-webkit-scrollbar { display: none; }
  .nx-cat { min-height: 440px; scroll-snap-align: start; padding: 22px; }
  .nx-cat__t { font-size: 24px; }
}

/* ---------- Подбор ---------- */
.finder { padding-top: 0; }
.finder__box { border-radius: 4px !important; background: var(--nx-sand) !important; color: var(--nx-ink); }
.finder__title { font: 400 40px/1.1 var(--font-head) !important; letter-spacing: -.035em !important; color: var(--nx-ink) !important; }
.finder__lead { color: var(--nx-mute) !important; }
.finder__field > span { color: var(--nx-mute) !important; }
.finder__field .ex-input, .finder .ex-select { background: #fff !important; border-color: transparent !important; color: var(--nx-ink) !important; border-radius: 999px !important; padding-left: 20px !important; }
.finder__field .ex-input:disabled { background: rgba(255, 255, 255, .55) !important; }
.finder__tabs { background: #fff !important; border-radius: 999px !important; }
.finder__tabs button { color: var(--nx-mute) !important; border-radius: 999px !important; }
.finder__tabs button[aria-selected="true"] { color: #fff !important; }
.finder__ink { background: var(--nx-blue) !important; border-radius: 999px !important; }
.finder__go { background: var(--nx-blue) !important; color: #fff !important; border-radius: 999px !important; }
.finder__agree, .finder__agree a { color: var(--nx-mute) !important; }
.finder__result, .finder__result * { color: inherit; }
.finder .ex-hint { color: var(--nx-mute) !important; }
.finder__done-t, .finder__done p { color: var(--nx-ink) !important; }
@media (max-width: 860px) { .finder__title { font-size: 26px !important; } }

/* ---------- Наличие ---------- */
.stock .stock__more { justify-content: center; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; }
.pcard__media { border-radius: 4px !important; }
.pcard .ex-btn--sm { padding: 0 16px; }

/* ---------- Крупная фраза и проплывающие фото ---------- */
.nx-state { position: relative; padding: 220px 0 240px; overflow: hidden; }
.nx-state__in { position: relative; z-index: 1; text-align: center; pointer-events: none; }
.nx-state__t { margin: 0 auto; max-width: 1080px; font: 400 68px/1.05 var(--font-head); letter-spacing: -.045em; color: var(--nx-ink); text-wrap: balance; }
.nx-state__p { margin: 32px auto 0; max-width: 540px; font: 400 16px/25px var(--font-sans); color: var(--nx-mute); }
.nx-state__floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.nx-float { position: absolute; will-change: transform; }
.nx-float__card { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--nx-tint); box-shadow: 0 30px 60px -30px rgba(2, 11, 71, .35); overflow: hidden; }
.nx-float__card .obj { width: 84%; height: 84%; object-fit: contain; }
.nx-float__card .obj--empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--nx-blue); }
.nx-float__card .obj--empty > .ex-ic { width: 40%; height: 40%; opacity: .35; stroke-width: 1; }
.nx-float__card .obj__brief { display: none; }
.nx-float--f1 { left: 6%; top: 46%; width: 210px; --rot: -6deg; }
.nx-float--f2 { left: 30%; top: 70%; width: 170px; --rot: 4deg; }
.nx-float--f3 { right: 22%; top: 58%; width: 230px; --rot: -3deg; }
.nx-float--f4 { right: 5%; top: 18%; width: 190px; --rot: 7deg; }
.nx-float--f1 .nx-float__card { background: var(--nx-sand); }
.nx-float--f3 .nx-float__card { background: #e7eaf2; }
.nx-float { transform: translate3d(0, var(--y, 0px), 0) rotate(var(--rot)); }
@media (max-width: 860px) {
  .nx-state { padding: 140px 0 200px; }
  .nx-state__t { font-size: 32px; line-height: 1.1; }
  .nx-float--f1 { width: 110px; left: -4%; top: 62%; }
  .nx-float--f2 { width: 96px; left: 34%; top: 80%; }
  .nx-float--f3 { width: 120px; right: -4%; top: 66%; }
  .nx-float--f4 { width: 100px; right: 4%; top: 6%; }
}

/* ---------- Блоки 50 на 50 ---------- */
.nx-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: #fff; }
.nx-split + .nx-split { border-top: 0; }
.nx-split--rev .nx-split__media { order: -1; }
.nx-split:nth-of-type(odd) { background: #fff; }
.nx-split__text { display: flex; align-items: center; padding: 96px max(var(--gutter), 6vw); }
.nx-split__in { width: 100%; max-width: 560px; }
.nx-split__media { position: relative; min-height: 100%; overflow: hidden; background: var(--nx-sand); }
.nx-split__media .ph { position: absolute; inset: -6% 0; margin: 0; aspect-ratio: auto !important; border-radius: 0 !important; height: 112%; }
.nx-split__media .ph img { width: 100%; height: 100%; object-fit: cover; }
.nx-split__media .ph--empty { display: grid; place-items: center; background: var(--nx-tint); }
.nx-split__media .ph__brief { position: absolute; left: 24px; right: 24px; bottom: 9%; }
.nx-split__media .ph { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.nx-split__media--navy { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; padding: 64px 40px; background: var(--brand-deep); color: #fff; }
.nx-checks { display: grid; margin: 36px 0 0; padding: 0; list-style: none; }
.nx-checks li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--nx-line); font: 400 17px/24px var(--font-sans); color: var(--nx-ink); }
.nx-checks li:first-child { border-top: 1px solid var(--nx-line); }
.nx-checks .ex-ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--nx-blue); }
.nx-btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.nx-terms { display: grid; margin: 32px 0 0; }
.nx-terms > div { padding: 16px 0; border-top: 1px solid var(--nx-line); }
.nx-terms dt { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-mute); }
.nx-terms dd { margin: 6px 0 0; font: 400 16px/24px var(--font-sans); color: var(--nx-ink); }
.nx-odo { text-align: center; }
.nx-odo .odo { color: #fff; }
.nx-odo__or { margin: 16px 0 0; font: 400 15px/22px var(--font-sans); color: rgba(255, 255, 255, .7); }
.nx-odo__obj { width: min(360px, 70%); }
.nx-odo__obj .obj { width: 100%; height: auto; }
.nx-odo__obj .obj--empty { display: none; }
.nx-nums { display: grid; margin: 32px 0 0; padding: 0; list-style: none; }
.nx-nums li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--nx-line); }
.nx-nums span { font: 400 14px/24px var(--font-head); color: var(--nx-blue); }
.nx-nums b { font: 500 17px/24px var(--font-sans); color: var(--nx-ink); }
.nx-nums p { margin: 4px 0 0; font: 400 15px/22px var(--font-sans); color: var(--nx-mute); }
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.nx-chips li { padding: 7px 14px; border-radius: 999px; background: var(--nx-tint-2); font: 500 13px/18px var(--font-sans); color: var(--nx-ink); }
@media (max-width: 960px) {
  .nx-split { grid-template-columns: none; min-height: 0; }
  .nx-split__media { order: -1; aspect-ratio: 4 / 4; min-height: 0; }
  .nx-split__media--navy { aspect-ratio: auto; padding: 56px 24px; }
  .nx-split__text { padding: 48px var(--gutter) 64px; }
  .nx-checks li { font-size: 16px; }
}

/* ---------- Сравнение ---------- */
.cmp3__card { border-radius: 4px !important; background: var(--nx-sand) !important; min-height: 520px !important; }
.cmp3__card--ours { background: var(--nx-blue) !important; }
.cmp3__name { font: 400 30px/1.1 var(--font-head) !important; letter-spacing: -.035em !important; }
.cmp3__tag, .cmp3__list dt { font-family: var(--font-sans) !important; font-weight: 600 !important; letter-spacing: .08em !important; }
.cmp3__btn { margin-top: auto; }

/* ---------- Шаги ---------- */
.steps3__list li { border-radius: 4px !important; }
.steps3__num { font-family: var(--font-head) !important; font-weight: 400 !important; }

/* ---------- Сервис ---------- */
.scard { border-radius: 4px !important; background: var(--nx-tint-2) !important; }
.scard__title { font: 400 24px/1.15 var(--font-head) !important; letter-spacing: -.03em !important; }

/* ---------- О компании: фото во всю ширину ---------- */
.nx-band { position: relative; display: grid; place-items: center; min-height: 640px; padding: 120px 0; color: #fff; overflow: hidden; isolation: isolate; background: var(--brand-deep); }
.nx-band__media { position: absolute; inset: 0; z-index: -2; }
.nx-band__media .ph { position: absolute; inset: -8% 0; height: 116%; margin: 0; aspect-ratio: auto !important; border-radius: 0 !important; transform: translate3d(0, var(--py, 0px), 0); }
.nx-band__media .ph img { width: 100%; height: 100%; object-fit: cover; }
.nx-band__media .ph--empty { background: radial-gradient(120% 90% at 50% 0%, #1a2fa8 0%, #02137b 50%, #020b47 100%); }
.nx-band__media .ph__brief { position: absolute; left: 24px; bottom: 14%; max-width: 360px; }
.nx-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2, 8, 40, .38); }
.nx-band__in { text-align: center; }
.nx-band__k { margin: 0 0 14px; font: 600 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.nx-band__t { margin: 0 auto; max-width: 900px; font: 400 56px/1.06 var(--font-head); letter-spacing: -.045em; text-wrap: balance; }
.nx-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 48px 0 0; padding: 0; list-style: none; }
.nx-badges li { display: grid; place-content: center; width: 112px; height: 112px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-align: center; }
.nx-badges b { font: 400 28px/1 var(--font-head); letter-spacing: -.03em; }
.nx-badges span { margin-top: 6px; padding: 0 10px; font: 500 11px/14px var(--font-sans); color: rgba(255, 255, 255, .8); }
.about3 { padding-top: 96px !important; }
.about3__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about3__big { margin: 0; font: 400 30px/1.25 var(--font-head) !important; letter-spacing: -.035em !important; color: var(--nx-ink); }
.about3__text p { font: 400 16px/26px var(--font-sans); color: var(--nx-mute); }
.about3__text p + p { margin-top: 16px; }
@media (max-width: 860px) {
  .nx-band { min-height: 520px; padding: 80px 0; }
  .nx-band__t { font-size: 32px; }
  .nx-badges li { width: 92px; height: 92px; }
  .nx-badges b { font-size: 22px; }
  .about3__grid { grid-template-columns: none; gap: 24px; }
  .about3__big { font-size: 22px !important; }
}

/* ---------- Вопросы ---------- */
.faq3 .ex-faq details { border-radius: 0 !important; }
.faq3 .ex-faq summary { font: 400 20px/28px var(--font-sans) !important; }
@media (max-width: 860px) { .faq3 .ex-faq summary { font-size: 17px !important; line-height: 24px !important; } }

/* ---------- Финальная форма ---------- */
.final3__box { border-radius: 4px !important; background: var(--nx-tint) !important; color: var(--nx-ink) !important; }
.final3__title { font: 400 44px/1.1 var(--font-head) !important; letter-spacing: -.04em !important; color: var(--nx-ink) !important; }
.final3__lead, .final3__facts span { color: var(--nx-mute) !important; }
.final3__facts b { color: var(--nx-ink) !important; font-family: var(--font-head) !important; font-weight: 400 !important; }
.final__formwrap { border-radius: 4px !important; }
.final3 .ex-input { border-radius: 999px !important; padding-left: 20px !important; }
@media (max-width: 860px) { .final3__title { font-size: 28px !important; } }

/* ---------- Подвал ---------- */
.ex-footer { display: none !important; }
.nx-foot { padding: 96px 0 28px; background: var(--nx-sand); color: var(--nx-ink); }
.nx-foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-bottom: 72px; }
.nx-foot__title { margin: 0; max-width: 460px; font: 400 32px/1.15 var(--font-head); letter-spacing: -.035em; }
.nx-foot__phone { display: inline-block; margin-top: 28px; color: var(--nx-ink); font: 400 24px/1 var(--font-head); letter-spacing: -.02em; text-decoration: none; }
.nx-foot__phone:hover { color: var(--nx-blue); }
.nx-foot__hours { margin: 8px 0 0; font: 400 14px/20px var(--font-sans); color: var(--nx-mute); }
.nx-foot__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nx-foot__btns .nx-pill--ghost { box-shadow: inset 0 0 0 1px rgba(10, 15, 46, .2); }
.nx-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-left: 40px; border-left: 1px solid var(--nx-line); }
.nx-foot__h { margin: 0 0 16px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-mute); }
.nx-foot ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nx-foot li a { color: var(--nx-ink); font: 400 14px/20px var(--font-sans); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--nx-ease); }
.nx-foot li a:hover { background-size: 100% 1px; }
.nx-foot__word { display: flex; justify-content: center; gap: .02em; padding: 24px 0 36px; border-top: 1px solid var(--nx-line); color: var(--nx-blue); font: 500 clamp(56px, 12.6vw, 210px)/.9 var(--font-head); letter-spacing: -.06em; text-decoration: none; white-space: nowrap; overflow: hidden; }
.nx-foot__word span { display: inline-block; transition: transform .9s var(--nx-ease); }
.nx-foot__word:hover span:first-child { transform: translateX(-.04em); }
.nx-foot__word:hover span:last-child { transform: translateX(.04em); }
.nx-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--nx-line); font: 400 11px/16px var(--font-sans); letter-spacing: .02em; color: var(--nx-mute); }
.nx-foot__note { flex-basis: 100%; }
@media (max-width: 1100px) {
  .nx-foot__top { grid-template-columns: none; gap: 48px; }
  .nx-foot__cols { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
  .nx-foot { padding: 64px 0 96px; }
  .nx-foot__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .nx-foot__title { font-size: 24px; }
  .nx-foot__word { font-size: 13.4vw; padding: 20px 0 24px; }
}

/* ---------- Общие правки других страниц под новую систему ---------- */
.page-title, .cat__title, .doc h1 { font-family: var(--font-head) !important; font-weight: 400 !important; letter-spacing: -.04em !important; }
.sec__title { font-weight: 400 !important; letter-spacing: -.035em !important; }
.ex-input, .ex-select { border-radius: 10px; }
.modal__box { border-radius: 8px !important; }

/* уточнения после проверки */
.faq3__head { display: block !important; max-width: 760px; margin: 0 auto 48px !important; text-align: center; }
.faq3__head .nx-lead { margin-left: auto; margin-right: auto; }
.nx-foot__word { font-size: min(11.4vw, 196px); }
.nx-float--f2 { left: 20%; top: 84%; }
.nx-float--f3 { right: 14%; top: 64%; }
@media (max-width: 860px) {
  .nx-float--f2 { left: 30%; top: 86%; }
  .nx-float--f3 { right: -4%; top: 70%; }
  .nx-foot__word { font-size: 11.6vw; }
}

/* ==========================================================================
   Пропорции блоков как на coterie.com (сняты с образца, ширина карточки 459 px):
   - поля карточки 9% ширины (40 px), сверху столько же, сколько слева;
   - карточка вытянута по высоте: ширина к высоте 459 : 632;
   - заголовок карточки обычной жирности, кнопка 52 px справа на уровне заголовка;
   - описание 15/22 серым, шириной около половины карточки, отступ от заголовка 12 px;
   - предмет по центру, примерно 2/3 ширины, снизу поле 11% высоты;
   - скругление карточек 8 px; кнопки небольшие: 44 px обычные, 38 px в списках.
   ========================================================================== */
:root { --nx-r: 8px; --nx-pad: 40px; }
@media (max-width: 860px) { :root { --nx-pad: 24px; } }

/* Кнопки: высота и текст ровно по центру */
.nx-pill { height: 44px; padding: 0 22px; font: 600 14px/1 var(--font-sans); }
.nx-pill--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.nx-pill--lg { height: 52px; padding: 0 28px; font-size: 15px; }
.nx-pill--card { height: 52px; padding: 0 22px; font-size: 15px; }

/* Заголовки разделов: спокойнее, как у образца, отступ до карточек 40 px */
.nx-title { font-size: 40px; line-height: 1.12; }
.nx-head2 { margin-bottom: 40px; }
.nx-sec .nx-title.nx-center { margin-bottom: 40px; }
.nx-lead { margin-top: 14px; font-size: 16px; line-height: 24px; }
@media (max-width: 860px) {
  .nx-title { font-size: 28px; }
  .nx-head2, .nx-sec .nx-title.nx-center { margin-bottom: 28px; }
  .nx-lead { font-size: 15px; line-height: 22px; }
}

/* Карточки разделов */
.nx-cat { min-height: 0; aspect-ratio: 459 / 632; padding: var(--nx-pad); border-radius: var(--nx-r); }
.nx-cat__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; }
.nx-cat__t { grid-column: 1; grid-row: 1; align-self: center; font: 400 36px/1.15 var(--font-head); letter-spacing: -.04em; }
.nx-cat .nx-pill { grid-column: 2; grid-row: 1; align-self: center; }
.nx-cat__d { grid-column: 1; grid-row: 2; max-width: 250px; margin: 12px 0 0; font: 400 15px/22px var(--font-sans); color: var(--nx-mute); }
.nx-cat__obj { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 24px 0 28px; }
.nx-cat__obj .obj { width: 72%; max-height: 62%; height: auto; }
.nx-cat__obj .obj--empty { min-height: 0; height: 100%; align-content: center; }
@media (max-width: 1000px) {
  .nx-cat { aspect-ratio: 459 / 600; }
  .nx-cat__t { font-size: 28px; }
  .nx-cat .nx-pill { height: 44px; padding: 0 18px; font-size: 14px; }
  .nx-cat__d { font-size: 14px; line-height: 20px; }
}

/* Остальные карточки: те же поля и скругление */
.cmp3__card, .scard, .finder__box, .final3__box, .final__formwrap, .pcard__media, .nx-dd__thumb, .nx-dd__fimg, .nx-float__card, .nx-drawer__promo { border-radius: var(--nx-r) !important; }
.cmp3__card, .scard { padding: var(--nx-pad) !important; }
.cmp3__card { min-height: 0 !important; aspect-ratio: 459 / 600; }
.scard { min-height: 0 !important; aspect-ratio: 3 / 4.6; }
.scard__title { font-size: 26px !important; line-height: 1.15 !important; }
.scard__text { font: 400 15px/22px var(--font-sans) !important; color: var(--nx-mute) !important; margin-top: 12px; }
.finder__box { padding: 56px !important; }
.final3__box { padding: 56px !important; }
@media (max-width: 1000px) {
  .cmp3__card, .scard { aspect-ratio: auto; }
  .finder__box, .final3__box { padding: 28px 20px !important; }
}

/* Блоки 50 на 50: текст прижат к полю страницы, как на образце, сам блок выше */
.nx-split { min-height: min(880px, 92vh); }
.nx-split__text { padding: 96px var(--gutter); }
.nx-split--rev .nx-split__text, .nx-split__media + .nx-split__text { padding-left: var(--nx-pad); }
.nx-split:not(.nx-split--rev) .nx-split__text { padding-right: var(--nx-pad); }
.nx-split__in { max-width: 520px; }
.nx-checks { margin-top: 28px; }
.nx-checks li { padding: 14px 0; font-size: 16px; line-height: 23px; }
.nx-btnrow { margin-top: 32px; gap: 8px; }
@media (max-width: 960px) {
  .nx-split { min-height: 0; }
  .nx-split__text { padding: 40px var(--gutter) 56px !important; }
}
.nx-cat__d { max-width: 270px; margin-top: 4px; }
.cmp3__btn { flex: none; align-self: flex-start; }
.cmp3__card > *, .scard > * { flex-shrink: 0; }
@media (max-width: 1000px) {
  .nx-cats__grid { grid-auto-columns: 86%; gap: 12px; }
  .nx-cat { aspect-ratio: 459 / 560; }
  .nx-cat__t { font-size: 24px; }
  .nx-cat .nx-pill { height: 40px; padding: 0 16px; font-size: 13px; }
  .nx-cat__d { max-width: none; margin-top: 10px; }
}
@media (max-width: 1000px) {
  .nx-cats__grid { scroll-padding-left: var(--gutter); }
  .nx-cat__d { grid-column: 1 / -1; }
}

/* ==========================================================================
   Первый экран без фото: двигатель не наезжает на кнопки
   ========================================================================== */
.nx-hero--plain { justify-content: flex-start; padding-top: calc(var(--nx-head-h) + 9vh); }
.nx-hero__obj { width: auto; bottom: 40px; height: min(36vh, 400px); }
.nx-hero__obj .obj { width: auto; height: 100%; }
@media (max-width: 860px) {
  .nx-hero--plain { padding-top: calc(var(--nx-head-h) + 40px); }
  .nx-hero__obj { height: min(30vh, 260px); bottom: 64px; }
}

/* ==========================================================================
   Приветственное окно (как всплывающее окно на coterie.com)
   ========================================================================== */
.welcome { position: fixed; inset: 0; z-index: 2147483100; display: grid; place-items: center; padding: 24px; }
.welcome[hidden] { display: none; }
.welcome__bg { position: absolute; inset: 0; background: rgba(10, 15, 46, .42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .5s var(--nx-ease); }
.welcome__box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 44px 56px 28px; border-radius: var(--nx-r); text-align: center; color: var(--nx-ink);
  background: radial-gradient(120% 70% at 50% 0%, var(--nx-tint) 0%, rgba(221, 231, 251, 0) 60%), #fff;
  box-shadow: 0 40px 80px -30px rgba(2, 11, 71, .45);
  opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .5s var(--nx-ease), transform .7s var(--nx-ease); }
.welcome.is-open .welcome__bg { opacity: 1; }
.welcome.is-open .welcome__box { opacity: 1; transform: none; }
.welcome__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--nx-ink); cursor: pointer; transition: background-color .3s, transform .5s var(--nx-ease); }
.welcome__x:hover { background: rgba(10, 15, 46, .06); transform: rotate(90deg); }
.welcome__x .ex-ic { width: 20px; height: 20px; }
.welcome__logo { display: block; height: 44px; width: auto; margin: 0 auto 28px; }
.welcome__t { margin: 0 auto; max-width: 440px; font: 400 36px/1.1 var(--font-head); letter-spacing: -.04em; text-wrap: balance; }
.welcome__t--sm { font-size: 30px; }
.welcome__lead { margin: 14px auto 0; max-width: 400px; font: 400 17px/25px var(--font-sans); color: var(--nx-mute); text-wrap: balance; }
.welcome__q { margin: 32px 0 14px; font: 500 16px/22px var(--font-sans); }
.welcome__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.welcome__btns .nx-pill { min-width: 170px; }
.welcome__btns .nx-pill--ghost { box-shadow: inset 0 0 0 1.5px var(--nx-blue); color: var(--nx-blue); }
.welcome__no { display: inline-block; margin-top: 18px; padding: 6px 4px; border: 0; background: none; color: var(--nx-blue); font: 500 14px/18px var(--font-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.welcome__no:hover { text-decoration-thickness: 2px; }
.welcome__note { margin: 28px -24px 0; padding-top: 18px; border-top: 1px solid var(--nx-line); font: 400 12px/16px var(--font-sans); color: var(--nx-mute); }
.welcome__form { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.welcome__form .ex-field { margin: 0; }
.welcome__form .ex-input { height: 52px; border-radius: 999px !important; padding-left: 20px !important; }
.welcome__form .ex-hint { padding: 0 20px; }
.welcome__form .ex-check { font-size: 13px; line-height: 18px; }
.welcome__form .nx-pill { margin-top: 4px; }
.welcome__done { padding-top: 6px; }
.welcome__done .nx-pill { margin-top: 24px; }
.welcome__box.is-sent .welcome__step { display: none !important; }
@media (max-width: 600px) {
  .welcome { place-items: end stretch; padding: 0; }
  .welcome__box { width: 100%; max-height: 92dvh; padding: 36px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; transform: translateY(100%); }
  .welcome__logo { height: 36px; margin-bottom: 22px; }
  .welcome__t { font-size: 28px; }
  .welcome__t--sm { font-size: 24px; }
  .welcome__lead { font-size: 15px; line-height: 22px; }
  .welcome__btns { flex-direction: column; }
  .welcome__btns .nx-pill { width: 100%; }
  .welcome__note { margin: 22px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .welcome__bg, .welcome__box { transition: none; } }

/* ==========================================================================
   Чат: шире, тёплый фон переписки, кнопки-пилюли, как в новой системе
   ========================================================================== */
.chat { width: 420px; right: 24px; --head-h: 64px; }
.chat__panel { height: min(660px, calc(100vh - 96px)); border-radius: 14px 14px 0 0; box-shadow: 0 -10px 50px -12px rgba(2, 11, 71, .35), 0 0 0 1px rgba(2, 11, 71, .06); }
.chat__head { padding: 0 12px 0 14px; background: var(--nx-blue); }
.chat__head:hover { background: var(--nx-blue-h); }
.chat__who b { font: 600 15px/20px var(--font-sans); }
.chat__who span { font-size: 12px; line-height: 17px; color: rgba(255, 255, 255, .7); }
.chat__arrow { width: 36px; height: 36px; border-radius: 50%; transition: transform .6s var(--nx-ease), background-color .3s; }
.chat__head:hover .chat__arrow { background: rgba(255, 255, 255, .12); }
.chat__dot.is-on { background: #2fd27a; box-shadow: 0 0 0 0 rgba(47, 210, 122, .6); animation: nx-online 2.4s infinite; }
@keyframes nx-online { 0% { box-shadow: 0 0 0 0 rgba(47, 210, 122, .55); } 70% { box-shadow: 0 0 0 7px rgba(47, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 210, 122, 0); } }

.chat__body { padding: 20px 18px 10px; background: var(--nx-sand); }
.chat__intro { display: grid; justify-items: center; padding: 10px 0 22px; margin-bottom: 14px; border-bottom: 1px solid var(--nx-line); text-align: center; }
.chat__intro-ava { position: relative; width: 64px; height: 64px; margin-bottom: 10px; }
.chat__intro-ava img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.chat__intro-ava .chat__dot { right: 2px; bottom: 2px; width: 14px; height: 14px; border-color: var(--nx-sand); }
.chat__intro-t { margin: 0; font: 400 20px/1.2 var(--font-head); letter-spacing: -.03em; color: var(--nx-ink); }
.chat__intro-s { margin: 4px 0 0; font: 400 13px/18px var(--font-sans); color: var(--nx-mute); }
.chat__intro-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.chat__intro-tags li { padding: 5px 11px; border-radius: 999px; background: #fff; font: 500 12px/16px var(--font-sans); color: var(--nx-ink); }

.chat__msgs { gap: 10px; }
.cmsg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 22px; }
.cmsg--in { background: #fff; color: var(--nx-ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(2, 11, 71, .05); }
.cmsg--out { background: var(--nx-blue); border-bottom-right-radius: 6px; }
.cmsg__time { opacity: .5; }

.chat__quick { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chat__q { max-width: 100%; padding: 9px 15px; border: 1px solid rgba(2, 19, 123, .18); border-radius: 999px; background: #fff; color: var(--nx-blue); font: 500 14px/18px var(--font-sans); transition: background-color .3s var(--nx-ease), color .3s var(--nx-ease), border-color .3s var(--nx-ease), transform .3s var(--nx-ease); }
.chat__q:hover { background: var(--nx-blue); border-color: var(--nx-blue); color: #fff; }
.chat__q:active { transform: scale(.97); }
.chat__ch { height: 38px; padding: 0 15px; border-color: rgba(2, 19, 123, .18); }
.chat__ch:hover, .chat__ch.is-active { background: var(--nx-blue); border-color: var(--nx-blue); }
.chat__phone input { height: 44px; border-radius: 999px; padding: 0 16px; border-color: var(--nx-line); }
.chat__phone button { height: 44px; padding: 0 18px; border-radius: 999px; background: var(--nx-blue); }

.chat__form { padding: 12px 14px 14px; border-top: 1px solid var(--nx-line); }
.chat__agree { margin-bottom: 10px; color: var(--nx-mute); }
.chat__agree a { color: var(--nx-blue); }
.chat__input { align-items: flex-end; gap: 6px; }
.chat__input textarea { min-height: 46px; padding: 12px 18px; border: 1px solid var(--nx-line); border-radius: 23px; background: var(--nx-tint-2); }
.chat__input textarea:focus { border-color: var(--nx-blue); background: #fff; box-shadow: none; }
.chat__attach { width: 42px; height: 46px; border-radius: 50%; }
.chat__attach:hover { color: var(--nx-blue); background: var(--nx-tint-2); }
.chat__send { width: 46px; height: 46px; border-radius: 50%; background: var(--nx-blue); }
.chat__send:not(:disabled):hover { background: var(--nx-blue-h); }
.chat__typing .chat__dots { background: #fff; }
@media (max-width: 860px) {
  .chat { width: auto; right: 0; }
  .chat__panel { border-radius: 16px 16px 0 0; }
}
/* старые правила скругления в ds.css стоят с !important, поэтому здесь тоже */
.chat__panel { border-radius: 14px 14px 0 0 !important; }
.cmsg { border-radius: 18px !important; }
.cmsg--in { border-bottom-left-radius: 6px !important; }
.cmsg--out { border-bottom-right-radius: 6px !important; }
.cmsg__img { border-radius: 14px !important; }
.chat__q, .chat__ch, .chat__phone input, .chat__phone button, .chat__dots { border-radius: 999px !important; }
.chat__input textarea { border-radius: 23px !important; }
.chat__send, .chat__attach { border-radius: 50% !important; }
.chat__q:hover, .chat__ch:hover { transform: none; }
@media (max-width: 860px) { .chat__panel { border-radius: 16px 16px 0 0 !important; } }
.welcome__t { font-size: 34px; }
.welcome__box { width: min(600px, 100%); }
.welcome__box:focus { outline: none; }
.welcome [data-vin-count] { white-space: nowrap; }
@media (max-width: 600px) { .welcome__t { font-size: 25px; } .welcome__t--sm { font-size: 24px; } }
@media (max-width: 860px) { html:has(.chat.is-open) .cookie { display: none; } }
/* Значок статуса менеджера: в рабочее время зелёный и пульсирует, в нерабочее жёлтый («ответим позже»).
   Обводка в цвет фона, чтобы значок отделялся от аватарки */
.chat__dot { width: 13px; height: 13px; right: -2px; bottom: -2px; border: 2.5px solid var(--nx-blue); background: #ffb020; }
.chat__head:hover .chat__dot { border-color: var(--nx-blue-h); }
.chat__dot.is-on { background: #2fd27a; }
.chat__intro-ava .chat__dot { width: 16px; height: 16px; border: 3px solid var(--nx-sand); }
