/* ==== reset ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; max-width: 100%; }
img, svg { display: block; max-width: 100%; }
input, textarea, button { font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

@media print {
  .nav, .cursor, .cursor-follower, .hero__glow, .marquee-wrap { display: none; }
  body { background: white; color: black; }
}

/* ==== variables ==== */
:root {
  /* Colors */
  --color-bg:             #0A0E1A;
  --color-surface:        #121826;
  --color-surface-2:      #161D2E;
  --color-border:         #1E2536;
  --color-border-hover:   #2A3448;
  --color-accent:         #CDFF4F;
  --color-accent-dim:     #9BC22F;
  --color-text-primary:   #FFFFFF;
  --color-text-secondary: #888888;
  --color-text-muted:     #949BA8;
  --color-success:        #22C55E;
  --color-white:          #FFFFFF;

  /* Typography */
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Layout */
  --max-width:             1200px;
  --section-padding:       120px 0;
  --section-padding-mobile: 64px 0;
  --gap-sm:  12px;
  --gap-md:  24px;
  --gap-lg:  48px;
  --gap-xl:  80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Mobile foundation tokens (2026-07-16, редизайн мобилки) ────────────
   Единая шкала ритма/типографики, чтобы секции дышали одинаково.
   Брейкпоинты: sm=430 (телефон) · md=768 (мобилка) · lg=1024 (планшет). */
:root {
  --space-section-mobile: clamp(48px, 9vw, 72px);
  --space-block:   clamp(24px, 6vw, 40px);
  --measure:       62ch;   /* макс. ширина строки тела */
  --measure-lead:  46ch;   /* лид/подзаголовки уже */
  --font-size-base-mobile: 17px;
  --nav-h-mobile:  76px;
}

/* Redesign Deep Tech — перекраска лого-SVG без правки HTML (2026-07-10) */
.nav__logo-mark circle,.nav__logo-mark line,.footer__logo circle,.footer__logo line{stroke:var(--color-accent)!important}

/* ==== typography ==== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
}

p {
  text-wrap: pretty;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__title {
  font-family: 'Unbounded', var(--font-display);
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.section-title {
  font-family: 'Unbounded', var(--font-display);
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 64px;
}
.section-title em {
  font-style: normal;
  color: var(--color-accent);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.9;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  vertical-align: middle;
  margin-top: -1px;
}

.hero__stat-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ==== layout ==== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Scroll progress bar ── */
.progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), rgba(205, 255, 79,0.4));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 101;
  pointer-events: none;
}

section { padding: var(--section-padding); }

/* ── Mobile menu (hidden by default, shown via JS .open on mobile) ── */
.mobile-menu { display: none; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-spring);
}
.nav__links a:hover { color: var(--color-text-primary); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--color-accent); }
.nav__cta { margin-left: 16px; text-transform: none; letter-spacing: 0.01em; }
.nav__burger { display: none; }

/* ── Hero background — премиум абстракт-видео (золотой поток) + крафтовая aurora ── */
/* Обёртка бесшовного цикла — базовая (приглушённая) непрозрачность на паре видео */
.hero__bgvideo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  overflow: hidden;
}
/* Два экземпляра видео внутри обёртки для бесшовной склейки */
.bgloop__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}
.bgloop__el[data-role="b"] { z-index: 0; }
.bgloop__el[data-role="a"] { z-index: 1; }
.hero__aurora {
  position: absolute;
  inset: -12% -6% 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 82% 6%, rgba(205, 255, 79, 0.13), transparent 62%),
    radial-gradient(38% 44% at 4% 82%, rgba(205, 255, 79, 0.05), transparent 60%),
    radial-gradient(85% 75% at 55% 32%, rgba(10, 10, 12, 0.32), transparent 74%);
}
/* Читаемость текста слева + мягкий переход в следующую секцию снизу */
.hero__aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.34) 32%, rgba(10, 10, 10, 0) 58%),
    linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0) 22%);
}

/* ── Hero particles canvas ── */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding-bottom: 0;
}

/* ── Hero Split Layout ── */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 56px;
  flex: 1;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero__left .hero__eyebrow { margin-bottom: 0; }
.hero__left .hero__actions { margin-bottom: 0; }

/* Right: video in premium frame */
.hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero__right::before {
  content: '';
  position: absolute;
  inset: -60px -60px -60px -40px;
  background: radial-gradient(ellipse at 50% 40%, rgba(205, 255, 79,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__frame { position: relative; z-index: 1; }

.hero__frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #080808;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 40px 100px rgba(0,0,0,0.75),
    0 0 160px rgba(205, 255, 79,0.14);
  transform: perspective(1100px) rotateX(4deg) rotateY(-10deg) translateZ(0px);
  will-change: transform;
  transform-style: preserve-3d;
}

.hero__frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255,255,255,0.022);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.hero__frame-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
}

.hero__demo-video {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
}

.hero__frame-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(8,8,8,0.85));
  pointer-events: none;
}

/* ── Metrics row ── */
.hero__metrics {
  display: flex;
  align-items: center;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 52px;
  flex: 1;
}
.hero__metric:first-child { padding-left: 0; }
.hero__metric:last-child  { padding-right: 0; }

.hero__metric-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color var(--transition-base), text-shadow var(--transition-base);
}
.hero__metric:hover .hero__metric-num {
  color: var(--color-accent);
  text-shadow: 0 0 28px rgba(205, 255, 79,0.35);
}

.hero__metric-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.hero__metric-sep {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.16), transparent);
  flex-shrink: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(205, 255, 79, 0.22);
  background: rgba(205, 255, 79, 0.04);
  border-radius: 100px;
  width: fit-content;
  box-shadow: 0 0 24px rgba(205, 255, 79, 0.06), inset 0 0 24px rgba(205, 255, 79, 0.03);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.hero__stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 79,0.4) 30%, rgba(205, 255, 79,0.4) 70%, transparent);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Glow effects */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
}
.hero__glow--1 {
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(205, 255, 79, 0.14) 0%, transparent 70%);
  top: -300px; right: -200px;
  animation: aurora-drift-1 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(205, 255, 79, 0.07) 0%, transparent 70%);
  bottom: -100px; left: 100px;
  animation: aurora-drift-2 18s ease-in-out infinite;
}
.hero__glow--3 {
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79, 0.07) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: aurora-drift-1 20s ease-in-out infinite reverse;
}

/* Noise grain overlay */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Dot */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 18px 0;
  background: var(--color-surface);
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-surface), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-surface), transparent);
}
.marquee {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee span {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee .sep { color: var(--color-accent); opacity: 0.35; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services grid ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
}
.service-card--wide { grid-column: span 2; }

/* ── Cases grid ── */
.cases__header { padding-bottom: 0; }

/* Vertical grid — intuitive (scroll down), no pinned horizontal scroll */
.cases__track {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  width: auto;
}
/* Odd 5th card becomes a full-width finale */
.case-card:last-child { grid-column: 1 / -1; }

/* ── Process ── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(205, 255, 79,0.6) 0%,
    rgba(205, 255, 79,0.2) 40%,
    rgba(255,255,255,0.04) 100%
  );
}

/* ── Pricing layout ── */
.pricing__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(205, 255, 79, 0.06);
  border: 1px solid rgba(205, 255, 79, 0.15);
  margin-bottom: 64px;
  box-shadow:
    0 0 80px rgba(205, 255, 79, 0.07),
    0 0 0 1px rgba(205, 255, 79, 0.05) inset;
  position: relative;
  overflow: hidden;
}
.pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 79,0.7) 30%, rgba(205, 255, 79,0.7) 70%, transparent);
  z-index: 0;
}
.pricing__left, .pricing__right { position: relative; z-index: 1; }

/* ── Contact layout ── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Footer layout ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Telegram contact (added 2026-07-10) */
.nav__tg{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;color:#CDFF4F;border:1px solid rgba(205, 255, 79,.35);transition:background .2s,transform .2s;margin-right:2px;flex:0 0 auto}
.nav__tg:hover{background:rgba(205, 255, 79,.12);transform:translateY(-1px)}
@media(max-width:768px){.nav__tg{width:34px;height:34px;margin-right:8px}}
.form-tg-hint{display:block;margin-top:14px;color:#CDFF4F;text-decoration:underline;text-underline-offset:3px;font-size:15px}

/* ==== components ==== */
/* ── Niche switcher (hero mockup) ── */
.niche-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.niche-switch__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: 2px;
}
.niche-chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 15px;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.niche-chip:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}
.niche-chip.is-active {
  color: #0A0A0A;
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 600;
}

/* строка-результат под мокапом — конкретная выгода под нишу */
.niche-result {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 22px;
  transition: opacity 0.2s ease;
}
.niche-result__mark {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 15px;
  align-self: center;
}
.niche-result__main {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}
.niche-result__sub {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ── «Зеркало бизнеса» — калькулятор потерь ── */
.mirror {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}
.mirror__q {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: 4px;
}
.mirror__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mirror__opts button {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.mirror__opts button:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}
.mirror__opts button.is-active {
  color: #0A0A0A;
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 600;
}
.mirror__result {
  /* Свёрнут по умолчанию — плавно раскрывается, а не прыгает на 218px,
     когда в калькуляторе выбраны клиенты + чек. */
  max-height: 0;
  margin-top: 0;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: rgba(205, 255, 79, 0.04);
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s ease,
    margin-top 0.4s ease,
    opacity 0.4s ease,
    border-color 0.4s ease;
}
.mirror__result.is-open {
  max-height: 400px;
  margin-top: 8px;
  padding: 20px 22px;
  border-color: rgba(205, 255, 79, 0.22);
  opacity: 1;
}
@keyframes mirrorIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mirror__loss {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.mirror__num {
  font-family: var(--font-mono);
  color: var(--color-accent);
}
.mirror__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.mirror__cta {
  margin-top: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn--lg   { padding: 16px 36px; font-size: 13px; }
.btn--full { width: 100%; }

.btn--accent {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
  font-weight: 600;
  box-shadow: 0 0 32px rgba(205, 255, 79, 0.22);
  position: relative;
  overflow: hidden;
}
.btn--accent::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn--accent:hover {
  background: #DBFF6E;
  border-color: #DBFF6E;
  box-shadow: 0 0 52px rgba(205, 255, 79, 0.48), 0 4px 24px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}
.btn--accent:hover::after { left: 140%; }
.btn--accent:active {
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(205, 255, 79, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: rgba(255,255,255,0.1);
}
.btn--ghost:hover {
  color: var(--color-text-primary);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn--success {
  background: var(--color-success) !important;
  border-color: var(--color-success) !important;
  color: #000 !important;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.25) !important;
}

.btn--error {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.25) !important;
}

/* ── Form validation states ── */
.field--error input,
.field--error textarea,
input.field--error,
textarea.field--error {
  border-color: #ef4444 !important;
}
.field-error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

/* ── Text selection — gold brand signal ── */
::selection      { background: rgba(205, 255, 79, 0.85); color: #000; text-shadow: none; }
::-moz-selection { background: rgba(205, 255, 79, 0.85); color: #000; text-shadow: none; }

/* ── Custom scrollbar — thin, dark, gold on hover ── */
@media (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: #2a2a2a var(--color-bg); }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--color-bg); }
  ::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 8px;
    border: 3px solid var(--color-bg);
    transition: background var(--transition-base);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--color-accent-dim); }
}

/* ── Screen reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* skip-to-content для клавиатуры (a11y) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:100000;background:var(--color-accent,#CDFF4F);color:#000;padding:10px 16px;border-radius:0 0 8px 0;font-weight:600;text-decoration:none}
.skip-link:focus{left:0}

/* hero risk-reversal под CTA — настоящая гарантия у точки решения */
.hero__assurance{display:flex;align-items:flex-start;gap:9px;margin-top:22px;max-width:470px;font-family:var(--font-body);font-size:13px;line-height:1.5;color:var(--color-text-secondary)}
.hero__assurance svg{color:var(--color-accent);flex-shrink:0;margin-top:1px}
.hero__assurance strong{color:var(--color-text-primary);font-weight:600}

/* ==== sections ==== */
/* ── Trust section ── */
.trust {
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  background: transparent;
}
.trust-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 30px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  transition: background var(--transition-base), border-color var(--transition-slow);
  position: relative;
}
.trust-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), rgba(205, 255, 79,0.2) 60%, transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.trust-card:hover { background: var(--color-surface); }
.trust-card:hover::after { opacity: 1; }
.trust-card__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79,0.2);
  background: rgba(205, 255, 79,0.04);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.trust-card__desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ── Nav CTA sentence case ── */
.nav__cta.btn { text-transform: none; letter-spacing: 0.01em; }

/* ── Logo (crisp vector wordmark) ── */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.nav__logo-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 9px rgba(205, 255, 79,0.45));
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.nav__logo:hover .nav__logo-mark {
  transform: rotate(-14deg) scale(1.06);
}
.nav__logo-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.footer__logo { margin-bottom: 14px; }

/* ── Bento video cell ── */
.bento-cell--mockup {
  padding: 0 !important;
  position: relative;
}
.bento-cell--mockup::after { display: none !important; }

.bento-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 300px;
}

.bento-video__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,  rgba(10,10,10,0.35) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(10,10,10,0.2)  0%, transparent 20%),
    linear-gradient(to top,    rgba(10,10,10,0.55) 0%, transparent 40%);
}

/* ── Hero title underline accent ── */
.hero__underline {
  position: relative;
  display: inline;
}
.hero__underline::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(205, 255, 79,0.3) 80%, transparent);
  border-radius: 1px;
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.scroll-hint__text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.scroll-hint__icon {
  color: rgba(255,255,255,0.22);
  animation: scroll-bounce 2.2s ease-in-out infinite;
  display: block;
}

