/* ==========================================================================
   shop.css — Корпоративный лэндинг «Интерактивный каталог»
   Структура:
   1.  Токены (переменные)
   2.  Reset
   3.  Базовые стили
   4.  Утилиты
   5.  Компоненты (кнопки, чипы)
   6.  Navbar
   7.  Мобильное меню
   8.  Side-markers
   9.  Scrolltop
   10. Skip-link
   11. Секции: базовые + head
   12. Hero
   13. Solution
   14. How (3 шага)
   15. Showcase (сценарий 1)
   16. Reports (сценарий 3)
   17. Numbers (портрет + метрики + сравнение)
   18. FAQ
   19. CTA
   20. Footer
   21. Анимации + reveal
   22. Медиа-запросы (5 брейкпоинтов)
   ========================================================================== */

/* ==========================================================================
   1. ТОКЕНЫ
   ========================================================================== */
:root {
  /* Цвета — светлая тема */
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --color-surface: #ffffff;
  --color-surface-2: #f1f5f9;
  --color-text: #1f2937;
  --color-text-muted: #64748b;
  --color-text-soft: #94a3b8;
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-primary-soft: #dbeafe;
  --color-accent: #10b981;
  --color-accent-dark: #059669;
  --color-accent-soft: #d1fae5;
  --color-bad: #ef4444;
  --color-bad-dark: #b91c1c;
  --color-bad-soft: #fee2e2;
  --color-warn-soft: #fef3c7;
  --color-warn-dark: #92400e;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* Шрифты — читаемые, строгие */
  --font-heading: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Отступы */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Секции */
  --section-pad: 96px;

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);

  /* Navbar */
  --navbar-height: 72px;

  /* Контейнер */
  --container-max: 1200px;
  --container-pad: 24px;

  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ==========================================================================
   3. БАЗОВЫЕ СТИЛИ
   ========================================================================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

ul, ol {
  padding: 0;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   4. УТИЛИТЫ
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.text-accent {
  color: var(--color-primary);
}

/* ==========================================================================
   5. КОМПОНЕНТЫ
   ========================================================================== */

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

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

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

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

.btn--ghost:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-soft);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* --- Чипы --- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.chip--on {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.chip--green {
  background: var(--color-accent-soft);
  color: #065f46;
  border-color: transparent;
}

/* ==========================================================================
   6. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: var(--space-5);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.navbar__brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__brand-mark svg {
  width: 20px;
  height: 20px;
}

.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.navbar__link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.navbar__link:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.navbar__link.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.navbar__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* --- Burger --- */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.navbar__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar__burger.is-open .navbar__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-open .navbar__burger-line:nth-child(2) {
  opacity: 0;
}

.navbar__burger.is-open .navbar__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. МОБИЛЬНОЕ МЕНЮ
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-surface);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.mobile-menu__close:hover {
  background: var(--color-border);
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-soft);
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.mobile-menu__link.is-active span {
  color: var(--color-primary);
}

.mobile-menu__foot {
  padding: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-menu__cta {
  width: 100%;
}

.mobile-menu__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
}

/* ==========================================================================
   8. SIDE-MARKERS
   ========================================================================== */
.side-markers {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.side-markers__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.side-markers__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.side-markers__item:hover .side-markers__dot {
  background: var(--color-primary);
  transform: scale(1.3);
}

.side-markers__item.is-active .side-markers__dot {
  background: var(--color-primary);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.side-markers__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-text);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.side-markers__tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-text);
}

.side-markers__item:hover .side-markers__tip,
.side-markers__item:focus-visible .side-markers__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   9. SCROLLTOP
   ========================================================================== */
.scrolltop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              background var(--transition-fast);
}

.scrolltop svg {
  width: 20px;
  height: 20px;
}

.scrolltop.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scrolltop:hover {
  background: var(--color-primary-dark);
  transform: translateY(-4px);
}

/* ==========================================================================
   10. SKIP-LINK
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   11. СЕКЦИИ: БАЗОВЫЕ + HEAD
   ========================================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-head__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-head__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-head__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   12. HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--navbar-height);
  padding-bottom: var(--space-7);
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.08), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(16, 185, 129, 0.06), transparent 45%),
    var(--color-bg);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__stats {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stats strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Визуал: браузерный мокап --- */
.hero__visual {
  position: relative;
}

.browser-mockup {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.browser-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.browser-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border-strong);
}

.browser-mockup__url {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--color-text-soft);
  background: var(--color-surface);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.browser-mockup__screen {
  padding: 16px;
  background: var(--color-bg);
}

.mock-catalog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mock-catalog__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mock-catalog__logo svg {
  width: 18px;
  height: 18px;
}

.mock-catalog__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  flex: 1;
  max-width: 220px;
}

.mock-catalog__search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mock-catalog__chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mock-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mock-product {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mock-product__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface-2);
}

