/* ==========================================================================
   VirtCapsule — тема сайта поверх UIkit 3.25.26
   Подключается после assets/uikit/css/uikit.min.css.

   Содержание
   1.  Шрифты
   2.  Токены
   3.  База: страница, текст, ссылки, заголовки
   4.  Сетка и секции UIkit
   5.  Кнопки UIkit
   6.  Формы UIkit
   7.  Карточки UIkit
   8.  Прочие компоненты UIkit (accordion, subnav, switcher, modal, badge, label, divider, nav, list)
   9.  Шапка
   10. Мобильное меню (uk-modal-full)
   11. Подвал
   12. Общие блоки сайта
   13. Главная
   14. Кабинет
   15. Страницы входа и регистрации
   16. О проекте, Публичные капсулы, Вопрос-Ответ
   17. Контакты, Правила сайта, Политика конфиденциальности
   18. Ваши капсулы, Профиль, Открытая капсула
   19. Вход, регистрация (дополнение), шпаргалка по стилю
   20. Сайт на MODX: формы, сообщения, списки капсул, cookie, пагинация
   21. Языки: арабский (справа налево), японский
   ========================================================================== */


/* 1. Шрифты (локально, variable woff2, вес 200–900)
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/unbounded-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  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;
}


/* 2. Токены
   ========================================================================== */

:root {
  --vc-ink: #0B0C14;          /* фон страницы, текст на янтарном */
  --vc-surface: #151726;      /* карточки, формы, поля на странице */
  --vc-surface-2: #24273D;    /* активный пункт, аватар, заглушки */
  --vc-surface-3: #2A2D45;    /* выключенный переключатель */
  --vc-hover: #1D2033;        /* наведение на пункт меню */
  --vc-light: #F1F2F6;        /* светлая секция */
  --vc-light-text: #12131C;   /* текст на светлой секции */
  --vc-light-muted: #4A4D5E;  /* второстепенный текст на светлой секции */
  --vc-text: #ECEDF3;         /* основной текст */
  --vc-text-soft: #C9CBD8;    /* текст статей, пункты бокового меню */
  --vc-muted: #A3A6B8;        /* подписи, описания */
  --vc-placeholder: #7D8096;
  --vc-white: #FFFFFF;
  --vc-accent: #F5B841;       /* янтарный акцент */
  --vc-accent-hover: #F8C762;

  --vc-line: rgba(255, 255, 255, 0.08);         /* рамки карточек, разделители */
  --vc-line-strong: rgba(255, 255, 255, 0.12);  /* разделители списков */
  --vc-line-field: rgba(255, 255, 255, 0.14);   /* рамки полей */
  --vc-line-button: rgba(255, 255, 255, 0.18);  /* рамки контурных кнопок */
  --vc-tint: rgba(255, 255, 255, 0.07);         /* плашки, теги */

  --vc-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vc-font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;

  --vc-radius-field: 14px;
  --vc-radius-tag: 16px;
  --vc-radius-card: 24px;
  --vc-radius-card-lg: 28px;
  --vc-radius-block: 32px;

  --vc-gutter: 24px;
}


/* 3. База
   ========================================================================== */

html {
  font-family: var(--vc-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--vc-text);
  background: var(--vc-ink);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--vc-ink);
}

/* Страница с подвалом, прижатым к низу */
.vc-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.vc-page > main { flex: 1 0 auto; }

a,
.uk-link {
  color: var(--vc-text);
  text-decoration: none;
}
a:hover,
.uk-link:hover,
.uk-link-toggle:hover .uk-link {
  color: var(--vc-white);
  text-decoration: none;
}

.uk-link-muted a,
a.uk-link-muted { color: var(--vc-muted); }
.uk-link-muted a:hover,
a.uk-link-muted:hover { color: var(--vc-white); }

/* Подчёркнутая ссылка в тексте («Регистрация», «Правила сайта») */
.vc-link-underline {
  font-weight: 700;
  color: var(--vc-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vc-link-underline:hover { color: var(--vc-accent); text-decoration: underline; }

.vc-link-accent { font-weight: 600; color: var(--vc-accent); }
.vc-link-accent:hover { color: var(--vc-accent-hover); }

strong, b { font-weight: 700; color: var(--vc-white); }
em { color: inherit; }
hr, .uk-hr { border-top-color: var(--vc-line); }

::selection { background: var(--vc-accent); color: var(--vc-ink); text-shadow: none; }

:focus-visible { outline: 2px solid var(--vc-accent); outline-offset: 3px; }

/* Заголовки */
h1, .uk-h1, h2, .uk-h2, h3, .uk-h3, h4, .uk-h4, h5, .uk-h5, h6, .uk-h6,
.uk-heading-small, .uk-heading-medium, .uk-heading-large, .uk-heading-xlarge {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 500;
  color: var(--vc-white);
  text-transform: none;
}
* + h1, * + .uk-h1, * + h2, * + .uk-h2, * + h3, * + .uk-h3,
* + h4, * + .uk-h4, * + h5, * + .uk-h5, * + h6, * + .uk-h6 { margin-top: 0; }

/* Шкала заголовков (переопределяет размеры UIkit) */
.uk-heading-xlarge {        /* заголовок главной */
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.uk-heading-large {         /* заголовок внутренней страницы */
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.uk-heading-medium {        /* заголовок раздела */
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.uk-heading-small {         /* заголовок в кабинете, на входе */
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1, .uk-h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h2, .uk-h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }
h3, .uk-h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }
h4, .uk-h4 { font-size: 19px; line-height: 1.35; }
h5, .uk-h5 { font-size: 17px; line-height: 1.4; }
h6, .uk-h6 { font-size: 15px; line-height: 1.4; }

p, ul, ol, dl, pre, address, fieldset, figure { margin: 0; }
* + p, * + ul, * + ol, * + dl, * + pre, * + address, * + fieldset, * + figure { margin-top: 0; }

/* Текстовые утилиты UIkit */
.uk-text-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--vc-muted); }
.uk-text-meta { font-size: 14px; line-height: 1.5; color: var(--vc-muted); }
.uk-text-meta a { color: var(--vc-muted); }
.uk-text-meta a:hover { color: var(--vc-white); }
.uk-text-muted { color: var(--vc-muted) !important; }
.uk-text-emphasis { color: var(--vc-white) !important; }
.uk-text-primary { color: var(--vc-accent) !important; }
.uk-text-small { font-size: 13px; line-height: 1.5; }
.uk-text-large { font-size: 18px; line-height: 1.6; }

.vc-text-display { font-family: var(--vc-font-display); }
.vc-text-soft { color: var(--vc-text-soft); }
.vc-break { overflow-wrap: anywhere; }

/* Надзаголовок: «Виртуальная капсула времени», «Личный кабинет» */
.vc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--vc-accent);
}
.vc-eyebrow-dot::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.vc-eyebrow-muted { font-size: 12px; color: var(--vc-muted); }

/* Иконки: размер задаётся ratio (20px × ratio), цвет — currentColor */
.uk-icon > svg { display: block; }
.vc-icon-accent { color: var(--vc-accent); }


/* 4. Сетка и секции UIkit
   ========================================================================== */

.uk-container {
  max-width: 1200px;
  padding-left: var(--vc-gutter);
  padding-right: var(--vc-gutter);
}
.uk-container-small { max-width: 900px; }
.uk-container-xsmall { max-width: 760px; }