/* ── Mockup live dot ── */
.mockup-live-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 5px var(--color-success);
  animation: pulse-green 1.5s ease-in-out infinite;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -0.5px;
  flex-shrink: 0;
}

/* ── Mockup stagger animation ── */
.mockup-window .mockup-titlebar,
.mockup-window .mockup-stats-row,
.mockup-window .mockup-table,
.mockup-window .mockup-chart {
  opacity: 0;
  transform: translateY(6px);
}
.mockup-window.live .mockup-titlebar { animation: mockup-item-in 0.45s cubic-bezier(0.22,1,0.36,1) 0.2s forwards; }
.mockup-window.live .mockup-stats-row { animation: mockup-item-in 0.45s cubic-bezier(0.22,1,0.36,1) 0.4s forwards; }
.mockup-window.live .mockup-table     { animation: mockup-item-in 0.45s cubic-bezier(0.22,1,0.36,1) 0.6s forwards; }
.mockup-window.live .mockup-chart     { animation: mockup-item-in 0.45s cubic-bezier(0.22,1,0.36,1) 0.8s forwards; }

/* ── Hero mockup window ── */
.mockup-window {
  width: 100%;
  max-width: 460px;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(205, 255, 79,0.07);
  animation: mockup-float 7s ease-in-out infinite;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mockup-dots span:first-child { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:last-child { background: #27c93f; }
.mockup-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.02em;
}
.mockup-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mockup-mini-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 10px 11px;
}
.mockup-mini-stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  margin-bottom: 4px;
}
.mockup-mini-stat-val--accent { color: var(--color-accent); }
.mockup-mini-stat-label {
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}
.mockup-table {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
}
.mockup-table-head {
  display: grid;
  grid-template-columns: 1fr 80px 68px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mockup-table-head span {
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.mockup-row {
  display: grid;
  grid-template-columns: 1fr 80px 68px;
  align-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.mockup-row:last-child { border-bottom: none; }
.mockup-client { display: flex; align-items: center; gap: 7px; }
.mockup-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(205, 255, 79,0.12);
  border: 1px solid rgba(205, 255, 79,0.2);
  color: var(--color-accent);
  font-size: 7px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.mockup-name {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}
.mockup-badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.mockup-badge--green {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.18);
}
.mockup-badge--yellow {
  background: rgba(205, 255, 79,0.1);
  color: var(--color-accent);
  border: 1px solid rgba(205, 255, 79,0.18);
}
.mockup-badge--blue {
  background: rgba(96,165,250,0.1);
  color: #93c5fd;
  border: 1px solid rgba(96,165,250,0.18);
}
.mockup-amount {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-align: right;
}
.mockup-chart {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 10px 12px;
}
.mockup-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  margin-bottom: 6px;
}
.mockup-bar {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 2px 2px 0 0;
}
.mockup-bar--accent { background: rgba(205, 255, 79,0.55); }
.mockup-chart-label {
  font-size: 9px;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Before / After section ── */
.before-after {
  position: relative;
  overflow: hidden;
}
.before-after::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.045) 0%, transparent 65%);
  pointer-events: none;
}
.before-after .container { position: relative; z-index: 1; }
/* Премиум-сравнение вместо плоской таблицы: карточка с глубиной + золотая
   светящаяся «сторона Uniqore» (визуальная история «хаос → система»). */
.ba-table {
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.006));
  box-shadow: 0 44px 110px -50px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05);
}
/* Золотая светящаяся панель под колонкой «С Uniqore» */
.ba-table::after {
  content: '';
  position: absolute; top: 0; bottom: 0; right: 0;
  left: calc(220px + (100% - 220px) / 2);
  background: linear-gradient(180deg, rgba(205, 255, 79,0.10), rgba(205, 255, 79,0.028));
  box-shadow: inset 0 0 90px rgba(205, 255, 79,0.06);
  border-left: 1px solid rgba(205, 255, 79,0.24);
  pointer-events: none; z-index: 0;
}
.ba-header, .ba-row { position: relative; z-index: 1; }
.ba-header {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ba-header__empty { padding: 26px 34px; }
.ba-header__col {
  display: flex; align-items: center; gap: 10px;
  padding: 26px 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ba-header__col--before { color: rgba(255,255,255,0.32); }
.ba-header__col--after  { color: var(--color-accent); font-weight: 500; }
.ba-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.045);
  transition: background var(--transition-base);
}
.ba-row:last-child { border-bottom: none; }
.ba-row__label {
  padding: 30px 34px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  font-family: var(--font-display);
  display: flex; align-items: center;
}
.ba-row__before {
  padding: 30px 34px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.55;
  display: flex; align-items: center; gap: 13px;
}
.ba-row__before::before {
  content: '✕';
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,90,90,0.1);
  color: rgba(255,125,125,0.75);
  font-size: 11px; flex-shrink: 0;
}
.ba-row__after {
  padding: 30px 34px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  font-weight: 500;
  display: flex; align-items: center; gap: 13px;
}
.ba-row__after::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(205, 255, 79,0.16);
  color: var(--color-accent);
  font-size: 11px; flex-shrink: 0;
  box-shadow: 0 0 14px rgba(205, 255, 79,0.3);
}
.ba-row:hover { background: rgba(255,255,255,0.014); }

/* ── Section ambient glow treatments ── */
.services {
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }

.cases {
  position: relative;
}
.cases::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -120px;
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cases .container { position: relative; z-index: 1; }

.process {
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 50%; left: -180px;
  transform: translateY(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.process .container { position: relative; z-index: 1; }

.testimonials {
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(205, 255, 79,0.35) 35%, rgba(205, 255, 79,0.35) 65%, transparent 95%);
  pointer-events: none;
}
.testimonials::after {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.guarantees {
  position: relative;
  overflow: hidden;
}
.guarantees::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(205, 255, 79,0.2) 35%, rgba(205, 255, 79,0.2) 65%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}
.guarantees .container { position: relative; z-index: 1; }

.niches {
  position: relative;
}
.niches::after {
  content: '';
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.niches .container { position: relative; z-index: 1; }

/* ── Niches particle canvas ── */
.niches__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* ── Niches new editorial layout ── */
.niches__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 100px;
  align-items: start;
}
.niches__headline {
  position: relative;
  will-change: transform;
}
.niches__big-text {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.niches__big-text em {
  font-style: italic;
  color: var(--color-accent);
  text-shadow: 0 0 60px rgba(205, 255, 79,0.45), 0 0 120px rgba(205, 255, 79,0.2);
}
.niches__list {
  display: flex;
  flex-direction: column;
}
.niche-row {
  display: flex;
  align-items: center;
  padding: 30px 0 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 28px;
  transition: padding-left 0.3s ease, border-color 0.3s ease;
  cursor: default;
  position: relative;
}
.niche-row:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.niche-row:hover {
  padding-left: 10px;
  border-bottom-color: rgba(205, 255, 79,0.25);
}
.niche-row:hover .niche-row__name { color: var(--color-text-primary); }
.niche-row:hover .niche-row__num { opacity: 1; }
.niche-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-accent);
  letter-spacing: 0.14em;
  min-width: 28px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}
.niche-row__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  color: rgba(255,255,255,0.66); /* было #888 — слишком призрачно; ярче, но всё ещё «оживает» до белого на hover */
  flex: 1;
  transition: color 0.25s ease;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.niche-row__tags {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
  text-align: right;
  flex-shrink: 0;
}

/* ── Service cards ── */
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 44px 40px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  transition: background var(--transition-base), box-shadow var(--transition-slow), border-color var(--transition-slow);
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(205, 255, 79,0.4) 40%, transparent 80%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.service-card:hover {
  background: var(--color-surface-2);
  box-shadow:
    0 0 60px rgba(205, 255, 79, 0.05),
    inset 0 0 40px rgba(205, 255, 79, 0.02);
}
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79, 0.2);
  background: rgba(205, 255, 79, 0.05);
  color: var(--color-accent);
  margin-bottom: 28px;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.service-card:hover .service-card__icon {
  border-color: rgba(205, 255, 79, 0.4);
  background: rgba(205, 255, 79, 0.09);
}
.service-card[data-index]::before {
  content: attr(data-index);
  position: absolute;
  bottom: -16px; right: 12px;
  font-family: var(--font-mono);
  font-size: 100px;
  font-weight: 700;
  color: rgba(255,255,255,0.022);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.service-card h3 {
  font-size: 21px;
  font-family: var(--font-display);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card__features li {
  font-size: 12px;
  color: var(--color-text-secondary);
  padding-left: 16px;
  position: relative;
  letter-spacing: 0.01em;
}
.service-card__features li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--color-accent);
  font-size: 10px;
  opacity: 0.7;
}

/* ── Case cards ── */
.case-card {
  background: var(--color-surface);
  padding: 44px 40px;
  transition: background var(--transition-base), box-shadow var(--transition-spring);
  cursor: default;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 12px;
}
.case-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  z-index: 2;
}
.case-card:hover {
  background: var(--color-surface-2);
  z-index: 3;
  box-shadow:
    0 22px 55px -18px rgba(0,0,0,0.7),
    0 0 0 1px rgba(205, 255, 79,0.16),
    0 0 44px rgba(205, 255, 79,0.07);
}
/* Screenshot zooms gently on hover */
.case-card__top--screen img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.case-card:hover .case-card__top--screen img { transform: scale(1.05); }

/* ── Case card: top visual block (screenshot or number) ── */
.case-card--has-top {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.case-card__top {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(205, 255, 79, 0.015);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.case-card__num {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(205, 255, 79, 0.06);
  padding-right: 24px;
  user-select: none;
}
/* Screenshot top block */
.case-card__top--screen {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: #111;
  border-bottom-color: rgba(205, 255, 79,0.12);
}
.case-card__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: #1c1c1c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.case-card__chrome span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.case-card__chrome span:nth-child(1) { background: #ff5f57; }
.case-card__chrome span:nth-child(2) { background: #ffbd2e; }
.case-card__chrome span:nth-child(3) { background: #28c840; }
.case-card__top--screen img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
  display: block;
}
/* Fade screenshot into card background */
.case-card__top--screen::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--color-surface));
  pointer-events: none;
  z-index: 1;
}
/* Body: content below the top block */
.case-card__body {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card__body .case-card__result {
  margin-top: auto;
  padding-top: 20px;
}

.case-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.case-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 4px 10px;
  border: 1px solid rgba(205, 255, 79, 0.3);
}
.case-card__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
}
.case-card__title {
  font-size: 22px;
  font-family: var(--font-display);
  line-height: 1.3;
  margin-bottom: 12px;
}
.case-card__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.case-card__metrics {
  display: flex; gap: 32px;
}
.case-card__metric {
  display: flex; flex-direction: column; gap: 4px;
}
.case-card__metric-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-card__metric-label {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ── Case card story format ── */
.case-card__story {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
}
.case-story__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.55;
}
.case-story__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 1px;
  opacity: 0.75;
}
.case-story__text {
  color: var(--color-text-secondary);
  flex: 1;
}
.case-card__result {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.case-card__result-val {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(205, 255, 79,0.3);
}
.case-card__result-label {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 260px;
}

/* ── Process steps ── */
.process__step { position: relative; }
.process__step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-bg);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79, 0.35);
  margin-bottom: 28px;
  position: relative; z-index: 1;
  letter-spacing: 0.06em;
  box-shadow: 0 0 24px rgba(205, 255, 79, 0.1), inset 0 0 12px rgba(205, 255, 79, 0.04);
  transition: box-shadow var(--transition-slow), border-color var(--transition-slow);
}
.process__step:hover .process__step-num {
  border-color: rgba(205, 255, 79, 0.6);
  box-shadow: 0 0 40px rgba(205, 255, 79, 0.2), inset 0 0 20px rgba(205, 255, 79, 0.06);
}
.process__step h3 {
  font-size: 19px;
  font-family: 'Unbounded', var(--font-display);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process__step p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: var(--measure);
}
.process__step-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.process__step-time::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

/* ── Pricing ── */
.pricing__left,
.pricing__right {
  background: var(--color-surface);
  padding: 48px;
}
.pricing__left h3 {
  font-family: 'Unbounded', var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}
.pricing__left p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.pricing__includes {
  display: flex; flex-direction: column; gap: 10px;
}
.pricing__includes li {
  font-size: 14px;
  color: var(--color-text-secondary);
}
.pricing__price-block {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.pricing__price {
  display: flex; align-items: baseline; gap: 12px;
}
.pricing__price-val {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 60px rgba(205, 255, 79, 0.3);
}
.pricing__price-period {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.pricing__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ── Pricing: что входит (раскрывающийся) ── */
.pricing__unpack { margin-bottom: 48px; }
.unpack__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.unpack__toggle:hover { border-color: var(--color-border-hover); background: var(--color-surface-2); }
.unpack__toggle-main { display: flex; flex-direction: column; gap: 5px; }
.unpack__toggle-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.unpack__toggle-sub { font-size: 13px; color: var(--color-text-secondary); }
.unpack__toggle-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-accent);
  transition: transform 0.3s ease, border-color 0.25s ease;
}
.unpack__toggle:hover .unpack__toggle-icon { border-color: var(--color-accent); }
.unpack__toggle[aria-expanded="true"] .unpack__toggle-icon { transform: rotate(180deg); }

