/* ==================== CSS ПЕРЕМЕННЫЕ ==================== */
:root {
  --blue: #0b5eca;
  --cyan: #08afd9;
  --ink: #0a1422;
  --ink-soft: #44506a;
  --paper: #ffffff;
  --muted: #7c879c;
  --hairline: rgba(10, 20, 34, 0.12);
  --glass: rgba(10, 20, 34, 0.035);

  /* активный вкус (управляется хореографией) */
  --flavor: #2e8bff;

  /* адаптивные (по секции) */
  --header-ink: #ffffff;

  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "Inter", system-ui, sans-serif;
  --font-display: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;

  --pad-x: clamp(20px, 6.25vw, 60px);
  --maxw: 1640px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==================== СБРОС ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  min-height: 100%;
}

img, video {
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

input, button, textarea, select { font: inherit; }

button {
  cursor: pointer;
  background-color: transparent;
  border: none;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }

/* ==================== ШРИФТЫ ==================== */
/* Inter — вариативный (вес 100–900), локально, латиница + кириллица */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/Inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/Inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/Inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================== ГЛОБАЛЬНЫЕ СТИЛИ ==================== */
body {
  color: var(--ink);
  background: #ffffff; /* белый — чтобы Safari не красил тулбары в синий */
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body._disable-scroll {
  overflow: hidden;
  touch-action: none;
}

.wrapper {
  position: relative;
  min-height: 100%;
}

.container {
  max-width: var(--maxw);
  width: 100%;
  padding-inline: var(--pad-x);
  margin-inline: auto;
}

::selection { background: var(--flavor); color: #fff; }

/* ---- фиксированные слои сцены ---- */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--blue);
  will-change: background-color;
  transition: background-color 0.8s var(--ease);
}
.can-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background: radial-gradient(48% 44% at 50% 46%, rgba(255, 255, 255, 0.32), transparent 70%);
  will-change: opacity;
}
.can-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
/* neural-фон — анимированный градиент, гаснет на белых секциях (через opacity) */
.neural-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.neural-bg__canvas { display: block; width: 100%; height: 100%; }
#page { position: relative; z-index: 2; }

/* зерно */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- типографика-хелперы ---- */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.accent { color: var(--flavor); }