.uk-section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.uk-section-small {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.uk-section-xsmall {
  padding-top: 48px;
  padding-bottom: clamp(64px, 8vw, 112px);
}
.uk-section-default { background: var(--vc-ink); }

/* Светлая секция */
.uk-section-muted {
  background: var(--vc-light);
  color: var(--vc-light-text);
}
.uk-section-muted h1, .uk-section-muted h2, .uk-section-muted h3, .uk-section-muted h4,
.uk-section-muted .uk-heading-medium, .uk-section-muted .uk-card-title { color: var(--vc-light-text); }
.uk-section-muted .uk-text-lead,
.uk-section-muted .uk-text-muted { color: var(--vc-light-muted) !important; }

/* Отступы между блоками: UIkit margin-* по шкале макета */
.uk-margin { margin-bottom: 24px; }
.uk-margin-small-top { margin-top: 12px !important; }
.uk-margin-small-bottom { margin-bottom: 12px !important; }
.uk-margin-top { margin-top: 24px !important; }
.uk-margin-bottom { margin-bottom: 24px !important; }
.uk-margin-medium-top { margin-top: 40px !important; }
.uk-margin-medium-bottom { margin-bottom: 40px !important; }
.uk-margin-large-top { margin-top: 56px !important; }
.uk-margin-large-bottom { margin-bottom: 56px !important; }
@media (max-width: 959px) {
  .uk-margin-large-top { margin-top: 40px !important; }
  .uk-margin-large-bottom { margin-bottom: 40px !important; }
}

/* Вертикальный стек с промежутком: <div class="vc-stack" style="--gap"> не нужен —
   используйте модификаторы */
.vc-stack { display: flex; flex-direction: column; gap: 16px; }
.vc-stack > * { margin: 0 !important; }
.vc-stack-xsmall { gap: 4px; }
.vc-stack-small { gap: 10px; }
.vc-stack-medium { gap: 24px; }
.vc-stack-large { gap: 32px; }
.vc-stack-xlarge { gap: 56px; }

/* Сетка UIkit: промежутки как в макете */
.uk-grid-small { margin-left: -12px; }
.uk-grid-small > * { padding-left: 12px; }
.uk-grid + .uk-grid-small, .uk-grid-small > .uk-grid-margin { margin-top: 12px; }
.uk-grid-medium { margin-left: -20px; }
.uk-grid-medium > * { padding-left: 20px; }
.uk-grid + .uk-grid-medium, .uk-grid-medium > .uk-grid-margin { margin-top: 20px; }


/* 5. Кнопки UIkit
   ========================================================================== */

.uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 28px;
  font-family: var(--vc-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.uk-button-small {
  height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  font-size: 15px;
}
.uk-button-medium {
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  font-size: 15px;
}
.uk-button-large {
  height: 60px;
  padding: 0 36px;
  border-radius: 30px;
  font-size: 17px;
}

/* Главная · янтарная */
.uk-button-primary,
.uk-button-primary:focus {
  background: var(--vc-accent);
  color: var(--vc-ink);
}
.uk-button-primary:hover,
.uk-button-primary:active,
.uk-button-primary.uk-active {
  background: var(--vc-accent-hover);
  color: var(--vc-ink);
}

/* Белая · «Регистрация» */
.uk-button-secondary,
.uk-button-secondary:focus {
  background: var(--vc-white);
  color: var(--vc-ink);
}
.uk-button-secondary:hover,
.uk-button-secondary:active {
  background: #E2E3EA;
  color: var(--vc-ink);
}

/* Контурная */
.uk-button-default,
.uk-button-default:focus {
  background: transparent;
  border-color: var(--vc-line-button);
  color: var(--vc-text);
  font-weight: 600;
}
.uk-button-default:hover,
.uk-button-default:active,
.uk-button-default.uk-active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--vc-white);
}

/* Тёмная — на янтарном блоке */
.vc-button-dark,
.vc-button-dark:focus {
  background: var(--vc-ink);
  color: var(--vc-white);
}
.vc-button-dark:hover { background: #1E2030; color: var(--vc-white); }

/* Текстовая · «Войти» */
.uk-button-text {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vc-text);
}
.uk-button-text::before { display: none; }
.uk-button-text:hover,
.uk-button-text:focus { color: var(--vc-white); }
.uk-button-text.vc-accent { padding: 0; color: var(--vc-accent); }
.uk-button-text.vc-accent:hover { color: var(--vc-accent-hover); }

/* Кнопка-ссылка в списке «Удалить» и прочие небольшие с рамкой поля */
.vc-button-ghost,
.vc-button-ghost:focus {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--vc-radius-field);
  border-color: var(--vc-line-field);
  background: transparent;
  color: var(--vc-text);
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
}
.vc-button-ghost:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--vc-white); }

/* Круглая кнопка-иконка */
.vc-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--vc-line);
  border-radius: 50%;
  background: var(--vc-surface);
  color: var(--vc-white);
  cursor: pointer;
}
.vc-icon-button:hover { color: var(--vc-white); border-color: var(--vc-line-button); }
.vc-icon-button-accent { border-color: var(--vc-accent); background: var(--vc-accent); color: var(--vc-ink); }
.vc-icon-button-accent:hover { background: var(--vc-accent-hover); color: var(--vc-ink); }

.uk-button:disabled,
.uk-button-primary:disabled,
.uk-button-default:disabled {
  background: var(--vc-surface-2);
  border-color: transparent;
  color: var(--vc-muted);
}

@media (max-width: 639px) {
  .uk-button { padding-left: 24px; padding-right: 24px; }
}


/* 6. Формы UIkit
   ========================================================================== */

.uk-input,
.uk-select,
.uk-textarea {
  box-sizing: border-box;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--vc-line-field);
  border-radius: var(--vc-radius-field);
  background: var(--vc-surface);
  color: var(--vc-white);
  font-family: var(--vc-font);
  font-size: 16px;
  transition: border-color 0.15s;
}
.uk-textarea {
  height: auto;
  padding: 16px 18px;
  line-height: 1.6;
  resize: vertical;
}
.uk-form-large:not(textarea):not([multiple]):not([size]) { height: 54px; }
.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
  border-color: var(--vc-accent);
  background: var(--vc-surface);
  color: var(--vc-white);
  outline: none;
}
.uk-input::placeholder,
.uk-textarea::placeholder { color: var(--vc-placeholder); }
.uk-input[type="date"] { color-scheme: dark; }

/* Поле внутри карточки — фон страницы */
.uk-card .uk-input,
.uk-card .uk-select,
.uk-card .uk-textarea,
.uk-card .uk-input:focus,
.uk-card .uk-textarea:focus { background: var(--vc-ink); }

.uk-form-danger, .uk-form-danger:focus { border-color: #F07F7F !important; color: var(--vc-white); }
.uk-form-success, .uk-form-success:focus { border-color: #6FCF97 !important; color: var(--vc-white); }

.uk-form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vc-text);
}
.uk-form-controls + .vc-form-hint,
.vc-form-hint { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--vc-muted); }

/* Поле с иконкой (поиск) */
.uk-search-input,
.uk-inline .uk-input.vc-input-round { border-radius: 26px; }
.uk-inline { display: block; }
.uk-form-icon { width: 48px; color: var(--vc-muted); }
.uk-form-icon:not(.uk-form-icon-flip) ~ .uk-input { padding-left: 48px !important; }

/* Чекбокс */
.uk-checkbox {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border: 1px solid var(--vc-line-button);
  border-radius: 6px;
  background-color: var(--vc-surface);
  cursor: pointer;
}
.uk-checkbox:focus { border-color: var(--vc-accent); outline: none; }
.uk-checkbox:checked,
.uk-checkbox:checked:focus {
  border-color: var(--vc-accent);
  background-color: var(--vc-accent);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20fill%3D%22%230B0C14%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%3C%2Fsvg%3E");
}
.vc-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--vc-muted);
  cursor: pointer;
}
.vc-check a { color: var(--vc-white); text-decoration: underline; text-underline-offset: 3px; }

/* Переключатель: <input type="checkbox" class="vc-switch" role="switch"> */
.vc-switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 60px;
  height: 34px;
  margin: 0;
  border: 0;
  border-radius: 17px;
  background: var(--vc-surface-3);
  cursor: pointer;
  transition: background-color 0.2s;
}
.vc-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vc-white);
  transition: left 0.2s, background-color 0.2s;
}
.vc-switch:checked { background: var(--vc-accent); }
.vc-switch:checked::after { left: 30px; background: var(--vc-ink); }

/* Таблетки выбора: +1 год, +2 года… (кнопки с aria-pressed) */
.vc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--vc-line-button);
  border-radius: 18px;
  background: transparent;
  color: var(--vc-text);
  font: 600 14px var(--vc-font);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.vc-pill:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--vc-white); }
.vc-pill[aria-pressed="true"] {
  border-color: var(--vc-accent);
  background: var(--vc-accent);
  color: var(--vc-ink);
}
/* Чип «Отправить самому себе» — янтарный текст */
.vc-pill-accent { height: 34px; padding: 0 12px; border-radius: 17px; font-size: 13px; color: var(--vc-accent); }
.vc-pill-accent:hover { color: var(--vc-accent-hover); }

/* Поле загрузки файлов (uk-form-custom + uk-placeholder) */
.vc-dropzone { display: block; }
.vc-dropzone .uk-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 32px 24px;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: var(--vc-ink);
  color: var(--vc-white);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.vc-dropzone:hover .uk-placeholder,
.vc-dropzone .uk-dragover { border-color: var(--vc-accent); }
.vc-dropzone input[type="file"]:focus-visible + .uk-placeholder { outline: 2px solid var(--vc-accent); outline-offset: 3px; }
.vc-dropzone-files:empty { display: none; }


/* 7. Карточки UIkit
   ========================================================================== */

.uk-card { border-radius: var(--vc-radius-card); }
.uk-card-body { padding: 28px; }
.uk-card-small .uk-card-body, .uk-card-small.uk-card-body { padding: 20px 22px; }
.uk-card-large .uk-card-body, .uk-card-large.uk-card-body { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--vc-radius-card-lg); }
@media (max-width: 639px) {
  .uk-card-body { padding: 24px 20px; }
}