.unpack__panel {
  border: 1px solid var(--color-border);
  border-top: none;
  padding: 8px 32px 32px;
  background: var(--color-surface);
}
.unpack__panel[hidden] { display: none; }
.unpack__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.unpack__cat {
  background: var(--color-surface);
  padding: 26px 24px;
}
.unpack__cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.unpack__cat-n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  opacity: 0.7;
}
.unpack__cat ul { display: flex; flex-direction: column; gap: 9px; }
.unpack__cat li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.unpack__cat li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  transform: rotate(-45deg);
  opacity: 0.85;
}
/* Карточка новинки — uni-агент */
.unpack__cat--new {
  background: linear-gradient(180deg, rgba(205, 255, 79,0.06), rgba(205, 255, 79,0.015));
  box-shadow: inset 0 0 0 1px rgba(205, 255, 79,0.35);
}
.unpack__cat--new .unpack__cat-head { color: var(--color-accent); }
.unpack__cat--new li { color: var(--color-text-primary); }
.unpack__cat-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}
.unpack__foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 620px;
}

/* ── Pricing market compare ── */
.pricing__market { margin-bottom: 48px; }
.market-compare {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.market-compare__item {
  flex: 1;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  text-align: center;
}
.market-compare__item--dim { opacity: 0.55; }
.market-compare__item--highlight {
  border-color: rgba(205, 255, 79,0.35);
  background: rgba(205, 255, 79,0.04);
  opacity: 1;
  box-shadow: 0 0 60px rgba(205, 255, 79,0.08);
}
.market-compare__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.market-compare__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.market-compare__price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.market-compare__item--highlight .market-compare__price {
  color: var(--color-accent);
  text-shadow: 0 0 40px rgba(205, 255, 79,0.3);
}
.market-compare__note {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.market-compare__item--highlight .market-compare__note { color: rgba(255,255,255,0.4); }
.market-compare__arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Compare table ── */
.pricing__compare h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--color-text-secondary);
}
.compare-table {
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.compare-table__header,
.compare-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}
.compare-table__row:last-child { border-bottom: none; }
.compare-table__header > div,
.compare-table__row > div {
  padding: 16px 20px;
  font-size: 13px;
  border-right: 1px solid var(--color-border);
}
.compare-table__header > div:last-child,
.compare-table__row > div:last-child { border-right: none; }
.compare-table__header { background: var(--color-surface); }
.compare-table__header > div {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}
.compare-table__col--highlight {
  background: rgba(205, 255, 79, 0.05);
  color: var(--color-accent) !important;
  font-weight: 500;
}
.compare-table__row > div:first-child { color: var(--color-text-secondary); }
.compare-table__row > div:not(:first-child) {
  color: var(--color-text-muted);
  text-align: center;
}
.compare-table__col--highlight { text-align: center; }

/* ── Contact ── */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
}
/* Кино-видео-фон под финальным CTA — разбивает плоский чёрный, не мешает форме */
.contact__bgvideo {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.74), rgba(10,10,10,0.52) 42%, rgba(17,17,17,0.86)),
    radial-gradient(58% 50% at 82% 26%, rgba(205, 255, 79,0.06), transparent 60%);
}
.contact > .container { position: relative; z-index: 1; }
.contact__desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
}
.contact__facts { display: flex; flex-direction: column; gap: 18px; }
.contact__fact {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
}
.contact__fact-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79, 0.15);
  background: rgba(205, 255, 79, 0.04);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact__tg-btn {
  margin-top: 28px;
  gap: 10px;
  padding: 14px 24px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: border-color var(--transition-base), color var(--transition-base);
}
.contact__tg-btn:hover {
  border-color: rgba(205, 255, 79,0.4);
  color: var(--color-accent);
}

/* ── Form ── */
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(205, 255, 79, 0.5);
  box-shadow: 0 0 24px rgba(205, 255, 79, 0.06), inset 0 0 16px rgba(205, 255, 79, 0.02);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.45); }
.form__privacy {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  opacity: 0.6;
}

/* CRM connected badge */
.form__crm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.01em;
}
.form__crm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: crmPulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes crmPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--color-accent); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px var(--color-accent); }
}

/* ── Niches ── */
.niches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}
.niche-card {
  background: var(--color-surface);
  padding: 36px 32px;
  transition: background var(--transition-base), box-shadow var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.niche-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(205, 255, 79,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.niche-card:hover { background: var(--color-surface-2); }
.niche-card:hover::after { opacity: 1; }
.niche-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.1);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.niche-card h3 {
  font-size: 19px;
  font-family: var(--font-display);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.niche-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.niche-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.niche-card__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border: 1px solid rgba(205, 255, 79,0.2);
  background: rgba(205, 255, 79,0.04);
  padding: 3px 9px;
}

/* ── Testimonials ── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: transparent;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 44px 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base), border-color var(--transition-slow);
}
.testimonial-card:first-child {
  grid-row: span 1;
  border-right: none;
}
.testimonial-card:hover { background: var(--color-surface); }

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  user-select: none;
  margin-bottom: -8px;
}
.testimonial-card__stars {
  display: none;
}
.testimonial-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.85;
  flex: 1;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(205, 255, 79,0.08);
  border: 1px solid rgba(205, 255, 79,0.18);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 3px;
}
.testimonial-card__role {
  font-size: 11px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ── Guarantees ── */
.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: transparent;
}
.guarantee-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  transition: background var(--transition-base), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(205, 255, 79,0.2) 70%, transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.guarantee-card:hover { background: var(--color-surface-2); }
.guarantee-card:hover::before { opacity: 1; }
.guarantee-card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79,0.2);
  background: rgba(205, 255, 79,0.05);
  color: var(--color-accent);
  margin-bottom: 24px;
}
.guarantee-card h3 {
  font-size: 18px;
  font-family: var(--font-display);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.guarantee-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ── FAQ ── */
.faq__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
/* Unbounded шире Manrope — в узкой 300px колонке заголовок FAQ надо уменьшить,
   иначе «вопросы» вылезает за край (аудит 20.07) */
.faq .section-title { font-size: clamp(34px, 4vw, 54px); }
.faq__sub {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 16px;
}
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 24px;
  transition: color var(--transition-fast);
  font-family: var(--font-body);
}
.faq-item__q:hover { color: var(--color-accent); }
.faq-item__q[aria-expanded="true"] { color: var(--color-accent); }
.faq-item__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  line-height: 1;
}
.faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { padding-bottom: 20px; }
.faq-item__a p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.faq-item__a[hidden] { display: none; }

/* ── Tech Stack ── */
.stack__groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
}
.stack-group__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.stack-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  cursor: default;
}
.stack-group__tags { gap: 10px; }
.stack-tag:hover {
  border-color: rgba(205, 255, 79,0.35);
  color: var(--color-accent);
  background: rgba(205, 255, 79,0.06);
  transform: translateY(-2px);
}

/* ── Footer ── */
.footer__brand { flex: 1; }
.footer__brand img { margin-bottom: 12px; }
.footer__brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  position: relative;
  font-size: 13px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}
.footer__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.footer__links a:hover { color: var(--color-accent); }
.footer__links a:hover::after { transform: scaleX(1); }
.footer__contact a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

/* ── Hero UI Mockup Dashboard — Bloomberg Terminal style (matches CRM v4) ── */
.ui-mockup {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  font-family: var(--font-mono);
}

/* Horizontal command bar — replaces old sidebar */
.ui-mockup__cmdbar {
  height: 32px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
}
.ui-mockup__logo-mark {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: rgba(205, 255, 79,0.15);
  border: 1px solid rgba(205, 255, 79,0.35);
  flex-shrink: 0;
}
.ui-mockup__nav {
  display: flex;
  gap: 5px;
  flex: 1;
}
.ui-mockup__nav-item {
  height: 10px;
  width: 36px;
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
}
.ui-mockup__nav-item--active {
  background: rgba(205, 255, 79,0.2);
  border: 1px solid rgba(205, 255, 79,0.3);
  position: relative;
}
.ui-mockup__nav-item--active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 1.5px;
  background: rgba(205, 255, 79,0.7);
  border-radius: 1px;
}
.ui-mockup__cmdbar-cta {
  width: 44px; height: 14px;
  border-radius: 4px;
  background: rgba(205, 255, 79,0.3);
  border: 1px solid rgba(205, 255, 79,0.4);
  flex-shrink: 0;
}

.ui-mockup__body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* Row priority bar */
.ui-mockup__row-priority {
  width: 3px; height: 100%;
  border-radius: 2px;
  background: rgba(205, 255, 79,0.4);
  align-self: stretch;
  margin: -7px 0;
}
.ui-mockup__row-priority--hot { background: rgba(255,76,76,0.6); }
.ui-mockup__row--won { background: rgba(34,197,94,0.04) !important; border-color: rgba(34,197,94,0.1) !important; }

/* Legacy classes kept for fallback */
.ui-mockup__btn-sm {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
}
.ui-mockup__btn-accent {
  border-color: rgba(205, 255, 79,0.3);
  color: rgba(205, 255, 79,0.8);
  background: rgba(205, 255, 79,0.06);
}

/* KPIs */
.ui-mockup__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ui-mockup__kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-areas: "num delta" "label label";
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0 4px;
}
.ui-mockup__kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 79,0.4), transparent);
}
.ui-mockup__kpi-num {
  grid-area: num;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ui-mockup__kpi-label {
  grid-area: label;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
}
.ui-mockup__kpi-delta {
  grid-area: delta;
  align-self: center;
  font-size: 9px;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  padding: 2px 5px;
  border-radius: 100px;
  border: 1px solid rgba(74,222,128,0.15);
  white-space: nowrap;
}

/* Chart — explicit height so the bars' percentage heights resolve
   (a flex-derived height is "indefinite" and collapses % children to 0). */
.ui-mockup__chart {
  flex: 0 0 auto;
  height: 172px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ui-mockup__chart-label {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.ui-mockup__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex: 1;
  padding-top: 4px;
}
.ui-mockup__bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(to top, rgba(205, 255, 79,0.04), rgba(205, 255, 79,0.24));
  border-radius: 3px 3px 0 0;
  border-top: 1.5px solid rgba(205, 255, 79,0.45);
  transition: height 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ui-mockup__bar--hi {
  background: linear-gradient(to top, rgba(205, 255, 79,0.12), rgba(205, 255, 79,0.58));
  border-top-color: rgba(205, 255, 79,0.95);
  box-shadow: 0 0 14px rgba(205, 255, 79,0.3);
  animation: bar-glow 3s ease-in-out infinite;
}
@keyframes bar-glow {
  0%,100% { box-shadow: 0 0 10px rgba(205, 255, 79,0.22); }
  50%     { box-shadow: 0 0 20px rgba(205, 255, 79,0.42); }
}

/* Table */
.ui-mockup__table { display: flex; flex-direction: column; gap: 4px; }
.ui-mockup__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  font-size: 10px;
}
.ui-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ui-dot--green  { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,0.5); }
.ui-dot--yellow { background: rgba(205, 255, 79,0.8); box-shadow: 0 0 5px rgba(205, 255, 79,0.4); }
.ui-dot--dim    { background: rgba(255,255,255,0.2); }
.ui-mockup__row-name { flex: 1; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-mockup__row-val { color: rgba(255,255,255,0.35); flex-shrink: 0; }
.ui-badge {
  font-size: 8px;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}
.ui-badge--done {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  color: rgba(74,222,128,0.8);
}
.ui-badge--wip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
}

/* ── Mockups section ── */
.mockups {
  position: relative;
  overflow: hidden;
}
.mockups::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.mockups .container { position: relative; z-index: 1; }
.mockups__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mockup-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-showcase__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
}
.mockup-showcase__window {
  background: rgba(12,12,12,0.95);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 80px rgba(205, 255, 79,0.06);
  flex: 1;
}
.mockup-showcase__window--mobile {
  max-width: 240px;
  margin: 0 auto;
}
.mockup-showcase__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.022);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-showcase__url {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,0.18);
}
.mockup-showcase__caption {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.01em;
}

