﻿/* System font stack — San Francisco на Apple,
   Segoe UI на Windows, аналог на Android/Linux */
:root {
  --font-display: -apple-system, BlinkMacSystemFont,
    'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont,
    'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
}

:root {
  /* Новые токены из редизайна */
  --accent: #1de9b6;
  --accent-dim: rgba(29, 233, 182, 0.12);
  --accent-border: rgba(29, 233, 182, 0.3);
  --card-bg: #14110e;
  --card-border: rgba(255,255,255,0.07);
  --text-muted: rgba(255,255,255,0.45);

  /* Только полотно страницы (body + нижний слой .page). Карточки/текст/хедер — свои цвета, не отсюда. ~15% темнее базы #0c0a08 */
  --bg: #0a0907;
  --bg-elevated: #14110e;
  --surface: #1a1614;
  --surface-2: #221c18;
  --orange: #ff6a1a;
  --orange-dim: #c44a0a;
  --orange-soft: #ffb078;
  --orange-glow: rgba(255, 106, 26, 0.45);
  --text: #eef1f6;
  --muted: #9a8f88;
  --border: rgba(255, 255, 255, 0.11);
  --border-accent: rgba(255, 106, 26, 0.35);
  --section-bg: #0c0a08;
  --hero-mascot-glow: rgba(255, 106, 26, 0.14);
  --hero-mascot-glow-hover: rgba(255, 106, 26, 0.22);
  /* Мягкий низ кадра (видео Nexus, PNG маскота в hero) */
  --media-edge-mask-bottom: linear-gradient(
    to bottom,
    #fff 0%,
    #fff 72%,
    rgba(255, 255, 255, 0.97) 78%,
    rgba(255, 255, 255, 0.82) 84%,
    rgba(255, 255, 255, 0.55) 89%,
    rgba(255, 255, 255, 0.28) 93%,
    rgba(255, 255, 255, 0.1) 96.5%,
    rgba(255, 255, 255, 0.03) 98.5%,
    transparent 100%
  );
  /* Левый край кадра (резкое свечение у границы PNG / видео) */
  --media-edge-mask-left: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 2%,
    rgba(255, 255, 255, 0.12) 5%,
    rgba(255, 255, 255, 0.35) 9%,
    rgba(255, 255, 255, 0.62) 12%,
    rgba(255, 255, 255, 0.86) 16%,
    rgba(255, 255, 255, 0.97) 19%,
    #fff 22%,
    #fff 100%
  );
  --media-edge-mask-right: linear-gradient(
    to left,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 2%,
    rgba(255, 255, 255, 0.12) 5%,
    rgba(255, 255, 255, 0.35) 9%,
    rgba(255, 255, 255, 0.62) 12%,
    rgba(255, 255, 255, 0.86) 16%,
    rgba(255, 255, 255, 0.97) 19%,
    #fff 22%,
    #fff 100%
  );
  /* Чуть шире зона слева у маскота в hero (свет ближе к краю кадра) */
  --hero-mascot-mask-left: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 1.5%,
    rgba(255, 255, 255, 0.12) 4%,
    rgba(255, 255, 255, 0.32) 8%,
    rgba(255, 255, 255, 0.58) 12%,
    rgba(255, 255, 255, 0.82) 16%,
    rgba(255, 255, 255, 0.95) 20%,
    #fff 24%,
    #fff 100%
  );
  /* Один отступ под sticky-хедер: только scroll-padding на html (без дубля scroll-margin на секциях) */
  /* rem, не vh — при зуме совпадает с масштабом текста, без «прыжков» scroll-padding */
  --header-sticky-offset: max(
    env(safe-area-inset-top, 0px),
    clamp(68px, 5.5rem, 108px)
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-padding-top: var(--header-sticky-offset);
  max-width: 100%;
  width: 100%;
  overflow-x: clip;
  /* Совпадает с body/.page — без полосы другого оттенка при overscroll в Safari */
  background-color: var(--bg);
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: max(env(safe-area-inset-top, 0px), 72px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  max-width: 100%;
  width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Лендинг: свечение маскота выходит за край вьюпорта */
body.page-landing {
  overflow-x: visible;
}

.page {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
  /* только вертикаль: боковой padding давал тёмные «полосы» у краёв вьюпорта (#0a0907 vs #0c0a08 секций) */
  padding: clamp(12px, 1.6rem, 28px) 0;
  position: relative;
  background: var(--bg);
}

/* Лендинг: контент на всю ширину; горизонтальные отступы у секций и хедера */
body.page-landing .page {
  overflow: visible;
  padding-top: 0 !important;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 78% 52% at 48% -6%,
      rgba(255, 106, 26, 0.1) 0%,
      rgba(255, 106, 26, 0.031) 38%,
      rgba(255, 106, 26, 0.007) 58%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 52% 44% at 92% 74%,
      rgba(255, 150, 95, 0.066) 0%,
      rgba(255, 150, 95, 0.022) 40%,
      transparent 68%
    );
}

@media (prefers-reduced-transparency: reduce) {
  .page::before {
    opacity: 0.55;
  }
}

.hero-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: clamp(22px, 2.4rem, 36px);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(28, 22, 18, 0.97) 0%,
    rgba(23, 19, 16, 0.965) 34%,
    rgba(17, 14, 12, 0.955) 70%,
    rgba(14, 11, 9, 0.95) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 12px 36px rgba(0, 0, 0, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.18),
    0 48px 100px rgba(0, 0, 0, 0.12),
    0 0 120px rgba(255, 106, 26, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

@media (prefers-reduced-transparency: reduce) {
  .hero-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(22, 18, 14, 0.97);
  }
}

.hero-lead a:hover {
  color: var(--orange-soft);
}

.shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  overflow-x: clip;
  margin: 0 auto;
  min-height: min-content;
  box-sizing: border-box;
  padding-top: var(--header-sticky-offset);
}

.shell,
.stats-inner,
.pain-inner,
.pricing-inner,
.works-inner,
.perks-inner,
.team-inner,
.faq-inner,
.nexus-about__inner,
.nexus-deps__inner,
.nexus-game__inner,
.steps-inner,
.intro-screen__content,
.intro-screen__inner,
.final-cta__inner {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.page-landing .shell {
  overflow: visible;
}

.intro-screen {
  background-color: var(--section-bg);
  position: relative;
  min-height: min(78svh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(2.25rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}

/* Тот же тип свечения, что у .page::before — без фото */
.intro-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 78% 52% at 48% -6%,
      rgba(255, 106, 26, 0.1) 0%,
      rgba(255, 106, 26, 0.031) 38%,
      rgba(255, 106, 26, 0.007) 58%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 52% 44% at 92% 74%,
      rgba(255, 150, 95, 0.066) 0%,
      rgba(255, 150, 95, 0.022) 40%,
      transparent 68%
    );
}

@media (prefers-reduced-transparency: reduce) {
  .intro-screen::before {
    opacity: 0.55;
  }
}

.intro-screen__content {
  text-align: center;
}

.intro-screen__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.1s;
}

.intro-screen__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.17s;
}

.intro-screen__tagline em {
  font-style: normal;
  color: rgba(255, 106, 26, 0.85);
}

.intro-screen__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.35rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.25s;
}

.intro-screen__accent {
  color: var(--orange);
}

.intro-screen__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.4s;
}

.intro-screen__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.55s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-screen__cta:hover {
  opacity: 0.85;
}

.intro-screen__cta::before,
.final-cta__btn::before,
.pricing-card__cta--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0s;
  z-index: 1;
  pointer-events: none;
}

.intro-screen__cta:hover::before,
.final-cta__btn:hover::before,
.pricing-card__cta--featured:hover::before {
  left: 150%;
  transition: left 0.55s ease;
}

/* Scroll-индикатор */
.intro-screen__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-screen__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(
    to bottom,
    rgba(255, 107, 0, 0.6),
    transparent
  );
  animation: scroll-grow 1.8s ease-in-out infinite;
}

@keyframes scroll-grow {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .intro-screen__sub br {
    display: none;
  }

  .intro-screen--nexus .intro-screen__sub br {
    display: block;
  }

  .intro-screen__cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* NEXUS page hero — макет NEXUS CENTER */
.intro-screen--nexus .intro-screen__nexus-meta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* Фон — почти чёрный без градиента, чище */
.pain-section {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.pain-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pain-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.pain-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

/* Табы */
.pain-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.pain-tab {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: none;
  border: none;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}

.pain-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-tab--active {
  color: #fff;
}

.pain-tab--active::after {
  transform: scaleX(1);
}

/* Панели */
.pain-panel {
  display: none;
}

.pain-panel--active {
  display: block;
}

/* NEXUS — карточки в блоке pain-section */
.nexus-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .nexus-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .nexus-info-grid {
    grid-template-columns: 1fr;
  }
}

.nexus-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.nexus-info-card:hover {
  border-color: rgba(255, 107, 0, 0.25);
  transform: translateY(-3px);
}

.nexus-info-icon {
  color: var(--color-accent, #ff6b00);
  display: block;
}

.nexus-info-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.nexus-info-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Дизайнерам — превью в pain-section */
.designers-preview {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .designers-preview {
    flex-direction: column;
    gap: 2rem;
  }
}

.designers-preview__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.designers-preview__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: #fff;
  margin: 0;
}

.designers-preview__accent {
  color: var(--color-accent, #ff6b00);
}

.designers-preview__desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  max-width: 500px;
}

.designers-preview__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.designers-preview__list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.designers-preview__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid var(--color-accent, #ff6b00);
  color: var(--color-accent, #ff6b00);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
  min-height: 48px;
}

.designers-preview__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 107, 0, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
  transition: left 0s;
}

.designers-preview__btn:hover {
  background: var(--color-accent, #ff6b00);
  color: #fff;
}

.designers-preview__btn:hover::before {
  left: 150%;
  transition: left 0.55s ease;
}

.designers-preview__badge {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(255, 107, 0, 0.05);
}

.designers-preview__badge-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-accent, #ff6b00);
  line-height: 1;
}

.designers-preview__badge-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  max-width: 100px;
}

.pain-header .pain-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.75rem 0 0;
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Три шага — страница /designers */
.steps-section {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}


.steps-header {
  text-align: center;
  margin-bottom: 3rem;
}

.steps-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.steps-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.step-card:hover {
  border-color: rgba(255, 107, 0, 0.25);
  transform: translateY(-3px);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-accent, #ff6b00);
  opacity: 0.4;
  line-height: 1;
}

.step-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.step-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* —— страница /nexus —— */
.nexus-about {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
}

.nexus-about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 900px) {
  .nexus-about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.nexus-about__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 1rem;
}

.nexus-about__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.nexus-about__accent {
  color: var(--color-accent, #ff6b00);
}

.nexus-about__desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem;
}

.nexus-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.nexus-about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(150deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.nexus-about__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 106, 26, 0.5), transparent);
}

.nexus-about__stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent, #ff6b00);
  line-height: 1;
}

.nexus-about__stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nexus-deps {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}

.nexus-deps__header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.nexus-deps__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.nexus-deps__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.nexus-deps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .nexus-deps__grid {
    grid-template-columns: 1fr;
  }
}

.nexus-dep-card {
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid transparent;
  transition: transform 0.25s, border-color 0.25s;
}

.nexus-dep-card:hover {
  transform: translateY(-3px);
}

.nexus-dep-card--hub {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
}

.nexus-dep-card--intel {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.15);
}

.nexus-dep-card--forge {
  background: rgba(255, 107, 0, 0.06);
  border-color: rgba(255, 107, 0, 0.15);
}

.nexus-dep-card--system {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.nexus-dep-card__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent, #ff6b00);
  margin: 0;
}

.nexus-dep-card--hub .nexus-dep-card__tag {
  color: #3b82f6;
}

.nexus-dep-card--intel .nexus-dep-card__tag {
  color: #8b5cf6;
}

.nexus-dep-card--forge .nexus-dep-card__tag {
  color: #ff6b00;
}

.nexus-dep-card--system .nexus-dep-card__tag {
  color: rgba(255, 255, 255, 0.4);
}

.nexus-dep-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.nexus-dep-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nexus-dep-card__list li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 0;
  position: relative;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.nexus-dep-card__list li::before {
  display: none;
}

.nexus-dep-card__marker {
  color: var(--orange);
  font-size: 1.1em;
  margin-right: 0.4rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.nexus-dep-card__list li {
  display: flex;
  align-items: baseline;
  padding-left: 0;
}

.nexus-game {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}

.nexus-game__inner {
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.nexus-game__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.nexus-game__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0 0 3rem;
  line-height: 1.05;
}

.nexus-game__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}

@media (max-width: 600px) {
  .nexus-game__grid {
    grid-template-columns: 1fr;
  }
}

.nexus-game__item {
  background: linear-gradient(150deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nexus-game__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 106, 26, 0.45), transparent);
}

.nexus-game__item:hover {
  border-color: rgba(255, 106, 26, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.nexus-game__icon {
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--orange);
}

.nexus-game__icon svg {
  width: 100%;
  height: 100%;
}

.nexus-game__item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.nexus-game__item p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

/* Грид карточек */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка */
.pain-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.pain-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pain-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 0, 0.1);
}

.pain-card.is-visible:hover {
  transform: translateY(-4px);
}

.pain-card__problem {
  padding: 1.5rem;
  background: transparent;
  position: relative;
}

.pain-card__solution {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.08) 0%, rgba(255, 106, 26, 0.01) 100%);
  border-top: 1px solid rgba(255, 106, 26, 0.15);
  position: relative;
  flex-grow: 1;
}

.pain-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.pain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.pain-card__icon svg {
  width: 100%;
  height: 100%;
}

.pain-card__icon--bad {
  color: rgba(255, 255, 255, 0.4);
}

.pain-card__icon--good {
  color: var(--orange);
}

.pain-card__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.pain-card__label--solution {
  color: var(--orange);
}

.pain-card__problem p,
.pain-card__solution p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.pain-card__solution p {
  color: rgba(255, 255, 255, 0.9);
}

.pain-card__divider {
  position: relative;
  height: 0;
  width: 100%;
  z-index: 2;
}

.pain-card__arrow {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  width: 28px;
  height: 28px;
  background: #1a1512;
  border: 1px solid rgba(255, 106, 26, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.pain-card__arrow svg {
  width: 14px;
  height: 14px;
}

.stats-section {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  isolation: isolate;
}

.stats-section::before {
  display: none;
}

.stats-section::after {
  display: none;
}

.stats-inner {
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.stats-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 1.75rem 1.4rem 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 106, 26, 0.55), transparent);
  transition: opacity 0.3s;
}

.stats-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-card.is-visible:hover {
  border-color: rgba(255, 106, 26, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 106, 26, 0.06);
  transform: translateY(-4px);
}

.stats-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ff8040 0%, #ffb37a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-card__unit {
  font-size: 0.55em;
  vertical-align: super;
}

.stats-card__label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.stats-card__desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

.pricing-section {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  isolation: isolate;
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

/* Грид */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}


.pricing-card {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 1.85rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.pricing-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.pricing-card--featured::after {
  left: 15%;
  right: 15%;
  background: linear-gradient(to right, transparent, rgba(255, 106, 26, 0.7), transparent);
}

.pricing-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.is-visible:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: rgba(255, 106, 26, 0.35);
  background: linear-gradient(150deg, rgba(255,106,26,0.09) 0%, rgba(255,106,26,0.03) 100%);
}

.pricing-card--featured.is-visible {
  border-color: rgba(255, 106, 26, 0.4);
  transform: translateY(0);
  box-shadow: 0 0 40px rgba(255, 106, 26, 0.08), 0 12px 36px rgba(0, 0, 0, 0.3);
}

.pricing-card--featured.is-visible:hover {
  border-color: rgba(255, 106, 26, 0.55);
  box-shadow: 0 0 60px rgba(255, 106, 26, 0.14), 0 16px 48px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
}

.pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-card__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

.pricing-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.6;
}

/* Список */
.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.pricing-card__list li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.pricing-card__list li.pricing-card__item--muted {
  color: rgba(255, 255, 255, 0.25);
}

.pricing-check {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card:not(.is-visible) .pricing-check {
  opacity: 0;
}

.pricing-card.is-visible .pricing-check {
  animation: check-pop 0.3s ease forwards;
}

@keyframes check-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  70% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pricing-card__list li:nth-child(1) .pricing-check {
  animation-delay: 0.1s;
}

.pricing-card__list li:nth-child(2) .pricing-check {
  animation-delay: 0.18s;
}

.pricing-card__list li:nth-child(3) .pricing-check {
  animation-delay: 0.26s;
}

.pricing-card__list li:nth-child(4) .pricing-check {
  animation-delay: 0.34s;
}

.pricing-card__list li:nth-child(5) .pricing-check {
  animation-delay: 0.42s;
}

.pricing-card__list li:nth-child(6) .pricing-check {
  animation-delay: 0.5s;
}

.pricing-cross {
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* CTA */
.pricing-card__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  min-height: 48px;
  line-height: 2.2;
}

.pricing-card__cta:not(.pricing-card__cta--featured)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0s;
  z-index: 1;
  pointer-events: none;
}

.pricing-card__cta:not(.pricing-card__cta--featured):hover::before {
  left: 150%;
  transition: left 0.5s ease;
}