.uk-card-default {
  border: 1px solid var(--vc-line);
  background: var(--vc-surface);
  color: var(--vc-text);
  box-shadow: none;
}
.uk-card-default .uk-card-title { color: var(--vc-white); }
.uk-card-hover:not(.uk-card-default):not(.uk-card-primary):not(.uk-card-secondary):hover,
.uk-card-default.uk-card-hover:hover {
  border-color: var(--vc-line-button);
  background: #191B2C;
  box-shadow: none;
}

.uk-card-title {
  font-family: var(--vc-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--vc-white);
}
.uk-card-title.vc-lg { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; }

/* Карточка на светлой секции */
.uk-section-muted .uk-card-default {
  border-color: transparent;
  background: var(--vc-white);
  color: var(--vc-light-text);
}
.uk-section-muted .uk-card-default .uk-card-title { color: var(--vc-light-text); }

/* Янтарный блок (призыв к действию) */
.uk-card-primary {
  border-radius: var(--vc-radius-block);
  background: var(--vc-accent);
  color: var(--vc-ink);
}
.uk-card-primary.uk-card-body,
.uk-card-primary > :not([class*="uk-card-media"]) { --uk-inverse: dark; color: var(--vc-ink); }
/* UIkit красит текст в uk-card-primary в белый (inverse) — возвращаем тёмный */
.uk-card-primary :is(h1, h2, h3, h4, .uk-heading-medium, .uk-heading-small, .uk-card-title, p),
.uk-card-primary > :not([class*="uk-card-media"]) :is(h1, h2, h3, h4, .uk-heading-medium, .uk-heading-small, .uk-card-title, p) { color: var(--vc-ink); }
/* Тёмная кнопка на янтарном блоке — белый текст */
.uk-card-primary .vc-button-dark,
.uk-card-primary > :not([class*="uk-card-media"]).vc-button-dark,
.uk-card-primary .vc-button-dark:hover { color: var(--vc-white); }

/* Внутренняя плашка на карточке (тёмная) */
.vc-inset {
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--vc-ink);
}


/* 8. Прочие компоненты UIkit
   ========================================================================== */

/* Аккордеон «Вопрос-Ответ»: <ul class="uk-accordion vc-faq" uk-accordion> */
.vc-faq { border-top: 1px solid var(--vc-line-strong); }
.vc-faq > * { border-bottom: 1px solid var(--vc-line-strong); }
.vc-faq > :nth-child(n+2) { margin-top: 0; }
.vc-faq .uk-accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 0;
  box-sizing: border-box;
  font-family: var(--vc-font);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--vc-white);
}
.vc-faq .uk-accordion-title:hover { color: var(--vc-white); }
.vc-faq .uk-accordion-content {
  margin-top: 0;
  padding: 0 64px 28px 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--vc-muted);
}
.vc-faq .uk-accordion-content > * + * { margin-top: 12px; }
@media (max-width: 639px) {
  .vc-faq .uk-accordion-title { font-size: 17px; }
  .vc-faq .uk-accordion-content { padding-right: 0; font-size: 16px; }
}
.vc-faq-icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--vc-line-button);
  border-radius: 50%;
  color: var(--vc-white);
  transition: background-color 0.15s, border-color 0.15s;
}
/* Плюс / минус рисуются псевдоэлементами */
.vc-faq-icon::before,
.vc-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s;
}
.vc-faq-icon::after { transform: rotate(90deg); }
.vc-faq > .uk-open .vc-faq-icon {
  border-color: var(--vc-accent);
  background: var(--vc-accent);
  color: var(--vc-ink);
}
.vc-faq > .uk-open .vc-faq-icon::after { transform: rotate(0deg); }

/* Вкладки-таблетки: <ul class="uk-subnav uk-subnav-pill vc-tabs" uk-switcher> */
.vc-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--vc-line);
  border-radius: 22px;
  background: var(--vc-surface);
}
.vc-tabs > * { padding-left: 0; }
.uk-subnav-pill.vc-tabs > * > :first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 16px;
  background: transparent;
  color: var(--vc-text);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}
.uk-subnav-pill.vc-tabs > * > a:hover { background: var(--vc-hover); color: var(--vc-white); }
.uk-subnav-pill.vc-tabs > .uk-active > a,
.uk-subnav-pill.vc-tabs > .uk-active > a:hover { background: var(--vc-accent); color: var(--vc-ink); }

/* Счётчик во вкладке */
.uk-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--vc-text) !important;
  font-size: 12px;
  font-weight: 700;
}
.uk-active > a > .uk-badge { background: rgba(11, 12, 20, 0.18); color: var(--vc-ink) !important; }

/* Метки и теги: <span class="uk-label"> */
.uk-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 12px;
  background: var(--vc-tint);
  color: var(--vc-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
  white-space: nowrap;
}
.uk-label-large { padding: 6px 12px; border-radius: var(--vc-radius-field); font-size: 13px; }
.uk-label-muted { background: rgba(255, 255, 255, 0.05); color: var(--vc-muted); font-weight: 500; }
.uk-label-warning { background: rgba(245, 184, 65, 0.14); color: var(--vc-accent); }
.uk-label-primary { background: var(--vc-accent); color: var(--vc-ink); }

.uk-divider-small::after { border-top-color: var(--vc-accent); }
hr.uk-divider-icon, .uk-divider-icon { opacity: 0.4; }

/* Списки */
.uk-list > * > :last-child { margin-bottom: 0; }
.uk-list-divider > :nth-child(n+2) { border-top-color: var(--vc-line); }
.vc-list-check > * { display: flex; align-items: center; gap: 8px; }

/* Модальное окно (подтверждение удаления) */
.uk-modal { background: rgba(5, 6, 12, 0.75); }
.uk-modal-dialog {
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-card);
  background: var(--vc-surface);
  color: var(--vc-text);
}
.uk-modal-body { padding: 28px; }
.uk-modal-header, .uk-modal-footer {
  padding: 20px 28px;
  border-color: var(--vc-line);
  background: transparent;
}
.uk-modal-footer { border-radius: 0 0 var(--vc-radius-card) var(--vc-radius-card); }
.uk-modal-footer .uk-button { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15px; }
.uk-modal-footer .uk-button + .uk-button { margin-left: 8px; }
.uk-modal-close-default { color: var(--vc-muted); }
.uk-modal-close-default:hover { color: var(--vc-white); }

/* Уведомления UIkit.notification */
.uk-notification-message {
  border: 1px solid var(--vc-line);
  border-radius: 16px;
  background: var(--vc-surface-2);
  color: var(--vc-white);
  font-size: 15px;
}

/* Содержание длинных страниц (правила, политика): uk-nav + uk-scrollspy-nav */
.vc-toc .uk-nav-header {
  padding: 4px 12px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vc-muted);
  text-transform: uppercase;
}
.vc-toc > li > a {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--vc-muted);
}
.vc-toc > li > a:hover { background: var(--vc-hover); color: var(--vc-white); }
.vc-toc > li.uk-active > a { background: var(--vc-surface-2); color: var(--vc-white); }

/* Текст статьи (правила, политика, О проекте) */
.vc-article { font-size: 17px; line-height: 1.7; color: var(--vc-text-soft); }
.vc-article > * + * { margin-top: 16px; }
.vc-article > * + h2,
.vc-article > * + h3 { margin-top: 48px; }
.vc-article h2, .vc-article h3 { margin-bottom: 4px; scroll-margin-top: 24px; }
.vc-article ul, .vc-article ol { padding-left: 22px; }
.vc-article li + li { margin-top: 8px; }
.vc-article a { color: var(--vc-accent); }
.vc-article a:hover { color: var(--vc-accent-hover); }


/* 9. Шапка
   ========================================================================== */

.vc-header { border-bottom: 1px solid var(--vc-line); }
.vc-header-bare { border-bottom: 0; }
.vc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 48px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Логотип: знак + надпись */
.vc-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  font-family: var(--vc-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--vc-white);
}
.vc-logo:hover { color: var(--vc-white); }
.vc-logo img { display: block; width: 56px; height: 28px; }
.vc-logo-small { font-size: 16px; }
.vc-logo-small img { width: 48px; height: 24px; }

/* Основное меню — uk-subnav */
.vc-nav.uk-subnav { gap: 8px 28px; margin: 0; }
.vc-nav.uk-subnav > * { padding-left: 0; }
.vc-nav.uk-subnav > * > a {
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--vc-muted);
  text-transform: none;
}
.vc-nav.uk-subnav > * > a:hover,
.vc-nav.uk-subnav > .uk-active > a { color: var(--vc-white); }

.vc-header-actions { display: flex; align-items: center; gap: 12px; }

