@charset "UTF-8";
/* ============================================================
   Landing (главная/гостевая) — стили перенесены 1:1 из прототипа
   Источник: rodax-dev/main/styles.css
   Подключается ТОЛЬКО на лендинге (/), page-scoped.
   ============================================================ */
@font-face {
  font-family: "Metrika";
  src: url("/assets/guest/fonts/Metrika.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Racama";
  src: local("Racama"), local("Racama Regular");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #111113;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --card: #1a1a1e;
  --card-border: rgba(255, 255, 255, 0.1);
  /* монохромные акценты вместо синего */
  --accent-a: #ffffff;
  --accent-b: #a3a3a3;
  --accent-cta-text: #0a0a0a;
  --blue-premium-1: #0049bb;
  --blue-premium-2: #1f4fcf;
  --blue-premium-3: #122a6f;
  --blue-premium-border: #0049bb;
  --brand-blue: #0049bb;
  --brand-blue-hover: #003fa3;
  --pricing-card-hover-frame:
    0 0 0 1.5px rgba(128, 174, 255, 0.68),
    0 0 0 3px rgba(33, 79, 184, 0.24);
  /* Активная карточка: «сапфировый ободок» — светлый кант, синий слой, тёмный внешний контур (1px + 1px + 1px) */
  --pricing-card-active-frame:
    0 0 0 1px rgba(175, 210, 255, 0.65),
    0 0 0 2px rgba(42, 88, 195, 0.78),
    0 0 0 3px rgba(6, 10, 22, 0.92);
  /* Горизонтальные поля контента (масштабируются с шириной экрана) */
  --page-gutter-fluid: clamp(12px, 3.8vw, 32px);
  /* слайдер и шапка — одна сетка отступов */
  --hero-media-gap-x: 14px;
  --hero-slide-radius: 18px;
  --hero-media-gap-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  --topbar-inset-top: env(safe-area-inset-top, 0px);
  --topbar-offset-top: clamp(10px, 1.6vw, 16px);
  --topbar-panel-height: 40px;
  --topbar-after-slider-gap: 0px;
  --hero-media-gap-top: calc(
    var(--topbar-inset-top) + var(--topbar-offset-top) + var(--topbar-panel-height) + var(--topbar-after-slider-gap)
  );
  --section-title-size: clamp(1.25rem, 2.4vw, 1.85rem);
  --section-title-gap: clamp(24px, 3.2vw, 40px);
  --section-kicker-gap: clamp(10px, 1.6vw, 16px);
}

:is(.btn.primary:not(.pricing-plan-card__cta):not(.nav-cta):not(.sphere-gallery-kling__cta):not(.pricing-offer__cta)) {
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  filter: none;
}

:is(.btn.primary:not(.pricing-plan-card__cta):not(.nav-cta):not(.sphere-gallery-kling__cta):not(.pricing-offer__cta)):hover,
:is(.btn.primary:not(.pricing-plan-card__cta):not(.nav-cta):not(.sphere-gallery-kling__cta):not(.pricing-offer__cta)):focus-visible {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff !important;
  filter: none;
}

:is(.sphere-gallery-kling__cta, .pricing-offer__cta.btn.primary) {
  filter: drop-shadow(0 0 6px rgba(83, 136, 232, 0.24));
}

:is(.sphere-gallery-kling__cta, .pricing-offer__cta.btn.primary):hover,
:is(.sphere-gallery-kling__cta, .pricing-offer__cta.btn.primary):focus-visible {
  filter: drop-shadow(0 0 9px rgba(83, 136, 232, 0.32));
}

/* ===== Hero Spec Redesign ===== */
:root {
  --hero-spec-gutter: clamp(24px, 8vw, 160px);
  --hero-neon-cyan: #00e5ff;
}

.topbar--spec {
  top: 0;
  padding: max(22px, env(safe-area-inset-top, 0px)) 0 0;
  pointer-events: auto;
}

.topbar--spec .topbar-panel {
  width: min(100%, 100% - 2 * var(--hero-spec-gutter));
  min-height: 42px;
  margin-inline: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.topbar--spec .nav {
  min-height: 42px;
}

.topbar--spec .brand {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(0.86rem, 1vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar--spec .brand-accent {
  color: var(--hero-neon-cyan);
}

.topbar--spec .nav-actions {
  gap: clamp(8px, 1.8vw, 20px);
}

.topbar--spec .nav-actions a {
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.topbar--spec .nav-actions a:hover {
  color: #ffffff;
  transform: none;
}

.topbar--spec .nav-actions .nav-signin {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.22);
}

.hero--spec {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 38%, #101419 0%, #050607 34%, #000000 70%);
  overflow: hidden;
}

.hero--spec .hero-shell--spec {
  min-height: 100vh;
  min-height: 100dvh;
  width: min(100%, 100% - 2 * var(--hero-spec-gutter));
  margin-inline: auto;
  position: relative;
}

.hero-spec__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-spec__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(90px);
  animation: heroSpecFloat 34s ease-in-out infinite alternate;
}

.hero-spec__blob--cyan {
  width: clamp(220px, 34vw, 540px);
  height: clamp(220px, 34vw, 540px);
  left: 10%;
  top: 15%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.75) 0%, rgba(0, 229, 255, 0) 70%);
}

.hero-spec__blob--white {
  width: clamp(180px, 26vw, 420px);
  height: clamp(180px, 26vw, 420px);
  right: 12%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 72%);
  animation-delay: 4s;
}

.hero-copy--spec {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: min(860px, 100%);
  margin: 0 auto;
  padding: max(74px, var(--topbar-panel-height) + 54px) 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-spec__spacer--top {
  height: clamp(72px, 10vh, 120px);
}

.hero-logo--spec {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-shadow: none;
}

.hero-spec__subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Space Mono", "Inter", monospace;
  font-size: clamp(0.8rem, 1.2vw, 0.98rem);
  letter-spacing: 0.03em;
}

.hero-spec__number {
  margin: clamp(18px, 3.5vh, 34px) 0 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(4.8rem, 20vw, 12rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.36);
}

.hero-spec__chip {
  margin: clamp(16px, 2.8vh, 24px) 0 0;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: "Space Mono", "Inter", monospace;
  font-size: clamp(0.74rem, 1vw, 0.9rem);
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.02em;
}

.hero-spec__cta {
  margin-top: clamp(14px, 2vh, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.18);
}

.hero-spec__spacer--bottom {
  height: clamp(44px, 8vh, 80px);
}

.hero-spec__panel {
  width: min(100%, 980px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: clamp(18px, 2.4vw, 26px);
  display: grid;
  gap: 6px;
}

.hero-spec__panel p {
  margin: 0;
  font-family: "Space Mono", "Inter", monospace;
  font-size: clamp(0.8rem, 1vw, 0.94rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

@keyframes heroSpecFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(26px, -22px, 0) scale(1.08);
  }
}
@media (max-width: 900px) {
  .topbar--spec .topbar-panel {
    width: min(100%, 100% - 2 * clamp(16px, 4.2vw, 26px));
  }
  .topbar--spec .nav-actions {
    gap: 10px;
  }
  .topbar--spec .nav-actions a:not(.nav-signin) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-spec__blob {
    animation: none;
  }
}
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: transparent;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

html {
  background: #000000;
}

html {
  overflow-x: visible;
  overflow-y: auto;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: #0a0a0a #1f1f1f;
}

/* Ползунок скролла страницы (главный контент): чёрный, в рамке */
html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #1f1f1f;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  box-sizing: border-box;
}

html::-webkit-scrollbar-thumb {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-sizing: border-box;
}

html::-webkit-scrollbar-thumb:hover {
  background: #121212;
}

body {
  overflow-x: visible;
  overflow-y: visible;
  max-width: 100%;
  overflow-wrap: break-word;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* нельзя overflow-x: hidden — 3D-карусель выводит слайды за край при перетаскивании */
main {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  flex: 1 0 auto;
}

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

img {
  height: auto;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.05), transparent 32%), radial-gradient(circle at 84% 0%, rgba(255, 255, 255, 0.035), transparent 34%), linear-gradient(180deg, #18181a 0%, #111113 45%, #0c0c0e 100%);
}