.pricing-card__cta:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.pricing-card__cta--featured {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pricing-card__cta--featured:hover {
  opacity: 0.88;
  border-color: var(--orange);
  color: #fff;
}

/* Фон секции — тот же базовый цвет, что у пакетов */
.works-section {
  background: var(--section-bg);
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  isolation: isolate;
}

.pricing-section::before {
  display: none;
}

.works-section::before {
  display: none;
}

.works-section::after {
  display: none;
}


/* Заголовок — появление */
.works-header {
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.works-header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.works-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.works-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

/* Убрать полосы затухания по краям */
.works-slider-wrap {
  position: relative;
  overflow: visible;
}

.works-slider-wrap::before,
.works-slider-wrap::after {
  display: none;
}

.works-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  overflow: visible;
}

.works-slider::-webkit-scrollbar {
  display: none;
}

/* Кнопки — только на мобиле */
.works-controls {
  display: none;
}

.works-ctrl-btn {
  width: auto;
  height: 44px;
  padding: 0 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.15s;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.works-ctrl-btn:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: #fff;
  background: rgba(255, 107, 0, 0.08);
  transform: translateY(-2px);
}

.works-ctrl-btn:active {
  transform: translateY(0) scale(0.97);
}

/* Мобильные иконочные кнопки — круглые, только стрелка */
@media (max-width: 768px) {
  .works-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding: 0;
  }

  .works-ctrl-btn--icon {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .works-ctrl-btn--icon:hover,
  .works-ctrl-btn--icon:active {
    border-color: rgba(255, 107, 0, 0.5);
    color: #fff;
    background: rgba(255, 107, 0, 0.1);
    transform: scale(0.95);
  }

  .works-ctrl-btn--icon span {
    display: none;
  }
}

/* Убрать counter если остался */
.works-counter {
  display: none;
}

/* Карточки — hover подсветка */
.works-card {
  flex: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.works-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 107, 0, 0.12),
    0 0 60px rgba(255, 107, 0, 0.04);
}
.works-card:has(.works-card__preview--betting):hover {
  border-color: rgba(45, 204, 112, 0.3);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(45, 204, 112, 0.12);
}
.works-card:has(.works-card__preview--nutra):hover {
  border-color: rgba(176, 106, 255, 0.3);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(176, 106, 255, 0.12);
}
.works-card:has(.works-card__preview--crypto):hover {
  border-color: rgba(77, 168, 255, 0.3);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 168, 255, 0.12);
}

.works-card:hover .works-card__preview {
  filter: brightness(1.2) saturate(1.1);
  transition: filter 0.3s;
}

.works-card:hover .works-stat__val {
  color: var(--color-accent, #ff6b00);
  transition: color 0.2s;
}

@media (max-width: 560px) {
  .works-card {
    flex: 0 0 88vw;
  }
}

/* Превью-плейсхолдер */
.works-card__preview {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  isolation: isolate;
}

/* Плавное «сползание» в нижнее поле вместо ровного реза */
.works-card__preview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 10, 8, 0) 0%,
    rgba(12, 10, 8, 0.22) 35%,
    rgba(10, 8, 6, 0.78) 72%,
    rgba(8, 6, 5, 0.96) 100%
  );
}

.works-card__preview--gambling {
  background: linear-gradient(160deg, #2a1600 0%, #3d1f00 45%, #1a0e00 100%);
}
.works-card__preview--gambling .works-card__vert-icon {
  color: #ff8c2a;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.5));
}

.works-card__preview--gambling::after {
  background: linear-gradient(
    to bottom,
    rgba(26, 15, 0, 0) 0%,
    rgba(18, 10, 4, 0.35) 38%,
    rgba(12, 8, 5, 0.82) 75%,
    rgba(8, 6, 5, 0.97) 100%
  );
}

.works-card__preview--betting {
  background: linear-gradient(160deg, #002010 0%, #003318 45%, #001508 100%);
}
.works-card__preview--betting .works-card__vert-icon {
  color: #2dcc70;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(45, 204, 112, 0.45));
}
.works-card__preview--betting .works-card__vert-label {
  color: rgba(45, 204, 112, 0.5);
}

.works-card__preview--betting::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 26, 15, 0) 0%,
    rgba(4, 18, 12, 0.38) 38%,
    rgba(6, 12, 9, 0.85) 75%,
    rgba(8, 6, 5, 0.97) 100%
  );
}

.works-card__preview--nutra {
  background: linear-gradient(160deg, #12002a 0%, #1e0040 45%, #0a001a 100%);
}
.works-card__preview--nutra .works-card__vert-icon {
  color: #b06aff;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(140, 60, 255, 0.5));
}
.works-card__preview--nutra .works-card__vert-label {
  color: rgba(176, 106, 255, 0.5);
}

.works-card__preview--nutra::after {
  background: linear-gradient(
    to bottom,
    rgba(12, 0, 22, 0) 0%,
    rgba(14, 8, 24, 0.38) 38%,
    rgba(10, 7, 14, 0.86) 75%,
    rgba(8, 6, 5, 0.97) 100%
  );
}

.works-card__preview--crypto {
  background: linear-gradient(160deg, #001428 0%, #002040 45%, #000e1e 100%);
}
.works-card__preview--crypto .works-card__vert-icon {
  color: #4da8ff;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(60, 140, 255, 0.5));
}
.works-card__preview--crypto .works-card__vert-label {
  color: rgba(77, 168, 255, 0.5);
}

.works-card__preview--crypto::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 16, 28, 0) 0%,
    rgba(4, 14, 22, 0.38) 38%,
    rgba(6, 10, 14, 0.86) 75%,
    rgba(8, 6, 5, 0.97) 100%
  );
}

.works-card__vert-icon {
  position: relative;
  z-index: 1;
  color: var(--orange);
  opacity: 0.8;
}

.works-card__vert-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Body */
.works-card__body {
  position: relative;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: inset 0 22px 36px -28px rgba(0, 0, 0, 0.55);
}

.works-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.works-card__geo {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.works-card__format {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Статы */
.works-card__stats {
  display: flex;
  gap: 1.5rem;
}

.works-stat__val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.works-stat__unit {
  font-size: 0.6em;
  color: var(--orange);
}

.works-stat__key {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 0.2rem 0 0;
}

.works-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Цветные форматные бейджи по вертикали */
.works-card__preview--betting ~ .works-card__body .works-card__format {
  color: #2dcc70;
  background: rgba(45, 204, 112, 0.1);
}
.works-card__preview--nutra ~ .works-card__body .works-card__format {
  color: #b06aff;
  background: rgba(176, 106, 255, 0.1);
}
.works-card__preview--crypto ~ .works-card__body .works-card__format {
  color: #4da8ff;
  background: rgba(77, 168, 255, 0.1);
}

/* Навигация */
.works-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.works-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.works-nav__btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.perks-section {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.perks-section::before {
  display: none;
}

.perks-inner {
  position: relative;
  z-index: 1;
}

.perks-header {
  text-align: center;
  margin-bottom: 3rem;
}

.perks-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.perks-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .perks-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточки — тёмные стеклянные */
.perks-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.6rem;
  align-items: start;
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.3s,
    box-shadow 0.3s;
}

.perks-card__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.perks-card__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.perks-card__desc {
  grid-column: 1 / -1;
  grid-row: 2;
}

.perks-card.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.perks-card.is-visible:hover {
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(1) translateY(-4px);
}

.perks-card__icon {
  color: var(--orange);
  display: block;
}

.perks-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.perks-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* FAQ — чистый тёмный фон */
.faq-section {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}


.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  line-height: 1.05;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Айтемы — тёмные, появление слева */
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.25s;
}

.faq-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.faq-item__q:hover {
  color: var(--color-accent, #ff6b00);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  opacity: 0.4;
  transition: transform 0.3s, opacity 0.2s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.faq-item__icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}

.faq-item--open .faq-item__q {
  color: var(--color-accent, #ff6b00);
}

.faq-item--open .faq-item__icon {
  opacity: 1;
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item--open .faq-item__a {
  max-height: 480px;
  padding: 0 1.5rem 1.25rem;
}

.faq-item__a p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Финальный CTA */
.final-cta {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 5vw, 4.25rem) clamp(1.5rem, 6vw, 6rem);
}

.final-cta__inner {
  text-align: center;
}

.final-cta__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 1rem;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  color: #fff;
  margin: 0 0 1.25rem;
}

.final-cta__accent {
  color: var(--orange);
}

.final-cta__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1.75rem;
}

.final-cta__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  min-height: 52px;
  transition: opacity 0.2s;
}

.final-cta__btn:hover {
  opacity: 0.85;
}

.shell--compact {
  max-width: 100%;
}

/* —— header: logo | center tabs | Telegram —— */
.site-header {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 10px 16px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  padding-top: max(env(safe-area-inset-top, 0px), clamp(8px, 1rem, 14px));
  padding-bottom: clamp(8px, 1rem, 14px);
  padding-left: max(env(safe-area-inset-left, 0px), clamp(16px, 4vw, 32px));
  padding-right: max(env(safe-area-inset-right, 0px), clamp(16px, 4vw, 32px));
  margin: 0;
  background: rgba(12, 10, 8, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0 0 clamp(14px, 1.35rem, 22px) clamp(14px, 1.35rem, 22px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  overflow: hidden;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: rgba(22, 18, 14, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.page-landing .site-header {
    background-color: rgba(22, 18, 14, 0.98);
  }
}

/* Главная: шапка без фонового изображения — тот же стеклянный тёмный слой */
body.page-landing .site-header {
  background-color: #0c0a08;
  background-image: linear-gradient(
    to bottom,
    rgba(8, 6, 5, 0.78) 0%,
    rgba(10, 8, 6, 0.55) 45%,
    rgba(8, 6, 5, 0.72) 100%
  );
  background-size: auto;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  backdrop-filter: blur(12px) saturate(1.08);
}

/* У самого верха страницы — скругление со всех сторон; после скролла — как раньше (только низ). */
html.header-at-top body:not(.page-legal-rich) .site-header {
  border-radius: clamp(14px, 1.35rem, 22px);
}

.logo-block {
  justify-self: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-mark {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2rem, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  line-height: 1.1;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.15rem, 26px);
  flex-wrap: wrap;
}

.nav-center a {
  font-size: clamp(0.68rem, 0.75rem, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.nav-center a:hover {
  color: var(--text);
}

.nav-center a.is-active {
  color: var(--text);
  border-bottom-color: var(--orange);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #140801;
  background: linear-gradient(165deg, #ff9a5c 0%, #ff7a28 52%, var(--orange) 100%);
  border: 1px solid rgba(255, 180, 130, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(255, 106, 26, 0.22),
    0 0 28px rgba(255, 106, 26, 0.12);
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn-tg:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 3px 10px rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(255, 106, 26, 0.28),
    0 0 36px rgba(255, 106, 26, 0.16);
}

.btn-tg svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .logo-block {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* —— inner pages header —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.topbar small {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-mini a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.nav-mini a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 106, 26, 0.06);
}

.hero {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(12px, 1.25rem, 24px);
  min-height: min-content;
  padding: clamp(6px, 0.75rem, 16px) 0;
}

/* Лендинг: не растягиваем hero на остаток высоты экрана — иначе при зуме/десктопе секции «улетают» вниз */
body.page-landing .hero {
  flex: 0 0 auto;
}

/* Лендинг: высота слота барабана (fallback до JS) — перекрытие с соседями ~8% (в пределах 5–10%) */
body.page-landing .hero-copy {
  --plate-line-h: 4.6rem;
  --plate-bite: 0.08;
}

/* .hero-copy h1 даёт margin-bottom: 0.35em — огромный зазор между барабаном и Dynasty Creo; на лендинге убираем */
body.page-landing .hero-copy .hero-kicker {
  margin-bottom: 0;
}

body.page-landing .hero-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

body.page-landing .hero-kicker__line {
  position: relative;
  z-index: 1;
  color: #fff;
  /* стык к барабану (~половина «укуса») */
  margin-bottom: calc(-0.55 * var(--plate-bite) * var(--plate-line-h));
}

body.page-landing .hero-headline .hero-plate {
  position: relative;
  z-index: 0;
  /* как у бывшего второго span в h1, минус «укус» высоты слота */
  margin-top: calc(clamp(0.12em, 0.2em, 0.28em) - var(--plate-bite) * var(--plate-line-h));
}

body.page-landing .hero-copy .hero-brand-mega {
  position: relative;
  z-index: 1;
  margin: calc(-1 * var(--plate-bite) * var(--plate-line-h)) 0 0.06em;
  color: #fff;
}

@media (min-width: 900px) {
  .hero--split {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: stretch;
    min-height: calc(100dvh - clamp(72px, 7.5rem, 120px));
  }

  /* Лендинг: две центральные колонки между 1fr — карточка и маскот по центру экрана */
  body.page-landing .hero--split {
    grid-template-columns:
      1fr
      minmax(0, min(38rem, 100%))
      minmax(260px, min(480px, 46vw))
      1fr;
    column-gap: clamp(16px, 1.4rem, 28px);
    min-height: min-content;
    align-items: stretch;
    overflow: visible;
  }

  body.page-landing .hero--split > .hero-copy {
    grid-column: 2;
    min-width: 0;
  }

  body.page-landing .hero--split > .hero-visual {
    grid-column: 3;
    min-width: 0;
  }

  /* Карточка прижата к маскоту (внутренняя сторона пары) */
  body.page-landing .hero-copy {
    position: relative;
    z-index: 1;
    max-width: min(38rem, 100%);
    justify-self: end;
    align-self: start;
  }
}

body.page-landing .hero-stage.hero--split {
  overflow: visible;
  padding-bottom: clamp(24px, 2.5rem, 56px);
}

/* Блок Nexus: видео слева, карточка с барабаном справа */
.nexus-section {
  width: 100%;
  padding: clamp(8px, 1.1rem, 20px) 0 clamp(28px, 2.75rem, 56px);
}

.nexus-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.25rem, 36px);
  align-items: stretch;
}

@media (min-width: 900px) {
  .nexus-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    column-gap: clamp(16px, 1.4rem, 28px);
    align-items: stretch;
  }

  /* Лендинг: видео + карточка по центру экрана; без растягивания по высоте — высота видео от aspect-ratio, карточка по контенту */
  body.page-landing .nexus-split {
    grid-template-columns:
      1fr
      minmax(0, min(34rem, 44vw))
      minmax(0, min(34rem, 44vw))
      1fr;
    column-gap: clamp(16px, 1.4rem, 28px);
    align-items: center;
  }

  body.page-landing .nexus-split > .nexus-video {
    grid-column: 2;
    justify-self: end;
    width: 100%;
    max-width: min(34rem, 44vw);
    height: auto;
    min-height: 0;
  }

  body.page-landing .nexus-split > .nexus-copy {
    grid-column: 3;
    justify-self: start;
    align-self: center;
    max-width: min(34rem, 100%);
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    text-align: center;
  }

  body.page-landing .nexus-copy .hero-kicker {
    text-align: center;
  }

  body.page-landing .nexus-copy .hero-lead {
    text-align: center;
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-landing .nexus-copy .nexus-kicker-accent {
    text-align: center;
  }

  body.page-landing .nexus-copy .hero-card {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow-x: clip;
  }
}

/* Сетка «Те, кто делают цифры» (только секция с .team-inner) */
.team-section:has(.team-inner) {
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
  /* Не обрезаем карточки снизу; горизонталь только при необходимости */
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 6vw, 6rem);
  width: 100%;
}

.team-section:has(.team-inner)::before { display: none; }

.team-section:has(.team-inner) .team-inner {
  position: relative;
  z-index: 1;
}

.team-section:has(.team-inner) .team-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.team-section:has(.team-inner) .team-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.team-section:has(.team-inner) .team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 20px;
  margin-bottom: 1.25rem;
  justify-content: center;
}

@media (max-width: 680px) {
  .team-section:has(.team-inner) .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }
}

/* ── Новая карточка команды ── */
.team-section:has(.team-inner) .team-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.team-section:has(.team-inner) .team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 26, 0.25);
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.team-section:has(.team-inner) .team-card__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.team-section:has(.team-inner) .team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.15), rgba(255, 106, 26, 0.05));
  border: 1px solid rgba(255, 106, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.team-section:has(.team-inner) .team-card__avatar img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.team-section:has(.team-inner) .team-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.team-section:has(.team-inner) .team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.team-section:has(.team-inner) .team-card__role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--orange);
  margin: 0;
  font-weight: 600;
}

.team-section:has(.team-inner) .team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team-section:has(.team-inner) .team-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.team-section:has(.team-inner) .team-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.team-section:has(.team-inner) .team-footnote {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  max-width: min(100%, 32rem);
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

/* Блок «Команда»: две карточки рядом — контент | скрин NEXUS */
.team-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(12px, 1.25rem, 24px) 0 clamp(36px, 3.5rem, 72px);
  background: var(--section-bg);
}

.team-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.25rem, 36px);
  align-items: stretch;
  width: 100%;
  max-width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .team-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(20px, 1.5rem, 32px);
    align-items: stretch;
  }

  .team-copy--screen {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    min-height: 0;
  }

  /* Как у Nexus: две колонки одной высоты; слева карточка тянется, справа скрин по центру колонки */
  body.page-landing .team-copy {
    display: flex;
    flex-direction: column;
    justify-self: stretch;
    align-self: stretch;
    min-height: 0;
  }

  body.page-landing .team-copy .hero-card {
    flex: 1 1 auto;
    min-height: 100%;
    min-width: 0;
  }

  body.page-landing .team-copy--screen .team-screen-visual {
    margin-top: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.page-landing .mock-tilt.mock-tilt--photo.mock-tilt--team-screen {
    max-height: none;
    align-self: center;
    width: 100%;
    max-width: min(100%, 720px);
  }

  body.page-landing .mock-tilt--team-screen .hero-shot {
    max-height: min(58vh, 640px);
    width: 100%;
    height: auto;
  }
}

.team-copy {
  min-width: 0;
}

/* Карточка «Команда»: весь блок по центру карточки; сетка и CTA по ширине согласованы */
body.page-landing .team-copy .hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 1.25rem, 20px);
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-landing .team-copy .hero-card .team-eyebrow,
body.page-landing .team-copy .hero-card .team-heading {
  text-align: center;
  width: 100%;
}

body.page-landing .team-copy .team-cta {
  margin-top: 0;
  width: 100%;
  max-width: min(520px, 100%);
  box-sizing: border-box;
  justify-content: center;
}

body.page-landing .team-copy .team-feature-grid {
  width: 100%;
  max-width: min(520px, 100%);
  margin-inline: auto;
  margin-bottom: 0;
  gap: 12px clamp(18px, 3vw, 32px);
  text-align: left;
}

