/* ═══════════════════════════════════════════════
   СОЛЬ — Experience Site 2026
   Dark · Glass · 3D · Premium

   Один файл стилей (без препроцессора).
   Секции в порядке следования на странице — см. docs/04-стили.md
   ═══════════════════════════════════════════════ */

/* Manrope + Onest — локально */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --bg-3: #111111;
  --graphite: #1a1a1a;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --text: #f4f4f4;
  --text-muted: #888;
  --text-dim: #555;
  --white: #ffffff;
  --light-bg: #f4f4f4;
  --light-surface: #ffffff;
  --light-border: #e5e5e5;
  --light-text: #0a0a0a;
  --light-muted: #666;
  --light-dim: #999;
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Manrope', system-ui, sans-serif;
  --hero-display: 'Onest', 'Manrope', system-ui, sans-serif;
  --header-h: 72px;
  --container: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(64px, 10vh, 120px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--light-text);
  background: var(--light-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.scroll-locked { overflow: hidden; }

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

img.media-img--portrait { object-position: center 38%; }

img.media-img--landscape { object-position: center center; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
a { cursor: pointer; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

@media (hover: none), (pointer: coarse) {
  body.is-touch button,
  body.is-touch a,
  body.is-touch .btn,
  body.is-touch .header__burger,
  body.is-touch .constructor__opt,
  body.is-touch summary {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    touch-action: manipulation;
  }
}

/* ─── Salt particles canvas ─── */
.salt-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  contain: strict;
}

/* ─── Typography ─── */
.section-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.35s var(--ease-out), background 0.3s, border-color 0.3s, box-shadow 0.35s, text-decoration-color 0.25s;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.btn:disabled:hover,
.btn:disabled:focus-visible {
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.hero--split .btn--primary,
.section--light .btn--primary {
  background: var(--light-text);
  color: var(--light-surface);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.hero--split .btn--primary:hover,
.section--light .btn--primary:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.15);
}

.btn--glass {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--invert {
  background: var(--white);
  color: var(--bg);
}

.btn--invert:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

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

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

.btn--lg { padding: 18px 36px; font-size: 11px; }

.btn--header {
  padding: 10px 18px;
  font-size: 10px;
  white-space: nowrap;
}

.btn--compact {
  padding: 10px 18px;
  font-size: 10px;
}

.btn--buy {
  background: var(--light-text);
  color: var(--light-surface);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
  animation: buyPulse 3.5s ease-in-out infinite;
}

.constructor .btn--buy,
.cta .btn--buy,
.sticky-cta .btn--buy,
.header--dark .btn--buy {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.16);
  animation: buyPulseLight 3.5s ease-in-out infinite;
}

.btn--buy:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  animation: none;
}

.constructor .btn--buy:hover,
.cta .btn--buy:hover,
.sticky-cta .btn--buy:hover,
.header--dark .btn--buy:hover {
  box-shadow: 0 10px 48px rgba(255, 255, 255, 0.22);
}

.btn--full {
  width: 100%;
  margin-top: 6px;
}

@keyframes buyPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3); }
}

@keyframes buyPulseLight {
  0%, 100% { box-shadow: 0 0 48px rgba(255, 255, 255, 0.16); }
  50% { box-shadow: 0 0 56px rgba(255, 255, 255, 0.28); }
}

.btn--dark {
  color: var(--light-text);
  border-color: var(--light-border);
}

.header--light .btn--header,
.header--light .btn--buy.btn--header {
  background: var(--light-text);
  color: var(--light-surface);
}

.header--dark .btn--header {
  background: var(--white);
  color: var(--bg);
}

.header__cta {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}

.header__nav--right {
  flex: 0 1 auto;
  width: auto;
  justify-content: flex-end;
  gap: clamp(20px, 2.6vw, 36px);
  margin-left: auto;
}

.header__nav--right .header__phone--desk {
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ─── 3D Logo ─── */
.logo-3d {
  perspective: 800px;
  height: 44px;
  display: flex;
  align-items: center;
}

.logo-3d--hero { height: 70px; }
.logo-3d--footer { height: 56px; }

.logo-3d__scene {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}

.logo-3d__spin {
  transform-style: preserve-3d;
  animation: logoFloat 8s ease-in-out infinite;
}

.logo-3d img,
.logo-3d__svg {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
}

.logo-3d img,
.logo-3d__svg {
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
}

.logo-3d--hero img,
.logo-3d--hero .logo-3d__svg {
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

@keyframes logoFloat {
  0%, 100% { transform: rotateY(-20deg) rotateX(10deg); }
  33%       { transform: rotateY(20deg) rotateX(-8deg); }
  66%       { transform: rotateY(-12deg) rotateX(-12deg); }
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, color 0.4s;
}

.header--light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--light-text);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-border);
}

.header--dark {
  background: rgba(5, 5, 5, 0.96);
  color: var(--text);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header--light.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.header--dark.scrolled {
  background: rgba(5, 5, 5, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  gap: clamp(12px, 2vw, 24px);
}

.header__zone {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
  min-width: 0;
}

.header__zone--left {
  justify-content: flex-start;
}

.header__zone--right {
  justify-content: flex-end;
  width: 100%;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__social {
  width: 16px;
  height: 16px;
  opacity: 0.55;
  transition: opacity 0.25s;
  flex-shrink: 0;
}

.header__social:hover { opacity: 1; }
.header__social svg { width: 100%; height: 100%; }

.header__social--mobile {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  opacity: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}

.header__social--mobile.header__social--tg {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  box-shadow: none;
}

.header__social--mobile.header__social--tg svg {
  width: 24px;
  height: 24px;
}

.header__social--mobile.header__social--tg:hover {
  background: transparent;
  border: none;
  color: #fff;
  box-shadow: none;
  opacity: 0.75;
  transform: none;
}

.header--light .header__social--mobile.header__social--tg {
  background: transparent;
  border: none;
  color: var(--light-text);
}

.header--light .header__social--mobile.header__social--tg:hover {
  color: var(--light-text);
  opacity: 0.65;
}

.header--light .header__nav a:not(.btn) { color: var(--light-muted); }
.header--light .header__nav a:not(.btn):hover { color: var(--light-text); }
.header--light .header__phone { color: var(--light-muted); }
.header--light .header__phone:hover { color: var(--light-text); }
.header--light .header__btn {
  border-color: var(--light-border);
  color: var(--light-text);
}
.header--light .header__btn:hover { background: rgba(0, 0, 0, 0.05); }
.header--light .header__burger span { background: var(--light-text); }
.header--light .logo-3d img,
.header--light .logo-3d__svg {
  filter: none;
}

.header--dark .header__nav a:not(.btn) { color: var(--text-muted); }
.header--dark .header__nav a:not(.btn):hover { color: var(--white); }
.header--dark .header__phone { color: var(--text-muted); }
.header--dark .header__phone:hover { color: var(--white); }

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  padding: 0 8px;
}

.header__logo::before,
.header__logo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: clamp(24px, 4vw, 48px);
  height: 1px;
  background: currentColor;
  opacity: 0.12;
}

.header__logo::before { right: calc(100% + 8px); }
.header__logo::after  { left: calc(100% + 8px); }

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
  flex-shrink: 0;
}