.mock-product__body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-product__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.mock-product__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.mock-product__btn {
  margin-top: 6px;
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* --- Плавающие карточки --- */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.hero__float-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon svg {
  width: 18px;
  height: 18px;
}

.hero__float--orders {
  top: 10%;
  right: -4%;
}

.hero__float--orders .hero__float-icon {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.hero__float--report {
  bottom: 8%;
  left: -6%;
  animation-delay: 2s;
}

.hero__float--report .hero__float-icon {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__float-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero__float-text span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* --- Подсказка скролла --- */
.hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-soft);
}

.hero__scroll-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

/* ==========================================================================
   13. SOLUTION
   ========================================================================== */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.solution-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.solution-card__icon svg {
  width: 28px;
  height: 28px;
}

.solution-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.solution-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   14. HOW (3 ШАГА)
   ========================================================================== */
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  list-style: none;
  counter-reset: step;
}

.how__step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Соединительная линия между шагами (desktop) */
.how__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: var(--color-border-strong);
}

.how__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how__step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.how__step-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.how__step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

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

/* ==========================================================================
   15. SHOWCASE (СЦЕНАРИЙ 1)
   ========================================================================== */
.showcase__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}

.showcase__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.showcase__problem,
.showcase__solution {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.showcase__marker {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.showcase__marker--bad {
  background: var(--color-bad-soft);
  color: var(--color-bad-dark);
}

.showcase__marker--good {
  background: var(--color-accent-soft);
  color: #065f46;
}

.showcase__problem p,
.showcase__solution p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.showcase__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.showcase__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.showcase__check svg {
  width: 12px;
  height: 12px;
}

.showcase__speed {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.showcase__speed-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.showcase__speed-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.showcase__speed-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.showcase__speed-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.result-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.result-badge__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-badge__icon svg {
  width: 18px;
  height: 18px;
}

.result-badge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-badge__text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #065f46;
}

.result-badge__text span {
  font-size: 0.85rem;
  color: #047857;
}

/* --- Мокап телефона --- */
.showcase__visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
}

.phone-mockup__frame {
  width: 300px;
  background: #0f172a;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-mockup__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-mockup__screen {
  background: var(--color-bg);
  border-radius: 24px;
  overflow: hidden;
  min-height: 560px;
}

.phone-catalog {
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-catalog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-catalog__logo {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}

.phone-catalog__cart {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.phone-catalog__cart svg {
  width: 18px;
  height: 18px;
}

.phone-catalog__cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-catalog__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.phone-catalog__search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.phone-catalog__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.phone-catalog__chips::-webkit-scrollbar {
  display: none;
}

.phone-catalog__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-item {
  display: flex;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
}

.phone-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface-2);
  flex-shrink: 0;
}

.phone-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.phone-item__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-item__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.phone-item__status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-top: 4px;
}

.phone-item__status--ok {
  background: var(--color-accent-soft);
  color: #065f46;
}

.phone-item__status--low {
  background: var(--color-warn-soft);
  color: var(--color-warn-dark);
}

/* ==========================================================================
   16. REPORTS (СЦЕНАРИЙ 3)
   ========================================================================== */
.reports__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.report-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.report-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.report-card__icon svg {
  width: 26px;
  height: 26px;
}

.report-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.report-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.report-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.reports__quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.reports__quote::before {
  content: '“';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.reports__quote p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

/* ==========================================================================
   17. NUMBERS (ПОРТРЕТ + МЕТРИКИ + СРАВНЕНИЕ)
   ========================================================================== */

/* --- Портрет --- */
.portrait {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.portrait__item {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portrait__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portrait__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}

.portrait__icon svg {
  width: 24px;
  height: 24px;
}

.portrait__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.portrait__text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --- Метрики --- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.metric {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.metric__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.metric__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --- Сравнение --- */
.compare {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.compare__table {
  display: flex;
  flex-direction: column;
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  border-bottom: 1px solid var(--color-border);
}

.compare__row:last-child {
  border-bottom: none;
}

.compare__row:nth-child(even) {
  background: var(--color-bg-alt);
}

.compare__cell {
  padding: var(--space-4) var(--space-5);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.compare__cell--feature {
  font-weight: 600;
  color: var(--color-text);
}

.compare__cell--good {
  color: #065f46;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.04);
}

.compare__row--head .compare__cell {
  font-weight: 700;
  font-size: 0.95rem;
  padding: var(--space-4) var(--space-5);
}

.compare__row--head .compare__cell--bad {
  color: var(--color-bad-dark);
  background: rgba(239, 68, 68, 0.05);
}

.compare__row--head .compare__cell--good {
  color: #065f46;
  background: rgba(16, 185, 129, 0.08);
}

.compare__head-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.compare__head-icon svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq__item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-2);
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition-base), background var(--transition-base);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-text-muted);
  transition: background var(--transition-base);
}

.faq__icon::before {
  width: 12px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 12px;
}

.faq__item[open] .faq__icon {
  background: var(--color-primary);
  transform: rotate(45deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: #fff;
}

.faq__answer {
  padding: 0 var(--space-5);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding-bottom: var(--space-5);
}

/* ==========================================================================
   19. CTA
   ========================================================================== */
.cta {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.94)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1600&q=80') center / cover no-repeat;
  position: relative;
}

.cta__inner {
  display: flex;
  justify-content: center;
}

.cta__content {
  max-width: 720px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-7);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.cta__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.cta__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cta__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  list-style: none;
}