/* Скрин NEXUS: без лишнего отступа — выравнивание с колонкой текста (на десктопе см. media) */
.team-copy--screen .team-screen-visual {
  margin-top: 0;
}

/* Скрин NEXUS: без второй карточки — только наклон + лёгкая анимация, как у маскота */
.team-screen-visual {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  overflow: visible;
}

.mock-tilt.mock-tilt--photo.mock-tilt--team-screen {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: team-screen-breathe 9s ease-in-out infinite;
  will-change: transform;
}

.mock-tilt--team-screen::before {
  display: none;
}

.mock-tilt--team-screen .hero-shot {
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: center center;
  background: transparent !important;
  /* как у Nexus / hero: мягкое затухание снизу */
  -webkit-mask-image: var(--media-edge-mask-bottom);
  mask-image: var(--media-edge-mask-bottom);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@keyframes team-screen-breathe {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.5deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateY(-7deg) rotateX(4.5deg) rotateZ(0.5deg) translate3d(0, -6px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-tilt--team-screen {
    animation: none !important;
    transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1.5deg);
  }
}

@media (max-width: 899px) {
  .team-copy--screen .team-screen-visual {
    margin-top: min(6.75rem, 108px);
  }

  .mock-tilt.mock-tilt--photo.mock-tilt--team-screen {
    max-height: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .mock-tilt--team-screen .hero-shot {
    max-height: 400px !important;
  }
}

.team-eyebrow {
  margin: 0 0 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.team-heading {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 1.75rem, 2.1rem);
  line-height: 1.12;
  margin: 0 0 0.65em;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  font-weight: 800;
}

.team-cta {
  margin-top: 0.25rem;
}

/* Видео Nexus: как GIF-врезка — без рамки, без полос от вёрстки, только кадр ролика */
.nexus-video {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  -webkit-filter: none;
  background: transparent;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* fallback до loadedmetadata; JS подставляет точное соотношение сторон файла */
  aspect-ratio: 16 / 9;
}

.nexus-video__media {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  /* cover — без чёрных полос по краям (letterbox/pillarbox от contain) */
  object-fit: cover;
  object-position: 50% 100%;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  filter: none;
  -webkit-filter: none;
  -webkit-user-select: none;
  user-select: none;
  /* Мягкое затухание снизу и по бокам: резкие края кадра — три градиента, альфы перемножаются (intersect) */
  --nexus-mask-bottom: var(--media-edge-mask-bottom);
  --nexus-mask-left: var(--media-edge-mask-left);
  --nexus-mask-right: var(--media-edge-mask-right);
  -webkit-mask-image: var(--nexus-mask-bottom), var(--nexus-mask-left), var(--nexus-mask-right);
  mask-image: var(--nexus-mask-bottom), var(--nexus-mask-left), var(--nexus-mask-right);
  -webkit-mask-composite: source-in, source-in;
  mask-composite: intersect, intersect;
  -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%;
  mask-size: 100% 100%, 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat, no-repeat;
}

/* Скрыть возможные нативные контролы WebKit, если браузер их дорисует */
.nexus-video__media::-webkit-media-controls {
  display: none !important;
}

.nexus-video__media::-webkit-media-controls-enclosure {
  display: none !important;
}

.nexus-video--frozen {
  cursor: default;
  outline: none;
}

/* Кнопка «Детали о NEXUS» — между секцией nexus и pricing */
.nexus-section-cta {
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem);
}

.nexus-section-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 106, 26, 0.35);
}

.nexus-section-cta__btn:hover {
  background: #e85f10;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 106, 26, 0.5);
}

.nexus-section-cta__btn:active {
  transform: translateY(0) scale(0.98);
}

.nexus-section-cta__btn svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nexus-section-cta__btn:hover svg {
  transform: translateX(4px);
}

@media (min-width: 900px) {
  /* Центральная сетка — без сдвига влево */
  body.page-landing .nexus-video {
    transform: none;
  }
}

/* Как у hero: .hero-copy h1 + оранжевая строка (аналог hero-plate, без анимации) */
.nexus-copy .hero-kicker {
  font-size: clamp(2.2rem, 3.2rem, 4.6rem);
  line-height: 0.92;
  margin: 0 0 0.35em;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-shadow: none;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.nexus-copy .hero-kicker .nexus-kicker-accent {
  display: block;
  margin-top: clamp(0.12em, 0.2em, 0.28em);
  /* Узкая колонка: меньше кегль, чем у hero-plate, чтобы не вылезать */
  font-size: clamp(1.2rem, 1.75rem, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--orange);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* Mega: в hero колонка шире — здесь сильнее ограничиваем кегль и ширину */
.nexus-copy .hero-brand-mega {
  margin: 0.08em 0 0.12em;
  max-width: 100%;
  font-size: clamp(1.35rem, 2rem, 2.85rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.nexus-copy .hero-brand-mega .hero-brand-line {
  max-width: 100%;
}

.nexus-copy .hero-lead {
  margin-top: 0;
  max-width: min(42ch, 100%);
}

/* ── Nexus Zones ── */
.nexus-zone {
  position: relative;
}

.nexus-zone--headline {
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Feature-grid: лёгкая подложка */
.nexus-zone--features {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

/* AI-стек: акцентный блок */
.nexus-zone--stack {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 106, 26, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 106, 26, 0.1);
}

/* nexus-copy на ПК — без старой hero-card рамки */
@media (min-width: 900px) {
  body.page-landing .nexus-copy {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1rem);
  }
}

/* Мобиль */
@media (max-width: 899px) {
  body.page-landing .nexus-copy {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: clamp(1rem, 4vw, 1.5rem) clamp(1rem, 5vw, 1.25rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
  }
}

/* Цветные иконки для nexus feature-grid */
.nexus-copy .feature-item:nth-child(1) svg { color: rgba(77, 168, 255, 0.9); }
.nexus-copy .feature-item:nth-child(2) svg { color: rgba(255, 200, 50, 0.9); }
.nexus-copy .feature-item:nth-child(3) svg { color: rgba(255, 106, 26, 0.9); }
.nexus-copy .feature-item:nth-child(4) svg { color: rgba(45, 204, 112, 0.9); }
.nexus-copy .feature-item:nth-child(5) svg { color: rgba(176, 106, 255, 0.9); }
.nexus-copy .feature-item:nth-child(6) svg { color: rgba(77, 168, 255, 0.9); }

.nexus-copy .feature-grid {
  max-width: min(520px, 100%);
  width: 100%;
  margin-bottom: clamp(1.25rem, 2.75vw, 2.25rem);
  margin-left: auto;
  margin-right: auto;
}

/* Логотипы AI: зазор после преимуществ → подпись «Функционал и модели» → ещё зазор → иконки */
.nexus-ai-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.25vw, 2rem);
  width: 100%;
  max-width: min(520px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(0.35rem, 1vw, 0.75rem) 0 clamp(6px, 1vw, 12px);
}

@media (min-width: 900px) {
  body.page-landing .nexus-copy .nexus-ai-stack {
    flex: 0 1 auto;
    min-height: 0;
  }
}

.nexus-ai-stack__label {
  margin: 0 auto;
  font-size: clamp(0.52rem, 1.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: none;
  color: rgba(244, 240, 235, 0.5);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.nexus-ai-stack__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
 * Ряд 3 + 4: 12-колоночная сетка — верхние 3 по 4 колонки, нижние 4 по 3 колонки.
 * row-gap чуть больше column-gap — воздух между 1-м и 2-м рядом иконок.
 */
.nexus-ai-stack__grid--ref {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: clamp(14px, 1.4rem, 22px);
  column-gap: 10px;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(1) {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(2) {
  grid-column: 5 / span 4;
  grid-row: 1;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(3) {
  grid-column: 9 / span 4;
  grid-row: 1;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(4) {
  grid-column: 1 / span 3;
  grid-row: 2;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(5) {
  grid-column: 4 / span 3;
  grid-row: 2;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(6) {
  grid-column: 7 / span 3;
  grid-row: 2;
}

.nexus-ai-stack__grid--ref > .nexus-ai-stack__item:nth-child(7) {
  grid-column: 10 / span 3;
  grid-row: 2;
}

@media (max-width: 520px) {
  .nexus-ai-stack__grid--ref > .nexus-ai-stack__item {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .nexus-ai-stack__grid--ref {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nexus-ai-stack__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.18s ease;
}

.nexus-ai-stack__item:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .nexus-ai-stack__item:hover {
    transform: none;
  }
}

/* Цветные «клеточки»-сквирклы (как в референсе) */
.nexus-ai-stack__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 64px);
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.nexus-ai-stack__tile svg {
  display: block;
  width: 68%;
  height: 68%;
}

.nexus-ai-stack__tile--midjourney {
  background: #0f0f0f;
}

.nexus-ai-stack__tile--midjourney svg {
  width: 58%;
  height: 58%;
  color: #fff;
}

.nexus-ai-stack__tile--claude {
  background: linear-gradient(
    180deg,
    #d8ecff 0%,
    #e8f4ff 28%,
    #f4f9ff 55%,
    #fafcff 78%,
    #ffffff 100%
  );
}

.nexus-ai-stack__tile--claude svg {
  width: 62%;
  height: 62%;
}

.nexus-ai-stack__tile--miro {
  background: #ffd02f;
}

.nexus-ai-stack__tile--miro svg {
  width: 70%;
  height: 70%;
  color: #111;
}

.nexus-ai-stack__tile--elevenlabs {
  background: #fff;
  padding: 0 4px;
}

.nexus-ai-stack__tile-wordmark {
  font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: clamp(0.42rem, 3vw, 0.58rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #0d0d0d;
  text-align: center;
  white-space: nowrap;
}

.nexus-ai-stack__tile--gemini {
  background: #fff;
}

.nexus-ai-stack__tile--gemini svg {
  width: 72%;
  height: 72%;
}

.nexus-ai-stack__tile--openai {
  background: #fff;
}

.nexus-ai-stack__tile--openai svg {
  width: 68%;
  height: 68%;
  color: #111;
}

.nexus-ai-stack__tile--google {
  background: #fff;
}

.nexus-ai-stack__tile--google svg {
  width: 78%;
  height: 78%;
}

.nexus-ai-stack__tile--raster {
  padding: 0;
  background: #0a0a0a;
}

.nexus-ai-stack__tile--raster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.nexus-ai-stack__tile--jira {
  background: #2684ff;
}

.nexus-ai-stack__tile--jira img {
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  margin: -6%;
}

.nexus-ai-stack__tile--claude-photo {
  background: #050505;
}

.nexus-ai-stack__tile--google-banana {
  background: #fff;
}

.nexus-ai-stack__tile--kling {
  background: #050505;
}

.nexus-ai-stack__tile--miro-photo {
  background: #ffd02f;
}

.nexus-ai-stack__tile--miro-photo img {
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  margin: -6%;
}

.nexus-ai-stack__name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
  max-width: 100%;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: rgba(244, 240, 235, 0.82);
  text-align: center;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.nexus-benefits-label {
  margin: 1.35em 0 0.65em;
  font-size: clamp(0.68rem, 0.72rem, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.nexus-list {
  margin: 0 0 1.35em;
  padding: 0 0 0 1.2em;
  color: var(--text);
  font-size: clamp(0.84rem, 0.9rem, 0.95rem);
  line-height: 1.55;
  max-width: 52ch;
}

.nexus-list li {
  margin-bottom: 0.75em;
}

.nexus-list li:last-child {
  margin-bottom: 0;
}

.nexus-list strong {
  color: var(--orange-soft);
  font-weight: 600;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2rem, 4.6rem);
  line-height: 0.92;
  margin: 0 0 0.35em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: var(--orange);
}

.hero-copy .sub {
  font-size: clamp(0.85rem, 0.95rem, 1rem);
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.45;
  margin: 0 0 1em;
}

/* —— home hero: headline + mega brand + features —— */
.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5rem, 3.1rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
}

.hero-kicker > span {
  display: block;
  margin-top: clamp(0.12em, 0.2em, 0.28em);
}

/* Барабан текста: крупный кегль, слот фиксирован по высоте (габарит как раньше) */
.hero-plate {
  display: block;
  --plate-fs-max: 4.1rem;
  --plate-fs-min: 1.85rem;
  --plate-line-h: 4.6rem;
  --plate-spin-ms: 0.9s;
  --plate-spin-ease: cubic-bezier(0.45, 0.02, 0.25, 1);
}

.hero-plate__counter {
  display: inline-block;
  position: relative;
  max-width: 100%;
  vertical-align: top;
}

.hero-plate__rim {
  position: relative;
  display: block;
  width: min(100%, 38rem);
  box-sizing: border-box;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  overflow: visible;
}

/* Вертикальный слот: overflow + translateY — без 3D (у Chromium overflow + 3D схлопывает грани в одну плоскость) */
.hero-plate__window {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: var(--plate-line-h);
  max-height: var(--plate-line-h);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-plate__track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform var(--plate-spin-ms) var(--plate-spin-ease);
  will-change: transform;
}

.hero-plate__track.hero-plate__track--no-trans {
  transition: none;
}

.hero-plate__line {
  flex: 0 0 var(--plate-line-h);
  height: var(--plate-line-h);
  max-height: var(--plate-line-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.12rem;
  overflow: hidden;
  /* визуально убрать ~10% «полей» строки сверху и снизу (габарит слота тот же) */
  clip-path: inset(10% 0 10% 0);
  font-family: var(--font-display);
  font-size: var(--plate-fs-max);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.052em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--orange);
  background-image: linear-gradient(
    165deg,
    var(--orange-soft) 0%,
    var(--orange) 42%,
    var(--orange-dim) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-plate__line {
    background-image: none;
    -webkit-text-fill-color: unset;
    color: var(--orange);
  }
}

/* Стартовый пустой слайд (только до первой анимации), дальше удаляется из DOM */
.hero-plate__line--empty {
  visibility: hidden;
  color: transparent;
  user-select: none;
  background-image: none;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .hero-plate__track {
    transition: none !important;
  }

  .mock-tilt--character .hero-shot {
    animation: none !important;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  #hero-photo.mock-tilt.mock-tilt--photo.mock-tilt--character {
    animation: none !important;
    will-change: auto;
    transform: rotateY(-7deg) rotateX(3deg) rotateZ(-1.5deg);
  }
}

.hero-brand-mega {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5rem, 4.8rem);
  line-height: 0.88;
  margin: 0.08em 0 0.06em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero-brand-mega .hero-brand-line {
  display: block;
}

.hero-lead {
  font-size: clamp(0.8rem, 0.9rem, 0.95rem);
  color: rgba(244, 242, 239, 0.88);
  line-height: 1.55;
  max-width: 42ch;
  margin: 0 0 1rem;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-lead a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-lead a:hover {
  color: var(--orange-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0 0 1rem;
  max-width: 520px;
  align-items: stretch;
}

.feature-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-height: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(244, 240, 235, 0.92);
}

/* Цветной левый бордер — каждый пункт свой акцент */
.hero-copy .feature-item {
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0 6px 6px 0;
}

.hero-copy .feature-item:nth-child(1) { border-left-color: rgba(255, 106, 26, 0.55); }
.hero-copy .feature-item:nth-child(2) { border-left-color: rgba(45, 204, 112, 0.55); }
.hero-copy .feature-item:nth-child(3) { border-left-color: rgba(77, 168, 255, 0.55); }
.hero-copy .feature-item:nth-child(4) { border-left-color: rgba(255, 106, 26, 0.55); }
.hero-copy .feature-item:nth-child(5) { border-left-color: rgba(176, 106, 255, 0.55); }
.hero-copy .feature-item:nth-child(6) { border-left-color: rgba(45, 204, 112, 0.55); }

.hero-copy .feature-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.feature-item svg {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.9;
  color: var(--orange);
  align-self: center;
  justify-self: center;
}

.btn-cta-rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #140801;
  background: var(--orange);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.14);
  transition: transform 0.12s ease, background 0.15s ease, filter 0.15s ease;
}

.btn-cta-rocket:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-cta-rocket .ico {
  width: 22px;
  height: 22px;
}

/* —— hero visual (mock dashboard) —— */
.hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  overflow: visible;
}

.mock-tilt {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  max-height: min(27.5rem, 440px);
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(-2deg);
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.mock-tilt--photo {
  width: min(100%, 720px);
  aspect-ratio: auto;
  max-height: 780px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0;
  transition: box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform;
}

.mock-tilt--photo .hero-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.mock-tilt--photo.hero-photo--hover {
  box-shadow:
    0 0 0 1px var(--border-accent),
    0 16px 48px rgba(0, 0, 0, 0.35);
}

.mock-tilt--photo.hero-photo--hover .hero-shot {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border-color: var(--border-accent);
}

.mock-tilt--photo.hero-photo--hover .mock-glow-orb {
  opacity: 0.95;
}

/* Персонаж с NEXUS вместо планшета: без рамки, на всю высоту колонки */
.mock-tilt--character {
  aspect-ratio: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#hero-photo.mock-tilt.mock-tilt--photo.mock-tilt--character {
  background: transparent !important;
  padding: 0 !important;
  margin-left: auto;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible !important;
}

@media (min-width: 900px) {
  body.page-landing #hero-photo.mock-tilt.mock-tilt--photo.mock-tilt--character {
    margin-left: 0;
    margin-right: auto;
  }
}

.mock-tilt--character.hero-photo--hover {
  box-shadow: none !important;
  filter: none;
}

.mock-tilt--character::before {
  display: none;
}

/* Персонаж: без курсора — только лёгкое «дыхание» */
@keyframes hero-character-breathe {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(3deg) rotateZ(-1.5deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateY(-6.2deg) rotateX(3.35deg) rotateZ(0.4deg) translate3d(0, -7px, 0);
  }
}

@keyframes hero-character-shot-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@media (min-width: 900px) {
  /* Низ персонажа у нижнего края карточки: колонка тянется по высоте ряда, контент прижат вниз */
  .hero--split .hero-visual--character {
    align-self: stretch;
    justify-self: end;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 0;
    overflow: visible;
  }

  /* Лендинг: центральная пара — колонка маскота заполняет слот, фигура к внутреннему краю (к карточке) */
  body.page-landing .hero--split > .hero-visual.hero-visual--character {
    justify-self: stretch;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .mock-tilt.mock-tilt--photo.mock-tilt--character {
    width: 100%;
    max-width: 100%;
    flex: 0 1 auto;
    height: auto;
    min-height: 0;
    max-height: 920px;
    padding: 0 !important;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 0;
    animation: hero-character-breathe 8s ease-in-out infinite;
    will-change: transform;
  }

  /* Картинка в кадре по центру по вертикали, визуально к правому краю колонки */
  .mock-tilt--character .hero-shot {
    display: block;
    width: auto;
    max-width: min(100%, 120%);
    height: auto;
    max-height: 100%;
    min-height: 0;
    flex: 0 1 auto;
    object-fit: contain;
    object-position: right center;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 50px var(--hero-mascot-glow));
  }

  .mock-tilt--character .mock-glow-orb {
    display: block;
    bottom: -12%;
    left: -5%;
    opacity: 0.55;
  }

  .mock-tilt--character.hero-photo--hover .hero-shot {
    filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.58))
      drop-shadow(0 0 56px var(--hero-mascot-glow-hover));
  }

  /* Лендинг: колонка под маскота — прижата к верху, как hero-copy */
  body.page-landing .hero-visual--character {
    align-self: start;
    height: auto;
    min-height: 0;
    margin-left: 0;
    z-index: 2;
    pointer-events: none;
  }

  body.page-landing .hero-visual--character .mock-tilt.mock-tilt--photo.mock-tilt--character {
    height: 100%;
    max-height: 920px;
    align-self: start;
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: 0;
    margin-right: auto;
  }

  /* Внутренний край к карточке — якорь сверху слева, без подъёма */
  body.page-landing .mock-tilt--character .hero-shot {
    object-position: left top;
    transform: none;
    transform-origin: left top;
  }
}

/* Лендинг: персонаж без drop-shadow и без овала .mock-glow-orb; низ + левый край PNG (как Nexus) */
body.page-landing .mock-tilt--character .hero-shot,
body.page-landing .mock-tilt--character.hero-photo--hover .hero-shot {
  filter: none !important;
  -webkit-mask-image: var(--media-edge-mask-bottom), var(--hero-mascot-mask-left);
  mask-image: var(--media-edge-mask-bottom), var(--hero-mascot-mask-left);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%, 100% 100%;
  mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
}

body.page-landing .mock-tilt--character .mock-glow-orb {
  display: none !important;
}

.mock-tilt::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(255, 106, 26, 0.12) 0%,
    rgba(255, 106, 26, 0.04) 38%,
    rgba(255, 106, 26, 0.01) 58%,
    transparent 78%
  );
  pointer-events: none;
}

.mock-ui-top {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 106, 26, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
}

.mock-chart {
  padding: 14px;
  height: 42%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mock-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--orange);
  opacity: 0.88;
  box-shadow: none;
}

.mock-rows {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-row {
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-row:nth-child(2) {
  width: 75%;
}

.mock-row:nth-child(3) {
  width: 88%;
}

.mock-glow-orb {
  position: absolute;
  width: 120%;
  height: 60%;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(
    ellipse,
    rgba(255, 106, 26, 0.2) 0%,
    rgba(255, 106, 26, 0.08) 42%,
    rgba(255, 106, 26, 0.02) 68%,
    transparent 88%
  );
  pointer-events: none;
  opacity: 0.82;
  transform-origin: 50% 80%;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.hero-silhouette {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 45%;
  max-width: 200px;
  height: 85%;
  background: radial-gradient(
      ellipse at 50% 100%,
      rgba(40, 20, 15, 0.5) 0%,
      rgba(32, 18, 14, 0.22) 42%,
      rgba(24, 14, 11, 0.08) 62%,
      transparent 82%
    ),
    linear-gradient(
      180deg,
      transparent 18%,
      rgba(20, 12, 10, 0.35) 62%,
      rgba(20, 12, 10, 0.85) 100%
    );
  mask-image: radial-gradient(
    ellipse 80% 90% at 50% 100%,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.2) 62%,
    transparent 82%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 90% at 50% 100%,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.2) 62%,
    transparent 82%
  );
  pointer-events: none;
  opacity: 0.9;
}

@media (max-width: 899px) {
  /* Текст и CTA сверху; превью снизу — без перекрытия (под будущие анимации) */
  .hero.hero--split {
    gap: clamp(18px, 1.75rem, 28px);
    align-items: stretch;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    order: 0;
    margin-top: clamp(12px, 1.5rem, 24px);
    max-height: none;
    overflow: hidden;
    padding: 0 4px 12px;
    box-sizing: border-box;
    perspective: none;
  }

  .hero-visual.hero-visual--character {
    overflow: visible;
  }

  .mock-tilt {
    max-height: 22rem;
    transform: none;
  }

  .mock-tilt--photo {
    max-height: min(25rem, 400px);
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    perspective: none;
  }

  .mock-tilt--photo.mock-tilt--character {
    height: min(35rem, 560px);
    max-height: min(40rem, 640px);
    min-height: min(26rem, 420px);
    padding: 0 !important;
    max-width: min(100%, 480px);
    margin-left: auto;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
  }

  .mock-tilt--photo .hero-shot {
    max-height: min(22.5rem, 360px);
  }

  .mock-tilt--character .hero-shot {
    height: auto !important;
    max-height: 100% !important;
    width: auto;
    max-width: min(100%, 110%);
    object-fit: contain;
    object-position: right center;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 32px var(--hero-mascot-glow));
    animation: hero-character-shot-soft 7s ease-in-out infinite;
    will-change: transform;
  }

  .mock-tilt--photo .mock-glow-orb {
    opacity: 0.45;
  }

  .mock-tilt--character .mock-glow-orb {
    opacity: 0.35;
  }

  .feature-grid {
    max-width: none;
  }

  .hero {
    overflow-x: hidden;
  }

  body.page-landing .hero.hero--split {
    overflow-x: visible;
    /* Колонка flex: сначала карточка, маскот всегда блоком снизу (как в потоке документа) */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(18px, 1.75rem, 28px);
    min-height: min-content;
  }

  body.page-landing .hero-copy {
    order: 1;
    width: 100%;
  }

  /* Лендинг, телефон: один стиль выравнивания слева + маскот по центру, не обрезается справа */
  body.page-landing .hero-copy .hero-kicker,
  body.page-landing .nexus-copy .hero-kicker {
    text-align: left;
  }

  body.page-landing .hero-plate__track {
    align-items: flex-start;
  }

  body.page-landing .hero-plate__line {
    justify-content: flex-start;
    text-align: left;
  }

  body.page-landing .hero-visual.hero-visual--character {
    order: 2;
    margin-top: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  body.page-landing .mock-tilt--photo.mock-tilt--character {
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-end;
    align-items: center;
    /* не тянем пустую высоту — иначе «тип» уезжает за экран / не виден под карточкой */
    min-height: 0;
    height: auto;
    max-height: min(30rem, 480px);
  }

  body.page-landing .mock-tilt--character .hero-shot {
    object-position: center bottom;
    max-width: 100%;
    max-height: min(26rem, 420px) !important;
    box-shadow: none !important;
    border: none !important;
    outline: none;
    background: transparent;
  }

  /* Лендинг, телефон: в обоих блоках сначала текст, снизу медиа (как в потоке чтения) */
  body.page-landing .hero.hero--split > .hero-copy {
    order: 1;
  }

  body.page-landing .hero.hero--split > .hero-visual {
    order: 2;
  }

  body.page-landing .nexus-split > .nexus-copy {
    order: 1;
  }

  body.page-landing .nexus-split > .nexus-video {
    order: 2;
  }

  /* Nexus: карточка над видео — тень уже, меньше заливки на ролик */
  body.page-landing .nexus-copy .hero-card {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.26),
      0 2px 12px rgba(0, 0, 0, 0.1),
      0 14px 40px rgba(0, 0, 0, 0.2),
      0 0 72px rgba(255, 106, 26, 0.035);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.btn-primary {
  background: var(--orange);
  color: #0a0604;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 106, 26, 0.08);
  border-color: var(--orange);
}

.panel {
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(28, 22, 18, 0.97) 0%,
    rgba(23, 19, 16, 0.965) 34%,
    rgba(17, 14, 12, 0.955) 70%,
    rgba(14, 11, 9, 0.95) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(14px, 2.2vw, 22px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 12px 36px rgba(0, 0, 0, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.18),
    0 48px 100px rgba(0, 0, 0, 0.12),
    0 0 120px rgba(255, 106, 26, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-transparency: reduce) {
  .panel:not(.legal-doc) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(22, 18, 14, 0.97);
  }
}

.panel::after {
  display: none;
}

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 2px;
  background: rgba(255, 106, 26, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.footer-bar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  background: var(--section-bg);
}

.footer-bar a {
  color: var(--orange);
  text-decoration: none;
}

.footer-bar a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--text);
}

/* ── Dynasty Creo — универсальная карточка-блок ── */
.dc-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  min-height: 276px;
  background: linear-gradient(145deg, #1a1410 0%, #120f0c 60%, #0e0b08 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-sizing: border-box;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

/* Верхний блик — как у premium-карточек */
.dc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255, 106, 26, 0.07) 0%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 0;
}

.dc-card > * {
  position: relative;
  z-index: 1;
}

.dc-card:hover {
  border-color: rgba(255, 106, 26, 0.3);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 106, 26, 0.06);
  transform: translateY(-3px);
}

/* Вариант с оранжевой полосой сверху */
.dc-card--accented {
  border-top: 2px solid var(--orange);
}

/* Вариант больше / полная ширина */
.dc-card--wide {
  max-width: 100%;
}

/* ── inner pages (login, legal, connected) —— */
.center-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 12px 0;
}

.card-narrow {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.card-narrow h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.card-narrow p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

#tg-login-widget {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  min-height: 44px;
}

.steps {
  text-align: left;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.legal-text {
  text-align: left;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  max-height: calc(100vh - 200px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.legal-text strong {
  color: var(--text);
}

/* —— юридические страницы (полноценная вёрстка) —— */
.shell--legal {
  max-width: 720px;
}

.legal-doc {
  flex: 1;
  padding: 8px 0 32px;
  min-height: 0;
}

.legal-doc-head {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 106, 26, 0.2);
  position: relative;
}

.legal-doc-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  background: var(--orange);
  opacity: 0.85;
}

.legal-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-dim);
  margin: 0 0 8px;
}

.legal-doc-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 400;
}

.legal-updated {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.legal-updated--spaced {
  margin-top: 6px;
}

.legal-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(244, 242, 239, 0.88);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  line-height: 1.3;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
  color: var(--muted);
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-nav-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.legal-nav-inline a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.legal-nav-inline a:hover {
  text-decoration: underline;
}

.legal-nav-inline span {
  color: var(--muted);
}

/* —— юридические страницы: спокойный контраст для чтения —— */
.page-legal-rich .page {
  background: var(--bg);
}

/* Scrollable legal pages (without page-legal-compact) */
.legal-page-bg {
  min-height: 100dvh;
  position: relative;
}

.legal-page-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100vw);
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 106, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.legal-shell-pad {
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
}

.page-legal-rich ::selection {
  background: rgba(255, 106, 26, 0.38);
  color: #fff;
}

.page-legal-rich .shell--legal {
  max-width: 760px;
}

.page-legal-rich .site-header {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-legal-rich .legal-doc.panel {
  position: relative;
  padding: clamp(22px, 3.2vw, 32px) clamp(20px, 2.8vw, 28px)
    clamp(28px, 3.5vw, 38px);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(28, 22, 18, 0.94) 0%,
    rgba(14, 11, 9, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(255, 106, 26, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}

.page-legal-rich .legal-doc.panel::after {
  display: none;
}

@media (prefers-reduced-transparency: reduce) {
  .page-legal-rich .legal-doc.panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(22, 18, 14, 0.97);
  }
}

.page-legal-rich .legal-doc-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.page-legal-rich .legal-doc-head::after {
  width: min(200px, 45%);
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: none;
  bottom: -2px;
  opacity: 0.85;
}

.page-legal-rich .legal-eyebrow {
  color: var(--orange);
}

.page-legal-rich .legal-doc-head h1 {
  text-shadow: none;
  color: var(--text);
}

.page-legal-rich .legal-body strong {
  color: #fff8f4;
  font-weight: 600;
}

.page-legal-rich .legal-section {
  padding: 18px 20px 20px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.page-legal-rich .legal-section:hover {
  border-color: var(--border-accent);
}

@media (prefers-reduced-motion: reduce) {
  .page-legal-rich .legal-section {
    transition: none;
  }

  .page-legal-rich .legal-section:hover {
    transform: none;
  }
}

.page-legal-rich .legal-section h2 {
  position: relative;
  border-left: none;
  padding-left: 18px;
  margin-bottom: 14px;
  color: var(--text);
}

.page-legal-rich .legal-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: none;
}

.page-legal-rich .legal-body a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--border-accent);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.page-legal-rich .legal-body a:hover {
  color: var(--orange-soft);
  border-bottom-color: rgba(255, 180, 120, 0.6);
}

.page-legal-rich .legal-code {
  display: inline-block;
  padding: 4px 11px;
  margin: 0 2px;
  border-radius: 6px;
  font-size: 0.84em;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  color: #ffe8dc;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  box-shadow: none;
  vertical-align: baseline;
}

.page-legal-rich .legal-section ul {
  list-style: none;
  padding-left: 0;
}

.page-legal-rich .legal-section ul li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 10px;
}

.page-legal-rich .legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: none;
}

.page-legal-rich .legal-nav-inline {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 106, 26, 0.12);
  gap: 14px 16px;
}

.page-legal-rich .legal-nav-inline a {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 600;
  color: var(--text);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.page-legal-rich .legal-nav-inline a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--border-accent);
  background: rgba(255, 106, 26, 0.1);
}

