/* ==========================================================================
   TAMSHY — дизайн-система v2 (редизайн). Один файл, все значения через переменные.
   Поверхности: белый + очень светлый холодный фон. Цвет: фирменный синий + ОДИН акцент (оранжевый).
   Правило движения: анимируются только transform и opacity (исключение: раскрытие ответа в FAQ по высоте).
   ========================================================================== */

/* ---------- Шрифты: самохостинг, font-display: swap ---------- */
/* Inter — основной шрифт, Noto Serif Display Italic — только акцентные слова (.display). Файлы лежат в assets/fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext-300-normal.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-300-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/inter-latin-300-normal.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext-400-normal.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-400-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-latin-400-normal.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext-500-normal.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-500-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-latin-500-normal.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext-600-normal.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-600-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-latin-600-normal.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-ext-400-italic.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-400-italic.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-latin-400-italic.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-ext-500-italic.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-500-italic.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-latin-500-italic.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-ext-600-italic.woff2?v=1") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-cyrillic-600-italic.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/noto-serif-display-latin-600-italic.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
  /* поверхности */
  --white: #fff;
  --surface: #F4F8FC;        /* очень светлый холодный фон секций */
  --surface-2: #EAF1F8;
  --line: #E1E9F2;
  --line-2: #CFDBE8;
  /* текст */
  --text: #12233F;
  --muted: #4A5D7C;
  /* бренд */
  --navy: #0F2F63;
  --blue: #0A7CFF;           /* фирменный: заливки, графики, иллюстрации */
  --blue-strong: #0763D6;    /* текстовый вариант: кнопки и ссылки (контраст с белым 5,6 — AA) */
  --sky: #AEE9FF;
  --sky-soft: #EAF8FF;
  /* единственный акцент */
  --accent: #FF7A3D;         /* сканирование, «+1», ключевые числа, главные кнопки на тёмном */
  --accent-ink: #C2410C;     /* акцент как цвет текста на светлом (контраст ≥ 5) */
  --accent-soft: rgba(255, 122, 61, .30);
  /* тёмный режим (инвесторская страница, финальные CTA, «как это работает») */
  --night: #0A1B36;
  --night-2: #0D2244;
  --night-3: #12294D;
  --on-dark: #E7F0FF;
  --on-dark-soft: #A9BDD9;
  --on-dark-line: rgba(255, 255, 255, .12);
  --err-on-dark: #FFB4B8;
  --ico-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a7 7 0 100 14A7 7 0 008 1zm-.75 3.500h1.500v4.500h-1.500zm0 6h1.500V12h-1.500z'/%3E%3C/svg%3E");
  --night-footer: #08162B;
  --wa: #0F8043;             /* WhatsApp: фирменный зелёный, белый текст ≥ 5:1 */
  /* состояния */
  --ok: #1A9D55;
  --warn-bg: #FFEDE3;
  --warn-ink: #B93A08;
  --err: #C0262D;

  /* типографика */
  --serif: "Noto Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --scene-bg: #050B18;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-base: 1.0625rem;
  --lh: 1.55;

  /* форма и ритм */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --container: 1120px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 84px;
  --shadow-1: 0 1px 2px rgba(15, 47, 99, .06), 0 8px 24px rgba(15, 47, 99, .08);
  --shadow-2: 0 2px 4px rgba(15, 47, 99, .06), 0 24px 56px rgba(15, 47, 99, .16);
  --shadow-btn: 0 10px 24px rgba(7, 99, 214, .38);
  --shadow-btn-accent: 0 10px 24px rgba(255, 122, 61, .45);

  /* движение */
  --t-micro: 200ms;
  --t-block: 500ms;
  --t-page: 200ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-move: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh); color: var(--text); background: var(--white);
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -.02em; }
.display { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { text-wrap: balance; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 400; }
h2 { text-wrap: balance; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 400; line-height: 1.05; }
h1 .display, h2 .display { font-weight: 400; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-strong); text-underline-offset: 3px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sec--dark :focus-visible, .sec--night :focus-visible, .sec--night2 :focus-visible, .hero--invest :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
/* KK: страница скрыта до подстановки текстов (см. js/lang-init.js) */
html.i18n-pending body { visibility: hidden; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }
.note { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 34em; text-wrap: pretty; }

/* Плавное появление страницы */
body { animation: pageIn var(--t-page) var(--ease-out) both; }
body.is-leaving { opacity: 0; transition: opacity var(--t-page) var(--ease-move); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Единый шаблон секции: метка → заголовок → описание → визуал */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-strong); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sec { position: relative; padding: var(--section-y) 0; background: var(--white); }
.sec--soft { background: var(--surface); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head__p { font-size: 1.1rem; color: var(--muted); margin: 0; max-width: 38em; }
.sec--dark, .sec--night, .sec--night2 { color: var(--on-dark); }
.sec--dark { background: var(--night); }
.sec--night { background: var(--night); }
.sec--night2 { background: var(--night-2); }
.sec--dark h2, .sec--dark h3, .sec--night h2, .sec--night h3, .sec--night2 h2, .sec--night2 h3 { color: var(--white); }
.sec--dark .eyebrow, .sec--night .eyebrow, .sec--night2 .eyebrow, .hero--invest .eyebrow, .cta .eyebrow { color: var(--sky); }
.sec--dark .sec-head__p, .sec--night .sec-head__p, .sec--night2 .sec-head__p { color: var(--on-dark-soft); }

/* ---------- Шапка ---------- */

/* ---------- Кнопки (единый стиль) ----------
   primary (.btn--primary — синий на светлом, .btn--accent — оранжевый на тёмном, .cta-pill — то же для сцены и героев):
   «таблетка» с кружком-стрелкой, на hover растёт и поворачивает стрелку на 45°.
   secondary (.btn--ghost на светлом, .btn--outline-light на тёмном): прозрачная с контуром. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 28px;
  border: 1px solid transparent; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; line-height: 1.2; letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease-reveal), background-color .3s var(--ease-reveal), box-shadow .3s var(--ease-reveal), border-color .3s var(--ease-reveal), color .3s var(--ease-reveal); }
.btn--lg { min-height: 52px; font-size: 15px; }
.btn:active { transform: scale(.99); }
.btn--primary, .btn--accent { padding: 8px 8px 8px 28px; }
.btn--primary::after, .btn--accent::after { content: ""; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: rgba(11, 27, 51, .9) center / 16px 16px no-repeat; transition: transform .3s var(--ease-reveal); }
.btn--primary { background: var(--blue-strong); color: var(--white); }
.btn--primary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E"); }
.btn--accent { background: var(--accent); color: #0B1B33; }
.btn--accent::after { background-color: rgba(0, 0, 0, .85); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF7A3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E"); }
.btn--primary:hover { transform: scale(1.03); background: #0654B8; box-shadow: 0 10px 40px -10px rgba(7, 99, 214, .55); }
.btn--accent:hover { transform: scale(1.03); background: #EB7038; box-shadow: 0 10px 40px -10px rgba(255, 122, 61, .5); }
.btn--primary:hover::after, .btn--accent:hover::after { transform: rotate(45deg); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(15, 47, 99, .28); }
.btn--ghost:hover { background: rgba(15, 47, 99, .06); border-color: var(--navy); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[disabled]::after { transform: none; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }

/* ---------- Hero ---------- */
.h1-accent { display: inline; color: var(--blue-strong); background-image: linear-gradient(transparent 82%, var(--accent-soft) 82%); background-repeat: no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; margin: 0 -.06em; }
.mock { position: relative; display: grid; place-items: center; min-height: 0; }
.mock__glow { position: absolute; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--sky), transparent); opacity: .8; }
.mock__bottle { position: relative; height: min(58svh, 520px); width: auto; z-index: 1; filter: drop-shadow(0 24px 24px rgba(15, 47, 99, .12)); }
.mock__cap { position: relative; z-index: 1; font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.mock__chip { position: absolute; z-index: 2; padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-1); font-weight: 800; font-size: .85rem; color: var(--navy); }
.mock__chip--a { top: 22%; left: 6%; animation: floaty 5s var(--ease-move) infinite alternate; }
.mock__chip--b { bottom: 24%; right: 4%; color: var(--night); background: var(--accent); animation: floaty 6s var(--ease-move) -2s infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.bottle-art { width: auto; overflow: visible; }
.svg-t { font-family: var(--font); }
@keyframes glow { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.04); opacity: 1; } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes phone { from { transform: translateY(0) rotate(0); } to { transform: translateY(-6px) rotate(.6deg); } }
@keyframes dots { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes ripple2 { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.06); opacity: .25; } }