.container {
  width: min(1140px, 100% - 2 * var(--page-gutter-fluid));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

.nav-anchor {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.topbar {
  position: fixed !important;
  top: calc(var(--topbar-inset-top) + var(--topbar-offset-top));
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
  pointer-events: none;
  transform: none !important;
}

/* LOCK: топбар всегда фиксированный поверх hero-оверлеев */
header.topbar {
  position: fixed !important;
  top: calc(var(--topbar-inset-top) + var(--topbar-offset-top)) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1200 !important;
  transform: none !important;
}

.topbar-panel {
  pointer-events: auto;
  position: relative;
  width: min(560px, 100% - 2 * var(--page-gutter-fluid));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  min-height: var(--topbar-panel-height);
  padding: 4px 12px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: visible;
  border: none;
  background: rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.topbar-panel::before {
  display: none;
}

@media (prefers-reduced-transparency: reduce) {
  .topbar-panel {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.nav {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-actions a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  font-weight: 400;
  padding: 6px 12px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-actions a:hover:not(.nav-cta) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-actions .nav-cta {
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  border-color: transparent;
  border: none;
  filter: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-actions .nav-cta:hover {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.nav-actions .nav-cta:active {
  transform: scale(0.99);
  transition-duration: 0.12s;
}

.nav-actions .nav-cta:not(:hover) {
  animation: none;
}

/* Планшет и телефон: зона нажатия как в гайдлайнах (~44px), без отдельного coarse-pointer */
@media (max-width: 1024px) {
  .nav-actions a {
    min-height: 44px;
    padding: 10px clamp(12px, 3.2vw, 16px);
    font-size: clamp(0.72rem, 2.5vw, 0.82rem);
  }
  .topbar-panel {
    padding-inline: clamp(10px, 3vw, 14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-actions .nav-cta:not(:hover) {
    animation: none;
  }
  .nav-actions .nav-cta,
  .nav-actions .nav-cta:hover,
  .nav-actions .nav-cta:active {
    transition-duration: 0.15s;
  }
}
.hero {
  position: relative;
  padding-top: 0;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000000;
}

.hero--bubbles {
  display: grid;
  place-items: center;
  background: #000000;
}

.hero-bubbles {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
  isolation: isolate;
}

.hero-bubble {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.95;
  filter: saturate(1.05);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.hero-bubble--xl {
  width: clamp(360px, 48vw, 760px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.hero-bubble--lg {
  width: clamp(190px, 24vw, 360px);
  top: 10%;
  left: 8%;
}

.hero-bubble--md {
  width: clamp(160px, 20vw, 300px);
  right: 8%;
  top: 16%;
}

.hero-bubble--sm {
  width: clamp(130px, 16vw, 240px);
  left: 14%;
  bottom: 8%;
}

.hero-bubble--xs {
  width: clamp(110px, 12vw, 180px);
  right: 18%;
  bottom: 11%;
}

.hero-shell {
  width: min(1360px, 100% - 2 * var(--page-gutter-fluid));
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(88px, 10vh, 132px) 0 max(clamp(36px, 9vh, 72px), env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  box-sizing: border-box;
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  min-height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero-copy__panel {
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: clamp(18px, 3vw, 28px) 0 clamp(12px, 2vw, 20px);
  border-radius: 20px;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Заголовок + лид: без blur, чтобы просвечивала сетка за текстом */
.hero-copy-glass {
  box-sizing: border-box;
  width: 100%;
  max-width: 42rem;
  margin-top: 22px;
  padding: clamp(14px, 2.2vw, 22px) clamp(16px, 2.8vw, 28px);
  border-radius: clamp(16px, 2.2vw, 22px);
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.hero-copy .hero-copy-glass h1 {
  margin-top: 0;
}

.hero-copy .hero-copy-glass .hero-lead {
  margin-top: 14px;
}

@media (prefers-reduced-transparency: reduce) {
  .hero-copy-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.hero-logo {
  margin: 0;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f5f5;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.85), 0 4px 24px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-logo-accent {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 14px rgba(255, 255, 255, 0.2));
}

/* AI STUDIO над RODAX — справа сверху, без прозрачных краёв */
.hero-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  align-self: center;
  margin: 0 auto;
}

.hero-ai-studio {
  margin: 0 0 clamp(4px, 0.9vw, 9px);
  display: block;
  width: -moz-max-content;
  width: max-content;
  text-align: right;
  color: #f5f8ff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  line-height: 1.05;
  letter-spacing: 0.22em;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px clamp(14px, 2vw, 18px);
  border-radius: 999px;
  background: linear-gradient(90deg, #1a52d4 0%, #2f78ff 42%, #2766f0 72%, #1f4fcf 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-media {
  position: relative;
  inset: auto;
  z-index: 0;
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
  border: none;
  background: #000000;
  padding: 0;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 0;
}

.hero-media--fullscreen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  aspect-ratio: unset;
  border-radius: 0;
  z-index: 0;
  pointer-events: none;
}

/* без серо-синего тона: только нейтральное лёгкое затемнение по краям для читаемости текста */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: none;
}

.hero-media--fullscreen::before {
  border-radius: 0;
  background: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background: none;
}

.hero-media--fullscreen::after {
  border-radius: 0;
  background: none;
}

.hero-media__single {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero-media__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  filter: brightness(1) saturate(1.05);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-media--fullscreen .hero-media__image {
  -o-object-position: left bottom;
     object-position: left bottom;
  min-height: 100%;
  min-width: 100%;
}

@media (max-width: 980px) {
  .hero-shell {
    min-height: 100dvh;
    padding: clamp(90px, 12vw, 122px) 0 max(clamp(28px, 10vh, 64px), env(safe-area-inset-bottom, 0px));
  }
  .hero-copy__panel {
    width: min(100%, 720px);
    align-items: flex-start;
    text-align: left;
  }
  /* Flow: убрать сдвиг вправо (2cm), блок с текстом и кнопкой — к левому краю с отступом gutter */
  .hero--flow {
    --hero-flow-copy-shift-x: 0px;
  }
  .hero--flow .hero-shell {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: max(var(--page-gutter-fluid), env(safe-area-inset-left, 0px)) max(var(--page-gutter-fluid), env(safe-area-inset-right, 0px));
  }
  .hero--flow .hero-copy__panel {
    align-items: center;
    text-align: center;
  }
}
.hero-super {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero-super .hero-swiper {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-super .swiper-wrapper {
  height: 100% !important;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hero-super .swiper-slide {
  height: 100% !important;
  border-radius: 0;
}

.hero-super .super-flow-image img:not(.super-flow-fragment) {
  filter: brightness(1) saturate(1.05);
}

/* Видео в слайде (Super Flow фрагменты строятся только для img — для video переход остаётся обычным) */
.hero-super .super-flow-image video {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  filter: brightness(1) saturate(1.05);
}

.hero-super .super-flow-content {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: 28px 18px 44px !important;
  box-sizing: border-box;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  inset-inline-start: 0 !important;
  font-size: inherit !important;
  line-height: 1.35 !important;
  pointer-events: none;
}

.hero-super .hero-slide-text {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-super .hero-slide-text h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-super .hero-slide-text p {
  margin: 6px 0 0;
  color: rgba(245, 245, 245, 0.85);
  font-size: 0.8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-super .hero-swiper-pagination {
  bottom: max(20px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 20;
}

.hero-super .swiper-super-flow .swiper-pagination-bullets {
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-horizontal-gap: 6px;
  --swiper-pagination-color: #ffffff;
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.45);
  --swiper-pagination-bullet-inactive-opacity: 1;
  background: rgba(24, 28, 36, 0.45);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  padding: 10px 14px !important;
}

.hero-super .swiper-super-flow .swiper-pagination-bullets.swiper-pagination-horizontal {
  left: 50%;
  transform: translateX(-50%);
  width: auto !important;
}

.hero-super.super-flow-fallback .swiper-slide:not(:first-child),
.hero-super.super-flow-fallback .hero-swiper-pagination {
  display: none !important;
}

.kicker {
  margin: 0 0 var(--section-kicker-gap);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.hero-copy h1 {
  margin: 22px 0 0;
  max-width: 38rem;
  font-family: "Racama", "Bebas Neue", "Inter", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.75);
}

.hero-copy .hero-lead {
  margin: 14px 0 0;
  max-width: 42rem;
  color: rgba(212, 212, 212, 0.9);
  font-size: clamp(0.78rem, 1.45vw, 0.92rem);
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-actions .btn {
  font-size: 0.74rem;
  padding: 7px 12px;
  border-radius: 10px;
}

.hero-actions .btn.primary {
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  filter: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-actions .btn.primary:hover,
.hero-actions .btn.primary:focus-visible {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.hero-actions .btn.primary:active {
  transform: scale(0.99);
}

.hero--flow .hero-shell {
  /* Контент по центру основного блока (shell) поверх сетки */
  z-index: 3;
  justify-content: center;
  align-items: center;
  padding: max(clamp(48px, 7vh, 96px), env(safe-area-inset-top, 0px)) max(var(--page-gutter-fluid), env(safe-area-inset-right, 0px)) max(clamp(48px, 7vh, 96px), env(safe-area-inset-bottom, 0px)) max(var(--page-gutter-fluid), env(safe-area-inset-left, 0px));
}

.hero--flow {
  /* Зазор в панели между блоками (синхронно с .hero-copy__panel gap) */
  --hero-flow-panel-gap: 0px;
  /* Отступ кнопки от предыдущего блока (синхронно с .hero-actions margin-top) */
  --hero-flow-actions-mt: 0px;
  /* Чуть воздуха у текста слева/справа внутри lockup и лида */
  --hero-flow-text-pad-x: clamp(5px, 1vw, 12px);
  /* Внутренний отступ слева: только текст уходит вправо, граница плашки на месте */
  --hero-flow-plate-text-pad-inline-start: clamp(14px, 2.4vw, 36px);
  --hero-flow-copy-shift-x: 0px;
  /* RODAX компактнее; заголовок — прежний calc от опорной шкалы (--hero-flow-heading-from-fs) */
  --hero-flow-rodax-word-fs: clamp(0.98rem, 3.7vw, 2.6rem);
  --hero-flow-heading-from-fs: clamp(1.96rem, 7.3vw, 5.2rem);
  --hero-flow-rodax-word-lh: 0.84;
  --hero-flow-title-block-radius: clamp(12px, 1.5vw, 18px);
  --hero-flow-title-block-height: calc(var(--hero-flow-rodax-word-fs) * var(--hero-flow-rodax-word-lh) + clamp(2px, 0.35vw, 5px));
  --hero-flow-heading-2lh: 1.1;
  --hero-flow-font-ai-studio: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --hero-flow-font-rodax: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  /* CTA: непрозрачный градиент без ухода в alpha 0 у краёв кнопки */
  --hero-flow-cta-fill: linear-gradient(
    90deg,
    #1a52d4 0%,
    #1f58da 12%,
    #2866e2 32%,
    #2f78ff 52%,
    #2c6deb 72%,
    #1f4fcf 100%
  );
  --hero-flow-cta-fill-hover: linear-gradient(
    90deg,
    #174aab 0%,
    #1a50b8 14%,
    #245fd8 38%,
    #2e74f3 58%,
    #2866e5 82%,
    #174499 100%
  );
}

.hero--flow .hero-copy {
  position: relative;
  container-type: inline-size;
  container-name: hero-flow-copy;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Текстовая колонка поверх медиа */
.hero--flow .hero-copy > * {
  position: relative;
  z-index: 1;
}

/*
 * Обёртка: AI STUDIO … кнопка.
 */
.hero--flow .hero-flow-copy-column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  text-align: center;
  gap: 0;
}

.hero--flow .hero-flow-copy-column > .hero-flow-copy-stack,
.hero--flow .hero-flow-copy-column > .hero-actions {
  position: relative;
  z-index: 1;
}

.hero--flow .hero-flow-copy-column .hero-actions {
  margin-top: 0;
}

/*
 * AI STUDIO + RODAX (в lockup) + заголовок + лид.
 */
.hero--flow .hero-flow-copy-stack {
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  gap: 0;
  padding-block: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: visible;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* RODAX + AI STUDIO в одной строке внутри lockup */
.hero--flow .hero-flow-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  box-sizing: border-box;
  width: 100%;
  gap: 0;
  text-align: center;
  padding-inline: 0;
}

.hero--flow .hero-flow-brand-lockup .hero-logo {
  margin-top: 0;
}

/* RODAX + заголовок */
.hero--flow .hero-flow-rodax-block {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

/* Одна строка: RODAX, затем плашка AI STUDIO */
.hero--flow .hero-flow-rodax-titleline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  align-self: center;
  gap: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero--flow .hero-flow-rodax-titleline .hero-logo {
  flex-shrink: 0;
  margin-top: 0;
}

.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker {
  margin-top: 0;
  flex: 0 1 auto;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.hero--flow .hero-flow-rodax-titleline .hero-logo,
.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio {
  display: inline-flex;
  position: relative;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  height: var(--hero-flow-title-block-height);
  min-height: var(--hero-flow-title-block-height);
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: 0;
  padding-inline: clamp(14px, 2.3vw, 28px);
  font-size: var(--hero-flow-rodax-word-fs);
  line-height: var(--hero-flow-rodax-word-lh);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  background: #000000;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
}

.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio {
  font-family: var(--hero-flow-font-ai-studio) !important;
}

.hero--flow .hero-flow-rodax-titleline .hero-logo .hero-flow-title-text,
.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio .hero-flow-title-text {
  display: block;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  transform: translateY(clamp(1px, 0.13vw, 2px));
}

.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio {
  border-radius: var(--hero-flow-title-block-radius) 0 0 var(--hero-flow-title-block-radius);
}

.hero--flow .hero-flow-rodax-titleline .hero-logo {
  border-radius: 0 var(--hero-flow-title-block-radius) var(--hero-flow-title-block-radius) 0;
  font-family: var(--hero-flow-font-rodax) !important;
  background: #000000;
}

.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio {
  background: #ffffff;
  color: #0a0a0a;
}

.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: clamp(18px, 3.1vw, 44px);
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.86) 52%, rgba(255, 255, 255, 0) 100%);
}

.hero--flow .hero-flow-rodax-titleline .hero-logo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: clamp(18px, 3.1vw, 44px);
  background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.86) 52%, rgba(0, 0, 0, 0) 100%);
}

/* RODAX + titleline сверху, под ним — двухстрочный заголовок */
.hero--flow .hero-flow-rodax-heading-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  align-self: center;
  gap: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Blur только для текста: заголовок + лид (без блока RODAX/AI STUDIO и без кнопки) */
.hero--flow .hero-flow-text-glass {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  /* Ширина по содержимому (заголовок + лид), не уже колонки; только не вылезать за shell */
  max-width: 100%;
  min-width: 0;
  align-self: center;
  margin-inline: auto;
  margin-top: 0;
  /* Воздух «по краям текста» — заметнее, чем у кнопки/общий --hero-flow-text-pad-x */
  padding: clamp(10px, 1.4vw, 16px) clamp(14px, 2.4vw, 32px) clamp(12px, 1.6vw, 18px);
  box-sizing: border-box;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.hero--flow .hero-flow-text-glass::before {
  display: none;
}

.hero.hero--flow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: block;
  background: radial-gradient(52% 44% at 100% 100%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.12) 38%, rgba(0, 0, 0, 0.04) 66%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.2) 14%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.08) 66%, rgba(0, 0, 0, 0.2) 86%, rgba(0, 0, 0, 0.32) 100%);
}

/* Иначе дети с width:100% растягивают «стекло» на всю колонку — blur снова на всю ширину */
.hero--flow .hero-flow-text-glass h1.hero-copy__heading--flow {
  width: auto;
  max-width: 100%;
}

.hero--flow .hero-flow-text-glass .hero-copy-glass {
  width: auto;
  max-width: 100%;
  align-self: stretch;
}

.hero--flow .hero-flow-rodax-heading-row .hero-logo {
  flex-shrink: 0;
  margin-top: 0;
}

.hero--flow .hero-flow-rodax-heading-row .hero-copy__heading--flow {
  flex: 0 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.hero--flow .hero-flow-copy-stack > * {
  position: relative;
  z-index: 1;
}

.hero--flow .hero-copy__panel {
  position: relative;
  width: min(100%, 920px);
  align-items: center;
  align-self: center;
  text-align: center;
  padding-block: clamp(12px, 2vw, 20px);
  padding-inline: 0;
  gap: var(--hero-flow-panel-gap);
  overflow: visible;
  margin-inline: auto;
  transform: none;
}

@media (max-width: 980px) {
  .hero--flow .hero-copy__panel {
    transform: none;
  }
}
/* hero::before настраивается выше в секции hero-flow-text-glass */
.hero--flow .hero-copy-glass {
  margin-top: 0;
  margin-inline: 0;
  padding-block: clamp(2px, 0.55vw, 6px) 0;
  padding-inline: 0;
  align-self: center;
  max-width: none;
  width: 100%;
  text-align: center;
  overflow-x: visible;
  overflow-y: visible;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.hero--flow .hero-copy .hero-copy-glass .hero-lead {
  margin-top: 0;
}

.hero--flow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(140px, 22vh, 260px);
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.74) 22%, rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0.2) 68%, rgba(0, 0, 0, 0.06) 84%, rgba(0, 0, 0, 0) 100%);
}

/* Hero-сетка: полупрозрачное затемнение + мягкие градиенты (ступени через rgba с альфой) */
.hero-flow-media::before {
  border-radius: 0;
  background: linear-gradient(108deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.14) 100%), radial-gradient(ellipse 118% 90% at 50% 44%, transparent 42%, rgba(0, 0, 0, 0.06) 100%);
}

/* Низ героя: затемнение выше по кадру, плавный градиент к прозрачному */
.hero-flow-media::after {
  border-radius: 0;
  display: block;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 8%, rgba(0, 0, 0, 0.52) 17%, rgba(0, 0, 0, 0.32) 26%, rgba(0, 0, 0, 0.14) 34%, transparent 43%, transparent 100%);
}

/* LOCKED BASE: верхний чёрный градиент блока (под любые последующие цветовые оверлеи) */
.hero.hero--flow .hero-media.hero-flow-media::before {
  z-index: 4;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.86) 10%, rgba(0, 0, 0, 0.66) 24%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0) 74%) !important;
}

/* LOCKED BASE: нижний чёрный градиент блока (под любые последующие цветовые оверлеи) */
.hero.hero--flow .hero-media.hero-flow-media::after {
  z-index: 4;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.86) 10%, rgba(0, 0, 0, 0.66) 24%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0) 74%) !important;
}

.hero-flow-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  /* 4 ровные полосы по высоте */
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
  padding: 0 clamp(18px, 2.4vw, 30px);
  -webkit-mask-image: none;
  mask-image: none;
  /* Синий залив в зазоры сетки (карточки непрозрачны — только gap’ы показывают фон) */
  background-color: #04060a;
  background-image: radial-gradient(116% 92% at 0% 100%, rgba(62, 118, 220, 0.6) 0%, rgba(52, 98, 190, 0.4) 20%, rgba(52, 98, 190, 0.22) 36%, rgba(52, 98, 190, 0.11) 48%, rgba(52, 98, 190, 0.04) 56%, rgba(52, 98, 190, 0) 64%);
}

.hero-flow-row {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(18, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: inherit;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}

.hero-flow-tile {
  display: block;
  border-radius: clamp(22px, 2.4vw, 30px);
  background-color: #f4f4f6;
  background-image: none;
  border: none;
  background-size: cover;
  background-position: center;
  opacity: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.hero-flow-tile__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", "Inter", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(15, 23, 42, 0.2);
  pointer-events: none;
  z-index: 2;
}

.hero-flow-tile--photo {
  background-color: #0f1114;
  border: none;
}

.hero-flow-tile--photo .hero-flow-tile__num--corner {
  inset: clamp(8px, 1.2vw, 12px) clamp(10px, 1.6vw, 14px) auto auto;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 3px clamp(10px, 1.6vw, 14px);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.62rem, 1.65vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f8fafc;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 3;
}

.hero-flow-tile--photo .hero-flow-tile__media {
  z-index: 1;
}

.hero-flow-tile__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}

/* Точечная коррекция кадрирования отдельных карточек */
.hero-flow-tile[data-flow-row="1"][data-flow-col="4"] .hero-flow-tile__media {
  -o-object-position: 50% 96%;
     object-position: 50% 96%;
}

.hero-flow-tile[data-flow-row="4"][data-flow-col="4"] .hero-flow-tile__media {
  -o-object-position: 50% 22%;
     object-position: 50% 22%;
}

.hero-flow-tile[data-flow-row="2"][data-flow-col="3"] .hero-flow-tile__media {
  -o-object-position: 50% 34%;
     object-position: 50% 34%;
}

.hero-flow-tile[data-flow-row="2"][data-flow-col="4"] .hero-flow-tile__media {
  -o-object-position: 50% 78%;
     object-position: 50% 78%;
}

.hero-flow-tile[data-flow-row="3"][data-flow-col="4"] .hero-flow-tile__media {
  -o-object-position: 50% 76%;
     object-position: 50% 76%;
}

.hero-flow-tile__media.hero-flow-tile__media--soft-loop-start {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

img.hero-flow-tile__media {
  display: block;
}

.hero-flow-tile--wide {
  grid-column: span 4;
  aspect-ratio: auto;
}

.hero-flow-tile--square {
  grid-column: span 3;
  aspect-ratio: auto;
}

.hero-flow-tile--portrait {
  grid-column: span 2;
  aspect-ratio: auto;
  align-self: stretch;
}

.hero-flow-tile--two-thirds {
  /* 2/3 от квадрата через меньший span, при равном gap */
  grid-column: span 2;
  align-self: stretch;
}

.hero--flow .hero-brand-stack--flow-kicker {
  /* переопределение базы: там margin:auto + align-items:flex-end центрировали столбец */
  align-self: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  margin-top: 0;
  padding-inline: 0;
  position: relative;
  isolation: isolate;
  align-items: center;
}

.hero--flow .hero-brand-stack--flow-kicker::before {
  display: none;
}

.hero--flow .hero-brand-stack--flow-kicker .hero-ai-studio {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  padding-block: clamp(6px, 1.05vw, 11px);
  padding-inline: var(--hero-flow-plate-text-pad-inline-start) clamp(38px, 8vw, 88px);
  min-width: min(100%, clamp(240px, 52vw, 420px));
  line-height: 1;
  color: #0a0a0a;
  font-family: var(--hero-flow-font-ai-studio) !important;
  font-weight: 400;
  letter-spacing: 0.22em;
  background: #ffffff;
  border: none;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* В одной строке с RODAX: AI STUDIO перед RODAX, равная высота блоков */
.hero--flow .hero-flow-rodax-titleline .hero-brand-stack--flow-kicker .hero-ai-studio {
  align-self: center;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  padding-inline: clamp(14px, 2.3vw, 28px);
  letter-spacing: 0.045em;
  font-weight: 400;
}

/* Базовые стили RODAX (в titleline переопределяются как чёрная плашка) */
.hero--flow .hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  isolation: isolate;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  margin: 0;
  margin-inline: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  font-family: var(--hero-flow-font-rodax) !important;
  font-size: var(--hero-flow-rodax-word-fs);
  letter-spacing: 0.045em;
  line-height: var(--hero-flow-rodax-word-lh);
  color: #f5f5f5;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.85), 0 4px 24px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero--flow .hero-logo::before,
.hero--flow .hero-logo::after {
  display: none;
}

@media (prefers-reduced-transparency: reduce) {
  .hero--flow .hero-logo {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .hero--flow .hero-logo {
    color: #ffffff;
    background: none;
    border: none;
    box-shadow: none;
    text-shadow: 0 0 6px rgb(0, 0, 0), 0 2px 14px rgba(0, 0, 0, 0.95);
  }
}
.hero--flow .hero-copy .hero-copy__backdrop-word {
  display: inline-block;
  align-self: center;
  margin: 0 0 clamp(5px, 0.9vw, 12px);
  text-align: center;
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.1rem, 13.6vw, 10.2rem);
  line-height: 0.86;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffffff;
  text-shadow: none;
  filter: none;
  opacity: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

@media (prefers-reduced-transparency: reduce) {
  .hero--flow .hero-copy .hero-copy__backdrop-word {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
/* Двухстрочный заголовок под RODAX: размер как раньше (от --hero-flow-heading-from-fs) */
.hero--flow .hero-copy h1.hero-copy__heading--flow {
  margin: 0;
  font-size: calc(var(--hero-flow-heading-from-fs) * var(--hero-flow-rodax-word-lh) / 2 / var(--hero-flow-heading-2lh));
  line-height: var(--hero-flow-heading-2lh);
  max-width: none;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #f5f8ff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.72);
}

/* Две строки заголовка по центру */
.hero--flow .hero-copy h1.hero-copy__heading--flow .hero-copy__heading-line {
  display: block;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 720px) {
  .hero--flow .hero-copy h1.hero-copy__heading--flow {
    letter-spacing: 0.008em;
  }
}
.hero--flow .hero-copy .hero-lead {
  margin-top: 0;
  margin-inline: 0;
  max-width: none;
  font-size: clamp(0.92rem, 1.85vw, 1.08rem);
  line-height: 1.42;
  color: rgba(241, 245, 255, 0.92);
  white-space: normal;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero--flow .hero-copy .hero-lead .hero-lead__line {
  display: block;
}

.hero--flow .hero-flow-copy-stack > .hero-copy-glass {
  box-sizing: border-box;
  padding-inline: 0;
  text-align: center;
}

@media (prefers-reduced-transparency: reduce) {
  .hero--flow .hero-flow-text-glass {
    background: radial-gradient(ellipse farthest-corner at 50% 50%, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 54%, rgba(0, 0, 0, 0.38) 82%, rgba(0, 0, 0, 0.12) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.hero--flow .hero-actions {
  margin-top: 0;
  margin-inline: 0;
  padding-inline: var(--hero-flow-text-pad-x);
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero--flow .hero-flow-text-glass .hero-actions {
  margin-top: clamp(10px, 1.5vw, 16px);
  padding-inline: 0;
}

.hero--flow .hero-actions .btn {
  margin-inline: 0;
}

/*
 * Длинная цепь селектора — чтобы перебить :root :is(.btn.primary:not(...) { background !important }).
 */
.hero.hero--flow .hero-shell .hero-copy .hero-copy__panel .hero-actions .btn.primary {
  /* Ширина по тексту, скругление; фон — непрозрачный градиент */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  overflow: hidden;
  border-radius: clamp(12px, 1.5vw, 18px);
  border: none;
  outline: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  padding-block: 18px;
  padding-inline: clamp(22px, 3.2vw, 40px);
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 2 * var(--hero-flow-text-pad-x));
  min-width: 0;
  font-size: clamp(0.96rem, 1.55vw, 1.12rem);
  text-align: center;
  white-space: nowrap;
  background: var(--hero-flow-cta-fill) !important;
  transition: background 0.3s ease, transform 0.2s ease, color 0.2s ease;
}

.hero.hero--flow .hero-shell .hero-copy .hero-copy__panel .hero-actions .btn.primary:hover,
.hero.hero--flow .hero-shell .hero-copy .hero-copy__panel .hero-actions .btn.primary:focus-visible {
  background: var(--hero-flow-cta-fill-hover) !important;
  color: #f7f9ff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.hero.hero--flow .hero-shell .hero-copy .hero-copy__panel .hero-actions .btn.primary:active {
  background: var(--hero-flow-cta-fill-hover) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transform: scale(0.99);
}

@media (max-width: 1024px) {
  .hero-flow-grid {
    padding-top: clamp(84px, 11vh, 106px);
    inset: -2% -6%;
    transform: scale(1.04);
    transform-origin: center center;
  }
  .hero-flow-row {
    display: flex;
    gap: inherit;
    align-items: stretch;
    overflow: hidden;
  }
  .hero-flow-row .hero-flow-tile {
    width: auto;
    height: 100%;
    flex: 0 0 auto;
    grid-column: auto;
  }
  .hero-flow-tile--wide {
    aspect-ratio: 16/9;
  }
  .hero-flow-tile--square {
    aspect-ratio: 1/1;
  }
  .hero-flow-tile--portrait {
    aspect-ratio: 9/16;
  }
  .hero-flow-tile--two-thirds {
    aspect-ratio: 2/3;
  }
  .hero--flow {
    --hero-flow-rodax-word-fs: clamp(1.55rem, 7.6vw, 3.2rem);
    --hero-flow-heading-from-fs: clamp(2.09rem, 10.5vw, 4.45rem);
  }
}
@media (max-width: 760px) {
  .hero-flow-grid {
    inset: -4% -10%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 8px;
    transform: scale(1.08);
    transform-origin: center center;
  }
  .hero-flow-row {
    transform: none;
  }
  .hero-flow-tile--wide {
    aspect-ratio: 16/9;
  }
  .hero-flow-tile--square {
    aspect-ratio: 1/1;
  }
  .hero-flow-tile--portrait {
    aspect-ratio: 9/16;
  }
  .hero-flow-tile--two-thirds {
    aspect-ratio: 2/3;
  }
  .hero--flow .hero-copy__panel {
    width: min(100%, 440px);
    gap: 4px;
  }
  .hero-ai-studio {
    font-size: clamp(0.62rem, 3.35vw, 0.74rem);
    letter-spacing: 0.18em;
    font-weight: 800;
    padding: 5px clamp(12px, 4vw, 16px);
  }
  /* Flow: узкий экран — плашка AI STUDIO белая, текст чёрный */
  .hero--flow .hero-brand-stack--flow-kicker .hero-ai-studio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    border-radius: 0;
    padding-block: clamp(6px, 1.55vw, 9px);
    padding-inline: clamp(2px, 0.55vw, 8px) clamp(26px, 10vw, 56px);
    min-width: min(100%, clamp(200px, 88vw, 100%));
    color: #0a0a0a;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  }
  .hero--flow .hero-copy .hero-lead {
    font-size: clamp(0.84rem, 3.35vw, 0.98rem);
  }
  .hero.hero--flow .hero-shell .hero-copy .hero-copy__panel .hero-actions .btn.primary {
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
    border-radius: clamp(11px, 1.4vw, 16px);
    padding-block: 13px;
    padding-inline: clamp(18px, 5vw, 32px);
    align-self: center;
    width: -moz-fit-content;
    width: fit-content;
    max-width: calc(100% - 2 * var(--hero-flow-text-pad-x));
    min-width: 0;
    white-space: normal;
  }
  .hero--flow {
    --hero-flow-rodax-word-fs: clamp(1.72rem, 9.4vw, 2.88rem);
    --hero-flow-heading-from-fs: clamp(2.27rem, 12.6vw, 4.05rem);
  }
}
@media (max-width: 480px) {
  .hero-flow-grid {
    inset: -3% -7%;
    transform: scale(1.04);
    padding: 0 6px;
  }
  .hero--flow {
    --hero-flow-rodax-word-fs: clamp(1.65rem, 10.2vw, 2.75rem);
    --hero-flow-heading-from-fs: clamp(2.18rem, 13.8vw, 3.87rem);
  }
}
.btn {
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 14px;
  color: #f5f5f5;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e5e5;
}

/* Ультраширокий баннер 21:9 (подмените ./banner-21x9.jpg своим кадром) */
.banner-ultrawide-section {
  padding-top: clamp(8px, 2vw, 20px);
  padding-bottom: clamp(20px, 4vw, 48px);
}

.banner-ultrawide-wrap {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.banner-ultrawide {
  margin: 0;
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: #0a0c12;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.banner-ultrawide__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
}

.hero-bottom-video-section {
  padding-top: clamp(22px, 4vw, 48px);
  padding-bottom: clamp(22px, 4vw, 48px);
}

.hero-bottom-video-wrap {
  width: min(100%, 1200px);
}

.hero-bottom-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(76vh, 860px);
  border-radius: clamp(14px, 2vw, 24px);
  background: #000;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.section {
  padding: clamp(56px, 14vw, 100px) 0 clamp(16px, 4vw, 24px);
  min-width: 0;
}

.section h2 {
  margin: 0 0 var(--section-title-gap);
  text-align: center;
  font-size: var(--section-title-size);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

#reviews {
  position: relative;
  z-index: 0;
  background: transparent;
  color: #f3f6fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(24px, 3.6vw, 48px);
  padding-bottom: clamp(32px, 4.2vw, 60px);
  min-height: 0;
  margin-top: -3px;
  margin-bottom: 0;
}

#reviews::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #000000;
  z-index: -1;
}

#reviews::after {
  content: none;
}

.stability-reviews-wave {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  margin: 0 0 -4px;
  background: #000000;
  overflow: hidden;
}

.stability-reviews-wave__svg {
  display: block;
  width: 100vw;
  height: clamp(56px, 9vw, 112px);
  margin-left: 50%;
  transform: translate3d(-50%, 0, 0);
  background: #000000;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.stability-reviews-wave__shape {
  fill: #000000 !important;
  opacity: 1;
  shape-rendering: geometricPrecision;
}

#reviews .kicker {
  color: #9aa7bb;
}

#reviews h2 {
  color: #ffffff;
  font-size: clamp(2.48rem, 3.6vw, 3.44rem);
  line-height: 1.06;
  margin-bottom: clamp(44px, 5.2vw, 72px);
  text-align: center;
  transform: none;
  background-image: linear-gradient(180deg, #ffffff 0%, #fbfcff 36%, #e8edf5 62%, rgba(168, 176, 192, 0.9) 84%, rgba(36, 40, 48, 0.78) 96%, rgba(18, 20, 24, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#reviews .section-lead {
  margin: 0 auto clamp(28px, 4.2vw, 52px);
  color: #d8e0ec;
  transform: none;
}

#reviews > .reviews-block {
  width: min(1240px, 100% - 2 * var(--page-gutter-fluid));
  margin-inline: auto;
  margin-top: clamp(10px, 1.8vw, 24px);
  margin-bottom: 0;
}

.section-lead {
  margin: 16px auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--muted);
}

#features h2 {
  margin: 0;
  font-size: clamp(2.48rem, 3.6vw, 3.44rem);
  line-height: 1.18;
  color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f5f8 58%, rgba(150, 158, 173, 0.92) 80%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#features .section-lead {
  margin-top: 6px;
  margin-bottom: 0;
  max-width: 42rem;
  color: #ffffff;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  line-height: 1.62;
}

#features.section {
  padding-top: clamp(26px, 5vw, 52px);
}

#stability h2 {
  margin: 0;
  transform: translateY(-1.5cm);
  color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f5f8 58%, rgba(150, 158, 173, 0.92) 80%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#stability .section-lead {
  margin-top: 16px;
  color: #ffffff;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  line-height: 1.62;
  transform: translateY(-1.5cm);
}

/* Секция «нейросети + Kling»: на десктопе текст и CTA слева, карусель справа; на мобильном — текст, карусель, кнопка */
.sphere-gallery-section {
  width: 100%;
  padding: clamp(40px, 6vw, 64px) 0 0;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  z-index: 0;
  background: #000000;
  color: rgba(255, 255, 255, 0.92);
}

.sphere-gallery-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-intro > .sphere-gallery-reveal:nth-child(1) {
  transition-delay: 0.04s;
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-intro > .sphere-gallery-reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-kling__title.sphere-gallery-reveal {
  transition-delay: 0.18s;
}

.sphere-gallery-section.sphere-gallery-section--visible .kling-panorama.sphere-gallery-reveal {
  transition-delay: 0.32s;
}

/* Карусель: без blur при reveal — иначе мерцание при coverflow (дорогой filter + 3D-трансформы) */
.kling-panorama.sphere-gallery-reveal {
  filter: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-kling__text.sphere-gallery-reveal {
  transition-delay: 0.24s;
}

.sphere-gallery-section.sphere-gallery-section--visible .sphere-gallery-kling__promo.sphere-gallery-reveal {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .sphere-gallery-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}
.sphere-gallery-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
  width: 100%;
}

.sphere-gallery-intro {
  max-width: min(52rem, 100%);
  margin-inline: auto;
  margin-block: 0;
  padding: 0;
  text-align: center;
}

.sphere-gallery-intro .kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.sphere-gallery-intro h2 {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(1.35rem, 2.65vw, 2.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.sphere-gallery-intro__accent {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.sphere-gallery-intro__lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.sphere-gallery-row {
  --sphere-gallery-outer-inset: max(
    0.42cm,
    env(safe-area-inset-left, 0px),
    env(safe-area-inset-right, 0px)
  );
  --sphere-carousel-title-h: clamp(24px, 3.6vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  -moz-column-gap: clamp(24px, 4vw, 48px);
       column-gap: clamp(24px, 4vw, 48px);
  row-gap: clamp(36px, 6vw, 56px);
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 981px) {
  .sphere-gallery-row .sphere-gallery-kling {
    padding-left: max(4px, var(--sphere-gallery-outer-inset));
  }
}
.sphere-gallery-kling {
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sphere-gallery-kling__lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vw, 10px);
  text-align: center;
  padding-top: clamp(4px, 0.8vw, 10px);
}

/* Левая колонка на десктопе (текст + кнопка в одном flex — без «дыр» от двух строк грида) */
.sphere-gallery-kling__aside {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sphere-gallery-kling__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 28px);
  align-items: center;
  width: 100%;
  margin: 0 0 clamp(12px, 2vw, 18px);
}

/* Широкий экран: одна строка грида — aside | карусель; текст по центру по вертикали относительно карусели */
@media (min-width: 981px) {
  .sphere-gallery-kling__head {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1.32fr);
    grid-template-rows: auto;
    grid-template-areas: "kling-aside kling-carousel";
    align-items: center;
    -moz-column-gap: clamp(16px, 3vw, 32px);
         column-gap: clamp(16px, 3vw, 32px);
    -webkit-padding-end: clamp(12px, 2.8vw, 32px);
            padding-inline-end: clamp(12px, 2.8vw, 32px);
  }
  .sphere-gallery-kling__aside {
    grid-area: kling-aside;
    gap: clamp(10px, 1.8vw, 18px);
    width: min(100%, 38rem);
    justify-self: center;
    margin-left: 0;
    align-self: center;
  }
  .sphere-gallery-kling__lead {
    width: 100%;
  }
  .sphere-gallery-kling__promo {
    margin-top: 0;
    width: 100%;
    max-width: min(38rem, 100%);
  }
  .sphere-gallery-kling__head > .kling-panorama {
    grid-area: kling-carousel;
    justify-self: start;
  }
}
.kling-panorama {
  min-width: 0;
  width: calc(100% - clamp(14px, 3.6vw, 48px));
  max-width: 100%;
  justify-self: start;
  box-sizing: border-box;
}

.panorama-slider {
  /* поля под стрелки: не наезжают на крайние карточки coverflow */
  padding-inline: clamp(44px, 10vw, 72px);
  /* воздух сверху/снизу: иначе 3D coverflow режется overflow:hidden (Galaxy и др.) */
  padding-block: clamp(12px, 3vmin, 28px);
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000000;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Тонкая статичная маска на кромках: убирает субпиксельные просветы справа/слева */
.panorama-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 21;
  pointer-events: none;
  background: linear-gradient(90deg, #000 0 2px, transparent 2px), linear-gradient(270deg, #000 0 2px, transparent 2px);
}

/* Отдельный stage для 3D coverflow, чтобы градиент поверх не "проваливался" при движении */
.panorama-slider__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  overflow: visible;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.panorama-slider {
  --panorama-edge-fade: clamp(28px, 6vw, 72px);
}

/* Один статичный слой сразу с левым и правым градиентом */
.panorama-slider__vignette {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background-repeat: no-repeat, no-repeat;
  background-size: var(--panorama-edge-fade) 100%, var(--panorama-edge-fade) 100%;
  background-position: left top, right top;
  background-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.98) 7%, rgba(0, 0, 0, 0.92) 16%, rgba(0, 0, 0, 0.78) 28%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.36) 58%, rgba(0, 0, 0, 0.18) 74%, rgba(0, 0, 0, 0.07) 88%, rgba(0, 0, 0, 0) 100%), linear-gradient(270deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.98) 7%, rgba(0, 0, 0, 0.92) 16%, rgba(0, 0, 0, 0.78) 28%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.36) 58%, rgba(0, 0, 0, 0.18) 74%, rgba(0, 0, 0, 0.07) 88%, rgba(0, 0, 0, 0) 100%);
  transition: none;
  animation: none;
}

@media (max-width: 519px) {
  .panorama-slider {
    padding-inline: clamp(36px, 11vw, 52px);
    --panorama-edge-fade: clamp(22px, 7.5vw, 44px);
  }
}
.kling-panorama__ctrl {
  position: absolute;
  top: 50%;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.kling-panorama__ctrl:hover {
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
}

.kling-panorama__ctrl:active {
  transform: translateY(-50%) scale(0.96);
}

.kling-panorama__ctrl:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.kling-panorama__ctrl.swiper-button-disabled {
  opacity: 0.28;
  pointer-events: none;
  cursor: default;
}

.kling-panorama__ctrl-icon {
  display: block;
  pointer-events: none;
}

/* в боковом поле .panorama-slider; сдвиг к центру — меньше расстояние между стрелками */
.kling-panorama__ctrl--prev {
  left: clamp(52px, 8.2vw, 88px);
  right: auto;
}

.kling-panorama__ctrl--next {
  right: clamp(52px, 8.2vw, 88px);
  left: auto;
}

@media (max-width: 519px) {
  .kling-panorama__ctrl {
    width: 38px;
    height: 38px;
  }
  .kling-panorama__ctrl--prev {
    left: 30px;
  }
  .kling-panorama__ctrl--next {
    right: 30px;
  }
}
.kling-panorama .swiper.swiper-panorama {
  position: relative;
  z-index: 0;
  overflow: visible;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  /* Высота трека: 9:16 + подпись; слои — совместимость WebView / svh для Samsung и др. */
  height: clamp(min(260px, 58vh), min(54vw, 76vh), min(548px, 84vh));
  height: clamp(min(260px, 58dvh), min(54vw, 76dvh), min(548px, 84dvh));
  height: clamp(min(260px, 58dvh), min(54vw, min(76dvh, 72svh)), min(548px, 84dvh));
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.kling-panorama .swiper.swiper-panorama .swiper-wrapper {
  align-items: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.kling-panorama .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: min(268px, 62vw);
  height: auto;
  max-height: 100%;
  align-self: center;
  box-sizing: border-box;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.kling-panorama .kling-slide-media {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 9/16;
  border-radius: 10px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

.kling-panorama .swiper-slide-active .kling-slide-media {
  pointer-events: auto;
}

.kling-panorama .slide-image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}

.kling-panorama .kling-slide-credit {
  margin: 0;
  padding: 0 2px 2px;
  text-align: center;
  font-size: clamp(0.62rem, 2vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: rgba(245, 245, 245, 0.8);
  transition: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  pointer-events: none;
}

.kling-panorama .swiper-slide-active .kling-slide-credit {
  pointer-events: auto;
}

/* Имена статичны: без hover-перекраски, чтобы исключить мерцание */
/* Оверлей: старт чуть выше иконки копирования, максимум blur у низа карточки */
.kling-slide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 3;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  padding: 0 clamp(10px, 3vw, 14px) clamp(10px, 2.5vw, 14px);
  box-sizing: border-box;
  background: transparent;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity;
  transition: opacity 0.01s linear;
}

.kling-slide-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(12% - clamp(10px, 2.2vw, 18px));
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 0%, rgba(8, 10, 14, 0.02) 14%, rgba(8, 10, 14, 0.08) 30%, rgba(8, 10, 14, 0.18) 52%, rgba(8, 10, 14, 0.3) 74%, rgba(8, 10, 14, 0.42) 100%);
  backdrop-filter: blur(56px) saturate(1.12);
  -webkit-backdrop-filter: blur(56px) saturate(1.12);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 0.68) 74%, #000000 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.32) 44%, rgba(0, 0, 0, 0.68) 74%, #000000 100%);
}

.kling-panorama .swiper-slide:not(.swiper-slide-active) .kling-slide-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: none;
}

.kling-panorama .swiper-slide-active .kling-slide-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.01s linear;
}

.kling-panorama .swiper-slide-active:hover .kling-slide-overlay,
.kling-panorama .swiper-slide-active:focus-within .kling-slide-overlay,
.kling-panorama .swiper-slide-active:has(.kling-slide-copy--copied) .kling-slide-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Текст: от линии сразу под PROMPT+копирование до низа карточки (шапка на 25% от низа) */
.kling-slide-overlay__scroll {
  position: absolute;
  top: calc(75% + 8px);
  left: clamp(10px, 3vw, 14px);
  right: clamp(10px, 3vw, 14px);
  bottom: clamp(10px, 2.5vw, 14px);
  z-index: 2;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  margin-right: -2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  pointer-events: auto;
  opacity: 1;
  transition: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.kling-slide-overlay__scroll::-webkit-scrollbar {
  width: 4px;
}

.kling-slide-overlay__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 4px;
}

/* Заголовок + копировать: одна линия, закреплены на 25% высоты от низа карточки */
.kling-slide-overlay__head {
  position: absolute;
  top: auto;
  bottom: 25%;
  left: clamp(10px, 3vw, 14px);
  right: clamp(10px, 3vw, 14px);
  z-index: 3;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 2vw, 10px);
  min-height: 2rem;
  width: auto;
  pointer-events: auto;
  opacity: 1;
  transition: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.kling-slide-overlay__head .kling-slide-overlay__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  align-self: center;
}

.kling-slide-overlay__title {
  margin: 0 0 0.35rem;
  font-size: clamp(0.78rem, 2.4vw, 0.92rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.kling-slide-overlay__text {
  margin: 0;
  font-size: clamp(0.65rem, 2.5vw, 0.74rem);
  line-height: 1.24;
  color: rgba(245, 245, 245, 0.88);
}

/* Копировать: в одной строке с PROMPT; без filter на SVG — иначе repaint вместе с opacity оверлея */
.kling-panorama .kling-slide-copy {
  position: static;
  flex-shrink: 0;
  z-index: 5;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  transition: opacity 0.01s linear, color 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

.kling-panorama .swiper-slide:not(.swiper-slide-active) .kling-slide-copy {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: none;
}

.kling-panorama .swiper-slide-active .kling-slide-copy {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.01s linear;
}

.kling-panorama .swiper-slide-active:hover .kling-slide-copy,
.kling-panorama .swiper-slide-active:focus-within .kling-slide-copy,
.kling-panorama .swiper-slide-active .kling-slide-copy:focus-visible,
.kling-panorama .swiper-slide-active .kling-slide-copy.kling-slide-copy--copied {
  opacity: 1;
  pointer-events: auto;
}

.kling-panorama .kling-slide-copy:hover {
  color: #ffffff;
}

.kling-panorama .kling-slide-copy.kling-slide-copy--copied:hover {
  color: #ffffff;
}

.kling-panorama .kling-slide-copy:hover:not(.kling-slide-copy--copied) .kling-slide-copy__icon {
  transform: scale(1.08);
}

.kling-panorama .kling-slide-copy.kling-slide-copy--copied .kling-slide-copy__icon,
.kling-panorama .kling-slide-copy.kling-slide-copy--copied:hover .kling-slide-copy__icon {
  animation: none;
}

.kling-panorama .kling-slide-copy:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.kling-panorama .kling-slide-copy__icon,
.kling-panorama .kling-slide-copy__check {
  grid-area: 1/1;
  display: block;
  pointer-events: none;
  transform-origin: center;
  filter: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.kling-panorama .kling-slide-copy__icon {
  transform: scale(1);
}

.kling-panorama .kling-slide-copy__check {
  opacity: 0;
  transform: scale(0.72);
}

.kling-panorama .kling-slide-copy.kling-slide-copy--copied .kling-slide-copy__icon {
  opacity: 0;
  transform: scale(0.82);
}

.kling-panorama .kling-slide-copy.kling-slide-copy--copied .kling-slide-copy__check {
  opacity: 1;
  transform: scale(1);
}

.kling-panorama .kling-video-sound {
  position: absolute;
  top: clamp(10px, 3vw, 14px);
  right: clamp(10px, 3vw, 14px);
  z-index: 9;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.75);
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kling-panorama .kling-video-sound__icon {
  grid-area: 1/1;
  pointer-events: none;
  color: #ffffff;
  stroke: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
  transition: opacity 0.2s ease;
}

.kling-panorama .kling-video-sound__icon--on {
  opacity: 0;
}

.kling-panorama .kling-video-sound.kling-video-sound--on {
  border-color: rgba(20, 20, 20, 0.75);
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
}

.kling-panorama .kling-video-sound.kling-video-sound--on .kling-video-sound__icon--off {
  opacity: 0;
}

.kling-panorama .kling-video-sound.kling-video-sound--on .kling-video-sound__icon--on {
  opacity: 1;
}

.kling-panorama .swiper-slide:not(.swiper-slide-active) .kling-video-sound {
  opacity: 0;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse) {
  .kling-panorama .swiper-slide-active.kling-slide--open .kling-slide-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .kling-panorama .swiper-slide-active.kling-slide--open .kling-slide-copy {
    opacity: 1;
    pointer-events: auto;
  }
  .kling-panorama .swiper-slide-active:not(.kling-slide--open) .kling-slide-overlay__scroll {
    bottom: auto;
    max-height: 1.8rem;
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .kling-panorama .swiper-slide-active.kling-slide--open .kling-slide-overlay__scroll {
    bottom: clamp(10px, 2.5vw, 14px);
    max-height: min(29vh, 120px);
    mask-image: none;
    -webkit-mask-image: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kling-panorama .kling-slide-copy,
  .kling-panorama .kling-slide-copy__icon,
  .kling-panorama .kling-slide-copy__check,
  .kling-slide-overlay {
    transition-duration: 0.01ms;
  }
}
.sphere-gallery-kling__head .sphere-gallery-kling__title {
  margin-bottom: 0;
}

.sphere-gallery-kling__lead .sphere-gallery-kling__text {
  margin-top: clamp(2px, 0.4vw, 6px);
}

.sphere-gallery-kling__lead .sphere-gallery-kling__title {
  margin: 0;
}

.sphere-gallery-kling__lead {
  align-items: center;
  text-align: center;
}

.sphere-gallery-kling__title {
  margin: 0 0 clamp(12px, 2vw, 16px);
  font-family: "Racama", "Bebas Neue", "Inter", sans-serif;
  font-size: clamp(2.9rem, 4.4vw, 4.1rem) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  min-height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(clamp(-4px, -0.5vw, -8px));
  color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f5f8 58%, rgba(150, 158, 173, 0.92) 80%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sphere-gallery-kling__title,
.sphere-gallery-kling__text {
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.sphere-gallery-kling__title.is-swapping,
.sphere-gallery-kling__text.is-swapping {
  opacity: 0;
  transform: translateY(3px);
}

.sphere-gallery-kling__title.is-swapping {
  transform: translateY(clamp(-4px, -0.5vw, -8px));
}

@media (max-width: 480px) {
  .sphere-gallery-kling__title {
    font-size: clamp(2.6rem, 8vw, 3.3rem) !important;
  }
}
.sphere-gallery-kling__text {
  margin: 0;
  width: 100%;
  max-width: min(38rem, 100%);
  font-size: clamp(0.86rem, 1.35vw, 0.95rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-wrap: balance;
}

.sphere-gallery-kling__promo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.sphere-gallery-kling__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--brand-blue) !important;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sphere-gallery-kling__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: none;
  pointer-events: none;
  box-shadow: none;
}

.sphere-gallery-kling__cta:hover {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.sphere-gallery-kling__cta:active {
  transform: scale(0.99);
}

.sphere-gallery-kling__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}

.sphere-gallery-kling__lightning {
  flex-shrink: 0;
  display: block;
  color: currentColor;
  animation: sphere-gallery-kling-lightning 3.4s ease-in-out infinite;
}

@keyframes sphere-gallery-kling-lightning {
  0%, 100% {
    opacity: 1;
    filter: none;
  }
  28% {
    opacity: 0.42;
    filter: none;
  }
  52% {
    opacity: 1;
    filter: none;
  }
  74% {
    opacity: 0.32;
    filter: none;
  }
}
.tools-showcase-section {
  background: #000000;
  padding-top: clamp(26px, 4.2vw, 44px);
}

.tools-showcase {
  display: grid;
  gap: clamp(14px, 2.2vw, 24px);
}

.tools-showcase__title {
  margin: 0;
  text-align: left;
  font-size: clamp(1.26rem, 2.2vw, 1.74rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tools-showcase__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(106px, auto);
  gap: clamp(10px, 1.4vw, 14px);
}

.tools-tile {
  border-radius: 18px;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #16181c;
  color: #f8f9fc;
  min-height: 106px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  overflow: hidden;
}

.tools-tile--dark {
  background: radial-gradient(90% 120% at 50% -10%, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 50%), linear-gradient(145deg, #191c22 0%, #0f1116 100%);
}

.tools-tile--light {
  color: #111319;
  border-color: rgba(10, 14, 20, 0.08);
  background: radial-gradient(80% 120% at 20% -10%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 62%), #eceef2;
}

.tools-tile--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.14)), linear-gradient(160deg, rgba(95, 107, 128, 0.48), rgba(35, 40, 52, 0.42));
}

.tools-tile__title {
  margin: 0;
  font-size: clamp(1rem, 1.52vw, 1.36rem);
  font-weight: 600;
  line-height: 1.14;
}

.tools-tile__kpi {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.tools-tile__kpi--hero {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.tools-tile__caption {
  margin: 0;
  font-size: clamp(0.72rem, 1.02vw, 0.86rem);
  line-height: 1.35;
  color: inherit;
  opacity: 0.86;
}

.tools-tile--lead {
  grid-column: span 2;
}

.tools-tile--wide {
  grid-column: span 2;
}

.tools-tile--hero {
  grid-column: span 3;
  min-height: clamp(170px, 18vw, 230px);
  align-content: center;
  justify-items: center;
  text-align: center;
}

@media (max-width: 1024px) {
  .tools-showcase__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tools-tile--lead {
    grid-column: span 2;
  }
  .tools-tile--wide {
    grid-column: span 2;
  }
  .tools-tile--hero {
    grid-column: span 2;
    min-height: 160px;
  }
}
@media (max-width: 760px) {
  .tools-showcase-section {
    padding-top: clamp(18px, 5vw, 30px);
  }
  .tools-showcase {
    gap: 12px;
  }
  .tools-showcase__title {
    text-align: center;
    font-size: clamp(1.08rem, 5.4vw, 1.34rem);
    letter-spacing: 0.04em;
  }
  .tools-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(92px, auto);
    gap: 9px;
  }
  .tools-tile {
    border-radius: 14px;
    padding: 12px 11px;
    min-height: 92px;
    gap: 6px;
  }
  .tools-tile__title {
    font-size: clamp(0.88rem, 3.8vw, 1.04rem);
    line-height: 1.12;
  }
  .tools-tile__kpi {
    font-size: clamp(1.36rem, 7vw, 2rem);
  }
  .tools-tile__kpi--hero {
    font-size: clamp(1.5rem, 8.8vw, 2.4rem);
  }
  .tools-tile__caption {
    font-size: clamp(0.64rem, 2.9vw, 0.76rem);
    line-height: 1.28;
  }
  .tools-tile--lead,
  .tools-tile--wide,
  .tools-tile--hero {
    grid-column: span 2;
  }
  .tools-tile--hero {
    min-height: 128px;
  }
}
@media (max-width: 520px) {
  .tools-showcase__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(86px, auto);
    gap: 8px;
  }
  .tools-tile,
  .tools-tile--lead,
  .tools-tile--wide,
  .tools-tile--hero {
    grid-column: span 1;
  }
  .tools-tile--hero {
    min-height: 116px;
  }
}
.nav-actions .nav-cta,
.sphere-gallery-kling .sphere-gallery-kling__cta {
  background: var(--brand-blue) !important;
  color: #f7f9ff !important;
}

.nav-actions .nav-cta:hover,
.nav-actions .nav-cta:focus-visible,
.sphere-gallery-kling .sphere-gallery-kling__cta:hover,
.sphere-gallery-kling .sphere-gallery-kling__cta:focus-visible {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff !important;
}

/* Волна и бегущая строка брендов */
.section-gallery-wave-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: clamp(20px, 4vw, 40px) 0 -3px;
  line-height: 0;
  background: #000000;
}

.section-gallery-wave {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  line-height: 0;
  pointer-events: none;
  background: #000000;
}

.ai-wave-marquee {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  box-sizing: border-box;
}

.ai-wave-marquee__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-wave-marquee__clip {
  pointer-events: none;
}

.ai-wave-marquee__text {
  text-rendering: geometricPrecision;
}

.section-gallery-wave__svg {
  display: block;
  width: 100%;
  height: clamp(56px, 11vw, 120px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.section-gallery-wave__fill {
  fill: #000000 !important;
  shape-rendering: geometricPrecision;
}

.section-gallery-wave__crest {
  fill: none;
  stroke: none;
  stroke-width: 0;
  vector-effect: non-scaling-stroke;
}

.section-gallery-wave__base {
  fill: #000000 !important;
}

@media (max-width: 1024px) {
  .sphere-gallery-section {
    padding: 44px 0 0;
  }
  .section-gallery-wave-stack {
    margin-top: 12px;
  }
  .section-gallery-wave__svg {
    height: clamp(44px, 12vw, 96px);
  }
  .ai-wave-marquee__svg {
    min-height: clamp(44px, 12vw, 96px);
  }
  .sphere-gallery-intro {
    padding-inline: max(4px, var(--page-gutter-fluid));
  }
  .sphere-gallery-row {
    max-width: 100%;
    padding-inline: max(4px, var(--page-gutter-fluid));
  }
}
#features {
  overflow: hidden;
}

/* Меньше пустоты: компактные поля, снизу — запас под наезд тарифов без лишнего */
#features.section {
  position: relative;
  z-index: 0;
  background: transparent;
  padding-top: clamp(22px, 3.4vw, 40px);
  padding-bottom: clamp(44px, 6vw, 84px);
}

#features.section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #000000;
  z-index: -1;
}

.feature-map {
  margin-top: clamp(10px, 1.6vw, 20px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(12px, 3.2vw, 42px);
}

.feature-map__canvas {
  position: relative;
  /* Высота по контенту: макет 1024×675 + панель преимуществ, без лишнего «воздуха» */
  min-height: max(clamp(420px, 48vw, 600px), min(650px, 54vw) * 675 / 1024 + clamp(150px, 20vw, 260px));
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.feature-map__center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -48%);
  width: min(650px, 54vw);
  z-index: 2;
}

.feature-benefits {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2vw, 20px);
  width: min(900px, 100% - 2 * clamp(14px, 3.2vw, 32px));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 16% -10%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, rgba(10, 11, 16, 0.66), rgba(7, 8, 12, 0.86));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: clamp(14px, 2.4vw, 20px);
  z-index: 4;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-benefits__head {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  text-align: center;
}

.feature-benefits__kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.66);
  font-weight: 650;
}

.feature-benefits__title {
  margin: 0;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.feature-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.feature-benefits__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.feature-benefits__icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.88);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  font-size: 10px;
  line-height: 1;
  transform: translateY(2px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.feature-benefits__item-title {
  margin: 0;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.feature-benefits__item-text {
  margin: 6px 0 0;
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}

.feature-map__devices {
  width: 100%;
  height: auto;
  aspect-ratio: 1024/675;
  display: block;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.48));
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.feature-benefits__item:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 136, 232, 0.52);
  background: rgba(20, 33, 62, 0.26);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.feature-benefits__item:hover .feature-benefits__icon {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3), 0 0 10px rgba(83, 136, 232, 0.26);
}

.feature-node {
  position: absolute;
  width: min(300px, 23vw);
  border-radius: 16px;
  border: none;
  background: rgba(12, 13, 19, 0.58);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  padding: 14px 16px;
  z-index: 3;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}

.feature-node::after {
  content: "";
  position: absolute;
  height: 1px;
  opacity: 0.6;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-node::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-node h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.feature-node p {
  margin: 8px 0 0;
  font-size: 0.83rem;
  color: #c7cad1;
  line-height: 1.5;
}

.feature-node--left-top {
  left: clamp(22px, 5vw, 114px);
  top: 11%;
  transition-delay: 0.04s;
}

.feature-node--left-top::after {
  top: 58%;
  left: calc(100% - 2px);
  width: clamp(150px, 17vw, 250px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform-origin: left center;
}

.feature-node--left-top::before {
  top: calc(58% - 4px);
  left: calc(100% + clamp(148px, 17vw, 248px));
}

.feature-node--left-bottom {
  left: clamp(22px, 5vw, 118px);
  bottom: 11%;
  transition-delay: 0.12s;
}

.feature-node--left-bottom::after {
  top: 46%;
  left: calc(100% - 2px);
  width: clamp(160px, 18vw, 274px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform-origin: left center;
}

.feature-node--left-bottom::before {
  top: calc(46% - 4px);
  left: calc(100% + clamp(158px, 18vw, 272px));
}

.feature-node--right-top {
  right: clamp(22px, 5vw, 114px);
  top: 11%;
  transition-delay: 0.08s;
}

.feature-node--right-top::after {
  top: 60%;
  right: calc(100% - 2px);
  width: clamp(150px, 17vw, 250px);
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform-origin: right center;
}

.feature-node--right-top::before {
  top: calc(60% - 4px);
  right: calc(100% + clamp(148px, 17vw, 248px));
}

.feature-node--right-bottom {
  right: clamp(22px, 5vw, 118px);
  bottom: 11%;
  transition-delay: 0.16s;
}

.feature-node--right-bottom::after {
  top: 44%;
  right: calc(100% - 2px);
  width: clamp(160px, 18vw, 274px);
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform-origin: right center;
}

.feature-node--right-bottom::before {
  top: calc(44% - 4px);
  right: calc(100% + clamp(158px, 18vw, 272px));
}

#features.reveal-visible .feature-map__devices {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#features.reveal-visible .feature-benefits {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#features.reveal-visible .feature-node {
  opacity: 1;
  transform: translateY(0);
}

#features.reveal-visible .feature-node::after {
  transform: scaleX(1);
}

#features.reveal-visible .feature-node::before {
  opacity: 1;
  transform: scale(1);
}

#stability.stability-section {
  position: relative;
  isolation: isolate;
  background: #000000;
  margin-top: -2px;
}

#stability.stability-section::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #000000;
  z-index: -1;
}