/* Кнопка языка и выпадающий список (uk-dropdown) */
.vc-lang {
  height: 44px;
  padding: 0 14px;
  border-color: var(--vc-line-field);
  border-radius: 22px;
  font-size: 14px;
  gap: 6px;
}
.vc-lang-drop.uk-dropdown {
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--vc-line);
  border-radius: 18px;
  background: var(--vc-surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.vc-lang-drop .uk-dropdown-nav > li > a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--vc-text-soft);
}
.vc-lang-drop .uk-dropdown-nav > li > a:hover { background: var(--vc-hover); color: var(--vc-white); }
.vc-lang-drop .uk-dropdown-nav > li.uk-active > a { color: var(--vc-accent); }

/* Кнопка «Мой кабинет» */
.vc-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 6px;
  box-sizing: border-box;
  border: 1px solid var(--vc-line-field);
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
}
.vc-account:hover { border-color: var(--vc-line-button); }
.vc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vc-surface-2);
  color: var(--vc-accent);
}

/* Кнопка мобильного меню: две белые линии и короткая янтарная */
.vc-burger { flex-direction: column; gap: 5px; }
.vc-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--vc-white);
}
.vc-burger span:last-child { width: 10px; margin-left: 8px; background: var(--vc-accent); }

/* Ссылка «На главную» на страницах входа */
.vc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  font-size: 15px;
  color: var(--vc-muted);
}


/* 10. Мобильное меню — <div id="vc-menu" class="uk-modal-full vc-menu" uk-modal>
   ========================================================================== */

.vc-menu.uk-modal { padding: 0; background: var(--vc-ink); }
.vc-menu .uk-modal-dialog {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  background: var(--vc-ink);
}
.vc-menu-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--vc-line);
}
.vc-menu-section { padding: 12px 20px 0; }
.vc-menu-label { padding: 24px 20px 4px; }

/* Крупные пункты с номерами */
.vc-menu-nav { margin: 0; padding: 0; list-style: none; }
.vc-menu-nav > li > a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  border-bottom: 1px solid var(--vc-line);
}
.vc-menu-num {
  width: 22px;
  flex: none;
  font-family: var(--vc-font-display);
  font-size: 12px;
  color: var(--vc-accent);
}
.vc-menu-text {
  flex: 1;
  min-width: 0;
  font-family: var(--vc-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--vc-white);
}
.vc-menu-nav-cabinet .vc-menu-text { font-size: 20px; }
.vc-menu-nav > li > a > .uk-icon:last-child { color: var(--vc-muted); }
.vc-menu-nav-cabinet > li > a { gap: 14px; }
.vc-menu-nav > li.uk-active .vc-menu-text { color: var(--vc-accent); }
.vc-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--vc-surface);
  color: var(--vc-accent);
}

/* Плитки разделов сайта в меню кабинета */
.vc-menu-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}
.vc-menu-tiles a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 16px;
  background: var(--vc-surface);
  font-size: 15px;
  font-weight: 600;
}

.vc-menu-actions { display: flex; flex-direction: column; gap: 10px; padding: 28px 20px 0; }
.vc-menu-actions .uk-button { width: 100%; }
.vc-menu-actions .uk-grid > * > .uk-button { height: 52px; border-radius: 26px; font-size: 15px; }

.vc-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding: 32px 20px 28px;
}

/* Переключатель языков в меню */
.vc-langs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-langs a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  background: var(--vc-surface);
  font-size: 13px;
  font-weight: 600;
}
.vc-langs .uk-active a { background: var(--vc-accent); color: var(--vc-ink); font-weight: 700; }

.vc-menu-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.vc-menu-legal a { color: var(--vc-muted); }


/* 11. Подвал
   ========================================================================== */

.vc-footer { border-top: 1px solid var(--vc-line); }
.vc-footer a { color: var(--vc-muted); }
.vc-footer a:hover, .vc-footer .uk-active > a { color: var(--vc-white); }

/* Полный подвал (публичные страницы) */
.vc-footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
}
.vc-footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.vc-footer-brand .vc-text-display { font-size: 18px; font-weight: 500; color: var(--vc-white); }
.vc-footer-nav { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.vc-footer-bottom {
  margin-top: 40px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--vc-line);
  font-size: 14px;
  color: var(--vc-muted);
}

/* Короткий подвал (кабинет) */
.vc-footer-short {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--vc-muted);
}
.vc-footer-short .vc-footer-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }


/* 12. Общие блоки сайта
   ========================================================================== */

/* Шапка страницы: заголовок + лид (+ справа действие) */
.vc-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
}
.vc-page-head-text { display: flex; flex: 1 1 520px; flex-direction: column; gap: 20px; min-width: 0; }
.vc-page-head-text .uk-text-lead { max-width: 600px; }

/* Две колонки, которые переносятся сами (flex-wrap, без медиазапросов) */
.vc-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 80px;
}
.vc-split > * { min-width: 0; }
.vc-split-aside { flex: 1 1 320px; }
.vc-split-main { flex: 2 1 560px; }
.vc-split-center { align-items: center; }
.vc-split-stretch { align-items: stretch; }

/* Сетки карточек с автоколонками */
.vc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--vc-col, 260px)), 1fr));
  gap: 20px;
}
.vc-cards-240 { --vc-col: 240px; }
.vc-cards-300 { --vc-col: 300px; }
.vc-cards-340 { --vc-col: 340px; }

/* Квадратная иконка-плашка */
.vc-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--vc-ink);
  color: var(--vc-accent);
}
.vc-tile-icon-small { width: 44px; height: 44px; border-radius: 14px; }
.vc-tile-icon-surface { background: var(--vc-surface-2); }

/* Карточка публичной капсулы */
.vc-capsule-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  box-sizing: border-box;
}
a.vc-capsule-card:hover { color: var(--vc-text); }
.vc-capsule-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  font-size: 13px;
  color: var(--vc-muted);
}
.vc-capsule-card-foot { margin-top: auto; }

/* Статус капсулы */
.vc-status-wait { color: var(--vc-accent); }

/* Заглушка под картинку / вложение */
.vc-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  border-radius: 18px;
  background: var(--vc-surface-2);
  color: var(--vc-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Декоративная капсула (главная, вход) */
.vc-capsule-shape {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 2px solid var(--vc-accent);
}
.vc-capsule-shape > span { flex: 1; }
.vc-capsule-shape > .uk-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.vc-capsule-shape > .uk-icon svg { width: 100%; height: 100%; }

/* Орбиты (декоративные круги) */
.vc-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.vc-orbit-dashed { border-style: dashed; border-color: rgba(255, 255, 255, 0.12); }


/* 13. Главная
   ========================================================================== */

/* Списки без маркеров */
.vc-hero-perks, .vc-steps { margin: 0; padding: 0; list-style: none; }

/* Первый экран */
.vc-hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 112px); }
.vc-hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.vc-hero-text { display: flex; flex: 1 1 480px; flex-direction: column; gap: 28px; min-width: 0; }
.vc-hero-text .uk-text-lead { max-width: 520px; font-size: clamp(17px, 1.7vw, 19px); }
.vc-hero-visual { display: flex; flex: 1 1 420px; justify-content: center; min-width: 0; }
.vc-hero-perks { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 12px; font-size: 14px; color: var(--vc-muted); }
.vc-hero-perks > * { display: flex; align-items: center; gap: 8px; }
.vc-hero-perks .uk-icon { color: var(--vc-accent); }
.vc-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

.vc-orbits {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
}
.vc-orbits > .vc-orbit:nth-child(1) { inset: 0; border-color: rgba(255, 255, 255, 0.07); }
.vc-orbits > .vc-orbit:nth-child(2) { inset: 12%; }
.vc-orbits > .vc-orbit:nth-child(3) { inset: 26%; border-color: rgba(255, 255, 255, 0.09); }
.vc-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vc-accent);
}
.vc-dot-top { top: 9%; left: 50%; margin-left: -5px; }
.vc-dot-small { right: 10%; bottom: 24%; width: 6px; height: 6px; background: var(--vc-white); }

.vc-hero-capsule {
  width: 82%;
  height: 120px;
  border-radius: 60px;
  transform: rotate(-8deg);
}
.vc-hero-capsule > span {
  display: flex;
  align-items: center;
  font-family: var(--vc-font-display);
  font-size: 22px;
  font-weight: 700;
}
.vc-hero-capsule > span:first-child { padding-left: 36px; background: var(--vc-accent); color: var(--vc-ink); }
.vc-hero-capsule > span:last-child { justify-content: flex-end; padding-right: 36px; background: var(--vc-surface); color: var(--vc-white); }
.vc-hero-capsule > .uk-icon { width: 104px; height: 84px; }
@media (max-width: 639px) {
  .vc-hero-capsule { height: 96px; }
  .vc-hero-capsule > span { font-size: 18px; }
  .vc-hero-capsule > span:first-child { padding-left: 24px; }
  .vc-hero-capsule > span:last-child { padding-right: 24px; }
  .vc-hero-capsule > .uk-icon { width: 80px; height: 64px; }
}