/* ---------- Визуальные карточки «Почему это работает» ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 24px; background: var(--surface); border-radius: var(--r-md); transition: transform var(--t-micro) var(--ease-out); }
.benefit::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--blue); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity var(--t-micro) var(--ease-out); }
.benefit:hover { transform: translateY(-4px); }
.benefit:hover::after { opacity: 1; }
.benefit__vis { background: var(--white); border-radius: 14px; padding: 8px; aspect-ratio: 10 / 7; display: grid; place-items: center; }
.benefit .tag-label { padding: 0 8px; }
.benefit h3 { margin: 0; padding: 0 8px; font-size: 1.1rem; line-height: 1.3; }
.tag-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.art { width: 100%; height: auto; }
.a-sky-soft { fill: var(--sky-soft); } .a-sky { fill: var(--sky); } .a-white { fill: var(--white); } .a-blue { fill: var(--blue); } .a-navy { fill: var(--navy); } .a-acc { fill: var(--accent); }
.a-stroke-navy { stroke: var(--navy); } .a-stroke-blue { stroke: var(--blue); } .a-stroke-white { stroke: var(--white); }

/* ---------- «Как это работает»: поток из 6 шагов ---------- */
.flow-wrap { position: relative; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; z-index: 1; }
.flow__line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 76px; height: 3px; border-radius: 2px; background: var(--on-dark-line); overflow: hidden; }
.flow__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--sky)); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.flow__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.flow__n { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.flow__icon { width: 56px; height: 56px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 18px; background: var(--night-3); border: 1px solid var(--on-dark-line); color: var(--sky); }
.flow__icon svg { width: 26px; height: 26px; }
.flow__step:last-child .flow__icon { background: var(--accent); color: var(--night); border-color: var(--accent); }
.flow__step h3 { font-size: 1.02rem; line-height: 1.25; margin-bottom: .4em; }
.flow__step p { margin: 0; font-size: .92rem; color: var(--on-dark-soft); }

/* ---------- Интерактивный QR ---------- */
.qrdemo { max-width: 1000px; margin: 0 auto; }
.qrdemo__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-2); overflow: hidden; }
.qrdemo__stage::before { content: ""; position: absolute; left: 22%; top: 50%; width: 30%; height: 0; border-top: 3px dotted var(--accent); opacity: .5; }
.qrdemo__bottle { display: grid; place-items: center; }
.qrdemo__art { height: min(58svh, 500px); width: auto; filter: drop-shadow(0 20px 20px rgba(15, 47, 99, .12)); }
.qrdemo__phone { display: grid; place-items: center; }
.phone { position: relative; width: min(100%, 268px); aspect-ratio: 9 / 18.4; background: var(--night); border-radius: 38px; padding: 9px; box-shadow: var(--shadow-2); }
.phone__notch { position: absolute; top: 15px; left: 50%; width: 30%; height: 14px; margin-left: -15%; border-radius: 8px; background: var(--night); z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--white); }
.pscreen { position: absolute; inset: 0; opacity: 0; visibility: hidden; padding: 38px 14px 14px; display: flex; flex-direction: column; }
.pscreen.is-on { opacity: 1; visibility: visible; }
.pscreen--cam { background: #0d141f; align-items: center; justify-content: center; gap: 16px; padding-top: 14px; }
.cam__view { position: relative; width: 72%; aspect-ratio: 1; display: grid; place-items: center; }
.cam__qr { width: 78%; background: var(--white); padding: 8%; border-radius: 10px; }
.cam__corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.cam__corner--tl { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 8px; }
.cam__corner--tr { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 8px; }
.cam__corner--bl { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 8px; }
.cam__corner--br { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 8px; }
.cam__beam { position: absolute; left: 4%; right: 4%; top: 6%; height: 4px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 16px var(--accent); opacity: 0; }
.cam__hint { margin: 0; color: var(--on-dark-soft); font-size: .78rem; text-align: center; }
.pscreen--load { align-items: center; justify-content: center; text-align: center; gap: 14px; background: var(--white); }
.pscreen--load p { margin: 0; font-weight: 800; color: var(--navy); font-size: .9rem; }
.load__mark { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.load__mark img { width: 34px; height: auto; }
.load__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); }
.pscreen--load.is-on .load__ring { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pscreen--brand { background: var(--white); gap: 12px; font-size: .8rem; }
.b-ava { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #14705c; color: #f6ead7; }
.b-ava svg { width: 24px; height: 24px; }
.b-ava--sm { width: 32px; height: 32px; } .b-ava--sm svg { width: 18px; height: 18px; }
.b-ig__top { display: flex; align-items: center; gap: 10px; } .b-ig__top b { display: block; color: var(--navy); font-size: .92rem; } .b-ig__top small { color: var(--muted); font-size: .75rem; }
.b-btn { display: block; text-align: center; padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: .8rem; color: var(--white); }
.b-btn--ig { background: #5b8cff; } .b-btn--gis { background: #1b9e72; } .b-btn--soft { background: #e6efe9; color: #0e7a58; } .b-btn--wa { background: #1fa85b; border-radius: 999px; margin-top: auto; } .b-btn--web { background: var(--navy); margin-top: 8px; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 4px; } .b-grid i { aspect-ratio: 1; border-radius: 6px; background: #d9efe7; } .b-grid i:nth-child(2n) { background: #f6ead7; } .b-grid i:nth-child(3n) { background: #bfe3d6; }
.pscreen--brand[data-scr="gis"] { padding: 0; } .b-map { flex: 1; min-height: 0; } .b-map svg { width: 100%; height: 100%; }
.b-card { padding: 12px 14px 16px; background: var(--white); } .b-card b { color: var(--navy); font-size: .95rem; } .b-card small { display: block; color: var(--muted); margin-bottom: 10px; }
.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pscreen--brand[data-scr="wa"] { background: #efe7dc; } .b-wa__top { display: flex; align-items: center; gap: 8px; margin: -4px -14px 0; padding: 8px 14px; background: #1fa85b; color: var(--white); font-size: .82rem; }
.b-wa__chat { flex: 1; padding-top: 10px; } .b-bubble { display: inline-block; max-width: 86%; padding: 9px 12px; border-radius: 12px 12px 4px 12px; background: #d9fdd3; color: #1b2f2a; font-size: .8rem; float: right; }
.pscreen--brand[data-scr="web"] { background: var(--surface); } .b-url { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: var(--white); font-size: .68rem; color: var(--muted); } .b-url i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.b-web { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 10px; } .b-web b { font-size: 1.15rem; color: #14705c; } .b-offer { align-self: center; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--night); font-weight: 800; font-size: .74rem; }
.qrdemo__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.segs { display: inline-flex; gap: 4px; padding: 4px; margin: 0; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 800; font-size: .88rem; color: var(--navy); cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.qrsteps { display: flex; justify-content: center; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.qrsteps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--muted); }
.qrsteps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--navy); font-size: .78rem; }
.qrsteps li.is-on { color: var(--navy); border-color: var(--accent); }
.qrsteps li.is-on b { background: var(--accent); color: var(--night); }
.qrdemo .note { text-align: center; }

/* ---------- Блок рекламодателей ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split__copy .btn { margin-top: 8px; }

/* ---------- Отчёт (dashboard-макет) ---------- */
.report { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow-2); }
.report__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.report__brand { display: flex; align-items: center; gap: 10px; color: var(--navy); } .report__brand img { width: 20px; height: auto; } .report__head small { color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn-ink); font-weight: 800; font-size: .78rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }
.tile { background: var(--surface); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.tile span { font-size: .82rem; font-weight: 700; color: var(--muted); }
.tile b { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; color: var(--navy); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile--acc { background: var(--night); } .tile--acc span { color: var(--on-dark-soft); } .tile--acc b { color: var(--accent); }
.report__cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.report__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .report__bar h4 { margin: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r-pill); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 800; font-size: .88rem; cursor: pointer; color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 200px; margin-top: 20px; padding-bottom: 24px; border-bottom: 2px solid var(--line); position: relative; }
.bar { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.bar i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: var(--blue); transform-origin: bottom; }
.bar:hover i { background: var(--accent); }
.bar small { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.bars--hours .bar:not(:nth-child(4n+1)) small { display: none; }
.links-list { margin-top: 14px; } .links-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-bottom: 16px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.links-list .meter { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .links-list .meter i { display: block; height: 100%; border-radius: 4px; background: var(--blue); transform-origin: left; }
.report .note { margin: 22px 0 0; }
.get { margin-top: 40px; max-width: 760px; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: .8em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.500l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Точки раздачи: сценарии ---------- */
.venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venue { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 12px 22px; transition: transform var(--t-micro) var(--ease-out); }
.venue::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--blue); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity var(--t-micro) var(--ease-out); }
.venue:hover { transform: translateY(-4px); } .venue:hover::after { opacity: 1; }
.venue__vis { border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.venue h3 { margin: 0 8px .3em; } .venue p { margin: 0 8px; color: var(--muted); font-size: .95rem; }
.sec-cta { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: center; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { display: grid; place-items: center; gap: 10px; min-height: 128px; padding: 18px; border: 2px dashed var(--line-2); border-radius: var(--r-md); color: var(--muted); font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .5); }
.partner__mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--white); color: var(--line-2); } .partner__mark svg { width: 24px; height: 24px; }
.partners + .note { margin-top: 28px; }

/* ---------- Иконочные карточки, шаги, CTA ---------- */
.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icards--3 { grid-template-columns: repeat(3, 1fr); }
.icard { position: relative; background: var(--surface); border-radius: var(--r-md); padding: 26px 24px; transition: transform var(--t-micro) var(--ease-out); }
.icard::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--blue); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity var(--t-micro) var(--ease-out); }
.icard:hover { transform: translateY(-4px); } .icard:hover::after { opacity: 1; }
.icard__icon { width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 16px; background: var(--white); color: var(--blue-strong); } .icard__icon svg { width: 26px; height: 26px; }
.icard h3 { margin-bottom: .4em; } .icard p { margin: 0; color: var(--muted); font-size: .98rem; }
.psteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: ps; }
.pstep { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.pstep__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; }
.pstep:last-child .pstep__n { background: var(--accent); color: var(--night); }
.pstep h3 { margin-bottom: .35em; } .pstep p { margin: 0; color: var(--muted); }
.cta { background: var(--night); color: var(--on-dark); text-align: center; }
.cta h2 { color: var(--white); max-width: 18em; margin-left: auto; margin-right: auto; }
.cta p { max-width: 36em; margin: 0 auto 1.8em; color: var(--on-dark-soft); font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
.cta--slim { padding: clamp(48px, 7vw, 80px) 0; }
.cta--invest { background: var(--night-3); }
.after-form { text-align: center; margin: 28px 0 0; color: var(--muted); }

/* ---------- Формы: многошаговый поток ---------- */
.sec--form { padding-top: clamp(56px, 8vw, 96px); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-2); max-width: 780px; margin: 0 auto; }
.form-card__head { margin-bottom: 26px; } .form-card__head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .25em; } .form-card__head p { margin: 0; color: var(--muted); }
.stepper { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.stepper li { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .86rem; color: var(--muted); min-width: 0; }
.stepper__dot { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--navy); font-size: .84rem; }
.stepper li[aria-current="step"] { color: var(--navy); }
.stepper li[aria-current="step"] .stepper__dot { background: var(--blue-strong); color: var(--white); }
.stepper li.is-done .stepper__dot { background: var(--ok); color: var(--white); }
.stepper__bar { height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; margin-bottom: 30px; }
.stepper__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-block) var(--ease-move); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; animation: stepIn var(--t-block) var(--ease-out) both; }
.fieldset--single { grid-template-columns: 1fr; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step-title { grid-column: 1 / -1; display: block; padding: 0; margin-bottom: 4px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.step-of { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 4px; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 26px 16px 9px; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--white); font: inherit; color: var(--text); appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; max-width: calc(100% - 34px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform var(--t-micro) var(--ease-out); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); }
.field .ring { position: absolute; inset: 0; border: 2px solid var(--blue); border-radius: 16px; opacity: 0; pointer-events: none; transition: opacity var(--t-micro) var(--ease-out); }
.field .ring { display: none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field.is-shake { animation: shake 320ms var(--ease-move); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.field-error { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; padding: 0 4px; font-size: .85rem; line-height: 1.35; color: var(--err); font-weight: 700; }
.field-error::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 1px; background: currentColor; -webkit-mask: var(--ico-alert) center / contain no-repeat; mask: var(--ico-alert) center / contain no-repeat; }
.check { flex-wrap: wrap; } .check .field-error { flex-basis: 100%; padding-left: 34px; margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / -1; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue-strong); }
.check label { cursor: pointer; font-size: .95rem; }
.check.is-invalid label { color: var(--err); }
.check--plain { padding: 8px 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: grid; gap: 4px; margin: 0 0 8px; padding: 6px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.summary__group { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.summary__edit { border: 0; background: transparent; color: var(--blue-strong); font-weight: 800; font-size: .84rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.summary dl, .summary .row { margin: 0; }
.summary .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-actions [data-next], .form-actions [data-submit] { margin-left: auto; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.success { text-align: center; padding: clamp(32px, 6vw, 56px); }
.success__check { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; background: var(--ok); color: var(--white); display: grid; place-items: center; } .success__check svg { width: 52px; height: 52px; }
.success__check.is-anim { animation: pop var(--t-block) var(--ease-out) both; } .success__check.is-anim svg { animation: pop var(--t-block) var(--ease-out) 150ms both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.subscribe { display: grid; gap: 10px; max-width: 360px; }
.subscribe .field input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: var(--white); }
.subscribe .field label { color: var(--on-dark-soft); } .subscribe .field-error { color: var(--err-on-dark); }
.subscribe .check label { font-size: .82rem; } .subscribe .btn { justify-self: start; min-height: 44px; }

/* ---------- FAQ ---------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.faq-tabs .tab { border: 1px solid var(--line-2); background: var(--white); padding: 10px 20px; }
.faq-tabs .tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.acc { border-bottom: 1px solid var(--line); }
.acc__h { margin: 0; font-size: inherit; letter-spacing: 0; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 22px 4px; border: 0; background: transparent; cursor: pointer; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.acc__q svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent-ink); transition: transform var(--t-micro) var(--ease-move); }
.acc__q[aria-expanded="true"] svg { transform: rotate(45deg); }
/* исключение из правила «только transform/opacity»: раскрытие по высоте задано в промте */
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-block) var(--ease-out); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 4px 24px; margin: 0; color: var(--muted); max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; } .prose p { font-size: 1.05rem; color: var(--text); }
.callout { border-left: 4px solid var(--accent); background: var(--warn-bg); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 700; color: var(--warn-ink); }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 15px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface); color: var(--navy); font-weight: 800; font-size: .86rem; }
tbody th { font-weight: 800; color: var(--navy); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* ---------- «О TAMSHY»: инвесторский режим ---------- */
.hero--invest { background-color: var(--night); color: var(--on-dark); padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; }
.miles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--on-dark-line); }
.miles li { padding: 18px 16px 0 0; } .miles b { display: block; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--white); letter-spacing: -.02em; } .miles span { font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.sec--night .note, .sec--night2 .note { color: var(--on-dark-soft); }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.goal { padding: 26px 24px; border: 1px solid var(--on-dark-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .04); }
.goal__n { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--accent); margin-bottom: 26px; }
.goal p { margin: 0; color: var(--on-dark-soft); font-size: .96rem; }
.sec--night .table-wrap, .sec--night2 .table-wrap { background: rgba(255, 255, 255, .04); border-color: var(--on-dark-line); }
.sec--night th, .sec--night td, .sec--night2 th, .sec--night2 td { border-bottom-color: var(--on-dark-line); color: var(--on-dark); }
.sec--night thead th, .sec--night2 thead th { background: rgba(255, 255, 255, .06); color: var(--white); }
.sec--night tbody th, .sec--night2 tbody th { color: var(--white); }
.sec--night2 .icard, .sec--night .icard { background: rgba(255, 255, 255, .04); border: 1px solid var(--on-dark-line); }
.sec--night2 .icard__icon { background: var(--night-3); color: var(--sky); }
.sec--night2 .icard p { color: var(--on-dark-soft); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 78px; height: 3px; background: var(--on-dark-line); }
.tl { position: relative; padding-top: 0; }
.tl__head { margin-bottom: 26px; } .tl__year { display: block; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); line-height: 1.1; }
.tl__label { display: block; margin-top: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.tl__dot { position: absolute; left: 0; top: 68px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); border: 4px solid var(--on-dark-soft); }
.tl.is-current .tl__dot { border-color: var(--accent); background: var(--accent); }
.tl.is-current .tl__dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: pulse 2.6s var(--ease-move) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.tl__card { margin-top: 44px; padding: 20px; border: 1px solid var(--on-dark-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .04); height: calc(100% - 44px); }
.tl.is-current .tl__card { border-color: var(--accent); background: rgba(255, 122, 61, .08); }
.tl__when { display: block; font-size: .78rem; font-weight: 700; color: var(--on-dark-soft); margin-bottom: 6px; }
.tl__card h3 { font-size: 1.05rem; margin-bottom: .35em; } .tl__card p { font-size: .92rem; color: var(--on-dark-soft); margin: 0 0 .7em; } .tl__gate { color: var(--on-dark) !important; }
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 800; margin-bottom: 10px; }
.tag--ok { background: var(--ok); color: var(--white); }
.map-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.map-grid th, .map-grid td { padding: 11px 12px; font-size: .9rem; }
.district-map { width: 100%; height: auto; }
.district path { fill: rgba(255, 255, 255, .06); stroke: var(--on-dark-soft); stroke-opacity: .5; stroke-width: 2; }
.district text { font-size: 15px; font-weight: 800; fill: var(--on-dark); text-anchor: middle; pointer-events: none; font-family: var(--font); }
.link-on-dark { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; } .link-on-dark:hover { color: var(--white); }
.map-embed { margin: 32px 0 0; border-radius: var(--r-lg, 20px); overflow: hidden; border: 1px solid var(--on-dark-soft); background: var(--night-2); }
.map-embed iframe { display: block; width: 100%; height: min(60vh, 460px); border: 0; }
.map-embed figcaption { padding: 10px 16px; margin: 0; }
.district-map .river { fill: none; stroke: var(--sky); stroke-opacity: .45; stroke-width: 22; stroke-linecap: round; pointer-events: none; }
.district-map .river-label { font-size: 12px; font-weight: 700; fill: var(--sky); text-anchor: middle; font-style: italic; pointer-events: none; }
.district--pilot path { fill: rgba(255, 122, 61, .25); stroke: var(--accent); stroke-opacity: 1; stroke-width: 3; }
.district:hover path { fill: rgba(255, 255, 255, .12); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counter b { display: block; font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1.1; } .counter span { color: var(--on-dark-soft); }

/* ---------- Подвал ---------- */
.site-footer { background: var(--night-footer); color: var(--on-dark-soft); padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr 1fr; gap: 36px; }
.footer-grid h3 { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer-grid li { margin-bottom: .6em; }
.footer-brand img { height: 96px; width: auto; margin-bottom: 16px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .benefits, .icards, .goals { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow__line { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .tl__dot { display: none; } .tl__card { margin-top: 0; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mock__bottle { height: min(46svh, 380px); }
  .split, .qrdemo__stage, .map-grid, .report__cols { grid-template-columns: 1fr; }
  .qrdemo__stage { grid-template-columns: 1fr 1fr; padding: 20px 12px; }
  .qrdemo__stage::before { display: none; }
  .psteps { grid-template-columns: 1fr; }
  .venues { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .miles { grid-template-columns: repeat(2, 1fr); }
  .miles li { padding-bottom: 14px; }
}
@media (max-width: 640px) {
  :root { --fs-base: 1rem; --gutter: 16px; --section-y: 56px; }
  h1 { font-size: 2rem; } h2 { font-size: 1.75rem; }
  .benefits, .icards, .icards--3, .goals { grid-template-columns: 1fr; }
  .benefit__vis { aspect-ratio: 16 / 8; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow__line { display: block; left: 27px; right: auto; top: 26px; bottom: 26px; width: 3px; height: auto; }
  .flow__line i { transform: scaleY(var(--p, 0)); transform-origin: top center; background: linear-gradient(var(--accent), var(--sky)); }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 30px; align-items: start; }
  .flow__icon { grid-row: 1 / span 3; margin: 0; }
  .flow__n { margin: 0 0 4px; }
  .qrdemo__stage { grid-template-columns: 1fr 1.05fr; gap: 4px; padding: 16px 8px; border-radius: 22px; }
  .qrdemo__art { height: min(34svh, 300px); }
  .phone { border-radius: 30px; padding: 6px; } .phone__screen { border-radius: 24px; } .pscreen { padding: 30px 9px 9px; font-size: .68rem; } .pscreen--cam { padding-top: 9px; }
  .b-btn { padding: 7px 8px; font-size: .68rem; } .b-ava { width: 34px; height: 34px; } .b-card { padding: 9px 10px 12px; } .b-card b { font-size: .8rem; }
  .qrdemo__ctl { flex-direction: column; align-items: stretch; } .segs { display: grid; grid-template-columns: repeat(4, 1fr); } .seg span { padding: 9px 4px; text-align: center; font-size: .78rem; }
  .qrsteps { gap: 6px; } .qrsteps li { padding-right: 10px; font-size: .75rem; }
  .mock__chip--a { left: 0; } .mock__chip--b { right: 0; }
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .venue { padding: 8px 8px 16px; } .venue h3 { font-size: 1rem; } .venue p { font-size: .82rem; }
  .venue__vis { margin-bottom: 10px; }
  .timeline { grid-template-columns: 1fr; padding-left: 0; }
  .fieldset { grid-template-columns: 1fr; }
  .summary .row { grid-template-columns: 1fr; gap: 2px; }
  .form-actions { position: sticky; bottom: 0; padding: 14px 0 4px; margin: 20px 0 0; background: linear-gradient(transparent, var(--white) 30%); }
  .footer-grid { grid-template-columns: 1fr; }
  .partners { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner { min-height: 104px; padding: 12px; }
  .tiles { gap: 10px; } .tile { padding: 12px 14px; }
  .bars { height: 150px; } .report__bar { align-items: flex-start; }
  th, td { padding: 12px 12px; }
  .miles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) { .hero--home .btn--lg { font-size: .8rem; padding: 8px 6px; } .h1-line { letter-spacing: -.03em; }
  .hero--home h1 { font-size: 1.6rem; margin-bottom: .5rem; } .hero--home .lead { font-size: .88rem; line-height: 1.4; margin-bottom: .8rem; } }
@media (max-height: 600px) and (max-width: 380px) { .hero-scene { height: 36svh; } .hero--home .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  .flow-wrap { --p: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pscreen--load.is-on .load__ring { animation: none; }
}

/* переходы экранов телефона и луч сканера в демо */
.pscreen { transition: opacity var(--t-block) var(--ease-out), visibility 0s linear var(--t-block); }
.pscreen.is-on { transition: opacity var(--t-block) var(--ease-out), visibility 0s; }
.bt-beam { fill: var(--accent); opacity: 0; }
.ph-screen { transition: none; }


/* ============ Правки после ревью живого сайта ============ */
/* Первый экран виден сразу; лёгкое появление — только CSS и только transform (без opacity), не зависит от JS */

@media (min-width: 901px) {
}

/* Шаги формы: узко — кружки с номерами, подпись текущего шага в заголовке («Шаг 2 из 4 · …»); подписи — от 900 px */
.stepper { justify-content: space-between; }
.stepper__label { display: none; white-space: nowrap; }
@media (min-width: 901px) { .stepper__label { display: inline; } .stepper { gap: 16px; } }
@media (max-width: 900px) { .stepper li { flex: 0 0 auto; } .step-of { display: inline; } .step-of::after { content: " · "; } }

/* Контакты, WhatsApp, реквизиты */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: var(--r-pill); background: var(--wa); color: var(--white); font-weight: 800; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 24px rgba(8, 22, 43, .28); transition: transform var(--t-micro) var(--ease-out); }
.wa-float:hover { transform: translateY(-2px); } .wa-float svg { width: 26px; height: 26px; }
.site-footer .wa-float, .site-footer a.wa-float { color: var(--white); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; }
  body[data-page="advertise"] .wa-float, body[data-page="distribute"] .wa-float, body[data-page="contact"] .wa-float { bottom: 88px; } }
.btn--wa { background: var(--wa); color: var(--white); } .btn--wa svg { width: 22px; height: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.contact-grid > .success { grid-column: 1; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-1); display: grid; gap: 14px; }
.contact-card h2 { font-size: 1.5rem; margin: 0; } .contact-card h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 8px 0 0; } .contact-card p { margin: 0; color: var(--muted); }
.contact-list, .legal { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li, .legal li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 44px; }
.contact-list svg { width: 20px; height: 20px; color: var(--blue-strong); flex-shrink: 0; }
.ci__l { font-size: .8rem; color: var(--muted); min-width: 5.5em; }
.contact-list a { font-weight: 700; color: var(--navy); }
.todo { display: inline-block; padding: 2px 8px; border: 1px dashed var(--accent-ink); border-radius: 8px; color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.site-footer .todo { color: var(--accent); border-color: var(--accent); } .site-footer .contact-list svg { color: var(--sky); } .site-footer .ci__l { color: var(--on-dark-soft); }
.site-footer .contact-list a { color: var(--on-dark); font-weight: 600; }
.site-footer .legal { margin-top: 16px; gap: 2px; font-size: .85rem; } .site-footer .legal li { min-height: 0; }
.note--on-dark { color: var(--on-dark-soft); } .h3-gap { margin-top: 1.4em; }

/* Области нажатия ≥ 44 px без изменения размера текста */
.flinks { list-style: none; margin: 0; padding: 0; } .flinks li { margin: 0; }
.flinks a { display: inline-flex; align-items: center; min-height: 44px; }

/* Кнопки первого экрана на телефоне — друг под другом на всю ширину */
@media (max-width: 640px) { .hero--home .btn-row { grid-template-columns: 1fr; gap: 10px; } .hero--home .btn--lg { font-size: .95rem; } }

.check label { flex: 1 1 0; min-width: 0; }
.footer-bottom { padding-right: 190px; } @media (max-width: 640px) { .footer-bottom { padding-right: 0; } .site-footer { padding-bottom: 88px; } }
.subscribe .field.is-invalid input { border-color: var(--err-on-dark); box-shadow: 0 0 0 1px var(--err-on-dark); }

/* ---- Карточки выгод: заголовок + пояснение ---- */
.benefit h3 { font-size: 1.12rem; }
.benefit p { margin: 0; padding: 0 8px; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ---- Что за вода ---- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.fact { background: var(--surface); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.fact dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.fact dd { margin: 0; font-weight: 700; color: var(--navy); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---- Приглашение первого партнёра ---- */
.invite { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.invite__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue-strong); }
.invite__ico svg { width: 32px; height: 32px; }
.invite h3 { margin: 0 0 .3em; font-size: clamp(1.25rem, 2.2vw, 1.6rem); } .invite p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .invite { grid-template-columns: 1fr; text-align: left; } .invite .btn { justify-self: stretch; } }

/* ---- Пакеты и цены ---- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pack { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--r-md); padding: 26px 24px; transition: transform var(--t-micro) var(--ease-out); }
.pack:hover { transform: translateY(-4px); }
.pack h3 { margin: 0; font-size: 1.35rem; } .pack__d { margin: 0; color: var(--muted); }
.pack__rows { margin: 0; display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pack__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pack__rows dt { font-size: .86rem; color: var(--muted); } .pack__rows dd { margin: 0; font-weight: 800; color: var(--navy); text-align: right; }
.ticks--sm { margin: 0; padding: 0; list-style: none; font-size: .95rem; } .ticks--sm li { margin-bottom: .55em; }
.pack__price { margin: auto 0 0; font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.pack .btn { justify-content: center; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }
.sec--soft .pack { background: var(--white); box-shadow: var(--shadow-1); }
.pack__rows dd .todo { white-space: nowrap; } .pack__rows div { flex-wrap: wrap; }
.facts + .note { margin-top: 24px; }

/* ---- О нас: статусы этапов, команда, карты ---- */
.tag--now { background: var(--accent); color: var(--night); } .tag--next { background: transparent; color: var(--sky); box-shadow: inset 0 0 0 1.5px var(--sky); } .tag--plan { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.tl__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .tl__head .tag { margin: 0; }
.map-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.map-grid .map-embed { margin: 0; } .map-grid .map-embed iframe { height: clamp(300px, 42vw, 440px); }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; gap: 6px; justify-items: start; padding: 22px; border: 1px solid var(--on-dark-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .04); }
.member__pic { width: 88px; height: 88px; margin-bottom: 8px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--sky); }
.member__pic svg { width: 40px; height: 40px; } .member__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.contact-list li, .legal li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: center; min-height: 44px; }
.contact-list li > svg { grid-row: 1 / 3; align-self: center; }
.contact-list li > :not(svg) { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }
.legal li { grid-template-columns: 1fr; min-height: 0; padding: 2px 0; }

/* Лендинг (/sponsor): шапка без меню — «Обсудить» видна на любой ширине; короткий подвал */
.site-header--min .header-cta { display: inline-flex; }
@media (max-width: 480px) { .site-header--min .header-cta { padding: 8px 14px; font-size: 13px; } .site-header--min .brand img { height: 32px; } }
.site-footer--min .footer-bottom { margin-top: 24px; padding-right: 0; }
.site-footer--min .footer-bottom a { color: inherit; }
.packs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
@media (max-width: 900px) { .packs--2 { grid-template-columns: 1fr; } }
/* Выбор одного варианта в форме (радиокнопки в стиле .check) */
.choice { grid-column: 1 / -1; display: grid; gap: 2px; }
.choice__l { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.ci__l { min-width: 0; }
@media (max-width: 640px) { .hero--invest { padding: 28px 0 28px; } }

/* ---- Иллюстрации героев ---- */
.bottle-fan, .fridge-scene { position: relative; z-index: 1; width: auto; max-width: 100%; height: min(58svh, 520px); overflow: visible; filter: drop-shadow(0 24px 24px rgba(15, 47, 99, .12)); }
.mock--fan .mock__cap, .mock--fridge .mock__cap { text-align: center; }
.fan-m { animation: bob 7s var(--ease-move) infinite alternate; } .fan-l, .fan-r { transform-box: fill-box; }
@media (max-width: 900px) { .bottle-fan, .fridge-scene { height: min(44svh, 380px); } .hero-scene { height: min(44svh, 420px); } }
@media (max-width: 640px) { .hero-scene { height: min(42svh, 360px); } }
@media (max-height: 600px) and (max-width: 380px) { .hero-scene { height: 36svh; } }

/* ---- График отчёта: сетка, значения, пик ---- */
.bars { display: block; position: relative; height: 220px; margin-top: 20px; padding: 18px 0 24px 34px; border: 0; }
.bars__cols { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; gap: 6px; }
.ygrid { position: absolute; left: -34px; right: 0; height: 0; border-top: 1px solid var(--line); z-index: 0; pointer-events: none; }
.ygrid em { position: absolute; left: 0; top: -.6em; width: 28px; font-style: normal; font-size: .68rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.ygrid:last-of-type { border-top: 2px solid var(--line-2); }
.bar b { position: absolute; left: 50%; transform: translate(-50%, -3px); font-size: .72rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.bar--max b { color: var(--accent-ink); }
.bar--max i { background: var(--accent); }
.bar:hover i { background: var(--blue-strong); } .bar--max:hover i { background: var(--accent); }
.bars-axis { margin: 8px 0 0; font-size: .78rem; color: var(--muted); text-align: right; }
.tile { background: var(--white); border: 1px solid var(--line); }
.tile b { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.tile--acc { background: var(--night); border-color: var(--night); } .tile--acc b { font-size: clamp(2rem, 3.6vw, 2.9rem); }
@media (max-width: 640px) { .bars { height: 190px; padding-left: 30px; } .bars__cols { gap: 4px; } }

.sec--night .todo, .sec--night2 .todo, .hero--invest .todo, .cta .todo { color: var(--accent); border-color: var(--accent); }

/* ---- QR-демо: подсказки перед нажатием ---- */
.qrdemo__art { height: min(62svh, 540px); }
.qr-pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }
.qrdemo:not(.is-run) .qr-pulse { animation: qrpulse 1.8s var(--ease-out) infinite; }
@keyframes qrpulse { 0% { transform: scale(.94); opacity: .9; } 70%, 100% { transform: scale(1.12); opacity: 0; } }
.qrdemo__go { position: relative; padding-top: 34px; display: flex; flex-direction: column; align-items: center; }
.qrdemo__tap { position: absolute; top: 0; left: 50%; margin-left: -34px; width: 68px; display: flex; flex-direction: column; align-items: center; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); animation: tapbob 1.2s var(--ease-move) infinite alternate; transition: opacity var(--t-micro); }
.qrdemo__tap svg { width: 18px; height: 18px; }
.qrdemo.is-run .qrdemo__tap { opacity: 0; animation: none; }
@keyframes tapbob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@media (max-width: 640px) { .qrdemo__art { height: min(40svh, 340px); } .qrdemo__go { align-items: stretch; } }
.qrdemo__art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
.venue:hover, .venue:focus-within { box-shadow: var(--shadow-1); } .venue:focus-within::after { opacity: 1; }
.venue__vis svg { transition: transform var(--t-block) var(--ease-out); } .venue:hover .venue__vis svg { transform: scale(1.04); }
.sec .container > :last-child { margin-bottom: 0; }


/* =====================================================================
   Сцена на главной (scrollytelling): закреплённое видео, которое «прокручивается» скроллом.
   Без JS и при prefers-reduced-motion — обычный экран 100dvh без закрепления.
   ===================================================================== */
#site-header { display: contents; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.scene { position: relative; height: 100vh; height: 100dvh; background: var(--scene-bg); color: #fff; }
.scene.is-live { height: 600vh; }
.scene__pin { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--scene-bg); }
.scene__scrub, .scene__intro { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scene__scrub { z-index: 10; }
.scene__intro { z-index: 20; opacity: 0; pointer-events: none; } /* opacity и transition ведёт scene.js */
.scene:not(.is-live) .scene__scrub, .scene:not(.is-live) .scene__intro, .scene.is-ph .scene__scrub, .scene.is-ph .scene__intro { display: none; }

/* зерно плёнки */
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; z-index: 45; mix-blend-mode: overlay; background-size: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* загрузчик */
.scene__loader { display: none; position: absolute; inset: 0; z-index: 60; background: var(--scene-bg); place-content: center; justify-items: center; gap: 22px; transition: opacity 700ms var(--ease-reveal); }
.scene.is-live .scene__loader { display: grid; }
.scene__loader.is-done { opacity: 0; pointer-events: none; }
.scene__bar { position: relative; display: block; width: 96px; height: 1px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scene__bar i { position: absolute; left: 25%; top: 0; width: 50%; height: 100%; background: rgba(255, 255, 255, .8); animation: scene-pulse 1.4s ease-in-out infinite; }
@keyframes scene-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.scene__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .3em; color: rgba(255, 255, 255, .4); padding-left: .3em; }

/* БЛОК A — открывающий split-hero */
.scene__blocks { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.blkA { position: absolute; inset: 0; opacity: 1; filter: blur(0); transform: none;
  transition: opacity 700ms var(--ease-reveal), filter 700ms var(--ease-reveal), transform 700ms var(--ease-reveal); }
.blkA:not(.is-on) { opacity: 0; filter: blur(6px); transform: translateY(-40px); }
.blkA h1, .blkA h3 { color: #fff; margin: 0; }
.blkA__left { position: absolute; left: 24px; right: 24px; top: 14%; }
.blkA h1 { font-weight: 300; font-size: 48px; line-height: 1; letter-spacing: -.03em; }
.blkA__l { display: block; }
.blkA h1 .display { font-weight: 400; letter-spacing: -.02em; }
.blkA__left p { margin: 24px 0 0; max-width: 280px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 14px rgba(0, 0, 0, .95), 0 0 4px rgba(0, 0, 0, .8); letter-spacing: -.01em; }
.blkA__right { display: none; }
.blkA__city { position: absolute; right: 24px; bottom: 14%; margin: 0; text-align: right; font-size: 36px; font-weight: 300; line-height: 1.25; color: #fff; }
.blkA__city span { display: block; }
.scene__hint { position: absolute; left: 50%; bottom: 32px; margin-left: -10px; width: 20px; height: 20px; color: rgba(255, 255, 255, .5); animation: scene-bounce 2.2s ease-in-out infinite; }
@keyframes scene-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.scene__cta { display: none; }
@media (min-width: 768px) {
  .blkA__left { left: 7%; right: auto; top: 22%; max-width: 420px; }
  .blkA h1 { font-size: 72px; }
  .blkA__left p { color: rgba(255, 255, 255, .6); text-shadow: none; }
  .blkA__right { display: block; position: absolute; right: 7%; top: 22%; max-width: 300px; }
  .blkA__right h3 { font-size: 30px; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
  .blkA__right h3 .display { font-weight: 400; white-space: nowrap; }
  .blkA__right p { margin: 16px 0 0; font-size: 11px; line-height: 1.55; text-transform: uppercase; letter-spacing: .025em; color: rgba(255, 255, 255, .5); }
  .blkA__city { right: 7%; font-size: 48px; }
}
@media (max-width: 767px) and (max-height: 640px) { .blkA h1 { font-size: 40px; } .blkA__left p { margin-top: 14px; } }


/* ЗАГЛУШКА: «ночная вода», пока нет видео */
.scene__ph { display: none; position: absolute; inset: 0; z-index: 5; overflow: hidden; }
.scene.is-ph .scene__ph { display: block; }
.ph__bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--scene-bg) 0%, var(--navy) 100%); }
.ph__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; background: radial-gradient(closest-side, var(--sky), transparent); will-change: transform, opacity; }
.ph__glow--a { width: 46vmax; height: 46vmax; left: -12vmax; top: -10vmax; animation: ph-drift-a 22s ease-in-out infinite alternate; }
.ph__glow--b { width: 38vmax; height: 38vmax; right: -10vmax; bottom: -8vmax; opacity: .28; animation: ph-drift-b 28s ease-in-out infinite alternate; }
.ph__glow--c { width: 26vmax; height: 26vmax; left: 38%; top: 30%; opacity: .16; animation: ph-drift-c 18s ease-in-out infinite alternate; }
@keyframes ph-drift-a { from { transform: translate(0, 0) scale(1); opacity: .3; } to { transform: translate(12vmax, 8vmax) scale(1.15); opacity: .42; } }
@keyframes ph-drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-10vmax, -6vmax) scale(.95); } }
@keyframes ph-drift-c { from { transform: translate(-6vmax, 0); opacity: .1; } to { transform: translate(6vmax, -5vmax); opacity: .22; } }
.ph__city { position: absolute; left: 0; bottom: 0; width: 100%; height: 46%; opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.ph__bld { fill: #0A1B3A; } .ph__wins { fill: rgba(174, 233, 255, .55); } .ph__ppl { fill: #16376B; }
.ph__cam { position: absolute; left: 50%; top: 50%; width: min(34vh, 60vw); aspect-ratio: 400 / 760; margin-left: calc(min(34vh, 60vw) / -2);
  margin-top: calc(min(34vh, 60vw) * 760 / 400 * -0.597); transform-origin: 50% 59.7%; will-change: transform; }
.ph__bottle { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 40px rgba(94, 200, 255, .25)); }

/* prefers-reduced-motion: без закрепления, видео и Lenis — один экран с постером и всем текстом сразу */
@media (prefers-reduced-motion: reduce) {
  .scene, .scene.is-live { height: auto; min-height: 100vh; min-height: 100dvh; }
  .scene__pin { position: relative; height: auto; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 120px 24px 72px;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url("../assets/img/poster_end.jpg") center / cover no-repeat, linear-gradient(180deg, var(--scene-bg), var(--navy)); }
  .scene__scrub, .scene__intro, .scene__loader, .scene__ph, .scene__hint { display: none !important; }
  .scene__blocks { position: relative; inset: auto; pointer-events: auto; z-index: 50; }
  .blkA { position: static; display: grid; gap: 28px; justify-items: center; text-align: center; opacity: 1 !important; filter: none !important; transform: none !important; transition: none; max-width: 640px; }
  .blkA__left, .blkA__right, .blkA__city { position: static; max-width: none; }
  .blkA__right { display: block; } .blkA__left p, .blkA__right p { margin-left: auto; margin-right: auto; max-width: 440px; color: rgba(255, 255, 255, .8); text-shadow: none; }
  .blkA h1 { font-size: clamp(44px, 9vw, 72px); } .blkA__city { text-align: center; }
  .scene__cta { display: flex; justify-content: center; margin-top: 32px; }
}

/* =====================================================================
   Шапка (fixed, z-index 100): прозрачная, «стеклянные» пилюли, светлый/тёмный вариант (data-header, переключает layout.js)
   ===================================================================== */
.site-header { --h-glass: rgba(255, 255, 255, .10); --h-border: rgba(255, 255, 255, .20); --h-link: rgba(255, 255, 255, .80); --h-hover-bg: rgba(255, 255, 255, .15); --h-hover: #fff;
  --h-ink: #fff; --h-btn-bg: #fff; --h-btn-ink: #0B1B33; --h-btn-hover: #F1F5FB; --h-knob: rgba(255, 255, 255, .22); --h-lang: rgba(255, 255, 255, .8); --h-lang-on: #fff;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; pointer-events: none; }
.site-header > * { pointer-events: auto; }
@media (min-width: 768px) { .site-header { padding: 20px 40px; } }
.site-header[data-header="light"]:not(.is-menu) { --h-glass: rgba(255, 255, 255, .75); --h-border: rgba(15, 47, 99, .12); --h-link: rgba(11, 27, 51, .75); --h-hover-bg: rgba(15, 47, 99, .08); --h-hover: #0B1B33;
  --h-ink: var(--navy); --h-btn-bg: var(--blue-strong); --h-btn-ink: #fff; --h-btn-hover: #0654B8; --h-knob: var(--navy); --h-lang: var(--navy); --h-lang-on: #fff; }
.site-header { transition: color .3s var(--ease-reveal); }
.brand { position: relative; z-index: 2; display: block; flex-shrink: 0; min-height: 44px; min-width: 44px; }
.brand img { display: block; height: 40px; width: auto; }
.brand__d { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s var(--ease-reveal); }
.brand__w { transition: opacity .3s var(--ease-reveal); }
.site-header[data-header="light"]:not(.is-menu) .brand__d { opacity: 1; }
.site-header[data-header="light"]:not(.is-menu) .brand__w { opacity: 0; }
.header-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--h-glass); border: 1px solid var(--h-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .3s var(--ease-reveal), border-color .3s var(--ease-reveal); }
.lang-switch::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--h-knob); border-radius: 999px; transform: translateX(0); transition: transform var(--t-micro) var(--ease-move), background-color .3s; }
.lang-switch[data-lang="kk"]::before { transform: translateX(100%); }
.lang-switch button { position: relative; z-index: 1; min-width: 44px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; font-size: 13px; color: var(--h-lang); cursor: pointer; transition: color .3s; }
.lang-switch button::after { content: ""; position: absolute; inset: -4px -2px; }
.lang-switch button[aria-pressed="true"] { color: var(--h-lang-on); }
.header-cta { display: none; align-items: center; border-radius: 999px; padding: 10px 24px; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none;
  background: var(--h-btn-bg); color: var(--h-btn-ink); transition: background-color .3s var(--ease-reveal), color .3s; }
.header-cta:hover { background: var(--h-btn-hover); }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--h-ink); cursor: pointer; transition: color .3s; }
.burger svg { width: 26px; height: 26px; }
.nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: calc(var(--header-h) + 24px) 32px 40px; background: #050B18;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-reveal), visibility 0s linear .3s; }
.nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-reveal); }
.nav a { padding: 10px 0; font-size: 32px; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--sky); }
.nav .nav-cta { align-self: flex-start; margin-top: 24px; padding: 14px 28px; border-radius: 999px; background: #fff; color: #0B1B33; font-size: 16px; font-weight: 600; letter-spacing: 0; }
html.menu-open { overflow: hidden; }
@media (min-width: 1024px) {
  .burger { display: none; }
  .header-cta { display: inline-flex; }
  .nav { position: absolute; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; flex-direction: row; justify-content: flex-start; gap: 2px; padding: 8px; border-radius: 999px; opacity: 1; visibility: visible;
    background: var(--h-glass); border: 1px solid var(--h-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .3s var(--ease-reveal), border-color .3s var(--ease-reveal); }
  .nav a { padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; white-space: nowrap; color: var(--h-link); transition: background-color .2s, color .2s; }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--h-hover-bg); color: var(--h-hover); }
  .nav .nav-cta { display: none; }
}
/* на средних ширинах пилюля и кнопка сжимаются, а кнопка уходит, если не помещается рядом с пилюлей (иначе они наезжают друг на друга; казахские подписи длиннее) */
@media (min-width: 1024px) and (max-width: 1599px) {
  .nav a { padding: 6px 12px; font-size: 13px; }
  .header-cta { padding: 8px 16px; font-size: 13px; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .header-cta { display: none; } }
@media (min-width: 1280px) and (max-width: 1499px) { html[lang="kk"] .header-cta { display: none; } }

/* =====================================================================
   Сцена: блок B (кадр с QR) и блок C (город), скримы, свечение, шов со следующей секцией
   ===================================================================== */
.scene__glow { position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 55% 45% at 50% 100%, rgba(255, 122, 61, .14), transparent 70%); }
.scene__scrim { display: none; }
@media (max-width: 767px) {
  .scene__scrim { display: block; position: absolute; left: 0; right: 0; z-index: 40; pointer-events: none; }
  .scene__scrim--b { bottom: 0; height: 50%; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
  .scene__scrim--t { top: 0; height: 40%; background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent); }
}
.scene__seam { position: absolute; left: 0; right: 0; bottom: 0; height: 20vh; z-index: 46; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white)); }