#stability.stability-section::after {
  content: none;
}

.stability-section__lead {
  max-width: 980px;
}

.stability-v2 {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.6vw, 18px);
  align-items: stretch;
  min-width: 0;
}

.stability-hub {
  /* Зазор между преимуществами и колонкой с картинкой (можно поднять верх в clamp при желании) */
  --stability-hub-from-image: clamp(16px, 4.2vw, 80px);
  position: relative;
  display: grid;
  /* Без min-width в px — сетка сжимается на любой ширине без горизонтального скролла */
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 2.34fr) minmax(0, 0.58fr);
  /* Высота блока увеличена: больше вертикального пространства под картинку и преимущества */
  grid-template-rows: auto minmax(0, 1fr);
  -moz-column-gap: var(--stability-hub-from-image);
       column-gap: var(--stability-hub-from-image);
  row-gap: clamp(12px, 2vw, 18px);
  align-items: start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: visible;
  min-height: clamp(430px, 52vw, 640px);
  padding-block: clamp(4px, 0.6vw, 10px) clamp(8px, 1.6vw, 20px);
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}

.stability-hub__lines {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.stability-hub.stability-hub--connectors-ready .stability-hub__lines {
  opacity: 1;
}

.stability-hub__connector {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

/* Диагонали в SVG инфографики отключены: связь кружков с карточками — через .stability-hub__lines */
.stability-smart-diagonals {
  display: none;
  pointer-events: none;
}

.stability-smart-diagonal {
  fill: none;
  stroke: rgba(255, 255, 255, 0.17);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.stability-hub__card {
  position: relative;
  z-index: 5;
  max-width: 100%;
  width: 100%;
  justify-self: stretch;
}

.stability-hub__top-stack {
  position: static;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  margin: 0 auto 14px;
}

.stability-hub__top-title {
  margin: 0;
  position: static;
  text-align: right;
  transform: none;
  color: #ffffff;
  font-size: clamp(2.48rem, 3.6vw, 3.44rem);
  line-height: 1.02;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  /* Плавное затемнение к низу букв для лучшей читаемости на светлых участках */
  background-image: linear-gradient(180deg, #ffffff 0%, #eef2f7 42%, rgba(132, 141, 156, 0.96) 62%, rgba(72, 78, 89, 0.98) 78%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  z-index: auto;
  width: -moz-max-content;
  width: max-content;
}

.stability-hub__top-subtitle {
  margin: 0;
  position: static;
  width: -moz-max-content;
  width: max-content;
  text-align: right;
  transform: translateX(0.08em);
  color: #eef3ff;
  font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  line-height: 1.02;
  letter-spacing: 0.26em;
  font-weight: 500;
  text-transform: uppercase;
  z-index: auto;
  text-shadow: none;
  padding: 2px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 16, 34, 0) 0%, rgba(47, 111, 255, 0.86) 16%, rgba(31, 79, 207, 0.95) 50%, rgba(47, 111, 255, 0.86) 84%, rgba(8, 16, 34, 0) 100%);
}

.stability-hub__card--tl {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  align-self: center;
  justify-self: center;
  width: min(100%, 44ch);
  min-width: 0;
  transform: translateY(0);
}

.stability-hub__card--tr {
  grid-column: 3;
  grid-row: 2;
  margin-top: 0;
  align-self: center;
  justify-self: center;
  width: min(100%, 44ch);
  min-width: 0;
  transform: translateY(0);
}

.stability-hub__media {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  position: relative;
  z-index: 2;
  transform: none;
  margin-top: 0;
  top: 0;
  border-radius: 22px;
  /* Без padding по вертикали: иначе SVG (inset:0) масштабируется на padding-box, а PNG — только на content-box, кружки SMART съезжают */
  padding: 0;
  margin-block: clamp(8px, 1vw, 12px);
  box-sizing: border-box;
  border: none;
  background: #000000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  transform: translateY(0);
  overflow: hidden;
}

.stability-hub__card--bl {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  justify-self: center;
  width: min(100%, 44ch);
  min-width: 0;
  align-self: end;
  transform: translateY(0);
}

.stability-hub__card--br {
  grid-column: 3;
  grid-row: 2;
  margin-top: 0;
  position: static;
  top: auto;
  left: auto;
  justify-self: center;
  width: min(100%, 44ch);
  min-width: 0;
  align-self: end;
  transform: translateY(0);
}

/* Обёртка карточек: на десктопе не создаёт свой слой — дети в общей сетке .stability-hub */
.stability-hub__cards {
  display: contents;
}

@media (min-width: 1200px) {
  .stability-hub .stability-hub__card--tl.reveal:not(.reveal-visible),
  .stability-hub .stability-hub__card--tr.reveal:not(.reveal-visible) {
    transform: translateY(-129.1811023622px) !important;
  }
  .stability-hub .stability-hub__card--bl.reveal:not(.reveal-visible),
  .stability-hub .stability-hub__card--br.reveal:not(.reveal-visible) {
    transform: translateY(-63.0393700787px) !important;
  }
  .stability-hub .stability-hub__card--tl.reveal.reveal-visible,
  .stability-hub .stability-hub__card--tr.reveal.reveal-visible {
    transform: translateY(-4cm) !important;
  }
  .stability-hub .stability-hub__card--bl.reveal.reveal-visible,
  .stability-hub .stability-hub__card--br.reveal.reveal-visible {
    transform: translateY(-2.25cm) !important;
  }
}
.stability-hub__intro {
  grid-column: 1/-1;
  grid-row: 1;
  align-self: center;
  justify-self: stretch;
  max-width: none;
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 0;
  margin-top: -2cm !important;
  transform: none;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

#stability .stability-hub__intro-title {
  margin: 0;
  transform: none;
  color: #ffffff;
  font-size: clamp(1.34rem, 1.68vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -0.014em;
  text-transform: uppercase;
  text-wrap: balance;
}

.stability-hub__intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.82rem, 0.96vw, 1.04rem);
  line-height: 1.34;
  letter-spacing: -0.003em;
  max-width: min(100%, 92ch);
  width: 100%;
  justify-self: center;
  text-wrap: pretty;
}

.stability-hub .stability-v2__infographic {
  margin: 0;
  border-radius: inherit;
  overflow: visible;
  aspect-ratio: 1024/571;
}

.stability-hub .stability-v2__infographic-overlay {
  overflow: visible;
}

.stability-hub .stability-v2__infographic picture {
  display: block;
  width: 100%;
  height: 100%;
}

.stability-hub .stability-v2__infographic-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.stability-hub .stability-benefits__item::before {
  display: none;
}

/* В хабе маркер-кружок из карусели в конце текста (см. .stability-hub__end-marker), не слева сверху */
.stability-hub .stability-benefits__item::after {
  content: none;
}

.stability-hub__end-marker {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.35em;
  border-radius: 50%;
  background: rgba(230, 236, 246, 0.72);
  box-shadow: 0 0 6px rgba(190, 204, 226, 0.24);
  vertical-align: 0.12em;
}

/* В хабе показываем полный текст преимуществ (без обрезки из карусели) */
.stability-hub .stability-benefits__item-title {
  display: none;
}

.stability-hub .stability-benefits__item-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  margin: 0;
  margin-inline: auto;
  min-width: 0;
  width: -moz-max-content;
  width: max-content;
  max-width: min(36ch, 100%);
  position: relative;
  padding-bottom: 0;
  box-sizing: border-box;
  /* Как текст в центральной карточке Kling */
  font-size: clamp(0.65rem, 2.5vw, 0.74rem);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: 0;
  white-space: normal;
  text-overflow: clip;
  text-align: center;
  color: rgba(245, 247, 252, 0.88);
}