/* CRM mockup styles */
.mockup-showcase__body {
  display: flex;
  height: 340px;
}
.ms-sidebar {
  width: 48px;
  background: rgba(255,255,255,0.018);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.ms-sidebar__logo {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(205, 255, 79,0.18);
  border: 1px solid rgba(205, 255, 79,0.3);
  margin: 0 auto 4px;
}
.ms-sidebar__nav { display: flex; flex-direction: column; gap: 4px; }
.ms-nav-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 8px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.22);
  padding: 5px 4px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-nav-item--active {
  background: rgba(205, 255, 79,0.1);
  color: rgba(205, 255, 79,0.85);
  border: 1px solid rgba(205, 255, 79,0.2);
}
.ms-nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.ms-content { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ms-header { display: flex; align-items: center; justify-content: space-between; }
.ms-title {
  font-size: 12px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 8px;
}
.ms-count {
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(205, 255, 79,0.1);
  border: 1px solid rgba(205, 255, 79,0.2);
  color: var(--color-accent);
  padding: 1px 6px;
  border-radius: 100px;
}
.ms-actions { display: flex; gap: 5px; }
.ms-btn {
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono);
}
.ms-btn--accent {
  border-color: rgba(205, 255, 79,0.3);
  color: rgba(205, 255, 79,0.8);
  background: rgba(205, 255, 79,0.06);
}
.ms-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
}
.ms-stat {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 7px 8px;
  display: grid;
  grid-template-areas: "val delta" "label label";
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0 4px;
}
.ms-stat__val {
  grid-area: val;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ms-stat__label {
  grid-area: label;
  font-size: 8px;
  color: rgba(255,255,255,0.28);
  margin-top: 2px;
}
.ms-stat__delta {
  grid-area: delta;
  align-self: center;
  font-size: 8px; color: #4ade80;
  background: rgba(74,222,128,0.08);
  padding: 1px 4px; border-radius: 100px;
  border: 1px solid rgba(74,222,128,0.15);
  white-space: nowrap;
}
.ms-list { display: flex; flex-direction: column; gap: 4px; }
.ms-row {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 5px;
  font-size: 9px;
}
.ms-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.ms-dot--green { background: #4ade80; }
.ms-dot--yellow { background: rgba(205, 255, 79,0.9); }
.ms-dot--blue { background: #93c5fd; }
.ms-row__name { flex: 1; color: rgba(255,255,255,0.55); font-family: var(--font-mono); }
.ms-row__stage { color: rgba(255,255,255,0.25); font-family: var(--font-mono); font-size: 8px; }
.ms-badge {
  font-size: 7px; padding: 1px 6px; border-radius: 100px;
  font-family: var(--font-mono); flex-shrink: 0;
}
.ms-badge--done { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.18); color: #4ade80; }
.ms-badge--wip  { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.28); }
.ms-badge--new  { background: rgba(96,165,250,0.08); border: 1px solid rgba(96,165,250,0.18); color: #93c5fd; }
.ms-badge--live { display: flex; align-items: center; gap: 5px; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.18); color: #4ade80; font-size: 9px; padding: 2px 8px; border-radius: 100px; font-family: var(--font-mono); }
.ms-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse-green 1.5s infinite; }

/* Telegram chat styles */
.mockup-showcase__bar--mobile { padding: 10px 12px; }
.tg-header { display: flex; align-items: center; gap: 10px; }
.tg-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(205, 255, 79,0.2); border: 1px solid rgba(205, 255, 79,0.35); flex-shrink: 0; }
.tg-name { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.9); }
.tg-status { font-size: 9px; color: #4ade80; }
.tg-chat { padding: 12px; display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: hidden; }
.tg-msg { display: flex; flex-direction: column; gap: 3px; }
.tg-msg--out { align-items: flex-end; }
.tg-bubble {
  max-width: 85%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.5;
}
.tg-bubble--in { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.75); border-bottom-left-radius: 3px; }
.tg-bubble--out { background: rgba(205, 255, 79,0.15); border: 1px solid rgba(205, 255, 79,0.2); color: rgba(255,255,255,0.82); border-bottom-right-radius: 3px; }
.tg-time { font-size: 8px; color: rgba(255,255,255,0.2); font-family: var(--font-mono); }
.tg-time--out { text-align: right; }
.tg-btns { display: flex; gap: 6px; }
.tg-btn { flex: 1; text-align: center; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); font-size: 10px; color: rgba(255,255,255,0.4); }
.tg-btn--yes { border-color: rgba(74,222,128,0.3); color: #4ade80; background: rgba(74,222,128,0.06); }

/* Analytics mockup styles */
.ms-analytics { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ms-analytics__header { display: flex; align-items: center; justify-content: space-between; }
.ms-analytics__title { font-size: 12px; font-family: var(--font-display); color: rgba(255,255,255,0.8); }
.ms-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.ms-kpi {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 7px;
  padding: 10px 10px 8px;
  position: relative;
  overflow: hidden;
}
.ms-kpi--accent { border-color: rgba(205, 255, 79,0.2); background: rgba(205, 255, 79,0.04); }
.ms-kpi__val { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.88); letter-spacing: -0.02em; line-height: 1.2; }
.ms-kpi--accent .ms-kpi__val { color: var(--color-accent); }
.ms-kpi__label { font-size: 8px; color: rgba(255,255,255,0.28); margin-top: 2px; }
.ms-kpi__trend { font-size: 8px; color: #4ade80; margin-top: 3px; }
.ms-chart { background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 10px 12px; }
.ms-chart__label { font-size: 8px; color: rgba(255,255,255,0.2); font-family: var(--font-mono); letter-spacing: 0.05em; margin-bottom: 8px; }
.ms-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.ms-bar {
  flex: 1;
  background: rgba(205, 255, 79,0.1);
  border-radius: 3px 3px 0 0;
  border-top: 1px solid rgba(205, 255, 79,0.22);
  height: var(--bh, 50%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ms-bar--hi { background: rgba(205, 255, 79,0.3); border-top-color: rgba(205, 255, 79,0.7); }
.ms-bar__val { font-size: 7px; color: rgba(255,255,255,0.2); font-family: var(--font-mono); margin-top: -14px; white-space: nowrap; }
.ms-top { display: flex; flex-direction: column; gap: 7px; }
.ms-top__label { font-size: 8px; color: rgba(255,255,255,0.2); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.ms-top__row { display: flex; align-items: center; gap: 8px; }
.ms-top__rank { font-size: 8px; color: rgba(205, 255, 79,0.55); font-family: var(--font-mono); min-width: 10px; }
.ms-top__name { font-size: 9px; color: rgba(255,255,255,0.45); min-width: 68px; font-family: var(--font-mono); }
.ms-top__bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  position: relative;
}
.ms-top__bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--pw, 50%);
  background: rgba(205, 255, 79,0.45);
  border-radius: 2px;
}
.ms-top__num { font-size: 9px; color: rgba(205, 255, 79,0.65); font-family: var(--font-mono); }

/* ── Pricing & FAQ section visual accents ── */
.pricing {
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(205, 255, 79,0.25) 35%, rgba(205, 255, 79,0.25) 65%, transparent 95%);
  pointer-events: none;
}
.pricing::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.045) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.pricing .container { position: relative; z-index: 1; }

.faq {
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: '';
  position: absolute;
  bottom: 0; right: -100px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(205, 255, 79,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.faq .container { position: relative; z-index: 1; }

.stack {
  position: relative;
  overflow: hidden;
}
.stack::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.06) 35%, rgba(255,255,255,0.06) 65%, transparent 95%);
  pointer-events: none;
}

/* ── Case card decorative number ── */
.case-card::before {
  content: attr(data-case-index);
  position: absolute;
  bottom: -10px; left: 16px;
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255,255,255,0.018);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* ── Process step glow on active connector ── */
.process__steps::before {
  background: linear-gradient(90deg,
    var(--color-accent) 0%,
    rgba(205, 255, 79,0.35) 35%,
    rgba(255,255,255,0.04) 100%
  );
}

/* ── AI-generated atmosphere image break ── */
.atm-img {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
}
.atm-img__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.62;
  transform: scale(1.1);
  display: block;
  filter: saturate(1.05) contrast(1.04);
}
/* Continuous cinematic Ken Burns — slow zoom + drift = alive, premium */
@media (prefers-reduced-motion: no-preference) {
  .atm-img__photo {
    animation: atm-kenburns 28s ease-in-out infinite alternate;
  }
}
@keyframes atm-kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-2.5%, -2.2%, 0); }
}
.atm-img::before,
.atm-img::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
}
.atm-img::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
}
.atm-img::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

/* ── Team section ── */
.team {
  position: relative;
  overflow: hidden;
}
.team::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.06) 35%, rgba(255,255,255,0.06) 65%, transparent 95%);
  pointer-events: none;
}
.team .container { position: relative; z-index: 1; }
.team__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
.team__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-top: 20px;
}
.team__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: transparent;
}
.team-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  transition: background var(--transition-base), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(205, 255, 79,0.2) 60%, transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.team-card:hover { background: var(--color-surface-2); }
.team-card:hover::after { opacity: 1; }
.team-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(205, 255, 79,0.2);
  background: rgba(205, 255, 79,0.04);
  color: var(--color-accent);
  margin-bottom: 20px;
}
.team-card h3 {
  font-size: 16px;
  font-family: var(--font-display);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.team-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ── Pricing team note ── */
.pricing__team-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  padding: 16px 20px;
  border: 1px solid rgba(205, 255, 79,0.18);
  background: rgba(205, 255, 79,0.03);
}

/* ── Hero live toast notifications ── */
.hero__toasts {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px 0;
  /* nowrap: пилюли всегда в одну строку. При wrap длинное уведомление
     переносило вторую пилюлю вниз → высота hero скакала на 44px и вся
     страница сама «пускалась вниз» каждые ~4с. Одна строка = стабильно. */
  flex-wrap: nowrap;
  overflow: hidden;
  min-height: 48px;
}
.hero__mockup-toast { min-width: 0; }
.hero__mockup-toast .mockup-toast__text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__mockup-toast {
  background: rgba(8,8,8,0.98);
  border: 1px solid rgba(205, 255, 79,0.25);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72);
  pointer-events: none;
  white-space: nowrap;
  animation:
    toast-slide-in 0.55s cubic-bezier(0.22,1,0.36,1) 1.5s both,
    toast-border-pulse 3.5s ease-in-out 2.2s infinite;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 20px rgba(205, 255, 79,0.06);
}
.hero__mockup-toast--2 {
  border-color: rgba(74,222,128,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 16px rgba(74,222,128,0.05);
  animation:
    toast-slide-in 0.55s cubic-bezier(0.22,1,0.36,1) 3s both,
    toast-border-pulse2 4s ease-in-out 3.8s infinite;
}
.mockup-live-dot--green { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.8); }
@keyframes toast-border-pulse2 {
  0%,100% { border-color: rgba(74,222,128,0.3); }
  50%      { border-color: rgba(74,222,128,0.12); }
}
@media (max-width: 1024px) {
  .hero__toasts { display: none; }
}

/* ── Niches AI background image ── */
.niches__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.6);
}

/* ── Card elevation — hairline-grid cards pop forward on hover ──
   No translate (would break the seamless 1px-gap grid). Instead the
   hovered card raises its z-index and lights up with a soft shadow +
   faint gold ring, bleeding over neighbours = premium "comes forward". */
.trust-card,
.service-card,
.guarantee-card,
.team-card,
.testimonial-card {
  position: relative;
  z-index: 1;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-spring),
    border-color var(--transition-base);
}
.trust-card:hover,
.service-card:hover,
.guarantee-card:hover,
.team-card:hover,
.testimonial-card:hover {
  z-index: 2;
  box-shadow:
    0 18px 44px -14px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(205, 255, 79, 0.14),
    0 0 36px rgba(205, 255, 79, 0.06);
}

/* ==== mobile ==== */
/* ── Tablet: 768px – 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  /* Trust */
  .trust__grid { grid-template-columns: repeat(3, 1fr); }

  /* Before/After */
  .ba-header,
  .ba-row { grid-template-columns: 160px 1fr 1fr; }

  /* Mockups */
  .mockups__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mockup-showcase:last-child { grid-column: span 2; }
  .mockup-showcase__window--mobile { max-width: 280px; }

  /* Market compare */
  .market-compare { flex-direction: column; }
  .market-compare__arrow { transform: rotate(90deg); }
  .market-compare__item { width: 100%; }

  /* Split hero: stack vertically on tablet */
  .hero__split { grid-template-columns: 1fr; gap: 48px; padding: 60px 0 40px; }
  .hero__right { max-width: 560px; }
  .hero__metrics { gap: 0; padding: 24px 0 32px; }
  .hero__metric { padding: 0 28px; }
  .hero__metric-num { font-size: 32px; }
  .hero__title { font-size: clamp(44px, 7vw, 80px); }

  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .cases__track { padding: 0 24px; }
  .cases__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .niches__inner { grid-template-columns: 1fr; gap: 40px; }
  .niches__headline { position: static; }
  /* Team */
  .team__inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card:first-child { grid-row: span 1; border-right: none; border-bottom: 2px solid rgba(255,255,255,0.05); }
  .guarantees__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .stack__groups { grid-template-columns: 1fr; gap: 32px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .pricing__card { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .compare-table__header,
  .compare-table__row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ── Mobile: up to 768px ── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Trust */
  .trust__grid { grid-template-columns: 1fr; }
  .trust { padding: 40px 0; }

  /* Before/After */
  .ba-table { overflow-x: auto; }
  .ba-header,
  .ba-row { grid-template-columns: 120px 1fr 1fr; min-width: 560px; }
  .ba-header__empty, .ba-row__label { padding: 14px 16px; }
  .ba-header__col, .ba-row__before, .ba-row__after { padding: 14px 16px; font-size: 12px; }
  /* золотая ::after-панель позиционируется от 220px — на мобилке съезжает; прячем,
     а «сторону Uniqore» подсвечиваем фоном самих ячеек */
  .ba-table::after { display: none; }
  .ba-row__after { background: rgba(205, 255, 79,0.06); }
  .ba-row__before::before, .ba-row__after::before { width: 20px; height: 20px; }
  .contact__bgvideo { display: none; } /* на мобилке видео-фон не грузим */

  /* Mockups */
  .mockups__grid { grid-template-columns: 1fr; gap: 32px; }
  .mockups__grid > *, .mockup-showcase { min-width: 0; max-width: 100%; }
  .mockup-showcase__window--mobile { max-width: 100%; }
  .mockup-showcase__window { width: 100%; max-width: 100%; max-height: 320px; overflow: hidden; }
  .mockup-showcase:last-child { display: none; }

  /* Market compare */
  .market-compare { flex-direction: column; gap: 12px; padding: 20px; }
  .market-compare__arrow { transform: rotate(90deg); font-size: 14px; }

  /* Typography mobile */
  .hero__title { font-size: clamp(24px, 7.6vw, 48px); letter-spacing: -0.03em; line-height: 1.04; }
  .hero__title em { font-size: inherit; }
  /* длинное слово не должно раздувать грид-колонку и клипать подзаголовок */
  .hero__split > * { min-width: 0; }
  .section-title { font-size: clamp(36px, 9.5vw, 56px); margin-bottom: 40px; }

  /* Nav */
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 4px;
  }
  .nav__burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
    transform-origin: center;
  }
  .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__burger.open span:nth-child(2) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Mobile menu */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99;
    padding: 100px 40px 40px;
    flex-direction: column;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }
  .mobile-menu a {
    font-size: 28px;
    font-family: var(--font-display);
    color: var(--color-text-primary);
  }
  .mobile-menu .btn {
    margin-top: 24px;
    font-size: 16px;
  }

  /* Hero */
  .hero { padding-top: 80px; min-height: auto; align-items: flex-start; }
  .hero__bgvideo { display: none; } /* на мобилке видео не грузим (3МБ + автоплей) — фон держат aurora/сетка */
  .hero__inner { min-height: auto; justify-content: flex-start; }
  .hero__split { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 32px; flex: none; }
  .hero__right { display: none; }
  .hero__metrics {
    flex-wrap: wrap;
    gap: 0;
    padding: 24px 0 32px;
  }
  .hero__metric {
    flex: 0 0 50%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .hero__metric:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.05); padding-right: 20px; }
  .hero__metric:nth-child(even) { padding-left: 20px; }
  .hero__metric:nth-last-child(-n+2):not(.hero__metric-sep) { border-bottom: none; }
  .hero__metric-sep { display: none; }
  .hero__metric-num { font-size: 28px; }
  .hero__left { gap: 20px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__subtitle { font-size: 15px; line-height: 1.6; }

  /* Cards */
  .services__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .service-card { padding: 28px 24px; }
  .cases__grid { grid-template-columns: 1fr; gap: 16px; }
  .niches__inner { grid-template-columns: 1fr; gap: 32px; }
  /* Team mobile */
  .team__inner { grid-template-columns: 1fr; gap: 32px; }
  .team__cards { grid-template-columns: 1fr; }
  .team-card { padding: 28px 24px; }
  .niche-row__tags { display: none; }
  .niche-row__name { font-size: 22px; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 16px; }
  .guarantees__grid { grid-template-columns: 1fr; }
  .guarantee-card { padding: 28px 24px; }
  .faq__inner { grid-template-columns: 1fr; gap: 24px; }
  .stack__groups { grid-template-columns: 1fr; gap: 24px; }
  .case-card    { padding: 28px 24px; }
  .case-card--has-top { padding: 0; }
  .case-card__top { height: 160px; }
  .case-card__num { font-size: 80px; padding-right: 16px; }
  .case-card__body { padding: 20px 24px 28px; }
  .case-card__metrics { flex-wrap: wrap; gap: 16px; }

  /* Process */
  .process__steps { grid-template-columns: 1fr; gap: 32px; }

  /* Pricing */
  .pricing__left,
  .pricing__right  { padding: 32px 24px; }
  .pricing__price-val { font-size: 36px; }
  .unpack__toggle  { padding: 20px; gap: 14px; }
  .unpack__toggle-label { font-size: 17px; }
  .unpack__toggle-sub { font-size: 12px; }
  .unpack__panel   { padding: 8px 16px 24px; }
  .unpack__grid    { grid-template-columns: 1fr; }
  .compare-table   { overflow-x: auto; }
  .compare-table__header,
  .compare-table__row { min-width: 500px; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 32px; }

  /* Cursor off on touch */
  .cursor, .cursor-follower { display: none; }
}