.vc-hero-note {
  position: absolute;
  right: 4%;
  bottom: 6%;
  left: 4%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: var(--vc-surface);
}
.vc-hero-note-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--vc-muted); }
.vc-hero-note-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--vc-accent); }
.vc-hero-note-title { font-family: var(--vc-font-display); font-size: 18px; font-weight: 500; color: var(--vc-white); }

/* Шапка секции: заголовок слева, текст или ссылка справа */
.vc-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}
.vc-section-head > .uk-heading-medium { max-width: 620px; }
.vc-section-head > p { max-width: 420px; font-size: 17px; line-height: 1.6; }

/* «Почему VirtCapsule?» */
.vc-feature {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 240px;
  box-sizing: border-box;
  padding: 32px 28px;
}
.vc-feature .uk-card-title { font-size: 19px; line-height: 1.35; }

/* «Как это работает?» — линия времени */
.vc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--vc-line-strong);
}
.vc-step { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 8px 0; }
.vc-step::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: -40px;
  border-radius: 50%;
  background: var(--vc-white);
  box-shadow: 0 0 0 6px var(--vc-ink);
}
.vc-step:first-child::before { background: var(--vc-accent); }
.vc-step-num { font-family: var(--vc-font-display); font-size: 44px; font-weight: 400; line-height: 1.2; color: var(--vc-white); }
.vc-step:first-child .vc-step-num { color: var(--vc-accent); }
.vc-step-title { font-family: var(--vc-font-display); font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--vc-white); }
.vc-step p { font-size: 16px; line-height: 1.6; color: var(--vc-muted); }
@media (max-width: 539px) {
  .vc-step { padding-right: 0; }
}

/* Янтарный призыв */
.vc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 6vw, 80px);
}
.vc-cta-text { display: flex; flex: 1 1 420px; flex-direction: column; gap: 16px; min-width: 0; }
.vc-cta-text .uk-heading-medium { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.vc-cta-text p { max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--vc-ink); }


/* 14. Кабинет
   ========================================================================== */

.vc-cabinet {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.vc-cabinet-side { flex: 1 1 240px; min-width: 0; }
.vc-cabinet-main { display: flex; flex: 999 1 640px; flex-direction: column; gap: 32px; min-width: 0; }

/* Боковое меню — uk-nav */
.vc-side {
  padding: 14px;
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-card);
  background: var(--vc-surface);
}
.vc-side.uk-nav > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vc-text-soft);
}
.vc-side.uk-nav > li > a:hover { background: var(--vc-hover); color: var(--vc-white); }
.vc-side.uk-nav > li.uk-active > a {
  background: var(--vc-surface-2);
  color: var(--vc-white);
  font-weight: 700;
}
.vc-side.uk-nav > li.uk-active > a .uk-icon { color: var(--vc-accent); }
.vc-side .uk-nav-header {
  padding: 10px 14px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vc-muted);
}
.vc-side .uk-nav-divider { margin: 8px 14px; border-top: 1px solid var(--vc-line); }

/* Строки капсул — uk-accordion (toggle: .vc-row-toggle, content: .vc-row-body) */
.vc-rows { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vc-rows > :nth-child(n+2) { margin-top: 0; }
.vc-row {
  overflow: hidden;
  border: 1px solid var(--vc-line);
  border-radius: 20px;
  background: var(--vc-surface);
}
.vc-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px 10px 16px;
}
.vc-row-toggle {
  display: flex;
  flex: 1 1 360px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vc-white);
  font-family: var(--vc-font);
  text-align: left;
  cursor: pointer;
}
.vc-row-toggle:hover { color: var(--vc-white); }
.vc-row-main { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.vc-row-title { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.vc-row-sub { font-size: 14px; color: var(--vc-muted); overflow-wrap: anywhere; }
.vc-row-date { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.vc-row-date > :first-child { font-size: 12px; color: var(--vc-muted); }
.vc-row-date > :last-child { font-size: 14px; font-weight: 700; }
.vc-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--vc-muted);
  transition: transform 0.2s;
}
.vc-row.uk-open .vc-chev { transform: rotate(180deg); }
.vc-row-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  margin: 0 16px 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--vc-ink);
}
.vc-row-body > p { flex: 1 1 320px; font-size: 16px; line-height: 1.7; color: var(--vc-text); }
.vc-row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vc-row-actions .uk-button { height: 44px; padding: 0 18px; border-radius: 22px; font-size: 14px; gap: 8px; }
.vc-row-actions .uk-button-default { color: var(--vc-accent); }

.vc-empty {
  padding: 40px 24px;
  border: 1px dashed var(--vc-line-button);
  border-radius: 20px;
  color: var(--vc-muted);
  text-align: center;
}

@media (max-width: 639px) {
  .vc-row-toggle { gap: 12px; }
  .vc-row-date { display: none; }
}

/* Форма создания капсулы */
.vc-form { display: flex; flex-direction: column; gap: 28px; }
.vc-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}
.vc-field { display: flex; flex-direction: column; gap: 10px; }
.vc-field > .uk-form-label { margin-bottom: 0; }
.vc-field-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.vc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.vc-toggle-row > :first-child { display: flex; flex: 1 1 260px; flex-direction: column; gap: 4px; }
.vc-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--vc-line);
}
.vc-open-date { font-family: var(--vc-font-display); font-size: 18px; font-weight: 500; color: var(--vc-white); }


/* 15. Вход и регистрация
   ========================================================================== */

.vc-auth { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.vc-auth-form-wrap { display: flex; flex: 1 1 440px; align-items: center; justify-content: center; min-width: 0; }
.vc-auth-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 440px; }
.vc-auth-art {
  position: relative;
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 520px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 40px;
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-block);
  background: var(--vc-surface);
}
.vc-auth-art .vc-orbit:nth-child(1) { top: -120px; right: -120px; width: 520px; height: 520px; }
.vc-auth-art .vc-orbit:nth-child(2) { top: -40px; right: -40px; width: 360px; height: 360px; }
.vc-auth-capsule {
  position: absolute;
  top: 120px;
  right: 56px;
  width: 280px;
  height: 96px;
  border-radius: 48px;
  transform: rotate(-12deg);
}
.vc-auth-capsule > span:first-child { background: var(--vc-accent); }
.vc-auth-capsule > span:last-child { background: var(--vc-ink); }
.vc-auth-capsule > .uk-icon { width: 80px; height: 68px; }
.vc-auth-quote {
  position: relative;
  max-width: 420px;
  font-family: var(--vc-font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--vc-white);
}
@media (max-width: 959px) {
  .vc-auth-art { min-height: 360px; padding: 32px; }
  .vc-auth-capsule { top: 72px; right: 24px; width: 220px; height: 76px; }
  .vc-auth-capsule > .uk-icon { width: 64px; height: 54px; }
}

/* Капча (заглушка под картинку) */
.vc-captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 140px;
  height: 52px;
  border-radius: var(--vc-radius-field);
  background: var(--vc-surface-2);
  color: var(--vc-muted);
  font-size: 13px;
  font-weight: 600;
}


/* 16. О проекте, Публичные капсулы, Вопрос-Ответ
   ========================================================================== */

/* Общие блоки
   ========================================================================== */

/* Секция с равными отступами 96px (вступление, девиз) */
.vc-section-96 { padding-top: 96px; padding-bottom: 96px; }

/* Сетка карточек: колонка от 280px */
.vc-cards-280 { --vc-col: 280px; }


/* О проекте
   ========================================================================== */

/* Вступление: надзаголовок, заголовок, лид */
.vc-intro { display: flex; flex-direction: column; gap: 28px; }
.vc-intro > * { margin: 0 !important; }
.vc-intro .uk-heading-large { max-width: 980px; font-size: clamp(36px, 5vw, 68px); }
.vc-intro .uk-text-lead { max-width: 680px; font-size: 20px; }

/* Заголовок раздела страницы «О проекте» (меньше uk-heading-medium) */
.uk-heading-medium.vc-heading-compact { font-size: clamp(30px, 3.6vw, 46px); }

/* Колонки «Идея проекта»: текст переносится раньше, чем в vc-split */
.vc-split-480 > .vc-split-main { flex-basis: 480px; }

/* Цитата на светлой секции */
.vc-quote {
  margin: 0;
  padding: 0;
  font-family: var(--vc-font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  color: var(--vc-light-text);
}
.uk-section-muted .uk-text-large { line-height: 1.7; }

/* Карточки «Для кого этот проект?» */
.vc-audience {
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-height: 354px;
  box-sizing: border-box;
  padding: 36px 32px;
}

/* Круглая иконка с янтарной обводкой */
.vc-ring-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  box-sizing: border-box;
  border: 1.5px solid var(--vc-accent);
  border-radius: 50%;
  color: var(--vc-accent);
}

/* Две карточки в ряд, переносятся сами */
.vc-duo { display: flex; flex-wrap: wrap; gap: 20px; }
.vc-duo > * { flex: 1 1 420px; min-width: 0; }

