/* Внутренние страницы: каталог, разделы, товар, компания, статьи, контакты, поиск, 404. Токены и компоненты из base.css и a.css. */
.inner { padding-bottom: clamp(36px, 5vw, 72px); }
.inner .sec__title { font-size: clamp(22px, 2.2vw, 28px); }
.inner .sec { padding-block: clamp(32px, 4vw, 56px) 0; }

.crumbs { padding-block: 16px 14px; overflow-x: auto; scrollbar-width: none; font-size: 13.5px; color: var(--ink-3); }
.crumbs::-webkit-scrollbar { display: none; }
/* всегда одна строка: при смене шрифта перенос сдвигал всю страницу */
.crumbs ol { display: flex; align-items: center; white-space: nowrap; }
.crumbs li { flex: none; display: flex; align-items: center; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs li:last-child span { overflow: hidden; text-overflow: ellipsis; }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: #b9c4cf; }
.crumbs.is-cut { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px); mask-image: linear-gradient(90deg, transparent, #000 22px); }
.crumbs a { padding-block: 4px; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--ink-2); }

.chead { margin-bottom: clamp(16px, 2vw, 24px); }
.chead h1 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.chead p { margin-top: 10px; max-width: 75%; font-size: 17px; color: var(--ink-2); }
.chead--lead { margin-bottom: clamp(20px, 3vw, 36px); }

/* вкладки раздела «Компания» */
.inav { display: flex; gap: 4px; margin-bottom: clamp(18px, 2.4vw, 28px); padding: 4px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--bg-2); border-radius: 13px; }
.inav::-webkit-scrollbar { display: none; }
.inav a { flex: none; display: flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font: 600 14.5px/1 var(--font-h); color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.inav a:hover { color: var(--blue); }
.inav a.is-on { background: #fff; color: var(--blue); }

/* каталог: разделы и фильтры слева, товары справа */
.clayout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 28px; align-items: start; }
.cveil { display: none; }
.cside { position: sticky; top: 72px; display: flex; flex-direction: column; max-height: calc(100vh - 88px); background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden; }
.cside__head, .cside__foot { display: none; }
.cside__body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; padding: 16px 10px 12px; }
.cside__body::-webkit-scrollbar { width: 6px; }
.cside__body::-webkit-scrollbar-track { background: transparent; }
.cside__body::-webkit-scrollbar-thumb { background: #c7d0da; border: 0; border-radius: 3px; }
.cside.has-down .cside__body { -webkit-mask-image: linear-gradient(0deg, transparent, #000 34px); mask-image: linear-gradient(0deg, transparent, #000 34px); }
.cside.has-up .cside__body { -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px); mask-image: linear-gradient(180deg, transparent, #000 34px); }
.cside.has-up.has-down .cside__body { -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(180deg, transparent, #000 34px, #000 calc(100% - 34px), transparent); }
.cside__t, .cside__fh b { font: 700 16.5px/1.25 var(--font-h); letter-spacing: -.01em; }
.cside__t { display: block; margin: 0 10px 6px; }
.cside__fh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 10px 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.cside__reset { font-size: 13.5px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease); }
.is-filtered .cside__reset { visibility: visible; opacity: 1; }
.cside__all { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; margin: 0 10px 4px; font-size: 13.5px; color: var(--ink-3); transition: color .18s var(--ease); }
.cside__all:hover { color: var(--blue); }
.cside__all .ic { width: 9px; height: 9px; }

/* дерево: подписи сдвигаются по уровню, стрелки стоят одной колонкой, линия показывает вложенность */
.ctree { --step: 14px; }
.ct { --pad: calc(10px + var(--d, 0) * var(--step)); }
.ct__r { position: relative; z-index: 1; display: flex; align-items: flex-start; border-radius: 9px; transition: background-color .18s var(--ease); }
.ct__r:hover { background: var(--bg-3); }
.ct__r a { flex: 1; min-width: 0; padding: 7px 6px 7px var(--pad); font-size: 14.5px; line-height: 1.32; color: var(--ink-2); overflow-wrap: break-word; transition: color .18s var(--ease); }
.ct__r:hover a { color: var(--ink); }
.ct--d0 > .ct__r a { font: 600 15px/1.32 var(--font-h); color: var(--ink); }
.ct.is-path > .ct__r a { color: var(--ink); font-weight: 600; }
.ct.is-cur > .ct__r { background: var(--blue-l); }
.ct.is-cur > .ct__r a { color: var(--blue); font-weight: 600; }
.ct__t { flex: none; display: grid; place-items: center; width: 32px; height: 34px; color: var(--ink-3); }
.ct__t:hover { color: var(--blue); }
.ct__t .ic { width: 10px; height: 10px; transform: rotate(-90deg); transition: transform .26s var(--ease); }
.ct.is-open > .ct__r .ct__t .ic { transform: none; }
.ct__k { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.ct.is-open > .ct__k { grid-template-rows: 1fr; }
.ct__k > ul { position: relative; min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .28s; }
.ct.is-open > .ct__k > ul { visibility: visible; transition: none; }
.ct__k > ul::before { content: ""; position: absolute; left: calc(14px + var(--d, 0) * var(--step)); top: 3px; bottom: 5px; width: 1px; background: #d2dae3; }

/* группа фильтра: заголовок вплотную к значениям, между группами линия */
.ff { padding-inline: 10px; }
.ff + .ff { border-top: 1px solid var(--line); }
.ff__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 38px; font: 600 14.5px/1.3 var(--font-h); text-align: left; transition: color .18s var(--ease); }
.ff__h:hover { color: var(--blue); }
.ff__h .ic { width: 10px; height: 10px; color: var(--ink-3); transition: transform .26s var(--ease); }
.ff.is-shut .ff__h .ic { transform: rotate(-90deg); }
.ff__b { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .28s var(--ease); }
.ff.is-shut .ff__b { grid-template-rows: 0fr; }
.ff__b > div { min-height: 0; overflow: hidden; }
.ff.is-shut .ff__b > div { visibility: hidden; transition: visibility 0s .28s; }
.ff__v { padding-bottom: 10px; }
.ff.is-cut .chk:nth-child(n+8) { display: none; }
.ff__more { min-height: 30px; font-size: 13.5px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ff:not(.is-cut) .ff__more { display: none; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: 14.5px; line-height: 1.3; cursor: pointer; transition: color .18s var(--ease), opacity .2s var(--ease); }
.chk input { appearance: none; -webkit-appearance: none; flex: none; width: 19px; height: 19px; margin: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 0 no-repeat; border: 1.5px solid #b9c4cf; border-radius: 6px; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), background-size .18s var(--ease-out); }
.chk span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.chk__n { flex: none; margin-left: 8px; font-size: 12.5px; font-style: normal; color: var(--ink-3); }
.chk:hover input:not(:disabled) { border-color: var(--blue); }
.chk input:checked { background-color: var(--blue); background-size: 12px; border-color: var(--blue); }
.chk input:disabled { background-color: var(--bg-3); border-color: var(--line); cursor: default; }
.chk:has(input:disabled) { opacity: .45; cursor: default; }

.cmain { min-width: 0; overflow-anchor: none; }
.subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 18px; }
.subc { display: flex; align-items: center; gap: 12px; min-height: 80px; padding: 8px 14px 8px 10px; background: var(--bg-2); border-radius: var(--r); font: 600 17px/1.3 var(--font-h); letter-spacing: -.005em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.subc img { flex: none; width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.subc:hover { background: var(--blue-l); color: var(--blue); }

.ctool { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ctool[hidden] { display: none; }
.ctool__n { min-height: 22px; font-size: 14.5px; color: var(--ink-2); margin-right: auto; }
.cfbtn { display: none; position: relative; }
.cfbtn .ic { width: 15px; height: 15px; }
.btn.cfbtn:hover .ic { transform: none; }
.cfbtn__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: #fff; font: 700 12px/20px var(--font-t); text-align: center; }
.csort select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 34px 0 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%236b7786' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E") right 12px center / 11px no-repeat; border: 1.5px solid var(--line); border-radius: var(--r-btn); font-size: 14.5px; cursor: pointer; }
.csort select:focus-visible { border-color: var(--blue); }
.cview { display: flex; gap: 2px; padding: 3px; background: var(--bg-2); border-radius: var(--r-btn); }
.cview button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--ink-3); transition: color .2s var(--ease), background-color .2s var(--ease); }
.cview button .ic { width: 15px; height: 15px; }
.cview [data-view="grid"] { background: #fff; color: var(--blue); }
.v-list .cview [data-view="grid"] { background: none; color: var(--ink-3); }
.v-list .cview [data-view="list"] { background: #fff; color: var(--blue); }

.cchips { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s var(--ease); }
.cchips.is-on { grid-template-rows: 1fr; }
.cchips__in { min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; column-gap: 6px; }
.cchip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 10px; padding: 0 10px 0 12px; background: var(--blue-l); color: var(--blue); border-radius: 17px; font-size: 13.5px; line-height: 1.2; transition: background-color .18s var(--ease); }
.cchip:hover { background: #d8e5f3; }
.cchip .ic { width: 10px; height: 10px; }

.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 12px; align-content: start; transition: opacity .2s var(--ease); }
.cgrid[hidden] { display: none; }
.cgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cgrid.is-busy, .news.is-busy { opacity: .5; }
.cgrid .pcard, .pcard--c { border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s var(--ease); }
.cgrid .pcard:hover { border-color: #b7c5d4; }
.pcard__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pcard__short { display: none; }
.pcard__price--on { color: var(--ink); font: 700 16px/1.3 var(--font-h); }
.pcard__noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--bg-2); border-radius: var(--r-sm); font-size: 13px; color: var(--ink-3); text-align: center; }

.v-list .clayout .cgrid { grid-template-columns: minmax(0, 1fr); }
.v-list .clayout .cgrid .pcard { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px; gap: 8px 18px; align-items: center; padding: 12px 16px 12px 12px; }
.v-list .clayout .pcard__img { margin: 0; }
.v-list .clayout .pcard__name { min-height: 0; font-size: 16.5px; -webkit-line-clamp: 2; line-clamp: 2; }
.v-list .clayout .pcard__short { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.v-list .clayout .pcard__price { margin: 6px 0 0; }
.v-list .clayout .pcard__row { margin: 0; }

.cempty, .cnone { padding: clamp(24px, 4vw, 44px); background: var(--bg-2); border-radius: var(--r-lg); }
.cempty { grid-column: 1 / -1; }
.cempty b, .cnone b { display: block; font: 700 21px/1.25 var(--font-h); letter-spacing: -.01em; }
.cempty p, .cnone p { margin: 6px 0 16px; color: var(--ink-2); }
.cnone[hidden] { display: none; }

.cpager { display: flex; justify-content: center; margin-top: 26px; }
.cpager:empty { display: none; }
.pgs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.pg { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 10px; font: 600 14.5px/1 var(--font-h); color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.pg:hover { color: var(--blue); }
.pg.is-on { background: var(--blue); color: #fff; }
.pgs__gap { padding-inline: 4px; color: var(--ink-3); }

.ctext { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-2); }
.ctext__in { position: relative; max-width: 75%; }
.ctext.is-cut .ctext__in { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(0deg, transparent, #000 90px); mask-image: linear-gradient(0deg, transparent, #000 90px); }
.ctext__btn { margin: 10px 0 0; padding: 8px 0; }
.ctext__btn .ic { transition: transform .24s var(--ease); }
.ctext:not(.is-cut) .ctext__btn .ic { transform: rotate(180deg); }

/* главная каталога: разделы карточками */
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--bg-2); border-radius: var(--r-lg); }
.scard__img img { width: 112px; height: 112px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard h2 { font-size: 18px; margin-bottom: 6px; }
.scard h2 a { display: block; padding-block: 4px; }
.scard h2 a:hover { color: var(--blue); }
.scard li a { display: block; padding: 2px 0; font-size: 14px; line-height: 1.32; color: var(--ink-2); transition: color .2s var(--ease); }
.scard li a:hover { color: var(--blue); }
.scard .sec__m { color: var(--blue); font-weight: 500; }
.scard:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.chall { margin: clamp(36px, 4.4vw, 60px) 0 clamp(16px, 2vw, 24px); scroll-margin-top: 80px; }

/* текст из базы сайта */
.rich { color: var(--ink); overflow-wrap: break-word; }
.rich > * + * { margin-top: 14px; }
.rich h2, .rich h3, .rich h4 { margin-top: 28px; }
.rich h2 { font-size: clamp(21px, 2vw, 26px); scroll-margin-top: 90px; }
.rich h3 { font-size: 19px; }
.rich h4 { font-size: 17px; }
.rich > :first-child { margin-top: 0; }
.rich ul, .rich ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding-left: 22px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li::marker { color: var(--blue); }
.rich a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: var(--r-sm); }
.rich .igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.rich .igrid img { width: 100%; height: auto; }
@media (max-width: 600px) { .rich .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.rich blockquote { margin: 0; padding: 14px 18px; background: var(--bg-2); border-radius: var(--r); }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); }
.tw .tw { overflow: visible; border: 0; border-radius: 0; }
.tw table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.tw td, .tw th { padding: 9px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tw tr:last-child td { border-bottom: 0; }
.tw th, .tw tr:first-child th { background: var(--bg-2); font-weight: 600; }
.tw td:first-child { color: var(--ink-2); }
/* характеристики из двух колонок: значение 30% ширины, если в админке ширина не задана (width у ячейки сохраняется) */
#t-spec .tw table.t2 tr > :nth-child(2):last-child { width: 30%; }
/* слова в таблицах не рвутся: колонка шириной в самое длинное слово, широкая таблица листается вбок */
.tw td, .tw th { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.tw .nw { white-space: nowrap; }

/* подсказки к характеристикам: термин с пунктиром и значком, описание во всплывающем окне */
.tip { cursor: help; text-decoration: underline dotted #9aa8b6; text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 4px; transition: color .18s var(--ease); }
.tip::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; background: #9aa8b6; -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z'/></svg>") center / contain no-repeat; transition: background-color .18s var(--ease); }
.tip:hover, .tip.is-on { color: var(--blue); }
.tip:hover::after, .tip.is-on::after { background: var(--blue); }
.tip__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tipbox { position: fixed; left: 0; top: 0; z-index: 150; max-width: min(340px, calc(100vw - 24px)); padding: 10px 13px; background: var(--ink); color: #fff; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; box-shadow: var(--pop); opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none; transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s; }
.tipbox.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .16s var(--ease), transform .16s var(--ease); }

/* карточка товара */
.pp { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(24px, 3.6vw, 52px); align-items: start; }
.gal { position: relative; min-width: 0; }
.gal__view { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; cursor: grab; }
.gal__view.is-drag, .gal__th.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.gal__view.is-drag .gal__s, .gal__th.is-drag .gal__t { cursor: grabbing; }
.gal__view img, .gal__th img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.gal__view::-webkit-scrollbar { display: none; }
.gal__s { flex: 0 0 100%; display: grid; place-items: center; aspect-ratio: 1; padding: clamp(14px, 3vw, 40px); scroll-snap-align: start; cursor: inherit; }
.gal__s img { width: 100%; height: 100%; object-fit: contain; }
.gal__s--none { color: var(--ink-3); cursor: default; }
.gal__nav { position: absolute; left: 10px; right: 10px; top: 0; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.gal__nav button { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: color .2s var(--ease), border-color .2s var(--ease); }
.gal__nav button:hover { color: var(--blue); border-color: var(--blue); }
.gal__nav .ic { width: 13px; height: 13px; }
.gal__th { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.gal__th::-webkit-scrollbar { display: none; }
.gal__t { flex: none; display: grid; place-items: center; width: 72px; height: 72px; padding: 6px; border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s var(--ease); }
.gal__t img { width: 100%; height: 100%; object-fit: contain; }
.gal__t.is-on { border-color: var(--blue); }

.pp__info { min-width: 0; }
.pp__info h1 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.16; letter-spacing: -.022em; text-wrap: pretty; }
.pp__info h1.is-long { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.22; }
.pp__meta { display: grid; gap: 4px; margin-top: 14px; font-size: 14.5px; }
.pp__meta li { display: flex; gap: 10px; }
.pp__meta span { color: var(--ink-3); min-width: 112px; }
.pp__meta b { font-weight: 500; }
.pp__meta a { padding-block: 5px; margin-block: -5px; color: var(--blue); }
.pp__short { margin-top: 14px; color: var(--ink-2); overflow-wrap: break-word; }
.pp__buy { display: grid; gap: 14px; margin-top: 18px; padding: 18px; background: var(--bg-2); border-radius: var(--r-lg); }
.pp__pr b { display: block; font: 700 24px/1.2 var(--font-h); letter-spacing: -.02em; }
.pp__pr span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.pp__act { display: flex; gap: 8px; }
.pp__act .btn { flex: 1; }
.pp__cmp { width: 50px; height: 50px; background: #fff; }
.pp__wa { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 40px; font: 600 15px/1.2 var(--font-h); color: #128c4b; }
.pp__wa .ic { width: 20px; height: 20px; }
.pp__trust { display: grid; gap: 8px; margin-top: 16px; font-size: 14.5px; }
.pp__trust li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.pp__trust .ic { width: 18px; height: 18px; color: var(--blue); }
.ptabs { margin-top: clamp(32px, 4.4vw, 60px); }
.ptabs .tabs { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.ptabs .tabpane { max-width: 980px; }
.docs { max-width: 880px; border-top: 1px solid var(--line); }
.docs li { border-bottom: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "ic t m d"; align-items: center; column-gap: 16px; min-height: 60px; padding: 12px 12px 12px 4px; border-radius: 10px; transition: background-color .2s var(--ease); }
.doc__ic { grid-area: ic; width: 22px; height: 22px; color: var(--blue); }
.doc__t { grid-area: t; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.doc__t small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); }
.doc__m { grid-area: m; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc__d { grid-area: d; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); font-size: 14.5px; font-weight: 600; color: var(--blue); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.doc__d .ic { width: 15px; height: 15px; }
@media (hover: hover) { .doc:hover { background: var(--bg-2); } .doc:hover .doc__d { border-color: var(--blue); background: #fff; } }
@media (max-width: 599px) {
  .doc { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic t d" "ic m d"; column-gap: 12px; row-gap: 2px; padding-right: 4px; }
  .doc__ic { align-self: start; margin-top: 2px; }
  .doc__d { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .doc__d span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.docs-none { display: flex; align-items: flex-start; gap: 16px; max-width: 620px; padding: 18px 20px; background: var(--bg-2); border-radius: var(--r); }
.docs-none > .ic { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--blue); }
.docs-none p { margin-bottom: 12px; color: var(--ink-2); }

.pbar { display: none; }
.zoom { position: fixed; inset: 0; z-index: 135; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 56px 16px; background: rgba(var(--shade), .9); visibility: hidden; opacity: 0; transition: opacity .24s var(--ease), visibility 0s .24s; }
.zoom.is-open { visibility: visible; opacity: 1; transition: opacity .24s var(--ease); }
.zoom img { max-width: min(100%, 1100px); max-height: 100%; object-fit: contain; background: #fff; border-radius: var(--r); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; transition: transform .26s var(--ease), opacity .2s var(--ease); }
.zoom__x { position: absolute; right: 14px; top: 10px; }
.zoom__n { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: #fff; color: var(--ink); }
.zoom__n .ic { width: 14px; height: 14px; }
.zoom__p { left: 14px; }
.zoom__f { right: 14px; }

/* о компании */
.abh { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(500px, 42vw, 600px); padding: clamp(22px, 3.4vw, 44px); overflow: hidden; background: #20262c; border-radius: var(--r-lg); color: #fff; }
.abh__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.abh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .8) 0%, rgba(var(--shade), .58) 52%, rgba(var(--shade), .12) 86%), linear-gradient(0deg, rgba(var(--shade), .72), rgba(var(--shade), 0) 46%); }
.abh__t, .abh__f { position: relative; z-index: 2; }
.abh__t { max-width: 780px; }
.abh h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -.03em; }
.abh__t p { margin-top: 14px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.abh__f { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(20px, 2.6vw, 32px); padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); }
.abh__f b { display: block; font: 800 clamp(23px, 2.7vw, 36px)/1.12 var(--font-h); letter-spacing: -.025em; }
.abh__f span { font-size: 14.5px; color: rgba(255, 255, 255, .88); }

.abw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 64px); align-items: center; margin-top: clamp(32px, 4.6vw, 64px); }
.abw h2, .abg .sec__title, .abs .sec__title { font-size: clamp(24px, 2.6vw, 34px); }
.abw__t p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.abw__ph { overflow: hidden; border-radius: var(--r-lg); }
.abw__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.abg { margin-top: clamp(32px, 4.6vw, 64px); }
.abg__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(16px, 2vw, 24px); }
.abp { padding: 20px 24px 24px; background: var(--bg-2); border-radius: var(--r-lg); }
.abp img { width: 96px; height: 96px; margin: 0 0 10px -8px; object-fit: contain; }
.abp h3 { font-size: 20px; margin-bottom: 8px; }
.abp p { font-size: 15.5px; color: var(--ink-2); }

.abs { margin-top: clamp(32px, 4.6vw, 64px); }
.abs__l { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(16px, 2vw, 24px); padding-top: 34px; }
/* impeccable-disable-line repeating-stripes-gradient: шкала настройки, знак сайта, как на первом экране */
.abs__l::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 13px; background-image: repeating-linear-gradient(90deg, rgba(23, 33, 44, .3) 0 1px, transparent 1px 8px); }
.abs__l li { position: relative; }
.abs__l li::before { content: ""; position: absolute; left: 0; top: -32px; width: 3px; height: 21px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(23, 33, 44, .2); }
.abs__l b { display: block; font: 700 16.5px/1.25 var(--font-h); margin-bottom: 4px; }
.abs__l span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }

.lgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lgrid li { position: relative; aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.lgrid img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.ctacard { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(20px, 3vw, 32px); background: var(--bg-2); border-radius: var(--r-lg); }
.ctacard h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 4px; }
.ctacard p { color: var(--ink-2); }

.pcardxs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcardx { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; background: var(--bg-2); border-radius: var(--r-lg); }
.pcardx__l { display: grid; place-items: center; height: 104px; padding: 12px; background: #fff; border-radius: var(--r); }
.pcardx__l img { max-height: 72px; width: auto; object-fit: contain; }
.pcardx h2 { font-size: 19px; margin-bottom: 6px; }
.pcardx p { font-size: 14.5px; color: var(--ink-2); }

.fq { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 32px; align-items: start; }
.fq__side { position: sticky; top: 72px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fqn { display: grid; gap: 2px; padding: 8px; background: var(--bg-2); border-radius: var(--r-lg); }
.fqn__a { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 8px 12px; border-radius: var(--r-sm); font: 500 14.5px/1.25 var(--font-t); transition: background-color .18s var(--ease), color .18s var(--ease); }
.fqn__a .ic { flex: none; width: 18px; height: 18px; color: var(--blue); }
.fqn__a:hover { color: var(--blue); }
.fqn__a.is-on { background: #fff; color: var(--blue); }
.fq__help { display: grid; gap: 8px; padding: 18px; background: var(--blue); border-radius: var(--r-lg); color: #fff; }
.fq__help b { font: 700 19px/1.2 var(--font-h); letter-spacing: -.01em; }
.fq__help p { font-size: 14.5px; line-height: 1.4; }
.fq__help .btn { margin-top: 4px; }
.fq__help > a { justify-self: center; padding-block: 6px; font: 600 15px/1.2 var(--font-h); }
.fq__main { min-width: 0; }
.fqs { margin-bottom: 8px; }
.fqs .search__go { cursor: default; }
.fqs__n { min-height: 22px; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.fqg + .fqg { margin-top: clamp(26px, 3.4vw, 40px); }
.fqg__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; margin-bottom: 12px; }
.fqg h2 { font-size: clamp(22px, 2.2vw, 28px); }
.fqg__l { display: grid; gap: 8px; }
.fqi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s var(--ease); }
.fqi[hidden], .fqg[hidden] { display: none; }
.fqi:hover { border-color: #b7c5d4; }
.fqi .faq__q { padding: 14px 14px 14px 18px; border-top: 0; font: 600 16px/1.35 var(--font-h); letter-spacing: -.005em; }
.fqi mark { background: var(--blue-l); color: inherit; border-radius: 3px; }
.fqi__i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-l); color: var(--blue); transition: background-color .22s var(--ease), color .22s var(--ease); }
.faq__q[aria-expanded="true"] .fqi__i { background: var(--blue); color: #fff; }
.fqi .faq__q .ic { width: 12px; height: 12px; }
.faq__a .rich { padding: 0 18px 18px; font-size: 15.5px; color: var(--ink-2); }
.faq__a .rich p { padding: 0; }
.fq__cta { display: none; }

/* услуги */
.abh--sv { min-height: clamp(420px, 36vw, 500px); }
.abh__b { position: relative; z-index: 2; margin-top: 22px; }
.svs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: clamp(32px, 4.6vw, 64px); }
.svs > .sec__title { grid-column: 1 / -1; margin-bottom: clamp(16px, 2vw, 24px); font-size: clamp(24px, 2.6vw, 34px); }
/* impeccable-disable-line repeating-stripes-gradient: шкала настройки, знак сайта и рабочий элемент выбора этапа */
.svs__scale { position: relative; grid-column: 1 / -1; height: 21px; background: repeating-linear-gradient(90deg, rgba(23, 33, 44, .3) 0 1px, transparent 1px 8px) 0 4px / 100% 13px no-repeat; }
.svs__scale::after { content: ""; position: absolute; left: calc(var(--k) / 7 * 100%); top: 0; width: 3px; height: 21px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(23, 33, 44, .2); transition: left .5s var(--ease-out); }
.svs__st { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 6px; }
.svs__st button { min-height: 44px; padding: 8px 8px 8px 0; text-align: left; font: 600 15px/1.2 var(--font-h); color: var(--ink-3); transition: color .22s var(--ease); }
.svs__st button:hover { color: var(--ink); }
.svs__st button.is-on { color: var(--blue); }
.svs__panes { grid-column: 1 / -1; display: grid; margin-top: 12px; }
.svs__p { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(18px, 2.4vw, 28px); background: var(--bg-2); border-radius: var(--r-lg); opacity: 0; visibility: hidden; transition: opacity .32s var(--ease), visibility 0s .32s; }
.svs__p.is-on { opacity: 1; visibility: visible; transition: opacity .32s var(--ease); }
.svs__t span { display: block; margin-bottom: 8px; font-size: 14.5px; color: var(--ink-3); }
.svs__t h3 { font-size: clamp(23px, 2.4vw, 32px); margin-bottom: 10px; }
.svs__t p { font-size: 17px; color: var(--ink-2); }
.svs__p img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }

.svg { margin-top: clamp(32px, 4.6vw, 64px); }
.svg .sec__title, .svm h2, .svf h2, .svq .sec__title { font-size: clamp(24px, 2.6vw, 34px); }
.svr__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--line); }
.svr { width: 100%; text-align: left; display: grid; grid-template-columns: 72px minmax(0, 1fr) 40px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svr img { width: 72px; height: 72px; object-fit: contain; transition: transform .5s var(--ease); }
.svr__t b { display: block; font: 700 18px/1.25 var(--font-h); letter-spacing: -.01em; transition: color .2s var(--ease); }
.svr__t em { display: block; margin-top: 3px; font-size: 14.5px; font-style: normal; line-height: 1.4; color: var(--ink-2); }
.svr__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-l); color: var(--blue); transition: background-color .22s var(--ease), color .22s var(--ease); }
.svr__go .ic { width: 14px; height: 14px; }
.svr:hover .svr__t b { color: var(--blue); }
.svr:hover .svr__go { background: var(--blue); color: #fff; }
.svr:hover img { transform: scale(1.06); }

.svm { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: clamp(32px, 4.6vw, 64px); overflow: hidden; background: var(--ink); border-radius: var(--r-lg); color: #fff; }
.svm__t { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; align-content: center; min-width: 0; padding: clamp(22px, 3.4vw, 44px); }
.svm__t p { font-size: 16.5px; color: rgba(255, 255, 255, .86); }
.svm > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.svq { margin-top: clamp(36px, 4.6vw, 64px); }
.svq__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--line); }
.svq__i { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.svq__i h3 { font-size: 18px; margin-bottom: 6px; }
.svq__i p { color: var(--ink-2); }

.svf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: clamp(32px, 4.6vw, 64px); }
.svf__t p { margin: 10px 0 14px; font-size: 17px; color: var(--ink-2); }
.svf__tel { display: block; padding-block: 5px; font: 700 26px/1.3 var(--font-h); letter-spacing: -.01em; transition: color .2s var(--ease); }
.svf__tel:hover { color: var(--blue); }
.svf__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font: 600 15.5px/1.2 var(--font-h); color: #128c4b; }
.svf__wa .ic { width: 20px; height: 20px; }

/* контакты */
.cts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.cts__info { display: grid; gap: 16px; }
.cts__info > div > span { display: block; margin-bottom: 2px; font-size: 13.5px; color: var(--ink-3); }
.cts__info b { font-weight: 500; font-size: 17px; }
.cts__info > div > a:not([class]) { display: block; padding-block: 6px; font-size: 17px; }
.cts__info a.cts__tel { display: block; padding-block: 5px; font: 700 22px/1.35 var(--font-h); letter-spacing: -.01em; transition: color .2s var(--ease); }
.cts__tel:hover { color: var(--blue); }
.cts__btn .btn { --bg-b: #128c4b; }
.cts__btn .btn:hover { --bg-b: #0e7a41; }
.cts__maps { margin-top: -4px; }
.cts__maps .foot__map { background: var(--bg-2); color: var(--ink); }
.cts__maps .foot__map:hover { background: var(--bg-3); }
.cts__form { display: grid; gap: 10px; padding: clamp(18px, 2.6vw, 28px); background: var(--bg-2); border-radius: var(--r-lg); }
.cts__form h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 4px; }
.cts__form.is-done > :not(.done) { display: none; }
.cts__form.is-done .done { display: block; }
.cmap { margin-top: clamp(24px, 3.4vw, 40px); overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); }
.cmap iframe { display: block; border: 0; width: 100%; height: 460px; }

/* статьи */
.news--page { row-gap: 28px; align-content: start; transition: opacity .2s var(--ease); }
.rubs { margin-bottom: clamp(18px, 2.4vw, 26px); }
.news__m { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; font-size: 13px; }
.news__item { min-width: 0; }
.news__t { overflow-wrap: break-word; }
.news__r { color: var(--blue); }
.post__m { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; font-size: 14px; color: var(--ink-3); }
.post__m a { padding-block: 6px; margin-block: -6px; color: var(--blue); }
.news--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post__h { max-width: 980px; }
.post__h h1 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.14; letter-spacing: -.025em; }
.post__img { width: 100%; max-height: 460px; object-fit: cover; margin-top: 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(22px, 3vw, 36px); }
.post--toc .post__grid { grid-template-columns: var(--side) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.post:not(.post--toc) .post__c { max-width: 75%; }
.post--toc .post__c { max-width: 860px; }
.toc { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding: 16px; background: var(--bg-2); border-radius: var(--r-lg); scrollbar-width: thin; }
.toc b { display: block; margin-bottom: 8px; font: 700 16px/1.25 var(--font-h); }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.32; color: var(--ink-2); transition: color .2s var(--ease); }
.toc a:hover { color: var(--blue); }

.legal { max-width: 820px; margin-inline: auto; padding-top: 6px; }
.legal h1 { font-size: clamp(27px, 3.3vw, 40px); margin-bottom: 20px; }
.legal h2 { font-size: 20px; margin-top: 26px; }
.legal p { margin-top: 8px; }

/* поиск */
.srform { max-width: 720px; margin-bottom: 16px; }
.srcats { margin-bottom: 16px; }
.srcats[hidden] { display: none; }
.ctool--plain { margin-bottom: 10px; }
.sr-q #srGrid:empty { min-height: 100vh; }
.search__all { display: block; padding: 10px 8px 6px; font: 600 14px/1.2 var(--font-h); color: var(--blue); }

/* сравнение отдельной страницей */
#cmpPage .cmp__empty { padding-top: 0; }
.cmp__scroll { overflow-x: auto; }

/* 404: потерянный сигнал */
.e404 { padding-top: clamp(16px, 2.6vw, 32px); }
.e404__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); min-height: 460px; padding: clamp(22px, 3.6vw, 52px); overflow: hidden; background: var(--bg-2); border-radius: var(--r-lg); }
.e404__t { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.e404__code { font: 700 15px/1.2 var(--font-h); color: var(--blue); }
.e404__t h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
.e404__t > p:not(.e404__code) { font-size: 17px; color: var(--ink-2); max-width: 32em; }
.e404__s { width: 100%; max-width: 480px; }
.e404__v { position: relative; height: 380px; }
.e404__v img { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); }
.e404__rings { position: absolute; left: 50%; top: 9%; width: 0; height: 0; margin-left: 22px; }
.e404__rings i { position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: lost 3.4s var(--ease) infinite; }
.e404__rings i:nth-child(2) { animation-delay: .5s; }
.e404__rings i:nth-child(3) { animation-delay: 1s; }
@keyframes lost { 0% { transform: scale(.3); opacity: 0; } 18% { opacity: .7; } 60%, 100% { transform: scale(var(--s, 3.4)); opacity: 0; } }
/* impeccable-disable-line repeating-stripes-gradient: деления шкалы настройки, знак сайта, как на первом экране */
.e404__tuner { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background-image: repeating-linear-gradient(90deg, rgba(23, 33, 44, .34) 0 1px, transparent 1px 8px); background-size: 100% 13px; background-repeat: no-repeat; background-position: 0 4px; }
.e404__tuner span { position: absolute; left: 0; top: 0; width: 3px; height: 21px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(23, 33, 44, .2); animation: seek 7s ease-in-out infinite alternate; }
@keyframes seek { 0% { left: 6%; } 30% { left: 62%; } 55% { left: 34%; } 100% { left: 92%; } }
.e404__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.e404__l { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; background: var(--bg-2); border-radius: var(--r); font: 600 15px/1.25 var(--font-h); transition: background-color .25s var(--ease), color .25s var(--ease); }
.e404__l .ic { width: 21px; height: 21px; color: var(--blue); }
.e404__l:hover { background: var(--blue-l); color: var(--blue); }

/* мега-меню: разделы без групп */
.mega__head h3 a:hover { color: var(--blue); }
.mega__flat li a { display: block; padding: 5px 0; font-size: 15px; line-height: 1.32; color: var(--ink-2); transition: color .18s var(--ease); }
.mega__flat li a:hover { color: var(--blue); }
.mega__flat li { break-inside: avoid; }

/* слева WhatsApp закрывал бы фильтры, содержание статьи и факты на первом экране */
@media (min-width: 1024px) {
  body:has(.inner) .float-wa { left: auto; right: 20px; bottom: 88px; }
}
@media (max-width: 1180px) {
  .chk { gap: 8px; font-size: 14px; }
  .chk__n { margin-left: 4px; }
}
@media (max-width: 1320px) {
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard:last-child:nth-child(3n+1) { grid-column: auto; }
  .scard:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .lgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .pcardxs { grid-template-columns: minmax(0, 1fr); }
  .news--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-list .clayout .cgrid .pcard { grid-template-columns: 120px minmax(0, 1fr); }
  .v-list .clayout .pcard__row { grid-column: 2; }
  .v-list .clayout .pcard__img { grid-row: span 2; }
}
/* планшет и телефон: разделы и фильтры уходят в выдвижную панель */
@media (max-width: 1023px) {
  html { scroll-padding-top: 130px; }
  .clayout { grid-template-columns: minmax(0, 1fr); }
  .cfbtn { display: inline-flex; }
  .ctool__n { order: 3; flex: 0 0 100%; margin: 0; }
  .ctool { flex-wrap: wrap; }
  .csort { margin-left: auto; }
  .cveil { display: block; position: fixed; inset: 0; z-index: 114; background: rgba(var(--shade), .46); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  .is-sheet .cveil { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
  .cside { position: fixed; left: 0; top: 0; bottom: 0; z-index: 115; width: min(100%, 420px); max-height: none; background: #fff; border-radius: 0; visibility: hidden; transform: translateX(-102%); transition: transform .34s var(--ease), visibility 0s .34s; }
  .is-sheet .cside { visibility: visible; transform: none; transition: transform .34s var(--ease); }
  .cside__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); }
  .cside__head b { font: 700 19px/1.2 var(--font-h); }
  .cside__body { padding: 6px 8px 16px; overscroll-behavior: contain; }
  .cside__tree { order: 2; }
  .cside__filters { order: 1; }
  .cside__fh { display: none; }
  .cside__t { margin: 14px 8px 6px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 17px; }
  .cside__all { min-height: 40px; margin-inline: 8px; }
  .ff { padding-inline: 8px; }
  .ff + .ff { border-color: var(--line-2); }
  .ff__h { min-height: 48px; font-size: 16px; }
  .chk { min-height: 44px; font-size: 15.5px; }
  .ff__more { min-height: 44px; font-size: 14.5px; }
  .ct__r a { padding-block: 10px; font-size: 15.5px; }
  .ct--d0 > .ct__r a { font-size: 16px; }
  .ct__t { width: 44px; height: 44px; }
  .abh::after { background: linear-gradient(0deg, rgba(var(--shade), .88), rgba(var(--shade), .6)); }
  /* этапы услуг: на планшете и телефоне всё видно сразу, вкладки не нужны */
  .svs { grid-template-columns: minmax(0, 1fr); }
  .svs__scale, .svs__st { display: none; }
  .svs__panes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 0; }
  .svs__p, .svs__p.is-on { grid-area: auto; grid-template-columns: minmax(0, 1fr); align-items: start; opacity: 1; visibility: visible; }
  .svs__p img { display: none; }
  .svs__t h3 { font-size: 21px; }
  .svs__t p { font-size: 15.5px; }
  .svs__p:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svr__l { grid-template-columns: minmax(0, 1fr); }
  .abs__l { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .abs__l::before { display: none; }
  .abs__l { padding-top: 0; }
  .abs__l li { padding-top: 30px; }
  .abs__l li::before { top: 0; }
  .abh__f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cside__foot { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: #fff; }
  .cside__foot .btn { justify-content: center; min-width: 0; padding-inline: 14px; font-size: 14.5px; }
  .subs { display: flex; gap: 8px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
  .subs::-webkit-scrollbar { display: none; }
  .subc { flex: 0 0 auto; max-width: 250px; min-height: 64px; padding: 6px 14px 6px 8px; font-size: 16px; }
  .subc img { width: 44px; height: 44px; }
  .fq { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fq__side { position: sticky; top: 116px; z-index: 5; margin-inline: calc(var(--gut) * -1); padding: 6px var(--gut); background: #fff; }
  .fq__help { display: none; }
  .fq__cta { display: flex; }
  .fqn { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 13px; }
  .fqn::-webkit-scrollbar { display: none; }
  .fqn__a { flex: none; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .fqn__a .ic { width: 15px; height: 15px; }
  .fqg, .fqi { scroll-margin-top: 56px; }
  .post--toc .post__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; margin-bottom: 20px; }
  .post:not(.post--toc) .post__c, .post--toc .post__c { max-width: none; }
  .ctext__in { max-width: none; }
  .chead p { max-width: none; }
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard li a { padding-block: 5px; }
  .e404__box { min-height: 0; }
  .e404__g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cgrid--rel > .pcard:nth-child(n+4) { display: none; }
}
@media (max-width: 767px) {
  .pp { grid-template-columns: minmax(0, 1fr); }
  .gal__view { margin-inline: calc(var(--gut) * -1); border-inline: 0; border-radius: 0; }
  .gal__nav { display: none; }
  .gal__t { width: 60px; height: 60px; }
  .abw, .abg__l, .svm, .svf, .svq__l, .svs__panes { grid-template-columns: minmax(0, 1fr); }
  .svm > img { min-height: 0; aspect-ratio: 16 / 9; }
  .abh--sv { min-height: 0; padding-top: 72px; }
  .abh--sv .btns { flex-wrap: wrap; }
  .abh--sv .btn { flex: 1 1 auto; }
  .abw__ph { order: -1; }
  .abs__l { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .abh { min-height: 560px; }
  .abh__t p { font-size: 15.5px; }
  .lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcardxs { grid-template-columns: minmax(0, 1fr); }
  .cts { grid-template-columns: minmax(0, 1fr); }
  .ctacard { flex-direction: column; align-items: flex-start; }
  .cmap iframe { height: 360px; }
  .news--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news--3 > :nth-child(3) { display: none; }
  .e404__box { grid-template-columns: minmax(0, 1fr); }
  .e404__v { height: 260px; margin-top: 34px; --s: 2; }
  .e404__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e404__l { padding-inline: 10px; font-size: 14px; gap: 8px; }
  .e404__l .ic { width: 18px; height: 18px; }
  .e404__l span { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .e404 .btns { width: 100%; }
  .e404 .btns .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  body.has-pbar .float-wa, body.has-pbar .float-ig { display: none; }
  body.has-pbar .float-up { bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.has-pbar .foot__base { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .pbar__p { flex: 1; min-width: 0; font: 700 14px/1.2 var(--font-h); }
  .pbar .btn { flex: none; min-height: 46px; padding: 0 14px; font-size: 14px; gap: 8px; }
  .pbar__wa { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-btn); background: var(--wa); color: #fff; }
  .pbar__wa .ic { width: 23px; height: 23px; }
  .cgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgrid--rel > .pcard:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .scards { grid-template-columns: minmax(0, 1fr); }
  .scard:last-child:nth-child(2n+1) { grid-column: auto; }
  .scard { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .scard__img img { width: 76px; height: 76px; }
  .cview { display: none; }
  .crumbs ol { width: max-content; }
  .crumbs li:last-child:not(:first-child) { display: none; }
  .v-list .clayout .cgrid .pcard { grid-template-columns: 92px minmax(0, 1fr); gap: 6px 12px; padding: 10px; }
  .v-list .clayout .pcard__short { display: none; }
  .tw tr:has(> :nth-child(3)) > :is(td, th) { min-width: 9.5rem; }  /* в две колонки таблица помещается в экран, шире - листается */
  .pcardx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pcardx__l { justify-items: start; height: 84px; }
  .news--page { grid-template-columns: minmax(0, 1fr); }
  .inav a { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 430px) {
  .e404__l { font-size: 13px; }
}
@media (max-width: 360px) {
  .svr { grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 10px; }
  .svr img { width: 52px; height: 52px; }
  .svr__go { width: 34px; height: 34px; }
  .svr__t b { font-size: 15.5px; overflow-wrap: break-word; }
  .svm__t .btn { max-width: 100%; padding-inline: 12px; font-size: 14px; gap: 8px; }
  .abs__l { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .e404__l { padding-inline: 8px; gap: 6px; }
  .e404__l span { overflow-wrap: break-word; }
  .e404 .btns .btn { padding-inline: 8px; gap: 6px; font-size: 14px; }
  .pbar__p--q { display: none; }
  .pbar .btn { flex: 1; justify-content: center; }
}
/* телефон горизонтально: шапка не закреплена, значит и темы вопросов липнуть не должны */
@media (max-width: 1023px) and (max-height: 500px) {
  .fq__side { position: static; }
  .fqg, .fqi { scroll-margin-top: 0; }
}
/* на касании зоны нажатия крупнее и на широких планшетах */
@media (hover: none) {
  .scard li a { padding-block: 6px; }
  .cside__reset { padding: 8px 0 8px 8px; margin-block: -8px; }
  .ct__t { width: 44px; height: 44px; }
  .cview button { width: 42px; height: 42px; }
  .cgrid .pcard:hover { border-color: var(--line); }
  .svr:hover .svr__t b { color: inherit; }
  .svr:hover .svr__go { background: var(--blue-l); color: var(--blue); }
  .svr:hover img { transform: none; }
  .fqi .faq__q:hover { color: inherit; }
  .fqi:hover { border-color: var(--line); }
  .ct__r:hover { background: none; }
  .ct.is-cur > .ct__r:hover { background: var(--blue-l); }
  .scard:hover .scard__img img { transform: none; }
  .subc:hover, .e404__l:hover { background: var(--bg-2); color: inherit; }
}
@media (prefers-reduced-motion: reduce) {
  .e404__rings i { animation: none; opacity: .3; }
  .e404__tuner span { animation: none; left: 62%; }
}