.header__nav a:not(.btn) {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s, text-decoration-color 0.25s;
}

.header__nav a:not(.btn):hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 0;
}

.header__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: background 0.25s, border-color 0.25s;
}

.header__btn svg { width: 16px; height: 16px; }
.header__btn:hover { background: var(--glass); border-color: rgba(255,255,255,0.15); }

.header__phone {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s;
  white-space: nowrap;
}

.header__burger {
  display: none;
  position: relative;
  z-index: 230;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.header__burger span {
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s;
}

.header__burger.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header__burger.active span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

body.menu-open .header {
  z-index: 250;
}

body.menu-open .header__burger span {
  background: var(--white);
}

body.menu-open .header__burger.active span {
  height: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 220;
  padding: calc(var(--header-h) + 24px) 24px 32px;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.35s, visibility 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, color 0.25s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }

.mobile-menu a:hover { color: var(--text-muted); }

.mobile-menu__close {
  position: fixed;
  top: calc(var(--safe-top) + 8px);
  right: calc(12px + var(--safe-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  pointer-events: none;
}

.mobile-menu__close span:first-child { transform: rotate(45deg); }
.mobile-menu__close span:last-child { transform: rotate(-45deg); }

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--split {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + var(--safe-top));
  background: var(--light-surface);
  color: var(--light-text);
  box-sizing: border-box;
}

.hero--cinema {
  min-height: auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + var(--safe-top));
  padding-bottom: clamp(12px, 2vw, 20px);
  background: #000;
  color: var(--white);
  box-sizing: border-box;
}

.hero__cinema {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero__cinema-copy {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 48px) clamp(12px, 2vw, 20px);
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero--cinema .hero__title {
  font-family: var(--hero-display);
  font-size: clamp(36px, 6.2vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: clamp(18px, 2.5vw, 28px);
  color: var(--white);
  max-width: 14em;
  text-wrap: balance;
}

.hero--cinema .hero__lead {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

.hero--cinema .hero__actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero--cinema .btn--primary {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.12);
}

.hero--cinema .btn--primary:hover {
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.hero--cinema .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero--cinema .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.hero__carousel {
  width: 100%;
  overflow: hidden;
  margin-top: clamp(12px, 2.5vh, 36px);
  padding: clamp(16px, 2.5vw, 32px) 0 clamp(8px, 1.2vw, 14px);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.hero__carousel:active,
.hero__carousel.is-dragging {
  cursor: grabbing;
}

.hero__carousel.is-dragging .hero__carousel-item {
  pointer-events: none;
}

.hero__carousel-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
  padding: 8px clamp(20px, 4vw, 48px) 12px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: none;
}

.hero__carousel-item {
  flex: 0 0 clamp(220px, 26vw, 320px);
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: clamp(18px, 2.2vw, 28px);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__carousel-item picture,
.solution-card__media picture,
.cat-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.hero__carousel-item:hover img {
  transform: scale(1.04);
}

.hero--cinema .hero__foot {
  margin-top: clamp(24px, 4vh, 48px);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero--cinema .hero__marquee {
  background: transparent;
  border-bottom: none;
  padding: clamp(14px, 2.2vw, 20px) 0 clamp(4px, 0.8vw, 8px);
}

.hero--cinema .hero__marquee-set {
  gap: clamp(48px, 5vw, 72px);
}

.hero--cinema .hero__marquee-set span {
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  flex: 1 1 auto;
  padding-top: clamp(24px, 3.5vw, 44px);
  padding-bottom: clamp(16px, 2vw, 24px);
  min-height: 0;
}

.hero__foot {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  background: var(--light-surface);
  border-top: 1px solid var(--light-border);
}

.hero--split .hero__content {
  padding-top: 0;
  text-align: left;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light-dim);
  margin-bottom: 20px;
}

.hero--split .hero__title {
  font-family: var(--hero-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--light-text);
  background: none;
  -webkit-text-fill-color: currentColor;
  max-width: 16em;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__title-mark {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--light-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__lead--brand {
  font-family: var(--hero-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--light-muted);
  max-width: 11.5em;
  margin-bottom: 32px;
  text-wrap: balance;
}

.hero--split .hero__actions {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.hero__guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.hero__guarantees li {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--light-border);
  border-radius: 100px;
  color: var(--light-muted);
  background: var(--light-surface);
}

.hero--split .hero__stats {
  justify-content: flex-start;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
  border-top-color: var(--light-border);
}

.hero--split .hero__stats span { color: var(--light-muted); }

.hero__visual {
  position: relative;
  min-height: clamp(280px, 32vw, 380px);
}

.hero__visual--solo {
  min-height: clamp(260px, 34vw, 360px);
}

.hero__frame--solo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 34vw, 360px);
  border-radius: var(--radius-lg);
}

.hero__frame {
  position: absolute;
  overflow: hidden;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  transition: transform 0.5s var(--ease-out);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__frames-mini {
  display: contents;
}

.hero__frame--1 {
  width: 55%;
  height: 65%;
  top: 0;
  right: 0;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  z-index: 2;
}

.hero__frame--2 {
  width: 42%;
  height: 48%;
  bottom: 8%;
  left: 0;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  z-index: 3;
}

.hero__frame--3 {
  width: 30%;
  height: 35%;
  top: 12%;
  left: 18%;
  border-radius: 50%;
  z-index: 1;
}

.hero__visual:hover .hero__frame--1 { transform: rotate(-1deg) scale(1.02); }
.hero__visual:hover .hero__frame--2 { transform: rotate(1.5deg) translateY(-4px); }

.hero__badge {
  position: absolute;
  bottom: 0;
  right: 10%;
  background: var(--light-text);
  color: var(--light-surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 100px;
  z-index: 4;
  max-width: min(92%, 280px);
  text-align: center;
  line-height: 1.35;
}

.hero__marquee {
  border-bottom: 1px solid var(--light-border);
  padding: 12px 0;
  overflow: hidden;
  background: var(--light-surface);
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 32s linear infinite;
}

.hero__marquee-set {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  padding-right: 40px;
}

.hero__marquee-set span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-dim);
  white-space: nowrap;
}

/* legacy dark hero (unused) */
.hero:not(.hero--split) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 8vh, 80px);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.hero__glow--2 {
  width: 40vw;
  height: 40vw;
  bottom: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding-top: var(--header-h);
}

.hero__orbit {
  position: relative;
  width: min(70vw, 600px);
  height: min(70vw, 600px);
  transform-style: preserve-3d;
  contain: layout style;
}

.hero__object {
  position: absolute;
  width: clamp(100px, 14vw, 160px);
  height: clamp(120px, 16vw, 180px);
  top: 50%;
  left: 50%;
  margin: calc(clamp(60px, 8vw, 90px) * -1) 0 0 calc(clamp(50px, 7vw, 80px) * -1);
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 72deg)) translateZ(clamp(180px, 28vw, 280px));
  transition: transform 0.1s ease-out;
}

.hero__object img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.hero__logo-center {
  position: absolute;
  z-index: 2;
  transform: translateZ(60px);
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 40vh;
}

.hero__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}

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

.hero__stats strong {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__stats span {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
  border-bottom: none;
  padding: 12px 0;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(8px);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 32s linear infinite;
}

.marquee__set {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  padding-right: 40px;
}

.marquee__set span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.hero__scroll {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.hero__scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ═══ MANIFEST ═══ */
.manifest {
  height: 250vh;
  position: relative;
}

.manifest__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 80px);
  background: var(--bg);
}

.manifest__text {
  font-family: var(--display);
  font-size: clamp(28px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 1100px;
}

.manifest__word {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0.12;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-out);
}

.manifest__word.visible {
  opacity: 1;
  transform: translateY(0);
}

.manifest__word--break {
  display: block;
  height: 0;
  margin: 0;
}

.manifest__word--break + .manifest__word {
  margin-top: 0.1em;
}

/* ═══ LIGHT SECTIONS ═══ */
.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}