/* ==================== ШАПКА ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 1.7vw, 32px);
  color: var(--header-ink, #fff);
  transition: color 0.5s var(--ease);
}
.header__brand { display: flex; align-items: center; flex: 0 0 auto; }
.logo {
  display: inline-block;
  height: 26px;
  width: calc(26px * 253 / 33);
  background: currentColor;
  -webkit-mask: url(../img/header/logo.svg) no-repeat center / contain;
  mask: url(../img/header/logo.svg) no-repeat center / contain;
}
.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.header[data-scrolled="true"] .header__nav {
  opacity: 0;
  transform: translateX(-50%) translateY(-14px);
  pointer-events: none;
}
.header__link {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 9px 16px;
  border-radius: 100px;
  color: inherit;
  opacity: 0.92;
  transition: background 0.25s var(--ease);
}
.header__link:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.header__right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header__menu-btn {
  width: 53px;
  height: 53px;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  display: grid;
  place-items: center;
  color: inherit;
}
.header__menu-btn svg { width: 22px; height: 22px; }

/* ==================== БУРГЕР-МЕНЮ ==================== */
.menu { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.menu[data-open="true"] { pointer-events: auto; }
.menu__scrim {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(8, 14, 26, 0.45);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.menu[data-open="true"] .menu__scrim { opacity: 1; }
.menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: clamp(320px, 40vw, 460px);
  display: flex;
  flex-direction: column;
  padding: 20px 30px clamp(28px, 4vw, 48px);
  color: #0a1422;
  background: #ffffff;
  transform: translateX(100%);
  will-change: transform;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.menu[data-open="true"] .menu__panel {
  transform: translateX(0);
  box-shadow: -30px 0 80px rgba(8, 14, 26, 0.22);
}
.menu__bar { display: flex; align-items: center; justify-content: space-between; }
.menu__bar .logo { color: #0a1422; height: 28px; width: calc(28px * 253 / 33); }
.menu__close {
  width: 47px; height: 47px; border-radius: 100px;
  border: 1px solid rgba(10, 20, 34, 0.18);
  display: grid; place-items: center; color: #0a1422;
  transition: background 0.25s var(--ease);
}
.menu__close:hover { background: rgba(10, 20, 34, 0.06); }
.menu__close svg { width: 22px; height: 22px; }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(4px, 1vw, 12px); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #0a1422;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.menu__link:hover { color: var(--blue); transform: translateX(8px); }
.menu__index { font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 13px; letter-spacing: 0.1em; color: rgba(10, 20, 34, 0.4); }
.menu__foot { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid rgba(10, 20, 34, 0.12); padding-top: 26px; }
.menu__contacts { display: flex; flex-direction: column; gap: 8px; }
.menu__phone { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; transition: color 0.25s var(--ease); }
.menu__mail { font-size: 16px; color: rgba(10, 20, 34, 0.6); transition: color 0.25s var(--ease); }
.menu__phone:hover, .menu__mail:hover { color: var(--blue); }
.menu__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.menu__social {
  font-size: 14px; font-weight: 600;
  padding: 11px 18px; border-radius: 100px;
  border: 1px solid rgba(10, 20, 34, 0.2);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu__social:hover { background: rgba(10, 20, 34, 0.05); border-color: rgba(10, 20, 34, 0.4); }

/* ==================== НАВИГАТОР ВКУСОВ (капсула справа) ==================== */
.flavor-nav {
  position: fixed;
  right: clamp(14px, 2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  opacity: 0;
  visibility: hidden; /* иначе backdrop-filter капсулы даёт «тень» даже при opacity:0 */
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.flavor-nav[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
.flavor-nav__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 72vh;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.flavor-nav__list::-webkit-scrollbar { display: none; }
.flavor-nav__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px 8px 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.flavor-nav__tab:hover { background: rgba(255, 255, 255, 0.1); }
.flavor-nav__tab[data-active="true"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent, #fff);
  box-shadow: 0 0 0 1px var(--accent, transparent), 0 6px 22px -10px var(--accent, transparent);
}
.flavor-nav__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.flavor-nav__thumb-img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
}
.flavor-nav__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.flavor-nav__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.flavor-nav__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
}

/* ==================== ГЛАВНАЯ СТРАНИЦА ==================== */
.hero {
  position: relative;
  min-height: 100svh;
}

/* ---- hero-оверлей (заголовок, подсказка, CTA) ---- */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  color: #fff;
  overflow: visible;
  z-index: 3; /* выше #page (z-index:2), иначе спейсер #hero перекрывает кнопку */
  pointer-events: none; /* фон пропускает клики, кликабельна только кнопка */
}
.hero-backdrop__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: none;
  padding-inline: var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-backdrop__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(36px, 6.7vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 58%;
}
.hero-backdrop__line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.12em;
  margin: -0.06em -0.12em;
}
.hero-backdrop__line-inner {
  display: block;
  color: #fff;
  animation: lineUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}
.hero-backdrop__line:nth-child(2) .hero-backdrop__line-inner { animation-delay: 0.2s; }
@keyframes lineUp {
  0% { transform: translateY(115%); filter: blur(10px); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateY(0); filter: blur(0); opacity: 1; }
}
.hero-backdrop__bottom {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 6vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 9px 9px 9px 35px;
  transition: background 0.35s var(--ease);
  pointer-events: auto; /* родитель .hero-backdrop = none, кнопке возвращаем клики */
  cursor: pointer;
}
.hero-cta:hover { background: rgba(255, 255, 255, 0.1); }
.hero-cta__label { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.hero-cta__circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 20px;
  transition: transform 0.35s var(--ease);
}
.hero-cta:hover .hero-cta__circle { transform: translate(2px, -2px); }
.hero-backdrop__lead {
  max-width: 410px;
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.87);
  text-align: right;
}

/* подсказка интерактивности (курсор ↔ вкус) */
.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 7vh;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(440px, 80vw);
  pointer-events: none;
  opacity: 0;
  animation: hintIn 0.9s var(--ease) 1.6s both;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hero-hint[data-scrolled="true"] { opacity: 0; transform: translateX(-50%) translateY(10px); animation: none; }
@keyframes hintIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%); } }
.hero-hint__row { display: flex; align-items: center; gap: 16px; width: 100%; }
.hero-hint__side { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: #fff; }
.hero-hint__track { position: relative; flex: 1 1 auto; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); }
.hero-hint__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
  animation: hintSlide 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes hintSlide { 0%, 100% { left: 0; } 50% { left: 100%; } }
