/* Единая навигация constanta.kg (v2).
   Файл подключает tools/build_site.py; разметку он же собирает из nav.json.
   Все классы начинаются с sn- (не ad-, не banner, не promo: их режут блокировщики).
   Телефон: до 1023px (нижняя панель вкладок + шторка «Ещё»), компьютер: от 1024px. */

/* ---- Шрифты (свои, из assets/fonts) ---- */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/geologica-400-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/geologica-400-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/geologica-400-500-latin.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;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/golos-text-400-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/golos-text-400-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/golos-text-400-600-latin.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;
}

/* ---- Токены ---- */
:root {
  --sn-blue: #2F46FF;
  --sn-blue-ink: #1F2FB8;
  --sn-blue-soft: #E9ECFF;
  --sn-blue-faint: #F1F3FF;
  --sn-ink: #0B1026;
  --sn-bg: #F7F8FC;
  --sn-white: #FFFFFF;
  --sn-line: #DDE1EE;
  --sn-line-soft: #E6E9F2;
  --sn-muted: #4A5170;
  --sn-chip: #EEF0F7;
  --sn-top-text: #DDE1F5;
  --sn-top-active: #1E2650;
  --sn-foot-label: #9AA6FF;
  --sn-foot-muted: #B7BEE0;
  --sn-foot-line: #262E57;
  --sn-font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sn-font-head: 'Geologica', 'Golos Text', system-ui, sans-serif;
  --sn-tabs-h: 78px;
}

/* ---- Общая основа блоков навигации ---- */
.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet {
  font-family: var(--sn-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  color: var(--sn-ink);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) *,
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) *::before,
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) *::after {
  box-sizing: border-box;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) :is(ul, ol) {
  list-style: none;
  margin: 0;
  padding: 0;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) :is(h2, h3, p) {
  margin: 0;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) a {
  color: inherit;
  text-decoration: none;
  background: none;
  border-bottom: 0;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) button {
  font: inherit;
  color: inherit;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) svg {
  flex: none;
  display: block;
}
.sn-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 1024px) {
  .sn-wrap { padding-left: 32px; padding-right: 32px; }
}

/* Фокус виден всегда, у клавиатуры */
:is(.sn-topbar, .sn-header, .sn-crumbs, .sn-toc, .sn-related, .sn-footer, .sn-tabs, .sn-sheet) :is(a, button):focus-visible {
  outline: 3px solid var(--sn-blue);
  outline-offset: 2px;
  border-radius: 8px;
}
:is(.sn-topbar, .sn-footer) :is(a, button):focus-visible {
  outline-color: var(--sn-foot-label);
}
.sn-header .sn-wa:focus-visible,
.sn-sheet .sn-sheet-cta:focus-visible {
  outline-color: var(--sn-ink);
}

/* Ссылка «К содержанию» */
.sn-skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--sn-ink);
  color: #fff;
  font: 600 15px/1.2 var(--sn-font);
  text-decoration: none;
}
.sn-skip:focus { top: 8px; outline: 3px solid var(--sn-blue); outline-offset: 2px; }