/* ── Small mobile: up to 480px ── */
@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat-num { font-size: 22px; }
}

/* ==== nav-pages ==== */
/* nav-pages.css — многостраничное меню: дропдаун «Решения», активный пункт,
   мобильные метки разделов. Подключается на всех страницах. */

.nav__links .is-current { color: var(--color-text-primary); }

.nav__item--drop { position: relative; }
.nav__drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}
.nav__drop-toggle:hover,
.nav__item--drop:hover .nav__drop-toggle,
.nav__item--drop.is-open .nav__drop-toggle { color: var(--color-text-primary); }
.nav__drop-toggle svg { opacity: 0.6; transition: transform var(--transition-fast); }
.nav__item--drop:hover .nav__drop-toggle svg,
.nav__item--drop.is-open .nav__drop-toggle svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px; padding: 10px;
  background: rgba(14, 14, 14, 0.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px;
  box-shadow: 0 30px 70px -22px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s cubic-bezier(.22, 1, .36, 1), transform .26s cubic-bezier(.22, 1, .36, 1), visibility .26s;
  z-index: 200;
}
/* невидимый мост, чтобы курсор не терял дропдаун в зазоре между кнопкой и панелью */
.nav__item--drop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.nav__item--drop:hover .nav__dropdown,
.nav__item--drop.is-open .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 12px;
  transition: background var(--transition-fast);
}
.nav__dropdown a::after { display: none !important; } /* убрать подчёркивание от .nav__links a */
.nav__dropdown a:hover { background: rgba(205, 255, 79, 0.08); }
.nav__dd-name { font-size: 14px; font-weight: 500; color: var(--color-text-primary); }
.nav__dd-desc { font-size: 12px; color: var(--color-text-muted); font-family: var(--font-mono); letter-spacing: .01em; }

/* Метка раздела в мобильном меню */
.mobile-menu__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text-muted); padding: 8px 0 2px; opacity: .8; list-style: none;
}

@media (max-width: 1024px) {
  .nav__dropdown { display: none; } /* на мобилке — плоский список в mobile-menu */
}

/* ==== enhance ==== */
/* ==========================================================================
   enhance.css — deepened page sections (reviews / team / included)
   + premium effects (cursor spotlight, hover glow, scroll parallax)
   Loaded AFTER the base cascade. Dark + gold, on-brand.
   ========================================================================== */

/* ── Shared section header helpers ─────────────────────────────────────── */
.section-title--tight { margin-bottom: 20px; }
.section-lead {
  max-width: 640px;
  margin: 0 0 56px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ── Reviews (keysy) ───────────────────────────────────────────────────── */
.reviews { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ── Team (o-nas) ──────────────────────────────────────────────────────── */
.team { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-member {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 32px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background var(--transition-base), border-color var(--transition-slow), transform var(--transition-base), box-shadow var(--transition-base);
}
.team-member > * { position: relative; z-index: 1; }
.team-member__avatar {
  width: 74px; height: 74px;
  border-radius: 20px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(205, 255, 79,0.22);
}
.team-member__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-member__avatar--1 { background: radial-gradient(130% 130% at 25% 20%, rgba(205, 255, 79,0.20), rgba(205, 255, 79,0.02)); }
.team-member__avatar--2 { background: radial-gradient(130% 130% at 78% 22%, rgba(205, 255, 79,0.16), rgba(205, 255, 79,0.02)); }
.team-member__avatar--3 { background: radial-gradient(130% 130% at 28% 82%, rgba(205, 255, 79,0.18), rgba(205, 255, 79,0.02)); }
.team-member__avatar--4 { background: radial-gradient(130% 130% at 74% 78%, rgba(205, 255, 79,0.15), rgba(205, 255, 79,0.02)); }
.team-member__name {
  font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--color-text-primary); margin-bottom: 6px;
}
.team-member__role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--color-accent); opacity: 0.9; margin-bottom: 16px;
}
.team-member__focus { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* ── Included / "что входит" (tseny) ───────────────────────────────────── */
.included { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.included__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.include-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base), border-color var(--transition-slow), transform var(--transition-base), box-shadow var(--transition-base);
}
.include-card > * { position: relative; z-index: 1; }
.include-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.include-card__icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--color-accent);
  background: rgba(205, 255, 79,0.08);
  border: 1px solid rgba(205, 255, 79,0.18);
}
.include-card__head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--color-text-primary); }
.include-card__list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; }
.include-card__list li {
  position: relative; padding-left: 26px;
  font-size: 14px; line-height: 1.5; color: var(--color-text-secondary);
}
.include-card__list li::before {
  content: '✓';
  position: absolute; left: 0; top: -1px;
  color: var(--color-accent); font-weight: 700; font-size: 14px;
}

/* ── Cursor spotlight (pseudo-free cards only) ─────────────────────────── */
.testimonial-card, .team-member, .include-card { position: relative; }
.testimonial-card > * { position: relative; z-index: 1; }
.testimonial-card::after,
.team-member::after,
.include-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(205, 255, 79,0.10), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.testimonial-card:hover::after,
.team-member:hover::after,
.include-card:hover::after { opacity: 1; }

/* lift + glow on the new cards */
.testimonial-card:hover,
.team-member:hover,
.include-card:hover {
  border-color: rgba(205, 255, 79,0.20);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px -30px rgba(205, 255, 79,0.22);
}

/* ── Broad hover glow (additive box-shadow, no pseudo conflict) ────────── */
.case-card, .service-card, .guarantee-card, .feature-card, .pricing__card {
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
}
.case-card:hover,
.service-card:hover,
.guarantee-card:hover,
.feature-card:hover,
.pricing__card:hover {
  box-shadow: 0 26px 74px -30px rgba(205, 255, 79,0.20);
}

/* ── Scroll parallax base ──────────────────────────────────────────────── */
.feature__visual { will-change: transform; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .team__grid, .included__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team__grid, .included__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .section-lead { font-size: 16px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature__visual { will-change: auto; transform: none !important; }
  .testimonial-card:hover, .team-member:hover, .include-card:hover { transform: none; }
}

/* ── Niche page-hero background media (photo + subtle Kling loop) ───────── */
.page-hero--media { position: relative; overflow: hidden; }
.page-hero--media .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--media .page-hero__media-el { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; filter: saturate(1.1) contrast(1.05); }
.page-hero--media .page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.72) 68%, #0A0A0A 100%);
}
.page-hero--media .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .page-hero--media .page-hero__media-el { display: none; }
}

/* ── Process section background media (light photo → graded dark to fit theme) ─ */
.process--media { position: relative; }
.process--media .process__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: 24px; }
.process--media .process__media-el { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: brightness(0.38) saturate(0.9) contrast(1.1); }
.process--media .process__scrim {
  position: absolute; inset: 0; z-index: 1; border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.82) 55%, rgba(10,10,10,0.94) 100%);
}
.process--media .container { position: relative; z-index: 2; }
.process--media .process__steps { padding: 48px 0 24px; }
@media (prefers-reduced-motion: reduce) {
  .process--media .process__media-el { display: none; }
}
@media (max-width: 768px) {
  .process--media .process__media, .process--media .process__scrim { border-radius: 0; }
}

/* ==== redesign ==== */
/* ============================================================
   UNIQORE REDESIGN — Deep Tech (направление Б, одобрено 2026-07-10)
   Слой ПОВЕРХ существующей структуры. Ничего не ломает — только
   переопределяет визуал. Палитра уже в variables.css.
   ============================================================ */

/* — убираем старый декор hero (видео/aurora/частицы = перфоманс + не Б) — */
.hero__bgvideo,
.hero__aurora,
#hero-particles,
.contact__bgvideo { display: none !important; }

