/* Локальные шрифты в /assets/fonts/. Самые ходовые веса (Manrope 500,
   Cormorant Garamond 700) загружаются с того же домена → нет блокирующего
   запроса к Google CDN, нет CLS, кэш 30 дней. Остальные веса всё ещё
   подтягиваются через Google Fonts <link> в HTML. */
@font-face {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/manrope-500.woff2') format('woff2'),
       url('/assets/fonts/manrope-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-700.woff2') format('woff2'),
       url('/assets/fonts/cormorant-garamond-700.ttf') format('truetype');
}

/* Fallback шрифты с подогнанными метриками - подменяются на Google Fonts без видимого скачка */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 100.4%;
  ascent-override: 103%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Unbounded Fallback';
  src: local('Arial');
  size-adjust: 111%;
  ascent-override: 85%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Onest Fallback';
  src: local('Arial');
  size-adjust: 99%;
  ascent-override: 97%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Times New Roman');
  size-adjust: 90%;
  ascent-override: 103%;
  descent-override: 33%;
  line-gap-override: 0%;
}

:root {
  --dark: #0a0d12;
  --dark-2: #141922;
  --light: #e8e4db;
  --light-2: #f2efe8;
  --khaki: #4B5320;
  --khaki-light: #8a9848;
  --khaki-deep: #3a4118;
  --text-dark: #0f1115;
  --text-light: #ffffff;
  --muted-light: rgba(255, 255, 255, 0.78);
  --muted-dark: rgba(15, 17, 21, 0.72);

  --font-display: 'Unbounded', 'Unbounded Fallback', sans-serif;
  --font-body: 'Manrope', 'Manrope Fallback', sans-serif;

  --split: 42%;
}

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

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f0ede6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,0.45) 0%, transparent 70%),
    linear-gradient(180deg, #f3f0e8 0%, #e8e4d9 100%);
  pointer-events: none;
}

.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader__inner {
  position: relative;
  z-index: 2;
  max-width: calc(100vw - 40px);
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: auto;
}

.loader__row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.4vw, 26px);
  margin-bottom: clamp(18px, 1.6vw, 28px);
}

.loader__logo,
.loader__logo-fallback {
  width: clamp(64px, 5.8vw, 120px);
  height: clamp(64px, 5.8vw, 120px);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.loader__logo-fallback {
  border-radius: 16px;
  background: var(--khaki);
  color: #f0ede6;
  font-family: 'Unbounded', 'Unbounded Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 0.4vw, 8px);
  min-width: 0;
}

.loader__title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-weight: 700;
  font-size: clamp(26px, 2vw, 44px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: #2a2a24;
  white-space: nowrap;
}

.loader__subtitle {
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 0.95vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d6d63;
  white-space: nowrap;
}

.loader__bar {
  width: 100%;
  height: 1px;
  background: rgba(75, 83, 32, 0.22);
  position: relative;
  overflow: visible;
}

.loader__bar-fill {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--khaki-deep), var(--khaki-light));
  box-shadow: 0 0 10px rgba(138, 152, 72, 0.5);
  animation: loaderFill 2s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes loaderFill {
  0%   { width: 50%; }
  100% { width: 100%; }
}

.loader__hint {
  align-self: center;
  font-family: 'Manrope', 'Manrope Fallback', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6d6d63;
}

html, body {
  background: var(--dark);
  color: var(--text-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-anchor: none;
  scroll-snap-type: none;
}
/* Isolate horizontal snap containers so page-level scroll is never affected */
.cases__stack.is-mobile-scroll,
.knowledge__viewport { overscroll-behavior-x: contain; overscroll-behavior-y: auto; }

a {
  text-decoration: none;
  color: inherit;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1440px;
  /* Только max-width анимируется при коллапсе. transition: all триггерил
     layout reflow на каждом кадре 450 мс - была неплавная анимация. */
  transition: max-width 0.35s cubic-bezier(.4,.0,.2,1);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  border-radius: 999px;
  background: rgba(20, 25, 34, 0.35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Точечные transitions вместо all: композитор не пересчитывает layout. */
  transition: background-color 0.35s ease, padding 0.35s cubic-bezier(.4,.0,.2,1);
}

.header__nav {
  display: flex;
  gap: 36px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.header__nav--left { justify-content: flex-start; }
.header__nav--right { justify-content: flex-end; }

.header__nav a {
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--khaki-light);
  transition: width 0.3s ease;
}

.header__nav a:hover { color: var(--khaki-light); }
.header__nav a:hover::after { width: 100%; }

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.header__logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Collapsed state: only brand visible */
.header.is-collapsed {
  max-width: 280px;
}

.header.is-collapsed .header__inner {
  grid-template-columns: 1fr;
  padding: 12px 24px;
  background: rgba(10, 13, 18, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
}

.header.is-collapsed .header__nav {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.header.is-collapsed .header__brand {
  justify-content: center;
  margin: 0 auto;
}

/* Burger + mobile menu (hidden by default) */
.header__burger {
  display: none;
  width: 42px; height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 110;
}
.header__burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.header.is-menu-open .header__burger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header.is-menu-open .header__burger span:nth-child(2) { opacity: 0; }
.header.is-menu-open .header__burger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header__mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(280px, 78vw);
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.header__mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
  text-decoration: none;
}
.header__mobile-menu a:hover,
.header__mobile-menu a:active {
  background: rgba(255,255,255,0.08);
}
.header.is-menu-open .header__mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.header.is-collapsed:not(.is-menu-open) .header__mobile-menu {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.header.is-collapsed.is-menu-open .header__mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .header { top: 12px; width: calc(100% - 24px); }
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 14px;
  }
  .header__burger { display: flex; }
  .header__mobile-menu { display: flex; }
  .header__nav--left, .header__nav--right { display: none; }
  .header__brand { justify-content: center; font-size: 15px; }
  .header__logo { height: 22px; }
  .header.is-collapsed { max-width: calc(100% - 24px); }
  .header.is-collapsed .header__inner {
    grid-template-columns: auto 1fr auto;
    padding: 8px 14px;
  }
  .header.is-collapsed .header__nav { display: none; }
  .header.is-collapsed .header__burger,
  .header.is-collapsed .header__brand { display: flex; }
}

@media (max-width: 420px) {
  .header__brand-text { font-size: 13px; }
  .header__logo { height: 20px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero__split {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__side {
  position: absolute;
  top: 0;
  bottom: 0;
}

.hero__side--dark,
.hero__side--light,
.hero__split::before,
.hero__split::after { display: none; }

.hero__lion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10,13,18,0.82) 0%,
    rgba(10,13,18,0.78) 20%,
    rgba(10,13,18,0.68) 35%,
    rgba(10,13,18,0.5)  50%,
    rgba(10,13,18,0.28) 65%,
    rgba(10,13,18,0.1)  80%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 48px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  flex: 1;
  justify-content: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,0.5);
  max-width: 52%;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  max-width: 520px;
  margin-top: 4px;
}

.hero__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 44px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #f0ede6;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  box-shadow:
    0 14px 34px rgba(75, 83, 32, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
  border: 1px solid rgba(138, 152, 72, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5a6429 0%, var(--khaki) 100%);
  box-shadow:
    0 20px 44px rgba(75, 83, 32, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
}

.hero__cta:hover::before { transform: translateX(100%); }

.hero__footnote {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
}

.hero__footnote-primary {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 10px;
}

.hero__footnote-primary::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--khaki-light);
  box-shadow: 0 0 14px rgba(138, 152, 72, 0.6);
}

.hero__footnote-law {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}

/* ============ MARQUEE ============ */
.hero__marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: var(--khaki);
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.35);
}

.hero__marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ CASES ============ */
.cases {
  position: relative;
  padding: 50px 0 24px;
  overflow: hidden;
  isolation: isolate;
  background: #e8e4db;
}

.cases__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/cases-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cases__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(232, 228, 219, 0.45) 0%, rgba(232, 228, 219, 0.2) 40%, rgba(232, 228, 219, 0.55) 100%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
}

.cases__container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.cases__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

/* ---- Left column ---- */
.cases__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #1a1d22;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.4);
}

.cases__subtitle {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 29, 34, 0.72);
  max-width: 520px;
  text-align: left;
}

.features {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.48) 100%);
  border: 1px solid rgba(26, 29, 34, 0.08);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 8px 24px rgba(26, 29, 34, 0.08);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.feature:hover {
  transform: translateX(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.65) 100%);
  border-color: rgba(75, 83, 32, 0.25);
  box-shadow: 0 12px 30px rgba(26, 29, 34, 0.12);
}

.feature__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--khaki);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.feature__text { min-width: 0; flex: 1; }

.feature__title {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #1a1d22;
  margin: 0 0 4px;
  line-height: 1.2;
}

.feature__desc {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(26, 29, 34, 0.68);
  margin: 0;
}

/* Icon animations on hover */
.feature:hover .f-doc-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.55s ease forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.feature:hover .f-doc-page,
.feature:hover .f-doc-fold {
  animation: docShake 0.55s ease;
  transform-origin: 20px 24px;
}
@keyframes docShake {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-4deg); }
  70% { transform: rotate(3deg); }
}