/* Большая карточка-панель («Почему это бесплатно?», «Как это работает?») */
.vc-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-sizing: border-box;
  padding: 48px 40px;
  border-radius: var(--vc-radius-card-lg);
}
.vc-panel-loose { gap: 28px; }
.vc-panel h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.uk-card-primary.vc-panel p { color: var(--vc-ink); }
.vc-panel .uk-button { height: 52px; padding: 0 26px; border-radius: 26px; }

/* Нумерованный список шагов */
.vc-num-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  list-style: none;
  font-size: 17px;
  line-height: 1.35;
}
.vc-num-list > li { display: flex; align-items: center; gap: 16px; }
.vc-num-list-num {
  flex: none;
  width: 28px;
  font-family: var(--vc-font-display);
  font-size: 14px;
  color: var(--vc-accent);
}

/* Девиз внизу страницы */
.vc-slogan-section { border-top: 1px solid var(--vc-line); text-align: center; }
.vc-slogan {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--vc-font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--vc-white);
}


/* Публичные капсулы
   ========================================================================== */

/* Поиск в шапке страницы */
.vc-search { flex: 0 1 360px; min-width: 0; }

/* Карточка публичной капсулы на странице списка */
.vc-pub-card { gap: 24px; padding: 32px; border-radius: var(--vc-radius-card-lg); }
.vc-pub-card .vc-capsule-card-top .uk-label { gap: 8px; }
.vc-pub-card .uk-h3 { font-size: 24px; }

/* Пунктирный блок с призывом */
.vc-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 40px;
  border: 1.5px dashed var(--vc-line-button);
  border-radius: var(--vc-radius-card-lg);
}
.vc-callout-text { display: flex; flex: 1 1 420px; flex-direction: column; gap: 12px; min-width: 0; }
.vc-callout-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.vc-callout-text p { font-size: 17px; line-height: 1.6; }


/* Вопрос-Ответ
   ========================================================================== */

/* Карточка «Не нашли ответ?» */
.vc-faq-help { gap: 14px; }
.vc-faq-help .uk-card-title { font-size: 17px; }
.vc-faq-help p { font-size: 15px; line-height: 1.6; }


/* 17. Контакты, Правила сайта, Политика конфиденциальности
   ========================================================================== */

/* Общее: круглая янтарная иконка (e-mail на «Контактах» и в «Политике»)
   ========================================================================== */

.vc-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--vc-accent);
  color: var(--vc-ink);
}
.vc-icon-circle-small { width: 44px; height: 44px; }

/* Карточка-ссылка с иконкой слева и текстом справа */
.vc-contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
a.vc-contact-card:hover { color: var(--vc-text); }
.vc-contact-card-small {
  display: inline-flex;
  gap: 16px;
  padding: 18px 22px;
  line-height: 1.4;
  border-radius: 20px;
}


/* Контакты
   ========================================================================== */

/* Две колонки: текст с e-mail и форма (переносятся сами) */
.vc-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 64px;
}
.vc-contact-info { flex: 1 1 420px; min-width: 0; }
.vc-contact-form { flex: 1 1 460px; min-width: 0; }

.vc-contact-note { font-size: 15px; }


/* Правила сайта и Политика конфиденциальности
   ========================================================================== */

/* Шапка страницы: переключатель документов, заголовок, вводный абзац */
.vc-legal-head { max-width: 860px; }
.vc-legal-head .uk-heading-large { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; }
.vc-legal-head .uk-text-lead { font-size: 19px; }

/* Компактные вкладки-ссылки (Правила / Политика) */
.uk-subnav-pill.vc-tabs-small > * > :first-child { height: 40px; font-size: 14px; }
.uk-subnav-pill.vc-tabs-small > .uk-active > a { font-weight: 700; }

/* Две колонки: содержание слева, текст справа (переносятся сами) */
.vc-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;      /* колонки тянутся по высоте — нужно для uk-sticky (end: true) */
}
.vc-legal-aside { flex: 1 1 290px; min-width: 0; }
.vc-legal-main { flex: 3 1 560px; min-width: 0; }

/* Карточка содержания (uk-nav vc-toc внутри) */
.vc-legal-toc {
  padding: 14px;
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-card);
  background: var(--vc-surface);
}
.vc-legal-toc .vc-toc .uk-nav-header { padding: 10px 14px 8px; }
.vc-legal-toc .vc-toc > li + li { margin-top: 2px; }
.vc-legal-toc .vc-toc > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 15px;
}
.vc-toc-num { font-family: var(--vc-font-display); font-size: 11px; color: var(--vc-accent); }

/* Кнопка внутри текста статьи сохраняет свой цвет */
.vc-article .uk-button-primary,
.vc-article .uk-button-primary:hover { color: var(--vc-ink); }

/* Раздел документа: номер, заголовок, текст; разделитель сверху */
.vc-legal-section { gap: 14px; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.vc-legal-section:first-child { padding-top: 0; border-top: 0; }
.vc-legal-section:last-child { gap: 18px; padding-bottom: 0; }
.vc-legal-section > h2 { font-size: 24px; line-height: 1.25; }
.vc-legal-num { font-family: var(--vc-font-display); font-size: 13px; line-height: 1.25; color: var(--vc-accent); }

/* Список с точками: <ul class="uk-list vc-list-dot"> (текст пункта — в <span>) */
.vc-article .vc-list-dot { padding-left: 0; line-height: 1.6; }
.vc-list-dot > li { display: flex; gap: 14px; }
.vc-list-dot > li + li { margin-top: 10px; }
.vc-list-dot > li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--vc-accent);
}
.vc-list-dot-muted > li::before { background: var(--vc-muted); }


/* 18. Ваши капсулы, Профиль, Открытая капсула
   ========================================================================== */

/* Общее
   ========================================================================== */

/* Второстепенный текст 15px: пояснения под вкладками, подзаголовки форм */
.vc-note { font-size: 15px; line-height: 1.6; color: var(--vc-muted); }


/* Ваши капсулы
   ========================================================================== */

/* Вкладки не растягиваются на всю ширину колонки */
.vc-cabinet-main > .vc-tabs { align-self: flex-start; }

/* «Показать ещё» под списком */
.vc-stack > .vc-more { align-self: center; margin-top: 8px !important; }

/* Пустой список с кнопкой «Создать капсулу» */
.vc-empty-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 32px;
  border: 1.5px dashed var(--vc-line-button);
  border-radius: var(--vc-radius-card);
}
.vc-empty-cta .uk-card-title { font-size: 20px; }


/* Профиль
   ========================================================================== */

/* Карточка аккаунта: аватар + e-mail */
.vc-profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.uk-card-large.uk-card-body.vc-profile-card { padding: 28px 32px; }
.vc-profile-account { flex: 1 1 240px; min-width: 0; }

/* Крупный аватар (64px) */
.vc-avatar-large { width: 64px; height: 64px; }

/* Узкая форма (смена пароля) */
/* 640px содержимого + поля карточки */
.vc-form-narrow { gap: 22px; max-width: 714px; }
.vc-form-intro { gap: 6px; }
.vc-form-narrow > .uk-button {
  align-self: flex-start;
  height: 52px;
  margin-top: 6px;
  border-radius: 26px;
}


/* Открытая капсула
   ========================================================================== */

.uk-section-xsmall.vc-capsule-view { padding-top: 40px; }
.vc-capsule-view-stack { gap: 40px; }
.vc-capsule-view-stack > .vc-back { align-self: flex-start; }

/* Первый экран: текст + две половинки капсулы */
.vc-capsule-hero { gap: 40px 64px; }
.vc-capsule-hero-text { display: flex; flex: 1 1 460px; flex-direction: column; gap: 22px; min-width: 0; }
.vc-capsule-hero-visual { display: flex; flex: 1 1 380px; justify-content: center; min-width: 0; }

/* Метка «Капсула открылась» */
.uk-label.vc-label-status {
  align-self: flex-start;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--vc-radius-tag);
  color: var(--vc-accent);
  font-size: 14px;
  font-weight: 700;
}

.vc-capsule-title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* От кого / создана / открыта */
.vc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.vc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--vc-line);
  border-radius: 18px;
  background: var(--vc-surface);
}
.vc-meta dt { font-size: 13px; font-weight: 400; color: var(--vc-muted); }
.vc-meta dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--vc-text); }