.hero-hint__caption { font-size: 12.5px; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); }

/* крупные заголовки секций — системный гротеск */
.flavors__name, .footer__big, .comp__title, .news__title, .comp__card b { font-family: var(--font-display); }

/* ==================== ПРЕИМУЩЕСТВА (pinned, вокруг банки) ==================== */
.proof { position: relative; height: 280vh; }
.proof__stage {
  position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 83%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 83%, transparent 100%);
}
.proof__track { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
.proof__item { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad-x); pointer-events: none; will-change: opacity; }
.proof__title { width: min(42vw, 560px); }
.proof__num { display: block; font-weight: 600; font-size: 14px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); margin-bottom: 22px; }
.proof__title h3 { margin: 0; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 4.8vw, 84px); line-height: 1.06; letter-spacing: -0.01em; color: #fff; }
.proof__desc { width: min(24vw, 330px); margin: 0; color: rgba(255, 255, 255, 0.85); font-size: clamp(15px, 1.2vw, 20px); line-height: 1.35; }

/* фоновый слой второго экрана (за банкой) + ватермарка */
.proof-bg { position: fixed; inset: 0; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden; }
.proof-bg__word {
  position: absolute; left: 50%; bottom: -0.16em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(120px, 27vw, 520px); line-height: 0.8; letter-spacing: -0.03em; white-space: nowrap;
  color: #fff; opacity: 0.1;
}