.feature:hover .f-shield-body {
  animation: shieldPulse 0.7s ease;
  transform-origin: 24px 24px;
}
@keyframes shieldPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.feature:hover .f-shield-star {
  animation: starSpin 0.8s ease;
  transform-origin: 24px 24px;
}
@keyframes starSpin {
  0% { transform: rotate(0) scale(0.8); opacity: 0.4; }
  60% { transform: rotate(72deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(72deg) scale(1); opacity: 1; }
}

.feature:hover .f-case-body {
  animation: caseBounce 0.55s ease;
  transform-origin: 24px 27px;
}
.feature:hover .f-case-handle {
  animation: caseHandle 0.55s ease;
  transform-origin: 24px 14px;
}
@keyframes caseBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes caseHandle {
  0%, 100% { transform: rotate(0); }
  40% { transform: rotate(-8deg); }
  70% { transform: rotate(4deg); }
}

.feature:hover .f-user-head {
  animation: headNod 0.55s ease;
  transform-origin: 24px 17px;
}
.feature:hover .f-user-shield {
  animation: sideShield 0.7s ease;
  transform-origin: 36px 14px;
}
@keyframes headNod {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes sideShield {
  0% { transform: rotate(-15deg) scale(0.8); opacity: 0; }
  60% { transform: rotate(5deg) scale(1.05); opacity: 1; }
  100% { transform: rotate(0) scale(1); opacity: 1; }
}

.feature:hover .f-target-out { animation: ringSpin 1.2s linear; transform-origin: 24px 24px; }
.feature:hover .f-target-mid { animation: ringSpinRev 1.2s linear; transform-origin: 24px 24px; }
.feature:hover .f-target-in { animation: centerPulse 0.7s ease; transform-origin: 24px 24px; }
.feature:hover .f-target-cross { animation: crossExpand 0.7s ease; transform-origin: 24px 24px; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringSpinRev { to { transform: rotate(-360deg); } }
@keyframes centerPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
@keyframes crossExpand {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.feature:hover .f-price-rub {
  animation: rubPop 0.6s ease;
  transform-origin: 24px 28px;
}
@keyframes rubPop {
  0% { transform: scale(0.7); opacity: 0.3; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.feature:hover .f-price-doc,
.feature:hover .f-price-fold {
  animation: docShake 0.55s ease;
  transform-origin: 20px 24px;
}

.feature:hover .f-trophy-cup {
  animation: trophyLift 0.7s ease;
  transform-origin: 24px 24px;
}
.feature:hover .f-trophy-h1,
.feature:hover .f-trophy-h2 {
  animation: handlesFlex 0.7s ease;
  transform-origin: 24px 16px;
}
@keyframes trophyLift {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-3px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes handlesFlex {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.08); }
}

.feature:hover .f-court-pillar {
  animation: pillarRise 0.6s ease;
  transform-origin: 24px 40px;
}
.feature:hover .f-court-roof {
  animation: roofDrop 0.6s ease;
  transform-origin: 24px 22px;
}
@keyframes pillarRise {
  0% { transform: scaleY(0.85); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}
@keyframes roofDrop {
  0% { transform: translateY(-4px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

.cases__cta {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 44px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #f0ede6;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  box-shadow:
    0 14px 34px rgba(75, 83, 32, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
  border: 1px solid rgba(138, 152, 72, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

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

.cases__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cases__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(75, 83, 32, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
}

.cases__cta:hover::before { transform: translateX(100%); }

/* ---- Right column ---- */
.cases__right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100%;
}

.cases__right-head {
  align-self: flex-end;
  text-align: left;
  margin-bottom: 28px;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.cases__right-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: 0.06em;
  color: #1a1d22;
  margin: 0 0 6px;
}

.cases__right-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 29, 34, 0.72);
  margin: 0;
  text-align: left;
}

/* ---- 3D vertical stack carousel ---- */
.cases__stack-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 620px;
}

.cases__stack {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 560px;
  perspective: 1400px;
  perspective-origin: 50% 30%;
  overflow: hidden;
  padding: 0 4px 0;
  touch-action: none;
}

.case-tab {
  position: absolute;
  top: 0;
  left: 4px;
  right: 4px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fdfcf9 0%, #f5f2ea 100%);
  color: #2a2a24;
  overflow: hidden;
  cursor: pointer;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
  --y: 0px;
  --s: 1;
  --o: 1;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  opacity: var(--o);
  box-shadow:
    0 14px 32px rgba(26, 29, 34, 0.16),
    0 2px 6px rgba(26, 29, 34, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 0.55s cubic-bezier(.22,.9,.3,1),
    opacity 0.45s ease,
    box-shadow 0.4s ease,
    background 0.3s ease;
}

.case-tab.is-active {
  height: 480px;
  cursor: default;
  box-shadow:
    0 28px 58px rgba(26, 29, 34, 0.32),
    0 4px 12px rgba(26, 29, 34, 0.12),
    0 0 0 1px rgba(75, 83, 32, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.case-tab:not(.is-active) {
  height: auto;
}

.case-tab:not(.is-active):hover {
  box-shadow:
    0 20px 40px rgba(26, 29, 34, 0.24),
    0 3px 8px rgba(26, 29, 34, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  background: linear-gradient(180deg, #ffffff 0%, #f8f5ed 100%);
}

/* Head (always visible) */
.case-tab__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 26px;
  transition: padding 0.4s ease;
}

.case-tab.is-active .case-tab__head {
  padding: 24px 28px 16px;
}

.case-tab__id {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #1a1d22;
  min-width: 0;
}

.case-tab__id span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-tab__id-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--khaki);
}

.case-tab.is-active .case-tab__id-icon {
  color: var(--khaki-deep);
}

/* Status badge — big & accent */
.case-tab__status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f6d38;
  background: linear-gradient(135deg, rgba(46, 140, 74, 0.2) 0%, rgba(46, 140, 74, 0.08) 100%);
  border: 1px solid rgba(46, 140, 74, 0.4);
  box-shadow: 0 2px 6px rgba(46, 140, 74, 0.18), 0 1px 0 rgba(255,255,255,0.8) inset;
}

/* Body — collapsed when not active */
.case-tab__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s cubic-bezier(.22,.9,.3,1), opacity 0.4s ease;
}

.case-tab.is-active .case-tab__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.case-tab__body > * {
  min-height: 0;
}

.case-tab__body-inner {
  overflow: hidden;
}

.case-tab__desc {
  padding: 0 28px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  color: rgba(42, 42, 36, 0.82);
  text-align: justify;
  hyphens: auto;
}

.case-tab__meta {
  margin: 0 28px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid rgba(42, 42, 36, 0.12);
}

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

.case-tab__meta-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(42, 42, 36, 0.6);
  letter-spacing: 0.02em;
}

.case-tab__meta-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  color: #1a1a14;
  letter-spacing: -0.01em;
}

.case-tab__meta-value--muted {
  font-weight: 600;
  font-size: 17px;
  color: #3a4118;
}

/* "View decision" — glowing pill */
.case-tab__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 28px 26px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #3a4118;
  background: linear-gradient(135deg, rgba(138,152,72,0.2) 0%, rgba(75,83,32,0.1) 100%);
  border: 1px solid rgba(75, 83, 32, 0.32);
  overflow: hidden;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.3s ease;
}

.case-tab__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.case-tab__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(138, 152, 72, 0.15) 40%,
    rgba(138, 152, 72, 0.6) 50%,
    rgba(138, 152, 72, 0.15) 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: linkSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes linkSweep {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

.case-tab__link:hover {
  color: #fff;
  border-color: var(--khaki);
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  transform: translateY(-1px);
}

.case-tab__link:hover svg { transform: translateX(3px); }

/* Pagination indicator (dots) */
.cases__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  z-index: 200;
}

.cases__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(26, 29, 34, 0.22);
  transition: all 0.3s ease;
}

.cases__dot.is-active {
  width: 22px;
  background: var(--khaki);
  box-shadow: 0 1px 4px rgba(75, 83, 32, 0.3);
}

/* Hint (first load) */
.cases__hint {
  position: absolute;
  right: 16px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 29, 34, 0.45);
  pointer-events: none;
  z-index: 200;
  animation: hintBob 1.6s ease-in-out infinite;
}

.cases__hint svg {
  width: 14px;
  height: 14px;
}

@keyframes hintBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(3px); opacity: 1; }
}

.cases__stack.is-touched ~ .cases__hint,
.cases__stack.is-touched + .cases__hint {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ---- Signature ---- */
.cases__signature {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: rgba(26, 29, 34, 0.92);
  text-transform: uppercase;
}

.cases__signature-logo {
  height: 84px;
  width: auto;
  opacity: 0.95;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero__lion { height: 60%; right: -10%; opacity: 0.8; }
  .hero__title { max-width: 100%; }
  .hero__content { padding: 140px 24px 160px; }
  .header__nav { gap: 18px; font-size: 11px; }
  .header__inner { padding: 12px 20px; gap: 16px; }
  .header__brand { font-size: 15px; }

  .cases { padding: 60px 0 50px; }
  .cases__container { padding: 0 16px; }
  .cases__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cases__right { align-items: stretch; }
  .cases__right-head { max-width: 100%; }
  .cases__right-title { font-size: clamp(24px, 7vw, 34px); }
  .cases__right-sub { font-size: 13px; }
  .cases__list.is-expanded { grid-template-columns: 1fr; }
  .cases__signature { gap: 14px; font-size: 13px; letter-spacing: 0.14em; margin-top: 36px; flex-wrap: wrap; }
  .cases__signature-logo { height: 30px; }
  .cases__stack-wrap { min-height: 620px; max-width: 100%; }
  .cases__stack { min-height: 580px; touch-action: pan-y; }
  .cases__hint { font-size: 11px; }
  .cases__dots { margin-top: 16px; }
  .cases__cta { width: 100%; justify-content: center; min-height: 44px; }
  .case-tab.is-active { height: 540px; }
  .case-tab__head { padding: 16px 18px; gap: 10px; }
  .case-tab.is-active .case-tab__head { padding: 18px 20px 12px; }
  .case-tab__id { font-size: 13px; gap: 8px; flex: 1; min-width: 0; }
  .case-tab__id span { overflow: visible; text-overflow: clip; white-space: normal; }
}

@media (max-width: 640px) {
  .cases__stack-wrap { min-height: 600px; }
  .cases__stack { min-height: 560px; }
  .case-tab.is-active { height: 520px; }
}

@media (max-width: 640px) {
  :root { --split: 100%; }

  /* HERO: full-width content, lion as ambient background */
  .hero {
    height: auto;
    min-height: 100vh;
  }
  .hero__lion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 52%;
    object-fit: cover;
    object-position: 85% center;
    opacity: 1;
  }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(10,13,18,0.15) 0%,
      rgba(10,13,18,0.2) 35%,
      rgba(10,13,18,0.85) 52%,
      rgba(10,13,18,0.95) 60%,
      rgba(10,13,18,0.98) 100%
    );
  }
  .hero__content {
    padding: 55vh 20px 90px;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .hero__title {
    font-size: clamp(30px, 9vw, 46px);
    max-width: 100%;
    line-height: 1.05;
  }
  .hero__subtitle {
    font-size: 15px;
    max-width: 100%;
  }
  .hero__subtitle br { display: none; }
  .hero__cta {
    padding: 16px 30px;
    font-size: 12px;
    letter-spacing: 0.08em;
    width: 100%;
    max-width: 320px;
  }
  .hero__footnote { margin-top: 10px; max-width: 100%; }
  .hero__footnote-primary { font-size: 12px; }
  .hero__footnote-law { font-size: 11px; }

  /* MARQUEE */
  .hero__marquee { padding: 10px 0; }
  .marquee-item { font-size: 11px; gap: 18px; padding: 0 18px; }
  .hero__marquee-track { animation-duration: 24s; }

  /* LOADER: row with logo + text, bar below */
  .loader { padding: 20px; }
  .loader__row { gap: 14px; margin-bottom: 18px; }
  .loader__logo,
  .loader__logo-fallback { width: 60px; height: 60px; }
  .loader__logo-fallback { font-size: 28px; border-radius: 12px; }
}

/* ===== SERVICES ===== */
.services {
  background: #0b0e14;
  padding: 50px 0 24px;
  position: relative;
  overflow: hidden;
}