.page-legal-rich .legal-nav-inline span {
  opacity: 0.45;
}

.page-legal-rich .nav-center a {
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-legal-rich .footer-bar {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 106, 26, 0.1);
}

.page-legal-rich .footer-bar a {
  transition: color 0.2s ease;
}

/* —— страница «Наши Услуги» / company (допускается прокрутка) —— */
body.page-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
}

body.page-scroll .page {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

body.page-scroll .shell {
  min-height: min-content;
}

.shell--wide {
  max-width: 1040px;
}

.func-main {
  flex: 1;
  padding: 8px 0 24px;
}

.func-intro {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 18px;
}

.func-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  color: var(--orange);
  line-height: 1.05;
}

.func-intro > p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.func-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 14px;
}

.func-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 18px 14px;
  background: var(--surface);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 20px 44px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.func-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  opacity: 0.75;
}

.func-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  color: var(--text);
}

.func-card .stub-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.func-ph {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.func-ph span {
  display: block;
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.055);
}

.func-ph span:nth-child(1) {
  width: 100%;
}

.func-ph span:nth-child(2) {
  width: 88%;
}

.func-ph span:nth-child(3) {
  width: 72%;
}

.func-card .func-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-dim);
}

/* —— страница услуг с готовым текстом (4 пункта) —— */
.func-intro--wide {
  max-width: min(100%, 40rem);
}

.func-grid--four {
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .func-grid--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.func-card--point {
  display: flex;
  align-items: center;
  min-height: 0;
}

.func-card--point h2 {
  margin-bottom: 0;
  line-height: 1.28;
  letter-spacing: 0.07em;
}

/* —— company: карточки + центральный слот под картинку —— */
.page-func-rich.page-func-native.page-services-page .func-intro > p.services-intro-lead {
  max-width: 44ch;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(210, 216, 228, 0.92);
}

.services-audience {
  margin: 0 auto 12px;
  max-width: min(100%, 79.38rem);
  padding: 0 clamp(2px, 0.6rem, 10px);
  overflow: visible;
}

.services-audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  overflow: visible;
}

@media (min-width: 960px) {
  .services-audience-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 17.5rem) minmax(0, 1fr);
    gap: 0;
    align-items: start;
    isolation: isolate;
  }

  .services-audience-grid > article:first-of-type {
    margin-right: clamp(-56px, -3.5rem, -28px);
  }

  .services-audience-grid > article.func-card--audience-buyers {
    margin-left: clamp(-56px, -3.5rem, -28px);
  }
}

.services-audience-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  position: relative;
  z-index: 4;
  overflow: visible;
}

@media (min-width: 960px) {
  .services-audience-slot {
    position: sticky;
    top: calc(var(--header-sticky-offset, 0px) + 12px);
    align-self: center;
  }
}

.services-audience-figure {
  margin: 0;
  width: 100%;
  max-width: min(260px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 106, 26, 0.04) 0%, transparent 45%),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Квадратный исходник в центральной колонке; размер уменьшен, чтобы не наезжать на CTA снизу */
.services-audience-figure:has(.services-audience-video) {
  aspect-ratio: 1 / 2;
  width: 100%;
  max-width: min(280px, 100%);
  max-height: min(52vh, 480px);
  padding: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  transform: translateY(-8%);
  transform-origin: center center;
}

@media (min-width: 960px) {
  .services-audience-figure:has(.services-audience-video) {
    max-width: min(300px, 19rem);
    max-height: min(48vh, 440px);
    transform: translateY(-6%) scale(1);
    transform-origin: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-audience-figure:has(.services-audience-video) {
    transform: translateY(-6%);
  }
}

.services-audience-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  background: transparent;
  filter:
    drop-shadow(0 0 1px rgba(255, 130, 60, 0.35))
    drop-shadow(0 10px 32px rgba(0, 0, 0, 0.55));
}

@media (max-width: 959px) {
  .services-audience-figure:has(.services-audience-video) {
    max-width: min(280px, 100%);
    max-height: min(70vh, 520px);
  }
}