.stability-hub .stability-benefits__item-text::after {
  content: none;
}

.stability-hub__card--tl .stability-benefits__item-text,
.stability-hub__card--tr .stability-benefits__item-text,
.stability-hub__card--bl .stability-benefits__item-text,
.stability-hub__card--br .stability-benefits__item-text {
  text-align: center;
  text-wrap: balance;
}

/* TR: три строки по центру; маркер в третьей строке перед «задачу» */
.stability-hub__card--tr .stability-benefits__item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-wrap: wrap;
}

.stability-hub__card--tr .stability-hub__tr-line {
  flex-shrink: 0;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  text-align: center;
}

.stability-hub__end-marker--before-inline {
  margin-left: 0;
  margin-right: 0.3em;
  vertical-align: 0.12em;
}

.stability-hub__end-marker--below {
  display: block;
  margin: 0.28em auto 0;
}

/* Текст преимущества по центру внутри карточки */
.stability-hub .stability-benefits__item > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.stability-hub .stability-benefits__item {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 2px 4px;
  overflow: visible;
  transition: none;
  position: relative;
  isolation: isolate;
}

@media (hover: hover) {
  .stability-hub .stability-benefits__item:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
  }
}
/* Планшет и уже: заголовок SMART → описание → картинка → преимущества сеткой 2×2 */
@media (max-width: 1199px) {
  .stability-hub {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 18px);
    min-height: 0;
    padding-block: clamp(8px, 2vw, 16px);
    overflow-x: hidden;
  }
  .stability-hub .stability-v2__infographic {
    overflow: hidden;
  }
  .stability-hub__lines {
    display: none;
  }
  .stability-hub__intro {
    order: 2;
    max-width: 100%;
    align-self: stretch;
    margin-top: 0 !important;
    transform: none;
  }
  .stability-hub__media {
    order: 3;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin-top: 0;
    margin-block: 0;
  }
  /* Было 4 колонки в один ряд — на iPad (~820–1180px) карточки и текст сильно сжимались */
  .stability-hub__cards {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(12px, 2.8vw, 20px);
    width: 100%;
    align-self: stretch;
    min-width: 0;
  }
  .stability-hub__card--tl,
  .stability-hub__card--tr,
  .stability-hub__card--bl,
  .stability-hub__card--br {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
    width: 100%;
    align-self: stretch;
    justify-self: stretch;
    margin: 0;
    transform: none !important;
  }
  .stability-hub__top-title {
    position: static;
    left: auto;
    top: auto;
    align-self: center;
    text-align: center;
    letter-spacing: 0.16em;
    transform: none;
    width: auto;
    font-size: clamp(1.75rem, 5.2vw, 3.2rem);
  }
  .stability-hub__top-subtitle {
    position: static;
    left: auto;
    top: auto;
    align-self: center;
    text-align: center;
    letter-spacing: 0.2em;
    transform: none;
    width: auto;
  }
  .stability-hub__top-stack {
    order: 1;
    position: static;
    transform: none;
    align-items: center;
    gap: 2px;
  }
  .stability-hub .stability-benefits__item-text {
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
            hyphens: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 4.05em;
  }
  .stability-hub__card--tr .stability-hub__tr-line {
    white-space: normal;
    display: inline;
  }
  .stability-hub__end-marker,
  .stability-hub__end-marker--before-inline {
    display: none !important;
  }
}
.stability-v2__content,
.stability-v2__animation {
  align-self: start;
}

@media (min-width: 980px) {
  /* На десктопе преимущества вне хаба: колонкой, без горизонтального скролла */
  .stability-benefits__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }
  .stability-benefits__item {
    width: auto;
    flex: initial;
    scroll-snap-align: none;
  }
}
.stability-v2__infographic {
  position: relative;
  border-radius: inherit;
  border: none;
  background: #000000;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  /* Небольшая подрезка снизу */
  -webkit-clip-path: inset(0 0 1.8% 0 round inherit);
          clip-path: inset(0 0 1.8% 0 round inherit);
}

.stability-v2__infographic picture {
  display: block;
  width: 100%;
}

.stability-v2__infographic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(34% 42% at -2% 102%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.52) 62%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.52) 11%, rgba(0, 0, 0, 0.24) 22%, rgba(0, 0, 0, 0.06) 30%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.06) 66%, rgba(0, 0, 0, 0.24) 78%, rgba(0, 0, 0, 0.52) 89%, rgba(0, 0, 0, 0.8) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.56) 12%, rgba(0, 0, 0, 0.26) 23%, rgba(0, 0, 0, 0.07) 37%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.07) 63%, rgba(0, 0, 0, 0.26) 77%, rgba(0, 0, 0, 0.56) 88%, rgba(0, 0, 0, 0.84) 100%), radial-gradient(124% 100% at 50% 50%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.28) 78%, rgba(0, 0, 0, 0.68) 100%);
}

/* Мягкая маска сверху/снизу, чтобы скрыть прямые переходы */
.stability-v2__infographic::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 52%, 100% 52%, 100% 3px;
  background-position: center top, center calc(100% + 8px), center bottom;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.44) 10%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0) 28%), linear-gradient(0deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.44) 10%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0) 28%), linear-gradient(0deg, #000000 0%, #000000 100%);
}

.stability-v2__infographic-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  -o-object-fit: contain;
     object-fit: contain;
  background: #000000;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.stability-v2__infographic-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  shape-rendering: geometricPrecision;
  border-radius: inherit;
}

.stability-route {
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.95;
}

.stability-route--prompt {
  stroke: rgba(235, 238, 245, 0.92);
}

.stability-route--server-b {
  stroke: rgba(224, 68, 77, 0.9);
}

.stability-route--server-a {
  stroke: rgba(132, 225, 255, 0.88);
}

.stability-signal {
  will-change: transform, opacity;
}

.stability-signal--glow {
  fill: rgba(255, 255, 255, 0.68);
}

.stability-signal--core {
  fill: rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.98)) drop-shadow(0 0 7px rgba(255, 255, 255, 0.82)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.95));
}

/* Маркеры у углов квадрата SMART: белый диск + чёрная точка по центру */
.stability-smart-corner-dots {
  pointer-events: none;
}

.stability-smart-corner-outer {
  fill: rgba(220, 232, 252, 0.24);
  stroke: rgba(220, 232, 252, 0.48);
  stroke-width: 0.8;
}

.stability-smart-corner-inner {
  fill: rgba(220, 232, 252, 0.48);
  stroke: none;
}

@media (prefers-reduced-motion: reduce) {
  .stability-v2__infographic-overlay {
    display: none;
  }
}
.stability-v2__content {
  display: grid;
  gap: 10px;
  align-content: start;
}

.stability-benefits {
  border-radius: 18px;
  border: none;
  background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 34%), linear-gradient(180deg, rgba(12, 14, 20, 0.66), rgba(9, 11, 16, 0.76));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  padding: clamp(10px, 1.4vw, 14px);
}

.stability-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.stability-benefits__list::-webkit-scrollbar {
  display: none;
}

.stability-benefits__item {
  flex: 0 0 auto;
  width: min(320px, 72vw);
  position: relative;
  padding: 10px 11px 10px 14px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008)), rgba(9, 11, 16, 0.48);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.stability-benefits__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.stability-benefits__item::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(230, 236, 246, 0.72);
  box-shadow: 0 0 6px rgba(190, 204, 226, 0.24);
}

@media (hover: hover) {
  .stability-benefits__item:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016)), rgba(9, 11, 16, 0.56);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }
}
.stability-benefits__item-title {
  margin: 0;
  color: rgba(236, 240, 247, 0.82);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.89rem;
  line-height: 1.25;
  min-height: 2.44em;
  text-wrap: balance;
}