/* ==================== ЧТО ВНУТРИ (blue) ==================== */
.comp { position: relative; min-height: 100vh; overflow: hidden; color: #fff; }
.comp__top { position: absolute; top: 13vh; left: var(--pad-x); max-width: 640px; z-index: 3; }
.comp__title { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(46px, 7vw, 132px); line-height: 0.9; }
.comp__lead { color: rgba(255, 255, 255, 0.85); font-size: 15px; margin-top: 22px; max-width: 44ch; line-height: 1.5; }
.comp__cards { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 7vh; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.comp__col { display: flex; flex-direction: column; gap: 14px; width: clamp(260px, 24vw, 360px); }
.comp__card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(16px); border-radius: 18px; padding: 34px 38px; min-height: 148px; display: flex; flex-direction: column; justify-content: flex-end; }
.comp__card b { font-weight: 800; font-style: italic; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.08; text-transform: uppercase; }
.comp__card small { color: rgba(255, 255, 255, 0.65); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 12px; }

/* ==================== ВКУСЫ (pinned) ==================== */
.flavors { position: relative; height: 200vh; }
.flavors__stage { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; color: #fff; }
.flavors__item { position: absolute; top: 50%; left: var(--pad-x); transform: translateY(-50%); width: min(42vw, 560px); display: flex; flex-direction: column; will-change: opacity, transform; }
.flavors__topline { display: flex; flex-direction: column; gap: 6px; }
.flavors__num { font-weight: 600; font-size: 15px; color: #fff; }
.flavors__kicker { font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.flavors__mid { margin-top: 4vh; }
.flavors__name { font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; letter-spacing: -0.03em; font-size: clamp(48px, 6.7vw, 128px); color: #fff; }
.flavors__sub { font-weight: 600; font-size: clamp(20px, 1.7vw, 32px); margin-top: 18px; color: #fff; }
.flavors__desc { font-size: 15px; color: rgba(255, 255, 255, 0.8); margin-top: 12px; max-width: 38ch; line-height: 1.5; }
.flavors__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.chip { font-weight: 600; font-size: 15px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); padding: 12px 18px; border-radius: 100px; }

/* ==================== ГДЕ КУПИТЬ (карусель) ==================== */
.buy { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 12vh var(--pad-x); color: var(--ink); }
.buy__shell { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.buy__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.buy__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6.7vw, 128px); line-height: 0.95; margin: 0; }
.buy__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 16px 4px; margin: -16px -4px; }
.buy__track::-webkit-scrollbar { display: none; }
.buy__card { scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); background: #eceef2; border-radius: 16px; padding: 34px; min-height: clamp(300px, 30vw, 380px); display: flex; flex-direction: column; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.buy__logo { display: flex; align-items: center; gap: 12px; }
.buy__dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; background: var(--brand, var(--blue)); transition: background 0.35s var(--ease); }
.buy__name { font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; transition: color 0.35s var(--ease); }
.buy__desc { margin-top: 18px; color: #7a8190; font-size: 15px; line-height: 1.45; max-width: 30ch; transition: color 0.35s var(--ease); }
.buy__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 100px; transition: transform 0.2s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }
.buy__btn:hover { transform: translateY(-2px); }
.buy__card:hover { background: var(--brand, var(--blue)); transform: translateY(-4px); }
.buy__card:hover .buy__name { color: #fff; }
.buy__card:hover .buy__desc { color: rgba(255, 255, 255, 0.85); }
.buy__card:hover .buy__dot { background: #fff; }
.buy__card:hover .buy__btn { background: #fff; color: var(--ink); }
/* стрелки карусели (переиспользуются) */
.card-nav { display: flex; gap: 12px; flex-shrink: 0; }
.buy__nav-bottom { display: none; } /* на десктопе только верхняя навигация; нижняя — для мобилы */
.card-nav__arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hairline); background: transparent; color: var(--ink); display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease); }
.card-nav__arrow:hover { background: var(--ink); color: #fff; }
.card-nav__arrow:active { transform: scale(0.94); }
.card-nav__arrow svg { width: 22px; height: 22px; }

/* ==================== НОВОСТИ ==================== */
.news { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 12vh var(--pad-x); color: var(--ink); }
.news__shell { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.news__title { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6.7vw, 128px); line-height: 0.95; margin: 0; }
.news__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.news__foot { display: none; }
.news__all { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 100px; white-space: nowrap; transition: background 0.3s var(--ease), transform 0.2s var(--ease); }
.news__all:hover { background: var(--blue); transform: translateY(-2px); }
.news__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 16px 4px; margin: -16px -4px; }
.news__track::-webkit-scrollbar { display: none; }
.news__card { position: relative; scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); background: #eceef2; border-radius: 16px; padding: 34px; min-height: clamp(300px, 30vw, 380px); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform 0.35s var(--ease); }
.news__photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); will-change: transform; }
.news__card:hover { transform: translateY(-4px); }
.news__card:hover .news__photo { opacity: 1; transform: scale(1.06); }
.news__tag { position: relative; z-index: 1; align-self: flex-start; font-size: 13px; font-weight: 600; color: #fff; background: #b6bac3; border-radius: 100px; padding: 6px 14px; transition: background 0.35s var(--ease); }
.news__card:hover .news__tag { background: rgba(255, 255, 255, 0.25); }
.news__card h3 { position: relative; z-index: 1; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2vw, 34px); line-height: 1.04; margin: 22px 0 0; max-width: 11ch; transition: color 0.35s var(--ease); }
.news__card-p { position: relative; z-index: 1; margin-top: auto; color: #7a8190; font-size: 15px; max-width: 34ch; line-height: 1.4; transition: color 0.35s var(--ease); }
.news__card:hover h3 { color: #fff; }
.news__card:hover .news__card-p { color: rgba(255, 255, 255, 0.88); }
.news__card[data-media="1"] { background: #0a1622; }
.news__card[data-media="1"] .news__photo { opacity: 1; }
.news__card[data-media="1"]::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8, 16, 28, 0.12) 0%, rgba(8, 16, 28, 0.82) 100%); }
.news__card[data-media="1"] .news__tag { background: rgba(255, 255, 255, 0.22); }
.news__card[data-media="1"] h3 { color: #fff; }
.news__card[data-media="1"] .news__card-p { color: rgba(255, 255, 255, 0.86); }

/* ==================== ПОДВАЛ ==================== */
.footer { border-top: 1px solid var(--hairline); margin-top: 8vh; padding: 60px var(--pad-x) 48px; position: relative; z-index: 2; color: var(--ink); }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer__big { width: clamp(240px, 42vw, 620px); aspect-ratio: 797 / 89; background: currentColor; -webkit-mask: url(../img/header/logo.svg) left center / contain no-repeat; mask: url(../img/header/logo.svg) left center / contain no-repeat; }
.footer__meta { font-family: var(--font-mono); font-size: 12px; color: #7c879c; line-height: 2; }
.footer__meta a:hover { color: var(--ink); }

/* ==================== ПРЕЛОАДЕР ==================== */
.preloader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--blue); transition: opacity 0.6s var(--ease), visibility 0.6s; }
.preloader._is-hidden { opacity: 0; visibility: hidden; }
.preloader__logo { color: #fff; height: 34px; width: calc(34px * 253 / 33); animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader__bar { width: clamp(140px, 32vw, 200px); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 45%; border-radius: 3px; background: #fff; animation: preloaderLoad 1.2s ease-in-out infinite; }
@keyframes preloaderPulse { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.5; } }
@keyframes preloaderLoad { 0% { transform: translateX(-120%); } 100% { transform: translateX(340%); } }