/* Наши Услуги: появление секции при загрузке */
@keyframes services-card-from-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes services-card-from-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Одновременный старт; длительность карточек и фигуры на ~30% дольше прежних 0.75s / 0.65s */
.page-services-page .services-audience-grid > article.func-card--audience:not(.func-card--audience-buyers) {
  animation: services-card-from-left 0.975s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

.page-services-page .services-audience-grid > article.func-card--audience-buyers {
  animation: services-card-from-right 0.975s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

/* Видео в центре: без fade и без покачивания — только ролик в тех же габаритах */
.page-services-page .services-audience-slot .services-audience-figure:has(.services-audience-video) {
  opacity: 1;
}

.page-services-page .services-audience-slot .services-audience-figure:has(.services-audience-video) .services-audience-video {
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-services-page .services-audience-grid > article.func-card--audience {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.func-card--audience {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-height: 100%;
  padding: clamp(20px, 1.5rem, 26px) clamp(18px, 1.25rem, 22px) clamp(16px, 1.25rem, 20px);
}

/* Как .hero-card на главной: спокойный монотонный градиент, без полоски ::before */
.page-services-page .func-card--audience {
  min-height: 0;
  isolation: isolate;
  padding: clamp(18px, 1.85rem, 28px) clamp(18px, 1.35rem, 24px) clamp(16px, 1.25rem, 22px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    165deg,
    rgba(28, 22, 18, 0.97) 0%,
    rgba(23, 19, 16, 0.965) 34%,
    rgba(17, 14, 12, 0.955) 70%,
    rgba(14, 11, 9, 0.95) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 12px 36px rgba(0, 0, 0, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.18),
    0 48px 100px rgba(0, 0, 0, 0.12),
    0 0 120px rgba(255, 106, 26, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: border-color 0.2s ease;
}

.page-services-page .func-card--audience:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-transparency: reduce) {
  .page-services-page .func-card--audience {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(22, 18, 14, 0.97);
  }
}

@media (min-width: 960px) {
  .page-services-page .func-card--audience:not(.func-card--audience-buyers) {
    padding-right: clamp(16px, 1.35rem, 24px);
  }

  .page-services-page .func-card--audience-buyers {
    padding-left: clamp(16px, 1.35rem, 24px);
  }
}

.func-card--audience::before {
  display: none;
}

.audience-eyebrow {
  margin: 0 0 10px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-dim);
}

.page-services-page .audience-eyebrow {
  margin-bottom: 8px;
}

/* Специфичность выше, чем у .func-card h2 — иначе остаётся display-шрифт + letter-spacing 0.1em */
.func-card.func-card--audience h2.audience-card-title {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.32rem, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
  color: rgba(238, 241, 246, 0.98);
  line-height: 1.35;
  text-shadow: none;
  filter: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.page-services-page .func-card--audience h2.audience-card-title {
  margin-bottom: 10px;
}

.func-card.func-card--audience.func-card--audience-buyers h2.audience-card-title {
  border-left-color: rgba(74, 222, 128, 0.85);
}

/* company: без второй полоски от .page-func-rich .func-card h2::before */
.page-func-rich .func-card--audience h2.audience-card-title::before {
  display: none;
}

.page-func-rich .func-card--audience h2.audience-card-title {
  margin-left: 0;
  padding-left: 14px;
}

.audience-lead {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: rgba(200, 206, 218, 0.95);
  line-height: 1.62;
}

.page-services-page .audience-lead {
  margin-bottom: 12px;
  line-height: 1.55;
}

.audience-lead strong {
  color: var(--text);
  font-weight: 700;
}

.audience-lead--highlight {
  color: rgba(218, 224, 235, 0.96);
}

.audience-badge {
  display: inline-block;
  margin: 0 0.06em;
  padding: 0.12em 0.5em 0.1em;
  border-radius: 7px;
  font-size: 0.92em;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.audience-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 18px;
}

.page-services-page .audience-points {
  gap: 10px;
  margin-bottom: 12px;
}

.audience-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px 14px;
  align-items: start;
}

.page-services-page .audience-point {
  gap: 8px 12px;
}

.audience-point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 106, 26, 0.1);
  color: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.audience-point-icon svg {
  width: 22px;
  height: 22px;
}

.audience-point-icon--mint {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.audience-point-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: rgba(232, 236, 244, 0.94);
}

.page-services-page .audience-point-text {
  line-height: 1.5;
  font-size: 0.86rem;
}

.audience-point-text strong {
  color: #f1f4f8;
  font-weight: 600;
}

.audience-footnote {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(175, 184, 198, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-services-page .audience-footnote {
  margin-top: 0;
  padding-top: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.audience-tg {
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.audience-tg:hover {
  text-decoration: underline;
}

/* Зелёная CTA «Связь» на странице услуг */
.page-services-page .btn-contact-us {
  color: #041208;
  background: linear-gradient(165deg, #4ade80 0%, #16a34a 100%);
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(34, 197, 94, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.28);
}

.page-services-page .btn-contact-us:hover {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 0 28px rgba(34, 197, 94, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.3);
}

/* CTA под секцией: без сильного отрицательного margin — иначе наезжает на центральную иллюстрацию */
.page-services-page .func-contact-bar {
  position: relative;
  z-index: 8;
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-top: 0;
  padding-bottom: 12px;
}

/* —— страница услуг — тот же фон, без сетки —— */
.page-func-rich .page {
  background: var(--bg);
}

/* Наши Услуги: как на главной — липкий «полосатый» хедер, те же блики фона, ширина 1280 */
body.page-services-page.page-func-rich .site-header {
  padding-top: max(env(safe-area-inset-top, 0px), clamp(8px, 1rem, 14px));
  padding-bottom: clamp(8px, 1rem, 14px);
  padding-left: max(env(safe-area-inset-left, 0px), clamp(16px, 4vw, 32px));
  padding-right: max(env(safe-area-inset-right, 0px), clamp(16px, 4vw, 32px));
  margin: 0 0 clamp(4px, 0.65rem, 12px);
  background: rgba(12, 10, 8, 0.92);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0 0 clamp(14px, 1.35rem, 22px) clamp(14px, 1.35rem, 22px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  overflow: hidden;
}

html.header-at-top body.page-services-page.page-func-rich .site-header {
  border-radius: clamp(14px, 1.35rem, 22px);
}

@media (prefers-reduced-transparency: reduce) {
  body.page-services-page.page-func-rich .site-header {
    background: rgba(22, 18, 14, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

body.page-services-page .page {
  overflow: visible;
  background: var(--section-bg);
}

body.page-services-page .shell {
  max-width: 100%;
  overflow: visible;
}

body.page-services-page {
  overflow-x: visible;
}

/* Заголовок страницы — как «Наши работы»: eyebrow серый caps, крупный display */
body.page-services-page.page-func-rich.page-func-native .func-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem;
}

body.page-services-page.page-func-rich.page-func-native .func-eyebrow .func-accent {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

body.page-services-page.page-func-rich.page-func-native .func-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 400;
}

body.page-services-page.page-func-rich.page-func-native .func-intro.func-intro--wide {
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.page-func-rich ::selection {
  background: rgba(255, 106, 26, 0.38);
  color: #fff;
}

/* «Карточный» хедер для func-rich без страницы услуг; на company — только body.page-services-page… выше */
body.page-func-rich:not(.page-services-page) .site-header {
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 8px 22px rgba(0, 0, 0, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-func-rich .nav-center a {
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-func-rich .func-main {
  padding: 12px 0 36px;
}

/* —— CTA «Связь с нами» (акцент сайта, тот же Telegram deep link) —— */
.func-contact-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px 0 20px;
  flex-shrink: 0;
}

.btn-contact-us {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #140801;
  background: linear-gradient(
    165deg,
    #ff9a5c 0%,
    #ff7a28 48%,
    var(--orange) 100%
  );
  border: 3px solid var(--orange-soft);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.16),
    0 0 36px rgba(255, 106, 26, 0.32),
    0 0 72px rgba(255, 106, 26, 0.12);
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn-contact-us-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.btn-contact-us-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-contact-us:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.16),
    0 0 44px rgba(255, 106, 26, 0.38),
    0 0 88px rgba(255, 106, 26, 0.14);
}

.btn-contact-us:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn-contact-us:hover,
  .btn-contact-us:active {
    transform: none;
  }
}

.page-func-rich .func-intro {
  text-align: center;
  max-width: 58ch;
  margin: 0 auto 26px;
  padding: clamp(22px, 3.2vw, 32px) clamp(20px, 2.8vw, 28px);
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
}

.page-func-rich .func-intro::after {
  display: none;
}

.page-func-rich.page-func-native .func-intro {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 6px 0 18px;
  overflow: visible;
}

.page-func-rich .func-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}

.page-func-rich .func-intro h1 {
  position: relative;
  z-index: 1;
  text-shadow: none;
  color: var(--text);
}

.page-func-rich .func-intro > p {
  position: relative;
  z-index: 1;
  color: rgba(218, 225, 235, 0.95);
  line-height: 1.6;
}

.page-func-rich .func-grid {
  gap: 18px;
}

.page-func-rich .func-card {
  border-radius: 12px;
  padding: 22px 22px 18px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-func-rich .func-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .page-func-rich .func-card {
    transition: border-color 0.2s ease;
  }

  .page-func-rich .func-card:hover {
    transform: none;
  }
}

.page-func-rich .func-card::before {
  height: 3px;
  opacity: 0.85;
  border-radius: 0;
  box-shadow: none;
}

.page-func-rich .func-card.func-card--audience::before {
  display: none;
}

.page-func-rich .func-card::after {
  display: none;
}

.page-func-rich .func-card h2 {
  position: relative;
  padding-left: 16px;
  margin-left: -4px;
  color: var(--text);
}

.page-func-rich .func-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08em;
  bottom: 0.08em;
  width: 4px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: none;
}

.page-func-rich.page-func-native .func-intro--wide {
  max-width: min(100%, 720px);
}

.page-func-rich.page-func-native .func-eyebrow {
  color: var(--orange);
}

.page-func-rich.page-func-native .func-eyebrow .func-accent {
  color: var(--orange-soft);
}

.page-func-rich.page-func-native .func-intro h1 {
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  letter-spacing: 0.055em;
  line-height: 1.18;
  color: #fff;
  font-weight: 400;
}

.page-func-rich.page-func-native .func-intro h1 .func-accent {
  color: var(--orange);
  font-weight: 600;
}

.page-func-rich.page-func-native .func-intro h1 .func-title-colon {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.page-func-rich.page-func-native .func-intro h1 .func-title-warm {
  color: #fff;
  font-weight: 400;
}

.page-func-rich.page-func-native .func-intro h1 .func-accent-soft {
  color: #fff;
  font-weight: 400;
}

.page-func-rich.page-func-native .func-intro > p {
  color: #fff;
}

.page-func-rich.page-func-native .func-intro > p .func-accent {
  color: var(--orange);
  font-weight: 700;
}

.page-func-rich.page-func-native .func-intro a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-func-rich.page-func-native .func-intro a:hover {
  color: var(--orange-soft);
}

.page-func-rich.page-func-native .func-accent {
  color: var(--orange-soft);
  font-weight: 700;
}

.page-func-rich.page-func-native .func-tiles-panel {
  position: relative;
  isolation: isolate;
  max-width: min(960px, 100%);
  margin: 8px auto 28px;
  padding: 20px 22px 24px;
  border-radius: 18px;
  border: none;
  background: rgba(18, 22, 34, 0.52);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.045),
    0 2px 10px rgba(0, 0, 0, 0.14),
    0 12px 36px rgba(0, 0, 0, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.18),
    0 0 80px rgba(255, 106, 26, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.page-func-rich.page-func-native .func-tiles-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 106, 26, 0.15) 18%,
    var(--orange) 42%,
    var(--orange) 58%,
    rgba(255, 106, 26, 0.15) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(255, 106, 26, 0.35),
    0 0 40px rgba(255, 106, 26, 0.12);
  filter: blur(0.35px);
  pointer-events: none;
  z-index: 0;
}

.page-func-rich.page-func-native .func-tiles-panel > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-transparency: reduce) {
  .page-func-rich.page-func-native .func-tiles-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .page-func-rich.page-func-native .func-tiles-panel::before {
    display: none;
  }

  .page-func-rich.page-func-native .func-tiles-panel > * {
    position: static;
    z-index: auto;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .page-func-rich.page-func-native .func-tiles-panel {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    box-shadow:
      0 0 0 1px rgba(255, 106, 26, 0.12),
      0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .page-func-rich.page-func-native .func-tiles-panel::before {
    display: none;
  }

  .page-func-rich.page-func-native .func-tiles-panel > * {
    position: static;
    z-index: auto;
  }
}

.page-func-rich.page-func-native .func-tiles-panel-eyebrow {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.page-func-rich.page-func-native .func-tiles-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
}

.page-func-rich.page-func-native .func-tiles-tagline-bracket {
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 400;
  color: var(--orange);
  opacity: 0.5;
  line-height: 1;
  letter-spacing: -0.18em;
  user-select: none;
}

.page-func-rich.page-func-native .func-tiles-tagline-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
  text-shadow: 0 0 22px rgba(255, 106, 26, 0.28);
}

.page-func-rich.page-func-native .func-tiles-panel .func-grid--panel-tiles {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  background: rgba(255, 106, 26, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 106, 26, 0.14),
    0 0 32px rgba(255, 106, 26, 0.08),
    inset 0 0 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
  .page-func-rich.page-func-native .func-tiles-panel .func-grid--panel-tiles {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
}

.page-func-rich.page-func-native .func-tiles-panel .func-card {
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 0;
}

.page-func-rich.page-func-native .func-tiles-panel .func-card:hover {
  transform: none;
  border-color: transparent;
  background: rgba(255, 106, 26, 0.06);
}

.page-func-rich.page-func-native .func-tiles-panel .func-card::before {
  display: none;
}

.page-func-rich.page-func-native .func-tiles-panel .func-point-emoji {
  position: relative;
  flex-shrink: 0;
  width: clamp(3.1rem, 7vw, 3.85rem);
  height: clamp(3.1rem, 7vw, 3.85rem);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Мягкая «своя» подсветка сзади — сглаживает края PNG */
.page-func-rich.page-func-native .func-tiles-panel .func-point-emoji::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 78% 78% at 50% 48%,
    rgba(255, 160, 110, 0.32) 0%,
    rgba(255, 106, 26, 0.12) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.page-func-rich.page-func-native .func-tiles-panel .func-point-emoji img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: brightness(1.1) contrast(1.05)
    drop-shadow(0 0 1px rgba(230, 248, 246, 0.45))
    drop-shadow(0 0 10px rgba(255, 106, 26, 0.35))
    drop-shadow(0 0 22px rgba(255, 106, 26, 0.2))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

.page-func-rich.page-func-native .func-tiles-panel .func-card--point {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 100px;
  padding: 12px 12px;
  border-radius: 0;
  box-sizing: border-box;
  text-align: left;
  border: none;
  background: rgba(12, 10, 8, 0.92);
}

.page-func-rich.page-func-native .func-tiles-panel .func-card--point h2 {
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.1vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.35;
  color: #fff;
  text-align: left;
}

.page-func-rich.page-func-native .func-tiles-panel .func-card--point h2::before {
  display: none;
}

.page-func-rich.page-func-native .func-offer-block {
  max-width: min(960px, 100%);
  margin: 0 auto 18px;
  padding: 20px 22px 22px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 106, 26, 0.14) 0%, rgba(28, 22, 18, 0.92) 55%);
  border: 1px solid rgba(255, 106, 26, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 12px 36px rgba(0, 0, 0, 0.28);
}

.page-func-rich.page-func-native .func-offer-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.page-func-rich.page-func-native .func-offer-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 238, 0.96);
  filter: blur(0.45px);
  text-shadow: 0 0 20px rgba(255, 106, 26, 0.14);
}

.page-func-rich.page-func-native .func-offer-text .func-accent {
  color: var(--orange-soft);
  text-shadow: 0 0 14px rgba(255, 106, 26, 0.22);
}

.page-func-rich .func-card .stub-text {
  color: rgba(175, 168, 160, 0.92);
}

.page-func-rich .func-ph span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.page-func-rich .func-card .func-label {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.12);
  border: 1px solid var(--border);
  color: var(--orange-dim);
  box-shadow: none;
}

.page-func-rich .footer-bar {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 106, 26, 0.1);
}

.page-func-rich .footer-bar a {
  transition: color 0.2s ease;
}

/* —— юр. страницы: компактно в один экран + мобилка (скролл внутри карточки) —— */
body.page-legal-compact.page-scroll {
  overflow: hidden;
  height: 100dvh;
  max-height: 100dvh;
}

body.page-legal-compact .page {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: max(6px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px))
    max(6px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
}

body.page-legal-compact .shell--legal {
  max-width: 100%;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.page-legal-compact .site-header {
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 14px;
  flex-shrink: 0;
  gap: 8px;
}

body.page-legal-compact .logo-mark {
  font-size: clamp(0.78rem, 3.2vw, 1.12rem);
  letter-spacing: 0.05em;
}

body.page-legal-compact .nav-center {
  gap: 4px 10px;
}

body.page-legal-compact .nav-center a {
  font-size: clamp(0.58rem, 2.8vw, 0.68rem);
  padding: 5px 2px;
}

body.page-legal-compact .btn-tg {
  padding: 7px 12px;
  font-size: 0.6rem;
  gap: 6px;
}

body.page-legal-compact .btn-tg svg {
  width: 15px;
  height: 15px;
}

body.page-legal-compact .legal-doc.panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 8px;
  border-radius: 16px;
  margin: 0;
  animation: none;
  background: linear-gradient(
    165deg,
    rgba(28, 22, 18, 0.96) 0%,
    rgba(14, 11, 9, 0.94) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.38),
    0 0 48px rgba(255, 106, 26, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-legal-compact .legal-doc-head {
  flex-shrink: 0;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

body.page-legal-compact .legal-doc-head::after {
  height: 2px;
  width: min(140px, 40%);
}

body.page-legal-compact .legal-eyebrow {
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

body.page-legal-compact .legal-doc-head h1 {
  font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

body.page-legal-compact .legal-updated {
  font-size: clamp(0.62rem, 2.8vw, 0.72rem);
  line-height: 1.35;
}

body.page-legal-compact .legal-updated--spaced {
  margin-top: 3px;
}

body.page-legal-compact .legal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  font-size: clamp(0.7rem, 3.2vw, 0.8rem);
  line-height: 1.42;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

body.page-legal-compact .legal-body::-webkit-scrollbar {
  width: 5px;
}

body.page-legal-compact .legal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 106, 26, 0.35);
  border-radius: 4px;
}

body.page-legal-compact .legal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

body.page-legal-compact .legal-section {
  padding: 8px 10px 10px;
  margin-bottom: 6px;
  border-radius: 11px;
}

body.page-legal-compact .legal-section:last-of-type {
  margin-bottom: 4px;
}

body.page-legal-compact .legal-section:hover {
  transform: none;
}

body.page-legal-compact .legal-section h2 {
  font-size: clamp(0.58rem, 2.6vw, 0.66rem);
  margin-bottom: 6px;
  padding-left: 11px;
}

body.page-legal-compact .legal-section h2::before {
  width: 3px;
  border-radius: 4px;
  top: 0.1em;
  bottom: 0.1em;
}

body.page-legal-compact .legal-section p {
  margin-bottom: 6px;
}

body.page-legal-compact .legal-section ul li {
  margin-bottom: 4px;
  padding-left: 1.15em;
  font-size: 0.95em;
}

body.page-legal-compact .legal-section ul li::before {
  width: 5px;
  height: 5px;
  top: 0.5em;
}

body.page-legal-compact .legal-code {
  padding: 2px 7px;
  font-size: 0.8em;
  border-radius: 6px;
}

body.page-legal-compact .legal-nav-inline {
  margin-top: 8px;
  padding-top: 8px;
  gap: 8px 10px;
}

body.page-legal-compact .legal-nav-inline a {
  padding: 6px 12px;
  font-size: clamp(0.62rem, 2.8vw, 0.72rem);
}

body.page-legal-compact .legal-nav-inline a:hover {
  transform: none;
}

body.page-legal-compact .footer-bar {
  flex-shrink: 0;
  padding-top: 6px;
  margin-top: 2px;
  font-size: clamp(0.52rem, 2.4vw, 0.62rem);
}

@media (max-width: 520px) {
  body.page-legal-compact .site-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  body.page-legal-compact .logo-block {
    grid-column: 1;
    grid-row: 1;
  }

  body.page-legal-compact .header-actions {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  body.page-legal-compact .nav-center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 380px) {
  body.page-legal-compact .page {
    padding-left: 6px;
    padding-right: 6px;
  }

  body.page-legal-compact .legal-doc.panel {
    padding: 8px 9px 6px;
  }
}

.marquee-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--section-bg);
  padding: 0.75rem 0;
}

.marquee-strip__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee-strip:hover .marquee-strip__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-strip__item {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 1.5rem;
  transition: color 0.2s;
}

.marquee-strip:hover .marquee-strip__item {
  color: rgba(255, 255, 255, 0.6);
}

.marquee-strip__dot {
  color: var(--color-accent, #ff6b00);
  opacity: 0.5;
  font-size: 0.7rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-strip__track {
    animation: none;
  }
}

.intro-screen::after,
.pain-section::after,
.team-section::after,
.faq-section::after,
.final-cta::after,
.nexus-about::after,
.nexus-deps::after,
.nexus-game::after,
.steps-section::after {
  display: none;
}

/* Контент секций поверх фона */
.intro-screen__content,
.intro-screen__scroll,
.pain-inner,
.pricing-inner,
.works-inner,
.team-inner,
.team-split,
.faq-inner,
.final-cta__inner,
.nexus-about__inner,
.nexus-deps__inner,
.nexus-game__inner,
.steps-inner {
  position: relative;
  z-index: 1;
}

/* Убедиться что marquee-strip тоже выше */
.marquee-strip {
  position: relative;
  z-index: 1;
}

/* Секции — единые боковые отступы (после всех базовых padding секций) */
.intro-screen,
.pain-section,
.stats-section,
.pricing-section,
.works-section,
.perks-section,
.team-section,
.faq-section,
.final-cta,
.nexus-about,
.nexus-deps,
.nexus-game,
.steps-section {
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .intro-screen,
  .pain-section,
  .stats-section,
  .pricing-section,
  .works-section,
  .perks-section,
  .team-section,
  .faq-section,
  .final-cta,
  .nexus-about,
  .nexus-deps,
  .nexus-game,
  .steps-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ============================================
   MOBILE OPTIMIZATION — max-width: 768px
   ============================================ */

@media (max-width: 768px) {

  /* ── БАЗОВЫЕ ── */
  html, body, .page, .shell {
    max-width: 100%;
    width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
  }

  /* ── HEADER ── */
  .site-header {
    padding: 0.875rem 1.25rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    background: #0c0a08 !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .nav-center { display: none; }

  .logo-mark {
    font-size: 1rem;
  }

  /* ── INTRO SCREEN ── */
  .intro-screen {
    padding: 4.5rem 1.25rem 2.5rem;
    min-height: auto;
    text-align: center;
  }

  .intro-screen__content {
    max-width: 100%;
    padding: 0;
  }

  .intro-screen__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .intro-screen__title {
    font-size: clamp(3rem, 13vw, 4.5rem);
    line-height: 0.97;
    margin-bottom: 1.25rem;
  }

  .intro-screen__sub {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
  }

  .intro-screen__sub br { display: none; }

  .intro-screen__cta {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 0.95rem;
    border-radius: 100px;
  }

  /* ── MARQUEE ── */
  .marquee-strip__item {
    padding: 0 0.875rem;
    font-size: 0.7rem;
  }

  /* ── СЕКЦИИ — padding ── */
  .pain-section,
  .stats-section,
  .pricing-section,
  .works-section,
  .perks-section,
  .team-section,
  .faq-section,
  .final-cta,
  .nexus-about,
  .nexus-deps,
  .nexus-game,
  .steps-section {
    padding: 3.5rem 1.25rem;
  }

  /* ── КОНТЕЙНЕРЫ — без ограничений ── */
  .pain-inner,
  .stats-inner,
  .pricing-inner,
  .works-inner,
  .perks-inner,
  .team-inner,
  .faq-inner,
  .nexus-about__inner,
  .nexus-deps__inner,
  .nexus-game__inner,
  .steps-inner {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* ── ЗАГОЛОВКИ СЕКЦИЙ ── */
  .pain-title,
  .stats-title,
  .pricing-title,
  .works-title,
  .perks-title,
  .faq-title,
  .team-title,
  .steps-title,
  .nexus-about__title,
  .nexus-deps__title,
  .nexus-game__title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  /* ── БОЛИ — табы ── */
  .pain-tabs {
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
  }

  .pain-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    text-align: center;
  }

  /* ── ГРИД → 1 КОЛОНКА ── */
  .pain-grid,
  .nexus-info-grid,
  .perks-grid,
  .team-grid,
  .nexus-deps__grid,
  .nexus-game__grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* ── СТАТИСТИКА — 2 колонки ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .stats-card {
    border-radius: 18px;
    padding: 1.25rem 1.1rem 1.1rem;
  }

  .stats-card__number {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 0.6rem;
  }

  /* ── ПАКЕТЫ — 1 колонка ── */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-card {
    border-radius: 20px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured.is-visible {
    transform: none;
  }
  .pricing-card--featured.is-visible:hover {
    transform: translateY(-3px);
  }

  .pricing-card__cta {
    min-height: 52px;
    border-radius: 100px;
    font-size: 0.85rem;
  }

  /* ── СЛАЙДЕР РАБОТ — Apple-стиль ── */
  .works-section {
    padding-left: 0;
    padding-right: 0;
  }

  .works-header {
    padding: 0 1.25rem;
    margin-bottom: 1.5rem;
  }

  .works-slider {
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .works-card {
    flex: 0 0 80vw;
    border-radius: 16px;
  }

  .works-card__preview {
    height: 180px;
  }

  .works-controls {
    padding: 0 1.25rem;
    justify-content: flex-start;
    margin-top: 1.25rem;
  }

  /* ── FAQ ── */
  .faq-inner {
    max-width: 100%;
  }

  .faq-item {
    border-radius: 12px;
  }

  .faq-item__q {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .faq-item--open .faq-item__a {
    padding: 0 1.25rem 1.1rem;
  }

  /* ── КОМАНДА ── */
  .team-card {
    border-radius: 16px;
  }

  /* ── DESIGNERS PREVIEW ── */
  .designers-preview {
    flex-direction: column;
    gap: 1.75rem;
  }

  .designers-preview__title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .designers-preview__btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 100px;
  }

  .designers-preview__badge {
    width: 130px;
    height: 130px;
    align-self: center;
  }

  /* ── NEXUS ABOUT ── */
  .nexus-about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nexus-about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .nexus-about__stat {
    padding: 1rem;
    border-radius: 12px;
  }

  .nexus-about__stat-val {
    font-size: 2rem;
  }

  /* ── FINAL CTA ── */
  .final-cta {
    padding: 4rem 1.25rem;
    text-align: center;
  }

  .final-cta__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    line-height: 1.05;
  }

  .final-cta__title br { display: none; }

  .final-cta__sub {
    font-size: 1rem;
  }

  .final-cta__btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 100px;
    font-size: 0.95rem;
  }

  /* ── ФУТЕР ── */
  .footer-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem 1.25rem;
    font-size: 0.8rem;
  }

  /* ── УБРАТЬ ВСЕ БОКОВЫЕ ОТСТУПЫ И СКРУГЛЕНИЯ ── */

  /* Страница и обёртки */
  .page, .shell, body, html {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Все секции — вплотную к краям */
  .intro-screen,
  .pain-section,
  .stats-section,
  .pricing-section,
  .works-section,
  .perks-section,
  .team-section,
  .faq-section,
  .final-cta,
  .nexus-about,
  .nexus-deps,
  .nexus-game,
  .steps-section,
  .marquee-strip {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
  }

  /* Внутренние контейнеры */
  .pain-inner,
  .stats-inner,
  .pricing-inner,
  .works-inner,
  .perks-inner,
  .team-inner,
  .faq-inner,
  .nexus-about__inner,
  .nexus-deps__inner,
  .nexus-game__inner,
  .steps-inner,
  .intro-screen__content,
  .final-cta__inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Заголовки секций — добавить отступ для читаемости */
  .pain-header,
  .stats-header,
  .pricing-header,
  .works-header,
  .perks-header,
  .team-header,
  .faq-header,
  .nexus-deps__header,
  .nexus-game__inner,
  .steps-header {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .intro-screen__content {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .final-cta__inner {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Убрать анимацию появления у perks-карточек на мобиле */
  .perks-card {
    opacity: 1 !important;
    transform: none !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
  }

  /* ── КАРТОЧКИ — без скруглений, на всю ширину ── */
  .pain-card,
  .perks-card,
  .team-card,
  .faq-item,
  .nexus-dep-card,
  .nexus-game__item,
  .step-card,
  .nexus-info-card,
  .works-card__body {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  /* ── ГРИДЫ — без gap между карточками ── */
  .pain-grid,
  .perks-grid,
  .team-grid,
  .nexus-deps__grid,
  .nexus-game__grid,
  .steps-grid,
  .nexus-info-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Разделитель между карточками */
  .pain-card,
  .pricing-card,
  .perks-card,
  .team-card,
  .nexus-dep-card,
  .nexus-game__item,
  .step-card,
  .nexus-info-card {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  /* ── FAQ — без скруглений ── */
  .faq-list {
    gap: 0 !important;
  }

  .faq-item {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    margin-bottom: 0 !important;
  }

  /* ── ПАКЕТЫ — убрать featured подъём ── */
  .pricing-card--featured,
  .pricing-card--featured.is-visible {
    transform: none !important;
    border-radius: 0 !important;
  }

  /* ── СЛАЙДЕР — карточки с закруглением остаются
     но уходят в края ── */
  .works-slider {
    padding-left: 1.25rem !important;
    gap: 1rem !important;
  }

  .works-card {
    flex: 0 0 85vw !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
  }

  .works-controls {
    padding-left: 1.25rem !important;
  }

  /* ── HEADER ── */
  .site-header {
    border-radius: 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* ── FOOTER ── */
  .footer-bar {
    border-radius: 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* ── HERO МОБИЛЬ ── */
  body.page-landing .hero-copy .hero-brand-mega {
    display: none;
  }

  body.page-landing .hero-copy {
    text-align: center;
    align-items: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  body.page-landing .hero-headline {
    align-items: center;
    text-align: center;
  }

  body.page-landing .hero-kicker__line {
    text-align: center;
  }

  body.page-landing .hero-plate__track {
    align-items: center;
  }

  body.page-landing .hero-plate__line {
    justify-content: center;
    text-align: center;
  }

  body.page-landing .hero-copy .hero-lead {
    text-align: center;
  }

  body.page-landing .hero-copy .btn-cta-rocket {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-landing .hero-copy .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 100%;
  }

  body.page-landing .hero-copy .feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    column-gap: 8px;
    font-size: 0.75rem;
    transition: background 0.2s, border-color 0.2s;
  }

  body.page-landing .hero-copy .feature-item:hover,
  body.page-landing .hero-copy .feature-item:active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 106, 26, 0.2);
  }

  /* ── TEAM COPY — фикс текста ── */
  body.page-landing .team-copy .hero-card {
    align-items: stretch;
    text-align: left;
  }

  body.page-landing .team-copy .team-feature-grid {
    max-width: 100%;
    text-align: left;
  }

  /* ── NEXUS МОБИЛЬ — центрирование текста ── */
  body.page-landing .nexus-copy .hero-kicker,
  body.page-landing .nexus-copy .hero-lead,
  body.page-landing .nexus-copy .nexus-kicker-accent {
    text-align: center;
  }

  body.page-landing .nexus-copy .feature-grid {
    justify-items: start;
    margin-left: auto;
    margin-right: auto;
  }

  /* Видео — без скруглений на мобиле */
  .nexus-video,
  .nexus-video__media,
  .services-audience-figure,
  .services-audience-video,
  .services-audience-figure:has(.services-audience-video) {
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .services-audience-slot {
    border-radius: 0 !important;
    overflow: hidden !important;
  }

}

/* ── EXTRA SMALL 390px ── */
@media (max-width: 390px) {

  .intro-screen__title {
    font-size: clamp(2.5rem, 15vw, 3.5rem);
  }

  .works-card {
    flex: 0 0 88vw;
  }

  .nexus-about__stats {
    grid-template-columns: 1fr;
  }

  .pain-section,
  .stats-section,
  .pricing-section,
  .perks-section,
  .team-section,
  .faq-section,
  .final-cta,
  .nexus-about,
  .nexus-deps,
  .nexus-game,
  .steps-section {
    padding: 3rem 1rem;
  }

}

/* ===== МОБИЛЬНАЯ ГАЛЕРЕЯ — prev/next кнопки ===== */
@media (max-width: 767px) {

  .works-section {
    padding: 0;
    overflow: hidden;
  }

  .works-inner {
    padding: clamp(2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 1.75rem) 2rem;
    box-sizing: border-box;
  }

  .works-header {
    margin-bottom: 1.5rem;
  }

  .works-slider-wrap {
    overflow: hidden;
    position: relative;
    margin-left: 20px;
    margin-right: 20px;
  }

  .works-slider {
    display: flex;
    gap: 1rem !important;
    padding: 0 7.5vw !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .works-slider::-webkit-scrollbar {
    display: none;
  }

  .works-card {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    scroll-snap-align: center;
    border-radius: 16px;
  }

  .works-card__preview {
    height: 200px;
    min-height: 160px;
  }

  /* Кнопки влево/вправо — центрированы под карточкой */
  .works-controls {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0;
  }
}

/* ===== ТАБЛЕТКИ АУДИТОРИИ (только мобиль) ===== */
.audience-tabs {
  display: none;
}

.nexus-section-cta--mobile-only {
  display: flex;
}

@media (max-width: 767px) {
  .audience-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 16px;
    position: sticky;
    top: var(--header-sticky-offset, 64px);
    z-index: 150;
    background: transparent;
    border-bottom: none;
  }

  .audience-tab {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
  }

  .audience-tab--active {
    background: var(--orange);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 106, 26, 0.35);
  }

  /* Кнопка Детали о NEXUS — только мобиль (/designers) */
  .nexus-section-cta--mobile-only {
    display: flex;
  }
}

/* ============================================================
   WORKS GALLERY — кнопка-лупа + лайтбокс
   ============================================================ */

/* ---- кнопка-лупа (правый верхний угол превью) ---- */
.works-card__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s, transform 0.15s;
  pointer-events: auto;
}
.works-card__zoom:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.08);
}
/* всегда видима на мобиле (нет hover) */
@media (max-width: 767px) {
  .works-card__zoom { opacity: 0.85; }
}

/* ---- лайтбокс — overlay ---- */
.works-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.works-lightbox.is-open {
  display: flex;
}

.works-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* кнопка ✕ */
.works-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, transform 0.15s;
}
.works-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* обёртка контента — ограничиваем по экрану */
.works-lightbox__wrap {
  position: relative;
  z-index: 5;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.works-lightbox__content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 82vh;
  overflow: hidden;
  border-radius: 12px;
}

/* изображение */
.works-lightbox__img {
  max-width: min(88vw, 940px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.15s ease;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

/* видео */
.works-lightbox__video {
  max-width: min(88vw, 940px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  display: block;
  background: #000;
}

/* hint под контентом */
.works-lightbox__hint {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  text-align: center;
  margin: 0;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .works-lightbox__hint { display: none; }
}


/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 24px;
}
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-trigger:hover {
  background: rgba(255,255,255,0.03);
}
.faq-icon {
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-body.open {
  max-height: min(120vh, 2400px);
  padding: 0 24px 18px;
}
.faq-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Floating Panels & Scroll Pill
   ========================================================================== */
.floating-panel {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 5;
  animation: floatPanel 4s ease-in-out infinite alternate;
}
.floating-panel .panel-icon {
  font-size: 24px;
}
.floating-panel .panel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.floating-panel .panel-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.floating-panel .panel-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.2;
}

.panel-1 {
  bottom: 10%;
  left: -10%;
  animation-delay: 0s;
}
.panel-2 {
  top: 15%;
  right: -5%;
  animation-delay: 1.2s;
}
.panel-3 {
  bottom: 25%;
  right: -15%;
  animation-delay: 2.4s;
}

@keyframes floatPanel {
  0% { transform: translateY(-6px); }
  100% { transform: translateY(6px); }
}

@media (max-width: 768px) {
  .floating-panel {
    zoom: 0.7;
  }
  .panel-1 { left: 0; bottom: 0; }
  .panel-2 { right: 0; top: 0; }
  .panel-3 { right: 0; bottom: 20%; }
}

.scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
.scroll-pill::after {
  content: '↓';
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
.scroll-pill.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 24px;
}
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-trigger:hover {
  background: rgba(255,255,255,0.03);
}
.faq-icon {
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-body.open {
  max-height: min(120vh, 2400px);
  padding: 0 24px 18px;
}
.faq-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Floating Panels & Scroll Pill
   ========================================================================== */
.floating-panel {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 5;
  animation: floatPanel 4s ease-in-out infinite alternate;
}
.floating-panel .panel-icon {
  font-size: 24px;
}
.floating-panel .panel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.floating-panel .panel-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.floating-panel .panel-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.2;
}

.panel-1 {
  bottom: 10%;
  left: -10%;
  animation-delay: 0s;
}
.panel-2 {
  top: 15%;
  right: -5%;
  animation-delay: 1.2s;
}
.panel-3 {
  bottom: 25%;
  right: -15%;
  animation-delay: 2.4s;
}

@keyframes floatPanel {
  0% { transform: translateY(-6px); }
  100% { transform: translateY(6px); }
}

@media (max-width: 768px) {
  .floating-panel {
    zoom: 0.7;
  }
  .panel-1 { left: 0; bottom: 0; }
  .panel-2 { right: 0; top: 0; }
  .panel-3 { right: 0; bottom: 20%; }
}

.scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
.scroll-pill::after {
  content: '↓';
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
.scroll-pill.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ─── Section Heading ─── */
.sec-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 52px;
}

/* Бейдж: линия — текст — линия */
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.sec-badge::before,
.sec-badge::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255, 107, 53, 0.45);
  flex-shrink: 0;
}

.sec-badge .acc {
  color: #ff6b35;
}

/* Заголовок */
.sec-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  border: none;
  padding: 0;
  text-transform: none;
}

.sec-title__muted {
  color: rgba(255, 255, 255, 0.28);
}

.sec-title__white {
  color: #ffffff;
}

/* Подзаголовок */
.sec-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  line-height: 1.5;
}

/* Адаптив */
@media (max-width: 600px) {
  .sec-title {
    font-size: 24px;
  }
  .sec-badge {
    font-size: 10px;
  }
}

body.page-landing .sec-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  border: none;
  padding: 0;
  text-transform: none;
  text-align: center;
}



/* ==========================================================================
   Footer Redesign
   ========================================================================== */
body.page-landing .page {
  padding-bottom: 0 !important;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 40px;
  border-radius: 16px 16px 0 0;
  position: relative;
  z-index: 100;
}

.footer-center {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.footer-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bar a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-legal-links span[aria-hidden] {
  color: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .footer-bar {
    padding: 24px 16px;
    border-radius: 0;
  }
}

.hero { position: relative; }

.scroll-pill-container { pointer-events: none; }
.scroll-pill { pointer-events: auto; }

/* ==========================================================================
   Why Cards (Perks) Redesign
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  width: 100%;
}

.why-grid-row2 {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .why-grid, .why-grid-row2 {
    grid-template-columns: 1fr;
  }
}

.why-card {
  position: relative;
  background: linear-gradient(140deg, rgba(26, 14, 8, 0.6), rgba(16, 8, 4, 0.8));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 106, 26, 0.15);
  border-radius: 18px;
  padding: 30px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 106, 26, 0.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.5s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 26, 0.5);
  box-shadow: 0 20px 40px rgba(255, 106, 26, 0.15),
              inset 0 0 24px rgba(255, 106, 26, 0.12);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.2), transparent);
  pointer-events: none;
  transition: background 0.5s ease;
  z-index: 3;
}

.why-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.8), transparent);
}

.why-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 106, 26, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  transform: scale(0.8);
  z-index: 0;
}

.why-card:hover::after {
  opacity: 1;
  transform: scale(1) translate(5%, 5%);
}

.why-card__pill {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.28);
  display: inline-block;
  position: relative;
  z-index: 2;
}

.why-card h3,
.why-card .why-card__desc-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  position: relative;
  z-index: 2;
}

.why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
  line-height: 1.5;
  max-width: 280px;
  position: relative;
  z-index: 2;
}

.why-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.why-card__bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
}

.why-card__bullet::before {
  content: '';
  display: block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--card-accent);
  flex-shrink: 0;
}

.why-card__illustration {
  position: absolute;
  bottom: -22px;
  right: -52px;
  width: 230px;
  height: 230px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.6s ease;
}

.why-card__illustration svg,
.why-card__illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.why-card:hover .why-card__illustration {
  transform: rotate(-1deg) translate(-8px, -4px) scale(1.05);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6));
}

@media (max-width: 768px) {
  .why-card__illustration {
    width: 170px;
    height: 170px;
    bottom: -16px;
    right: -36px;
    opacity: 0.95;
  }
}

/* Accents */
.why-card-1 { --card-accent: #60a5fa; }
.why-card-2 { --card-accent: #a78bfa; }
.why-card-3 { --card-accent: #fbbf24; }
.why-card-4 { --card-accent: #34d399; }


/* ============================================================
   MOBILE FIX PACK v2 — works-slider, nexus-video, intro, pricing,
   header offset, sticky CTA, "До/После" stack, contrast.
   Все правила обёрнуты в @media чтобы не сломать десктоп.
   ============================================================ */

/* ── Pricing: единый блок цены вместо inline-стилей ── */
.pricing-card__price {
  margin-bottom: 16px;
}
.pricing-card__price-amount {
  font-family: var(--font-display, inherit);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
.pricing-card--featured .pricing-card__price-amount {
  background: linear-gradient(135deg, #fff 0%, #ffd9b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-card__price-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Intro CTA hint — нормальный класс вместо inline ── */
.intro-screen__cta-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  line-height: 1.5;
  text-align: center;
}

/* Социальное доказательство под CTA первого экрана */
.intro-screen__proof {
  list-style: none;
  margin: 28px 0 0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.intro-screen__proof-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
}

.intro-screen__proof-item + .intro-screen__proof-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.45);
  transform: translateY(-50%);
}

.intro-screen__proof-num {
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 0 14px rgba(255, 107, 0, 0.35);
}

.intro-screen__proof-key {
  font-family: var(--font-body, inherit);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .intro-screen__proof {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-radius: 18px;
    padding: 14px 18px;
    margin-top: 22px;
  }
  .intro-screen__proof-item {
    justify-content: space-between;
    width: 100%;
  }
  .intro-screen__proof-item + .intro-screen__proof-item::before {
    display: none;
  }
  .intro-screen__proof-item + .intro-screen__proof-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
  }
  .intro-screen__proof-num { font-size: 16px; }
  .intro-screen__proof-key { font-size: 12px; text-align: right; }
}

/* ── СБРОС/ИСПРАВЛЕНИЯ ТОЛЬКО ДЛЯ МОБИЛЫ ── */
@media (max-width: 767px) {

  /* === HEADER + AUDIENCE TABS — компактнее === */
  .site-header {
    padding: 0.625rem 1rem !important;
  }
  .audience-tabs {
    padding: 8px 12px !important;
    gap: 6px;
  }
  .audience-tab {
    padding: 6px 14px !important;
    font-size: 0.78rem;
  }

  /* === INTRO SCREEN — экран не "съедает" CTA === */
  .intro-screen {
    min-height: auto !important;
    padding: 4rem 1.25rem 2.5rem !important;
  }
  .intro-screen__title {
    font-size: clamp(2.4rem, 11vw, 3.6rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em;
  }
  .intro-screen__sub {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1.5rem !important;
  }
  .intro-screen__cta {
    width: 100%;
    justify-content: center;
    box-shadow:
      0 10px 28px -6px rgba(255, 107, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }
  .intro-screen__cta-hint {
    font-size: 12px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.5);
  }

  /* === ВТОРОЙ HERO ("КРЕАТИВЫ ПОД…") — убираем дублирующий блок === */
  /* Скрываем floating-panels на мобиле (наезжают на персонажа) */
  .hero-visual--character .floating-panel {
    display: none !important;
  }
  /* Удалить scroll pill — лишний шум */
  .scroll-pill-container,
  .scroll-pill {
    display: none !important;
  }

  /* === MARQUEE между блоками — оставить только 1 экземпляр === */
  /* Скрыть второй и третий маркизы */
  main > .marquee-strip:nth-of-type(2),
  main > .marquee-strip:nth-of-type(3) {
    display: none !important;
  }

  /* === NEXUS VIDEO — устраняем "огромную чёрную дыру" === */
  /* На iOS Safari WebM+alpha не играет, MP4 + сложные mask-composite
     дают пустоту. На мобиле — скрываем видео, оставляем только текст. */
  .nexus-section .nexus-video {
    display: none !important;
  }
  .nexus-split {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* "До / После NEXUS" — стек на мобиле, не две узкие колонки */
  .nexus-before-after {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 18px !important;
  }
  .nexus-before-after .ba-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  /* === STATS CARDS — % не вылезает === */
  .stats-card {
    overflow: hidden;
  }
  .stats-card__number {
    word-break: keep-all;
    white-space: nowrap;
  }

  /* === PRICING — фикс контраста, единая высота === */
  .pricing-card__price-amount {
    font-size: 28px;
  }
  .pricing-card__name {
    font-size: 1.1rem;
  }

  /* === WORKS SLIDER — главный фикс === */
  /* Ломаем grid из десктопа, делаем горизонтальный flex-карусель */
  .works-slider-wrap {
    overflow: hidden;
  }
  .works-slider {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 0 1.25rem !important;
    will-change: transform;
  }
  .works-card {
    flex: 0 0 calc(100% - 2.5rem) !important;
    width: calc(100% - 2.5rem) !important;
    max-width: calc(100% - 2.5rem) !important;
  }
  .works-card__preview {
    height: 200px !important;
  }
  .works-controls {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 1.25rem;
    padding: 0 1.25rem;
  }
  .works-ctrl-btn--icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  /* === TEAM cards: чтобы avatar+info не растягивались === */
  .team-card__pill {
    align-items: center !important;
  }

  /* === FAQ — тапы 48+ === */
  .faq-trigger {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* === FINAL CTA — крупная кнопка === */
  .final-cta__btn {
    width: 100%;
    justify-content: center;
    min-height: 56px;
    font-size: 1rem;
    box-shadow:
      0 12px 32px -6px rgba(255, 107, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }

  /* === БОКОВЫЕ ОТСТУПЫ — поднимаем с 12px до 16px === */
  .intro-screen,
  .pain-section,
  .stats-section,
  .pricing-section,
  .perks-section,
  .team-section,
  .faq-section,
  .final-cta,
  .nexus-about,
  .nexus-deps,
  .nexus-game,
  .steps-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* === STICKY MOBILE CTA — отступ в потоке до футера (без полосы под футером) === */
  body.page-landing .shell:has(.mobile-sticky-cta) > main {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 100px;
    background: var(--orange, #ff6b00);
    color: #fff;
    font-family: var(--font-body, inherit);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow:
      0 12px 32px -6px rgba(255, 107, 0, 0.55),
      0 4px 16px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-sticky-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* На десктопе sticky-CTA не показываем */
@media (min-width: 768px) {
  .mobile-sticky-cta { display: none !important; }
}

/* ============================================================
   REVIEWS — карточки отзывов (очеловеченные)
   ============================================================ */
.reviews-grid {
  align-items: stretch;
}

.review-card {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Большая декоративная кавычка в углу — добавляет «человеческий» вид */
.review-card::before {
  content: "“";
  position: absolute;
  top: -28px;
  right: 6px;
  z-index: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 140px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 107, 0, 0.08);
  pointer-events: none;
  user-select: none;
}

.review-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  letter-spacing: 0.005em;
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.review-author__handle {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange, #ff6b00);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.review-author__role {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.review-stars {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--orange, #ff6b00);
  line-height: 1;
  flex-shrink: 0;
}

.review-stars__dim {
  color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 767px) {
  .review-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .review-foot {
    flex-wrap: wrap;
    gap: 8px;
  }
  .review-author__handle { font-size: 12px; }
  .review-author__role   { font-size: 11px; }
}

/* ============================================================
   TEAM-TAG --geo — pin-иконка вместо эмодзи
   ============================================================ */
.team-tag--geo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 8px;
}
.team-tag--geo svg {
  width: 11px;
  height: 11px;
  color: var(--orange, #ff6b00);
  flex-shrink: 0;
  display: block;
}

/* ============================================================
   FLOATING PANELS — иконки SVG вместо эмодзи
   ============================================================ */
.floating-panel .panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange, #ff6b00);
  font-size: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.2);
}
.floating-panel .panel-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.floating-panel.panel-2 .panel-icon {
  color: #4da8ff;
  background: rgba(77, 168, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(77, 168, 255, 0.2);
}
.floating-panel.panel-3 .panel-icon {
  color: #b06aff;
  background: rgba(176, 106, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(176, 106, 255, 0.2);
}

/* ============================================================
   NEXUS — feature-grid с цифрами (новая структура)
   ============================================================ */
.nexus-zone--features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
  margin: 0;
}

.nexus-zone--features .feature-item {
  display: grid;
  grid-template-columns: minmax(58px, auto) 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 107, 0, 0.12);
  border-radius: 12px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.nexus-zone--features .feature-item:hover {
  border-color: rgba(255, 107, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 255, 255, 0.03));
  transform: translateY(-2px);
}

.feature-item__metric {
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 800;
  color: var(--orange, #ff6b00);
  text-shadow: 0 0 18px rgba(255, 107, 0, 0.35);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.feature-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.feature-item__body strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.feature-item__body span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 767px) {
  .nexus-zone--features .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nexus-zone--features .feature-item {
    padding: 12px 14px;
    gap: 12px;
    grid-template-columns: 54px 1fr;
  }
  .feature-item__metric { font-size: 1.4rem; }
  .feature-item__body strong { font-size: 0.8rem; }
  .feature-item__body span  { font-size: 0.72rem; }
}

/* ============================================================
   WORKS — реальные превью (видео-loop + статика)
   ============================================================ */

/* Превью становится контейнером 4:5 (под вертикальные TikTok/Reels-крео).
   object-fit: cover чуть подрежет края, но сохранит главный контент. */
.works-card--media .works-card__preview {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #0a0807;
}

/* Видео и картинка заполняют всю площадь */
.works-card__video,
.works-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  background: #0a0807;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.35s ease;
}

.works-card--media .works-card__preview {
  position: relative;
  isolation: isolate;
}

/* Бейдж вертикали в левом верхнем углу */
.works-card__chip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 6, 5, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

/* Цвет точки-индикатора у chip по вертикали */
.works-card__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}
.works-card__preview--gambling .works-card__chip::before { color: #ff8c2a; background: #ff8c2a; }
.works-card__preview--invest   .works-card__chip::before { color: #4da8ff; background: #4da8ff; }
.works-card__preview--nutra    .works-card__chip::before { color: #b06aff; background: #b06aff; }
.works-card__preview--betting  .works-card__chip::before { color: #2dcc70; background: #2dcc70; }

/* Кнопка play / zoom поверх медиа */
.works-card--media .works-card__zoom {
  position: absolute;
  top: auto;
  left: auto;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 6, 5, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
  opacity: 0.95;
}
.works-card--media .works-card__zoom:hover {
  transform: scale(1.08);
  background: var(--orange, #ff6b00);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.45);
  opacity: 1;
}
.works-card:has(.works-card__preview--invest) .works-card__zoom:hover {
  background: #4da8ff;
  box-shadow: 0 6px 24px rgba(77, 168, 255, 0.45);
}
.works-card:has(.works-card__preview--nutra) .works-card__zoom:hover {
  background: #b06aff;
  box-shadow: 0 6px 24px rgba(176, 106, 255, 0.45);
}

/* Затемняющий градиент снизу для читаемости подписи */
.works-card--media .works-card__preview::after {
  z-index: 1;
  height: 60%;
  background: linear-gradient(
    to bottom,
    rgba(8, 6, 5, 0) 0%,
    rgba(8, 6, 5, 0.35) 45%,
    rgba(8, 6, 5, 0.85) 90%,
    rgba(8, 6, 5, 0.97) 100%
  );
}

/* Hover: видео слегка зумится, цветная виньетка усиливается */
.works-card--media:hover .works-card__video,
.works-card--media:hover .works-card__img {
  transform: scale(1.04);
  filter: brightness(1.08) saturate(1.08);
}

/* INVEST — синий вариант (новый) */
.works-card__preview--invest {
  background: linear-gradient(160deg, #001428 0%, #002040 45%, #000e1e 100%);
}
.works-card__preview--invest ~ .works-card__body .works-card__format {
  color: #4da8ff;
  background: rgba(77, 168, 255, 0.1);
}
.works-card:has(.works-card__preview--invest):hover {
  border-color: rgba(77, 168, 255, 0.3);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 168, 255, 0.12);
}

/* Скрываем старые декоративные иконки/лейблы внутри новых медиа-карточек */
.works-card--media .works-card__vert-icon,
.works-card--media .works-card__vert-label {
  display: none;
}

/* Loading state: пока видео не подключено — лёгкий шиммер */
.works-card__video:not([src]) {
  background: linear-gradient(110deg, #0c0a08 30%, #1a1410 50%, #0c0a08 70%);
  background-size: 200% 100%;
  animation: works-shimmer 1.6s linear infinite;
}
@keyframes works-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .works-card--media .works-card__preview {
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .works-card__chip {
    font-size: 0.62rem;
    padding: 0.3rem 0.55rem;
    top: 0.6rem;
    left: 0.6rem;
  }
  .works-card--media .works-card__zoom {
    width: 38px;
    height: 38px;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

/* Перебиваем фильтр на превью при ховере, который мог приходить сверху */
.works-card:hover .works-card__preview {
  filter: none;
}

/* ============================================================
   WORKS — HERO-карточка (первая, шире, горизонтальный layout)
   ============================================================ */
@media (min-width: 768px) {
  .works-card--hero {
    grid-column: span 2;
    flex-direction: row;
  }
  .works-card--hero .works-card__preview {
    flex: 0 0 58%;
    aspect-ratio: auto !important;
    height: 100% !important;
  }
  .works-card--hero .works-card__body {
    flex: 1;
    padding: 1.75rem 2rem;
    justify-content: center;
    gap: 1.1rem;
  }
  .works-card--hero .works-card__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
  }
  .works-card--hero .works-stat__val {
    font-size: 2.6rem;
  }
  .works-card--hero::before {
    content: "Топ-кейс";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    padding: 5px 11px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a0807;
    background: linear-gradient(135deg, #ffb347, #ff6b00);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    pointer-events: none;
  }
}

/* ============================================================
   WORKS — PROMO-карточка (последняя, на 3 колонки)
   ============================================================ */
.works-card--promo {
  position: relative;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  background:
    radial-gradient(ellipse at top right, rgba(255, 107, 0, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(8, 6, 5, 0.85));
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.works-card--promo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.4), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.works-card--promo:hover {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 107, 0, 0.2);
  transform: translateY(-2px);
}

.works-card--promo__inner {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.works-card--promo__badge {
  align-self: flex-start;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange, #ff6b00);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 999px;
}

.works-card--promo__title {
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.works-card--promo__accent {
  color: var(--orange, #ff6b00);
}

.works-card--promo__sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 520px;
}

.works-card--promo__cta {
  align-self: flex-start;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0807;
  background: linear-gradient(135deg, #ffb347, #ff6b00);
  border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.35);
}

.works-card--promo:hover .works-card--promo__cta {
  transform: translateX(3px);
  box-shadow: 0 12px 36px rgba(255, 107, 0, 0.5);
}

@media (min-width: 768px) {
  .works-card--promo {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  /* На мобильном hero и promo ведут себя как обычные карточки слайдера */
  .works-card--hero,
  .works-card--promo {
    flex: 0 0 calc(100% - 2.5rem) !important;
    width: calc(100% - 2.5rem) !important;
    max-width: calc(100% - 2.5rem) !important;
    flex-direction: column !important;
  }
  .works-card--hero .works-card__preview {
    flex: 1 1 auto !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
  }
  .works-card--hero .works-card__body {
    padding: 1.25rem 1.5rem;
  }
  .works-card--promo__inner {
    padding: 1.5rem 1.5rem;
  }
  .works-card--promo__title {
    font-size: 1.2rem;
  }
}

/* ============================================================
   HERO v2 — единый первый экран
   Слева оффер + CTA + соц-пруф, справа маскот с floating panels.
   На мобиле — в стек: текст → CTA → соц-пруф → маскот мини.
   ============================================================ */
.hero-v2 {
  position: relative;
  width: 100%;
  background: var(--section-bg);
  padding: clamp(4.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 78% 38%,
      rgba(255, 106, 26, 0.16) 0%,
      rgba(255, 106, 26, 0.04) 38%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 60% 50% at 12% 90%,
      rgba(255, 150, 95, 0.06) 0%,
      transparent 70%
    );
}

.hero-v2__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
  box-sizing: border-box;
}

.hero-v2__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  min-width: 0;
}

.hero-v2__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hv2-up 0.7s ease forwards 0.05s;
}

.hero-v2__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--orange);
  opacity: 0.7;
}

.hero-v2__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: hv2-up 0.7s ease forwards 0.15s;
}

.hero-v2__accent {
  display: inline;
  color: var(--orange);
  background: linear-gradient(180deg, var(--orange) 0%, #ff8a3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-v2__sub {
  font-family: var(--font-body);
  font-size: clamp(0.97rem, 1.25vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 56ch;
  opacity: 0;
  transform: translateY(20px);
  animation: hv2-up 0.7s ease forwards 0.28s;
}

.hero-v2__sub strong {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hero-v2__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hv2-up 0.7s ease forwards 0.4s;
}

.hero-v2__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2rem;
  background: linear-gradient(135deg, var(--orange) 0%, #ff7a28 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 0;
  box-shadow:
    0 10px 28px rgba(255, 106, 26, 0.32),
    0 2px 6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.hero-v2__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.hero-v2__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 36px rgba(255, 106, 26, 0.42),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-v2__cta:hover::after { left: 140%; }
.hero-v2__cta:active { transform: translateY(0) scale(0.98); }

.hero-v2__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-v2__cta:hover svg { transform: translateX(3px); }

.hero-v2__cta-hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.hero-v2__cta-hint em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hero-v2__proof {
  list-style: none;
  margin: clamp(0.8rem, 1.5vw, 1.2rem) 0 0;
  padding: clamp(0.85rem, 1.4vw, 1.1rem) clamp(1rem, 1.6vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.8vw, 1.6rem);
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  animation: hv2-up 0.7s ease forwards 0.55s;
}

.hero-v2__proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 110px;
  position: relative;
}

.hero-v2__proof-item + .hero-v2__proof-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(0.3rem, 0.9vw, 0.8rem));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18), transparent);
}

.hero-v2__proof-num {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--orange);
  line-height: 1.05;
}

.hero-v2__proof-key {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.6);
}

.hero-v2__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  animation: hv2-mascot 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.hero-v2__mascot {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: block;
}

.hero-v2__glow {
  position: absolute;
  inset: 6%;
  background: radial-gradient(
    ellipse 70% 70% at 50% 55%,
    rgba(255, 106, 26, 0.28) 0%,
    rgba(255, 106, 26, 0.08) 35%,
    transparent 65%
  );
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  animation: hv2-glow-pulse 6s ease-in-out infinite;
}

@keyframes hv2-glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

.hero-v2__shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%), linear-gradient(to top, transparent 0%, black 15%, black 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%), linear-gradient(to top, transparent 0%, black 15%, black 100%);
  mask-composite: intersect;
}

.hero-v2__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.hero-v2__scroll-line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 107, 0, 0.7), transparent);
  animation: hv2-scroll 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes hv2-scroll {
  0%   { transform: scaleY(0); }
  60%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes hv2-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hv2-mascot {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1024px) {
  .hero-v2__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
  .hero-v2__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
  .hero-v2__mascot { max-width: 440px; }
}

@media (max-width: 767px) {
  .hero-v2 { padding: 1rem 0 1.5rem; }

  .hero-v2__inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 0 1rem;
  }

  .hero-v2__copy {
    gap: 0.7rem;
    order: 1;
    text-align: left;
    align-items: flex-start;
  }

  .hero-v2__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .hero-v2__eyebrow::before { width: 20px; }

  .hero-v2__title {
    font-size: clamp(1.65rem, 8.2vw, 2.4rem);
    line-height: 1.04;
  }

  .hero-v2__sub {
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .hero-v2__cta-row {
    width: 100%;
    margin-top: 0.2rem;
    gap: 0.55rem;
  }

  .hero-v2__cta {
    align-self: stretch;
    justify-content: center;
    padding: 1.1rem 1.2rem;
    font-size: 0.92rem;
    border-radius: 14px;
  }

  .hero-v2__cta-hint {
    display: none;
  }

  .hero-v2__proof {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.8rem;
    gap: 0.4rem;
    border-radius: 12px;
    justify-content: space-between;
  }

  .hero-v2__proof-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    align-items: center;
  }

  .hero-v2__proof-item + .hero-v2__proof-item::before {
    left: -0.2rem;
    height: 22px;
  }

  .hero-v2__proof-num {
    font-size: 0.85rem;
    line-height: 1.1;
  }

  .hero-v2__proof-key {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .hero-v2__visual {
    order: 2;
    margin-top: -0.3rem;
  }

  /* NEXUS: на телефоне — скрин интерфейса (.hero-v2__nexus-mobile-ui), видео скрыто */
  .hero-v2--nexus .hero-v2__mascot.hero-v2__mascot--video {
    display: none !important;
  }

  .hero-v2--nexus .hero-v2__nexus-mobile-ui {
    display: block;
  }

  .hero-v2__mascot { max-width: 280px; }

  .hero-v2 .floating-panel { display: none !important; }

  .hero-v2__scroll { display: none; }
}

@media (max-width: 360px) {
  .hero-v2__title { font-size: 1.55rem; }
  .hero-v2__sub { font-size: 0.88rem; }
  .hero-v2__mascot { max-width: 220px; }
  .hero-v2__proof-num { font-size: 0.78rem; }
  .hero-v2__proof-key { font-size: 0.62rem; }
}

/* ============================================================
   PRICING — стиль для «Цена в Telegram» (без $)
   ============================================================ */
.pricing-card__price--quote .pricing-card__price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card--featured .pricing-card__price--quote .pricing-card__price-amount {
  background: linear-gradient(180deg, #fff 0%, #ffb078 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card__price--quote .pricing-card__price-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

/* ============================================================
   NEXUS-mention — компактная полоса с упоминанием платформы
   ============================================================ */
.nexus-mention {
  width: 100%;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 4vw, 2.5rem);
  background: var(--section-bg);
  position: relative;
  isolation: isolate;
}

.nexus-mention__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.5vw, 1.9rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 106, 26, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 106, 26, 0.07) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.005) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.nexus-mention__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
}

.nexus-mention__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.18), rgba(255, 106, 26, 0.04));
  border: 1px solid rgba(255, 106, 26, 0.3);
  border-radius: 14px;
  color: var(--orange);
}

.nexus-mention__icon svg {
  width: 28px;
  height: 28px;
}

.nexus-mention__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nexus-mention__eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.nexus-mention__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.nexus-mention__desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 60ch;
}

.nexus-mention__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 106, 26, 0.12);
  border: 1px solid rgba(255, 106, 26, 0.45);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.nexus-mention__cta:hover {
  background: rgba(255, 106, 26, 0.22);
  border-color: rgba(255, 106, 26, 0.7);
  transform: translateY(-1px);
}

.nexus-mention__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.nexus-mention__cta:hover svg { transform: translateX(3px); }

/* ── Hero v2: вторая (текстовая) CTA-кнопка + стек двух CTA рядом ── */
.hero-v2__cta-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-v2__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.4rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.hero-v2__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

/* ── Hero v2 (NEXUS-страница): видео вместо статичного изображения ── */
/* Базовый .hero-v2__mascot: width 100% + aspect-ratio 1/1 — для видео отключаем квадрат. */
.hero-v2__mascot.hero-v2__mascot--video {
  border-radius: 0;
  overflow: visible;
  width: fit-content;
  max-width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: unset;
  height: auto;
  min-width: 0;
  background: transparent;
}

.hero-v2__video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
  border: none;
  outline: none;
}

/* Оболочка: тот же «воздух», что у .hero-v2::before + подложка под mix-blend (чёрный мат в ролике) */
.hero-v2--nexus .hero-v2__mascot.hero-v2__mascot--video {
  max-width: min(100%, 540px);
}

/* ПК: без isolation и без «стеклянной» подложки — <video> с mix-blend-mode: screen
   снова смешивается с тем же фоном hero (::before + --section-bg). На мобиле — скрин UI. */
.hero-v2--nexus .hero-v2__video-shell {
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.hero-v2--nexus .hero-v2__video-shell .hero-v2__glow {
  inset: 5%;
  z-index: 0;
}

.hero-v2--nexus .hero-v2__video {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 640px);
  object-fit: contain;
  object-position: center;
  border: none;
  outline: none;
  background-color: transparent;
  /* Чёрный мат в ролике: screen с тёплой подложкой подменяет #000 на фон (как у hero) */
  mix-blend-mode: screen;
  filter: none;
}

/* ── NEXUS mobile: скрин интерфейса вместо видео (лёгкий 3D + оранжевый акцент) ── */
.hero-v2__nexus-mobile-ui {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0.35rem auto 0;
  padding: 0 0 0.15rem;
  perspective: 980px;
}

.hero-v2__nexus-mobile-shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  color: inherit;
  text-align: center;
}

.hero-v2__nexus-mobile-shot__tilt {
  display: block;
  transform: perspective(980px) rotateY(-5deg) rotateX(3deg);
  transform-origin: 50% 50%;
  transition: transform 0.22s ease;
}

.hero-v2__nexus-mobile-shot:active .hero-v2__nexus-mobile-shot__tilt {
  transform: perspective(980px) rotateY(-4deg) rotateX(2deg) scale(0.992);
}

.hero-v2__nexus-mobile-shot__frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 26, 0.34);
  background: rgba(8, 7, 6, 0.9);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 10px 26px rgba(0, 0, 0, 0.42),
    0 0 20px rgba(255, 106, 26, 0.1),
    0 0 40px rgba(255, 106, 26, 0.05);
}

.hero-v2__nexus-mobile-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hero-v2__nexus-mobile-shot__cap {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__nexus-mobile-shot__tilt {
    transform: none;
    transition: none;
  }
  .hero-v2__nexus-mobile-shot:active .hero-v2__nexus-mobile-shot__tilt {
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero-v2--nexus .hero-v2__nexus-mobile-ui {
    display: none !important;
  }
}

/* ── Доп правки оффера: H1 NEXUS-страницы чуть скромнее ── */
.hero-v2--nexus .hero-v2__title {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

@media (max-width: 767px) {
  .hero-v2__cta-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
  }
  .hero-v2__cta-secondary {
    justify-content: center;
    padding: 0.95rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 14px;
  }
  .hero-v2--nexus .hero-v2__title {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }
}

/* ============================================================
   STICKY MOBILE CTA — плавающая кнопка снизу (моб + планшет)
   Показывается JS после ~60% Hero, скрывается возле final-cta.
   ============================================================ */
.mobile-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0.85rem));
  transform: translate(-50%, calc(100% + 1rem));
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: calc(100% - 1.5rem);
  max-width: 420px;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--orange) 0%, #ff7a28 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 16px;
  box-shadow:
    0 14px 32px rgba(255, 106, 26, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
  will-change: transform, opacity;
}

.mobile-sticky-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-sticky-cta:active {
  transform: translate(-50%, 0) scale(0.97);
}

@media (max-width: 1024px) {
  .mobile-sticky-cta { display: inline-flex; }
}

/* На очень узких экранах - чуть меньший шрифт */
@media (max-width: 360px) {
  .mobile-sticky-cta {
    font-size: 0.86rem;
    padding: 0.85rem 1rem;
  }
}

/* Чтобы sticky CTA не закрывал контент финального экрана */
@media (max-width: 1024px) {
  body { padding-bottom: 0; }
  .footer-bar { padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem)); }
}