.stability-benefits__item-text {
  margin: 7px 0 0;
  color: rgba(182, 192, 208, 0.66);
  font-size: 0.8rem;
  line-height: 1.5;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stability-point {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.stability-point h3 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.stability-point p {
  margin: 7px 0 0;
  color: #b8bfca;
  font-size: 0.8rem;
  line-height: 1.5;
}

.stability-stats {
  margin-top: 2px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stability-stats__value {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stability-stats__label {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 0.76rem;
  line-height: 1.35;
}

/* ——— Тарифы: чистый нейтральный фон ——— */
.pricing-section {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: #000000;
  color: #eef3ff;
}

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

.pricing-section::after {
  content: none;
}

.pricing-section__shader {
  display: none;
}

.pricing-section__wave {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  line-height: 0;
  pointer-events: none;
}

.pricing-section__wave-svg {
  display: block;
  width: 100%;
  height: clamp(52px, 11vw, 112px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.pricing-section__wave--exit .pricing-section__wave-fill {
  fill: #000000 !important;
}

.pricing-section__wave-crest {
  fill: none;
  stroke: none;
  stroke-width: 0;
  vector-effect: non-scaling-stroke;
}

.pricing-section__content {
  position: relative;
  z-index: 3;
  padding: clamp(40px, 6.8vw, 68px) 0 clamp(32px, 5.2vw, 52px);
}

.pricing-offer {
  position: relative;
  z-index: 3;
  background: #000000;
  padding-top: clamp(60px, 8vw, 124px);
  padding-bottom: clamp(34px, 5.6vw, 72px);
  min-height: clamp(250px, 30vw, 380px);
}

.container.pricing-offer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.pricing-offer__card {
  position: relative;
  z-index: 2;
  width: min(1080px, 100% - clamp(28px, 6vw, 120px));
  max-width: 1080px;
  min-width: 0;
  margin: 0 auto;
  border-radius: 28px;
  padding: clamp(18px, 2.8vw, 28px) clamp(12px, 2.1vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(46% 126% at 66% 100%, rgba(47, 111, 255, 0.42), rgba(47, 111, 255, 0) 62%), radial-gradient(42% 116% at 14% 0%, rgba(47, 111, 255, 0.42), rgba(47, 111, 255, 0) 66%), linear-gradient(90deg, rgba(7, 10, 18, 0.74) 0%, rgba(9, 12, 20, 0.7) 52%, rgba(7, 10, 18, 0.74) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: clamp(8px, 1.2vw, 12px);
  text-align: center;
  transform: translateY(-4px);
  transition: transform 0.42s cubic-bezier(0.33, 1.12, 0.52, 1), box-shadow 0.38s ease;
}

.pricing-offer__card::before,
.pricing-offer__card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  inset: 0;
}

.pricing-offer__card::before {
  background: linear-gradient(145deg, rgba(47, 111, 255, 0.2), rgba(47, 111, 255, 0) 52%);
  opacity: 0.32;
}

.pricing-offer__card::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.55;
}

.pricing-offer__kicker {
  margin: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
}

.pricing-offer__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.08rem, 2.2vw, 1.62rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #ffffff;
}

.pricing-offer__text {
  margin: 0 auto;
  max-width: none;
  color: #bfbfbf;
  font-size: clamp(0.82rem, 1.28vw, 0.9rem);
  line-height: 1.45;
  white-space: nowrap;
}

.pricing-offer__cta {
  justify-self: center;
  margin-top: 2px;
  min-height: 38px;
  padding-inline: clamp(14px, 2vw, 22px);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-offer__cta.btn.primary {
  background: var(--brand-blue-hover) !important;
  color: #f7f9ff;
  border: none;
  box-shadow: none;
  transform: none;
  filter: none !important;
  transition: background 0.28s ease, transform 0.2s ease;
}

.pricing-offer__cta.btn.primary:focus-visible {
  background: var(--brand-blue) !important;
  color: #f7f9ff;
  box-shadow: none;
  filter: none !important;
  transform: translateY(-1px);
}

.pricing-offer__cta.btn.primary:active {
  transform: scale(0.99);
  background: var(--brand-blue) !important;
  box-shadow: none;
  filter: none !important;
}

@media (hover: hover) {
  .pricing-offer__card:hover {
    transform: translateY(-4px);
    z-index: 2;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  }
  .pricing-offer__cta.btn.primary:hover {
    background: var(--brand-blue-hover) !important;
    color: #f7f9ff;
    box-shadow: none;
    filter: none !important;
    transform: translateY(-1px);
  }
  .pricing-offer__card:hover .pricing-offer__cta.btn.primary {
    background: var(--brand-blue-hover) !important;
    color: #f7f9ff;
    box-shadow: none;
    filter: none !important;
    transform: translateY(-1px);
  }
}
.pricing-offer__card:focus-within {
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.pricing-offer__card:focus-within .pricing-offer__cta.btn.primary {
  background: var(--brand-blue) !important;
  color: #f7f9ff;
  box-shadow: none;
  filter: none !important;
  transform: translateY(-1px);
}

@keyframes pricing-offer-lightning-pulse {
  0%, 100% {
    opacity: 1;
  }
  28% {
    opacity: 0.42;
  }
  52% {
    opacity: 1;
  }
  74% {
    opacity: 0.32;
  }
}
.pricing-offer__lightning {
  flex-shrink: 0;
  display: block;
  color: currentColor;
  animation: pricing-offer-lightning-pulse 3.4s ease-in-out infinite;
}

.pricing-section__kicker {
  color: #a8a8a8;
}

.pricing-section__title {
  margin: 0 0 clamp(12px, 2vw, 22px);
  text-align: center;
  font-size: clamp(2.48rem, 3.6vw, 3.44rem);
  letter-spacing: -0.02em;
  font-weight: 650;
  line-height: 1.14;
  color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #eef2f7 48%, #c8ced8 62%, #8a919c 76%, #4a4f58 90%, #0f0f10 98%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.pricing-section__kicker,
.pricing-section__lead {
  text-shadow: none;
}

.pricing-section__lead {
  color: #b8b8b8 !important;
  margin: 0 auto clamp(14px, 2vw, 22px);
}

.pricing-section .pricing {
  margin-top: clamp(18px, 3vw, 36px);
}

.pricing-grid-cards {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  padding-top: clamp(12px, 2.2vw, 20px);
  overflow: visible;
}

.pricing-plan-card {
  position: relative;
  border-radius: 18px;
  border: none;
  background: #131316;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  padding: 24px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  transition: transform 0.42s cubic-bezier(0.33, 1.12, 0.52, 1), box-shadow 0.38s ease;
  isolation: isolate;
}

.pricing-plan-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  border: 2px solid rgba(26, 114, 235, 0.98);
  box-shadow: 0 0 8px rgba(26, 114, 235, 0.5), 0 0 18px rgba(26, 114, 235, 0.36), 0 0 30px rgba(26, 114, 235, 0.26), 0 0 44px rgba(26, 114, 235, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-plan-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 10px 0 0;
  align-items: center;
}

.pricing-plan-card__meta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 0;
  order: -1;
  margin-top: 0;
  margin-bottom: 0;
}

.pricing-plan-card__price-block {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.pricing-plan-card__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pricing-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.pricing-plan-card:hover::after,
.pricing-grid-cards .pricing-plan-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.pricing-grid-cards .pricing-plan-card.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.pricing-plan-card__badge {
  position: absolute;
  top: 0;
  left: 14px;
  transform: translateY(-50%);
  margin: 0;
  width: -moz-fit-content;
  width: fit-content;
  max-width: min(100%, 12rem);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eaf2ff;
  background: linear-gradient(90deg, #1a3a78 0%, #1f4fcf 16%, #2f6fff 50%, #1f4fcf 84%, #1a3a78 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pricing-plan-card__badge::before {
  content: none;
}

.pricing-plan-card__period {
  position: static;
  margin: 0;
  padding: 0;
  border-radius: 0;
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  background-image: linear-gradient(180deg, #ffffff 0%, #f2f4f8 55%, #7f8794 78%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-plan-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 36px;
}

.pricing-plan-card__old {
  margin: 2px 0 0;
  color: #9a9a9a;
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  -webkit-text-decoration-color: rgba(210, 210, 210, 0.45);
          text-decoration-color: rgba(210, 210, 210, 0.45);
  white-space: nowrap;
}

.pricing-plan-card__price {
  margin: 2px 0 0;
  font-size: clamp(1.18rem, 1.85vw, 1.46rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
}

.pricing-plan-card__sub {
  margin: 0;
  color: #a9a9a9;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.pricing-plan-card__save {
  position: absolute;
  top: 10px;
  right: 12px;
  margin: 0;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  gap: 6px;
  line-height: 1;
  color: rgba(206, 211, 223, 0.33);
  text-align: center;
  pointer-events: none;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.pricing-plan-card__save-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: currentColor;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  line-height: inherit;
}

.pricing-plan-card__save-kicker::before {
  content: none;
}

.pricing-plan-card__save-kicker::after {
  content: none;
}

.pricing-plan-card__save-pct {
  color: currentColor;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.pricing-plan-card__bonus {
  margin: 0;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #131316;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9d9d9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  text-align: center;
}

.pricing-plan-card__bonus-icon {
  width: 13px;
  height: 13px;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.96;
  transition: color 0.22s ease;
}

.pricing-plan-card__bonus-icon path {
  fill: none;
}

.pricing-plan-card__bonus-lightning {
  width: 0.9em;
  height: 0.9em;
  margin-inline: -2px 2px;
  color: #ffffff;
  vertical-align: -0.08em;
  animation: sphere-gallery-kling-lightning 5.2s ease-in-out infinite;
}

.pricing-plan-card__note {
  margin: 0;
  color: #b8becd;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.005em;
  text-wrap: pretty;
}

.pricing-plan-card__desc {
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  justify-items: center;
  width: 100%;
  min-height: 0;
}

.pricing-plan-card__desc-title {
  margin: 0;
  color: #f0f5ff;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  min-height: 2.3em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.pricing-plan-card__desc-text {
  margin: 0;
  color: #b8c0d1;
  font-size: 0.73rem;
  line-height: 1.45;
  text-wrap: pretty;
  width: 100%;
  min-height: 0;
}

.pricing-benefits {
  margin: 0 auto clamp(14px, 2.4vw, 24px);
  width: min(100%, 1120px);
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
  justify-items: center;
}

.pricing-benefits__head {
  display: grid;
  gap: 8px;
  text-align: center;
}

.pricing-benefits__kicker {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a7a7a7;
  font-weight: 700;
}

.pricing-benefits h3 {
  margin: 0;
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  line-height: 1.35;
  color: #f4f8ff;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 720px;
}

.pricing-benefits__list {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(12px, 2.2vw, 26px);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: clamp(10px, 1.4vw, 16px);
  overflow: visible;
}

.pricing-benefits__list li {
  --benefit-icon: none;
  width: calc(100% - 12px);
  max-width: calc(100% - 12px);
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #131316;
  color: #cfcfcf;
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  flex: 1 1 auto;
  position: relative;
  margin-inline: auto;
}

.pricing-benefits__list::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1024px) {
  .pricing-benefits__list {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pricing-benefits__list li::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: rgba(26, 114, 235, 0.12);
  background-image: var(--benefit-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
  box-shadow: inset 0 0 0 1px rgba(26, 114, 235, 0.28);
  opacity: 1;
  margin-right: 0;
}

.pricing-benefits__list li:nth-child(1) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.2' y='2.2' width='4.6' height='4.6' rx='1'/%3E%3Crect x='9.2' y='2.2' width='4.6' height='4.6' rx='1'/%3E%3Crect x='2.2' y='9.2' width='4.6' height='4.6' rx='1'/%3E%3Crect x='9.2' y='9.2' width='4.6' height='4.6' rx='1'/%3E%3Cpath d='M6.8 4.5h2.4'/%3E%3Cpath d='M4.5 6.8v2.4'/%3E%3C/svg%3E");
}

.pricing-benefits__list li:nth-child(2) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.9 1.8L4.8 8h3L7.1 14.2l4.1-6.2h-3z' fill='%231a72eb' stroke='none'/%3E%3Cpath d='M8.9 1.8L4.8 8h3L7.1 14.2l4.1-6.2h-3z'/%3E%3C/svg%3E");
}

.pricing-benefits__list li:nth-child(3) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13.6c-2.8 0-4.8-2.1-4.8-4.8 0-1.9 1-3.5 2.6-4.5-.1 1 .2 2 .8 2.8.2-1.7.9-3.2 2-4.8 1.2 1.6 1.9 3.1 2.1 4.8.6-.8.8-1.8.7-2.8 1.6 1 2.6 2.6 2.6 4.5 0 2.7-2 4.8-4.8 4.8z'/%3E%3Cpath d='M8 11.1c-1 0-1.7-.8-1.7-1.9 0-.8.5-1.6 1.2-2.1.1.7.4 1.4.8 1.9.4-.6.7-1.2.8-1.9.7.5 1.2 1.3 1.2 2.1 0 1.1-.7 1.9-1.7 1.9z' fill='%231a72eb' stroke='none'/%3E%3C/svg%3E");
}

.pricing-benefits__list li:nth-child(3)::before {
  background-size: 15px 17px;
}

.pricing-benefits__list li:nth-child(4) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='5.8'/%3E%3Cpath d='M8 4.8v3.4l2 1.4'/%3E%3Cpath d='M8 1.9v1.2'/%3E%3C/svg%3E");
}

.pricing-benefits__list li:nth-child(5) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 10.6L8 6.8l1.9 1.9L12.8 5.8'/%3E%3Cpath d='M12.8 5.8v2.1'/%3E%3Cpath d='M12.8 5.8h-2.1'/%3E%3C/svg%3E");
}

.pricing-benefits__list li:nth-child(6) {
  --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a72eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.9 8c0-1.6 1.1-2.7 2.5-2.7 1.3 0 2.1.9 3.6 2.7 1.5 1.8 2.3 2.7 3.6 2.7 1.4 0 2.5-1.1 2.5-2.7s-1.1-2.7-2.5-2.7c-1.3 0-2.1.9-3.6 2.7C6.5 9.8 5.7 10.7 4.4 10.7 3 10.7 1.9 9.6 1.9 8z'/%3E%3C/svg%3E");
}

.pricing-benefits__list li::after {
  content: none;
}

.pricing-plan-card__cta {
  width: 100%;
  margin-top: 0;
  min-height: 38px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.pricing-plan-card__cta.btn.primary {
  background: #1a1a21 !important;
  color: #ffffff;
  border: none;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease, box-shadow 0.28s ease, transform 0.2s ease;
}

.pricing-plan-card__cta.btn.primary:hover {
  background: #22222a !important;
  color: #ffffff;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.34);
}

.pricing-plan-card__cta.btn.primary:active {
  transform: scale(0.99);
}

.pricing-section .pricing-benefits {
  margin-inline: auto;
}

.pricing-plan-card--popular {
  border: none;
  background: #131316;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  transform: none;
}

.pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__badge {
  opacity: 1;
  transform: translateY(-50%);
}

.pricing-plan-card--popular:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.pricing-grid-cards .pricing-plan-card--popular:focus-within {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.pricing-plan-card--popular .pricing-plan-card__save {
  border-color: transparent;
  box-shadow: none;
}

@media (hover: hover) {
  .pricing-grid-cards {
    overflow: visible;
  }
  .pricing-grid-cards .pricing-plan-card {
    transform-origin: center bottom;
    transition: transform 0.45s cubic-bezier(0.33, 1.18, 0.52, 1), box-shadow 0.4s ease;
  }
  .pricing-grid-cards .pricing-plan-card:hover {
    transform: translateY(-6px) scale(1.018);
    z-index: 4;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  }
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__cta.btn.primary {
    background: var(--brand-blue) !important;
    color: #ffffff;
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.34);
  }
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__price {
    color: #ffffff;
  }
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save {
    border-color: transparent;
    box-shadow: none;
  }
}
/* Активная карточка с клавиатуры: та же рамка (вне @media hover) */
.pricing-grid-cards .pricing-plan-card:focus-within {
  transform: translateY(-6px) scale(1.018);
  z-index: 4;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__cta.btn.primary {
  background: var(--brand-blue) !important;
  color: #ffffff;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.34);
}

.pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__price {
  color: #ffffff;
}

.pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save {
  border-color: transparent;
  box-shadow: none;
}

.pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-kicker,
.pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-kicker,
.pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-pct,
.pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-pct {
  color: currentColor !important;
}

@keyframes pricing-save-pulse {
  0%, 70%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    text-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(26, 114, 235, 0);
  }
  20% {
    opacity: 0.98;
    transform: translate3d(0, -0.5px, 0) scale(1.04);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.35), 0 0 18px rgba(26, 114, 235, 0.28);
  }
  35% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.012);
  }
}
.pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-kicker,
.pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-pct {
  color: #ffffff !important;
  display: inline-block;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-pct,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-pct,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-pct {
    animation: none !important;
  }
}
@media (min-width: 1025px) {
  /* Десктоп: состояние hover/focus выглядит как активная карточка на мобильной */
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__badge,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__badge {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__cta.btn.primary,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__cta.btn.primary {
    background: var(--brand-blue) !important;
    color: #ffffff !important;
  }
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-pct,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-pct {
    color: #ffffff !important;
    display: inline-block;
    animation: none !important;
  }
}
.pricing-section .pricing-switches {
  max-width: 920px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 18px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(0, 0, 0, 0.05) inset;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.pricing-section .period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  color: #f3f6fb !important;
  background: #0f0f10 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.pricing-section .period:hover {
  background: #121214 !important;
  transform: translateY(-1px);
}

.pricing-section .period.active {
  background: #0f0f10;
  border-color: #0f0f10;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.pricing-section .period:focus-visible {
  outline: 2px solid rgba(10, 10, 10, 0.28);
  outline-offset: 2px;
}

.pricing-section .period.active:focus-visible {
  outline-color: rgba(10, 10, 10, 0.45);
}

.pricing-section .period:active {
  transform: translateY(0);
}

.pricing-switches {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  grid-auto-flow: column;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 8px;
}

.pricing-switches::-webkit-scrollbar {
  display: none;
}

.period {
  border: none;
  border-radius: 999px;
  height: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #f5f5f5;
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all 0.25s ease;
}

.period.active {
  background: #0f0f10;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.pricing-section .pricing-card--unified {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.07) inset;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.pricing-section .pricing-card__header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.pricing-section .pricing-card__checkout {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

@media (min-width: 981px) {
  .pricing-section .pricing-card__checkout {
    position: sticky;
    top: max(12px, env(safe-area-inset-top, 0px));
  }
}
.pricing-side-head {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-side-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}

.pricing-side-title {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.pricing-side-why {
  margin: 0;
  color: rgba(10, 10, 10, 0.64);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-feature {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.pricing-feature__icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.75);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-feature__icon svg {
  width: 16px;
  height: 16px;
}

.pricing-feature__text {
  color: rgba(10, 10, 10, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-section .plan-title {
  color: #0a0a0a;
}

.pricing-section .plan-price {
  color: #0a0a0a;
  letter-spacing: -0.03em;
}

.pricing-section .plan-sub {
  color: #737373;
}

.pricing-section .pricing-bonus-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.pricing-section .pricing-gift-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: rgba(10, 10, 10, 0.5);
}

.pricing-section .pricing-gift-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pricing-section .pricing-bonus-text {
  font-size: 0.92rem;
  font-weight: 650;
  color: #262626;
  line-height: 1.35;
}

.pricing-section .pricing-per-month {
  margin-top: 12px;
}

.pricing-section .pricing-per-month__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  font-weight: 600;
}

.pricing-section .plan-sub--per-month {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: #0a0a0a;
}

.pricing-section .pricing-total {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-section .pricing-total__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(10, 10, 10, 0.55);
}

.pricing-section .plan-price--total {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-section .pricing-promo {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-section .pricing-promo__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  font-weight: 600;
}

.pricing-section .pricing-promo__controls {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.pricing-section .pricing-promo__input {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0 12px;
  outline: none;
}

.pricing-section .pricing-promo__input:focus-visible {
  border-color: rgba(10, 10, 10, 0.3);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.pricing-section .pricing-promo__btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.18);
  background: rgba(10, 10, 10, 0.04);
  color: #0a0a0a;
  font-size: 0.84rem;
  font-weight: 700;
}

.pricing-section .pricing-promo__btn:hover {
  background: rgba(10, 10, 10, 0.08);
}

.pricing-section .pricing-promo__status {
  margin: 7px 0 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  color: rgba(10, 10, 10, 0.58);
  line-height: 1.4;
}

.pricing-section .pricing-promo__status.is-success {
  color: #065f46;
}

.pricing-section .pricing-promo__status.is-error {
  color: #b91c1c;
}

.pricing-section .pricing-features {
  color: #525252;
}

.pricing-section .pricing-card__save-note {
  color: rgba(10, 10, 10, 0.55);
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
}

.pricing-section__cta {
  background: #0a0a0a !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.22s ease;
}

.pricing-section__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.pricing-section__cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.pricing {
  margin-top: 34px;
}

.pricing-layout {
  margin-top: clamp(10px, 2vw, 14px);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card--unified {
  border-radius: 22px;
  border: none;
  background: linear-gradient(180deg, rgba(13, 18, 30, 0.94), rgba(8, 10, 16, 0.95));
  padding: clamp(18px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: clamp(14px, 2vw, 18px);
  margin-bottom: clamp(14px, 2vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card__plan-title {
  margin: 0;
  text-align: right;
  flex: 1 1 200px;
}

.pricing-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.pricing-card__benefits {
  min-width: 0;
}

.pricing-card__checkout {
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2vw, 18px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card__price-stack .pricing-bonus-row {
  margin: 0;
}

.pricing-card__price-stack .pricing-per-month {
  margin-top: 12px;
}

.pricing-card__price-stack .pricing-total {
  margin-top: 14px;
}

.pricing-card__price-stack .pricing-promo {
  margin-top: 14px;
}

.pricing-card__price-stack .plan-price--total {
  margin: 4px 0 0;
}

.pricing-card__checkout .btn.full {
  margin-top: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cta-text);
  background: linear-gradient(130deg, #f0f0f0, #b0b0b0);
}

.plan-title {
  margin: 8px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-price {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.plan-sub {
  margin: 8px 0 0;
  color: #9ca3af;
}

.plan-bonus {
  margin: 14px 0 0;
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  font-weight: 700;
  font-size: 0.84rem;
  color: #e5e5e5;
}

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

.reviews-block {
  width: 100%;
  max-width: min(1120px, 100% - 2 * var(--page-gutter-fluid));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.reviews-orbit {
  position: relative;
}

.reviews-orbit__field {
  position: relative;
  width: 100%;
  max-width: 1180px;
  min-height: clamp(460px, 50vw, 600px);
  margin: 0 auto;
  box-sizing: border-box;
  padding-right: clamp(32px, 4.4vw, 72px);
}

.reviews-orbit__ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  animation: none;
}

.reviews-orbit__avatar {
  --avatar-size: clamp(52px, 5.2vw, 82px);
  --avatar-size-active: clamp(86px, 7.8vw, 114px);
  --avatar-frame-inset: 0;
  --avatar-frame-scale: 1;
  --float-duration: 6.4s;
  --float-delay: 0s;
  --float-distance: 10px;
  --hover-scale: 1;
  position: absolute;
  z-index: 2;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: width 0.58s cubic-bezier(0.22, 1, 0.36, 1), height 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.62s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease, opacity 0.3s ease;
  /* Центр по left/top: JS ставит центр, анимация плавающего всплытия в keyframes. */
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  animation: reviewsAvatarFloat calc(var(--float-duration) * 0.68) ease-in-out infinite;
  animation-delay: var(--float-delay);
}

.reviews-orbit__avatar::after {
  content: none;
  display: none;
}

.reviews-orbit__avatar:hover {
  animation-play-state: paused;
  /* Не задаём translate/scale на кнопке: keyframes уже двигают translate3d по Y;
     подмена на translate(-50%,-50%) сбивала фазу плавания — визуально «рывок» вверх-вниз. */
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 16px rgba(26, 114, 235, 0.3), 0 0 26px rgba(26, 114, 235, 0.18);
}

.reviews-orbit__avatar.is-active {
  width: var(--avatar-size-active);
  height: var(--avatar-size-active);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 16px rgba(26, 114, 235, 0.3), 0 0 26px rgba(26, 114, 235, 0.18);
}

.reviews-orbit__avatar :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: inherit;
  box-sizing: border-box;
  border: 2px solid transparent;
  animation: none;
  transform: translateZ(0) scale(1);
  transition: transform 0.58s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  image-rendering: auto;
  filter: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: center center;
}

.reviews-orbit__avatar:hover :is(img, video) {
  transform: translateZ(0) scale(1.08);
}

.reviews-orbit__avatar.is-active :is(img, video) {
  border-color: rgba(26, 114, 235, 0.98);
  transform: translateZ(0) scale(1);
}

.reviews-orbit__avatar video {
  pointer-events: none;
}

.reviews-orbit__field.is-paused .reviews-orbit__avatar {
  animation-play-state: running;
}

.reviews-orbit__field.is-paused .reviews-orbit__avatar.is-active {
  animation-play-state: paused;
}

/* Позиции на десктопе: зоны вокруг карточки — script.js / layoutOrbitAvatars. */
.reviews-orbit__avatar--1 {
  --avatar-size: clamp(50px, 4.9vw, 72px);
  --float-duration: 5.8s;
  --float-delay: -0.8s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--1 img {
  --float-duration: 5.8s;
  --float-delay: -0.8s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--2 {
  --avatar-size: clamp(38px, 3.8vw, 54px);
  --float-duration: 7.1s;
  --float-delay: -2.2s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--2 img {
  --float-duration: 7.1s;
  --float-delay: -2.2s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--3 {
  --avatar-size: clamp(56px, 5.3vw, 76px);
  --float-duration: 6.2s;
  --float-delay: -1.6s;
  --float-distance: 11px;
}

.reviews-orbit__avatar--3 img {
  --float-duration: 6.2s;
  --float-delay: -1.6s;
  --float-distance: 11px;
}

.reviews-orbit__avatar--4 {
  --avatar-size: clamp(62px, 6.1vw, 88px);
  --float-duration: 7.8s;
  --float-delay: -3.4s;
  --float-distance: 8px;
}

.reviews-orbit__avatar--4 img {
  --float-duration: 7.8s;
  --float-delay: -3.4s;
  --float-distance: 8px;
}

.reviews-orbit__avatar--5 {
  --avatar-size: clamp(66px, 6.3vw, 94px);
  --float-duration: 6.7s;
  --float-delay: -2.9s;
  --float-distance: 10px;
}

.reviews-orbit__avatar--5 img {
  --float-duration: 6.7s;
  --float-delay: -2.9s;
  --float-distance: 10px;
}

.reviews-orbit__avatar--6 {
  --avatar-size: clamp(40px, 4vw, 56px);
  --float-duration: 5.4s;
  --float-delay: -1.1s;
  --float-distance: 6px;
}

.reviews-orbit__avatar--6 img {
  --float-duration: 5.4s;
  --float-delay: -1.1s;
  --float-distance: 6px;
}

.reviews-orbit__avatar--7 {
  --avatar-size: clamp(42px, 4.1vw, 58px);
  --float-duration: 7.4s;
  --float-delay: -3.1s;
  --float-distance: 12px;
}

.reviews-orbit__avatar--7 img {
  --float-duration: 7.4s;
  --float-delay: -3.1s;
  --float-distance: 12px;
}

.reviews-orbit__avatar--8 {
  --avatar-size: clamp(58px, 5.5vw, 80px);
  --float-duration: 6.1s;
  --float-delay: -2.6s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--8 img {
  --float-duration: 6.1s;
  --float-delay: -2.6s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--9 {
  --avatar-size: clamp(62px, 6vw, 88px);
  --float-duration: 5.9s;
  --float-delay: -4.2s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--9 img {
  --float-duration: 5.9s;
  --float-delay: -4.2s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--10 {
  --avatar-size: clamp(60px, 5.9vw, 84px);
  --float-duration: 8.1s;
  --float-delay: -1.9s;
  --float-distance: 11px;
}

.reviews-orbit__avatar--10 img {
  --float-duration: 8.1s;
  --float-delay: -1.9s;
  --float-distance: 11px;
}

.reviews-orbit__avatar--11 {
  --avatar-size: clamp(64px, 6.1vw, 90px);
  --float-duration: 6.8s;
  --float-delay: -3.7s;
  --float-distance: 8px;
}

.reviews-orbit__avatar--11 img {
  --float-duration: 6.8s;
  --float-delay: -3.7s;
  --float-distance: 8px;
}

.reviews-orbit__avatar--12 {
  --avatar-size: clamp(48px, 4.6vw, 68px);
  --float-duration: 6.6s;
  --float-delay: -2.4s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--12 img {
  --float-duration: 6.6s;
  --float-delay: -2.4s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--13 {
  --avatar-size: clamp(60px, 5.8vw, 84px);
  --float-duration: 7.2s;
  --float-delay: -1.7s;
  --float-distance: 10px;
}

.reviews-orbit__avatar--13 img {
  --float-duration: 7.2s;
  --float-delay: -1.7s;
  --float-distance: 10px;
}

.reviews-orbit__avatar--14 {
  --avatar-size: clamp(42px, 4.1vw, 60px);
  --float-duration: 5.7s;
  --float-delay: -3.3s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--14 img {
  --float-duration: 5.7s;
  --float-delay: -3.3s;
  --float-distance: 7px;
}

.reviews-orbit__avatar--15 {
  --avatar-size: clamp(58px, 5.6vw, 82px);
  --float-duration: 6.9s;
  --float-delay: -0.9s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--15 img {
  --float-duration: 6.9s;
  --float-delay: -0.9s;
  --float-distance: 9px;
}

.reviews-orbit__avatar--16 {
  --avatar-size: clamp(64px, 6.2vw, 90px);
  --float-duration: 7.3s;
  --float-delay: -2.1s;
  --float-distance: 8px;
}

.reviews-orbit__avatar--16 img {
  --float-duration: 7.3s;
  --float-delay: -2.1s;
  --float-distance: 8px;
}

.reviews-orbit__label {
  display: none;
}

.reviews-orbit__center-copy {
  position: absolute;
  right: auto;
  bottom: auto;
  top: 50%;
  left: 50%;
  inset: auto;
  transform: translate3d(-50%, -50%, 0);
  z-index: 3;
  width: 680px !important;
  max-width: min(680px, 100% - min(320px, 22vw));
  height: auto;
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin: 0;
  padding-inline: clamp(16px, 2.4vw, 32px);
}

.reviews-orbit__center-review {
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: clamp(14px, 1.6vw, 24px);
  width: 100%;
  min-height: clamp(210px, 20vw, 290px);
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transition: none;
  will-change: auto;
}

.reviews-orbit__center-body {
  flex: 0 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(8px, 1.1vw, 14px);
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.42s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.42s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.42s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reviews-orbit__center-review.is-transitioning {
  opacity: 1;
  transform: none;
  filter: none;
}

.reviews-orbit__center-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0.2em;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.reviews-orbit__center-name {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  line-height: 1.2;
  font-weight: 650;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  word-break: break-word;
}

.reviews-orbit__center-role {
  margin: 0;
  font-family: "Metrika", "Inter", sans-serif;
  font-size: clamp(0.9rem, 1.08vw, 1.04rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #4578cf;
  font-weight: 500;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  word-break: break-word;
}

.reviews-orbit__center-quote {
  margin: 0;
  color: #c9ced8;
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  line-height: 1.32;
  text-align: center;
  text-wrap: balance;
  width: 100%;
  flex: 0 1 auto;
  min-height: auto;
  display: block;
  overflow: visible;
  max-height: none;
  padding-top: 2px;
  padding-bottom: 2px;
}

.reviews-orbit__center-review.is-transitioning .reviews-orbit__center-body {
  opacity: 0;
  transform: translateY(5px);
  filter: blur(1px);
  will-change: opacity, transform, filter;
}

@media (max-width: 980px) {
  .reviews-block {
    max-width: min(100%, 100% - 2 * var(--page-gutter-fluid));
  }
  .reviews-orbit__field {
    min-height: clamp(420px, 64vw, 540px);
  }
  .reviews-orbit__center-copy {
    width: min(74vw, 620px) !important;
    max-width: min(620px, 100% - min(250px, 32vw));
    padding-inline: clamp(12px, 2.2vw, 24px);
  }
  .reviews-orbit__center-quote {
    font-size: clamp(0.94rem, 1.62vw, 1.1rem);
    line-height: 1.24;
  }
}
/* Отзывы: та же колоночная схема, что на телефоне — до ширины планшета включительно */
@media (max-width: 1024px) {
  .stability-reviews-wave__svg {
    height: clamp(44px, 12vw, 72px);
  }
  #reviews {
    min-height: 0;
    padding-top: clamp(20px, 4vw, 32px);
    padding-bottom: clamp(40px, 7vw, 56px);
  }
  #reviews h2 {
    text-align: center;
    font-size: clamp(1.28rem, 6.2vw, 1.56rem);
  }
  .reviews-orbit__field {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding-right: 0;
  }
  .reviews-orbit__center-identity {
    row-gap: 0.18em;
    justify-content: center;
  }
  .reviews-orbit__center-name,
  .reviews-orbit__center-role {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .reviews-orbit__avatar {
    position: relative;
    width: clamp(54px, 14vw, 68px);
    height: clamp(54px, 14vw, 68px);
    transform: translateZ(0) scale(1);
    animation: none;
    border-radius: 11px;
    border: 0;
    --avatar-frame-inset: 0;
    --avatar-frame-scale: 1;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease, opacity 0.36s ease;
  }
  .reviews-orbit__avatar::after {
    content: none;
    display: none;
  }
  .reviews-orbit__avatar:focus-visible {
    outline: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(26, 114, 235, 0.45);
  }
  .reviews-orbit__avatar:hover {
    transform: translateZ(0) scale(1.1);
    z-index: 2;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 14px rgba(26, 114, 235, 0.35);
  }
  .reviews-orbit__avatar:hover :is(img, video) {
    transform: translateZ(0) scale(1.05);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reviews-orbit__avatar.is-active {
    transform: translateZ(0) scale(1.16);
    z-index: 3;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), 0 0 18px rgba(26, 114, 235, 0.38), 0 0 28px rgba(26, 114, 235, 0.22);
  }
  .reviews-orbit__avatar.is-active :is(img, video) {
    border-color: rgba(26, 114, 235, 0.98);
    transform: translateZ(0) scale(1);
  }
  .reviews-orbit__avatar.is-near-left:not(.is-active) {
    transform: translate(-6px, 0) scale(0.98);
  }
  .reviews-orbit__avatar.is-near-right:not(.is-active) {
    transform: translate(6px, 0) scale(0.98);
  }
  .reviews-orbit__ring {
    position: static;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2.8vw, 14px);
    justify-items: center;
    align-items: center;
    animation: none;
  }
  .reviews-orbit__avatar :is(img, video) {
    animation: none;
  }
  .reviews-orbit__center-copy {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    inset: auto !important;
    transform: none !important;
    width: min(100%, 560px) !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    order: -1;
    padding-inline: 0;
  }
  .reviews-orbit {
    display: grid;
    gap: clamp(12px, 3vw, 18px);
  }
  .reviews-orbit__avatar--1,
  .reviews-orbit__avatar--2,
  .reviews-orbit__avatar--3,
  .reviews-orbit__avatar--4,
  .reviews-orbit__avatar--5,
  .reviews-orbit__avatar--6,
  .reviews-orbit__avatar--7,
  .reviews-orbit__avatar--8,
  .reviews-orbit__avatar--9,
  .reviews-orbit__avatar--10,
  .reviews-orbit__avatar--11,
  .reviews-orbit__avatar--12,
  .reviews-orbit__avatar--13,
  .reviews-orbit__avatar--14,
  .reviews-orbit__avatar--15,
  .reviews-orbit__avatar--16 {
    justify-self: center;
  }
  .reviews-orbit__label {
    display: none;
  }
  .reviews-orbit__center-name {
    font-size: clamp(1rem, 4.2vw, 1.16rem);
  }
  .reviews-orbit__center-role {
    font-size: clamp(0.9rem, 3.7vw, 1.02rem);
  }
  .reviews-orbit__center-quote {
    font-size: clamp(0.9rem, 3.75vw, 1.02rem);
    line-height: 1.28;
  }
  .reviews-orbit__center-review {
    padding: clamp(12px, 3.4vw, 18px);
    min-height: 186px;
    height: auto;
    max-height: none;
  }
}
@media (max-width: 520px) {
  .reviews-orbit__ring {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* Базовые ховеры/актив состояние наследуются из правил max-width 1024px —
     здесь только уникальные числа узкой сетки */
  .reviews-orbit__avatar {
    border-radius: 10px;
  }
  .reviews-orbit__center-review {
    min-height: 180px;
    height: auto;
    max-height: none;
  }
  .reviews-orbit__avatar.is-near-left:not(.is-active) {
    transform: translate(-5px, 0) scale(0.98);
  }
  .reviews-orbit__avatar.is-near-right:not(.is-active) {
    transform: translate(5px, 0) scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-orbit__avatar,
  .reviews-orbit__center-copy,
  .reviews-orbit__center-body {
    transition: none !important;
  }
  .reviews-orbit__ring,
  .reviews-orbit__avatar :is(img, video) {
    animation: none;
  }
  #reviews::before {
    animation: none !important;
  }
}
@keyframes reviewsOrbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes reviewsOrbitSpinReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes reviewsAvatarFloat {
  0%, 100% {
    transform: translate3d(-50%, -50%, 0);
  }
  50% {
    transform: translate3d(-50%, calc(-50% - var(--float-distance)), 0);
  }
}
.footer {
  position: relative;
  margin-top: auto;
  border-top: none;
  padding: clamp(18px, 3.2vw, 34px) 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.94) 34%, rgba(0, 0, 0, 0.8) 66%, rgba(0, 0, 0, 0.96) 88%, #000000 100%);
  overflow: hidden;
}

.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.34) 100%);
}

.faq-section {
  background: #000000;
  margin-top: 0;
  padding-top: clamp(34px, 4.8vw, 54px);
  padding-bottom: clamp(28px, 4.2vw, 52px);
  border-top: 1px solid #000000 !important;
  box-shadow: none !important;
}

.faq-section::before,
.faq-section::after {
  content: none !important;
}

.faq-shell {
  width: min(720px, 100% - 2 * var(--page-gutter-fluid));
  margin-inline: auto;
}

.faq-kicker {
  margin: 0 0 8px;
  text-align: center;
  color: rgba(190, 205, 235, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-section h2 {
  margin-bottom: clamp(28px, 3.8vw, 44px);
  font-size: clamp(1.28rem, 2.4vw, 1.86rem);
  color: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
  height: clamp(420px, 46vw, 500px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.faq-list::-webkit-scrollbar {
  width: 4px;
}

.faq-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.faq-item {
  border-radius: 12px;
  border: none;
  background: #131316;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  min-height: 52px;
  max-height: 52px;
  transition: max-height 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  min-height: 52px;
  padding: 10px 42px 10px 14px;
  color: #f5f5f5;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.25vw, 1rem);
  line-height: 1.35;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s ease;
}

.faq-item summary:hover {
  color: #f5f5f5;
}

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

.faq-item summary::after {
  content: "⌃";
  position: absolute;
  right: 12px;
  top: 50%;
  font-size: 1.12em;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform 0.1s linear, color 0.1s linear;
}

.faq-item[open] summary::after,
.faq-item.is-expanded summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: #4578cf;
}

.faq-item[open] summary,
.faq-item.is-expanded summary {
  color: #4578cf;
}

/* Пока идёт анимация закрытия, атрибут open ещё true — сразу белый текст и стрелка «вверх» */
.faq-item[data-faq-closing=true] summary {
  color: #f5f5f5;
}

.faq-item[data-faq-closing=true] summary::after {
  transform: translateY(-50%) rotate(0deg);
  color: rgba(255, 255, 255, 0.5);
}

.faq-item p {
  margin: 0;
  padding: 0 14px 0;
  color: rgba(210, 210, 210, 0.88);
  font-size: clamp(0.82rem, 1.14vw, 0.92rem);
  line-height: 1.5;
  text-align: center;
  max-height: 0;
  overflow-y: hidden;
  overflow-x: hidden;
  opacity: 0;
  transition: max-height 0.62s cubic-bezier(0.16, 1, 0.3, 1), padding 0.62s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  will-change: max-height, padding, opacity;
}

.faq-item p::-webkit-scrollbar {
  width: 3px;
}

.faq-item p::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.faq-item[open] {
  max-height: 140px;
}

.faq-item[open] p {
  max-height: 92px;
  padding: 0 14px 10px;
  opacity: 1;
}

@media (min-width: 1025px) {
  .faq-section h2 {
    margin-bottom: clamp(16px, 2.2vw, 28px);
  }
  .faq-list {
    gap: 8px;
  }
}
@media (max-width: 1024px) {
  .faq-list {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .faq-item summary {
    padding: 9px 40px 9px 11px;
    justify-content: center;
    text-align: center;
  }
  .faq-item p {
    padding: 0 11px 0;
  }
  .faq-item[open] p {
    padding: 0 11px 9px;
  }
}
.footer-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: clamp(22px, 3vw, 28px) clamp(22px, 3vw, 28px) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(46% 126% at 66% 100%, rgba(47, 111, 255, 0.42), rgba(47, 111, 255, 0) 62%), radial-gradient(42% 116% at 14% 0%, rgba(47, 111, 255, 0.42), rgba(47, 111, 255, 0) 66%), linear-gradient(90deg, rgba(7, 10, 18, 0.74) 0%, rgba(9, 12, 20, 0.7) 52%, rgba(7, 10, 18, 0.74) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  padding: clamp(20px, 2.8vw, 32px) clamp(20px, 3vw, 36px);
  overflow: hidden;
}

.footer-shell::before,
.footer-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  inset: 0;
  z-index: 0;
}

.footer-shell::before {
  background: linear-gradient(145deg, rgba(47, 111, 255, 0.2), rgba(47, 111, 255, 0) 52%);
  opacity: 0.32;
}

.footer-shell::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.55;
}

.container.footer-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--page-gutter-fluid);
  padding-right: var(--page-gutter-fluid);
}

.footer-ref {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.footer-ref__watermark {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-size: clamp(4.2rem, 16.8vw, 13.6rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.018);
  filter: none;
  text-shadow: none;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 1;
  white-space: nowrap;
}

.footer-ref__brand {
  display: grid;
  gap: 14px;
}

.footer-ref__logo {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  font-weight: 700;
  color: #f5f8ff;
  letter-spacing: 0.01em;
}

.footer-ref__logo-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #7fb0ff 0%, #4b87ff 52%, #2d59c4 100%);
  color: #ffffff;
  font-size: 0.7rem;
  box-shadow: 0 0 10px rgba(79, 132, 255, 0.5);
}

.footer-ref__desc {
  margin: 0;
  max-width: 32ch;
  color: rgba(214, 224, 245, 0.84);
  font-size: clamp(0.84rem, 1.25vw, 0.95rem);
  line-height: 1.5;
}

.footer-ref__social {
  display: inline-flex;
  gap: 8px;
}

.footer-ref__social a {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: #f2f6ff;
  font-size: 0.66rem;
  font-weight: 700;
  border: 1px solid rgba(136, 176, 255, 0.28);
  background: rgba(32, 46, 84, 0.5);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-ref__social a:hover {
  border-color: rgba(146, 188, 255, 0.52);
  background: rgba(50, 75, 136, 0.62);
  transform: translateY(-1px);
}

.footer-ref__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.footer-ref__col h3 {
  margin: 0;
  color: rgba(203, 223, 255, 0.72);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.footer-ref__col ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-ref__col a {
  text-decoration: none;
  color: rgba(229, 236, 252, 0.9);
  font-size: clamp(0.84rem, 1.16vw, 0.96rem);
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
}

.footer-ref__col a:hover {
  color: #4578cf;
  transform: translateX(1px);
}

.footer-ref__col--contacts {
  justify-self: end;
  text-align: right;
}

.footer-ref__col--contacts ul {
  justify-items: end;
}

.footer-ref__col--contacts h3 {
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.footer-ref__col--contacts a {
  font-size: clamp(0.74rem, 0.98vw, 0.84rem);
  line-height: 1.28;
}

@media (max-width: 980px) {
  .footer-ref {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-ref__desc {
    max-width: 60ch;
  }
  .footer-ref__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .footer-shell {
    padding: 18px 16px;
  }
  .container.footer-shell {
    padding-left: clamp(10px, 3.4vw, 22px);
    padding-right: clamp(10px, 3.4vw, 22px);
  }
  .footer-ref__watermark {
    font-size: clamp(4rem, 26vw, 9rem);
    letter-spacing: 0.05em;
    max-width: calc(100% - 2 * var(--page-gutter-fluid, 16px));
    padding-inline: clamp(4px, 2vw, 12px);
    box-sizing: border-box;
  }
  .footer-ref {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .footer-ref__cols {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .footer-ref {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .footer-ref__cols {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 10px;
  }
}
@media (max-width: 480px) {
  :root {
    --page-gutter-fluid: clamp(8px, 3.6vw, 14px);
    --topbar-offset-top: 8px;
    --topbar-panel-height: 34px;
  }
  .topbar-panel {
    width: min(500px, 100% - 2 * var(--page-gutter-fluid));
    padding: 3px 8px;
  }
  .nav {
    align-items: flex-start;
    gap: 6px;
  }
  .nav-actions {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 72%;
  }
  .nav-actions a {
    padding: 4px 8px;
    min-height: 30px;
    font-size: 0.62rem;
  }
  .hero-copy {
    padding: 90px 14px 28px;
  }
  .hero-copy h1 {
    font-size: 1.14rem;
    line-height: 1.22;
  }
  .hero-copy .hero-lead {
    font-size: 0.74rem;
    line-height: 1.45;
  }
  .hero-actions {
    gap: 6px;
  }
  .hero-actions .btn {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
  .section h2,
  .sphere-gallery-intro h2 {
    font-size: clamp(1.08rem, 6.2vw, 1.28rem);
  }
  .pricing-plan-card {
    min-height: 0;
  }
  .pricing-plan-card__price {
    font-size: clamp(1.2rem, 7vw, 1.45rem);
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 0.7rem;
  }
  .nav-actions {
    max-width: 70%;
  }
  .nav-actions a {
    font-size: 0.58rem;
    padding: 6px 5px;
    min-height: 44px;
  }
  .hero-logo {
    font-size: clamp(1.9rem, 11vw, 2.5rem);
  }
}
@media (max-height: 760px) {
  .hero-copy {
    padding-top: 82px;
    padding-bottom: 28px;
  }
  .hero-actions {
    margin-top: 20px;
  }
}
@media (min-width: 1680px) {
  :root {
    --page-gutter-fluid: clamp(24px, 2.4vw, 56px);
    --section-title-size: clamp(1.45rem, 1.75vw, 2.2rem);
  }
  .container {
    width: min(1320px, 100% - 2 * var(--page-gutter-fluid));
  }
  .hero-copy {
    max-width: min(820px, 100% - 2 * var(--page-gutter-fluid));
  }
}
.reveal {
  opacity: 1;
  transform: translate3d(0, 22px, 0);
  filter: blur(6px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter;
}

.reveal.reveal-visible {
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Для Stability не прячем саму секцию opacity-анимацией:
   иначе в начале виден серый фон предыдущего блока. */
#stability.reveal,
#stability.reveal.reveal-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Для блока Интерфейс секцию тоже не прячем opacity-анимацией:
   иначе при входе виден серый фон до появления содержимого. */
#features.reveal,
#features.reveal.reveal-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

#faq.reveal,
#faq.reveal.reveal-visible,
.hero.reveal,
.hero.reveal.reveal-visible,
.pricing-section__content.reveal,
.pricing-section__content.reveal.reveal-visible,
.pricing-offer.reveal,
.pricing-offer.reveal.reveal-visible,
.footer-shell.reveal,
.footer-shell.reveal.reveal-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ===== Глобальная адаптация всего сайта ===== */
/* Безопасные правила: улучшают читаемость/переносы и убирают съезды на узких экранах */
h1,
h2,
h3,
p,
li,
a,
button {
  overflow-wrap: anywhere;
}

#reviews h2,
#features h2,
#stability h2,
.pricing-section__title,
.sphere-gallery-intro h2 {
  text-wrap: balance;
}

@media (max-width: 980px) {
  #stability .section-lead {
    transform: none;
    margin-top: 12px;
  }
  .sphere-gallery-kling__head {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 4vw, 26px);
    align-items: stretch;
    -webkit-padding-end: 0;
            padding-inline-end: 0;
  }
  /* DOM: aside(заголовок → кнопка) затем карусель; порядок на экране: текст → карусель → кнопка */
  .sphere-gallery-kling__aside {
    display: contents;
  }
  .sphere-gallery-kling__lead {
    order: 1;
  }
  .sphere-gallery-kling__head > .kling-panorama {
    order: 2;
  }
  .sphere-gallery-kling__promo {
    order: 3;
  }
  .kling-panorama {
    width: 100%;
    justify-self: stretch;
  }
  .panorama-slider {
    padding-inline: clamp(24px, 6vw, 40px);
    --panorama-edge-fade: clamp(18px, 4.8vw, 34px);
  }
  .kling-panorama .swiper.swiper-panorama {
    height: clamp(min(240px, 56vh), min(62vw, 74vh), min(470px, 82vh));
    height: clamp(min(240px, 56dvh), min(62vw, 74dvh), min(470px, 82dvh));
    height: clamp(min(240px, 56dvh), min(62vw, min(74dvh, 68svh)), min(470px, 82dvh));
  }
  .kling-panorama .swiper-slide {
    width: min(236px, 64vw);
  }
  .kling-panorama__ctrl {
    width: 40px;
    height: 40px;
  }
  .kling-panorama__ctrl--prev {
    left: clamp(22px, 5.4vw, 38px);
  }
  .kling-panorama__ctrl--next {
    right: clamp(22px, 5.4vw, 38px);
  }
  .stability-hub {
    gap: clamp(14px, 3.2vw, 20px);
  }
  .stability-hub__intro {
    margin-top: 0 !important;
    transform: none !important;
  }
  .stability-hub__media {
    transform: none !important;
  }
  .stability-hub__card--tl,
  .stability-hub__card--tr,
  .stability-hub__card--bl,
  .stability-hub__card--br {
    transform: none !important;
  }
  .stability-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.6vw, 16px);
  }
  .stability-hub .stability-benefits__item {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 1024px) {
  .section {
    padding: clamp(64px, 14vw, 86px) 0 clamp(18px, 5vw, 28px);
  }
  .section h2 {
    margin-bottom: clamp(16px, 4vw, 24px);
    font-size: clamp(1.24rem, 6vw, 1.64rem);
    line-height: 1.18;
  }
  .section-lead {
    font-size: clamp(0.82rem, 3.7vw, 0.94rem);
    line-height: 1.52;
  }
  .sphere-gallery-intro .kicker,
  .pricing-offer__kicker {
    letter-spacing: 0.06em;
  }
  .panorama-slider {
    padding-inline: 0;
    padding-block: clamp(14px, 3.5vmin, 26px);
    --panorama-edge-fade: 0px;
  }
  .panorama-slider::after,
  .panorama-slider__vignette {
    display: none;
  }
  .kling-panorama .swiper.swiper-panorama {
    height: clamp(min(230px, 54vh), min(72vw, 72vh), min(390px, 80vh));
    height: clamp(min(230px, 54dvh), min(72vw, 72dvh), min(390px, 80dvh));
    height: clamp(min(230px, 54dvh), min(72vw, min(72dvh, 58svh)), min(390px, 80dvh));
  }
  .kling-panorama .swiper-slide {
    width: min(202px, 72vw);
  }
  .kling-panorama__ctrl {
    width: 34px;
    height: 34px;
  }
  .kling-panorama__ctrl--prev {
    left: clamp(14px, 4.8vw, 24px);
  }
  .kling-panorama__ctrl--next {
    right: clamp(14px, 4.8vw, 24px);
  }
  .kling-slide-overlay__title {
    font-size: clamp(0.72rem, 2.8vw, 0.84rem);
  }
  .kling-slide-overlay__text {
    font-size: clamp(0.62rem, 2.6vw, 0.7rem);
    line-height: 1.3;
  }
  .stability-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stability-hub__top-title {
    font-size: clamp(1.34rem, 8.8vw, 2rem);
    letter-spacing: 0.08em;
  }
  .stability-hub__top-subtitle {
    letter-spacing: 0.12em;
    font-size: clamp(0.72rem, 3.1vw, 0.88rem);
  }
  .stability-hub .stability-benefits__item-title {
    font-size: clamp(0.84rem, 3.7vw, 0.92rem);
    min-height: 0;
  }
  .stability-hub .stability-benefits__item-text {
    font-size: clamp(0.74rem, 3.2vw, 0.82rem);
    line-height: 1.42;
    -webkit-line-clamp: unset;
    display: block;
  }
}
@media (max-width: 480px) {
  .container {
    width: min(1140px, 100% - 2 * clamp(8px, 3.8vw, 14px));
  }
  .panorama-slider {
    padding-inline: 0;
    padding-block: clamp(14px, 3.6vmin, 26px);
    --panorama-edge-fade: 0px;
  }
  .kling-panorama .swiper.swiper-panorama {
    height: clamp(min(210px, 52vh), min(78vw, 70vh), min(340px, 78vh));
    height: clamp(min(210px, 52dvh), min(78vw, 70dvh), min(340px, 78dvh));
    height: clamp(min(210px, 52dvh), min(78vw, min(70dvh, 54svh)), min(340px, 78dvh));
  }
  .kling-panorama .swiper-slide {
    width: min(176px, 76vw);
  }
  .kling-panorama .kling-video-sound {
    width: 28px;
    height: 28px;
  }
  .pricing-section__title,
  #reviews h2,
  #features h2,
  #stability h2 {
    text-wrap: pretty;
  }
}
@media (max-width: 980px) {
  .container {
    width: min(1140px, 100% - 2 * clamp(10px, 3.2vw, 24px));
  }
  .pricing-section__content {
    padding: clamp(30px, 5.6vw, 52px) 0 clamp(24px, 4.5vw, 40px);
  }
  .pricing-section__title {
    font-size: clamp(1.72rem, 4.6vw, 2.34rem);
    line-height: 1.16;
  }
  .pricing-section .pricing {
    margin-top: clamp(14px, 2.8vw, 24px);
  }
  .feature-map__canvas {
    min-height: max(clamp(520px, 78vw, 700px), min(620px, 66vw) * 675 / 1024 + clamp(150px, 24vw, 280px));
  }
  .feature-map__center {
    width: min(620px, 66vw);
    transform: translate(-50%, -45%);
  }
  .feature-node {
    width: min(280px, 32vw);
  }
  .pricing-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.8vw, 24px);
  }
  .pricing-plan-card {
    padding: 22px 14px 16px;
    border-radius: 16px;
  }
  .pricing-plan-card__badge {
    top: 0;
    left: 12px;
    padding: 4px 11px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .pricing-plan-card__period {
    font-size: clamp(1rem, 2.6vw, 1.12rem);
    white-space: normal;
  }
  .pricing-plan-card__price {
    font-size: clamp(1.54rem, 4.6vw, 2rem);
  }
  .pricing-plan-card__old {
    font-size: clamp(0.9rem, 2.1vw, 1rem);
  }
  .pricing-plan-card__sub {
    font-size: clamp(0.75rem, 1.8vw, 0.82rem);
  }
  .pricing-plan-card__desc {
    min-height: 0;
  }
  .pricing-plan-card__desc-text {
    font-size: clamp(0.76rem, 1.8vw, 0.84rem);
    line-height: 1.38;
  }
  .pricing-plan-card__cta {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.78rem;
  }
  .container.pricing-offer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
  }
  .pricing-offer__text {
    white-space: normal;
  }
  .pricing-card__body {
    grid-template-columns: 1fr;
  }
  .pricing-card__checkout {
    order: -1;
  }
  .pricing-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .pricing-card__plan-title {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .pricing-section {
    background-position: center 36%;
  }
  .pricing-benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    margin-inline: auto;
  }
  .stability-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  :root {
    --hero-media-gap-x: 10px;
    --hero-slide-radius: 14px;
    --hero-media-gap-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    --topbar-offset-top: 8px;
    --topbar-panel-height: 32px;
    --topbar-after-slider-gap: 0px;
    --page-gutter-fluid: clamp(10px, 3.4vw, 22px);
  }
  .container {
    width: min(1140px, 100% - 2 * clamp(10px, 3.4vw, 22px));
  }
  .topbar-panel {
    width: min(540px, 100% - 2 * var(--page-gutter-fluid));
    padding: 3px 9px;
  }
  .nav-actions a {
    padding: 4px 9px;
    min-height: 31px;
    font-size: 0.64rem;
  }
  .brand {
    font-size: 0.76rem;
  }
  .nav {
    min-height: 26px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 96px 20px 40px 20px;
  }
  .hero-copy h1 {
    font-size: 1.38rem;
  }
  .hero-logo {
    font-size: clamp(2.25rem, 12vw, 3.75rem);
  }
  .hero-copy .hero-lead {
    max-width: 100%;
  }
  /* Узкая полоса снизу + меньше общего затемнения, чтобы фото не «пропадало» */
  .hero-media--fullscreen::before {
    background: linear-gradient(118deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.14) 62%, rgba(0, 0, 0, 0.28) 100%);
  }
  .hero-media--fullscreen::after {
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.94) 8%, rgba(0, 0, 0, 0.72) 18%, rgba(0, 0, 0, 0.38) 32%, rgba(0, 0, 0, 0.12) 46%, transparent 52%);
  }
  /* Гибкие колонки + горизонтальный скролл базового блока — без жёсткого 528px минимума на узком экране */
  .pricing-switches {
    grid-template-columns: repeat(4, minmax(min(112px, 26vw), 1fr));
  }
  .pricing-grid-cards {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 22px);
  }
  .pricing-plan-card {
    padding: 20px 14px 14px;
  }
  .pricing-plan-card__badge {
    top: 0;
    left: 12px;
    padding: 6px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }
  .pricing-plan-card__head {
    gap: 6px;
    padding-top: 8px;
  }
  .pricing-plan-card__period {
    font-size: clamp(1.02rem, 5.2vw, 1.18rem);
  }
  .pricing-plan-card__price-row {
    gap: 6px;
    flex-wrap: wrap;
  }
  .pricing-plan-card__price {
    font-size: clamp(1.55rem, 8.2vw, 2.06rem);
    line-height: 1.05;
  }
  .pricing-plan-card__sub {
    font-size: 0.76rem;
  }
  .pricing-plan-card__bonus {
    font-size: clamp(0.82rem, 3.7vw, 0.92rem);
  }
  .pricing-plan-card__desc-title {
    font-size: clamp(0.84rem, 3.8vw, 0.94rem);
  }
  .pricing-plan-card__desc-text {
    font-size: clamp(0.74rem, 3.3vw, 0.84rem);
    line-height: 1.4;
  }
  .pricing-plan-card__cta {
    width: 100%;
    min-height: 42px;
  }
  .pricing-plan-card__cta.btn.primary,
  .pricing-plan-card__cta.btn.primary:hover,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__cta.btn.primary,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__cta.btn.primary {
    box-shadow: none !important;
  }
  /* Мобильный: один источник акцента — .is-active от скролла */
  .pricing-grid-cards .pricing-plan-card:hover,
  .pricing-grid-cards .pricing-plan-card:focus-within {
    transform: none !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34) !important;
  }
  .pricing-grid-cards .pricing-plan-card:hover::after,
  .pricing-grid-cards .pricing-plan-card:focus-within::after {
    opacity: 0 !important;
    transform: scale(1) !important;
  }
  .pricing-grid-cards .pricing-plan-card.is-active::after {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__cta.btn.primary {
    background: var(--brand-blue) !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }
  /* На мобильной бедж только от .is-active (скролл), не от клика/focus */
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__badge {
    opacity: 0 !important;
    transform: translateY(-50%) !important;
  }
  /* Держим выше по каскаду: активная карточка всегда показывает бедж без мигания */
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__badge,
  .pricing-grid-cards .pricing-plan-card.is-active:hover .pricing-plan-card__badge,
  .pricing-grid-cards .pricing-plan-card.is-active:focus-within .pricing-plan-card__badge {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:focus-within .pricing-plan-card__save-pct,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card:hover .pricing-plan-card__save-pct {
    color: currentColor !important;
  }
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-kicker,
  .pricing-grid-cards .pricing-plan-card.is-active .pricing-plan-card__save-pct {
    color: #ffffff !important;
  }
  .pricing-offer__card {
    text-align: center;
    gap: 8px;
    width: min(1080px, 100% - 20px);
  }
  .pricing-offer__text {
    margin: 0 auto;
    max-width: none;
    text-align: center;
  }
  .pricing-offer__cta {
    justify-self: center;
    width: auto;
    min-width: min(100%, 220px);
    padding-inline: clamp(12px, 4vw, 18px);
  }
  .stability-hub__intro {
    margin-top: 0 !important;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .stability-hub__top-stack {
    order: 1;
    align-items: center;
    margin: 0;
  }
  .stability-hub__intro-lead {
    order: 2;
    margin: 0;
    max-width: min(100%, 62ch);
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
            hyphens: none;
    text-wrap: pretty;
  }
  .stability-hub .stability-benefits__item-text,
  .stability-hub .stability-hub__tr-line {
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
            hyphens: none;
    text-wrap: pretty;
    letter-spacing: 0;
    line-height: 1.35;
  }
  .stability-hub__end-marker,
  .stability-hub__end-marker--before-inline {
    display: none !important;
  }
  .stability-hub__cards {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(10px, 2.8vw, 16px);
    width: 100%;
    align-self: stretch;
  }
  .stability-hub__card--tl,
  .stability-hub__card--tr,
  .stability-hub__card--bl,
  .stability-hub__card--br {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    align-self: stretch;
    margin: 0;
    transform: none !important;
  }
  .pricing-plan-card--popular,
  .pricing-plan-card--popular:hover {
    transform: none;
  }
  .feature-map {
    padding-inline: 12px;
  }
  .feature-map__canvas {
    min-height: auto;
    padding: 16px;
    display: grid;
    gap: 10px;
  }
  .feature-map__center {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    order: -1;
    margin-bottom: 6px;
  }
  .feature-map__devices {
    width: min(620px, 100%);
    margin: 0 auto;
  }
  .feature-node {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: translateY(14px);
  }
  .feature-node::before,
  .feature-node::after {
    display: none;
  }
  .feature-benefits {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 12px;
    opacity: 1;
    transition: none;
  }
  .feature-benefits__list {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 82px;
  }
  /* Smart Routing на мобильном: та же схема, что на десктопе, но компактнее */
  #stability .stability-hub {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.52fr) minmax(0, 0.82fr);
    grid-template-rows: auto minmax(0, 1fr);
    -moz-column-gap: clamp(8px, 2.6vw, 14px);
         column-gap: clamp(8px, 2.6vw, 14px);
    row-gap: clamp(8px, 2.4vw, 14px);
    align-items: start;
    overflow: visible;
  }
  #stability .stability-hub__lines {
    display: block !important;
    opacity: 1 !important;
  }
  #stability .stability-hub__intro {
    grid-column: 1/-1;
    grid-row: 1;
    order: initial;
    margin-top: 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__media {
    grid-column: 2;
    grid-row: 2;
    order: initial;
    width: 100%;
    max-width: 100%;
    margin: clamp(22px, 6.2vw, 36px) 0 0;
    transform: none !important;
    border-radius: 16px;
  }
  #stability .stability-hub__cards {
    display: contents;
    order: initial;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    grid-row: 2;
    width: min(100%, 30ch);
    max-width: 100%;
    transform: none !important;
    margin: 0;
    align-self: center;
  }
  #stability .stability-hub__card--tl {
    grid-column: 1;
    justify-self: center;
    align-self: start;
  }
  #stability .stability-hub__card--tr {
    grid-column: 3;
    justify-self: center;
    align-self: start;
  }
  #stability .stability-hub__card--bl {
    grid-column: 1;
    justify-self: center;
    align-self: end;
  }
  #stability .stability-hub__card--br {
    grid-column: 3;
    justify-self: center;
    align-self: end;
  }
  #stability .stability-hub .stability-benefits__item-text,
  #stability .stability-hub .stability-hub__tr-line {
    font-size: clamp(0.28rem, 1vw, 0.33rem);
    line-height: 1.2;
  }
  #stability .stability-hub__end-marker,
  #stability .stability-hub__end-marker--before-inline {
    display: inline-block !important;
    width: 4px;
    height: 4px;
    margin-left: 0.22em;
    margin-right: 0.22em;
    box-shadow: 0 0 4px rgba(190, 204, 226, 0.2);
  }
  #stability .stability-smart-diagonals {
    display: block;
  }
  #stability .stability-smart-diagonal {
    stroke-width: 0.42;
    opacity: 0.9;
  }
  #stability .stability-smart-corner-dots {
    transform: scale(0.86);
    transform-origin: center;
  }
  /* Удобнее нажимать пальцем */
}
@media (max-width: 1024px) and (pointer: coarse) {
  .nav-actions a {
    min-height: 44px;
    padding-inline: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 420px) {
  .pricing-benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-inline: 10px;
  }
  .pricing-benefits__list li {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .pricing-section__title {
    font-size: clamp(1.44rem, 8.2vw, 1.72rem);
  }
  .pricing-plan-card__badge {
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    padding: 3px 9px;
  }
  .pricing-plan-card__price-row {
    justify-content: center;
  }
}
/* Smart Routing: единая десктопная компоновка на всех экранах */
#stability .stability-hub {
  display: grid !important;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 2.34fr) minmax(0, 0.58fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  -moz-column-gap: var(--stability-hub-from-image);
       column-gap: var(--stability-hub-from-image);
  row-gap: clamp(12px, 2vw, 18px);
  align-items: start;
}

#stability .stability-hub__lines {
  display: block !important;
}

#stability .stability-smart-diagonals {
  display: none !important;
}

#stability .stability-hub__intro {
  grid-column: 1/-1 !important;
  grid-row: 1 !important;
  order: initial !important;
  margin-top: -2cm !important;
  transform: none !important;
}

#stability .stability-hub__media {
  grid-column: 2 !important;
  grid-row: 2 !important;
  order: initial !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 22px !important;
}

#stability .stability-hub__cards {
  display: contents !important;
  order: initial !important;
}

#stability .stability-hub__card--tl,
#stability .stability-hub__card--tr,
#stability .stability-hub__card--bl,
#stability .stability-hub__card--br {
  grid-row: 2 !important;
  width: min(100%, 44ch) !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#stability .stability-hub__card--tl {
  grid-column: 1 !important;
  justify-self: center !important;
  align-self: center !important;
  transform: translateY(-4cm) !important;
}

#stability .stability-hub__card--tr {
  grid-column: 3 !important;
  justify-self: center !important;
  align-self: center !important;
  transform: translateY(-4cm) !important;
}

#stability .stability-hub__card--bl {
  grid-column: 1 !important;
  justify-self: center !important;
  align-self: end !important;
  transform: translateY(-2.25cm) !important;
}

#stability .stability-hub__card--br {
  grid-column: 3 !important;
  justify-self: center !important;
  align-self: end !important;
  transform: translateY(-2.25cm) !important;
}

#stability .stability-hub .stability-benefits__item-text,
#stability .stability-hub .stability-hub__tr-line {
  font-size: clamp(0.65rem, 2.5vw, 0.74rem) !important;
  line-height: 1.24 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  -webkit-hyphens: none !important;
          hyphens: none !important;
}

#stability .stability-hub__end-marker,
#stability .stability-hub__end-marker--before-inline {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  margin-left: 0.35em !important;
  margin-right: 0.3em !important;
  box-shadow: 0 0 6px rgba(190, 204, 226, 0.24) !important;
}

#stability .stability-hub__connector {
  stroke: rgba(220, 232, 252, 0.42) !important;
  stroke-width: 1.4 !important;
  stroke-linecap: round !important;
}

@media (max-width: 1199px) {
  #stability .stability-hub__lines {
    display: block !important;
  }
  #stability .stability-hub__media {
    margin-top: clamp(30px, 5.8vw, 62px) !important;
  }
  #stability .stability-hub .stability-benefits__item-text,
  #stability .stability-hub .stability-hub__tr-line {
    font-size: clamp(0.46rem, 1.35vw, 0.56rem) !important;
    line-height: 1.18 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    min-height: 0 !important;
  }
}
@media (max-width: 1024px) {
  #stability .stability-hub__lines {
    display: block !important;
  }
  #stability .stability-hub__media {
    margin-top: clamp(42px, 8.5vw, 82px) !important;
  }
  #stability .stability-hub .stability-benefits__item-text,
  #stability .stability-hub .stability-hub__tr-line {
    font-size: clamp(0.4rem, 1.2vw, 0.5rem) !important;
    line-height: 1.16 !important;
  }
  #stability .stability-hub__end-marker,
  #stability .stability-hub__end-marker--before-inline {
    width: 3px !important;
    height: 3px !important;
    margin-left: 0.16em !important;
    margin-right: 0.16em !important;
    box-shadow: 0 0 3px rgba(190, 204, 226, 0.18) !important;
  }
}
/* Smart Routing: как на десктопе, но масштабировано для smaller screens */
@media (max-width: 1199px) {
  #stability .stability-hub {
    display: grid !important;
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.56fr) minmax(0, 0.74fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    -moz-column-gap: clamp(8px, 2.2vw, 18px) !important;
         column-gap: clamp(8px, 2.2vw, 18px) !important;
    row-gap: clamp(10px, 2.2vw, 16px) !important;
    align-items: start !important;
    overflow: visible !important;
  }
  #stability .stability-hub__lines {
    display: block !important;
  }
  #stability .stability-smart-diagonals {
    display: none !important;
  }
  #stability .stability-hub__connector {
    stroke: rgba(255, 255, 255, 0.2) !important;
    stroke-width: 1 !important;
    stroke-linecap: round !important;
  }
  #stability .stability-smart-diagonal {
    stroke: rgba(255, 255, 255, 0.17) !important;
    stroke-width: 0.55 !important;
    stroke-linecap: round !important;
  }
  #stability .stability-hub__intro {
    grid-column: 1/-1 !important;
    grid-row: 1 !important;
    margin-top: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  #stability .stability-hub__top-stack {
    order: 1 !important;
    align-items: center !important;
  }
  #stability .stability-hub__intro-lead {
    order: 2 !important;
    display: block !important;
    margin: 0 !important;
    max-width: min(100%, 68ch) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #stability .stability-hub__media {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: calc(clamp(20px, 4.8vw, 40px) + 1.5cm) 0 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__cards {
    display: contents !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    grid-row: 2 !important;
    width: min(100%, 30ch) !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__card--tl {
    grid-column: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    margin-top: 0 !important;
    transform: translateY(0) !important;
  }
  #stability .stability-hub__card--tr {
    grid-column: 3 !important;
    justify-self: center !important;
    align-self: center !important;
    margin-top: 0 !important;
    transform: translateY(0) !important;
  }
  #stability .stability-hub__card--bl {
    grid-column: 1 !important;
    justify-self: center !important;
    align-self: end !important;
  }
  #stability .stability-hub__card--br {
    grid-column: 3 !important;
    justify-self: center !important;
    align-self: end !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    width: 100% !important;
    max-width: min(36ch, 100%) !important;
    margin-inline: auto !important;
    font-size: clamp(0.58rem, 1.85vw, 0.68rem) !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 3.66em !important;
  }
  #stability .stability-hub .stability-hub__tr-line {
    display: inline !important;
    white-space: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
  #stability .stability-hub__card--tr .stability-benefits__item-text {
    display: -webkit-box !important;
  }
}
/* ABSOLUTE LAST FIX: keep Smart Routing stable on 6.3" */
@media (max-width: 1199px) {
  #stability .stability-hub {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(12px, 2.8vw, 18px) !important;
    overflow: hidden !important;
  }
  #stability .stability-hub__lines {
    display: block !important;
  }
  #stability .stability-smart-diagonals {
    display: none !important;
  }
  #stability .stability-hub__intro {
    order: 1 !important;
    margin-top: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  #stability .stability-hub__top-stack {
    order: 1 !important;
    margin: 0 !important;
  }
  #stability .stability-hub__intro-lead {
    order: 2 !important;
    margin: 0 !important;
    max-width: min(100%, 68ch) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #stability .stability-hub__media {
    order: 2 !important;
    margin: clamp(16px, 4vw, 28px) 0 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__cards {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.2vw, 14px) !important;
    width: 100% !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(0.66rem, 1.45vw, 0.78rem) !important;
    line-height: 1.22 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 3.66em !important;
  }
}
@media (max-width: 1024px) {
  #stability .stability-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 10px !important;
  }
  #stability .stability-hub__media {
    margin-top: clamp(20px, 6vw, 34px) !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem) !important;
    line-height: 1.2 !important;
    min-height: 3.6em !important;
  }
}
/* FINAL OVERRIDE: stable phone/tablet layout */
@media (max-width: 1199px) {
  #stability .stability-hub {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(12px, 2.8vw, 18px) !important;
    overflow: hidden !important;
  }
  #stability .stability-hub__lines,
  #stability .stability-smart-diagonals {
    display: none !important;
  }
  #stability .stability-hub__intro {
    order: 1 !important;
    margin-top: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  #stability .stability-hub__top-stack {
    order: 1 !important;
    align-items: center !important;
    margin: 0 !important;
  }
  #stability .stability-hub__intro-lead {
    order: 2 !important;
    margin: 0 !important;
    max-width: min(100%, 68ch) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #stability .stability-hub__media {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: clamp(16px, 4vw, 28px) 0 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__cards {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.2vw, 14px) !important;
    width: 100% !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(0.66rem, 1.45vw, 0.78rem) !important;
    line-height: 1.22 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 3.66em !important;
  }
  #stability .stability-hub .stability-hub__tr-line {
    display: inline !important;
    white-space: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