/* Раскрытая капсула: орбита, половинки 2025 / 2026, точки */
.vc-capsule-open {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  height: 260px;
}
.vc-capsule-open > .vc-orbit { width: 240px; height: 240px; }
.vc-capsule-halves {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  transform: rotate(-8deg);
}
.vc-capsule-halves > span {
  display: flex;
  align-items: center;
  width: 150px;
  height: 96px;
  box-sizing: border-box;
  border: 2px solid var(--vc-accent);
  font-family: var(--vc-font-display);
  font-size: 18px;
  font-weight: 700;
}
.vc-capsule-halves > :first-child {
  padding-left: 26px;
  border-radius: 48px 0 0 48px;
  background: var(--vc-accent);
  color: var(--vc-ink);
  transform: translateY(-14px) rotate(-10deg);
}
.vc-capsule-halves > :last-child {
  justify-content: flex-end;
  padding-right: 26px;
  border-radius: 0 48px 48px 0;
  background: var(--vc-surface);
  color: var(--vc-white);
  transform: translateY(14px) rotate(10deg);
}
.vc-capsule-open > .vc-dot-1 { top: 34px; left: 50%; width: 8px; height: 8px; }
.vc-capsule-open > .vc-dot-2 { bottom: 40px; left: 42%; width: 5px; height: 5px; background: var(--vc-white); }
.vc-capsule-open > .vc-dot-3 { top: 70px; right: 28%; width: 4px; height: 4px; }

/* Послание и вложения */
.vc-capsule-content { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.vc-capsule-aside { display: flex; flex: 1 1 320px; flex-direction: column; gap: 16px; min-width: 0; }

/* Текст послания — светлая карточка */
.vc-letter {
  display: flex;
  flex: 2 1 560px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--vc-radius-card-lg);
  background: var(--vc-light);
  color: var(--vc-light-text);
}
.vc-letter .vc-eyebrow { color: var(--vc-light-muted); }
.vc-letter-text {
  font-family: var(--vc-font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  white-space: pre-line;
}
.vc-letter-sign { font-size: 15px; color: var(--vc-light-muted); }

/* Карточка вложений */
.uk-card-body.vc-attach { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.vc-attach .uk-card-title { font-size: 17px; }
.vc-attach .vc-placeholder {
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 400;
}
.vc-file {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--vc-ink);
}
.vc-file > .uk-icon:last-child { color: var(--vc-muted); }
.vc-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--vc-surface-2);
  color: var(--vc-accent);
}
.vc-file-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.vc-attach .uk-button { gap: 8px; }

/* «Ответить в будущее» — янтарная карточка-ссылка */
.uk-card-primary.vc-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: var(--vc-radius-card);
}
.uk-card-primary.vc-reply:hover { background: var(--vc-accent-hover); color: var(--vc-ink); }
.vc-reply-title { font-family: var(--vc-font-display); font-size: 17px; font-weight: 500; }
.vc-reply-sub { font-size: 14px; }

/* Плотные подписи в плашках, вложениях и «Ответить в будущее» */
.vc-meta, .vc-attach, .vc-reply { line-height: 1.35; }


/* 19. Вход, регистрация (дополнение), шпаргалка по стилю
   ========================================================================== */

/* Вход и регистрация (дополнение к разделу 15)
   ========================================================================== */

/* Блоки входа растягиваются на всю высоту экрана под шапкой */
.vc-auth-main {
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(64px, 8vw, 96px);
}
.vc-auth-main > .uk-container {
  flex: 1 0 auto;
  width: calc(100% - 2 * var(--vc-gutter));
}

/* Заголовок и лид формы — дополнительный отступ снизу, как в макете */
.vc-auth-form > h1,
.vc-auth-form > h1 + .uk-text-muted { margin-bottom: 8px; }

/* Поля формы входа — 54px, капча той же высоты */
.vc-auth-form .uk-input { height: 54px; }
.vc-auth-form .vc-captcha { height: 54px; }

/* Подпись поля со ссылкой «Забыли пароль?» */
.vc-auth-form .vc-field-head { align-items: baseline; gap: 12px; font-size: 14px; }
.vc-field-head > .uk-form-label { margin-bottom: 0; }

/* Согласие с правилами */
.vc-auth-form .vc-check { min-height: 44px; font-size: 15px; }

/* Кнопка «Войти» и строка «Ещё нет аккаунта?» */
.vc-auth-submit { margin-top: 8px; }
.vc-auth-alt { margin-top: 8px; font-size: 15px; }

/* Янтарный блок на странице регистрации (uk-card-primary) */
.vc-auth-promo {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-width: 0;
  min-height: 560px;
  box-sizing: border-box;
  padding: 44px 40px;
  box-shadow: none;
}
.vc-auth-promo .vc-eyebrow { color: var(--vc-ink); }
.vc-auth-promo-title {
  font-family: var(--vc-font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.vc-auth-promo-list { font-size: 17px; font-weight: 600; line-height: 1.4; }
.vc-auth-promo-list > * { gap: 12px; }
.vc-auth-promo-list > :nth-child(n+2) { margin-top: 10px; }


/* Шпаргалка по стилю (style-guide.html)
   ========================================================================== */

/* Колонка страницы: разделы через 72px */
.vc-sg {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-top: 64px;
  padding-bottom: clamp(64px, 9vw, 112px);
}
.vc-sg-lead { max-width: 720px; }
.vc-sg-intro { max-width: 860px; margin-bottom: 24px; }

/* Заголовок раздела с номером */
.vc-sg-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 28px;
  line-height: 1.2;
}
.vc-sg-title > span { font-size: 14px; color: var(--vc-accent); }
.vc-sg-title + .vc-sg-intro { margin-top: -8px; }

/* Сетка карточек и карточка (uk-card uk-card-default) */
.vc-sg-grid { --vc-col: 220px; gap: 16px; }
.vc-sg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
}
.vc-sg-card-lg { gap: 24px; align-items: stretch; }
.vc-sg-card-light { background: var(--vc-light); }
.vc-sg-card-light .vc-sg-name { color: var(--vc-light-text); }
.vc-sg-card-light .vc-sg-code { color: var(--vc-light-muted); }
.vc-sg-name { font-size: 15px; font-weight: 700; color: var(--vc-white); }

/* Образец цвета */
.vc-sg-sw {
  align-self: stretch;
  height: 88px;
  box-sizing: border-box;
  border: 1px solid var(--vc-line-strong);
  border-radius: var(--vc-radius-field);
}
.vc-sg-sw-ink { background: var(--vc-ink); }
.vc-sg-sw-surface { background: var(--vc-surface); }
.vc-sg-sw-surface-2 { background: var(--vc-surface-2); }
.vc-sg-sw-surface-3 { background: var(--vc-surface-3); }
.vc-sg-sw-hover { background: var(--vc-hover); }
.vc-sg-sw-accent { background: var(--vc-accent); }
.vc-sg-sw-accent-hover { background: var(--vc-accent-hover); }
.vc-sg-sw-light { background: var(--vc-light); }
.vc-sg-sw-white { background: var(--vc-white); }
.vc-sg-sw-text { background: var(--vc-text); }
.vc-sg-sw-text-soft { background: var(--vc-text-soft); }
.vc-sg-sw-muted { background: var(--vc-muted); }
.vc-sg-sw-placeholder { background: var(--vc-placeholder); }
.vc-sg-sw-line { background: var(--vc-line); }
.vc-sg-sw-tint { background: var(--vc-tint); }

/* Код: имя класса, переменная, путь */
.vc-sg-code {
  padding: 0;
  background: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--vc-accent);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Таблица (uk-table) в карточке */
.vc-sg-wrap { padding: 8px 12px; border-radius: 20px; }
.vc-sg-table { margin: 0; font-size: 14px; }
.vc-sg-table th,
.vc-sg-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--vc-line);
  vertical-align: top;
}
.vc-sg-table tbody tr:last-child td { border-bottom: 0; }
.vc-sg-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--vc-muted);
  text-transform: none;
}
.vc-sg-table td:last-child { color: var(--vc-text); }
/* Образцы шрифтов в таблице — уменьшены, чтобы поместиться в ячейку */
.vc-sg-table .uk-heading-xlarge { font-size: 32px; }
.vc-sg-table .uk-heading-large { font-size: 26px; }
.vc-sg-table .uk-heading-medium,
.vc-sg-table .uk-heading-small { font-size: 22px; }
.vc-sg-table .uk-h3 { font-size: 20px; }
.vc-sg-table .uk-text-lead { font-size: 18px; }

/* Ряд образцов элементов с подписью-классом */
.vc-sg-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 16px; }
.vc-sg-item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }

/* Сетка иконок */
.vc-sg-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-sg-icons > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-tag);
  background: var(--vc-surface);
  color: var(--vc-white);
  text-align: center;
}
/* Песочные часы с тёмной половиной — на светлой плитке */
.vc-sg-icons > .vc-sg-icon-light { background: var(--vc-light); }
.vc-sg-icon-light .vc-sg-code { color: var(--vc-light-muted); }
/* На узком экране таблица прокручивается внутри карточки (uk-overflow-auto) */
.vc-sg-table { min-width: 720px; }
.vc-sg-table .vc-sg-code { white-space: nowrap; overflow-wrap: normal; }