.section-label--dark { color: var(--light-dim); }

.section-desc--dark { color: var(--light-muted); }

.section-title--dark {
  color: var(--light-text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* ═══ ABOUT ═══ */
.about {
  padding: var(--section-y) 0;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about__text {
  font-size: 15px;
  color: var(--light-muted);
  line-height: 1.7;
  max-width: 480px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about__card {
  background: var(--light-surface);
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.about__card:hover {
  border-color: var(--light-text);
  transform: translateY(-3px);
}

.about__card--accent {
  background: var(--light-text);
  color: var(--light-surface);
  border-color: var(--light-text);
}

.about__card--accent .about__num { color: rgba(255, 255, 255, 0.25); }
.about__card--accent p { color: var(--light-dim); }

.about__num {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--light-border);
  margin-bottom: 12px;
  line-height: 1;
}

.about__card h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.about__card p {
  font-size: 13px;
  color: var(--light-muted);
  line-height: 1.55;
}

/* ═══ POPULAR CAROUSEL ═══ */
.popular,
.studio,
.lab,
.constructor,
.cta {
  --section-label-color: rgba(255, 255, 255, 0.45);
  --section-desc-color: rgba(255, 255, 255, 0.72);
}

.popular .section-label,
.studio .section-label,
.lab .section-label,
.constructor .section-label,
.cta .section-label {
  color: var(--section-label-color);
}

.popular .section-title,
.studio .section-title,
.lab .section-title,
.constructor .section-title {
  color: var(--text);
}

.popular .section-desc,
.studio .section-desc,
.lab .section-desc,
.constructor .section-desc {
  color: var(--section-desc-color);
}

.popular {
  padding: var(--section-y) 0;
  position: relative;
  background: var(--bg);
}

.popular__intro {
  margin-bottom: 20px;
}

.popular__intro .section-desc { max-width: 520px; }

.popular__carousel-shell {
  position: relative;
}

.popular__carousel {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  min-height: 300px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.popular__nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

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

.popular__nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.popular__nav:active { transform: scale(0.94); }

.popular__nav--prev { left: clamp(10px, 2vw, 28px); }

.popular__nav--next { right: clamp(10px, 2vw, 28px); }

.popular__carousel:active,
.popular__carousel.is-dragging { cursor: grabbing; }

.popular__carousel.is-dragging .cat-card { pointer-events: none; }

.popular__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 0 clamp(20px, 4vw, 48px);
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.cat-card {
  position: relative;
  flex: 0 0 clamp(200px, 16vw, 240px);
  width: clamp(200px, 16vw, 240px);
  text-decoration: none;
  color: inherit;
}

.cat-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-3);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.cat-card:hover .cat-card__inner {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

.cat-card__media {
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ececec;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}

.cat-card:hover .cat-card__media img { transform: scale(1.05); }

.cat-card__name {
  flex-shrink: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text);
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, minmax(60px, 1fr));
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  min-height: 70vh;
}

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease-out);
}

.tile:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.04);
}

.tile__shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--tx, 50%) var(--ty, 50%), rgba(255,255,255,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  pointer-events: none;
}

.tile:hover .tile__shine { opacity: 1; }

.tile__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  transition: transform 0.6s var(--ease-out);
}

.tile:hover .tile__media { transform: scale(1.08) translateZ(20px); }

.tile__media img {
  max-width: 85%;
  max-height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transition: filter 0.4s;
}

.tile:hover .tile__media img {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)) brightness(1.05);
}

.tile__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  z-index: 3;
}

.tile__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 4px;
}

.tile__info h3 {
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tile--xl  { grid-column: 1 / 6;  grid-row: 1 / 6; }
.tile--lg  { grid-column: 6 / 10; grid-row: 1 / 5; border-radius: var(--radius) var(--radius-lg) var(--radius-lg) var(--radius); }
.tile--md  { grid-column: 10 / 13; grid-row: 1 / 4; border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius-lg); }
.tile--wide { grid-column: 6 / 13; grid-row: 5 / 9; border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius-lg); }
.tile--tall { grid-column: 1 / 6;  grid-row: 6 / 9; border-radius: var(--radius) var(--radius-lg) var(--radius-lg) var(--radius); }

/* ─── Popular carousel (mobile) ─── */
.carousel {
  display: none;
  margin-top: 32px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.carousel:active,
.carousel.is-dragging { cursor: grabbing; }

.carousel.is-dragging .pop-card { pointer-events: none; }

.carousel__track {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 12px clamp(20px, 4vw, 48px) 20px;
  will-change: transform;
}

.pop-card {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-3);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.pop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.pop-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a1a, #111);
  overflow: hidden;
}

.pop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 2vw, 20px);
  transition: transform 0.5s var(--ease-out);
}

.pop-card:hover .pop-card__media img { transform: scale(1.04); }

.pop-card__label {
  padding: 14px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-2);
  border-top: 1px solid var(--glass-border);
}

.pop-card--tall {
  width: clamp(200px, 22vw, 260px);
  margin-bottom: 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
}

.pop-card--tall .pop-card__media { height: clamp(260px, 28vw, 320px); }