/* — фон hero: Deep Tech сетка + glow вместо видео — */
.hero { position: relative; background: var(--color-bg); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 28% 42%, #000 18%, transparent 74%);
          mask-image: radial-gradient(ellipse 78% 62% at 28% 42%, #000 18%, transparent 74%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 680px; height: 680px; right: -160px; top: 4%;
  background: radial-gradient(circle, rgba(205,255,79,.30), transparent 62%);
  filter: blur(46px); opacity: .5;
}
.hero__inner { position: relative; z-index: 2; }

/* — типографика hero под Б: крупнее, Unbounded, лайм-акцент — */
.hero__title {
  font-family: 'Unbounded', var(--font-display), sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 1.04; letter-spacing: -.035em;
}
.hero__title em { color: var(--color-accent); font-style: normal; }
.hero__eyebrow {
  border: 1px solid var(--color-border-hover);
  background: rgba(255,255,255,.02);
  border-radius: 100px; padding: 7px 15px;
}
.hero__subtitle { color: var(--color-text-secondary); max-width: 34ch; }

/* — правая колонка: 3D-глубина мокапа (perspective + плавающий tilt) — */
.hero__right { perspective: 1600px; perspective-origin: 60% 40%; }
.hero__frame {
  transform: rotateY(-9deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.85),
              0 0 0 1px var(--color-border);
  animation: uq-float 7s ease-in-out infinite;
}
.hero__right:hover .hero__frame { transform: rotateY(-4deg) rotateX(3deg) translateY(-4px); }
@keyframes uq-float {
  0%,100% { transform: rotateY(-9deg) rotateX(5deg) translateY(0); }
  50%     { transform: rotateY(-9deg) rotateX(5deg) translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__frame { animation: none; }
}

/* — кнопка-акцент под Б: лайм, тёмный текст, магнит-ховер — */
.btn--accent {
  background: var(--color-accent); color: #0A0E1A;
  border: none; font-weight: 600;
  transition: transform .15s ease, box-shadow .25s ease;
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(205,255,79,.4);
}
.btn--ghost { border: 1px solid var(--color-border-hover); color: var(--color-text-primary); }
.btn--ghost:hover { background: rgba(255,255,255,.04); border-color: var(--color-text-muted); }

/* — метрики hero: акцент лайм на числах — */
.hero__metric-num em, .hero__metric-num { letter-spacing: -.02em; }

/* — секции ниже: мягкий тёмно-синий сёрфейс вместо чистого чёрного — */
body, .section, .niches, .cases, .process, .pricing, .faq { background: var(--color-bg); }

/* — мобилка: убрать float-тилт (на тач не нужен, экономит краску) — */
@media (max-width: 900px) {
  .hero__frame { transform: none; animation: none; }
  .hero__right { perspective: none; }
  .hero::after { right: -40%; opacity: .32; }
}

/* — мобилка: заголовок мельче + защита от горизонтального overflow — */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .hero__title { font-size: clamp(30px, 8.4vw, 40px); word-break: normal; }
  .hero__inner, .hero__split, .hero__left, .hero__right { min-width: 0; max-width: 100%; }
  .hero__frame { max-width: 100%; }
  .hero::after { width: 320px; height: 320px; }
}

/* — перебить mobile.css .hero__title (clamp 44px распирал 390px) — */
@media (max-width: 768px) {
  .hero .hero__title { font-size: clamp(28px, 7.4vw, 42px) !important; line-height: 1.05 !important; }
}
@media (max-width: 420px) {
  .hero .hero__title { font-size: clamp(26px, 7.2vw, 34px) !important; }
}

/* — жёсткая гарантия: заголовок влезает в 390px, длинное слово переносится — */
@media (max-width: 640px) {
  .hero .hero__title { font-size: 27px !important; line-height: 1.1 !important; overflow-wrap: anywhere; }
  .hero__inner, .container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* — мобилка: кнопки на всю ширину, гарантия переносится — */
@media (max-width: 640px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__assurance { flex-wrap: wrap; }
  .hero__assurance span { flex: 1 1 auto; min-width: 0; }
}

/* — ГЛОБАЛЬНЫЙ anti-overflow на мобилке: всё в hero сжимается под экран — */
@media (max-width: 640px) {
  .hero__right, .hero__frame, .ui-mockup, .mirror, .niche-switch,
  .niche-result, .hero__toasts { max-width: 100% !important; width: 100% !important; box-sizing: border-box; }
  .hero__frame { overflow: hidden; }
  .ui-mockup__kpi-num { font-size: clamp(14px, 4.4vw, 20px) !important; }
  .niche-switch { flex-wrap: wrap; }
  .hero__metrics { flex-wrap: wrap; gap: 20px 12px; }
}

/* — устранение overflow: старые glow-блобы (у Б свой ::after) + клип marquee — */
.hero__glow, .hero__glow--1, .hero__glow--2 { display: none !important; }
.hero { overflow-x: clip; }
section, .section, .niches, [class*="marquee"] { overflow-x: clip; }
.marquee, .niches__marquee { max-width: 100vw; }
/* — добить фантомный горизонт. overflow: glow-псевдоэлементы .cases::before / .faq::before
   (bleed вправо, right:-120px) + aurora подстраниц. Эти блоки НЕ <section> → клипаем явно. — */
.cases, .faq, .page-hero { overflow-x: clip; }

/* ============================================================
   САМОДОСТАТОЧНАЯ ПАЛИТРА Б (защита от перезаписи variables.css
   параллельной сессией). redesign.css подключён последним →
   эти :root переменные и переопределения выигрывают. 2026-07-10
   ============================================================ */
:root {
  --color-bg:             #0A0E1A !important;
  --color-surface:        #121826 !important;
  --color-surface-2:      #161D2E !important;
  --color-border:         #1E2536 !important;
  --color-border-hover:   #2A3448 !important;
  --color-accent:         #CDFF4F !important;
  --color-accent-dim:     #9BC22F !important;
}
/* захардкоженное золото (rgba 245,197,24) в мокапе/демо → лайм */
.mockup-bar--accent, .ui-mockup__bar--hi, .ms-bar--hi { background: rgba(205,255,79,0.55) !important; }
.ui-mockup__bar { background: linear-gradient(to top, rgba(205,255,79,0.12), rgba(205,255,79,0.58)) !important; }
.ui-dot--yellow, .ms-dot--yellow { background: rgba(205,255,79,0.85) !important; box-shadow: 0 0 6px rgba(205,255,79,0.5) !important; }
.ui-mockup__kpi-delta, .ms-kpi__delta, .ms-top__rank, .ms-top__num { color: #CDFF4F !important; }
.ms-kpi--accent { border-color: rgba(205,255,79,0.25) !important; background: rgba(205,255,79,0.05) !important; }
.tg-avatar { background: rgba(205,255,79,0.2) !important; border-color: rgba(205,255,79,0.4) !important; }
.tg-bubble--out { background: rgba(205,255,79,0.15) !important; border-color: rgba(205,255,79,0.3) !important; }

/* — последние золотые точки: лого-SVG (инлайн stroke), TG-иконка, мокап-CTA — */
.nav__logo-mark circle, .nav__logo-mark line,
.footer__logo circle, .footer__logo line { stroke: #CDFF4F !important; }
.nav__tg { color: #CDFF4F !important; }
.ui-mockup__cmdbar-cta, .ui-mockup__nav-item--active,
.ui-mockup__logo-mark { background: #CDFF4F !important; }
.btn--accent, .mirror__cta { background: #CDFF4F !important; color: #0A0E1A !important; }

/* — Higgsfield Deep Tech фон для секции контакта (атмосфера, форма читаема) — */
.contact { position: relative; isolation: isolate; overflow: hidden; }
/* живая сеть-констелляция вместо статичного (съезжавшего) фото */
.contact__net { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; pointer-events: none; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 50% -10%, rgba(205,255,79,.06), transparent 55%);
}
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,14,26,.55), rgba(10,14,26,.86));
}

/* — секция «Зеркало бизнеса» (сигнатура №2, вынесена из hero) — */
.mirror-section { padding: 110px 0; background: linear-gradient(180deg, #0A0E1A, #0D1322 55%, #0A0E1A); position: relative; overflow: hidden; }
.mirror-section::before { content:""; position:absolute; width:520px; height:520px; left:-160px; top:-80px;
  background: radial-gradient(circle, rgba(205,255,79,.14), transparent 60%); filter: blur(30px); pointer-events:none; }
.mirror-section .section-title { margin-bottom: 12px; }
.mirror-section__sub { color: var(--color-text-secondary); margin-bottom: 36px; max-width: 44ch; }
.mirror-section .mirror { max-width: 720px; }

/* — сноска вместо Bitrix-таблицы (ТЗ шаг 2) — */
.pricing__bitrix-note { color: var(--color-text-muted); font-size: 14.5px; max-width: 62ch; margin: 26px auto 0; text-align: center; line-height: 1.6; }

/* — CLS-фикс: резерв высоты заголовка hero, чтобы догрузка Unbounded не двигала макет — */
.hero__title { min-height: 3.35em; }
@media (max-width: 640px) { .hero .hero__title { min-height: 3.5em; } }

/* ─────────────────────────────────────────────────────────────
   TRUST → асимметричный bento (было repeat(5,1fr) под 5 карточек,
   осталось 3 → 2 пустые колонки на десктопе. Теперь: 1 крупная
   featured слева на всю высоту + 2 мелких справа стопкой).
   ───────────────────────────────────────────────────────────── */
.trust__grid {
  grid-template-columns: 1.15fr 0.85fr !important;
  grid-auto-rows: 1fr;
  gap: 16px !important;
}
.trust-card--feature {
  grid-row: 1 / span 2;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 34px 32px !important;
  background: linear-gradient(158deg, rgba(205,255,79,0.08), rgba(255,255,255,0.012) 55%) !important;
  border-color: rgba(205,255,79,0.16) !important;
}
.trust-card--feature::after { opacity: 1 !important; } /* лайм-акцент сверху всегда */
.trust-card--feature .trust-card__icon { width: 44px; height: 44px; }
.trust-card--feature .trust-card__title { font-size: 20px; }
.trust-card--feature .trust-card__desc { max-width: 34ch; }
.trust-card__stack {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.trust-card__stack span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  background: rgba(205,255,79,0.06);
  border: 1px solid rgba(205,255,79,0.18);
  border-radius: 999px;
  padding: 5px 13px;
}
@media (max-width: 720px) {
  .trust__grid { grid-template-columns: 1fr !important; grid-auto-rows: auto; }
  .trust-card--feature { grid-row: auto; }
  .trust-card__stack { padding-top: 4px; }
}

/* ── Signature-момент: сцена с перспективой для сборки мокапов по скроллу ── */
.mockups__grid { perspective: 1400px; perspective-origin: 50% 40%; }
.mockup-showcase { will-change: transform, opacity; transform-style: preserve-3d; }

/* ── Кейс-финал (стоматология, 5-я карта на всю ширину) — 2 колонки:
      скрин слева, история справа по центру. Раньше узкий контент растягивался
      в горизонт → вертикальная «чёрная пустота» снизу. ── */
@media (min-width: 981px) {
  .cases__grid .case-card--has-top:last-child {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr;
    align-items: stretch;
  }
  .cases__grid .case-card--has-top:last-child .case-card__top { height: auto; min-height: 300px; }
  .cases__grid .case-card--has-top:last-child .case-card__body { justify-content: center; padding: 40px 44px; }
}

/* ── Подложка niches: приглушить «точки-мусор» до атмосферы, не шум ── */
.niches__particles { opacity: 0.2 !important; }

/* ── Единый визуальный язык: фото-hero подстраниц сводим к дарк-тех главной.
      Было: тёплое фото (saturate 1.1) + чисто-чёрный скрим #0A0A0A — выбивалось
      из холодного #0A0E1A+лайм. Стало: холодный navy-скрим + приглушение тепла
      + лаймовый ambient-glow как в hero главной. ── */
.page-hero--media .page-hero__media-el {
  filter: saturate(0.82) contrast(1.05) brightness(0.9) hue-rotate(-8deg) !important;
}
.page-hero--media .page-hero__scrim {
  background:
    linear-gradient(180deg, rgba(10,14,26,0.34) 0%, rgba(10,14,26,0.78) 64%, #0A0E1A 100%),
    linear-gradient(118deg, rgba(18,28,56,0.5), rgba(10,14,26,0.08) 55%),
    radial-gradient(120% 78% at 80% 10%, rgba(205,255,79,0.10), transparent 52%) !important;
}

/* ═══════════ ПОЛИРОВКА по вердикту панели критиков (8→9) ═══════════ */

/* [1] Стат-бар под hero (сигнал 3/4 критиков): курсив Unbounded давал
   псевдо-serif, выбивался из дисплейной типографики. Прямой + tabular-nums
   (цифры не «пляшут» при count-up). */
.hero__metric-num {
  font-style: normal !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* [3] Ниши — читаться как кликабельная воронка, а не plain-list:
   лайм-индикатор слева выезжает + название сдвигается на hover. */
.niche-row { position: relative; }
.niche-row::before {
  content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%;
  width: 2px; background: var(--color-accent);
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.niche-row:hover::before, .niche-row:focus-visible::before { transform: scaleY(1); }
.niche-row .niche-row__name { transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.niche-row:hover .niche-row__name { transform: translateX(8px); }

/* [6] Единые focus-visible кольца (a11y + премиум-ощущение) — лайм на всех
   интерактивных: nav, кнопки, чипы, инпуты, FAQ, ссылки-ниши. */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
.niche-chip:focus-visible, .niche-row:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* [4/7] Зона мокапов «Это ваша система» — убрать низкоэнергетичную тёмную
   растяжку и дать панелям грань/глубину (вместо «плавают в чёрном»). */
.atm-img { height: 300px !important; }               /* было 420 — меньше пустоты */
.mockups { padding-top: 90px !important; padding-bottom: 94px !important; }
.mockups__grid { gap: 28px !important; }
.mockup-showcase__label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-accent);
}
.mockup-showcase__window {
  border-color: rgba(255,255,255,0.13) !important;
  box-shadow: 0 26px 64px rgba(0,0,0,0.5), 0 0 100px rgba(205,255,79,0.11),
              inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
.mockup-showcase__caption { color: var(--color-text-secondary); }

/* [6] Hover-лифт карточек кейсов — живой отклик уровня Linear (у кейсов нет
   GSAP-трансформа, конфликта нет). Единый easing-токен. */
.case-card { transition: background var(--transition-base),
  box-shadow var(--transition-spring),
  transform 0.32s cubic-bezier(0.22,1,0.36,1) !important; }
.case-card:hover { transform: translateY(-6px); }

/* [5] Подстраницы ещё ближе к синтетике главной: тонкий signature dot-grid
   поверх фото-hero (как сетка в hero главной), гаснет книзу. */
.page-hero--media { position: relative; }
.page-hero--media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(205,255,79,0.055) 1px, transparent 1.4px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 68%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 68%);
}

/* ═══════════ ДОЖИМ 8.5 → 9 (остаток вердикта панели) ═══════════ */

/* [клиппинг] Флагманский CRM-мокап: сайдбар 48px обрезал лейблы
   «Клиенты/Сделки/Задачи/Аналитика» до «Кли/Сдел/…». Расширить чтобы читались. */
.mockup-showcase .ms-sidebar { width: 96px !important; padding: 14px 10px !important; }
.mockup-showcase .ms-nav-item { white-space: nowrap; }

/* [1] Число потерь — крупнейший якорь секции «Сколько вы теряете» (сильнейший сигнал). */
.mirror__loss { font-size: clamp(30px, 4.2vw, 46px) !important; line-height: 1.1 !important; }
.mirror-section .section-title { margin-bottom: 14px; }

/* [3] Мотион-когезия: единый hover-лифт на карточках шагов процесса (как у кейсов). */
.process__step {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.process__step:hover { transform: translateY(-5px); }

/* [ритм] Ужать тёмную пустоту над секцией потерь. */
.mirror-section { padding-top: 84px !important; }

/* ── Финальные нит-фиксы до чистой 9 ── */
/* Число потерь — ровные плотные группы. Было моно (font-mono) → узкий пробел
   занимал полную ячейку и «135 000» разъезжалось; переводим на пропорциональный
   дисплей-шрифт, группы стоят плотно как «38 400» в мокапе. */
.mirror__num { font-family: var(--font-body) !important; }
.mirror__num, .mirror__loss { font-variant-numeric: tabular-nums; }
/* Контраст-safety второй строки заголовков-акцентов (была «на грани» на тёмном). */
.mockups .section-title em, .mirror-section .section-title em { opacity: 1; }
/* Уплотнить почти-чёрный низ: мягкий каденс-акцент на стыке FAQ→контакт. */
.faq { padding-bottom: 72px; }

/* ═══════════ MOTION-когезия (дожим 9.3 → ~9.5) ═══════════ */
/* Единый вход стат-бара hero: вся строка поднимается как один блок (панель:
   «hero анимировался в одной точке и застывал ниже»). CSS-анимация гарантированно
   завершается видимой — без ghost-риска, в отличие от observer-reveal. */
@keyframes uqRowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__metrics { animation: uqRowIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.35s both; }

/* Живой отклик до самого низа: элементы «Что входит» в прайсе + строки FAQ. */
.pricing__includes li { transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), color 0.25s ease; }
.pricing__includes li:hover { transform: translateX(6px); color: var(--color-text-primary); }
.faq-item__q { transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.22,1,0.36,1); }
.faq-item__q:hover { padding-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  .hero__metrics { animation: none; }
  .pricing__includes li:hover, .faq-item__q:hover { transform: none; padding-left: 0; }
}

/* ═══════════ СИГНАТУРА «Хаос → Система» (morph3d) ═══════════ */
.morph-stage { height: 260vh; position: relative; background: transparent; overflow: visible; }
.morph-pin { height: 100vh; overflow: hidden; position: relative; display: flex; align-items: flex-start; justify-content: center; }
#morph-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; pointer-events: none; transition: opacity .18s linear; }
.morph-poster { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  background: radial-gradient(120% 80% at 50% 40%, rgba(205,255,79,.06), transparent 60%), #0A0E1A; }
.morph-poster svg { width: min(72vw, 720px); }
.morph-cap { position: fixed; top: 12vh; left: 0; right: 0; z-index: 3; text-align: center; margin: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.morph-cap__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--color-text-muted); text-transform: uppercase; }
.morph-cap b { display: block; font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; color: var(--color-text-primary); }
.morph-cap b em { color: var(--color-accent); font-style: normal; }
.morph-cap small { display: block; margin-top: 8px; color: var(--color-text-secondary); font-size: 14px; font-family: var(--font-body); }
/* мобилка / постер-режим: секция короткая, без пина; content-visibility —
   не участвует в layout/paint, пока юзер не доскроллил */
@media (max-width: 899px) {
  .morph-stage { height: auto; padding: 72px 0; content-visibility: auto; contain-intrinsic-size: auto 560px; }
  .morph-pin { height: auto; min-height: 420px; flex-direction: column; align-items: center; gap: 20px; }
  #morph-canvas { display: none; }
  .morph-poster { display: flex; position: relative; inset: auto; min-height: 260px; width: 100%; }
  .morph-cap { margin-top: 0; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .morph-stage { height: auto; padding: 72px 0; }
  .morph-pin { height: auto; min-height: 420px; }
  #morph-canvas { display: none; }
  .morph-poster { display: flex; position: relative; inset: auto; min-height: 260px; }
}

/* ═══════════ УСЛУГИ — три двери (v3) ═══════════ */
.services3 { padding: 100px 0 96px; position: relative; }
.services3__head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.services3__head .section-title { margin-top: 10px; }
.services3__sub { color: var(--color-text-secondary); margin-top: 14px; font-size: 16px; line-height: 1.55; }
.services3__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card { display: flex; flex-direction: column; gap: 15px; padding: 32px; border-radius: 20px;
  background: linear-gradient(162deg, rgba(255,255,255,.035), rgba(255,255,255,.006) 60%);
  border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: var(--color-text-primary);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease; position: relative; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(205,255,79,.3); background: var(--color-surface); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 13px; color: var(--color-accent); background: rgba(205,255,79,.06); border: 1px solid rgba(205,255,79,.18); }
.svc-card__price { font-family: var(--font-mono); font-size: 15px; color: var(--color-accent); font-weight: 600; }
.svc-card__title { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.svc-card__desc { color: var(--color-text-secondary); font-size: 15px; line-height: 1.5; margin: 0; }
.svc-card__list { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 8px; }
.svc-card__list li { position: relative; padding-left: 22px; color: var(--color-text-secondary); font-size: 14px; }
.svc-card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.svc-card__cta { margin-top: auto; padding-top: 12px; color: var(--color-accent); font-weight: 600; font-size: 15px; }
/* флагман */
.svc-card--flagship { grid-column: 1 / -1; padding: 0; overflow: hidden;
  border-color: rgba(205,255,79,.22); background: linear-gradient(118deg, rgba(205,255,79,.08), rgba(255,255,255,.01) 55%); }
.svc-card--flagship:hover { transform: translateY(-4px); }
.svc-card__badge { position: absolute; top: 18px; right: 22px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #0A0E1A; background: var(--color-accent); padding: 5px 13px; border-radius: 999px; }
.svc-card__flag-body { display: grid; grid-template-columns: 1.12fr .88fr; }
.svc-card__flag-left { padding: 38px 38px 34px; display: flex; flex-direction: column; gap: 14px; }
.svc-card__price--flag { font-size: 20px; }
.svc-card__price--flag span { color: var(--color-text-muted); font-size: 13px; font-weight: 400; }
.svc-card__flag-modules { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; padding: 38px; border-left: 1px solid rgba(205,255,79,.14); }
.svc-card__flag-modules span { font-family: var(--font-mono); font-size: 13px; color: var(--color-text-secondary); background: rgba(205,255,79,.06); border: 1px solid rgba(205,255,79,.18); border-radius: 999px; padding: 8px 15px; }
@media (max-width: 760px) {
  .services3 { padding: 68px 0; }
  .services3__grid { grid-template-columns: 1fr; }
  .svc-card__flag-body { grid-template-columns: 1fr; }
  .svc-card__flag-modules { border-left: none; border-top: 1px solid rgba(205,255,79,.14); padding: 22px 32px 30px; }
  .svc-card__flag-left { padding: 30px 32px 26px; }
}

/* — фон секции «Ваша ниша» — убрать дешёвую фото-текстуру (ai-dashboard.jpg),
     чистый дарк-тех градиент + лёгкий лайм-glow — */
.niches__bg-img { display: none !important; }
.niches { background:
  radial-gradient(ellipse 70% 60% at 72% 38%, rgba(205,255,79,.06), transparent 58%),
  linear-gradient(180deg, #0A0E1A, #0D1322 52%, #0A0E1A) !important; }

/* ── Мобильные фиксы v3 ── */
@media (max-width: 760px) {
  /* флагман: бейдж не налезает на цену — в поток сверху */
  .svc-card__badge { position: static; display: inline-block; margin: 22px 0 -4px 24px; }
  .svc-card__flag-left { padding-top: 20px; }
}
@media (max-width: 640px) {
  /* калькулятор: длинный CTA переносится, не обрезается */
  .mirror__cta { white-space: normal !important; height: auto !important; min-height: 0 !important;
    line-height: 1.35 !important; padding: 14px 18px !important; font-size: 14px !important; }
}

/* ═══════════ ЖИВЫЕ ДЕМО (замена фейк-кейсов) ═══════════ */
.demo-sub { color: var(--color-text-secondary); max-width: 60ch; margin: 14px auto 0; text-align: center; font-size: 16px; line-height: 1.55; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.demo-card { display: flex; flex-direction: column; gap: 13px; padding: 26px; border-radius: 18px;
  background: linear-gradient(162deg, rgba(255,255,255,.035), rgba(255,255,255,.006) 60%);
  border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: var(--color-text-primary);
  transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease; }
.demo-card:hover { transform: translateY(-6px); border-color: rgba(205,255,79,.3); background: var(--color-surface); }
.demo-card__top { display: flex; align-items: center; justify-content: space-between; }
.demo-card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary); }
.demo-card__live { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); letter-spacing: .04em; }
.demo-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.demo-card__pp { display: flex; flex-direction: column; gap: 9px; }
.demo-card__pp p { margin: 0; color: var(--color-text-secondary); font-size: 13.5px; line-height: 1.5; }
.demo-card__lbl { display: inline-block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; margin-right: 7px; vertical-align: 1px; }
.demo-card__lbl--was { color: var(--color-text-muted); background: rgba(255,255,255,.05); }
.demo-card__lbl--did { color: #0A0E1A; background: var(--color-accent); font-weight: 600; }
.demo-card__cta { margin-top: auto; padding-top: 8px; color: var(--color-accent); font-weight: 600; font-size: 15px; }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .demo-grid { grid-template-columns: 1fr; } }

/* — блок «проблема» на страницах услуг: крупнее, живее — */
.problem-block h2 { color: var(--color-text-primary); }
.problem-lead { font-size: clamp(18px, 2.1vw, 22px) !important; line-height: 1.55 !important; color: var(--color-text-secondary) !important; max-width: 68ch; }
.problem-lead::first-line { color: var(--color-text-primary); }

/* — тизер цен на главной (вместо большой CRM-прайс-карты) — */
.price-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 42px 0 22px; align-items: stretch; }
.price-teaser__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; border-radius: 18px;
  background: linear-gradient(162deg, rgba(255,255,255,.035), rgba(255,255,255,.006) 60%); border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; color: var(--color-text-primary); transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, background .3s; }
.price-teaser__card:hover { transform: translateY(-6px); border-color: rgba(205,255,79,.3); background: var(--color-surface); }
.price-teaser__card--flag { border-color: rgba(205,255,79,.25); background: linear-gradient(150deg, rgba(205,255,79,.08), rgba(255,255,255,.01) 60%); }
.price-teaser__badge { position: absolute; top: -10px; left: 26px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #0A0E1A; background: var(--color-accent); padding: 4px 11px; border-radius: 999px; }
.price-teaser__name { font-size: 15px; color: var(--color-text-secondary); }
.price-teaser__val { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--color-text-primary); }
.price-teaser__val small { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }
.price-teaser__go { margin-top: auto; padding-top: 10px; color: var(--color-accent); font-weight: 600; font-size: 15px; }
.price-teaser__note { text-align: center; color: var(--color-text-muted); font-size: 14px; max-width: 60ch; margin: 0 auto; }
@media (max-width: 820px) { .price-teaser { grid-template-columns: 1fr; } }

/* ── Крафт-полировка «дизайнер, не ИИ» (аудит 20.07): движение с доводкой ── */
/* Каскад демо-грида вместо всплытия одним блоком (сервис-карточки выше уже стаггерятся) */
.demo-grid .demo-card:nth-child(2){ transition-delay:.06s }
.demo-grid .demo-card:nth-child(3){ transition-delay:.12s }
.demo-grid .demo-card:nth-child(4){ transition-delay:.18s }
.demo-grid .demo-card:nth-child(5){ transition-delay:.24s }
.demo-grid .demo-card:nth-child(6){ transition-delay:.30s }
.demo-grid .demo-card:hover{ transition-delay:0s }

/* Система ховера: внутренности карточки отвечают на лифт, а не только рамка */
.svc-card__icon{ transition:border-color .3s ease, background .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.svc-card:hover .svc-card__icon{
  border-color:rgba(205,255,79,.45);
  background:rgba(205,255,79,.12);
  transform:translateY(-2px) scale(1.06);
}
.svc-card__cta, .demo-card__cta{ display:inline-block; transition:transform .28s cubic-bezier(.22,1,.36,1), color .2s ease; }
.svc-card:hover .svc-card__cta,
.demo-card:hover .demo-card__cta{ transform:translateX(5px); color:#DBFF6E; }
@media(prefers-reduced-motion:reduce){
  .svc-card:hover .svc-card__icon,
  .svc-card:hover .svc-card__cta,
  .demo-card:hover .demo-card__cta{ transform:none; }
}

/* Типографика: ослабить трекинг мелких заголовков (были почти как 60px hero), чистый рэг */
.svc-card__title, .demo-card__title{ letter-spacing:-.01em; text-wrap:balance; }

/* ── Единый голос дисплей-шрифта: Unbounded ниже hero (был только в hero, ── */
/* остальное падало на generic Manrope — главная причина «сделано ИИ», аудит 20.07) */
.svc-card__title,
.demo-card__title,
.price-teaser__val,
.pkg__title { font-family: 'Unbounded', var(--font-display); }

/* ==== premium ==== */
/* premium.css — единый high-end слой для ВСЕХ страниц (грузится последним).
   Не меняет структуру/цвета/концепцию. Только состояния, тени, стекло, фокус,
   микро-движение — единый стандарт качества уровня Linear/Stripe/Apple.
   Один акцент — лайм #CDFF4F. */

/* ── HEADER: стекло + сжатие при скролле (класс .scrolled уже вешает main.js) ── */
.nav{transition:background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom:1px solid transparent}
.nav__inner{transition:padding .35s cubic-bezier(.2,1,.3,1)}
.nav.scrolled{
  background:rgba(9,13,23,.72);
  backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);
  border-bottom-color:rgba(255,255,255,.06);
  box-shadow:0 8px 30px -18px rgba(0,0,0,.8);
}
.nav.scrolled .nav__inner{padding-top:11px;padding-bottom:11px}
.nav__links a{transition:color .2s ease}

/* ── КНОПКИ: единые состояния (hover / active / focus) ── */
.btn{transition:transform .2s cubic-bezier(.2,1,.3,1),box-shadow .28s ease,background .2s ease,border-color .2s ease,filter .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.99);transition-duration:.09s}
.btn--accent:hover{box-shadow:0 14px 40px -12px rgba(205,255,79,.6),0 1px 0 rgba(255,255,255,.3) inset}
.btn--ghost:hover{border-color:rgba(205,255,79,.5);box-shadow:0 0 28px -8px rgba(205,255,79,.22)}
.btn:focus-visible{outline:2px solid rgba(205,255,79,.65);outline-offset:3px}

/* ── КАРТОЧКИ: тонкий border + слоистая тень + подъём на hover ── */
.svc-card,.demo-card,.trust-card,.blog-card,.work,.guar,.price-teaser,.pkg{
  transition:transform .32s cubic-bezier(.2,1,.3,1),border-color .32s ease,box-shadow .32s ease,background .32s ease;
}
.svc-card:hover,.demo-card:hover,.blog-card:hover,.work:hover,.guar:hover,.price-teaser:hover,.pkg:hover{
  transform:translateY(-5px);
  border-color:rgba(205,255,79,.24);
  box-shadow:0 26px 55px -26px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.03) inset;
}
.demo-card:hover{box-shadow:0 26px 60px -24px rgba(0,0,0,.8),0 0 40px -14px rgba(205,255,79,.28)}

/* ── ФОРМЫ: дорогой focus ── */
input,textarea,select{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
input:focus,textarea:focus,select:focus{
  border-color:rgba(205,255,79,.55)!important;
  box-shadow:0 0 0 3px rgba(205,255,79,.13)!important;outline:none!important;
}

/* ── ФОКУС по всему сайту (доступность + премиум) ── */
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{
  outline:2px solid rgba(205,255,79,.5);outline-offset:2px;border-radius:6px;
}

/* ── ТИПОГРАФИКА: единый тонкий кернинг заголовков ── */
.section-title,.page-hero h1,.content-block h2,.works__head h2{letter-spacing:-.02em}
.section-label,.page-hero__eyebrow{letter-spacing:.06em}

/* ── УВАЖЕНИЕ к reduced-motion ── */
@media(prefers-reduced-motion:reduce){
  .btn,.svc-card,.demo-card,.trust-card,.blog-card,.work,.guar,.price-teaser,.pkg,.nav,.nav__inner{transition:none!important}
  .btn:hover,.svc-card:hover,.demo-card:hover,.work:hover{transform:none}
}

/* ── ПЕРЕКЛЮЧАТЕЛЬ ВАЛЮТ ($ / ₽ / Br) ── */
.cur-switch{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 2px;border:1px solid rgba(205,255,79,.34);border-radius:999px;background:rgba(205,255,79,.05);box-shadow:0 0 28px -8px rgba(205,255,79,.45)}
.cur-switch::before{content:"Цены в";align-self:center;padding:0 9px 0 10px;font-family:var(--font-mono,monospace);font-size:11px;font-weight:600;letter-spacing:.03em;color:var(--color-text-secondary,#9aa6be);white-space:nowrap}
.cur-switch__btn{appearance:none;border:0;background:none;color:rgba(255,255,255,.74);font-family:var(--font-mono,monospace);font-size:13.5px;font-weight:700;letter-spacing:.02em;padding:7px 15px;border-radius:999px;cursor:pointer;transition:background .2s ease,color .2s ease}
.cur-switch__btn:hover{color:#fff;background:rgba(255,255,255,.07)}
.cur-switch__btn.is-active{background:var(--color-accent,#CDFF4F);color:#0A0A0A}
/* --center + .cur-switch на одном элементе: fit-content не даёт пилюле растянуться
   на всю ширину (иначе кнопки терялись в пустой полосе), margin:auto центрирует. */
.cur-switch--center{display:flex;width:-moz-fit-content;width:fit-content;margin-left:auto;margin-right:auto;margin-bottom:30px}


/* Знак белорусского рубля (SVG-глиф, Unicode пока нет) */
.byn-sign{height:.82em;width:auto;vertical-align:-.09em;display:inline-block}
.cur-switch__btn .byn-sign{height:1.02em;vertical-align:-.16em}

/* ==== mobile-refactor ==== */
/* ═══════════════════════════════════════════════════════════════════════
   mobile-refactor.css — единый мобильный слой (2026-07-16).
   Подключается ПОСЛЕДНИМ на всех страницах → выигрывает каскадом, а не !important.
   Все правила строго внутри @media ≤768/≤430 — десктоп не трогаем.
   Токены ритма/меры — в variables.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   1. КРИТ: заскоупить правило скрытия мокапа (было глобальным → прятало
      все 4 продуктовых скриншота на /vozmozhnosti/). Действует на любом экране. */
.mockup-showcase:last-child { display: revert; }
@media (max-width: 768px) {
  .mockups__grid .mockup-showcase:last-child { display: none; }
}

@media (max-width: 768px) {

  /* ───────────────────────────────────────────────────────────────────
     2. НАВИГАЦИЯ: непрозрачный фон, чтобы контент не просвечивал под шапкой
        при скролле (баг на блоге/статьях). */
  .nav {
    background: rgba(10, 14, 26, 0.86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* ───────────────────────────────────────────────────────────────────
     3. МОБИЛЬНОЕ МЕНЮ — трёхзонный оверлей: шапка (nav сверху), скроллимая
        середина, закреплённый CTA-футер. Чинит критбаг «доскролл невозможен».
        Структуру аккордеона/футера достраивает nav-dropdown.js. */
  .mobile-menu {
    padding: 0;
    display: none;
    flex-direction: column;
    background: var(--color-bg);
    overscroll-behavior: contain;
  }
  .mobile-menu.open { display: flex; }

  /* скроллимая середина */
  .mobile-menu > ul {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: calc(var(--nav-h-mobile) + 14px) 22px 20px;
    gap: 2px;
  }
  .mobile-menu li { list-style: none; }
  /* верхний уровень — спокойный кегль, крупная тап-цель через паддинг */
  .mobile-menu a:not(.btn) {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.2;
    color: var(--color-text-primary);
    padding: 13px 0;
    letter-spacing: -0.01em;
  }
  .mobile-menu a:not(.btn):active { color: var(--color-accent); }

  /* аккордеон «Решения» (кнопка строится из .mobile-menu__label в JS) */
  .mm-acc-toggle {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 13px 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 19px;
    color: var(--color-text-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin: 6px 0;
  }
  .mm-acc-toggle::after {
    content: "";
    width: 9px; height: 9px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    transition: transform var(--transition-base);
    margin-right: 4px;
  }
  .mm-acc-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .mm-acc-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--transition-slow);
  }
  .mm-acc-panel.open { max-height: 720px; }
  /* ниши внутри аккордеона — компактнее, приглушённее, 2 в ряд */
  .mm-acc-panel ul,
  .mm-acc-panel { padding: 0; }
  .mm-acc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    padding: 6px 0 10px;
  }
  .mm-acc-list a {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
    padding: 9px 0 !important;
  }
  .mm-acc-list a:active { color: var(--color-accent) !important; }

  /* Telegram-строка компактнее (длинная, ломалась в 2 строки) */
  .mobile-menu a[href*="t.me"] {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
  }

  /* закреплённый CTA-футер (кнопку переносит JS в .mobile-menu__cta) */
  .mobile-menu__cta {
    flex: 0 0 auto;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-bg);
  }
  .mobile-menu__cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  /* бургер поверх меню, крестик белый */
  .nav__burger { z-index: 101; }

  /* ───────────────────────────────────────────────────────────────────
     4. HERO-МЕТРИКИ — честная сетка 2×2 без «висячих» разделителей и пустоты.
        Покрывает и главную (.hero__metrics) и внутренние (.ph-metrics). */
  .hero__metrics,
  .ph-metrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 20px 0 8px !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .hero__metric,
  .ph-metric {
    flex: none !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    border: none !important;
    background: var(--color-bg);
  }
  .hero__metric-sep,
  .ph-metric-sep { display: none !important; }
  .hero__metric-num,
  .ph-metric-num { font-size: 26px !important; }
  .hero__metric-num em,
  .ph-metric-num em { font-style: normal; }

  /* ───────────────────────────────────────────────────────────────────
     5. ТЕЛО/ТИПОГРАФИКА — контраст выше, ширина строки ограничена.
        (Матвей: «тяжело читать» — серый текст на тёмном утомляет.) */
  .hero__subtitle,
  .page-hero p,
  .section-sub,
  .prose p,
  .article p,
  .article li {
    color: #B9C0CC;
  }
  .prose p, .article p,
  .section-sub, .hero__subtitle {
    max-width: var(--measure);
  }
  .section-title, .page-hero h1 { max-width: 18ch; }

  /* ───────────────────────────────────────────────────────────────────
     6. ЦЕНА — не переносить символ валюты на отдельную строку. */
  .pkg__price,
  .pricing__price { flex-wrap: nowrap; }
  .pkg__price-val,
  .pricing__price-val {
    font-size: clamp(28px, 8vw, 38px) !important;
    white-space: nowrap;
    line-height: 1.05;
  }
  @media (max-width: 380px) {
    .pkg__price-val, .pricing__price-val { font-size: 26px !important; }
  }

  /* ───────────────────────────────────────────────────────────────────
     7. РИТМ СЕКЦИЙ — единое «дыхание», чтобы подача не читалась стеной.
        Не режем контент, а выравниваем вертикальные отступы. */
  section { padding: var(--space-section-mobile) 0; }
  .section-title.words-wrapped { margin-bottom: var(--space-block); }
}

/* ─────────────────────────────────────────────────────────────────────
   8. КРИТ: morph-секция «Хаос→Система» — показать подпись на мобилке.
      На ≤899px JS-анимация не запускает fixed-подпись → она невидима. */
@media (max-width: 899px) {
  .morph-cap {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    order: -1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   9. PER-TEMPLATE — правки конкретных шаблонов (CSS применяется ко всем
      экземплярам: 16 ниш / 26 статей сразу, без правки их HTML). */
@media (max-width: 768px) {

  /* ── БЛОГ-СТАТЬЯ (×26): ритм чтения — ядро жалобы «тяжело изучать» ── */
  .breadcrumb { padding-top: 84px !important; }
  .article-body > p:first-of-type {           /* лид-абзац */
    font-size: 18.5px; line-height: 1.6; color: #C9CFDA;
  }
  .article-body p, .article-body li { font-size: 17px; color: #B9C0CC; max-width: var(--measure); }
  .article-body h2 {
    font-size: clamp(21px, 5.6vw, 27px); line-height: 1.2;
    margin-top: 1.7em; letter-spacing: -0.01em;
  }
  .article-body h2 + p { margin-top: .6em; }
  .article-cta { padding: 26px 18px; }
  .article-cta .btn, .article-cta a.btn {
    width: 100%; justify-content: center; white-space: normal;
  }

  /* ── БЛОГ-ЛЕНТА: карточки компактнее и читаемее ── */
  .blog-card { padding: 22px 20px; }
  .blog-card__title { font-size: 19px; line-height: 1.25; }
  .blog-card__desc { color: #ADB4C0; }

  /* ── НИШИ (×16): hero-видео off (перф, постер остаётся), H2 clamp ── */
  .page-hero--media .page-hero__media-el { display: none !important; }
  .work h2, .work__body h2, .whatin h2, .works h2 {
    font-size: clamp(22px, 6vw, 30px); line-height: 1.15;
  }

  /* ── SISTEMA: пояснения под ценами читаемее ── */
  .market-compare__note { font-size: 13px !important; line-height: 1.5; }

  /* ── O-NAS / общие FAQ: крупнее вопрос/ответ, крупнее тап ── */
  .faq-item__q { font-size: 16.5px; line-height: 1.35; }
  .faq-item__a { font-size: 15px; line-height: 1.7; }

  /* ── KEYSY: proof-strip 2×2 без «висячих» бордеров + демо-CTA видим ── */
  .proof-strip { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1px; }
  .proof-strip__item { border: none !important; }
  /* мобилка = тач: призыв «Открыть демо» не должен зависеть от hover */
  .demo-card__open { opacity: 1 !important; transform: none !important; }

  /* ── SAYTY: выпрямить 3D-наклон браузера (дешевит на мобилке) ── */
  .sy-browser { transform: none !important; }

  /* ── универсально: инпуты 16px — iOS Safari не зумит при фокусе ──
     !important обязателен: боевые формы задают 14–15px с большей специфичностью
     (sections.css / sayty.css), из-за чего iPhone зумил вьюпорт на фокусе. */
  input, textarea, select,
  .form-group input, .contact input, .quiz input, #business, #contact-input,
  .sy-form input { font-size: 16px !important; }

  /* ── тап-таргеты ≥44px: футер-ссылки, ниши в аккордеоне, бургер ── */
  .footer a, .site-footer a, .footer__col a, .footer-nav a { padding: 7px 0; display: inline-block; }
  .mm-acc-list a { min-height: 44px; display: flex; align-items: center; }
  #burger, .burger { padding: 10px; margin: -10px; }
}

/* ── морф-секция «Хаос→Система» на мобилке: постер крупнее + дыхание подписи ── */
@media (max-width: 768px) {
  .morph-poster svg { width: min(88vw, 380px); }
  .morph-pin { gap: 26px; padding: 0 20px; }
  .morph-cap { margin-bottom: 2px; }
  .morph-cap small { display: block; max-width: 32ch; margin-left: auto; margin-right: auto; }
}

/* ── тач-устройства: демо-CTA «Открыть демо» всегда видим (не по hover) ── */
@media (hover: none) {
  .demo-card__open { opacity: 1 !important; }
}

/* ── Плавающая кнопка-заявка на мобиле: постоянный CTA (раньше его не было) ── */
#uq-float-cta { display: none; }
@media (max-width: 768px) {
  #uq-float-cta {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; right: 14px; bottom: 14px; z-index: 900;
    padding: 12px 18px; border-radius: 999px;
    background: var(--color-accent, #CDFF4F); color: #0A0E1A;
    font: 600 15px/1 var(--font-display, system-ui), sans-serif;
    text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05);
    -webkit-tap-highlight-color: transparent;
  }
  #uq-float-cta svg { width: 18px; height: 18px; }
  #uq-float-cta:active { transform: scale(.96); }
}