/* Mobile lock: 2 cards top + 2 cards bottom */
@media (max-width: 1024px) {
  #stability .stability-hub__cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
    width: 100% !important;
  }
  #stability .stability-hub__card--tl {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  #stability .stability-hub__card--tr {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  #stability .stability-hub__card--bl {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  #stability .stability-hub__card--br {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
}
@media (max-width: 1024px) {
  #stability .stability-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 10px !important;
  }
  #stability .stability-hub__media {
    margin-top: clamp(20px, 6vw, 34px) !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem) !important;
    line-height: 1.2 !important;
    min-height: 3.6em !important;
  }
}
/* FINAL OVERRIDE: stable phone/tablet layout */
@media (max-width: 1199px) {
  #stability .stability-hub {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(12px, 2.8vw, 18px) !important;
    overflow: hidden !important;
  }
  #stability .stability-hub__lines,
  #stability .stability-smart-diagonals {
    display: none !important;
  }
  #stability .stability-hub__intro {
    order: 1 !important;
    margin-top: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  #stability .stability-hub__top-stack {
    order: 1 !important;
    align-items: center !important;
    margin: 0 !important;
  }
  #stability .stability-hub__intro-lead {
    order: 2 !important;
    margin: 0 !important;
    max-width: min(100%, 68ch) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #stability .stability-hub__media {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: clamp(16px, 4vw, 28px) 0 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__cards {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.2vw, 14px) !important;
    width: 100% !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(0.66rem, 1.45vw, 0.78rem) !important;
    line-height: 1.22 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 3.66em !important;
  }
  #stability .stability-hub .stability-hub__tr-line {
    display: inline !important;
    white-space: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