.pop-card--wide {
  width: clamp(280px, 30vw, 360px);
  border-radius: 4px var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.pop-card--wide .pop-card__media { height: clamp(200px, 22vw, 260px); }

.pop-card--compact {
  width: clamp(180px, 18vw, 220px);
  margin-bottom: 40px;
}

.pop-card--compact .pop-card__media { height: clamp(180px, 18vw, 220px); }

.pop-card--offset {
  width: clamp(220px, 24vw, 280px);
  margin-bottom: 12px;
  border-radius: var(--radius-lg) 4px var(--radius-lg) var(--radius-lg);
}

.pop-card--offset .pop-card__media { height: clamp(240px, 26vw, 300px); }

.pop-card--square {
  width: clamp(190px, 20vw, 240px);
  margin-bottom: 32px;
  border-radius: 4px;
}

.pop-card--square .pop-card__media { height: clamp(190px, 20vw, 240px); }

/* ═══ CONSTRUCTOR ═══ */
.constructor {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  position: relative;
}

.constructor__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.constructor__panel {
  padding: 14px clamp(20px, 2.8vw, 32px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.constructor__panel--wide {
  min-height: 0;
}

.constructor__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

.constructor__step-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
}

.constructor__options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.constructor__opt {
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.constructor__opt:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.constructor__opt.active {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
  font-weight: 700;
  box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.constructor__form {
  margin-top: 12px;
}

.constructor__form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.constructor__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.constructor__field-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.constructor__field input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.constructor__field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.constructor__field input:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.42);
}

.constructor__form-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 10px;
}

.constructor__form-footer .cta__consents {
  min-width: 0;
}

.constructor__checkbox {
  margin: 0;
}

.constructor__checkbox .cta__checkbox-text {
  font-size: 10px;
  line-height: 1.35;
}

.constructor__cta {
  width: auto;
  margin-top: 0;
  min-height: 40px;
  padding: 10px 18px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.constructor__visual {
  min-width: 0;
}

.box-scene {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
  perspective: 900px;
}

.box-scene__glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  filter: blur(36px);
  animation: boxGlow 4s ease-in-out infinite;
}

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

.box-scene__box {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #1e1e1e 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  transform: rotateX(6deg) rotateY(-10deg);
  transform-style: preserve-3d;
  box-shadow: 0 32px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}

.box-scene:hover .box-scene__box {
  transform: rotateX(3deg) rotateY(-5deg);
}

.box-scene__lid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform-origin: top;
  transform: rotateX(-24deg);
  transition: transform 0.6s var(--ease-out);
}

.box-scene__lid-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.box-scene:hover .box-scene__lid { transform: rotateX(-42deg); }

.box-scene__items {
  position: absolute;
  inset: 20% 10% 10%;
  display: grid;
  gap: 10px;
}

.box-scene__items[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  align-content: center;
  align-items: center;
}

.box-scene__items[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}

.box-scene__items[data-count="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}

.box-item {
  display: none;
  width: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.box-scene__items[data-count="3"] .box-item.visible {
  aspect-ratio: 1;
  height: auto;
}

.box-scene__items[data-count="4"] .box-item.visible,
.box-scene__items[data-count="6"] .box-item.visible {
  aspect-ratio: 1;
  height: auto;
}

.box-item.visible {
  display: block;
  opacity: 1;
  transform: none;
}

.box-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.box-scene__caption {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* ═══ STUDIO: процесс ═══ */
.studio {
  padding: var(--section-y) 0;
  background: var(--bg-2);
}

.studio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.studio__desc {
  max-width: 360px;
  text-align: right;
}

.studio__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  margin-bottom: 20px;
  counter-reset: none;
}

.studio__step {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background 0.3s;
}

.studio__step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.studio__step span {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  margin-bottom: 10px;
}

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

.studio__tech span {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
}

.studio__step h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.studio__step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* legacy horizontal process */
.process__wrapper {
  height: 350vh;
  position: relative;
}

.process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.process__header { margin-bottom: 40px; }

.process__track {
  display: flex;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  transform: translate3d(0, 0, 0);
}

.process__scene {
  flex-shrink: 0;
  width: clamp(300px, 38vw, 420px);
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.process__scene:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.process__index {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dim);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.process__scene h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.process__scene p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.process__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}

.process__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s, transform 0.6s var(--ease-out);
}

.process__scene:hover .process__visual img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.process__progress {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  height: 2px;
  background: var(--glass-border);
  border-radius: 2px;
}

.process__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ═══ VIDEO ═══ */
.video-block {
  padding: clamp(64px, 10vh, 120px) 0;
}

.video-block .section-title { margin-bottom: 32px; }

.video-block__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.video-block__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
}

.video-block__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.75);
}

.video-block__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.video-block__play svg { width: 28px; height: 28px; margin-left: 3px; }

.video-block__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

/* ═══ WORKS ═══ */
.works {
  padding: var(--section-y) 0;
}

.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.works__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  white-space: nowrap;
}

.works__link:hover { color: var(--white); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 12px;
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
}

.works__grid--portfolio {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: var(--container);
  margin-top: 24px;
}

.works__grid--portfolio .work-card {
  grid-column: span 1;
  min-height: 0;
  aspect-ratio: 1;
}

.works__grid--portfolio .work-card--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.works__grid--portfolio .work-card__overlay h3 {
  font-size: clamp(14px, 1.8vw, 18px);
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--glass-border);
  grid-column: span 4;
  min-height: 280px;
  transform-style: preserve-3d;
}

.work-card--hero { grid-column: span 8; grid-row: span 2; min-height: 480px; }
.work-card--tall { grid-row: span 2; }
.work-card--wide { grid-column: span 8; }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: grayscale(20%) brightness(0.85);
}

.work-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.7);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.work-card:hover .work-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.work-card__overlay h3 {
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.work-card__overlay p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ LAB ═══ */
.lab {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg-2);
}

.lab__desc {
  margin-bottom: 48px;
  max-width: 560px;
}

.lab__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lab__card {
  position: relative;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), background 0.4s;
}

.lab__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-4px);
}

.lab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  line-height: 1;
}

.lab__card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.lab__card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.lab__glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.lab__card:hover .lab__glow { opacity: 1; }

/* ═══ NEW PRODUCTS ═══ */
.new {
  padding: clamp(80px, 12vh, 140px) 0;
}

.new__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.new__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-muted);
  transition: color 0.25s;
  white-space: nowrap;
}

.new__link:hover { color: var(--light-text); }

.section--light .product {
  background: var(--light-surface);
  border-color: var(--light-border);
}

.section--light .product:hover {
  border-color: var(--light-text);
}

.section--light .product__img {
  background: linear-gradient(160deg, #fafafa, #f0f0f0);
}

.section--light .product__info h3 a { color: var(--light-text); }

.product__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  color: var(--light-muted);
}

.section--light .product__meta { color: var(--light-muted); }

.product__price {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--light-text);
}

.new__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.product-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-surface);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card:hover {
  border-color: var(--light-text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-card__img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ececec;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease-out);
}

.pack-card .product-card__img {
  background: #e8e8e8;
}

.cat-card__media img.media-img--portrait,
.product-card__img img.media-img--portrait,
.hero__frame img.media-img--portrait {
  object-position: center 38%;
}

.product-card:hover .product-card__img img { transform: scale(1.04); }

.product-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.product-card__body h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0;
}

.product-card__body h3 a { color: var(--light-text); }

.product-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--light-muted);
}

.product-card__price {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--light-text);
}

.product-card__desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--light-muted);
  flex: 1;
}

.product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.product-card__qty {
  font-size: 11px;
  color: var(--light-muted);
  white-space: nowrap;
}

/* ═══ SHOP GRID ═══ */
.shop {
  padding: var(--section-y) 0;
  background: var(--light-bg);
}

.shop__head {
  margin-bottom: 24px;
}