/* ============================================================
   MOBILE POLISH — компактные секции на телефоне
   Главное: уменьшить вертикальные отступы (≤ 32px вместо 80px),
   ужать заголовки, чтобы человек видел ещё контент в первом скролле.
   ============================================================ */
@media (max-width: 767px) {

  /* Базовые отступы секций */
  .stats-section,
  .perks-section,
  .works-section,
  .pricing-section,
  .team-section,
  .faq-section,
  .final-cta {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
  }

  /* sec-heading — компактнее */
  .sec-heading {
    margin-bottom: 1.2rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sec-title {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem) !important;
    line-height: 1.12 !important;
  }
  .sec-sub {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }
  .sec-badge {
    font-size: 0.62rem !important;
    padding: 0.4rem 0.75rem !important;
  }

  /* Marquee тоньше */
  .marquee-strip {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
  .marquee-strip__item {
    font-size: 0.78rem !important;
  }

  /* Reviews блок — убрать жёсткий padding 80px */
  #reviews {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
  }

  /* Небольшая пауза снизу страницы - чтобы sticky не наезжал на footer */
  .footer-bar {
    padding-top: 1.2rem;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom, 1rem));
  }
}

/* ============================================================
   PRICING на моб: карточки чуть компактнее, стек вертикально,
   но без огромных отступов между ними.
   ============================================================ */