/* 20. Сайт на MODX: формы, сообщения, списки капсул, cookie, пагинация
   ========================================================================== */

/* Ошибка под полем формы */
.vc-error { font-size: 13px; line-height: 1.5; color: #F07F7F; }
.uk-placeholder.uk-form-danger { border-color: #F07F7F; }

/* Капча — картинка с сервера */
img.vc-captcha { display: block; object-fit: cover; background: var(--vc-white); }

/* Сообщение после отправки формы (приходит через htmx вместо формы) */
.vc-message {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  box-sizing: border-box;
  padding: 24px 28px;
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius-card);
  background: var(--vc-surface);
  font-size: 17px;
  line-height: 1.6;
  color: var(--vc-white);
}
.vc-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vc-accent);
  color: var(--vc-ink);
}
.vc-message-error .vc-message-icon { background: rgba(240, 127, 127, 0.16); color: #F07F7F; }
.vc-message .vc-stack { padding-top: 7px; }
.vc-auth-form-wrap > .vc-message { max-width: 440px; }

/* Ограничения на файлы — список-плашки */
.vc-limits { margin: 0; padding: 0; list-style: none; }
.vc-limits > li { white-space: normal; }

/* Прогресс отправки файлов */
.vc-progress { display: flex; flex-direction: column; gap: 8px; }
.vc-progress-label { display: inline-flex; align-items: center; gap: 8px; color: var(--vc-text); }
.vc-progress-label .uk-spinner { color: var(--vc-accent); }
.vc-progress .uk-progress { height: 8px; margin: 0; border-radius: 4px; background: var(--vc-surface-3); }
.vc-progress .uk-progress::-webkit-progress-bar { background: var(--vc-surface-3); }
.vc-progress .uk-progress::-webkit-progress-value { background: var(--vc-accent); }
.vc-progress .uk-progress::-moz-progress-bar { background: var(--vc-accent); }

/* Строки капсул: раскрытие через uk-toggle (строки приходят через htmx) */
.vc-row:not(.uk-open) > .vc-row-body { display: none; }
.vc-row-body > p:empty { display: none; }
/* Запечатанная (ещё не отправленная) капсула: начало текста затуманивается книзу */
.vc-sealed > p {
  position: relative;
  max-height: 4.8em;
  overflow: hidden;
  color: var(--vc-muted);
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
  filter: blur(0.4px);
}
.vc-sealed-note { display: inline-flex; align-items: center; gap: 8px; }
.vc-sealed-note .uk-icon { color: var(--vc-accent); }
.vc-more { display: flex; justify-content: center; padding-top: 8px; }
.vc-rows > .vc-empty { list-style: none; }
.vc-rows.htmx-request:empty { min-height: 80px; border-radius: 20px; background: var(--vc-surface); }

/* Публичная капсула в окне */
.vc-capsule-modal { max-width: 760px; gap: 16px; }
.vc-capsule-modal .vc-article { font-size: 16px; }
.uk-modal-close-default { top: 20px; right: 20px; }

/* Пустой список публичных капсул */
.vc-empty:not(.vc-empty-cta) { font-size: 16px; }

/* Пагинация */
.vc-pagination { gap: 6px; margin: 0; }
.vc-pagination > * { padding-left: 0; }
.vc-pagination > * > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--vc-line-field);
  border-radius: 22px;
  color: var(--vc-text);
  font-size: 15px;
  font-weight: 600;
}
.vc-pagination > * > a:hover { border-color: var(--vc-line-button); color: var(--vc-white); }
.vc-pagination > .uk-active > * { border-color: var(--vc-accent); background: var(--vc-accent); color: var(--vc-ink); }
.vc-pagination > .uk-disabled > * { border-color: transparent; color: var(--vc-muted); }

/* Тексты документов из лексиконов: обычные списки ul > li */
.vc-legal-section > ul { margin: 0; padding: 0; list-style: none; line-height: 1.6; }
.vc-legal-section > ul > li { position: relative; padding-left: 20px; }
.vc-legal-section > ul > li + li { margin-top: 10px; }
.vc-legal-section > ul > li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vc-accent);
}
.vc-legal-updated { padding-top: 32px; }

/* «Как это работает» на странице «О проекте»: название и пояснение */
.vc-num-list > li { align-items: baseline; }
.vc-num-list > li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.vc-num-list .uk-text-muted { font-size: 15px; line-height: 1.5; }
.vc-panel > p + p { margin-top: 12px; }

/* Контакты без формы: колонка с e-mail не растягивается */
.vc-contact > .vc-contact-info:only-child { flex: 0 1 640px; }

/* Пожертвования в криптовалюте (страница «Контакты») */
.vc-donate {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(245, 184, 65, 0.35);
  border-radius: var(--vc-radius-block);
  background: radial-gradient(120% 120% at 100% 0%, rgba(245, 184, 65, 0.14), transparent 55%), var(--vc-surface);
  scroll-margin-top: 24px;
}
.vc-donate-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.vc-donate-head .uk-heading-medium { font-size: clamp(28px, 3.4vw, 44px); }
.vc-coin {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--vc-line);
  background: var(--vc-ink);
}
.vc-coin-head { display: flex; align-items: center; gap: 14px; }
.vc-coin-head .uk-card-title { font-size: 17px; }
.vc-coin-head .uk-card-title .uk-text-muted { font-family: var(--vc-font); font-size: 14px; font-weight: 600; }
.vc-coin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--vc-white);
  font: 700 22px/1 var(--vc-font);
}
.vc-coin-btc { background: #F7931A; }
.vc-coin-ltc { background: #345D9D; }
.vc-coin-doge { background: #C2A633; }
.vc-coin-usdt { background: #26A17B; }
.vc-coin-address { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.vc-coin-address code {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--vc-line);
  border-radius: 12px;
  background: var(--vc-surface);
  color: var(--vc-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
  white-space: normal;
}
.vc-coin-soon { margin-top: auto; }
.vc-donate-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(245, 184, 65, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: var(--vc-text-soft);
}
.vc-donate-warning .uk-icon { flex: none; color: var(--vc-accent); }

/* Адреса для пожертвований в ответе FAQ «Как поддержать проект?» */
.vc-faq-donate { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 16px; }
.vc-faq-donate > .vc-coins { align-self: stretch; }
.vc-faq-donate .vc-coin { font-size: 15px; }

/* Сообщение про cookie */
.vc-cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 320px;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid var(--vc-line);
  border-radius: 20px;
  background: var(--vc-surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.5;
}
.vc-cookie[hidden] { display: none; }
.vc-cookie a { color: var(--vc-accent); }


/* 21. Языки: арабский (справа налево), японский
   ========================================================================== */

[lang="ar"] body, [lang="ja"] body { line-height: 1.7; }
[lang="ar"] .vc-eyebrow, [lang="ja"] .vc-eyebrow { letter-spacing: 0; }

[dir="rtl"] .vc-flip svg { transform: scaleX(-1); }
[dir="rtl"] .uk-grid-small { margin-left: 0; margin-right: -12px; }
[dir="rtl"] .uk-grid-small > * { padding-left: 0; padding-right: 12px; }
[dir="rtl"] .uk-grid-medium { margin-left: 0; margin-right: -20px; }
[dir="rtl"] .uk-grid-medium > * { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .uk-form-icon:not(.uk-form-icon-flip) ~ .uk-input { padding-left: 18px !important; padding-right: 48px !important; }
[dir="rtl"] .vc-switch::after { left: auto; right: 4px; transition: right 0.2s, background-color 0.2s; }
[dir="rtl"] .vc-switch:checked::after { left: auto; right: 30px; }
[dir="rtl"] .vc-faq .uk-accordion-content { padding-right: 0; padding-left: 64px; }
[dir="rtl"] .uk-modal-footer .uk-button + .uk-button { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .vc-article ul, [dir="rtl"] .vc-article ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .vc-legal-section > ul { padding-right: 0; }
[dir="rtl"] .vc-legal-section > ul > li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .vc-legal-section > ul > li::before { left: auto; right: 0; }
[dir="rtl"] .vc-row-toggle { text-align: right; }
[dir="rtl"] .vc-row-date { align-items: flex-start; text-align: left; }
[dir="rtl"] .vc-step { padding: 32px 0 8px 28px; }
[dir="rtl"] .vc-burger span:last-child { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .uk-modal-close-default { right: auto; left: 20px; }
[dir="rtl"] .vc-cookie { right: auto; left: 20px; }
@media (max-width: 639px) {
  [dir="rtl"] .vc-faq .uk-accordion-content { padding-left: 0; }
  [dir="rtl"] .vc-step { padding-left: 0; }
}


@media (prefers-reduced-motion: reduce) {
  .vc-chev, .vc-switch, .vc-switch::after, .vc-faq-icon, .vc-faq-icon::before, .vc-faq-icon::after { transition: none; }
}