.shop__head .section-desc {
  max-width: 520px;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* ═══ REVIEWS CAROUSEL ═══ */
.reviews-carousel__hint {
  margin: -8px 0 22px;
  font: 500 13px/1.4 var(--font);
  color: var(--light-muted);
}

.reviews-carousel {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  margin-bottom: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.reviews-carousel:active,
.reviews-carousel.is-dragging {
  cursor: grabbing;
}

.reviews-carousel.is-dragging .review-slide {
  pointer-events: none;
}

.reviews-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 4px clamp(16px, 4vw, 48px) 8px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  /* без CSS transition — движение через rAF, иначе рывки */
}

.review-slide {
  flex: 0 0 clamp(280px, 42vw, 380px);
  width: clamp(280px, 42vw, 380px);
  min-height: 200px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.review-slide:hover {
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 14px 36px rgba(10, 10, 10, 0.07);
  transform: translateY(-2px);
}

.review-slide__stars {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--light-text);
  opacity: 0.85;
}

.review-slide__text {
  margin: 0;
  flex: 1;
  font: 500 clamp(14px, 1.5vw, 16px)/1.55 var(--font);
  color: var(--light-text);
  letter-spacing: -0.01em;
}

.review-slide__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
  border-top: 1px solid var(--light-border);
}

.review-slide__author strong {
  font: 700 13px/1.3 var(--font);
  color: var(--light-text);
}

.review-slide__author span {
  font: 500 12px/1.3 var(--font);
  color: var(--light-muted);
}

.reviews-carousel__footer {
  margin-bottom: 36px;
  text-align: center;
}

.reviews-carousel__yandex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1.3 var(--font);
  color: var(--light-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.reviews-carousel__yandex:hover {
  color: var(--light-text);
  border-bottom-color: rgba(10, 10, 10, 0.25);
}

/* ═══ CLIENTS CAROUSEL ═══ */
.clients {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.clients__intro {
  margin-bottom: 28px;
}

.clients__carousel {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.clients__carousel:active,
.clients__carousel.is-dragging { cursor: grabbing; }

.clients__carousel.is-dragging .clients__slot { pointer-events: none; }

.clients__track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 4px clamp(16px, 4vw, 48px) 8px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* клоны карусели не участвуют в tab-навигации */
.clients__slot[data-carousel-clone],
.review-slide[data-carousel-clone] {
  pointer-events: none;
}

.clients__slot {
  flex: 0 0 clamp(180px, 30vw, 240px);
  width: clamp(180px, 30vw, 240px);
  min-height: 96px;
  padding: 18px 20px;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.clients__slot:hover {
  border-color: var(--light-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.clients__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
}

.clients__logo--wide {
  max-height: 80px;
}

.clients__logo--tall {
  max-height: 84px;
}

.clients__logo--aisi {
  width: auto;
  max-width: 88%;
  max-height: 48px;
}

.faq-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.faq-compact__item {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--light-surface);
  overflow: hidden;
}

.faq-compact__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-compact__item summary::-webkit-details-marker { display: none; }

.faq-compact__item p {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--light-muted);
  line-height: 1.55;
}

/* ═══ CTA ═══ */
.cta {
  position: relative;
  padding: var(--section-y) 0 clamp(48px, 6vh, 72px);
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body.has-sticky-cta .cta {
  padding-bottom: calc(72px + var(--safe-bottom));
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.cta__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.cta__sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: -24px auto 36px;
  line-height: 1.6;
}

.cta__title {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  background: linear-gradient(180deg, var(--white), rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 1;
  margin-bottom: 28px;
  overflow: visible;
}

.cta__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cta__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.cta__field-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.cta__field-optional {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.35);
}

.cta__form input:not([type="checkbox"]):not([type="file"]) {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.cta__form input:not([type="checkbox"]):not([type="file"])::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta__form input:not([type="checkbox"]):not([type="file"]):hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.42);
}

.cta__form input:not([type="checkbox"]):not([type="file"]):focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.cta__submit {
  width: 100%;
  justify-content: center;
}

.cta__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Lead modal ─── */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) 16px calc(16px + var(--safe-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.lead-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.lead-modal__box {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - var(--header-h) - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(165deg, #1a1a1a 0%, #101010 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.lead-modal.active .lead-modal__box {
  transform: translateY(0) scale(1);
}

.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s, background 0.2s;
}

.lead-modal__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.lead-modal__close svg {
  width: 18px;
  height: 18px;
}

.lead-modal__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.lead-modal__title {
  font-family: var(--display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 10px;
  padding-right: 40px;
}

.lead-modal__summary {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 20px;
}

.lead-modal__form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ─── Overlays ─── */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-h) + 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.search-panel.active { opacity: 1; visibility: visible; }

.search-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.search-panel__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(520px, 90vw);
  background: var(--light-surface);
  color: var(--light-text);
  border-radius: 100px;
  padding: 14px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(-12px);
  transition: transform 0.3s var(--ease-out);
}

.search-panel.active .search-panel__box { transform: translateY(0); }

.search-panel__box svg { width: 18px; height: 18px; color: var(--light-dim); flex-shrink: 0; }

.search-panel__box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font);
  background: transparent;
  color: var(--light-text);
}

.search-panel__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.search-panel__close:hover { opacity: 1; }
.search-panel__close svg { width: 18px; height: 18px; }

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-panel.active { opacity: 1; visibility: visible; }

.cart-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.cart-panel__box {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100%;
  background: var(--light-surface);
  color: var(--light-text);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.2);
}

.cart-panel.active .cart-panel__box { transform: translateX(0); }

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.cart-panel__head h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.cart-panel__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-panel__close:hover { background: var(--light-bg); }
.cart-panel__close svg { width: 20px; height: 20px; }

.cart-panel__empty {
  flex: 1;
  font-size: 14px;
  color: var(--light-muted);
  line-height: 1.6;
}

.cart-panel__cta { width: 100%; margin-top: 24px; }

.cart-panel .btn--primary {
  background: var(--light-text);
  color: var(--light-surface);
}

/* ═══ FOOTER ═══ */
.footer {
  padding: clamp(48px, 8vh, 80px) 0 calc(32px + var(--safe-bottom));
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-bottom: 40px;
}

.footer__contacts-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 16px;
}

.footer__phone {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--white);
  transition: opacity 0.25s;
  line-height: 1.1;
}

.footer__phone:hover { opacity: 0.8; }

.footer__address {
  font-size: clamp(12px, 1.4vw, 13px);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
  max-width: 42ch;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.footer__socials a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--glass);
}

.footer__socials a.footer__social--tg,
.footer__socials a.footer__social--vk {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1.5px solid #101828;
  color: #101828;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.footer__socials a.footer__social--tg:hover,
.footer__socials a.footer__social--vk:hover {
  background: #fff;
  border-color: #101828;
  color: #101828;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

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

.footer__socials a.footer__social--tg svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer__socials a.footer__social--vk svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.footer__callback {
  padding: 14px 32px;
  width: fit-content;
  max-width: 100%;
}

.footer .btn--buy {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.12);
  animation: buyPulseLight 3.5s ease-in-out infinite;
}

.footer .btn--buy:hover {
  box-shadow: 0 10px 48px rgba(255, 255, 255, 0.22);
}

.footer__brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__nav a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

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

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  font-size: 11px;
  color: var(--text-dim);
}

.footer__meta a { transition: color 0.25s; }
.footer__meta a:hover { color: var(--text); }

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

.footer__credit {
  margin-left: auto;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s;
}

.footer__credit:hover {
  color: var(--text);
}

.footer__map-wrap {
  margin-bottom: 40px;
}

