/* page / wacis.audit */
/* Audit service landings. Shared by the six wacis.audit pages. */
.au { --au-accent: #006655; }
.au-hero { padding: 24px 0 clamp(56px, 7vw, 104px); background: #00004f; }
.au-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 5vw, 76px); align-items: center; margin-top: clamp(36px, 5vw, 64px); }
.au-label { display: inline-flex; align-items: center; gap: 12px; color: #d5d8f1; font-size: 14px; font-weight: 600; margin: 0 0 22px; }
.au-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #74ddc5; }
.au-hero h1 { color: #fff; font-size: clamp(33px, 4vw, 58px); letter-spacing: -.035em; line-height: 1.12; max-width: 16ch; text-wrap: balance; }
.au-intro { margin-top: 24px; color: #d3d6e9; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.7; max-width: 53ch; }
.au-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.au-actions .btn { gap: 16px; }
.au-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; text-underline-offset: 5px; }
.au-text-link:hover { text-decoration: underline; }
.au-hero .au-text-link { color: #fff; }
.au-hero__price { margin-top: 28px; color: #e0e3f0; font-size: 15px; }
.au-hero__price strong { color: #fff; font-size: 19px; }
.au-hero__scope { margin-top: 8px; color: #d3d6e9; font-size: 14px; }
.au-hero__repeat { margin-top: 12px; color: #a6e2d5; font-size: 15px; font-weight: 600; }
.au-hero__note { color: #b6bcd9; margin-top: 8px; font-size: 13px; max-width: 48ch; }
.au-demo { min-width: 0; padding: clamp(20px, 2.4vw, 32px); background: #fff; color: #202039; border-radius: 12px; }
.au-demo__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-bottom: 18px; border-bottom: 1px solid #e4e5ec; color: #636579; font-size: 12px; }
.au-demo h2 { margin-top: 24px; color: #202039; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.25; }
.au-demo__caption { margin-top: 12px; color: #606174; font-size: 14px; line-height: 1.6; }
.au-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 26px; font-size: 12px; line-height: 1.55; }
.au-table caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 11px; color: #696b7d; }
.au-table th { padding: 0 6px 10px; text-align: left; color: #696b7d; font-size: 11px; font-weight: 500; border-bottom: 1px solid #dce0e8; }
.au-table td { padding: 12px 6px; border-bottom: 1px solid #e9eaf0; overflow-wrap: anywhere; }
.au-table th:first-child { width: 42%; }
.au-table th:nth-child(2) { width: 23%; }
.au-table td:first-child, .au-table th:first-child { padding-left: 0; }
.au-table td:last-child, .au-table th:last-child { padding-right: 0; }
.au-table tbody tr:nth-child(3) { background: #fff6ee; }
.au-table tbody tr:nth-child(3) td:last-child { color: #874820; font-weight: 600; }
.au-demo__finding { margin-top: 22px; color: #285748; padding-top: 18px; border-top: 1px solid #dce8e3; font-size: 13px; line-height: 1.6; }
.au-input { padding: 24px 0; background: #e9efed; border-bottom: 1px solid #d5e0dc; }
.au-input .wrap { display: flex; gap: 16px 40px; align-items: baseline; }
.au-input b { color: #234f42; white-space: nowrap; font-size: 14px; }
.au-input p { max-width: 92ch; color: #314b41; font-size: 15px; }
.au-section { padding: clamp(56px, 7vw, 100px) 0; }
.au-section h2 { font-size: clamp(28px, 3.1vw, 43px); line-height: 1.2; letter-spacing: -.03em; }
.au-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); }
.au-section__intro > p { color: var(--mute); margin-top: 20px; max-width: 43ch; font-size: 17px; }
.au-section__intro .au-text-link { margin-top: 24px; color: #006655; }
.au-checks { margin: 0; }
.au-checks > div { border-top: 1px solid #cfd1de; padding: 24px 0; }
.au-checks > div:first-child { padding-top: 0; border-top: 0; }
.au-checks > div:last-child { padding-bottom: 0; }
.au-checks dt { font-family: var(--font-display); color: #191938; font-size: 21px; font-weight: 750; line-height: 1.3; }
.au-checks dd { margin: 10px 0 0; color: #56576a; line-height: 1.7; font-size: 16px; }
.au-output { background: #e8e9f0; }
.au-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.au-formats > div { padding-top: 18px; border-top: 1px solid #b8bbc9; }
.au-formats b { font-family: var(--font-display); color: #00004f; font-size: 22px; }
.au-formats p { margin-top: 12px; color: #535568; font-size: 15px; line-height: 1.7; }
.au-steps { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.au-steps li { padding-top: 22px; border-top: 1px solid #cfd1de; }
.au-steps span { display: block; color: #006655; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.au-steps h3 { color: #191938; font-size: 21px; font-weight: 750; }
.au-steps p { color: #56576a; margin-top: 12px; font-size: 16px; line-height: 1.7; }
.au-scope { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 20px 48px; margin-top: 48px; padding: 28px 32px; border-radius: 8px; background: #eaece9; }
.au-scope h3 { font-size: 18px; color: #2d493d; }
.au-scope p { color: #415448; font-size: 14px; line-height: 1.7; }
.au-price-section { background: #00004f; }
.au-price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.au-price h2 { color: #fff; }
.au-price > div > p:not(.au-price__amount) { color: #d0d4e9; margin-top: 22px; max-width: 56ch; font-size: 16px; }
.au-price__action { padding-left: 48px; border-left: 1px solid #434374; }
.au-discount { display: inline-block; margin-bottom: 24px; padding: 8px 12px; border-radius: 6px; background: #c7f3e6; color: #144a3a; font-size: 14px; font-weight: 700; }
.au-price__amount { font-family: var(--font-display); color: #fff; font-size: clamp(44px, 5.5vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.au-price__from { font-size: .4em; font-weight: 600; letter-spacing: normal; }
.au-tiers { width: 100%; border-collapse: collapse; margin-top: 28px; color: #fff; }
.au-tiers caption { text-align: left; color: #a6e2d5; font-size: 14px; padding-bottom: 14px; }
.au-tiers th, .au-tiers td { padding: 16px 0; border-bottom: 1px solid #434374; text-align: left; }
.au-tiers thead th { color: #b7bddc; font-size: 12px; font-weight: 500; }
.au-tiers tbody th { font-size: 15px; font-weight: 500; }
.au-tiers th:first-child { padding-right: 12px; }
.au-tiers th:last-child, .au-tiers td { text-align: right; }
.au-tiers strong { display: inline-block; font-size: 20px; white-space: nowrap; }
.au-tiers s { display: inline-block; color: #b7bddc; font-size: 13px; white-space: nowrap; margin-right: 8px; }
.au-price__small a, .audit-catalog__note a { color: inherit; text-underline-offset: 3px; }
.au-price__action > p.au-price__unit { margin: 12px 0 28px; }
.au-price .au-price__small { color: #b7bddc; font-size: 13px; line-height: 1.7; max-width: 58ch; }
.au-price__action .btn { gap: 16px; }
.au-quotas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; gap: 12px; }
.au-quotas > div { border-top: 1px solid #5d5d89; padding-top: 14px; }
.au-quotas dt { color: #c5cbe3; font-size: 13px; }
.au-quotas dd { color: #fff; font-size: 20px; font-weight: 600; margin: 6px 0 0; }
.au-bundle { padding-top: 20px; border-top: 1px solid #434374; line-height: 1.8; }
.au-repeat { margin-top: 28px; padding-top: 24px; border-top: 1px solid #434374; max-width: 60ch; }
.au-repeat h3 { color: #a6e2d5; font-size: 20px; }
.au-repeat p { margin-top: 12px; color: #d0d4e9; font-size: 15px; line-height: 1.75; }
.au-faq details { border-top: 1px solid #cfd1de; }
.au-faq details:last-child { border-bottom: 1px solid #cfd1de; }
.au-faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; min-height: 56px; padding: 22px 0; color: #242442; font-weight: 650; font-size: 17px; cursor: pointer; list-style: none; }
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after { content: "+"; flex: 0 0 20px; text-align: center; color: #006655; font-size: 22px; }
.au-faq details[open] summary::after { content: "−"; }
.au-faq details > p { padding: 0 36px 24px 0; color: #56576a; font-size: 16px; line-height: 1.75; }
.au-more { background: #e9efed; padding: 40px 0; }
.au-more h2 { font-size: 21px; }
.au-more nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; }
.au-more nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #244f41; text-decoration: none; font-size: 14px; }
.au-more nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.au-back { display: inline-block; min-height: 44px; margin-top: 16px; color: #465f55; font-size: 14px; }
.au a:focus-visible, .au summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 1050px) {
  .au-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .au-hero h1 { font-size: clamp(33px, 4.2vw, 48px); }
  .au-price { gap: 32px; }
  .au-price__action { padding-left: 32px; }
}
@media (max-width: 800px) {
  .au-hero__grid, .au-split, .au-price { grid-template-columns: 1fr; }
  .au-hero__grid { gap: 36px; }
  .au-hero h1 { max-width: 22ch; }
  .au-demo { max-width: 620px; }
  .au-input .wrap { display: block; }
  .au-input p { margin-top: 8px; }
  .au-steps { gap: 24px; }
  .au-price__action { padding: 28px 0 0; border-left: 0; border-top: 1px solid #434374; }
  .au-scope { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}
@media (max-width: 560px) {
  .au-label { font-size: 13px; }
  .au-hero h1 { font-size: 34px; letter-spacing: -.025em; }
  .au-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .au-demo { padding: 20px 16px; }
  .au-table { font-size: 11px; }
  .au-table th { font-size: 10px; }
  .au-table td { padding-top: 10px; padding-bottom: 10px; }
  .au-section__intro > p { font-size: 16px; }
  .au-formats { grid-template-columns: 1fr; gap: 24px; }
  .au-steps { grid-template-columns: 1fr; margin-top: 32px; }
  .au-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; }
  .au-steps span { grid-row: 1 / 3; margin: 0; }
  .au-steps p { grid-column: 2; }
  .au-quotas { grid-template-columns: 1fr 1fr; gap: 20px; }
  .au-price__amount { font-size: 54px; }
  .au-faq summary { font-size: 16px; gap: 16px; }
  .au-faq details > p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .au *, .au *::before, .au *::after { scroll-behavior: auto; transition: none; animation: none; } }

/* Audit listings on /servisy/. */
.audit-catalog { margin-top: 40px; }
.audit-catalog__repeat { max-width: 85ch; margin-top: 28px; color: #285748; font-size: 16px; line-height: 1.75; }
.audit-catalog__row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 28px 64px; border-top: 1px solid var(--hair-2); padding: 32px 0; }
.audit-catalog__row:last-child { border-bottom: 1px solid var(--hair-2); }
.audit-catalog__row h3 { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.3; }
.audit-catalog__row h3 a { color: inherit; text-decoration: none; }
.audit-catalog__row h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.audit-catalog__row p { margin-top: 10px; color: var(--fg-mute); max-width: 72ch; }
.audit-catalog__row small { display: block; color: #006655; margin-top: 10px; font-size: 14px; }
.audit-catalog__action { display: flex; flex-direction: column; align-items: flex-start; }
.audit-catalog__action b { color: var(--fg); font-size: 27px; line-height: 1.3; white-space: nowrap; }
.audit-catalog__action > span { color: var(--fg-mute); font-size: 13px; }
.audit-catalog__action .arrow { margin-top: 12px; min-height: 44px; }
.audit-catalog__note { max-width: 90ch; color: var(--fg-mute); font-size: 14px; margin-top: 24px; }
@media (max-width: 620px) {
  .audit-catalog__row { grid-template-columns: 1fr; gap: 18px; }
  .audit-catalog__action { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 20px; }
  .audit-catalog__action b { grid-column: 1; }
  .audit-catalog__action > span { grid-column: 1; }
  .audit-catalog__action .arrow { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
}

/* WACIS AUDIT BREADCRUMBS */
.au-hero .zv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: #b6bcd9; font-size: 13px; line-height: 1.7; }
.au-hero .zv-crumbs a { color: inherit; text-decoration: none; }
.au-hero .zv-crumbs a:hover { color: #fff; text-decoration: underline; }
.au-hero .zv-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
/* END WACIS AUDIT BREADCRUMBS */

/* header / wacis.header */
/* ============================================================== ШАПКА

   Шапка липкая и полупрозрачная. На первом экране (тёмном) она
   получает класс --dark из скрипта: белые буквы на тёмном, тёмные —
   на светлом, без второй копии разметки.
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .2s, border-color .2s, color .2s;
}

.site-header--dark {
  background: color-mix(in srgb, var(--navy) 82%, transparent);
  border-bottom-color: color-mix(in srgb, var(--paper) 12%, transparent);
  color: var(--d-text);
}

.site-header__in {
  height: var(--head-h);
  display: flex; align-items: center; gap: var(--s5);
}


.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }

.logo svg { width: auto; height: 20px; flex: none; display: block; }

.logo__t { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }

.logo__t sup {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-left: 5px; vertical-align: super;
}

.site-header--dark .logo__t sup { color: color-mix(in srgb, var(--teal) 45%, var(--paper)); }


.header__act { display: flex; align-items: center; gap: var(--s3); flex: none; }


/* Полоса шапки шире колонки содержимого. Логотип, семь пунктов меню и
   действия в 1200 не помещались и до появления входа — ряд молча
   вылезал за колонку вправо. Ширина берётся той же переменной, что и у
   .wrap, поэтому правило одно и живёт по правилам темы. */
.site-header__in { --wrap: 1320px; }

/* Вход в кабинет — обычная прозрачная кнопка темы: она уже умеет брать
   цвет у окружения, а шапка на первом экране тёмная. Своего вида
   кнопки заводить не за чем. */
/* Значок стилим по месту, а не классом: имя .ico в теме уже занято
   сорокапиксельной плашкой с заливкой, и она подкладывалась под ключ. */
.header__login svg { width: 17px; height: 17px; flex: none; }

.site-header--dark .burger { border-color: var(--d-line); }

/* footer / wacis.footer */
/* ============================================================== ПОДВАЛ */
.site-footer { background: var(--ink); color: var(--d-mute); padding: clamp(48px, 6vw, 80px) 0 var(--s6); font-size: 14.5px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s7); }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }
.foot__about { max-width: 34em; }
.foot__about p { margin-top: var(--s4); }
.site-footer .logo__t { color: var(--paper); }
.foot__gr { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--paper); }
.foot__bot {
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: 13px;
}
.foot__bot a { text-decoration: none; }
.foot__bot a:hover { text-decoration: underline; }
.foot__bot > span:last-child { margin-left: auto; }
@media (max-width: 700px) { .foot__bot > span:last-child { margin-left: 0; } }

/* =========================================================================
   ПЛАШКА TELEGRAM

   Правый нижний угол. На широком экране — таблетка с подписью, на узком
   схлопывается в кружок: там места мало, а подпись всё равно не читают.

   Ссылка настоящая, а не через скрипт: работает с выключенным
   JavaScript и по «открыть в новой вкладке».

   Цвет фирменный телеграмовский, а не наш: кнопку узнают по цвету
   быстрее, чем прочитают подпись. Это единственное место на сайте,
   где стоит цвет вне палитры бренда.

   z-index ниже затемнения меню (110) и самого меню (120): когда
   открыто мобильное меню, плашка не должна торчать поверх него.
   ========================================================================= */
.tg-fab {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; border: 1px solid #229ed9;
  background: #229ed9; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1;
  box-shadow: 0 10px 30px color-mix(in srgb, #229ed9 32%, transparent);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s, opacity .2s;
}
.tg-fab:hover, .tg-fab:focus-visible {
  background: #1b8ec4; transform: translateY(-2px);
  box-shadow: 0 14px 36px color-mix(in srgb, #229ed9 42%, transparent);
}

/* Значок нарисован со смещением вправо — компенсируем, иначе в кружке
   он выглядит сдвинутым к краю. */
.tg-fab__i { flex-shrink: 0; margin-left: -1px; }

/* Открыто мобильное меню — плашка уходит, чтобы не спорить с ним */
body[data-nav-open] .tg-fab { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .tg-fab { padding: 0; width: 52px; justify-content: center; }
  .tg-fab__t { display: none; }
  .tg-fab__i { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-fab { transition: background .2s, opacity .2s; }
  .tg-fab:hover, .tg-fab:focus-visible { transform: none; }
}

.site-footer .logo svg { color: var(--paper); }

/* ==================================================== ПОДВАЛ: ПРЕМИАЛЬНО
   Правка оформления подвала. Дописана в конец: разметку и прежние
   правила не трогаем, только переопределяем поверх.

   Что меняется: почти чёрное полотно вместо чернильного, одна гарнитура
   и выверенный ритм, ссылки — со сдвигом при наведении, нижняя строка
   разложена по краям. */
.site-footer {
  background: #07080d;
  color: #98a0b3;
  padding: clamp(52px, 5.5vw, 84px) 0 clamp(22px, 2.4vw, 30px);
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14.5px; letter-spacing: -.005em;
  position: relative;
}
/* Тонкий свет по верхней кромке: подвал не обрывает страницу, а закрывает её. */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 22%, rgba(255,255,255,.16) 78%, transparent);
}
.site-footer .wrap { position: relative; z-index: 1; }

.foot__top {
  display: grid; gap: clamp(28px, 3.4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px)  { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .foot__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }

.foot__about { max-width: 42ch; }
.foot__about p { margin-top: 18px; font-size: 14px; line-height: 1.62; color: #7e8598; }
.site-footer .logo svg { color: #f2f3f7; height: 26px; width: auto; }
.site-footer .logo__t { color: #f2f3f7; }
.site-footer .logo__t sup { color: #6f7688; }

.foot__gr {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #5d6478; margin-bottom: 4px;
}
.foot__col { display: grid; gap: 11px; align-content: start; }
.foot__col a, .foot__col span {
  text-decoration: none; color: #b6bccb; font-size: 14.5px; font-weight: 500;
  width: fit-content;
  transition: color .35s cubic-bezier(.22,.61,.18,1), transform .35s cubic-bezier(.22,.61,.18,1);
}
.foot__col a:hover { color: #fff; transform: translateX(2px); }
.foot__col span { color: #6f7688; font-size: 13.5px; }

.foot__bot {
  margin-top: clamp(34px, 4vw, 60px); padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  font-size: 13px; color: #6f7688;
}
.foot__bot a { color: #8b93a5; text-decoration: none; }
.foot__bot a:hover { color: #dfe3ec; text-decoration: none; }
.foot__bot > span:last-child { margin-left: auto; color: #5d6478; }
@media (max-width: 700px) { .foot__bot > span:last-child { margin-left: 0; } }

/* =========================================================================
   ПЛАШКА О COOKIES

   Слева внизу, а не во всю ширину: справа стоит плашка Telegram, и две
   полосы по низу экрана спорили бы друг с другом. z-index ниже меню
   (120) и его затемнения (110) — из-под открытого меню ей торчать
   незачем.
   ========================================================================= */
.ck {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  z-index: 80; max-width: 420px;
  /* wrap обязателен: без него на узком экране кнопка не переносится, а
     выдавливается за край плашки — flex не сжимает текст ниже самого
     длинного слова, и «Принять» уезжает за границу вместе с ней. */
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
  padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--line-2, #d9d9e3);
  background: var(--paper, #fff);
  box-shadow: 0 12px 34px rgba(0, 0, 40, .16);
  font-size: 13px; line-height: 1.45;
}
/* Текст занимает строку целиком, пока помещается; ужавшись до 200px,
   уступает и пускает кнопку на следующую строку. */
.ck__t { margin: 0; flex: 1 1 200px; color: var(--mute, #55556b); }
.ck__t a { color: inherit; }

/* Кнопка своя, а не .btn: та растянута под призывы к действию, а здесь
   нужна маленькая и спокойная — соглашаться тут не с чем спорить. */
.ck__ok {
  flex-shrink: 0; cursor: pointer;
  min-height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--ink, #00004f);
  background: var(--ink, #00004f); color: #fff;
  font: inherit; font-weight: 700; line-height: 1;
  transition: opacity .18s;
}
.ck__ok:hover, .ck__ok:focus-visible { opacity: .85; }

/* Открыто мобильное меню — плашка уходит, как и телеграмная */
body[data-nav-open] .ck { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  /* Узкий экран: плашка во всю ширину, и телеграмная поднимается над
     ней ровно на её высоту — высоту меряет скрипт, потому что она
     зависит от длины текста и переносов. */
  .ck { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .ck__ok { width: 100%; min-height: 42px; }
  body[data-cookie-note] .tg-fab {
    bottom: calc(12px + var(--ck-h, 0px) + 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck__ok { transition: none; }
}

/* WACIS SOCIAL LINKS */
.social-links {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.social-links a {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; max-width: 100%; padding: 10px 16px;
  border: 1px solid var(--hair-2); border-radius: var(--r-s);
  color: var(--fg); font-size: 15px; font-weight: 600; line-height: 1.4;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.social-links a:hover {
  background: color-mix(in srgb, currentColor 7%, transparent);
  border-color: currentColor;
}
.social-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.social-links a span { font-size: 18px; line-height: 1; }
.foot__social {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  margin-top: var(--s7); padding-top: var(--s6);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot__social-title { margin: 0; color: #f2f2f2; font-size: 15px; font-weight: 600; }
.site-footer .social-links a { color: #f2f2f2; border-color: rgba(255, 255, 255, .24); }
.site-footer .social-links a:hover { border-color: #f2f2f2; }
.contact-social { margin-top: var(--s8); }
.contact-social > p:not(.social-note) { margin: var(--s3) 0 var(--s5); color: var(--fg-mute); }
.social-note { margin: var(--s4) 0 0; max-width: 85ch; font-size: 13px; line-height: 1.6; color: var(--fg-mute); }
.foot__social .social-note { flex-basis: 100%; margin: 0; color: #a9afbe; }
@media (max-width: 560px) {
  .foot__social { display: block; }
  .foot__social-title { margin-bottom: var(--s4); }
  .foot__social .social-note { margin-top: var(--s4); }
}
@media (prefers-reduced-motion: reduce) { .social-links a { transition: none; } }
/* END WACIS SOCIAL LINKS */

/* menu / wacis.menu */
.nav { margin-left: auto; }

.nav__list { display: flex; align-items: center; gap: var(--s2); list-style: none; margin: 0; padding: 0; }

.nav__list a, .nav__btn {
  display: block; padding: 8px 9px; border-radius: var(--r-s);
  text-decoration: none; font-size: 15px; font-weight: 600;
  background: none; border: 0; cursor: pointer;
  /* Пункты не переносятся: «Исходный код» в две строки ломает высоту
     шапки, а вместе с ней и отступ, на который рассчитан якорь. */
  white-space: nowrap;
}

.nav__list > .nav__item > a:hover, .nav__btn:hover { background: color-mix(in srgb, currentColor 9%, transparent); }

.nav__head, .nav__foot, .nav__close { display: none; }


.burger {
  display: none; margin-left: auto;
  align-items: center; gap: var(--s2);
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 9px 12px; cursor: pointer; font-size: 14px; font-weight: 700;
}

.burger__lines { display: grid; gap: 3px; }

.burger__lines i { display: block; width: 16px; height: 2px; background: currentColor; }


/* Порог бургера — не «когда экран маленький», а «когда ряд перестаёт
   помещаться»: логотип, семь пунктов и два действия требуют около 1230
   пикселей. Ниже 1280 меню уходит в выдвижную панель целиком. */
@media (max-width: 1279px) {
  .burger { display: inline-flex; }
  .header__act { display: none; }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 120;
    background: var(--navy); color: var(--d-text);
    padding: var(--s5); margin: 0;
    display: flex; flex-direction: column; gap: var(--s5);
    transform: translateX(100%); transition: transform .24s ease;
    overflow-y: auto;
  }
  .nav[data-open] { transform: none; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; }
  .nav__title { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); }
  .nav__close { display: block; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list .nav__item + .nav__item { border-top: 1px solid var(--d-line); }
  .nav__list a { padding: 14px 0; font-size: 17px; }
  .nav__foot { display: grid; gap: var(--s3); margin-top: auto; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 110; background: color-mix(in srgb, var(--ink) 55%, transparent); }
}