@media (max-width: 1024px) {
  #stability .stability-hub__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 10px !important;
  }
  #stability .stability-hub__media {
    margin-top: clamp(20px, 6vw, 34px) !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem) !important;
    line-height: 1.2 !important;
    min-height: 3.6em !important;
  }
}
@media (max-width: 1024px) {
  #stability .stability-hub {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto auto !important;
    row-gap: 12px !important;
    -moz-column-gap: 8px !important;
         column-gap: 8px !important;
    align-items: start !important;
  }
  #stability .stability-hub__lines,
  #stability .stability-smart-diagonals {
    display: none !important;
  }
  #stability .stability-hub__intro {
    grid-column: 1/-1 !important;
    grid-row: 1 !important;
    margin-bottom: 18px !important;
  }
  #stability .stability-hub__cards {
    display: contents !important;
    width: auto !important;
  }
  #stability .stability-hub__media {
    grid-column: 1/-1 !important;
    grid-row: 3 !important;
    margin-top: 0 !important;
  }
  #stability .stability-hub__cards {
    display: contents !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
  #stability .stability-hub__card--tl {
    grid-column: 1 !important;
    grid-row: 2 !important;
    transform: none !important;
  }
  #stability .stability-hub__card--tr {
    grid-column: 2 !important;
    grid-row: 2 !important;
    transform: none !important;
  }
  #stability .stability-hub__card--bl {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }
  #stability .stability-hub__card--br {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }
  #stability .stability-hub .stability-benefits__item-text {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    font-size: clamp(0.62rem, 2.2vw, 0.72rem) !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: 3.6em !important;
    position: relative !important;
    overflow: visible !important;
  }
  /* Реальные DOM-маркеры для соединения с центром картинки через .stability-hub__lines */
  #stability .stability-hub__end-marker,
  #stability .stability-hub__end-marker--before-inline {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    border-radius: 50% !important;
    background: rgba(230, 236, 246, 0.9) !important;
    box-shadow: 0 0 6px rgba(190, 204, 226, 0.3) !important;
    z-index: 4 !important;
  }
  #stability .stability-hub__card--tl .stability-benefits__item-text,
  #stability .stability-hub__card--tr .stability-benefits__item-text {
    padding-bottom: 9px !important;
  }
  #stability .stability-hub__card--tl .stability-hub__end-marker,
  #stability .stability-hub__card--tl .stability-hub__end-marker--before-inline,
  #stability .stability-hub__card--tr .stability-hub__end-marker,
  #stability .stability-hub__card--tr .stability-hub__end-marker--before-inline {
    top: calc(100% + 2px) !important;
  }
  #stability .stability-hub__card--bl .stability-benefits__item-text,
  #stability .stability-hub__card--br .stability-benefits__item-text {
    padding-top: 9px !important;
  }
  #stability .stability-hub__card--bl .stability-hub__end-marker,
  #stability .stability-hub__card--bl .stability-hub__end-marker--before-inline,
  #stability .stability-hub__card--br .stability-hub__end-marker,
  #stability .stability-hub__card--br .stability-hub__end-marker--before-inline {
    top: -8px !important;
  }
  #stability .stability-hub .stability-hub__tr-line {
    display: inline !important;
    white-space: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