.sn-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Служебная полоса (компьютер) ============ */
.sn-topbar { display: none; background: var(--sn-ink); color: var(--sn-top-text); font-size: 14px; }
.sn-topbar .sn-topbar-in {
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center;
  gap: 20px; min-height: 40px;
}
.sn-topbar .sn-top-link { padding: 4px 0; }
.sn-topbar .sn-top-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sn-topbar .sn-lang { display: flex; gap: 4px; }
.sn-topbar .sn-lang-btn {
  padding: 4px 10px; border-radius: 6px; color: var(--sn-top-text); font-weight: 400; font-size: 14px; line-height: 1.5;
}
.sn-topbar .sn-lang-btn:hover { color: #fff; }
.sn-topbar .sn-lang-btn.active { color: #fff; font-weight: 600; background: var(--sn-top-active); }

/* ============ Шапка ============ */
.sn-header { position: relative; z-index: 60; background: var(--sn-white); border-bottom: 1px solid var(--sn-line); }
.sn-header .sn-header-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.sn-header .sn-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sn-font-head); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--sn-ink);
  min-height: 44px; white-space: nowrap;
}
.sn-header .sn-brand svg { width: 32px; height: 32px; }
.sn-header .sn-menu { display: none; }
.sn-header .sn-wa {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--sn-blue); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.2;
  white-space: nowrap;
}
.sn-header .sn-wa:hover { background: var(--sn-blue-ink); color: #fff; }
.sn-header .sn-wa-long { display: none; }

.sn-header .sn-panel { display: none; }

@media (min-width: 1024px) {
  .sn-topbar { display: block; }
  .sn-header .sn-header-row { padding-top: 14px; padding-bottom: 14px; }
  .sn-header .sn-menu { display: flex; flex-wrap: wrap; gap: 4px; font-size: 16px; font-weight: 500; }
  .sn-header .sn-menu-item {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 12px; border-radius: 10px;
    font-size: 16px; font-weight: 500; line-height: 1.2; color: var(--sn-ink); background: transparent; white-space: nowrap;
  }
  .sn-header .sn-menu-item:hover { background: var(--sn-blue-faint); color: var(--sn-ink); }
  .sn-header .sn-menu-item[aria-current] { background: var(--sn-blue-faint); color: var(--sn-blue-ink); }
  .sn-header .sn-menu-item[aria-expanded="true"] { background: var(--sn-blue-soft); color: var(--sn-blue-ink); }
  .sn-header .sn-menu-item svg { width: 14px; height: 14px; transition: transform .15s ease; }
  .sn-header .sn-menu-item[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sn-header .sn-wa { padding: 0 18px; font-size: 15px; }
  .sn-header .sn-wa-short { display: none; }
  .sn-header .sn-wa-long { display: inline; }

  .sn-header .sn-panel {
    display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 70; pointer-events: none;
  }
  .sn-header .sn-panel[hidden] { display: none; }
  .sn-header .sn-panel-in { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
  .sn-header .sn-panel-box {
    pointer-events: auto;
    background: var(--sn-white); border: 1px solid var(--sn-line); border-top: 0;
    border-radius: 0 0 24px 24px; box-shadow: 0 24px 48px rgba(11, 16, 38, 0.08);
    padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
  }
  .sn-header .sn-panel-box.sn-cards { gap: 16px; }
  .sn-header .sn-col { display: flex; flex-direction: column; gap: 4px; }
  .sn-header .sn-col-title {
    font-size: 13px; font-weight: 600; color: var(--sn-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; line-height: 1.3;
  }
  .sn-header .sn-link {
    display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; color: var(--sn-ink); min-height: 44px; justify-content: center;
  }
  .sn-header .sn-link:hover { background: var(--sn-blue-faint); }
  .sn-header .sn-link[aria-current] { background: var(--sn-blue-faint); color: var(--sn-blue-ink); font-weight: 600; }
  .sn-header .sn-link small { font-size: 14px; font-weight: 400; color: var(--sn-muted); line-height: 1.35; }
  .sn-header .sn-card {
    display: flex; flex-direction: column; padding: 16px; border-radius: 16px; border: 1px solid var(--sn-line-soft); color: var(--sn-ink);
  }
  .sn-header .sn-card:hover { border-color: var(--sn-blue); background: var(--sn-blue-faint); }
  .sn-header .sn-card[aria-current] { border-color: var(--sn-blue); background: var(--sn-blue-faint); }
  .sn-header .sn-card strong { font-weight: 600; }
  .sn-header .sn-card small { font-size: 14px; color: var(--sn-muted); line-height: 1.35; }
  .sn-header .sn-all { display: flex; align-items: center; padding: 16px; color: var(--sn-blue); font-weight: 600; border-radius: 12px; }
  .sn-header .sn-all:hover { background: var(--sn-blue-faint); }
  .sn-header .sn-cta-card {
    display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
    background: var(--sn-blue); color: #fff; border-radius: 20px; padding: 24px;
  }
  .sn-header .sn-cta-card:hover { background: var(--sn-blue-ink); color: #fff; }
  .sn-header .sn-cta-card strong { font-family: var(--sn-font-head); font-weight: 600; font-size: 22px; line-height: 1.2; }
  .sn-header .sn-cta-card span { font-size: 15px; font-weight: 600; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .sn-header .sn-header-row { gap: 12px; }
  .sn-header .sn-menu { gap: 0; }
  .sn-header .sn-menu-item { padding: 0 9px; }
  .sn-header .sn-wa-long { display: none; }
  .sn-header .sn-wa-short { display: inline; }
}

/* ============ Крошки ============ */
.sn-crumbs { background: var(--sn-bg); font-size: 14px; color: var(--sn-muted); }
.sn-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; padding-top: 4px; padding-bottom: 4px; }
.sn-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.sn-crumbs li:not(:last-child)::after { content: "\203A"; color: var(--sn-muted); }
.sn-crumbs a, .sn-crumbs [aria-current="page"] { display: inline-flex; align-items: center; min-height: 44px; }
.sn-crumbs a { color: var(--sn-blue); }
.sn-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sn-crumbs [aria-current="page"] { color: var(--sn-ink); font-weight: 600; }
@media (min-width: 1024px) {
  .sn-crumbs { font-size: 15px; }
  .sn-crumbs ol { gap: 0 8px; padding-top: 18px; padding-bottom: 18px; }
  .sn-crumbs li { gap: 8px; }
  .sn-crumbs a, .sn-crumbs [aria-current="page"] { min-height: 28px; }
}

/* ============ «На этой странице» ============ */
.sn-toc { background: var(--sn-bg); }
.sn-toc .sn-toc-in { display: flex; align-items: center; gap: 6px; padding: 12px 16px; overflow-x: auto; white-space: nowrap; font-size: 14px; border-top: 1px solid var(--sn-line); border-bottom: 1px solid var(--sn-line); scrollbar-width: none; }
.sn-toc .sn-toc-in::-webkit-scrollbar { display: none; }
.sn-toc-wrap { max-width: 1240px; margin: 0 auto; }
.sn-toc .sn-toc-label { color: var(--sn-muted); margin-right: 10px; }
.sn-toc .sn-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--sn-line); background: transparent; color: var(--sn-ink); font-weight: 400; flex: none;
}
.sn-toc .sn-chip:hover { background: var(--sn-white); border-color: var(--sn-blue); }
.sn-toc .sn-chip[aria-current] { background: var(--sn-ink); border-color: var(--sn-ink); color: #fff; font-weight: 600; }
.sn-toc .sn-toc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
@media (min-width: 1024px) {
  .sn-toc-wrap { padding-left: 32px; padding-right: 32px; }
  .sn-toc .sn-toc-in { flex-wrap: wrap; overflow: visible; white-space: normal; font-size: 15px; padding: 10px 0; }
  .sn-toc .sn-toc-label {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 10px 0 0;
  }
  .sn-toc .sn-chip { min-height: 40px; border-color: transparent; }
}

/* ============ «Другие ниши / приложения» ============ */
.sn-related { margin: 32px 0 0; padding: 0 0 24px; }
.sn-related .sn-related-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sn-related .sn-related-label { flex: 0 0 100%; font-size: 14px; color: var(--sn-muted); }
.sn-related ul { display: flex; flex: 1 1 100%; gap: 8px; flex-wrap: wrap; }
.sn-related li { flex: 1 1 calc(50% - 8px); display: flex; }
.sn-related .sn-chip {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px;
  padding: 8px 14px; border-radius: 14px; background: var(--sn-white); border: 1px solid var(--sn-line); font-weight: 600; font-size: 15px;
}
.sn-related .sn-chip:hover { border-color: var(--sn-blue); background: var(--sn-blue-faint); }
@media (min-width: 1024px) {
  .sn-related { margin: 32px 0 0; padding: 0 0 64px; }
  .sn-related .sn-related-in { gap: 10px; }
  .sn-related .sn-related-label { flex: none; font-size: 16px; margin-right: 6px; }
  .sn-related ul { flex: none; gap: 10px; }
  .sn-related li { flex: none; }
  .sn-related .sn-chip { flex: none; padding: 10px 16px; border-radius: 999px; font-weight: 400; font-size: 16px; }
}

/* Примечания страницы перед подвалом (оговорки, товарные знаки) */
.sn-notes { font-family: var(--sn-font); font-size: 14px; line-height: 1.55; color: var(--sn-muted); padding: 24px 0; }
.sn-notes p { margin: 0 0 8px; }

/* ============ Подвал ============ */
.sn-footer { background: var(--sn-ink); color: #fff; }
.sn-footer .sn-footer-in { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: calc(var(--sn-tabs-h) + 24px + env(safe-area-inset-bottom, 0px)); }
.sn-footer .sn-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.sn-footer .sn-foot-brand { display: flex; flex-direction: column; gap: 14px; }
.sn-footer .sn-foot-logo { display: flex; align-items: center; gap: 12px; font-family: var(--sn-font-head); font-weight: 600; font-size: 20px; line-height: 1.2; color: #fff; }
.sn-footer .sn-foot-logo svg { width: 36px; height: 36px; }
.sn-footer .sn-foot-tag { color: var(--sn-foot-muted); font-size: 15px; }
.sn-footer .sn-foot-col { display: flex; flex-direction: column; font-size: 15px; }
.sn-footer .sn-foot-title { font-weight: 600; color: var(--sn-foot-label); margin-bottom: 4px; }
.sn-footer .sn-foot-col a { display: flex; align-items: center; min-height: 44px; color: var(--sn-top-text); }
.sn-footer .sn-foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sn-footer .sn-foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px;
  border-top: 1px solid var(--sn-foot-line); padding-top: 24px; font-size: 14px; color: var(--sn-foot-muted);
}
.sn-footer .sn-foot-bottom a { color: var(--sn-top-text); display: inline-flex; align-items: center; min-height: 44px; }
.sn-footer .sn-foot-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sn-footer .sn-foot-lang { display: inline-flex; align-items: center; gap: 4px; }
.sn-footer .sn-lang-btn { min-height: 44px; padding: 0 8px; color: var(--sn-foot-muted); font-size: 14px; }
.sn-footer .sn-lang-btn:hover { color: #fff; }
.sn-footer .sn-lang-btn.active { color: #fff; font-weight: 600; }
@media (max-width: 639px) {
  .sn-footer .sn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .sn-footer .sn-foot-brand, .sn-footer .sn-foot-col:last-of-type { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .sn-footer .sn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .sn-footer .sn-footer-in { gap: 48px; padding-top: 64px; padding-bottom: 32px; }
  .sn-footer .sn-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
  .sn-footer .sn-foot-col { gap: 0; }
  .sn-footer .sn-foot-col a { min-height: 34px; }
  .sn-footer .sn-foot-bottom a { min-height: 32px; }
}

/* ============ Нижняя панель вкладок (телефон) ============ */
.sn-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: center; gap: 0;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--sn-line);
  padding: 7px 4px calc(10px + env(safe-area-inset-bottom, 0px));
}
.sn-tabs .sn-tab {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; padding: 5px 0; color: var(--sn-muted); border-radius: 12px; font: 600 12px/1.2 var(--sn-font);
}
.sn-tabs .sn-tab svg { width: 24px; height: 24px; }
.sn-tabs .sn-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-tabs .sn-tab[aria-current], .sn-tabs .sn-tab[aria-expanded="true"] { color: var(--sn-blue); }
.sn-tabs .sn-tab:hover { color: var(--sn-blue-ink); }
@media (max-width: 359px) {
  .sn-tabs { padding-left: 0; padding-right: 0; }
  .sn-tabs .sn-tab { font-size: 10px; letter-spacing: -0.01em; padding-left: 0; padding-right: 0; }
  .sn-tabs .sn-tab span { overflow: visible; text-overflow: clip; }
}
@media (min-width: 1024px) {
  .sn-tabs { display: none; }
}

/* ============ Шторка «Ещё» (телефон) ============ */
.sn-sheet { position: fixed; inset: 0; z-index: 100; display: block; }
.sn-sheet[hidden] { display: none; }
.sn-sheet .sn-scrim { position: absolute; inset: 0; background: rgba(11, 16, 38, 0.45); opacity: 0; transition: opacity .2s ease; }
.sn-sheet .sn-dialog {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 640px;
  height: calc(100vh - 72px); height: calc(100dvh - 72px); max-height: 800px;
  background: var(--sn-white); border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column; box-shadow: 0 -12px 40px rgba(11, 16, 38, 0.18);
  transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.sn-sheet.is-open .sn-scrim { opacity: 1; }
.sn-sheet.is-open .sn-dialog { transform: none; }
.sn-sheet .sn-handle { display: flex; justify-content: center; padding: 8px 0 0; }
.sn-sheet .sn-handle span { width: 40px; height: 5px; border-radius: 999px; background: #C9CEDF; }
.sn-sheet .sn-step { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.sn-sheet .sn-step[hidden] { display: none; }
.sn-sheet .sn-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 4px 20px; }
.sn-sheet .sn-step-bots .sn-sheet-head { padding-left: 8px; }
.sn-sheet .sn-sheet-title { font-family: var(--sn-font-head); font-size: 22px; font-weight: 600; line-height: 1.25; }
.sn-sheet .sn-sheet-h { font-family: var(--sn-font-head); font-size: 24px; font-weight: 600; line-height: 1.25; }
.sn-sheet .sn-close {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--sn-chip);
}
.sn-sheet .sn-close svg { width: 16px; height: 16px; }
.sn-sheet .sn-back {
  display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; font-weight: 600; color: var(--sn-blue);
}
.sn-sheet .sn-back svg { width: 18px; height: 18px; }
.sn-sheet .sn-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 8px 20px 24px; display: flex; flex-direction: column; gap: 18px;
}
.sn-sheet .sn-step-bots .sn-scroll { padding-top: 4px; gap: 16px; }
.sn-sheet .sn-group { display: flex; flex-direction: column; }
.sn-sheet .sn-group-title {
  font-size: 13px; font-weight: 600; color: var(--sn-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; line-height: 1.3;
}
.sn-sheet .sn-row {
  display: flex; flex-direction: column; justify-content: center; min-height: 56px; border-bottom: 1px solid var(--sn-line-soft); color: var(--sn-ink); font-weight: 600; text-align: left; width: 100%;
}
.sn-sheet .sn-row small { font-size: 14px; font-weight: 400; color: var(--sn-muted); }
.sn-sheet .sn-row-plain { min-height: 52px; flex-direction: row; align-items: center; justify-content: flex-start; }
.sn-sheet .sn-row-step { flex-direction: row; align-items: center; justify-content: space-between; min-height: 52px; }
.sn-sheet .sn-row-step svg { width: 18px; height: 18px; }
.sn-sheet .sn-group .sn-row:last-child { border-bottom: 0; }
.sn-sheet .sn-row[aria-current] { color: var(--sn-blue-ink); }
.sn-sheet .sn-step-bots .sn-row { min-height: 48px; font-weight: 400; flex-direction: row; align-items: center; justify-content: flex-start; }
.sn-sheet .sn-step-bots .sn-row[aria-current] { font-weight: 600; }
.sn-sheet .sn-step-bots .sn-row.sn-row-strong { font-weight: 600; border-top: 1px solid var(--sn-line-soft); border-bottom: 0; }
.sn-sheet .sn-lang-group {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--sn-chip); border-radius: 999px; padding: 4px;
}
.sn-sheet .sn-lang-btn {
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--sn-ink);
}
.sn-sheet .sn-lang-btn.active { background: var(--sn-ink); color: #fff; }
.sn-sheet .sn-contact { display: flex; flex-direction: column; gap: 8px; }
.sn-sheet .sn-sheet-cta {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: var(--sn-blue); color: #fff; font-weight: 600;
}
.sn-sheet .sn-sheet-cta:hover { background: var(--sn-blue-ink); color: #fff; }
.sn-sheet .sn-phone { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; color: var(--sn-muted); }
@media (min-width: 1024px) {
  .sn-sheet { display: none !important; }
}

html.sn-locked, html.sn-locked body { overflow: hidden !important; }

/* ============ Меньше движения ============ */
@media (prefers-reduced-motion: reduce) {
  .sn-sheet .sn-scrim, .sn-sheet .sn-dialog, .sn-header .sn-menu-item svg { transition: none !important; }
}
