/* Общая часть сайтов АН, пересобранных с Creatium (05.11.2026): шрифт, сброс, окна, ролики, слайдер,
   просмотр картинок, кнопка «наверх». Оформление самого сайта — в его site.css (ниже в этом же файле). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-400-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-400-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-500-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-500-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-700-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-700-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }

/* Inter (Дом на набережной): переменный шрифт, один файл на все начертания 100–900 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
html.is-locked { overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Окна (вместо модальных окон Creatium) ---- */
.mdl { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
  padding: 50px 15px; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s; -webkit-overflow-scrolling: touch; }
.mdl.is-open { opacity: 1; }
.mdl__panel { position: relative; width: 100%; margin: auto; transform: translateY(12px); transition: transform .3s; }
.mdl.is-open .mdl__panel { transform: none; }
.mdl__x { position: absolute; top: -10px; right: -10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.mdl__x::before, .mdl__x::after { content: ""; position: absolute; left: 7px; top: 14px; width: 16px; height: 2px; background: #000; transform: rotate(45deg); }
.mdl__x::after { transform: rotate(-45deg); }

/* окно-ролик */
.mdl--video .mdl__panel { max-width: 1000px; align-self: center; }
.mdl--video .mdl__frame { position: relative; padding-top: 56.25%; background: #000; }
.mdl--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* сообщение после заявки / ошибки */
.mdl--msg .mdl__panel { max-width: 410px; align-self: center; background: #fafafa; border-radius: 10px; padding: 34px 25px 30px; text-align: center; }
.mdl--msg .msg__title { font-weight: 700; font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.mdl--msg .msg__text { font-size: 16px; line-height: 1.5; white-space: pre-line; }
.mdl--msg .msg__ok { margin-top: 22px; min-width: 160px; padding: 13px 24px; border-radius: 25px; color: #fff; background: var(--accent, #10986d); }

/* ---- Ролик YouTube: обложка у нас, плеер по нажатию ---- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px;
  background: rgba(33, 33, 33, .8); transition: background .2s; }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 15px; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { background: #f00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Слайдер на прокрутке (галерея, менеджеры) ---- */
.sl { position: relative; }
.sl__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.sl__track::-webkit-scrollbar { display: none; }
.sl__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }

/* ---- Просмотр картинок ---- */
.lb { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88);
  opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.lb.is-open { opacity: 1; }
.lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); object-fit: contain; background: #fff; }
.lb__img.is-photo { background: transparent; }
.lb__btn { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.lb__btn::before { content: ""; position: absolute; left: 19px; top: 17px; width: 12px; height: 12px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb__next::before { left: 15px; transform: rotate(-135deg); }
.lb__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; }
.lb__x::before, .lb__x::after { content: ""; position: absolute; left: 8px; top: 19px; width: 24px; height: 2px; background: #fff; transform: rotate(45deg); }
.lb__x::after { transform: rotate(-45deg); }
.lb__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 767px) {
  .lb__img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lb__btn { top: auto; bottom: 10px; margin: 0; }
}

/* ---- Кнопка «наверх» (как на Creatium: слева внизу, полупрозрачная) ---- */
.goup { position: fixed; left: 15px; bottom: 15px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; opacity: 0; visibility: hidden;
  transition: opacity .6s, visibility .6s; }
.goup.is-on { opacity: .5; visibility: visible; }
.goup:hover { opacity: .8; }
.goup svg { width: 44px; height: 44px; display: block; }

/* ---- Карта Яндекса через API (без рекламы виджета) ---- */
.ymap { position: relative; width: 100%; height: 368px; background: rgba(0, 0, 0, .04); }
.ymap__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: inherit; font-weight: 600; }

/* ---- «Живость» (06.11.2026, как на flatroom.agency; включается Site(live=…), см. kit.js) ---- */
.js-anim .ap { opacity: 0; transform: translateY(28px); }
.js-anim .ap.ap-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wd > span { display: inline-block; }
.js-anim .wd-pending .wd > span { transform: translateY(110%); }
.js-anim .wd-in .wd > span { transform: none; transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--w, 0) * 60ms); }
.progress > span { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
@keyframes kitKen { from { transform: scale(1.07); } to { transform: scale(1); } }   /* медленный наезд на фото первого экрана */
@media (prefers-reduced-motion: reduce) { .js-anim .ap, .js-anim .wd-pending .wd > span { opacity: 1 !important; transform: none !important; } }

/* ===================== База знаний yuboost (help.yuboost.ru), 08.11.2026 =====================
   Те же фирменные цвета и шрифт, что у нового yuboost.ru (v3): бирюзовый #00BCDE → салатовый #8CC63F, тёмный #182233, Inter.
   Белый фон для чтения, слева дерево разделов (на телефоне — за кнопкой), справа «На этой странице» (широкий экран). */
:root {
  --ink: #182233;
  --text: #3d4b60;
  --muted: #6b778a;
  --line: #e6ebf1;
  --soft: #f5f8fb;
  --teal: #00bcde;
  --teal-d: #0086a3;
  --grad: linear-gradient(90deg, #00bcde 0%, #36c8a5 55%, #8cc63f 100%);
  --hdr: 58px;
}
html { background: #fff; overflow-x: hidden; overflow-x: clip; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text);
  background: #fff; -webkit-font-smoothing: antialiased; }
[id] { scroll-margin-top: calc(var(--hdr) + 18px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--teal-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
b, strong { color: var(--ink); font-weight: 650; }
.ico { width: 18px; height: 18px; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- шапка (лёгкая, как у yuboost.ru) ---------- */
.hdr { position: sticky; top: 0; z-index: 800; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr); max-width: 1440px; margin: 0 auto; padding: 0 16px; }
.hdr__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo { width: 100px; height: auto; }
.hdr__kb { padding-left: 12px; border-left: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.hdr__act { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__link { display: none; padding: 0 12px; height: 36px; align-items: center; border-radius: 10px; color: #4a5568; font-size: 15px; text-decoration: none; }
.hdr__reg { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; background: #00b4d8; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.hdr__burger { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border-radius: 10px; color: var(--ink); }
.hdr__burger .ico { width: 22px; height: 22px; stroke-width: 1.7; }
@media (hover: hover) and (pointer: fine) { .hdr__link:hover, .hdr__burger:hover { background: #f1f5f9; color: var(--ink); } .hdr__reg:hover { background: #009fc2; } }
@media (min-width: 640px) { .hdr__link { display: inline-flex; } .logo { width: 108px; } }
@media (min-width: 1024px) { .hdr__in { padding: 0 28px; } .hdr__burger { display: none; } }

/* ---------- раскладка статьи ---------- */
.kb { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
.kb__side { display: none; }
.kb__main { min-width: 0; padding: 20px 0 56px; }
@media (min-width: 1024px) {
  .kb { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; padding: 0 28px; }
  .kb__side { display: block; position: sticky; top: var(--hdr); align-self: start; max-height: calc(100vh - var(--hdr)); overflow-y: auto;
    padding: 24px 6px 32px 0; scrollbar-width: thin; }
  .kb__main { padding-top: 32px; max-width: 980px; }
}
@media (min-width: 1280px) {
  .kb__main { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 48px; align-content: start; }
  .kb__main > * { grid-column: 1; }
  .kb__main > .toc--d { grid-column: 2; grid-row: 1 / span 30; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
  .toc--m { display: none; }
}
@media (max-width: 1279px) { .toc--d { display: none; } }

/* дерево разделов */
.tree ul { margin: 0; padding: 0; list-style: none; }
.tree > ul { display: grid; gap: 2px; margin-top: 18px; }
.tree a { display: block; padding: 7px 10px; border-radius: 9px; color: #3d4b60; font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.tree a:hover { background: var(--soft); color: var(--ink); }
.tree a[aria-current] { background: #e4f7fb; color: #00708a; font-weight: 600; }
.tree__g > summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; list-style: none; cursor: pointer; border-radius: 9px; }
.tree__g > summary::-webkit-details-marker { display: none; }
.tree__g > summary a { flex: 1; }
.tree__i { width: 16px; height: 16px; margin-right: 8px; color: var(--muted); transition: transform .2s; }
.tree__g[open] > summary .tree__i { transform: rotate(90deg); }
.tree__g ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); }

/* поиск */
.search { position: relative; }
.search__f { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid #d9e1ea; border-radius: 12px; background: #fff; color: var(--muted);
  transition: border-color .15s, box-shadow .15s; }
.search__f:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 188, 222, .14); }
.search__f input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15.5px; }
.search__f input::-webkit-search-cancel-button { cursor: pointer; }
.search__res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(16, 32, 56, .35); }
.search__hit { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.search__hit:hover, .search__hit:focus { background: var(--soft); outline: none; }
.search__hit b { display: block; color: var(--ink); font-size: 15px; }
.search__hit small { display: block; color: var(--muted); font-size: 12.5px; }
.search__hit span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.search__hit mark { background: #dff6fb; color: var(--ink); border-radius: 3px; padding: 0 1px; }
.search__none { padding: 12px; color: var(--muted); font-size: 14px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* меню разделов на телефоне */
.mdl--nav { padding: 0; justify-content: flex-end; align-items: stretch; background: rgba(12, 20, 32, .45); }
.mdl--nav .mdl__panel { margin: 0; width: min(400px, 100%); min-height: 100%; padding: 12px 18px 28px; background: #fff; transform: translateX(30px); display: flex; flex-direction: column; }
.mdl--nav.is-open .mdl__panel { transform: none; }
.nav__top { display: flex; align-items: center; justify-content: space-between; height: 46px; margin-bottom: 10px; }
.nav__h { color: var(--ink); font-weight: 700; font-size: 18px; }
.nav__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; color: var(--ink); }
.nav .tree a { font-size: 16px; padding: 10px; }
.nav__foot { display: flex; gap: 18px; margin-top: auto; padding-top: 24px; font-size: 14.5px; }
.nav__foot a { color: var(--muted); }

/* ---------- статья ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 13.5px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-d); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs span { color: var(--ink); }
.kb__h1 { margin-top: 12px; color: var(--ink); font-weight: 800; font-size: clamp(27px, 4.4vw, 40px); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.kb__upd { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.kb__upd:empty { display: none; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc--m { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.toc--m summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: var(--ink); font-weight: 600; list-style: none; cursor: pointer; }
.toc--m summary::-webkit-details-marker { display: none; }
.toc__i { transition: transform .2s; }
.toc--m[open] .toc__i { transform: rotate(180deg); }
.toc--m ol { padding: 0 16px 14px; display: grid; gap: 6px; }
.toc a { color: var(--text); font-size: 14.5px; text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--teal-d); }
.toc__l3 { padding-left: 12px; }
.toc--d { padding-left: 16px; border-left: 1px solid var(--line); }
.toc__h { margin-bottom: 10px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.toc--d ol { display: grid; gap: 8px; }
.toc--d a { display: block; font-size: 13.5px; color: var(--muted); }
.toc--d a.is-on { color: var(--teal-d); font-weight: 600; }

.prose { margin-top: 22px; color: #334155; font-size: 16.5px; line-height: 1.75; overflow-wrap: break-word; }
.prose > * + * { margin-top: 14px; }
.prose p { margin: 0; }
.prose h2 { margin-top: 40px; color: var(--ink); font-size: clamp(22px, 3vw, 27px); font-weight: 750; line-height: 1.25; letter-spacing: -.015em; }
.prose h3 { margin-top: 30px; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: grid; gap: 6px; }
.prose li::marker { color: var(--teal-d); font-weight: 600; }
.prose blockquote { margin: 0; padding: 12px 18px; border-left: 3px solid var(--teal); background: var(--soft); border-radius: 0 12px 12px 0; }
.prose a[target="_blank"] { overflow-wrap: anywhere; }
.prose u { text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .zoom { position: relative; display: block; margin: 6px 0; cursor: zoom-in; }
.prose .zoom img { width: auto; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(16, 32, 56, .35); }
/* картинка «справа в половину ширины» (как в старой базе) — на широком экране обтекается текстом */
@media (min-width: 768px) { .prose .zoom.img--right { float: right; width: 50%; margin: 4px 0 12px 20px; } .prose h2, .prose h3 { clear: both; } }
.zoom__i { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .92);
  color: var(--ink); box-shadow: 0 4px 12px rgba(16, 32, 56, .18); opacity: 0; transition: opacity .2s; }
.zoom:hover .zoom__i { opacity: 1; }
@media (hover: none) { .zoom__i { opacity: .85; width: 30px; height: 30px; } }

/* врезки «Совет / Важно / Внимание» */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; }
.note__i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; }
.note__b > * + * { margin-top: 8px; }
.note__b { min-width: 0; font-size: 15.5px; line-height: 1.65; }
.notice-tip { background: #eaf9f1; } .notice-tip .note__i { background: #c9f0dc; color: #1d7a4a; }
.notice-info { background: #e8f6fd; } .notice-info .note__i { background: #c8eaf8; color: #0b6b8a; }
.notice-warning { background: #fff5e0; } .notice-warning .note__i { background: #ffe6b0; color: #8a5a00; }

/* видео: обложка с кнопкой, по нажатию — плеер ВКонтакте */
.vcard { margin: 18px 0; }
.vcard__btn, .vcard__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0f1a2b; }
.vcard__btn { cursor: pointer; text-align: left; }
.vcard__bg { position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 15%, rgba(0, 188, 222, .55), transparent 70%),
  radial-gradient(55% 60% at 10% 100%, rgba(140, 198, 63, .45), transparent 70%), #0f1a2b; transition: transform .4s ease; }
.vcard__btn:hover .vcard__bg { transform: scale(1.03); }
.vcard__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: #0f1a2b; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .2s; }
.vcard__play .ico { width: 30px; height: 30px; margin-left: 4px; }
.vcard__btn:hover .vcard__play { transform: scale(1.06); }
.vcard__t { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font-weight: 650; font-size: clamp(14px, 2.2vw, 17px); line-height: 1.35; }
.vcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__cap { margin-top: 8px; font-size: 14px; }
.vcard__cap a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.vcard__cap a:hover { color: var(--teal-d); }
.vcard__cap .ico { width: 14px; height: 14px; }

/* «В этом разделе» и вопросы-ответы */
.sub { margin-top: 36px; color: var(--ink); font-size: 21px; font-weight: 750; }
.cards { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.kcard { position: relative; display: block; padding: 16px 44px 16px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.kcard b { display: block; color: var(--ink); font-size: 16px; }
.kcard span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.kcard__i { position: absolute; right: 16px; top: 50%; margin-top: -9px; color: var(--muted); }
.kcard:hover { border-color: #bfe9f3; box-shadow: 0 10px 24px -18px rgba(0, 120, 150, .5); }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; } }
.faq { display: grid; gap: 10px; margin-top: 22px; }
.qa { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.qa[open] { box-shadow: 0 16px 36px -24px rgba(16, 32, 56, .35); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; color: var(--ink); font-weight: 650; font-size: 16.5px; line-height: 1.4;
  list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__i { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #eef2f6; transition: transform .25s; }
.qa[open] .qa__i { transform: rotate(180deg); background: #e2f6fa; color: var(--teal-d); }
.qa__a { margin: 0; padding: 0 18px 18px; font-size: 15.5px; }
.qa__more a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; text-decoration: none; }

/* соседние статьи */
.pn { display: grid; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pn__a { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.pn__a span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13.5px; }
.pn__a b { display: block; margin-top: 4px; color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.pn__a--n { text-align: right; }
.pn__a--n span { justify-content: flex-end; }
.pn__a:hover { border-color: #bfe9f3; }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } }

/* ---------- главная базы знаний ---------- */
.home { position: relative; z-index: 2; padding: 48px 16px 36px; background: linear-gradient(180deg, #f3fbfd 0%, #fff 100%); }   /* без обрезки: результаты поиска выпадают ниже блока */
.home__glow { position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none;
  background: radial-gradient(38% 50% at 30% 30%, rgba(0, 188, 222, .18), transparent 70%), radial-gradient(34% 45% at 74% 30%, rgba(140, 198, 63, .16), transparent 70%); }
.home__in { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.home__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: 14px; font-weight: 600; }
.home__h1 { margin-top: 18px; color: var(--ink); font-weight: 800; font-size: clamp(32px, 6.4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.search--home { margin-top: 26px; text-align: left; }
.search--home .search__f { height: 56px; border-radius: 16px; box-shadow: 0 16px 40px -24px rgba(16, 32, 56, .35); font-size: 17px; }
.search--home .search__f input { font-size: 17px; }
.home__hint { margin-top: 14px; color: var(--muted); font-size: 15px; }
.secs { max-width: 1200px; margin: 0 auto; padding: 8px 16px 72px; }
.secs__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sec { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.sec__t { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17.5px; line-height: 1.3; text-decoration: none; }
.sec__t:hover { color: var(--teal-d); }
.sec__i { color: var(--muted); }
.sec__p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.sec__kids { display: grid; gap: 6px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; }
.sec__kids a { color: var(--text); font-size: 14.5px; text-decoration: none; line-height: 1.4; }
.sec__kids a:hover { color: var(--teal-d); }
.sec--group { background: linear-gradient(160deg, #f1fbfd 0%, #fff 60%); }
@media (min-width: 640px) { .secs__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .home { padding: 72px 28px 48px; } .secs { padding: 8px 28px 96px; } .secs__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } .sec--group { grid-row: span 2; } }

/* ---------- подвал, «наверх» ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--soft); }
.ftr__in { display: flex; flex-direction: column; gap: 10px; max-width: 1440px; margin: 0 auto; padding: 22px 16px 28px; font-size: 14.5px; color: var(--muted); }
.ftr__sup { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.ftr__sup .ico { color: #2aabee; width: 20px; height: 20px; }
.ftr__c a { color: var(--muted); }
@media (min-width: 768px) { .ftr__in { flex-direction: row; justify-content: space-between; align-items: center; padding: 22px 28px; } }
.goup { left: auto; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(16, 32, 56, .4); }
.goup.is-on { opacity: 1; }
.goup .ico { width: 20px; height: 20px; }
.lb__img { border-radius: 8px; }