@media (max-width: 767px) {
  .pricing-grid {
    gap: 0.9rem !important;
    grid-template-columns: 1fr !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .pricing-card {
    padding: 1.2rem 1.2rem 1.3rem !important;
    border-radius: 18px !important;
  }
  .pricing-card__name {
    font-size: 1.1rem !important;
  }
  .pricing-card__desc {
    font-size: 0.85rem !important;
  }
  .pricing-card__list {
    gap: 0.45rem !important;
    margin: 0.7rem 0 0.8rem !important;
  }
  .pricing-card__list li {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  .pricing-card__cta {
    padding: 0.95rem 1rem !important;
    font-size: 0.85rem !important;
  }
  /* «Цена в Telegram» компактнее */
  .pricing-card__price--quote .pricing-card__price-amount {
    font-size: 1.05rem !important;
  }
  .pricing-card__price--quote .pricing-card__price-note {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 768px) {
  .nexus-mention {
    padding: 0.8rem 1rem;
  }
  .nexus-mention__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "cta  cta";
    gap: 0.75rem 0.9rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 16px;
  }
  .nexus-mention__icon  { grid-area: icon; width: 44px; height: 44px; border-radius: 11px; }
  .nexus-mention__icon svg { width: 22px; height: 22px; }
  .nexus-mention__text  { grid-area: text; }
  .nexus-mention__cta   { grid-area: cta; justify-content: center; padding: 0.75rem 1rem; }
  .nexus-mention__title { font-size: 0.97rem; line-height: 1.25; }
  .nexus-mention__desc  { font-size: 0.8rem; }
  .nexus-mention__eyebrow { font-size: 0.6rem; }
}

 
 