@media (max-width: 420px) {
  #stability .stability-hub {
    row-gap: 10px !important;
    -moz-column-gap: 6px !important;
         column-gap: 6px !important;
  }
  #stability .stability-hub__media {
    margin-top: 0 !important;
  }
}
@media (max-width: 1024px) {
  #stability,
  .stability-reviews-wave,
  .stability-reviews-wave__svg,
  .stability-reviews-wave__shape,
  #reviews,
  #reviews::before {
    background: #000000 !important;
  }
  #reviews {
    margin-top: 0 !important;
    padding-top: clamp(42px, 9vw, 64px) !important;
    background: #000000 !important;
  }
  #reviews::before {
    background: #000000 !important;
  }
  #reviews h2 {
    margin-bottom: clamp(18px, 6vw, 28px);
  }
  #reviews > .reviews-block {
    margin-top: clamp(0px, 1.2vw, 6px);
  }
  /* Kling: вернуть исходную типографику */
  .sphere-gallery-kling__title {
    font-family: "Racama", "Bebas Neue", "Inter", sans-serif !important;
    font-size: clamp(2.6rem, 8vw, 3.3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }
  .sphere-gallery-kling__text {
    font-family: "Metrika", "Inter", sans-serif !important;
    font-size: clamp(0.86rem, 1.35vw, 0.95rem) !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }
  /* Отзывы: крупнее активная карта + плавный hover (раньше transform:none ломал ощущение глубины) */
  .reviews-orbit__avatar {
    width: clamp(54px, 14vw, 68px) !important;
    height: clamp(54px, 14vw, 68px) !important;
    transform: translateZ(0) scale(1) !important;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1), height 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .reviews-orbit__avatar:not(.is-active):hover {
    transform: translateZ(0) scale(1.1) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 14px rgba(26, 114, 235, 0.35) !important;
  }
  .reviews-orbit__avatar.is-active {
    width: clamp(72px, 18.5vw, 96px) !important;
    height: clamp(72px, 18.5vw, 96px) !important;
    transform: translateZ(0) scale(1) !important;
    z-index: 5 !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), 0 0 18px rgba(26, 114, 235, 0.38), 0 0 28px rgba(26, 114, 235, 0.22) !important;
  }
  .reviews-orbit__avatar::after {
    content: none;
    display: none !important;
  }
  .reviews-orbit__avatar.is-near-left:not(.is-active) {
    transform: translate(-6px, 0) scale(0.98) !important;
  }
  .reviews-orbit__avatar.is-near-right:not(.is-active) {
    transform: translate(6px, 0) scale(0.98) !important;
  }
  /* Фикс прыжков: одинаковая высота текста отзыва на мобилке (6 строк) */
  .reviews-orbit__center-review {
    min-height: clamp(188px, 46vw, 220px) !important;
    height: clamp(188px, 46vw, 220px) !important;
    max-height: clamp(188px, 46vw, 220px) !important;
  }
  .reviews-orbit__center-quote {
    min-height: 7.92em !important;
    max-height: 7.92em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
  }
}
/* FINAL FIX: visible connectors from center circles to markers on mobile/tablet */
@media (max-width: 1199px) {
  #stability .stability-hub__lines {
    display: block !important;
    opacity: 1 !important;
    z-index: 8 !important;
    pointer-events: none !important;
  }
  #stability .stability-hub__connector {
    stroke: rgba(220, 232, 252, 0.32) !important;
    stroke-width: 0.85 !important;
    stroke-linecap: round !important;
  }
  #stability .stability-hub__end-marker,
  #stability .stability-hub__end-marker--before-inline {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    width: 4px !important;
    height: 4px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    border-radius: 50% !important;
    background: rgba(235, 241, 252, 0.62) !important;
    box-shadow: 0 0 3px rgba(190, 204, 226, 0.16) !important;
    z-index: 9 !important;
  }
  #stability .stability-hub__card--tl .stability-hub__end-marker,
  #stability .stability-hub__card--tl .stability-hub__end-marker--before-inline,
  #stability .stability-hub__card--tr .stability-hub__end-marker,
  #stability .stability-hub__card--tr .stability-hub__end-marker--before-inline {
    top: calc(100% + 2px) !important;
  }
  #stability .stability-hub__card--bl .stability-hub__end-marker,
  #stability .stability-hub__card--bl .stability-hub__end-marker--before-inline,
  #stability .stability-hub__card--br .stability-hub__end-marker,
  #stability .stability-hub__card--br .stability-hub__end-marker--before-inline {
    top: -8px !important;
  }
}
/* Средние экраны: возвращаем нормальную (не мобильную) компоновку */
@media (min-width: 1025px) and (max-width: 1199px) {
  #stability .stability-hub {
    display: grid !important;
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.56fr) minmax(0, 0.74fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    -moz-column-gap: clamp(8px, 2.2vw, 18px) !important;
         column-gap: clamp(8px, 2.2vw, 18px) !important;
    row-gap: clamp(10px, 2.2vw, 16px) !important;
    align-items: start !important;
  }
  #stability .stability-hub__intro {
    grid-column: 1/-1 !important;
    grid-row: 1 !important;
  }
  #stability .stability-hub__media {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
  }
  #stability .stability-hub__cards {
    display: contents !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--bl {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  #stability .stability-hub__card--tr,
  #stability .stability-hub__card--br {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }
  #stability .stability-hub__card--tl,
  #stability .stability-hub__card--tr {
    align-self: center !important;
  }
  #stability .stability-hub__card--bl,
  #stability .stability-hub__card--br {
    align-self: end !important;
  }
}
/* Desktop: TR marker sits left-bottom before "переключит" */
@media (min-width: 1200px) {
  #stability .stability-hub__card--tr .stability-hub__tr-marker-word {
    display: inline-block !important;
    white-space: nowrap !important;
  }
  #stability .stability-hub__card--tr .stability-hub__end-marker--before-inline {
    display: inline-block !important;
    margin-left: 0 !important;
    margin-right: 0.28em !important;
    vertical-align: -0.18em !important;
    transform: none !important;
    position: static !important;
  }
}
/* Pricing benefits layout: 6 items balanced */
@media (min-width: 1025px) {
  .pricing-benefits__list {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-template-areas: "a a b b c c" "d d e e f f" !important;
    grid-auto-flow: row !important;
  }
  .pricing-benefits__list li:nth-child(1) {
    grid-area: a !important;
  }
  .pricing-benefits__list li:nth-child(2) {
    grid-area: b !important;
  }
  .pricing-benefits__list li:nth-child(3) {
    grid-area: c !important;
  }
  .pricing-benefits__list li:nth-child(4) {
    grid-area: d !important;
  }
  .pricing-benefits__list li:nth-child(5) {
    grid-area: e !important;
  }
  .pricing-benefits__list li:nth-child(6) {
    grid-area: f !important;
  }
}
@media (max-width: 1024px) {
  .pricing-benefits__list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, auto) !important;
    grid-template-areas: "a a b b" "c c d d" "e e f f" !important;
    grid-auto-flow: row !important;
    max-width: 520px;
    margin-inline: auto;
    gap: 10px !important;
  }
  /* Тарифы: 6 преимуществ в аккуратной сетке */
  .pricing-benefits__list li:nth-child(1) {
    grid-area: a !important;
  }
  .pricing-benefits__list li:nth-child(2) {
    grid-area: b !important;
  }
  .pricing-benefits__list li:nth-child(3) {
    grid-area: c !important;
  }
  .pricing-benefits__list li:nth-child(4) {
    grid-area: d !important;
  }
  .pricing-benefits__list li:nth-child(5) {
    grid-area: e !important;
  }
  .pricing-benefits__list li:nth-child(6) {
    grid-area: f !important;
  }
  /* Синие маркеры преимуществ строго по одной вертикали */
  .pricing-benefits__list li {
    position: static;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    padding: 7px 10px;
    min-height: 0;
    border-radius: 14px;
    font-size: clamp(0.72rem, 3.1vw, 0.8rem);
    line-height: 1.22;
    font-weight: 550;
    text-wrap: pretty;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: 0;
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    margin-inline: auto;
  }
  .pricing-benefits__list li::before {
    position: static;
    left: auto;
    top: auto;
    margin-right: 2px;
    transform: none;
  }
}
/* Kling: очень низкая высота окна — карусель ниже, без обрезки (альбом, старые Galaxy) */
@media (max-height: 500px) {
  .kling-panorama .swiper.swiper-panorama {
    height: clamp(min(180px, 34vh), min(36vw, 46vh), min(240px, 58vh));
    height: clamp(min(180px, 34dvh), min(36vw, 46dvh), min(240px, 58dvh));
    height: clamp(min(180px, 34dvh), min(36vw, min(46dvh, 40svh)), min(240px, 58dvh));
  }
  .panorama-slider {
    padding-block: clamp(8px, 2vmin, 16px);
  }
}
/* ============================================================
   Адаптер под Laravel guest-layout (только лендинг /, body.page-main).
   Прототип: topbar/main/footer — прямые дети body, body прозрачный.
   У нас контент обёрнут в .content (flex-grow:1, padding-top:60).
   ============================================================ */
body.page-main {
  background: transparent;
}

body.page-main .content {
  padding-top: 0;
  /* Фикс горизонтального скролла. Причина: full-bleed блоки/фоны прототипа используют
     width:100vw (.container.pricing-offer/.footer-shell, #reviews::before, #stability::before).
     100vw включает ширину вертикального скроллбара → контент на ~ширину скроллбара шире вьюпорта
     → страница скроллится вбок (баг есть и в самом прототипе). Срезаем переполнение на нашей
     обёртке .content через overflow-x:clip (НЕ scroll-контейнер, легче hidden). body/html НЕ
     трогаем — иначе скролл-контейнер сломал бы fixed-топбар и .bg-noise. */
  overflow-x: clip;
}

/* Доп. правка: full-bleed контейнеры переводим на 100% родителя (полная видимая ширина) —
   чтобы не полагаться только на clip и не терять 5px по краям полос. */
body.page-main .container.pricing-offer,
body.page-main .container.footer-shell {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ─── Мобильная адаптация лендинга (≤700px) ───────────────────────────
   Landing использует собственные topbar/footer из прототипа (см. index.blade.php,
   $hide_header/$hide_footer = true). Общий guest-header для лендинга не работает,
   поэтому responsive rules — здесь. */
@media (max-width: 700px) {
  /* Topbar: широкая пилюля во всю ширину, brand слева и кнопки справа в одну строку.
     !important — потому что базовые правила и .topbar--spec-версии имеют высокую
     специфичность; чтобы не воевать с ними — принудительно сбрасываем. */
  .topbar-panel {
    width: calc(100% - 12px) !important;
    max-width: none !important;
    padding: 6px 12px !important;
    min-height: 46px !important;
    border-radius: 999px;
    box-sizing: border-box;
  }
  .nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 34px !important;
  }
  .brand {
    flex: 0 0 auto;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .nav-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 0 0 auto;
    min-width: 0;
  }
  .nav-actions a {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    min-height: 34px !important;
    white-space: nowrap;
  }
  /* Hero-заголовок: разрешаем перенос и уменьшаем шрифт. */
  .hero--flow .hero-copy h1.hero-copy__heading--flow .hero-copy__heading-line {
    white-space: normal;
    word-break: keep-all;
  }
  .hero--flow .hero-copy h1.hero-copy__heading--flow {
    font-size: clamp(1rem, 5.2vw, 1.6rem);
    line-height: 1.15;
  }
  .hero-copy__backdrop-word {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
  /* FAQ: max-height'ы (52/140/92) режут длинный текст ответа на мобиле.
     Разрешаем контейнеру и параграфу расти под содержимое. */
  .faq-item {
    max-height: none;
  }
  .faq-item[open] {
    max-height: none;
  }
  .faq-item[open] p {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 14px 12px;
  }
  .faq-item summary {
    font-size: 0.9rem;
    padding: 12px 38px 12px 14px;
    text-align: left;
    justify-content: flex-start;
  }
  .faq-item p {
    text-align: left;
    font-size: 0.85rem;
  }
  /* Footer: 1 колонка в блоке контактов (было 3), убираем правый край watermark. */
  .footer-ref__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-ref__col--contacts {
    justify-self: start;
    text-align: left;
  }
  .footer-ref__col--contacts ul {
    justify-items: start;
  }
}
@media (max-width: 420px) {
  /* Ещё уже: прячем «Тарифы» — оставляем только Войти + Регистрация. */
  .nav-actions > a[href^="#pricing"] {
    display: none !important;
  }
  .brand {
    font-size: 0.8rem;
  }
  .nav-actions a {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    min-height: 32px !important;
  }
}