.services__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.5;
}

.services__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 20, 0.55) 0%,
    rgba(11, 14, 20, 0.45) 50%,
    rgba(11, 14, 20, 0.65) 100%
  );
  pointer-events: none;
}

.services__container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Header */
.services__header {
  text-align: center;
  margin-bottom: 64px;
}

.services__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 20px 8px 12px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.services__badge-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.65);
}

.services__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 60px);
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.services__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

/* Column */
.services__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services__col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(20, 23, 30, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.services__col-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}

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

.services__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
}

/* Steps */
.services__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  position: relative;
}

.services__step {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #ece7dd;
  padding: 22px 24px 22px 20px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(8, 12, 24, 0.22);
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.services__step:hover {
  border-color: #4B5320;
  box-shadow: 0 18px 44px rgba(75, 83, 32, 0.28);
}

/* Vertical connector от центра номера N к центру номера N+1 */
.services__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 37px;
  top: 37px;
  width: 3px;
  height: calc(100% - 37px + 18px + 37px);
  background: rgba(75, 83, 32, 0.14);
  border-radius: 3px;
  z-index: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.services__step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 37px;
  width: 3px;
  height: calc(100% - 37px + 18px + 37px);
  background: linear-gradient(to bottom, #4B5320 0%, #6b7a2e 100%);
  border-radius: 3px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
  box-shadow: 0 0 10px rgba(75, 83, 32, 0.4);
  pointer-events: none;
}

.services__step.is-line-drawn:not(:last-child)::before {
  transform: translateX(-50%) scaleY(1);
}

/* Track - number badge */
.services__step-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  padding-top: 2px;
}

.services__step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6b6350;
  min-width: 34px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid #dfd8ca;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: #faf7f0;
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.services__step.is-active .services__step-num {
  background: linear-gradient(135deg, #4B5320, #6b7a2e);
  color: #f4f1e6;
  border-color: #4B5320;
}

.services__step:hover .services__step-num {
  transform: scale(1.06);
}

/* legacy line inside track — hidden, replaced by connector */
.services__step-line {
  display: none;
}

/* Step body */
.services__step-body {
  flex: 1;
  min-width: 0;
  padding-top: 0;
}

.services__step-title {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.25vw, 21px);
  letter-spacing: -0.01em;
  color: #1a1d22;
  margin: 0 0 6px;
  line-height: 1.3;
}

.services__step-desc {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.05vw, 18px);
  color: #7a7060;
  margin: 0;
  line-height: 1.5;
}

/* Step icon on the right */
.services__step-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f5f1e6;
  border: 1px solid #ece4d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7a7060;
  align-self: flex-start;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

.services__step:hover .services__step-icon {
  background: linear-gradient(135deg, #4B5320, #6b7a2e);
  color: #f4f1e6;
  transform: rotate(-6deg);
}

/* CTA bar */
.services__cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px 36px;
}

.services__cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.services__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services__cta-logo {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.75);
}

.services__cta-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.services__cta-heading {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.services__cta-sub {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

.services__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  color: #f0ede6;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 20px 44px;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(75, 83, 32, 0.55), 0 1px 0 rgba(255,255,255,0.12) inset;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.services__cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.services__cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5a6429 0%, var(--khaki) 100%);
  box-shadow: 0 20px 44px rgba(75, 83, 32, 0.7), 0 1px 0 rgba(255,255,255,0.18) inset;
}

.services__cta-btn:hover::before { transform: translateX(100%); }

.services__cta-btn svg {
  width: 15px;
  height: 15px;
}

/* Responsive */
@media (min-width: 1600px) {
  .services__container { max-width: 1600px; padding: 0 60px; }
  .services__grid { gap: 40px; }
  .services__step { padding: 26px 28px 26px 22px; }
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services__col-title { font-size: 13px; }
}

@media (max-width: 640px) {
  .services { padding: 50px 0 40px; }
  .services__container { padding: 0 16px; }
  .services__header { margin-bottom: 28px; }
  .services__grid { gap: 20px; margin-bottom: 28px; }
  .services__col { gap: 10px; }
  .services__col-head { padding: 14px 16px; gap: 10px; border-radius: 14px; }
  .services__col-icon { width: 36px; height: 36px; }
  .services__col-icon svg { width: 18px; height: 18px; }
  .services__col-title { font-size: 12px; }
  .services__steps { gap: 12px; }
  .services__step {
    padding: 16px 16px 16px 14px;
    border-radius: 14px;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(8,12,24,0.18);
  }
  .services__step-num { width: 36px; height: 36px; font-size: 14px; }
  .services__step-title { font-size: 14px; }
  .services__step-desc { font-size: 13px; }
  .services__step-icon { width: 34px; height: 34px; }
  .services__step-icon svg { width: 18px; height: 18px; }
  .services__step:not(:last-child)::after,
  .services__step:not(:last-child)::before {
    left: 32px;
    height: calc(100% - 18px + 12px);
  }
  .services__cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    gap: 14px;
  }
  .services__cta-heading { font-size: 15px; }
  .services__cta-sub { font-size: 12px; }
  .services__cta-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .hero__content { padding: 52vh 16px 80px; }
  .hero__title { font-size: 28px; }
  .loader__logo,
  .loader__logo-fallback { width: 52px; height: 52px; }
  .marquee-item { font-size: 10px; }
}

/* Landscape phones: keep hero compact */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 640px; }
  .hero__content { padding: 90px 24px 80px; }
}

/* ===================== KNOWLEDGE BASE ===================== */
.knowledge {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, #faf5e6 0%, #e8dcc2 45%, #cfbfa4 75%, #b7a895 100%);
  overflow: hidden;
  padding: 50px 0 24px;
  color: #1a1f14;
}
.knowledge__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background: transparent;
  isolation: isolate;
  overflow: hidden;
}
.knowledge__bokeh {
  position: absolute; inset: -15%;
  pointer-events: none;
  /* mix-blend-mode: screen убран - 6 одновременных blend-слоёв на этой
     секции (3 bokeh + glow + 3 waves + grain) перегружали композитор
     и давали jank скролла на десктопе. */
}
.knowledge__bokeh--small {
  background-image:
    radial-gradient(circle 14px at 30px 40px, rgba(255,220,130,0.95), transparent 70%),
    radial-gradient(circle 8px at 90px 80px, rgba(240,200,95,0.85), transparent 70%),
    radial-gradient(circle 18px at 140px 30px, rgba(255,230,150,0.8), transparent 70%),
    radial-gradient(circle 10px at 60px 130px, rgba(215,165,60,0.9), transparent 70%),
    radial-gradient(circle 6px at 170px 150px, rgba(255,235,160,0.85), transparent 70%),
    radial-gradient(circle 12px at 20px 170px, rgba(230,180,80,0.8), transparent 70%);
  background-size: 200px 200px;
  filter: blur(2px);
  opacity: 0.95;
  animation: knowBokehDriftSmall 22s linear infinite;
}
.knowledge__bokeh--mid {
  background-image:
    radial-gradient(circle 28px at 80px 90px, rgba(240,200,95,0.7), transparent 65%),
    radial-gradient(circle 22px at 260px 180px, rgba(215,165,60,0.6), transparent 65%),
    radial-gradient(circle 34px at 180px 300px, rgba(255,225,135,0.65), transparent 65%),
    radial-gradient(circle 20px at 340px 60px, rgba(200,145,45,0.55), transparent 65%);
  background-size: 420px 420px;
  filter: blur(7px);
  opacity: 0.85;
  animation: knowBokehDriftMid 32s linear infinite reverse;
}
.knowledge__bokeh--large {
  background-image:
    radial-gradient(circle 90px at 200px 220px, rgba(250,210,110,0.55), transparent 65%),
    radial-gradient(circle 70px at 520px 400px, rgba(220,165,70,0.45), transparent 65%),
    radial-gradient(circle 110px at 700px 180px, rgba(255,225,140,0.4), transparent 65%);
  background-size: 900px 700px;
  filter: blur(22px);
  opacity: 0.75;
  animation: knowBokehDriftLarge 48s linear infinite;
}
.knowledge__glow--center {
  position: absolute;
  width: 70%; height: 60%;
  left: 50%; top: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(240,195,90,0.32) 0%, rgba(200,140,50,0.12) 35%, transparent 65%);
  filter: blur(40px);
  opacity: 0.7;
  animation: knowGlowPulse 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.knowledge__waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 55%;
  pointer-events: none;
  opacity: 0.55;
}
.knowledge__wave {
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(240,200,90,0.4));
}
.knowledge__wave--1 {
  animation: knowWaveFlow1 14s ease-in-out infinite alternate;
  transform-origin: center;
}
.knowledge__wave--2 {
  animation: knowWaveFlow2 18s ease-in-out infinite alternate;
  transform-origin: center;
}
.knowledge__wave--3 {
  animation: knowWaveFlow3 22s ease-in-out infinite alternate;
  transform-origin: center;
  opacity: 0.65;
}
.knowledge__grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  pointer-events: none;
}
@keyframes knowBokehDriftSmall {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-120px, -300px); }
}
@keyframes knowBokehDriftMid {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(180px, -240px); }
}
/* scale() убран: на blur-элементах изменение масштаба заставляет
   браузер re-rasterize blur каждый кадр. Translate работает через
   compositor (бесплатно). Opacity pulsing сохраняем - тоже почти
   бесплатно, даёт «дышащий» эффект сияния. */
@keyframes knowBokehDriftLarge {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-100px, -140px); }
  100% { transform: translate(120px, -200px); }
}
@keyframes knowGlowPulse {
  0%   { opacity: 0.7;  transform: translate(-50%, -50%); }
  100% { opacity: 0.95; transform: translate(-50%, -52%); }
}
@keyframes knowWaveFlow1 {
  0%   { transform: translateY(0)   scaleY(1); }
  100% { transform: translateY(-8px) scaleY(1.05); }
}
@keyframes knowWaveFlow2 {
  0%   { transform: translateY(0)   scaleY(1); }
  100% { transform: translateY(6px) scaleY(0.95); }
}
@keyframes knowWaveFlow3 {
  0%   { transform: translateY(0)   scaleY(1); }
  100% { transform: translateY(-4px) scaleY(1.03); }
}

.knowledge__container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
}
.knowledge__header { text-align: center; margin-bottom: 44px; }
.knowledge__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: 0.04em;
  margin: 16px 0 14px;
  line-height: 1.1;
  color: #161a12;
}
.knowledge__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22,26,18,0.6);
  margin: 0;
  line-height: 1.4;
}

/* Filter chips */
.knowledge__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.knowledge__chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(22,26,18,0.75);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(75,83,32,0.18);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.knowledge__chip:hover {
  color: var(--khaki-deep);
  border-color: rgba(75,83,32,0.5);
  background: #fff;
}
.knowledge__chip.is-active {
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  border-color: var(--khaki);
  color: #f0ede6;
  box-shadow: 0 10px 24px rgba(75,83,32,0.35);
}