.cta__note-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cta__note-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: var(--space-8) 0 var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  align-self: flex-start;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__logo-mark svg {
  width: 20px;
  height: 20px;
}

.footer__about {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__social:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links a {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.footer__contact:hover {
  color: #fff;
}

.footer__contact--static {
  cursor: default;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.85rem;
  color: #64748b;
}

.footer__totop {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__totop svg {
  width: 16px;
  height: 16px;
}

.footer__totop:hover {
  color: #fff;
}

/* ==========================================================================
   21. АНИМАЦИИ + REVEAL
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Reveal-анимации (управляются JS, активны только при .js) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal][data-delay="1"] { transition-delay: 0.1s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.2s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.3s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.4s; }
.js [data-reveal][data-delay="5"] { transition-delay: 0.5s; }
.js [data-reveal][data-delay="6"] { transition-delay: 0.6s; }

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   22. МЕДИА-ЗАПРОСЫ
   ========================================================================== */

/* --- Desktop high resolution (≥ 1921px) --- */
@media (min-width: 1921px) {
  :root {
    --container-max: 1400px;
    --section-pad: 120px;
  }
  .hero__title {
    font-size: 4.2rem;
  }
  .section-head__title {
    font-size: 3rem;
  }
  .metric__value {
    font-size: 3.5rem;
  }
  .cta__content {
    padding: var(--space-9) var(--space-8);
  }
}

/* --- Laptop (≤ 1280px) --- */
@media (max-width: 1280px) {
  .side-markers {
    display: none;
  }
  .navbar__cta {
    display: none;
  }
  .navbar__link {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .hero__inner {
    gap: var(--space-6);
  }
  .portrait {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Tablet (≤ 992px) --- */
@media (max-width: 992px) {
  :root {
    --section-pad: 72px;
  }
  .navbar__nav {
    display: none;
  }
  .navbar__burger {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 40px);
    padding-bottom: 56px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .hero__content {
    text-align: center;
    align-items: center;
  }
  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .hero__scroll-hint {
    display: none;
  }
  .hero__float--orders {
    right: 0;
  }
  .hero__float--report {
    left: 0;
  }
  .solution__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .how__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .how__step:not(:last-child)::after {
    display: none;
  }
  .showcase__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .showcase__text {
    text-align: left;
  }
  .reports__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto var(--space-7);
  }
  .portrait {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare__cell {
    padding: var(--space-4);
    font-size: 0.85rem;
  }
  .compare__row--head .compare__cell {
    font-size: 0.9rem;
  }
  .cta__content {
    padding: var(--space-7) var(--space-5);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* --- Smartphone (≤ 576px) --- */
@media (max-width: 576px) {
  :root {
    --section-pad: 56px;
    --container-pad: 18px;
  }
  .hero {
    padding-top: calc(var(--navbar-height) + 24px);
    padding-bottom: 40px;
  }
  .hero__title {
    font-size: 2rem;
  }
  .hero__br {
    display: none;
  }
  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    text-align: left;
  }
  .hero__stats li {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-2);
  }
  .hero__float {
    display: none;
  }
  .section-head {
    margin-bottom: var(--space-6);
  }
  .solution__grid {
    grid-template-columns: 1fr;
  }
  .how__steps {
    grid-template-columns: 1fr;
  }
  .showcase__inner {
    grid-template-columns: 1fr;
  }
  .phone-mockup__frame {
    width: 260px;
  }
  .phone-mockup__screen {
    min-height: 500px;
  }
  .reports__grid {
    grid-template-columns: 1fr;
  }
  .portrait {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: var(--space-5);
  }

  /* Сравнение → stacked cards */
  .compare__title {
    padding: var(--space-4);
    font-size: 1.1rem;
  }
  .compare__row {
    grid-template-columns: 1fr;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin: var(--space-3);
    overflow: hidden;
  }
  .compare__row:last-child {
    margin-bottom: var(--space-3);
  }
  .compare__row:nth-child(even) {
    background: transparent;
  }
  .compare__row--head {
    display: none;
  }
  .compare__cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: var(--space-3) var(--space-4);
  }
  .compare__cell--feature {
    background: var(--color-surface-2);
    font-weight: 700;
    color: var(--color-text);
  }
  .compare__cell--bad {
    background: rgba(239, 68, 68, 0.04);
  }
  .compare__cell--bad::before {
    content: 'Типичный сайт';
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-bad-dark);
    margin-bottom: 2px;
  }
  .compare__cell--good {
    background: rgba(16, 185, 129, 0.06);
  }
  .compare__cell--good::before {
    content: 'Этот каталог';
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #065f46;
    margin-bottom: 2px;
  }

  .faq__question {
    padding: var(--space-4);
    font-size: 0.95rem;
  }
  .faq__answer {
    padding: 0 var(--space-4);
  }
  .faq__answer p {
    padding-bottom: var(--space-4);
  }
  .cta__content {
    padding: var(--space-6) var(--space-4);
  }
  .cta__actions {
    flex-direction: column;
  }
  .cta__actions .btn {
    width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .scrolltop {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