/* Официальный виджет Яндекс.Карт (код из конструктора) */
.footer__map-widget {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(280px, 42vw, 400px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: #1a1f2e;
}

.footer__map-widget-seo {
  color: #eee;
  font-size: 12px;
  position: absolute;
  left: 0;
  z-index: 1;
}

.footer__map-widget-seo--1 { top: 0; }
.footer__map-widget-seo--2 { top: 14px; }
.footer__map-widget-seo--3 { top: 28px; }

.footer__map-widget iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer__address a {
  color: inherit;
  word-break: break-word;
  transition: color 0.25s;
}

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

/* ─── Reveal animations ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

/* Скрываем только после включения JS — без скриптов контент виден */
html.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--instant,
.reveal--instant.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  z-index: 500;
  transform: translateX(-50%) translateY(120%);
  padding: 14px 28px;
  background: var(--white);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease-spring), opacity 0.4s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast--success {
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  line-height: 1.45;
  background: #f4f1ea;
  color: #0a0a0a;
  border: 1px solid rgba(10, 10, 10, 0.08);
}

/* ═══ GEO ═══ */
.geo {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--light-bg);
}

.geo__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.geo__text {
  margin: 16px 0 28px;
  color: var(--light-muted);
  max-width: 520px;
  line-height: 1.7;
}

.geo__list {
  display: grid;
  gap: 12px;
}

.geo__item {
  padding: 20px 22px;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.geo__item strong {
  font-size: 14px;
  font-weight: 700;
}

.geo__item span {
  font-size: 13px;
  color: var(--light-muted);
}

/* ═══ PROMO CTA ═══ */
.promo-cta {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--bg-2);
  border-block: 1px solid var(--glass-border);
}

.promo-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.promo-cta__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.promo-cta__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 10px;
}

.promo-cta__text {
  color: var(--text-muted);
  max-width: 520px;
}

.promo-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══ FAQ ═══ */
.faq {
  padding: clamp(40px, 5vw, 64px) 0;
}

.faq__layout {
  max-width: 1040px;
  margin: 0 auto;
}

.faq__head {
  margin-bottom: 20px;
}

.faq__title {
  margin-top: 8px;
  margin-bottom: 0;
}

.faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  background: var(--light-surface);
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  min-height: 68px;
  padding: 18px 22px;
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  white-space: nowrap;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  color: var(--light-dim);
  line-height: 1;
  transition: transform 0.25s;
}

.faq__item[open] summary::after { content: '−'; }