/* ==================== СТРАНИЦА НОВОСТЕЙ (список) ==================== */
.news-page { min-height: 100vh; background: #fff; color: var(--ink); padding: 22px clamp(20px, 6.25vw, 60px) clamp(60px, 8vw, 120px); }
.news-page__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.news-page__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 100px; border: 1px solid var(--hairline); transition: background 0.25s var(--ease); }
.news-page__back:hover { background: var(--glass); }
.news-page__bar .logo { color: var(--ink); height: 18px; width: calc(18px * 253 / 33); }
.news-page__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(48px, 9vw, 150px); line-height: 0.92; letter-spacing: -0.03em; margin: clamp(40px, 7vw, 90px) 0 clamp(32px, 4vw, 56px); }
.news-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-page__card { position: relative; overflow: hidden; border-radius: 16px; background: #eceef2; padding: 34px; min-height: clamp(300px, 26vw, 380px); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.35s var(--ease); }
.news-page__banner { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.4s var(--ease); }
.news-page__card:hover { transform: translateY(-4px); }
.news-page__card:hover .news-page__banner { opacity: 1; }
.news-page__tag { position: relative; z-index: 1; align-self: flex-start; font-size: 13px; font-weight: 600; color: #fff; background: #b6bac3; border-radius: 100px; padding: 6px 14px; transition: background 0.35s var(--ease); }
.news-page__card:hover .news-page__tag { background: rgba(255, 255, 255, 0.25); }
.news-page__card-title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2vw, 34px); line-height: 1.04; margin: 22px 0 0; max-width: 12ch; transition: color 0.35s var(--ease); }
.news-page__card-text { position: relative; z-index: 1; margin-top: auto; color: #7a8190; font-size: 15px; max-width: 34ch; line-height: 1.4; transition: color 0.35s var(--ease); }
.news-page__card:hover .news-page__card-title { color: #fff; }
.news-page__card:hover .news-page__card-text { color: rgba(255, 255, 255, 0.88); }
.news-page__card[data-media="1"] { background: #0a1622; }
.news-page__card[data-media="1"] .news-page__banner { opacity: 1; }
.news-page__card[data-media="1"]::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8, 16, 28, 0.12) 0%, rgba(8, 16, 28, 0.8) 100%); }
.news-page__card[data-media="1"] .news-page__tag { background: rgba(255, 255, 255, 0.22); }
.news-page__card[data-media="1"] .news-page__card-title { color: #fff; }
.news-page__card[data-media="1"] .news-page__card-text { color: rgba(255, 255, 255, 0.86); }

/* ==================== СТРАНИЦА СТАТЬИ ==================== */
.article { min-height: 100vh; background: #fff; color: var(--ink); padding: 22px clamp(20px, 6.25vw, 60px) clamp(60px, 8vw, 120px); }
.article__hero { position: relative; margin-top: clamp(24px, 4vw, 48px); border-radius: 22px; overflow: hidden; min-height: clamp(320px, 52vw, 620px); display: flex; align-items: flex-end; background: #0a1622; }
.article__hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; display: block; animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.article__hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 13, 24, 0.05) 0%, rgba(6, 13, 24, 0.18) 45%, rgba(6, 13, 24, 0.82) 100%); }
.article__hero-inner { position: relative; z-index: 1; padding: clamp(26px, 4vw, 56px); width: 100%; }
.article__tag { align-self: flex-start; font-size: 13px; font-weight: 600; border-radius: 100px; padding: 6px 14px; background: rgba(255, 255, 255, 0.22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-block; }
.article__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; font-size: clamp(34px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.02em; margin: 18px 0 14px; max-width: 18ch; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35); }
.article__meta { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.82); font-size: 14px; font-weight: 600; }
.article__body { max-width: 720px; margin: clamp(38px, 6vw, 72px) auto 0; }
.article__lead { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 clamp(24px, 3vw, 40px); }
.article__block { margin-top: clamp(22px, 2.6vw, 34px); }
.article__block-title { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
.article__block-text { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #4a515e; margin: 0; }
/* тело статьи из инфоблока Битрикса (DETAIL_TEXT — чистые h2/p) */
.article__body h2 { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: clamp(30px, 3.4vw, 44px) 0 12px; }
.article__body p:not(.article__lead) { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #4a515e; margin: 0 0 clamp(16px, 1.6vw, 20px); }
/* длинные ссылки и слова в теле статьи не должны выходить за экран */
.article__body { overflow-wrap: anywhere; min-width: 0; }
.article__body a { word-break: break-all; }
.article__figure { margin: clamp(20px, 2.6vw, 32px) 0 0; }
.article__figure-media { display: block; width: 100%; border-radius: 16px; background: #0a1622; aspect-ratio: 16 / 9; object-fit: cover; }
.article__caption { margin-top: 10px; font-size: 14px; color: #8a90a0; line-height: 1.4; }
.article__next { display: flex; flex-direction: column; gap: 6px; max-width: 720px; margin: clamp(46px, 6vw, 80px) auto 0; padding: clamp(22px, 3vw, 32px); border-radius: 18px; border: 1px solid var(--hairline); text-decoration: none; color: inherit; transition: background 0.3s var(--ease), transform 0.25s var(--ease), border-color 0.3s var(--ease); }
.article__next:hover { background: var(--glass); transform: translateY(-3px); border-color: transparent; }
.article__next-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a90a0; }
.article__next-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; }
.news-module__obM1Ya__caption {
  color: #8a90a0;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner {
        position: fixed;
        left: 24px;
        right: 24px;
        bottom: 24px;
        z-index: 99999;

        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);

        transition:
            opacity .35s ease,
            transform .35s ease,
            visibility .35s ease;
    }

    .cookie-banner.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .cookie-banner__inner {
        display: flex;
        align-items: center;
        gap: 32px;

        max-width: 1280px;
        margin: 0 auto;
        padding: 22px 24px;

        background: rgba(15, 15, 15, .94);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 18px;

        box-shadow: 0 15px 50px rgba(0, 0, 0, .35);

        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        box-sizing: border-box;
    }

    .cookie-banner__text {
        flex: 1;

        font-family: inherit;
        font-size: 13px;
        line-height: 1.5;
        color: rgba(255, 255, 255, .78);
    }

    .cookie-banner__text p {
        margin: 0;
    }

    .cookie-banner__text p + p {
        margin-top: 7px;
    }

    .cookie-banner__text a {
        color: #fff;
        text-decoration: underline;
        text-decoration-color: rgba(255, 255, 255, .4);
        text-underline-offset: 2px;
        transition: text-decoration-color .2s ease;
    }

    .cookie-banner__text a:hover {
        text-decoration-color: #fff;
    }

    .cookie-banner__button {
        flex: 0 0 auto;

        min-width: 130px;
        height: 48px;
        padding: 0 24px;

        border: 0;
        border-radius: 999px;

        background: #fff;
        color: #111;

        font-family: inherit;
        font-size: 14px;
        font-weight: 600;

        cursor: pointer;

        transition:
            transform .2s ease,
            background .2s ease;
    }

    .cookie-banner__button:hover {
        transform: translateY(-2px);
        background: #f0f0f0;
    }

    .cookie-banner__button:active {
        transform: translateY(0);
    }


    /* Mobile */
    @media (max-width: 700px) {
        .cookie-banner {
            left: 12px;
            right: 12px;
            bottom: 12px;
        }

        .cookie-banner__inner {
            display: block;
            padding: 18px;
            border-radius: 16px;
        }

        .cookie-banner__text {
            font-size: 12px;
            line-height: 1.45;
        }

        .cookie-banner__text p + p {
            margin-top: 6px;
        }

        .cookie-banner__button {
            width: 100%;
            margin-top: 16px;
            height: 46px;
        }
    }