.ib { display: inline-block; }
.lbl { margin: 0; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; line-height: 1.4; color: rgba(255, 255, 255, .4); }
.divider { width: 48px; height: 1px; background: rgba(255, 255, 255, .2); }
.stats { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.stat__v { display: block; font-size: 24px; line-height: 1.2; color: #fff; }
.stat__l { display: block; margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .025em; line-height: 1.4; color: rgba(255, 255, 255, .4); }

.blkB { position: absolute; z-index: 50; left: 24px; right: 24px; bottom: 8%; pointer-events: none; opacity: 0; visibility: hidden; color: #fff; }
.blkB h2 { margin: 16px 0 0; font-size: 48px; font-weight: 300; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.blkB__lead { margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.blkB__p { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.blkB .divider { margin-top: 24px; }
.blkB .stats { margin-top: 20px; }
@media (min-width: 768px) {
  .blkB { left: auto; right: 8%; bottom: auto; top: 50%; max-width: 460px; transform: translateY(-50%); }
  .blkB h2 { font-size: 60px; }
}
@media (max-width: 767px) { .blkB__p { display: none; } .blkB__lead { margin-top: 16px; font-size: 15px; } .blkB .stats { gap: 16px 28px; } }

.blkC { position: absolute; inset: 0; z-index: 50; pointer-events: none; visibility: hidden; color: #fff; }
.blkC__h { position: absolute; left: 0; right: 0; top: 12%; margin: 0; padding: 0 24px; text-align: center; font-size: 48px; font-weight: 300; line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.blkC .lbl { font-size: 10px; }
.blkC__p { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.blkC__r .blkC__p { margin-top: 0; }
.blkC .divider { margin-top: 20px; }
.blkC .stats { margin-top: 16px; }
.blkC__cols { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; flex-direction: column; gap: 28px; padding: 0 24px; }
.blkC__btn { margin-top: 20px; }
.blkC__ghost { margin-top: 16px; font-size: 12px; }
.blkC__ghost a { pointer-events: auto; display: inline-block; color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .3s var(--ease-reveal); }
.blkC__ghost a:hover { color: #fff; }
.cta-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 28px; border-radius: 999px; background: var(--accent); color: #0B1B33; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform .3s var(--ease-reveal), background-color .3s var(--ease-reveal), box-shadow .3s var(--ease-reveal); }
.cta-pill:hover { transform: scale(1.03); background: #EB7038; box-shadow: 0 10px 40px -10px rgba(255, 122, 61, .5); }
.cta-pill__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .85); color: var(--accent); transition: transform .3s var(--ease-reveal); }
.cta-pill:hover .cta-pill__ic { transform: rotate(45deg); }
@media (min-width: 768px) {
  .blkC__h { top: 10%; font-size: 72px; }
  .blkC__cols { display: contents; }
  .blkC__l, .blkC__r { position: absolute; bottom: 16%; }
  .blkC__l { left: 7%; max-width: 300px; }
  .blkC__r { right: 7%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .blkB, .blkC, .scene__glow, .scene__scrim, .scene__seam { display: none !important; } }

/* =====================================================================
   Герой внутренних страниц (70–80vh): ночная вода + зерно, заголовок по словам, CTA-пилюля.
   Фото/видео (assets/img/hero-<page>.webp, assets/video/hero-<page>.mp4) подключает page-hero.js, если файлы есть.
   ===================================================================== */
.phero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 75vh; min-height: 75svh; padding: calc(var(--header-h) + 24px) 0 clamp(48px, 7vw, 88px); background: var(--scene-bg); color: #fff; }
.phero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, var(--scene-bg) 0%, #0A1B36 55%, var(--navy) 100%); }
.phero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 11, 24, .6), rgba(5, 11, 24, .1) 70%); }
.phero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .3; background: radial-gradient(closest-side, var(--sky), transparent); will-change: transform; }
.phero__glow--a { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; animation: ph-drift-a 22s ease-in-out infinite alternate; }
.phero__glow--b { width: 38vmax; height: 38vmax; right: -10vmax; bottom: -12vmax; opacity: .22; animation: ph-drift-b 28s ease-in-out infinite alternate; }
.phero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .6; }
video.phero__media { opacity: 0; transition: opacity .6s var(--ease-reveal); }
video.phero__media.is-ready { opacity: .6; }
.phero__grid { position: relative; z-index: 2; display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.phero--art .phero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.phero__copy { max-width: 760px; }
.phero .eyebrow { color: var(--sky); }
.phero h1 { margin: 0 0 .35em; color: #fff; font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; max-width: 12em; }
.phero .lead { margin: 0; max-width: 34em; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .72); }
.phero__cta { margin-top: 2rem; }
.phero__art { position: relative; display: grid; place-items: center; }
.phero__art .mock__glow { opacity: .3; }
.phero__art .mock__cap { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .phero--art .phero__grid { grid-template-columns: 1fr; } .phero__art { margin-top: 8px; } .phero { min-height: 70vh; min-height: 70svh; } }
@media (prefers-reduced-motion: reduce) { .phero__glow { animation: none; } video.phero__media { display: none; } }

/* светлая шапка: мягкая белая подложка, чтобы логотип и пилюли не терялись на контенте, который уезжает под шапку */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 16px); z-index: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, .94) 55%, rgba(255, 255, 255, 0)); transition: opacity .3s var(--ease-reveal); }
.site-header[data-header="light"]:not(.is-menu)::before { opacity: 1; }

/* когда у героя есть настоящее фото/видео (page-hero.js ставит .has-media), SVG-макет не показываем и сетка в одну колонку; без медиа SVG остаётся как запасной вариант */
.phero.has-media .phero__art { display: none; }
.phero.has-media.phero--art .phero__grid { grid-template-columns: 1fr; }


/* «Миссия» и «Кейсы» включены в админке: в шапке до 8 пунктов. Уплотняем меню и убираем кнопку, чтобы меню не наезжало на логотип и язык */
@media (min-width: 1024px) and (max-width: 1599px) {
  .nav:has(a[data-flag]:not([hidden])) a { padding: 6px 9px; font-size: 13px; }
  .site-header:has(.nav a[data-flag]:not([hidden])) .header-cta { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  html[lang="kk"] .nav:has(a[data-flag]:not([hidden])) a { padding: 6px 6px; font-size: 12px; }
}

/* CARDS-PHOTOS:BEGIN — серверный хотфикс: фото вместо SVG в карточках (до интеграции в репозитории) */
.benefits > :nth-child(1) .benefit__vis { background: #eaf3fb url("../assets/img/cards/benefit-1.webp?v=a31856b7") center / cover no-repeat; }
.benefits > :nth-child(2) .benefit__vis { background: #eaf3fb url("../assets/img/cards/benefit-2.webp?v=a31856b7") center / cover no-repeat; }
.benefits > :nth-child(3) .benefit__vis { background: #eaf3fb url("../assets/img/cards/benefit-3.webp?v=a31856b7") center / cover no-repeat; }
.benefits > :nth-child(4) .benefit__vis { background: #eaf3fb url("../assets/img/cards/benefit-4.webp?v=a31856b7") center / cover no-repeat; }
.benefits .benefit__vis { padding: 0; overflow: hidden; }
.benefits .benefit__vis > svg { visibility: hidden; }
.venues > :nth-child(1) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-gym.webp?v=a31856b7") center / cover no-repeat; }
.venues > :nth-child(2) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-cafe.webp?v=a31856b7") center / cover no-repeat; }
.venues > :nth-child(3) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-university.webp?v=a31856b7") center / cover no-repeat; }
.venues > :nth-child(4) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-event.webp?v=a31856b7") center / cover no-repeat; }
.venues > :nth-child(5) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-office.webp?v=a31856b7") center / cover no-repeat; }
.venues > :nth-child(6) .venue__vis { background: #eaf3fb url("../assets/img/cards/venue-hotel.webp?v=a31856b7") center / cover no-repeat; }
.venues .venue__vis { aspect-ratio: 3 / 2; transition: transform var(--t-block) var(--ease-out); }
.venues .venue__vis > svg { display: none; }
.venue:hover .venue__vis { transform: scale(1.02); }
.split__art .mock__bottle { width: calc(min(58svh, 520px) * .75); background: url("../assets/img/cards/ads-bottle.webp?v=a31856b7") center / cover no-repeat; border-radius: 28px; filter: drop-shadow(0 24px 40px rgba(15, 47, 99, .18)); }
.split__art .mock__bottle > * { display: none; }
@media (max-width: 900px) { .split__art .mock__bottle { width: calc(min(46svh, 380px) * .75); } }
/* CARDS-PHOTOS:END */