.faq__item p {
  padding: 0 22px 18px;
  color: var(--light-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* ═══ CTA extras ═══ */
.cta__optional {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: none;
  letter-spacing: 0;
}

.cta__legal {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

/* ═══ SCROLL TO TOP ═══ */
.scroll-top {
  position: fixed;
  left: calc(16px + var(--safe-left));
  bottom: calc(80px + var(--safe-bottom));
  z-index: 118;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #101828;
  border-radius: 50%;
  background: #fff;
  color: #101828;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s, box-shadow 0.25s;
}

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

.scroll-top.is-visible:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.scroll-top:active {
  transform: scale(0.94);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

body.has-sticky-cta .scroll-top {
  bottom: calc(72px + var(--safe-bottom));
}

@media (max-width: 768px) {
  .scroll-top {
    left: calc(12px + var(--safe-left));
    bottom: calc(72px + var(--safe-bottom));
  }

  body.has-sticky-cta .scroll-top {
    bottom: calc(124px + var(--safe-bottom));
  }
}

/* ═══ STICKY CTA ═══ */
.sticky-cta {
  position: fixed;
  left: calc(16px + var(--safe-left));
  bottom: calc(12px + var(--safe-bottom));
  z-index: 119;
  transform: translateY(calc(100% + 24px));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

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

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--light-text);
  color: var(--white);
  border: 1.5px solid var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.25s;
}

.sticky-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.sticky-cta__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sticky-cta__close:hover {
  background: rgba(10, 10, 10, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.sticky-cta__close svg {
  width: 12px;
  height: 12px;
}

body.is-touch .sticky-cta { cursor: auto; }

body.is-touch .sticky-cta__close {
  width: 36px;
  height: 36px;
}

body.is-touch .sticky-cta__btn:hover {
  transform: none;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1280px) {
  .header__nav--left {
    gap: clamp(16px, 1.8vw, 24px);
  }

  .header__nav--right {
    gap: clamp(16px, 2vw, 28px);
  }
}

@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__zone--right { gap: 8px; width: auto; }
  .header__burger { display: flex; }

  .header__logo::before,
  .header__logo::after { display: none; }

  .about__layout { grid-template-columns: 1fr; }

  .hero__grid {
    grid-template-columns: 1fr;
    flex: 0 1 auto;
  }

  .hero--split {
    min-height: auto;
  }

  .hero__visual {
    order: -1;
    max-height: min(42vh, 320px);
  }
  .studio__steps { grid-template-columns: repeat(3, 1fr); }
  .studio__desc { text-align: left; }
  .new__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .review-slide {
    flex-basis: min(86vw, 340px);
    width: min(86vw, 340px);
    min-height: 190px;
    padding: 24px 22px;
  }

  .constructor__layout {
    grid-template-columns: 1fr;
  }

  .lab__grid { grid-template-columns: repeat(2, 1fr); }

  .work-card { grid-column: span 6; min-height: 240px; }
  .work-card--hero { grid-column: span 12; min-height: 360px; }
  .work-card--wide { grid-column: span 12; }

  .footer__main { grid-template-columns: 1fr; }

  .footer__cta-block { order: -1; }

  .footer__brand-block {
    align-items: flex-start;
    order: 0;
  }

  .footer__nav { justify-content: flex-start; }

  .faq-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 12px;
  }

  .header__zone--left { display: none; }

  .header__logo {
    justify-content: flex-start;
    padding: 0;
    min-width: 0;
  }

  .logo-3d img,
  .logo-3d__svg {
    width: auto;
    height: 32px;
  }

  .header__zone--right {
    gap: 6px;
    flex-shrink: 0;
  }

  .header__btn {
    width: 40px;
    height: 40px;
  }

  .header__contacts { display: none; }

  .header__social--mobile { display: flex; }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .section-title {
    font-size: clamp(26px, 8vw, 40px);
  }

  .hero--split .hero__title {
    font-size: clamp(26px, 7.5vw, 38px);
    max-width: 14em;
    letter-spacing: -0.025em;
  }

  .hero--cinema .hero__title {
    font-size: clamp(30px, 9vw, 44px);
    max-width: none;
  }

  .hero--cinema .hero__lead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero__pill {
    font-size: 10px;
    padding: 8px 16px;
    margin-bottom: 20px;
  }

  .hero__carousel-item {
    flex-basis: clamp(180px, 48vw, 240px);
  }

  .hero__carousel {
    margin-top: clamp(8px, 2vh, 24px);
  }

  .hero--cinema .hero__foot {
    margin-top: clamp(20px, 3vh, 36px);
  }

  .hero--cinema .hero__marquee-set span {
    font-size: 12px;
  }

  .hero--cinema .hero__process-line {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .hero__carousel {
    -webkit-mask-image: none;
    mask-image: none;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .hero__lead--brand {
    font-size: clamp(20px, 6vw, 28px);
    max-width: 10.5em;
  }

  .hero__grid {
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 28px;
    min-height: 0;
  }

  .hero__lead {
    max-width: none;
    margin-bottom: 24px;
  }

  .hero__visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    min-height: 0;
    max-height: min(38vh, 280px);
    padding-bottom: 0;
    overflow: hidden;
  }

  .hero__frames-mini {
    display: contents;
  }

  .hero__frame {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 1;
  }

  .hero__frame img {
    object-fit: cover;
    object-position: center center;
  }

  .hero__frame img.media-img--portrait {
    object-position: center 38%;
  }

  .hero__visual:hover .hero__frame--1,
  .hero__visual:hover .hero__frame--2,
  .hero__visual:hover .hero__frame--3 {
    transform: none;
  }

  .hero__badge {
    grid-column: 1 / -1;
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: center;
    margin-top: 6px;
    max-width: 100%;
    font-size: 11px;
    padding: 13px 22px;
  }

  .hero--split .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--split .hero__actions .btn {
    width: 100%;
  }

  .hero__stats { flex-direction: column; gap: 12px; }

  .hero__orbit { width: 90vw; height: 90vw; }
  .hero__object { transform: rotateY(calc(var(--i) * 72deg)) translateZ(140px); }
  .hero:not(.hero--split) .hero__content { padding-top: 50vh; }
  .hero--split .hero__content { padding-top: 0; }

  .popular,
  .shop,
  .about,
  .constructor,
  .studio,
  .lab,
  .works,
  .new,
  .clients,
  .cta,
  .solutions,
  .faq {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .popular__carousel { min-height: 300px; }

  .popular__nav {
    width: 38px;
    height: 38px;
    top: 40%;
  }

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

  .cat-card {
    flex-basis: min(72vw, 220px);
    width: min(72vw, 220px);
  }

  .cat-card__media {
    aspect-ratio: 4 / 5;
  }

  .about__grid { grid-template-columns: 1fr; }

  .constructor__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .constructor__step--style,
  .constructor__desc-style {
    display: none;
  }

  .constructor__panel {
    padding: 14px 16px;
  }

  .constructor__form-fields {
    grid-template-columns: 1fr;
  }

  .constructor__form-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .constructor__cta {
    width: 100%;
  }

  .box-scene__box {
    transform: none;
  }

  .box-scene:hover .box-scene__box,
  .box-scene:hover .box-scene__lid {
    transform: none;
  }

  .box-scene__lid {
    transform: none;
    height: 14%;
  }

  .studio__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .studio__desc {
    text-align: left;
    max-width: none;
  }

  .studio__steps { grid-template-columns: 1fr; }

  .lab__grid { grid-template-columns: 1fr; }

  .faq__list { grid-template-columns: 1fr; }

  .faq-compact { grid-template-columns: 1fr; }

  .works__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .works__grid--portfolio {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .works__grid--portfolio .work-card,
  .works__grid--portfolio .work-card--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .new__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .new__grid { grid-template-columns: 1fr; }

  .shop__grid { grid-template-columns: 1fr; }

  .reviews-carousel__hint {
    margin-bottom: 16px;
  }

  .cta__title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .cta__form {
    padding: 20px 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .cta__fields { grid-template-columns: 1fr; }
  .cta__form--visible { max-height: none; }

  .sticky-cta {
    left: calc(12px + var(--safe-left));
    right: auto;
    width: auto;
    max-width: none;
    transform: translateY(calc(100% + 20px));
    justify-content: flex-start;
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta__btn {
    min-width: 168px;
  }

  .toast.show { bottom: 64px; }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
    max-width: none;
  }

  .footer__main { gap: 32px; }

  .footer__phone {
    font-size: clamp(24px, 7vw, 34px);
  }

  .footer__address { max-width: none; }

  .footer__callback {
    width: 100%;
    justify-content: center;
  }

  .footer__map-widget {
    height: clamp(260px, 58vw, 340px);
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer__meta { flex-direction: column; gap: 8px; }

  .footer__credit { margin-left: 0; }

  .clients__slot {
    flex-basis: min(62vw, 200px);
    width: min(62vw, 200px);
    min-height: 80px;
    padding: 16px 14px;
  }

  .clients__logo {
    max-height: 60px;
  }

  .clients__logo--wide {
    max-height: 68px;
  }

  .clients__logo--tall {
    max-height: 72px;
  }

  .clients__logo--aisi {
    max-height: 40px;
    max-width: 92%;
  }

  .mobile-menu a {
    font-size: clamp(22px, 6.5vw, 30px);
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .constructor__options {
    gap: 6px;
  }

  .constructor__opt {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    padding: 12px 10px;
  }

  .clients__slot {
    flex-basis: min(68vw, 168px);
    width: min(68vw, 168px);
  }

  .cat-card {
    flex-basis: 78vw;
    width: 78vw;
  }
}

/* ─── Performance: off-screen sections ─── */
.constructor,
.shop,
.works,
.lab,
.new {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ═══ TZ: Solutions, Cases, Metrics ═══ */
.hero__process-line {
  padding: 16px clamp(20px, 4vw, 48px) clamp(20px, 3vh, 28px);
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-muted);
  text-align: center;
  background: var(--light-surface);
}

.solutions {
  padding: var(--section-y) 0;
  background: var(--light-bg);
  border-top: 1px solid var(--light-border);
  scroll-margin-top: var(--header-h);
  position: relative;
  z-index: 2;
}

.solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(32px, 5vh, 56px);
  background: linear-gradient(180deg, var(--light-surface) 0%, var(--light-bg) 100%);
  pointer-events: none;
}

.solutions > .container {
  position: relative;
  z-index: 1;
}

.solutions .section-desc {
  max-width: min(100%, 52rem);
  line-height: 1.55;
  text-wrap: pretty;
  hyphens: none;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.solution-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.solution-card:hover {
  border-color: var(--light-text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.solution-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececec;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}

.solution-card:hover .solution-card__media img {
  transform: scale(1.04);
}

.solution-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.solution-card__body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.solution-card__body p {
  font-size: 13px;
  color: var(--light-muted);
  line-height: 1.55;
}

.solution-card__compose,
.solution-card__budget {
  font-size: 12px;
  color: var(--light-text);
  margin-top: auto;
}

.solution-card__body .btn {
  width: 100%;
  margin-top: 4px;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.metrics li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metrics strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.metrics span {
  font-size: 11px;
  color: var(--light-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: var(--section-y);
}

.case-card {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  min-height: 100%;
}

.case-card__media {
  position: relative;
  min-height: 100%;
  background: var(--bg-2);
  overflow: hidden;
}

.case-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}

.case-card__img--color {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover .case-card__img--color {
    opacity: 1;
  }

  .case-card:hover .case-card__img--default {
    opacity: 0;
  }

  .case-card:hover .case-card__img {
    transform: scale(1.03);
  }
}

@media (hover: none), (pointer: coarse) {
  .case-card__img--default {
    display: none;
  }

  .case-card__img--color {
    position: static;
    opacity: 1;
  }
}

.case-card__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.case-card__body > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.case-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-card__body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.case-card__meta {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.case-card__meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
}

.case-card__meta dt {
  color: var(--text-dim);
  font-weight: 600;
}

.case-card__meta dd {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.case-card__quote {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 12px;
}

.packs__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pack-card__time {
  font-size: 11px;
  color: var(--light-muted);
}

.studio__steps--8 {
  grid-template-columns: repeat(4, 1fr);
}

.constructor__result {
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.constructor__result-summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.4;
}

.constructor__result-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.constructor__disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

.trust-note {
  margin-top: 24px;
  text-align: center;
}

.trust-note p {
  font-size: 12px;
  color: var(--light-muted);
  letter-spacing: 0.04em;
}

.cta__fields--wide {
  grid-template-columns: repeat(2, 1fr);
}

.cta__field--full {
  grid-column: 1 / -1;
}

.cta__form select,
.cta__form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
}

.cta__form select:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.cta__form textarea {
  resize: vertical;
  min-height: 88px;
}

.cta__form input[type="file"] {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.cta__form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta__consents {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.cta__checkbox-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.cta__checkbox a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta__checkbox a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.cta__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 1px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--white);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio__steps--8 { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .solutions__grid { grid-template-columns: 1fr; }
  .packs__grid { grid-template-columns: 1fr; }
  .studio__steps--8 { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .cta__fields--wide { grid-template-columns: 1fr; }
}

/* ─── Reduced motion ─── */
.reduced-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

@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;
  }

  .marquee__track,
  .hero__marquee-track { animation: none; }
  .logo-3d__spin { animation: none; }
  .hero__scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .manifest__word { opacity: 1; transform: none; }
  .salt-canvas { display: none; }
}

@media (max-width: 768px) {
  .salt-canvas { display: none; }

  .header--light.scrolled,
  .header--dark.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .btn--glass,
  .process__scene {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .process__wrapper { height: 280vh; }

  .hero__object img {
    padding: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }

  .manifest { height: 180vh; }
}

/* ═══ Site chat ═══ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Jivo выше sticky CTA / scroll-top */
jdiv,
#jivo_custom_widget,
#jivo-iframe-container,
.jv-label,
.jv-button {
  z-index: 10040 !important;
}

/* если осталась старая запасная кнопка в кэше — не перекрывать Jivo */
html.jivo-ready .site-chat-btn,
.site-chat-btn[hidden] {
  display: none !important;
  pointer-events: none !important;
}

/* ═══ ADAPTIVE POLISH (mobile · tablet · desktop) ═══ */
.hero__grid > *,
.footer__main > *,
.solutions__grid > *,
.packs__grid > *,
.cta__inner,
.constructor__layout > * {
  min-width: 0;
}

.header {
  padding-top: var(--safe-top);
  height: calc(var(--header-h) + var(--safe-top));
}

.mobile-menu {
  padding-top: calc(var(--header-h) + var(--safe-top) + 24px);
  padding-bottom: calc(32px + var(--safe-bottom));
  padding-left: calc(24px + var(--safe-left));
  padding-right: calc(24px + var(--safe-right));
}

@media (min-width: 769px) and (max-width: 1100px) {
  .header__inner {
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
  }

  .hero__visual {
    max-height: min(36vh, 300px);
  }

  .footer__main {
    gap: 40px;
  }

  .footer__address {
    max-width: 36ch;
  }
}

@media (min-width: 1101px) {
  .footer__main {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer__cta-block {
    max-width: 520px;
  }

}

@media (min-width: 1280px) {
  :root {
    --container: 1320px;
    --section-y: clamp(72px, 9vh, 128px);
  }

  .hero__grid {
    gap: clamp(48px, 5vw, 80px);
  }

  .footer__map-widget {
    height: clamp(300px, 28vw, 400px);
  }
}

@media (max-width: 480px) {
  .hero--split .hero__title {
    font-size: clamp(26px, 7.8vw, 34px);
  }

  .hero__visual {
    max-height: min(34vh, 240px);
    gap: 8px;
  }

  .footer__contacts-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__phone {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .faq-compact {
    grid-template-columns: 1fr;
  }

  .cta__sub {
    margin-top: -16px;
    font-size: 14px;
  }

}

/* ═══ MOBILE ADAPTATION ═══ */
@media (max-width: 768px) {
  main {
    overflow-x: clip;
  }

  .section-desc,
  .about__text,
  .cta__sub,
  .studio__desc,
  .lab__desc,
  .solution-card__body p {
    max-width: none;
  }

  .hero__cinema-copy {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }

  .hero--cinema .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero--cinema .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero__carousel-track {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }

  .btn,
  .constructor__opt {
    min-height: 44px;
  }

  .faq__item summary {
    min-height: 56px;
  }

  .cta__form input:not([type="checkbox"]):not([type="file"]),
  .cta__form select,
  .cta__form textarea,
  .constructor__field input {
    font-size: 16px;
  }

  .case-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .case-card__img {
    min-height: 0;
    height: 100%;
  }

  .case-card__body {
    padding: 18px 16px;
  }

  .case-card__body > .btn {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }

  .case-card__meta div {
    grid-template-columns: minmax(72px, 32%) 1fr;
  }

  .solution-card__body {
    padding: 16px;
  }

  .constructor__opt {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .constructor__form-footer {
    gap: 14px;
  }

  .constructor__cta {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .about__card {
    padding: 18px 16px;
  }

  .lead-modal {
    padding-left: calc(12px + var(--safe-left));
    padding-right: calc(12px + var(--safe-right));
    align-items: flex-end;
  }

  .lead-modal__backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .lead-modal__box {
    width: 100%;
    max-height: min(92dvh, calc(100dvh - var(--header-h) - var(--safe-bottom) - 12px));
    padding: 20px 16px calc(20px + var(--safe-bottom));
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .footer__address {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .is-touch .solution-card:hover,
  .is-touch .case-card:hover .case-card__img,
  .is-touch .btn--primary:hover,
  .is-touch .studio__step:hover,
  .is-touch .lab__card:hover {
    transform: none;
  }

  .is-touch .solution-card:hover {
    box-shadow: none;
  }

  .review-slide {
    border-radius: var(--radius);
  }
}

@media (max-width: 480px) {
  .hero--cinema .hero__title {
    font-size: clamp(26px, 8.2vw, 34px);
  }

  .case-card__meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .case-card__meta dt {
    font-size: 11px;
  }

  .constructor__opt {
    flex: 1 1 100%;
  }

  .hero__carousel-item {
    flex-basis: min(72vw, 200px);
  }

  .section-title,
  .section-title--dark {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .cta__title {
    font-size: clamp(24px, 7.5vw, 36px);
    margin-bottom: 28px;
  }

  .faq__item summary {
    min-height: 52px;
    font-size: clamp(16px, 4.6vw, 18px);
    padding: 14px 16px;
  }

  .faq__item p {
    padding: 0 16px 14px;
    font-size: 13px;
  }

  .studio__step,
  .lab__card {
    padding: 18px 16px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header__inner {
    padding: 0 8px;
  }

  .hero__pill {
    font-size: 9px;
    padding: 7px 12px;
  }

  .cases__grid {
    padding-left: 12px;
    padding-right: 12px;
  }
}