/* Slider */
.knowledge__slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 18px;
}
.knowledge__arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(75,83,32,0.18);
  color: var(--khaki-deep);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
  z-index: 2;
}
.knowledge__arrow:hover {
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  border-color: var(--khaki);
  color: #fff;
  transform: translateY(-2px);
}
.knowledge__arrow svg { width: 20px; height: 20px; }

.knowledge__viewport {
  overflow: hidden;
  position: relative;
}
.knowledge__track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.knowledge__track.no-anim { transition: none; }

/* Card */
.k-card {
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex;
  background: #f4efe3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
  min-height: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.k-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.42);
}
.knowledge__all {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.knowledge__all-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  color: #f4efe3;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(75, 83, 32, 0.5), 0 1px 0 rgba(255,255,255,0.18) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.knowledge__all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(75, 83, 32, 0.62), 0 1px 0 rgba(255,255,255,0.22) inset;
}
.knowledge__all-btn svg { width: 18px; height: 18px; }
.k-card--all {
  background: linear-gradient(160deg, #2a2d1f 0%, #3d4228 55%, #6b7a2e 100%);
  color: #f4efe3;
  text-decoration: none;
}
.k-card--all .k-card__tag {
  color: #f4efe3;
  border-color: rgba(244, 239, 227, 0.45);
}
.k-card--all .k-card__title {
  color: #f4efe3;
  font-size: 26px;
  line-height: 1.2;
}
.k-card--all .k-card__desc {
  color: rgba(244, 239, 227, 0.78);
}
.k-card--all__content {
  padding: 28px 26px;
  justify-content: space-between;
}
.k-card--all__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 12px 20px;
  border: 1px solid rgba(244, 239, 227, 0.6);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4efe3;
  margin-top: 14px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.k-card--all:hover .k-card--all__cta {
  background: #f4efe3;
  color: #2a2d1f;
  border-color: #f4efe3;
}
.k-card--all__cta svg {
  width: 16px;
  height: 16px;
}
.k-card__content {
  flex: 1;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.k-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7a2e;
  background: transparent;
  border: 1px solid #6b7a2e;
  border-radius: 7px;
  padding: 6px 10px;
  margin-bottom: 14px;
}
.k-card__title {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #1a1d22;
  margin: 0 0 10px;
  line-height: 1.28;
}
.k-card__desc {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: #7a7060;
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
  text-align: justify;
  hyphens: auto;
}
.k-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  min-width: 0;
}
.k-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #6b7a2e;
  border-radius: 7px;
  padding: 5px 10px;
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 14px;
  color: #6b7a2e;
  white-space: nowrap;
}
.k-card__meta-item svg { width: 14px; height: 14px; }

.k-card__media {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.k-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.k-card__media-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.k-card__media-inner svg {
  width: 46%; height: 46%;
  opacity: 0.32;
  color: #fff;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
}
/* Tones — color variants for media backgrounds */
.k-card[data-tone="a"] .k-card__media { background-color: #3a2f1e; }
.k-card[data-tone="b"] .k-card__media { background-color: #1d2a3f; }
.k-card[data-tone="c"] .k-card__media { background-color: #2e2017; }
.k-card[data-tone="d"] .k-card__media { background-color: #30252a; }
.k-card[data-tone="e"] .k-card__media { background-color: #2a2a1c; }
.k-card[data-tone="f"] .k-card__media { background-color: #1f2937; }
.k-card[data-tone="g"] .k-card__media { background-color: #2a2438; }
.k-card[data-tone="h"] .k-card__media { background-color: #1e2a25; }

/* Filtered-out (hidden) cards still hold their slot by display: none — we rebuild track on filter change */

@media (max-width: 1200px) {
  .k-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 720px) {
  .knowledge { padding: 40px 0 50px; }
  .knowledge__container { padding: 0 16px; }
  .knowledge__header { margin-bottom: 24px; }
  .knowledge__filters {
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .knowledge__filters::-webkit-scrollbar { display: none; }
  .knowledge__chip { padding: 9px 16px; font-size: 12px; flex-shrink: 0; white-space: nowrap; }
  .knowledge__slider {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }
  .knowledge__arrow {
    width: 44px; height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(10,13,18,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .knowledge__arrow--prev { left: 8px; right: auto; }
  .knowledge__arrow--next { right: 8px; left: auto; }
  .knowledge__arrow:hover,
  .knowledge__arrow:active,
  .knowledge__arrow:focus { transform: translateY(-50%); }
  .knowledge__viewport { position: relative; }
  .knowledge__track { gap: 14px; }

  .k-card {
    flex-basis: 100%;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4 / 5;
    padding: 22px;
    border-radius: 18px;
    background: var(--dark-2, #0a0d13);
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    color: #fff;
  }
  .k-card__media {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    flex: none;
    z-index: 0;
    background-size: cover;
    background-position: center;
  }
  .k-card__media::after {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(10,13,18,0.15) 0%, rgba(10,13,18,0.4) 45%, rgba(10,13,18,0.92) 100%),
      rgba(0,0,0,0.3);
    pointer-events: none;
  }
  .k-card__content {
    position: relative;
    z-index: 1;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
  }
  .k-card__tag {
    align-self: flex-start;
    margin: 0 0 12px;
    background: rgba(10,13,18,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(138,152,72,0.35);
    color: var(--khaki-light, #b7c479);
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 6px 12px;
    border-radius: 999px;
  }
  .k-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
  }
  .k-card__desc { display: none; }
  .k-card__meta {
    margin-top: 0;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .k-card__meta-item {
    background: transparent;
    border: none;
    padding: 0;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    font-size: 12px;
  }
  .k-card__meta-item + .k-card__meta-item::before {
    content: '·';
    margin-right: 4px;
    color: rgba(255,255,255,0.4);
  }
  .k-card__meta-item svg { display: none; }
}

/* ===================== ACCESSIBILITY: REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__lion,
  .services__video,
  .cases__bg,
  video[autoplay] {
    animation: none !important;
  }
  .marquee__track { animation: none !important; }
}

/* ===================== ACCESSIBILITY: TOUCH TARGETS ===================== */
@media (hover: none) and (pointer: coarse) {
  a, button, [role="button"] {
    min-height: 44px;
  }
  .header__nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .k-card__meta-item { min-height: 0; }
}

/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  background: #0b0e14;
  color: #cfd1d6;
  overflow: hidden;
  padding: 50px 0 30px;
  overflow-anchor: none;
  contain: layout paint;
}
.footer__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 500px at 20% 0%, rgba(75, 83, 32, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 100%, rgba(75, 83, 32, 0.15), transparent 60%),
    linear-gradient(180deg, #0a0d13 0%, #0b0e14 60%, #080a10 100%);
  pointer-events: none;
}
.footer__container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 26px 34px;
  margin-bottom: 72px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer__cta-left { display: flex; align-items: center; gap: 22px; }
.footer__cta-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); flex-shrink: 0;
}
.footer__cta-icon svg { width: 28px; height: 28px; }
.footer__cta-text { display: flex; flex-direction: column; gap: 4px; }
.footer__cta-text strong {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-size: 19px; font-weight: 700; color: #fff;
}
.footer__cta-text span {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 16px; color: rgba(255,255,255,0.55);
  line-height: 1.5; max-width: 560px;
}
.footer__cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  color: #f0ede6;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 18px 36px;
  border-radius: 999px; white-space: nowrap;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 34px rgba(75, 83, 32, 0.55), 0 1px 0 rgba(255,255,255,0.12) inset;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.footer__cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.footer__cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5a6429 0%, var(--khaki) 100%);
  box-shadow: 0 20px 44px rgba(75, 83, 32, 0.7), 0 1px 0 rgba(255,255,255,0.18) inset;
}
.footer__cta-btn:hover::before { transform: translateX(100%); }
.footer__cta-btn svg { width: 15px; height: 15px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand { display: flex; flex-direction: column; }
.footer__logo-row {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 72px;
}
.footer__logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer__logo img {
  width: 72px; height: 72px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(255,255,255,0.18)) drop-shadow(0 0 18px rgba(124,137,58,0.35));
}
.footer__brand-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; letter-spacing: 0.1em; color: #fff; line-height: 1;
}
.footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin: 0 0 16px;
  line-height: 1.4;
}
.footer__descr {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 16px; color: rgba(255,255,255,0.55);
  line-height: 1.55; margin: 0 0 26px; max-width: 420px;
}
.footer__badge {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 14px;
  color: #f0ede6;
  max-width: none;
  width: max-content;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 20px rgba(75, 83, 32, 0.55), 0 1px 0 rgba(255,255,255,0.18) inset;
}
.footer__badge::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: footerShine 4.5s ease-in-out infinite;
}
@keyframes footerShine {
  0%, 60% { transform: translateX(-100%); }
  80% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.footer__badge-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #f0ede6; flex-shrink: 0;
  position: relative; z-index: 1;
}
.footer__badge-icon svg { width: 14px; height: 14px; }
.footer__badge-text { display: flex; flex-direction: column; gap: 1px; position: relative; z-index: 1; white-space: nowrap; }
.footer__badge-text strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; color: #f4f1e6; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__badge-text span {
  font-family: 'Onest', 'Onest Fallback', var(--font-body); font-weight: 300;
  font-size: 9px; color: rgba(240, 237, 230, 0.85); line-height: 1.4;
}

.footer__col {
  display: flex; flex-direction: column;
  position: relative;
  padding-left: 30px;
}
.footer__col::before {
  content: '';
  position: absolute;
  left: -30px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.14) 14%, rgba(255,255,255,0.14) 86%, transparent 100%);
  pointer-events: none;
}
.footer__col-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.12em; color: #fff;
  margin: 0 0 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 72px;
  display: flex; align-items: center;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer__list--plain li {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.5;
}
.footer__list--plain li:first-child {
  color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 6px;
}

.footer__pay {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  width: max-content; max-width: 100%;
  align-self: center;
  margin-left: -30px;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #f0ede6; text-decoration: none;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(75, 83, 32, 0.45), 0 1px 0 rgba(255,255,255,0.16) inset;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer__pay::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.footer__pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(75, 83, 32, 0.6), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.footer__pay:hover::before { transform: translateX(100%); }
.footer__pay-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #f0ede6; flex-shrink: 0;
  position: relative; z-index: 1;
}
.footer__pay-icon svg { width: 14px; height: 14px; }
.footer__pay-text { display: flex; flex-direction: column; gap: 1px; flex: 1; position: relative; z-index: 1; white-space: nowrap; }
.footer__pay-text strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__pay-text span { font-family: 'Onest', 'Onest Fallback', var(--font-body); font-weight: 300; font-size: 9px; opacity: 0.85; }
.footer__pay-arrow { width: 12px; height: 12px; flex-shrink: 0; position: relative; z-index: 1; color: #f0ede6; }

.footer__contact {
  display: flex; align-items: flex-start; gap: 12px;
  text-decoration: none; color: inherit;
  transition: color 0.2s;
}
.footer__contact:hover { color: #fff; }
.footer__contact:hover .footer__contact-icon {
  background: rgba(124, 137, 58, 0.22);
  border-color: rgba(124, 137, 58, 0.4);
  color: #cdd695;
}
.footer__contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer__contact-icon svg { width: 22px; height: 22px; }
.footer__contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer__contact-text strong {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700; font-size: 19px; color: #fff; line-height: 1.3;
}
.footer__contact-text > span {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 13px; color: rgba(255,255,255,0.5);
}

.footer__socials {
  margin-top: auto; padding-top: 32px;
  display: flex; justify-content: center; gap: 12px;
}
.footer__social {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { transform: translateY(-2px); filter: brightness(1.12); }
.footer__social--wa  { background: linear-gradient(135deg, #25D366, #128C7E); }
.footer__social--tg  { background: linear-gradient(135deg, #37AEE2, #1E96C8); }
.footer__social--msg { background: linear-gradient(135deg, #7C5EF0, #5A3CD1); }
.footer__social--max { background: linear-gradient(135deg, #8E2DE2 0%, #FF2D9A 38%, #2E8BFF 68%, #00DFD8 100%); }
.footer__social--max img { width: 22px; height: 22px; object-fit: contain; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }

.footer__biz li {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.footer__biz li:last-child { border-bottom: none; padding-bottom: 0; }
.footer__biz-role {
  font-family: 'Onest', 'Onest Fallback', var(--font-display);
  font-weight: 700; font-size: 19px; color: #fff; line-height: 1.3;
}
.footer__biz-mail {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 16px; color: rgba(255,255,255,0.6);
  text-decoration: none; width: fit-content;
  transition: color 0.2s;
}
.footer__biz-mail:hover { color: #cdd695; }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
}
.footer__copy {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 13px; color: rgba(255,255,255,0.4);
  margin: 0; line-height: 1.5;
}
.footer__links {
  display: flex; gap: 28px; justify-content: center;
}
.footer__links a {
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 13px; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__disclaimer {
  display: flex; align-items: center; gap: 10px;
  justify-self: end;
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin: 0; line-height: 1.45;
}
.footer__disclaimer svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: rgba(124, 137, 58, 0.6);
}

@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .footer { padding: 50px 0 26px; }
  .footer__container { padding: 0 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2px 16px; padding-bottom: 2px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--business { grid-column: 1 / -1; }
  .footer__col { padding-left: 0; min-width: 0; }
  .footer__col-title { margin-bottom: 8px; padding-bottom: 6px; font-size: 12px; }
  .footer__pay { padding: 8px 10px; gap: 8px; }
  .footer__pay-icon { width: 28px; height: 28px; }
  .footer__pay-text strong { font-size: 11px; letter-spacing: 0.04em; }
  .footer__pay-text span { font-size: 8px; }
  .footer__pay-arrow { width: 10px; height: 10px; }
  .footer__socials { justify-content: center; gap: 10px; margin-top: 10px; }
  .footer__social { width: 34px !important; height: 34px !important; min-width: 34px !important; min-height: 34px !important; }
  .footer__social svg { width: 15px; height: 15px; }
  .footer__social--max img { width: 17px; height: 17px; }
  .footer__contact { gap: 8px; align-items: center; }
  .footer__contact-icon { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
  .footer__contact-icon svg { width: 16px; height: 16px; }
  .footer__contact-text { min-width: 0; overflow: hidden; }
  .footer__contact-text strong { font-size: 13px; overflow-wrap: anywhere; word-break: break-word; }
  .footer__contact-text > span { font-size: 11px; overflow-wrap: anywhere; }
  .footer__list { gap: 1px; }
  .footer__list--plain li,
  .footer__list--plain li:first-child { font-size: 11px; white-space: nowrap; margin-bottom: 0; }
  .footer__pay { margin-top: 10px; padding: 6px 8px; gap: 6px; }
  .footer__pay-text { min-width: 0; flex: 1; }
  .footer__pay-text strong { font-size: 9px; white-space: nowrap; }
  .footer__pay-text span { font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .footer__pay-arrow { width: 9px; height: 9px; flex-shrink: 0; }
  .footer__biz li { padding-bottom: 1px; gap: 0; margin-bottom: 1px; border-bottom: none; }
  .footer__biz-role { font-size: 11px; white-space: nowrap; }
  .footer__biz-role br { display: none; }
  .footer__biz-mail { font-size: 11px; white-space: nowrap; }
  .footer__tagline { margin-bottom: 6px; }
  .footer__descr { margin-bottom: 10px; }
  .footer__badge { padding: 10px 12px; }
  .footer__logo-row { margin-bottom: 12px; padding-bottom: 10px; min-height: 0; }
  .footer__col::before { display: none; }
  .footer__bottom { grid-template-columns: 1fr; text-align: center; gap: 1px; padding-top: 3px; }
  .footer__links { gap: 4px 10px; }
  .footer__copy { font-size: 12px; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  .footer__links a::after { content: '.'; }
  .footer__disclaimer { justify-self: center; }
  .footer__brand-name { font-size: 20px; }
  .footer__descr { font-size: 14px; max-width: 100%; }
  .footer__badge { width: 100%; max-width: 100%; justify-content: center; }
  .footer__pay { width: max-content; max-width: 100%; align-self: center; margin-left: 0; }
  .footer__socials { justify-content: center; }
}

/* ============ ARTICLE PAGE ============ */
.article-page { background: var(--dark); }
.article-page .article { color: #e8ebe0; }
.article-page .article-footer { background: var(--dark); }
.article { padding: 140px 0 80px; }
.article__container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.article__breadcrumbs { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-body); letter-spacing: 0.02em; }

/* На мобилке - всегда одна строка. Длинный заголовок текущей страницы
   обрезается многоточием, статические звенья (Главная / категория) не
   сжимаются. Контейнер скрывает overflow - ничего не торчит. */
@media (max-width: 600px) {
  .article__breadcrumbs { flex-wrap: nowrap; overflow: hidden; font-size: 12px; gap: 6px; }
  .article__breadcrumbs a, .article__bc-sep { flex-shrink: 0; white-space: nowrap; }
  .article__bc-current { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.article__breadcrumbs a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.article__breadcrumbs a:hover { color: var(--khaki-light); }
.article__bc-sep { color: rgba(255,255,255,0.3); }
.article__bc-current { color: var(--khaki-light); }

.article__head { margin-bottom: 36px; }
.article__tag { display: inline-block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(75,83,32,0.25); color: var(--khaki-light); border: 1px solid rgba(138,152,72,0.3); margin-bottom: 20px; }
.article__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.18; color: #fff; margin: 0 0 18px; letter-spacing: -0.005em; }
.article__lead { font-family: var(--font-body); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0 0 22px; }
.article__meta { display: flex; gap: 24px; color: rgba(255,255,255,0.5); font-size: 14px; font-family: var(--font-body); }
.article__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article__meta-item svg { width: 16px; height: 16px; }

.article__cover { aspect-ratio: 1.908; width: 100%; border-radius: 20px; background-size: cover; background-position: center; background-color: var(--dark-2); margin-bottom: 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.article__body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.82); text-align: justify; hyphens: none; -webkit-hyphens: none; -ms-hyphens: none; }
/* Запрещаем авто-перенос слов (гифенацию) во всём теле статьи и в заголовках.
   Решение заказчика 9 мая 2026: браузерная гифенация русского давала кривые
   разрывы вроде «АР-БИТРАЖНЫМ». Justify оставляем — на 820px и >16px шрифте
   «реки» терпимые, на мобиле текст переносится по словам без проблем. */
.article__title,
.article__body h1, .article__body h2, .article__body h3, .article__body h4 {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.article__body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.9vw, 24px); color: #fff; margin: 40px 0 16px; line-height: 1.28; text-align: left; }
.article__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); color: #fff; margin: 32px 0 12px; text-align: left; }
.article__body p { margin: 0 0 16px; }
.article__body ul, .article__body ol { margin: 0 0 20px; padding-left: 22px; }
.article__body li { margin-bottom: 10px; }
.article__body li::marker { color: var(--khaki-light); }
.article__body a { color: var(--khaki-light); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
.article__body a:hover { color: #b0c066; }
.article__body strong { color: #fff; font-weight: 600; }
.article__body blockquote { border-left: 3px solid var(--khaki); padding: 8px 0 8px 20px; margin: 24px 0; color: rgba(255,255,255,0.72); font-style: italic; background: linear-gradient(90deg, rgba(75,83,32,0.08) 0%, transparent 100%); }
.article__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article__body th, .article__body td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.article__body th { background: rgba(75,83,32,0.15); color: #fff; font-weight: 600; }
.article__body code { background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 4px; font-size: 0.92em; color: var(--khaki-light); }

.article__faq { margin: 56px 0 0; }
.article__faq-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: #fff; margin: 0 0 20px; }
.article__faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: rgba(20,25,34,0.6); }
.article__faq-item[open] { border-color: rgba(138,152,72,0.3); }
.article__faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.article__faq-item summary::-webkit-details-marker { display: none; }
.article__faq-item summary::after { content: '+'; font-size: 22px; color: var(--khaki-light); transition: transform 0.2s; }
.article__faq-item[open] summary::after { transform: rotate(45deg); }
.article__faq-item p { margin: 14px 0 0; color: rgba(255,255,255,0.72); font-family: var(--font-body); line-height: 1.6; font-size: 15px; }

.article__author { display: flex; gap: 18px; align-items: flex-start; margin: 48px 0 24px; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(75,83,32,0.14) 0%, rgba(20,25,34,0.6) 100%); border: 1px solid rgba(138,152,72,0.18); }
.article__author-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--khaki-light), var(--khaki-deep)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; flex-shrink: 0; }
.article__author-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 2px; }
.article__author-role { font-family: var(--font-body); font-size: 13px; color: var(--khaki-light); margin-bottom: 8px; }
.article__author-bio { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.65); margin: 0; }

.article__disclaimer { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.5); padding: 16px 20px; border-left: 2px solid var(--khaki); background: rgba(255,255,255,0.02); border-radius: 4px; margin: 0 0 40px; font-family: var(--font-body); }

.article__cta { display: inline-flex; align-items: center; gap: 12px; padding: 18px 32px; background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s; margin-bottom: 60px; border: none; cursor: pointer; }

.article__author--company { align-items: center; }
.article__author-avatar--logo { background: transparent; border-radius: 0; box-shadow: none; padding: 0; width: 72px; height: 72px; }
.article__author-avatar--logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.article__author--company .article__author-role { color: var(--khaki-light); font-family: var(--font-display); font-weight: 600; font-size: 11px; text-align: justify; }
.article__author--company .article__author-bio { text-align: justify; }
.article__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(75,83,32,0.4); }
.article__cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.article__cta span { white-space: nowrap; }

/* Hero-style CTA для статей: 1:1 копия .hero__cta с главной (без стрелки, текст КАПСОМ).
   Используется в начале (после первого экрана) и в конце (перед FAQ).
   Размер уменьшен по ОС заказчика - не такой массивный как hero на главной. */
.article__cta--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 28px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0ede6 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  box-shadow:
    0 8px 22px rgba(75, 83, 32, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
  border: 1px solid rgba(138, 152, 72, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.article__cta--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.article__cta--hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5a6429 0%, var(--khaki) 100%);
  box-shadow:
    0 20px 44px rgba(75, 83, 32, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
  color: #fff !important;
}
.article__cta--hero:hover::before { transform: translateX(100%); }
.article__cta--hero span { white-space: normal; text-align: center; }

/* Кнопки CTA: запрещаем гифенацию (auto-перенос «АР-БИТРАЖНЫМ»).
   Перенос строки идёт ТОЛЬКО по пробелу между словами. */
.article__cta, .article__cta--hero, .article__cta-inline,
.article__cta span, .article__cta--hero span, .article__cta-inline span {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal;
  overflow-wrap: normal;
}

/* Мобильная версия hero-CTA: длинные тексты лучше укладываются в 2 строки
   с компактным шрифтом и меньшими отступами - кнопка не выглядит массивной. */
@media (max-width: 600px) {
  .article__cta--hero {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 12px 22px;
    line-height: 1.35;
    margin: 18px 0 22px;
  }
}

/* Inline-CTA в середине абзаца: компактнее, тот же hero-стиль */
.article__cta-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0ede6 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--khaki) 0%, var(--khaki-deep) 100%);
  box-shadow: 0 6px 16px rgba(75,83,32,0.4);
  border: 1px solid rgba(138,152,72,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.article__cta-inline:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #5a6429 0%, var(--khaki) 100%);
  box-shadow: 0 12px 28px rgba(75,83,32,0.6);
  color: #fff !important;
}
.article__cta-inline strong { font-weight: 600; }

.article__related { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.08); }
.article__related-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: #fff; margin: 0 0 24px; }
.article__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; padding: 18px; border-radius: 16px; background-size: cover; background-position: center; background-color: var(--dark-2); text-decoration: none; color: #fff; transition: transform 0.25s; overflow: hidden; }
.related-card:hover { transform: translateY(-4px); }
.related-card__tag { display: inline-block; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(10,13,18,0.7); backdrop-filter: blur(6px); color: var(--khaki-light); align-self: flex-start; margin-bottom: 10px; }
.related-card__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; margin: 0 0 8px; color: #fff; }
.related-card__meta { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.7); }

.article-footer { background: #05070a; padding: 32px 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.article-footer__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.article-footer__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: 0.08em; margin-bottom: 12px; }
.article-footer__brand img { width: 28px; height: 28px; }
.article-footer__law { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0 0 6px; font-family: var(--font-body); }
.article-footer__copy { font-size: 12px; color: rgba(255,255,255,0.35); margin: 0; font-family: var(--font-body); }

/* ---- Светлая тема для страницы статьи ---- */
.article-page--light {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, #faf5e6 0%, #e8dcc2 45%, #cfbfa4 75%, #b7a895 100%);
  color: #1a1f14;
  position: relative;
  overflow-x: hidden;
}
.article-page--light .article { position: relative; z-index: 1; }
.article-page--light .article-footer { position: relative; z-index: 2; }
.article-page--light .article__breadcrumbs { color: rgba(22,26,18,0.55); }
.article-page--light .article__breadcrumbs a { color: rgba(22,26,18,0.7); }
.article-page--light .article__breadcrumbs a:hover { color: var(--khaki-deep); }
.article-page--light .article__bc-sep { color: rgba(22,26,18,0.3); }
.article-page--light .article__bc-current { color: var(--khaki-deep); }
.article-page--light .article__tag {
  background: rgba(75,83,32,0.12);
  color: var(--khaki-deep);
  border-color: rgba(75,83,32,0.3);
}
.article-page--light .article__title { color: #161a12; }
.article-page--light .article__lead { color: rgba(22,26,18,0.72); }
.article-page--light .article__meta { color: rgba(22,26,18,0.55); }
.article-page--light .article__cover {
  background-color: #e0dcd0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.article-page--light .article__body { color: rgba(22,26,18,0.82); }
.article-page--light .article__body h2,
.article-page--light .article__body h3,
.article-page--light .article__body strong { color: #161a12; }
.article-page--light .article__body a { color: var(--khaki-deep); }
.article-page--light .article__body a:hover { color: var(--khaki); }
.article-page--light .article__body li::marker { color: var(--khaki); }
.article-page--light .article__body blockquote {
  color: rgba(22,26,18,0.75);
  background: linear-gradient(90deg, rgba(75,83,32,0.08) 0%, transparent 100%);
}
.article-page--light .article__body th,
.article-page--light .article__body td {
  border-bottom-color: rgba(75,83,32,0.15);
}
.article-page--light .article__body th {
  background: rgba(75,83,32,0.1);
  color: #161a12;
}
.article-page--light .article__body code {
  background: rgba(75,83,32,0.08);
  color: var(--khaki-deep);
}
.article-page--light .article__faq-title { color: #161a12; }
.article-page--light .article__faq-item {
  background: rgba(255,255,255,0.7);
  border-color: rgba(75,83,32,0.15);
}
.article-page--light .article__faq-item[open] { border-color: rgba(75,83,32,0.35); }
.article-page--light .article__faq-item summary { color: #161a12; }
.article-page--light .article__faq-item summary::after { color: var(--khaki-deep); }
.article-page--light .article__faq-item p { color: rgba(22,26,18,0.72); }
.article-page--light .article__author {
  background: linear-gradient(135deg, rgba(75,83,32,0.1) 0%, rgba(255,255,255,0.6) 100%);
  border-color: rgba(75,83,32,0.2);
}
.article-page--light .article__author-name { color: #161a12; }
.article-page--light .article__author-role { color: var(--khaki-deep); }
.article-page--light .article__author-bio { color: rgba(22,26,18,0.68); }
.article-page--light .article__disclaimer {
  color: rgba(22,26,18,0.6);
  background: rgba(255,255,255,0.5);
}
.article-page--light .article__related {
  border-top-color: rgba(75,83,32,0.15);
}
.article-page--light .article__related-title { color: #161a12; }

@media (max-width: 720px) {
  .article { padding: 100px 0 60px; }
  .article__related-grid { grid-template-columns: 1fr; }
  .article__author { flex-direction: column; }
  .article__author--company { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "avatar name" "role role" "bio bio"; column-gap: 16px; row-gap: 10px; align-items: center; }
  .article__author--company .article__author-avatar { grid-area: avatar; }
  .article__author--company .article__author-body { grid-area: name; display: contents; }
  .article__author--company .article__author-name { grid-area: name; margin: 0; align-self: center; }
  .article__author--company .article__author-role { grid-area: role; margin: 0; }
  .article__author--company .article__author-bio { grid-area: bio; margin: 0; }
}

/* ============ CATEGORY PAGE ============ */
.category-page { background: var(--dark); color: #e8ebe0; min-height: 100vh; }
.category { padding: 140px 0 80px; }
.category__container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.category__head { text-align: center; margin-bottom: 48px; }
.category__tag { display: inline-block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(75,83,32,0.25); color: var(--khaki-light); border: 1px solid rgba(138,152,72,0.3); margin-bottom: 20px; }
.category__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.5vw, 56px); color: #fff; margin: 0 0 14px; letter-spacing: -0.01em; }
.category__subtitle { font-family: var(--font-body); font-size: clamp(15px, 1.2vw, 18px); color: rgba(255,255,255,0.6); max-width: 640px; margin: 0 auto; }
.category__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.category__search { display: flex; justify-content: center; margin: 0 auto 28px; max-width: 520px; }
.category__search-inner {
  position: relative;
  display: flex; align-items: center;
  width: 100%;
  background: rgba(75, 83, 32, 0.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 999px;
  padding: 0 20px 0 46px;
  height: 46px;
  box-shadow: 0 8px 22px rgba(75, 83, 32, 0.14), inset 0 1px 0 rgba(255,255,255,0.12);
  border: 1px solid rgba(75, 83, 32, 0.28);
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.category__search-inner:focus-within {
  background: rgba(75, 83, 32, 0.42);
  border-color: rgba(75, 83, 32, 0.5);
  box-shadow: 0 12px 28px rgba(75, 83, 32, 0.22), inset 0 1px 0 rgba(255,255,255,0.16);
}
.category__search-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
}
.category__search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #f5efe0;
  font-family: 'Onest', 'Onest Fallback', var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.005em;
  width: 100%;
  padding: 0;
}
.category__search-input::placeholder {
  color: rgba(245, 239, 224, 0.8);
  font-weight: 300;
}
.category__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.category__nav-chip { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
.category__nav-chip:hover { color: #fff; border-color: rgba(138,152,72,0.5); background: rgba(138,152,72,0.1); }
.category__nav-chip.is-active { background: var(--khaki); border-color: var(--khaki); color: #fff; }
.category__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.category-card { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/5; padding: 22px; border-radius: 18px; background-size: cover; background-position: center; background-color: var(--dark-2); text-decoration: none; color: #fff; transition: transform 0.25s, box-shadow 0.25s; overflow: hidden; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.category-card__tag { align-self: flex-start; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(10,13,18,0.7); backdrop-filter: blur(6px); color: var(--khaki-light); margin-bottom: 12px; }
.category-card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0 0 10px; color: #fff; }
.category-card__meta { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.7); }
.category__pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.category__page { min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.08); font-family: var(--font-display); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.category__page:hover { color: var(--khaki-light); border-color: rgba(138,152,72,0.4); }
.category__page.is-active { background: var(--khaki); color: #fff; border-color: var(--khaki); }
.category__empty { text-align: center; color: rgba(255,255,255,0.5); padding: 60px 20px; font-family: var(--font-body); }

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

/* ---- Светлая тема для страницы категорий ---- */
.category-page--light {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, #faf5e6 0%, #e8dcc2 45%, #cfbfa4 75%, #b7a895 100%);
  color: #1a1f14;
  position: relative;
  overflow-x: hidden;
}
.category-page--light .category { position: relative; z-index: 1; }
.category-page--light .footer { position: relative; z-index: 2; }

/* ====================================================================
   /category/all: на странице со статьями шапка с backdrop-filter blur
   накладывалась на ПОСТОЯННО анимированный category-bg → браузер каждый
   кадр пересчитывал blur движущихся блобов под шапкой. Решение:
   1. Убрать backdrop-filter, дать шапке solid background.
   2. Остановить анимации фона - blur(40px) на 4 блобах + bokeh + grain
      достаточно декоративны и без движения.
   3. transition только background-color, без padding (no layout reflow).
   ==================================================================== */
.category-page .header__inner {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(20, 25, 34, 0.88);
  transition: background-color 0.35s ease;
}
/* Анимации фона остановлены - блобы статичны. */
.category-page .category-bg__blob,
.category-page .category-bg__bokeh,
.category-page .category-bg__bokeh::after,
.category-page .category-bg__wave--1,
.category-page .category-bg__wave--2 {
  animation: none !important;
}
/* КРИТИЧНО: убрать GPU-promotion с фоновых элементов. translateZ(0)+
   backface-visibility создавали отдельный compositor layer на каждый
   blob/bokeh/wave (нужно было только для smooth animation, которой
   больше нет). 8 ненужных GPU layers пинились в памяти и заставляли
   шапку дёргаться при transition max-width. */
.category-page .category-bg__blob,
.category-page .category-bg__bokeh,
.category-page .category-bg__wave {
  transform: none !important;
  backface-visibility: visible !important;
}
/* will-change: contents на .category-bg держал full-viewport buffer
   в GPU постоянно - забирал ресурсы у анимации шапки. */
.category-page .category-bg {
  will-change: auto !important;
}
/* Шапка анимируется как на главной. Раньше тут стоял transition: none
   из-за того что композитор был перегружен (12+ layers) и layout-bound
   анимация max-width дёргалась. После того как убрали will-change:
   contents и translateZ promotion с фоновых слоёв - layers стало 3-4,
   композитор справляется со smooth max-width transition. */

.category-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* Оптимизация скроллинга: изолируем рендеринг фона */
  will-change: contents;
  contain: layout paint;
}
.category-bg--section { position: absolute; }
.category-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.9;
  /* GPU-ускорение для smooth анимаций. will-change убран намеренно:
     постоянный hint создавал large GPU texture для каждого blob × 4,
     перегружал компоновщик во время холодной загрузки и тормозил скролл. */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.category-bg__blob--1 {
  width: 520px; height: 520px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(220,175,85,0.7), rgba(195,150,70,0.25) 45%, transparent 72%);
  animation: catBlobFloat1 22s ease-in-out infinite alternate;
}
.category-bg__blob--2 {
  width: 640px; height: 640px;
  top: 18%; right: -180px;
  background: radial-gradient(circle, rgba(210,160,70,0.7), rgba(180,130,50,0.25) 45%, transparent 72%);
  animation: catBlobFloat2 28s ease-in-out infinite alternate;
}
.category-bg__blob--3 {
  width: 580px; height: 580px;
  top: 55%; left: 30%;
  background: radial-gradient(circle, rgba(230,200,130,0.75), rgba(200,170,90,0.25) 45%, transparent 72%);
  animation: catBlobFloat3 32s ease-in-out infinite alternate;
}
.category-bg__blob--4 {
  width: 460px; height: 460px;
  bottom: -140px; right: 15%;
  background: radial-gradient(circle, rgba(200,150,60,0.65), rgba(170,125,45,0.22) 45%, transparent 72%);
  animation: catBlobFloat4 26s ease-in-out infinite alternate;
}
.category-bg__bokeh {
  position: absolute; inset: -10%;
  background-image:
    radial-gradient(circle 38px at 60px 90px, rgba(255,240,200,0.55), rgba(255,225,160,0.25) 45%, transparent 75%),
    radial-gradient(circle 14px at 200px 160px, rgba(255,245,215,0.7), rgba(255,230,175,0.3) 45%, transparent 75%),
    radial-gradient(circle 46px at 340px 50px, rgba(255,235,185,0.5), rgba(255,220,150,0.2) 48%, transparent 75%),
    radial-gradient(circle 22px at 110px 290px, rgba(255,245,210,0.6), rgba(255,230,175,0.25) 45%, transparent 75%),
    radial-gradient(circle 10px at 280px 260px, rgba(255,250,225,0.8), rgba(255,240,195,0.35) 45%, transparent 75%),
    radial-gradient(circle 30px at 430px 220px, rgba(255,240,200,0.55), rgba(255,225,160,0.22) 45%, transparent 75%),
    radial-gradient(circle 18px at 500px 360px, rgba(255,245,210,0.6), rgba(255,232,180,0.25) 45%, transparent 75%);
  background-size: 580px 420px;
  filter: blur(0.8px);
  opacity: 0.6;
  /* mix-blend-mode: screen убран - full-viewport composite каждый кадр
     перегружал GPU на /category/all (position: fixed background всегда
     в viewport). */
  animation: catBokehDrift 28s linear infinite;
  /* GPU-ускорение для плавной анимации (will-change убран — см. .category-bg__blob) */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.category-bg__bokeh::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 6px at 40px 50px, rgba(255,250,220,0.9), rgba(255,240,195,0.35) 50%, transparent 80%),
    radial-gradient(circle 26px at 180px 190px, rgba(255,240,200,0.5), rgba(255,225,170,0.2) 48%, transparent 75%),
    radial-gradient(circle 8px at 300px 130px, rgba(255,250,220,0.75), rgba(255,240,195,0.3) 50%, transparent 78%),
    radial-gradient(circle 12px at 100px 320px, rgba(255,245,210,0.65), rgba(255,232,180,0.25) 50%, transparent 78%),
    radial-gradient(circle 42px at 380px 280px, rgba(255,238,195,0.45), rgba(255,222,160,0.18) 48%, transparent 75%),
    radial-gradient(circle 16px at 240px 60px, rgba(255,245,210,0.6), rgba(255,232,180,0.22) 48%, transparent 78%);
  background-size: 460px 380px;
  background-position: 30px 20px;
  filter: blur(0.5px);
  animation: catBokehDrift2 42s linear infinite reverse;
}
.category-bg__waves {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  opacity: 0.55;
}
.category-bg__wave {
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(75,83,32,0.2));
  /* GPU-ускорение волн */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.category-bg__wave--1 { animation: catWaveFlow1 16s ease-in-out infinite alternate; transform-origin: center; }
.category-bg__wave--2 { animation: catWaveFlow2 20s ease-in-out infinite alternate; transform-origin: center; }
.category-bg__grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.3;
}
@keyframes catBlobFloat1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(260px, 180px) scale(1.2); }
}
@keyframes catBlobFloat2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-240px, 220px) scale(1.15); }
}
@keyframes catBlobFloat3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-180px, -200px) scale(1.25); }
}
@keyframes catBlobFloat4 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(220px, -160px) scale(1.12); }
}
@keyframes catBokehDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(-260px, -380px); }
}
@keyframes catBokehDrift2 {
  0%   { transform: translate(0,0); }
  100% { transform: translate(200px, -320px); }
}
@keyframes catWaveFlow1 {
  0%   { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(-10px) scaleY(1.06); }
}
@keyframes catWaveFlow2 {
  0%   { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(8px) scaleY(0.94); }
}
.category-page--light .category__tag {
  background: rgba(75,83,32,0.1);
  color: var(--khaki-deep);
  border-color: rgba(75,83,32,0.25);
}
.category-page--light .category__title { color: #161a12; }
.category-page--light .category__subtitle { color: rgba(22,26,18,0.65); }
.category-page--light .category__nav-chip {
  background: rgba(255,255,255,0.8);
  border-color: rgba(75,83,32,0.18);
  color: rgba(22,26,18,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.category-page--light .category__nav-chip:hover {
  color: var(--khaki-deep);
  border-color: rgba(75,83,32,0.5);
  background: #fff;
}
.category-page--light .category__nav-chip.is-active {
  background: var(--khaki);
  border-color: var(--khaki);
  color: #fff;
}
.category-page--light .category__page {
  background: rgba(255,255,255,0.85);
  border-color: rgba(75,83,32,0.18);
  color: rgba(22,26,18,0.7);
}
.category-page--light .category__page:hover {
  color: var(--khaki-deep);
  border-color: rgba(75,83,32,0.4);
}
.category-page--light .category__page.is-active {
  background: var(--khaki);
  color: #fff;
  border-color: var(--khaki);
}
.category-page--light .category__empty {
  color: rgba(22,26,18,0.55);
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(16, 19, 24, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(138, 152, 72, 0.25);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #e8ebe0;
}
.cookie-banner__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 152, 72, 0.15);
  color: var(--khaki-light);
}
.cookie-banner__icon svg { width: 24px; height: 24px; }
.cookie-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}
.cookie-banner__text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}
.cookie-banner__text span { color: rgba(232, 235, 224, 0.72); }
.cookie-banner__text a {
  color: var(--khaki-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__link {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 235, 224, 0.7);
  text-decoration: none;
  padding: 10px 14px;
}
.cookie-banner__link:hover { color: var(--khaki-light); }
.cookie-banner__btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b0e14;
  background: var(--khaki-light, #8a9848);
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cookie-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(138, 152, 72, 0.35);
}

@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
  .cookie-banner__actions { width: 100%; justify-content: space-between; }
  .cookie-banner__btn { flex: 1; padding: 12px 16px; }
}
@media (max-width: 600px) {
  .category__grid { grid-template-columns: 1fr; }
  .category { padding: 100px 0 60px; }
}

/* ============ МОДАЛКА ЗАЯВКИ ============ */
.contacts-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.contacts-modal.is-open {
  display: flex;
  animation: contactsModalFade 0.25s ease-out;
}
@keyframes contactsModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.contacts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.contacts-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  animation: contactsModalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes contactsModalIn {
  from { transform: translateY(18px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.contacts-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  flex: 0 0 32px;
  aspect-ratio: 1 / 1;
  padding: 0;
  box-sizing: border-box;
  line-height: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 3;
}
.contacts-modal__close:hover { background: rgba(255, 255, 255, 0.2); }
.contacts-modal__close svg { width: 18px; height: 18px; }
body.is-modal-open { overflow: hidden; }

.contacts__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 38px 36px 36px;
  border-radius: 28px;
  background: rgba(135, 121, 108, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.contacts__lion {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0) invert(1);
}
.contacts__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacts__title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
}
.contacts__subtitle {
  margin: 0 0 6px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.contacts__field { width: 100%; }
.contacts__input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  font-family: inherit;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.contacts__input::placeholder { color: rgba(255, 255, 255, 0.55); }
.contacts__input:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
}
.contacts__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.contacts__consent-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contacts__checkmark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
}
.contacts__checkmark svg { width: 14px; height: 14px; }
.contacts__consent-input:checked ~ .contacts__checkmark {
  background: #4b5320;
  border-color: #4b5320;
  color: #ffffff;
}
.contacts__submit {
  margin-top: 8px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: #4b5320;
  color: #faf5e6;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.1s;
}
.contacts__submit:hover:not(:disabled) { background: #5c6428; }
.contacts__submit:active:not(:disabled) { transform: translateY(1px); }
.contacts__submit:disabled {
  opacity: 1;
  cursor: pointer;
}
.contacts__status {
  margin: 4px 0 0;
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.contacts__status:empty { padding: 0; min-height: 0; }
.contacts__status.is-success {
  color: #ffffff;
  font-weight: 600;
  background: #2e7d32;
  border: 1px solid rgba(255,255,255,0.2);
}
.contacts__status.is-error {
  color: #ffffff;
  font-weight: 600;
  background: #c0392b;
  border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .contacts { padding: 70px 0 90px; }
  .contacts__container { padding: 0 20px; }
  .contacts__card { padding: 30px 22px 26px; border-radius: 22px; }
  .contacts__title { font-size: 24px; }
}

/* ============ МОБИЛКА: КЕЙСЫ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ============ */
@media (max-width: 900px) {
  .cases__stack-wrap { height: auto !important; min-height: 0 !important; overflow: visible !important; perspective: none !important; }
  .cases__stack.is-mobile-scroll {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 4px 14px 18px;
    margin: 0 -14px;
    height: auto;
    perspective: none;
    transform: none;
  }
  .cases__stack.is-mobile-scroll::-webkit-scrollbar { height: 4px; }
  .cases__stack.is-mobile-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
  .cases__stack.is-mobile-scroll .case-tab {
    position: relative !important;
    flex: 0 0 calc(100% - 40px);
    max-width: 340px;
    min-width: 240px;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    margin: 0;
    top: auto;
    left: auto;
  }
  .cases__hint { display: none; }
  .cases__dots { display: none; }
}

/* ============ МОБИЛКА: ФОРМА ============ */
@media (max-width: 600px) {
  .contacts-modal { padding: 12px; align-items: center; justify-content: center; }
  .contacts-modal__dialog { max-width: 100%; }
  .contacts__card {
    padding: 28px 20px 22px;
    border-radius: 22px;
    max-width: 100%;
  }
  .contacts__title { font-size: 22px; }
  .contacts__subtitle { font-size: 13px; }
  .contacts__input { height: 44px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
  .contacts__submit { height: 48px; font-size: 14px; border-radius: 12px; }
  .contacts__consent { font-size: 12px; }
  .contacts-modal__close {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    min-height: 30px;
    flex: 0 0 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    padding: 0 !important;
    top: 12px;
    right: 12px;
  }
  .contacts-modal__close svg { width: 14px; height: 14px; }
  .contacts__lion { width: 65%; }
}

/* ============ МОБИЛКА: СТАТЬИ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ============ */
@media (max-width: 900px) {
  .knowledge__slider { grid-template-columns: 1fr !important; gap: 0 !important; }
  .knowledge__arrow { display: none !important; }
  .knowledge__viewport {
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 14px 18px;
    margin: 0 -14px;
  }
  .knowledge__viewport::-webkit-scrollbar { height: 4px; }
  .knowledge__viewport::-webkit-scrollbar-thumb { background: rgba(75,83,32,0.35); border-radius: 4px; }
  .knowledge__track {
    transform: none !important;
    transition: none !important;
    gap: 14px;
  }
  .knowledge__track .k-card {
    flex: 0 0 82% !important;
    max-width: 340px;
    scroll-snap-align: start;
  }
}

/* ============ МОБИЛЬНЫЕ ФИКСЫ (overflow / cases / footer) ============ */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .cases { overflow: hidden; }
  .cases__container { max-width: 100%; overflow: hidden; }
  .cases__title {
    font-size: clamp(22px, 7.5vw, 30px);
    word-break: break-word;
    hyphens: auto;
  }
  .cases__subtitle { font-size: 12px; letter-spacing: 0.06em; }
  .features { max-width: 100%; }
  .feature { padding: 12px 16px; gap: 14px; }
  .feature__text { min-width: 0; flex: 1; }
  .feature__title { font-size: 15px; }
  .feature__desc {
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}

/* === КАРТОЧКИ СУДЕБНЫХ РЕШЕНИЙ: показать контент во всех карточках на мобиле === */
@media (max-width: 900px) {
  .cases__stack.is-mobile-scroll .case-tab__body {
    display: block !important;
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
  }
  .cases__stack.is-mobile-scroll .case-tab {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 4px;
  }
  .cases__stack.is-mobile-scroll .case-tab__body-inner { overflow: visible; }
  .cases__stack.is-mobile-scroll .case-tab__desc {
    padding: 0 20px;
    margin: 8px 0 16px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
  .cases__stack.is-mobile-scroll .case-tab__meta {
    margin: 0 20px;
    padding-top: 14px;
    gap: 12px;
  }
  .cases__stack.is-mobile-scroll .case-tab__meta-value { font-size: 16px; }
  .cases__stack.is-mobile-scroll .case-tab__meta-value--muted { font-size: 14px; }
  .cases__stack.is-mobile-scroll .case-tab__meta-label { font-size: 11px; }
  .cases__stack.is-mobile-scroll .case-tab__link {
    margin: 16px 20px 18px;
    padding: 10px 16px;
    font-size: 12px;
  }
  .cases__stack.is-mobile-scroll .case-tab__head {
    padding: 14px 16px 6px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cases__stack.is-mobile-scroll .case-tab__id { font-size: 12px; }
  .cases__stack.is-mobile-scroll .case-tab__status { font-size: 11px; padding: 4px 8px; }
}

/* === ФУТЕР: уплотнить блок "Для бизнеса" на мобиле === */
@media (max-width: 1024px) {
  .footer__col--business .footer__biz,
  .footer__col--business .footer__list { gap: 0 !important; row-gap: 0 !important; }
  .footer__col--business .footer__biz li,
  .footer__col--business .footer__list li {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    row-gap: 0 !important;
    border-bottom: none !important;
    border-top: none !important;
    line-height: 1 !important;
    display: block !important;
  }
  .footer__col--business .footer__biz li + li,
  .footer__col--business .footer__list li + li { margin-top: 0 !important; }
  .footer__col--business .footer__biz-role {
    display: block !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer__col--business .footer__biz-role br { display: none !important; }
  .footer__col--business .footer__biz-mail {
    display: block !important;
    font-size: 12px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer__col--business .footer__col-title {
    margin: 0 0 4px !important;
    padding: 0 0 2px !important;
  }
}

/* === КАРТОЧКИ ДЕЛ: вертикальная структура на мобиле === */
@media (max-width: 900px) {
  .cases__stack.is-mobile-scroll .case-tab__head {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    padding: 14px 16px 8px !important;
    gap: 8px !important;
  }
  .cases__stack.is-mobile-scroll .case-tab__status {
    align-self: flex-end !important;
    width: fit-content !important;
  }
  .cases__stack.is-mobile-scroll .case-tab__id {
    font-size: 13px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .cases__stack.is-mobile-scroll .case-tab__id span {
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 12px !important;
  }
  .cases__stack.is-mobile-scroll .case-tab__meta {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .cases__stack.is-mobile-scroll .case-tab__meta-item {
    flex-direction: column;
    gap: 2px;
  }
}

/* ============ МОБИЛКА: ПОДВАЛ + КУКИ + HERO (общие для всех страниц) ============ */
@media (max-width: 1024px) {
  .footer__col--business .footer__biz { gap: 0 !important; row-gap: 0 !important; display: block !important; }
  .footer__col--business .footer__biz li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border: none !important;
    line-height: 1 !important;
  }
  .footer__col--business .footer__biz li + li { margin-top: 14px !important; }
  .hero__content { padding-top: 48vh !important; }

  /* Компактный cookie-баннер на мобиле */
  .cookie-banner { left: 10px !important; right: 10px !important; bottom: 10px !important; }
  .cookie-banner__inner {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-areas: "icon title" "desc desc" "actions actions" !important;
    align-items: center !important;
    gap: 6px 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }
  .cookie-banner__icon {
    grid-area: icon !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    border-radius: 8px !important;
  }
  .cookie-banner__icon svg { width: 16px !important; height: 16px !important; }
  .cookie-banner__text { display: contents !important; }
  .cookie-banner__text strong {
    grid-area: title !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }
  .cookie-banner__text > span {
    grid-area: desc !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
  .cookie-banner__actions {
    grid-area: actions !important;
    width: 100% !important;
    gap: 8px !important;
    justify-content: space-between !important;
    margin-top: 2px !important;
  }
  .cookie-banner__link {
    font-size: 10px !important;
    padding: 6px 10px !important;
    letter-spacing: 0.08em !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .cookie-banner__btn {
    font-size: 11px !important;
    padding: 8px 16px !important;
    letter-spacing: 0.08em !important;
    min-height: 0 !important;
    height: auto !important;
    flex: 0 1 auto !important;
  }
  .footer__col--business .footer__biz-role {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  .footer__col--business .footer__biz-role br { display: none !important; }
  .footer__col--business .footer__biz-mail {
    display: block !important;
    font-size: 11px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .footer__col--business .footer__col-title {
    margin: 0 0 4px !important;
    padding: 0 0 2px !important;
    min-height: 0 !important;
  }
  .footer__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 8px 0 0 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  .footer__bottom > * { margin: 0 !important; padding: 0 !important; }
  .footer__copy,
  .footer__links,
  .footer__links a,
  .footer__disclaimer,
  .footer__disclaimer span {
    font-size: 9px !important;
    line-height: 1 !important;
    color: rgba(255,255,255,0.5) !important;
  }
  .footer__links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 6px !important;
  }
  .footer__disclaimer {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .footer__disclaimer svg { width: 9px !important; height: 9px !important; flex-shrink: 0 !important; }
  .footer__disclaimer br { display: none !important; }
  .footer { padding-bottom: 8px !important; }
  .footer__bottom a,
  .footer__links a,
  .footer__disclaimer a {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Категория: отключить анимации фона на мобильных для плавного скроллинга */
  .category-bg__blob--1,
  .category-bg__blob--2,
  .category-bg__blob--3,
  .category-bg__blob--4 {
    animation: none !important;
  }
  .category-bg__bokeh,
  .category-bg__bokeh::after {
    animation: none !important;
  }
  .category-bg__wave--1,
  .category-bg__wave--2 {
    animation: none !important;
  }
}
