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

:root {
  --clr-green: #9ef605;
  --clr-green-dark: #63d148;
  --clr-green-light: #baf605;
  --clr-black: #030303;
  --clr-white: #ffffff;
  --clr-bg: #111111;
  --clr-bg-alt: #030303;
  --clr-dark-card: #252525;
  --clr-gray: #323232;
  --clr-border: rgba(255, 255, 255, 0.10);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Onest', sans-serif;
  background: #111111;
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 2px;
}

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

/* === Fonts === */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'TikTok Sans';
  src: url('../fonts/TikTokSans_18pt_ExtraExpanded-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

/* === INTRO Section === */
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-animate .intro-subtitle {
  opacity: 0;
  animation: slide-down 0.6s ease 0.1s forwards;
}

.intro-animate .intro-title-word {
  opacity: 0;
}

.intro-animate .intro-title-word:nth-child(1) {
  animation: type-in 0.6s ease 0.4s forwards;
}
.intro-animate .intro-title-word:nth-child(2) {
  animation: type-in 0.6s ease 0.6s forwards;
}
.intro-animate .intro-title-word:nth-child(3) {
  animation: type-in 0.6s ease 0.8s forwards;
}

.intro-animate .intro-video-label {
  opacity: 0;
  animation: fade-up 0.6s ease 1.2s forwards;
}

.intro-animate .intro-player {
  opacity: 0;
  animation: fade-up 0.6s ease 1.5s forwards;
}

.intro-animate .intro-under-video {
  opacity: 0;
  animation: fade-up 0.6s ease 1.8s forwards;
}

.intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 68px 80px 300px;
  gap: 360px;
  background: #111111;
  overflow: visible;
  min-height: 100vh;
}

.intro-spacer {
  height: 60px;
  flex-shrink: 0;
}

/* === ROUND — rotating circle === */
.intro-round {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1700px;
  height: 1700px;
  pointer-events: none;
  opacity: 0;
}

.intro-round-img {
  width: 100%;
  height: 100%;
  animation: rotate-circle 60s linear infinite;
  transform-origin: center;
  display: block;
}

@keyframes rotate-circle {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* === Circle Entrance === */
.intro-animate .intro-round {
  animation: circle-enter 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s both;
}

@keyframes circle-enter {
  from { transform: translateX(-50%) scale(2.5); opacity: 0; }
  to   { transform: translateX(-50%) scale(1);   opacity: 1; }
}

@keyframes header-down {
  from { transform: translateY(-120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* === Blurs === */
.intro-blurs {
  position: absolute;
  top: 662px;
  left: 166px;
  pointer-events: none;
}

@keyframes glow-grow {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.intro-blur {
  width: 1100px;
  height: 586px;
  background: radial-gradient(ellipse, rgba(99, 209, 72, 0.60) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
}

.intro-animate .intro-blur {
  animation: glow-grow 0.8s ease 1.7s forwards;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: header-down 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s backwards;
}

.header.is-hidden {
  transform: translateY(-130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.2vw, 32px);
  width: 100%;
  max-width: 1280px;
  height: 60px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 8px 8px 8px 0;
  background: linear-gradient(180deg, #323232 0%, #1c1c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  min-width: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.2vw, 48px);
  flex: 1;
  min-width: 0;
}

.header-logo {
  width: 122px;
  height: 44px;
  flex-shrink: 0;
}

.header-logo-img {
  width: 100%;
  height: 100%;
}

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

.header-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.67;
  color: rgba(255, 255, 255, 0.70);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-menu-item--hover {
  color: #ffffff;
}

.header-menu-item:hover {
  color: #ffffff;
}

.header-menu-item--active {
  color: var(--clr-green);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 32px);
  flex-shrink: 0;
}

.header-phone {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
}

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

.header-social-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-social-icon {
  width: 28px;
  height: 28px;
}

.header-contact .button-small-green {
  width: 164px;
  padding-right: 20px;
  padding-left: 20px;
}

.header-burger {
  display: none;
}

.header-mobile-panel {
  display: none;
}

/* === Body === */
.intro-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.intro-subtitle {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.14;
  color: #ffffff;
  text-align: center;
  margin-top: -8px;
}

.intro-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.intro-title-word {
  height: auto;
  max-width: 100%;
}

/* Video block */
.intro-video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 816px;
}

.intro-video-label {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #ffffff;
  margin-bottom: -12px;
}

.intro-player {
  position: relative;
  width: 808px;
  height: 464px;
  overflow: visible;
}

.intro-player-fr {
  position: absolute;
  border: 1px solid rgba(158, 246, 5, 0.40);
  border-radius: 20px;
  pointer-events: none;
}

.intro-player-fr-2 {
  top: 27px;
  left: 12px;
  width: 784px;
  height: 437px;
}

.intro-player-fr-3 {
  top: 56px;
  left: 0;
  width: 808px;
  height: 396px;
}

.intro-player-window {
  position: absolute;
  top: 0;
  left: 24px;
  width: 760px;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
}

.intro-player-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-player-play {
  position: absolute;
  top: 150px;
  left: 310px;
  width: 140px;
  height: 140px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 2;
}

.intro-player-play-circle {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  transition: border-color 0.35s ease, transform 0.35s ease;
  transform-origin: center;
}

.intro-player-play-circle--1 {
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(186, 246, 5, 0.30);
}

.intro-player-play-circle--2 {
  top: 13px;
  left: 13px;
  width: 114px;
  height: 114px;
  border: 1px solid rgba(186, 246, 5, 0.30);
}

.intro-player-play-circle--3 {
  top: 22px;
  left: 22px;
  width: 96px;
  height: 96px;
  background-color: var(--clr-green);
  border: none;
}

.intro-player-play-circle--3::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #97e031 0%, #47b22d 100%);
  transition: opacity 0.35s ease;
}

.intro-player-play:hover .intro-player-play-circle--1 {
  border-color: rgba(186, 246, 5, 0.50);
  transform: scale(1.06);
}

.intro-player-play:hover .intro-player-play-circle--2 {
  border-color: rgba(186, 246, 5, 0.50);
  transform: scale(1.06);
}

.intro-player-play:hover .intro-player-play-circle--3::before {
  opacity: 0;
}

.intro-player-play-arrow {
  position: absolute;
  top: 52px;
  left: 60px;
  width: 28px;
  height: 36px;
  background: #030303;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Under video */
.intro-under-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.intro-logos {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.intro-logo-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  min-width: 0;
}

.intro-logo-card-img {
  width: 100%;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.intro-logo-card-text {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.60);
  text-align: center;
  word-wrap: break-word;
}

.intro-divider {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.intro-under-video .button-green {
  padding: 20px 40px;
}

/* === Buttons === */
.button-green {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 64px;
  border: 1px solid rgba(232, 255, 163, 0.40);
  border-radius: 12px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  color: #030303;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.4s ease;
}

.button-green:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 2px;
}

.button-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
  z-index: -1;
  transition: opacity 0.2s ease;
}

.button-green::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-green);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.button-green:hover::after {
  opacity: 1;
}

.button-small-green {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 175px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.67;
  color: #030303;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.4s ease;
}

.button-small-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
  z-index: -1;
  transition: opacity 0.2s ease;
}

.button-small-green::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-green);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.button-small-green:hover::after {
  opacity: 1;
}

/* === SERVICES Section === */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #111111;
  position: relative;
  z-index: 1;
}

/* === Shared Glow === */
.glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.tabs {
  display: flex;
  gap: 4px;
}
.tab {
  padding: 16px 24px;
  border-radius: 1000px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #979ea5;
  background: #242629;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.tab:hover { color: #f2f3f4; background: #3a3e43; }
.tab--active,
.tab--active:hover { color: #ffffff; background: transparent; border-color: var(--clr-green); }

/* === Shared: Bullits === */
.bullits { display: flex; align-items: center; justify-content: center; gap: 12px; }
.bullit { width: 6px; height: 6px; border-radius: 50%; background: #b4b4b4; transition: background 0.2s ease; }
.bullit--active {   background: var(--clr-green-dark);
}

/* === Shared: Round Arrows === */
.arrows { display: flex; align-items: center; gap: 8px; }
/* Единый компонент стрелок слайдера (Figma ARROW-Side).
   normal: тёмный круг #242629, зелёная стрелка; :hover — зелёная заливка,
   тёмная стрелка. Используется в баннере, «Кейсах», отзывах и карточках корпоратива. */
.ui-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 38, 41, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.ui-arrow svg path {
  stroke: var(--clr-green);
}

.ui-arrow:hover {
  background: var(--clr-green);
  border-color: transparent;
}

.ui-arrow:hover svg path {
  stroke: #111111;
}

.ui-arrow--dim,
.ui-arrow--dim:hover {
  background: rgba(36, 38, 41, 0.40);
  opacity: 0.3;
}

.ui-arrow svg {
  display: block;
}

/* === Section Header (shared) === */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 96px 80px 20px;
  opacity: 0;
}

.section-header-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: #ffffff;
  padding-bottom: 8px;
}

.section-header-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.section-header-num {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--clr-green);
  flex-shrink: 0;
}

.section-header-line-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}

.section-header-line {
  width: 100%;
  height: 1px;
  background: rgba(147, 205, 84, 0.50);
}

.section-header-desc {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.50);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Stripes */
.services-stripes {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 72px 80px 0;
  gap: 0;
  overflow: visible;
}

.services-stripe {
  cursor: pointer;
  padding: 28px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  position: relative;
  background-color: transparent;
  border-radius: 0;
  transition: color 0.4s ease, border-radius 0.5s ease;
}

.services-stripe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fx-fill);
  border-radius: var(--fx-radius);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--fx-timing);
  pointer-events: none;
  z-index: -1;
}

.services-stripe:hover::after {
  transform: scaleY(1);
}

.services-stripe:last-of-type {
  border-bottom: none;
}

.services-stripe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 113px;
  position: relative;
  min-height: 44px;
}

.services-stripe-text {
  display: flex;
  align-items: baseline;
  flex: 1;
}

.services-stripe-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.4s ease;
  flex-shrink: 0;
  width: 360px;
}

.services-stripe-desc {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #979ea5;
  transition: color 0.4s ease;
}

/* Arrow */
.services-stripe-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.arrow-small {
  position: relative;
  width: 21px;
  height: 12px;
}

.arrow-small-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--clr-green);
  transform: translateY(-50%);
  transition: background-color 0.4s ease;
}

.arrow-small-tip {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--clr-green);
  border-top: 1px solid var(--clr-green);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.4s ease;
}

/* Hover image */
.services-stripe-hover-image {
  position: absolute;
  right: 203px;
  top: 50%;
  transform: translateY(-50%) translateY(15px);
  width: 260px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.services-stripe:hover .services-stripe-hover-image {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
  transition-delay: 0.15s;
}

.services-stripe-hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Hovered stripe shows button, hides arrow */
.services-stripe .button-small-black {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.services-stripe:hover .services-stripe-arrow {
  opacity: 0;
}

.services-stripe:hover .button-small-black {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.25s;
}

/* Stripe hover */
.services-stripe:hover {
  z-index: 200;
  border-radius: 16px;
}

.services-stripe:has(+ .services-stripe:hover) {
  border-bottom-color: transparent;
}

.services-stripe:hover .services-stripe-title {
  color: #030303;
}

.services-stripe:hover .services-stripe-desc {
  color: #030303;
}

.services-stripe:hover .arrow-small-line {
  background: #030303;
}

.services-stripe:hover .arrow-small-tip {
  border-color: #030303;
}

/* Unique CTA */
.services-unique {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 96px 80px 96px;
  isolation: isolate;
}

.services-unique-glow {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  width: 964px;
  height: 217px;
  border-radius: 50%;
  background: rgba(39, 255, 24, 0.22);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.services-unique-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 580px;
}

.services-unique-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
}

.services-unique-desc {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.60);
  text-align: center;
}

/* Unique CTA button — desktop Figma: Button-black 226×62 */
.services-unique .button-black {
  padding: 24px 40px;
  line-height: 1;
}

/* Button black */
.button-black {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 64px;
  background: #030303;
  border-radius: 12px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.2s ease;
}

.button-black:hover {
  color: var(--clr-green);
}

/* Button small black */
.button-small-black {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #030303;
  border-radius: 8px;
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.67;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.2s ease;
}

.button-small-black:hover {
  color: var(--clr-green);
}

/* === KEY-VALUES Section === */
.keyvalues {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 0;
  background: #111111;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.keyvalues-glow {
  top: 444px;
  left: 50%;
  transform: translateX(-50%);
  width: 1078px;
  height: 316px;
  background: radial-gradient(ellipse, rgba(16, 226, 37, 0.55) 0%, rgba(16, 226, 37, 0.18) 50%, transparent 72%);
  filter: blur(70px);
  opacity: 0;
}

.keyvalues-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 72px 80px;
}

.keyvalues-number {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.keyvalues-big-desc {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  max-width: 800px;
  opacity: 0;
}

/* KEY-VALUES Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes type-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.keyvalues-animate .keyvalues-number-char {
  display: inline-block;
  opacity: 0;
  animation: type-in 0.1s ease forwards;
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.keyvalues-animate .keyvalues-big-desc {
  opacity: 0;
  animation: fade-up 0.6s ease 0.6s forwards;
}

.keyvalues-animate .keyvalues-left {
  opacity: 0;
  animation: fade-up 0.6s ease 0.9s forwards;
}

.keyvalues-animate .keyvalues-card--1 {
  opacity: 0;
  animation: fade-up 0.6s ease 1.05s forwards;
}

.keyvalues-animate .keyvalues-card--2 {
  opacity: 0;
  animation: fade-up 0.6s ease 1.2s forwards;
}

.keyvalues-animate .keyvalues-card--3 {
  opacity: 0;
  animation: fade-up 0.6s ease 1.35s forwards;
}

.keyvalues-animate .keyvalues-card--4 {
  opacity: 0;
  animation: fade-up 0.6s ease 1.2s forwards;
}

.keyvalues-animate .keyvalues-glow {
  animation: glow-in 0.8s ease 1.5s forwards;
}

.keyvalues-animate .keyvalues-cta-area {
  animation: fade-up 0.6s ease 1.6s forwards;
}

@keyframes glow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.keyvalues-cards {
  display: flex;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  padding: 0 80px;
}

.keyvalues-left {
  width: 421px;
  flex-shrink: 0;
  min-height: 100%;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #ffffff;
    border-radius: 12px;
  }

.keyvalues-left-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.keyvalues-left-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.keyvalues-left-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.keyvalues-left-quote {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #111111;
}

.keyvalues-left-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.keyvalues-left-person {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

.keyvalues-left-role {
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.54;
  color: #111111;
}

.keyvalues-right {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
}

.keyvalues-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 12px;
  opacity: 0;
}

.keyvalues-card--1 {
  background: linear-gradient(180deg, var(--clr-green-dark) 0%, var(--clr-green-light) 100%);
}

.keyvalues-card--2 {
  background: linear-gradient(180deg, var(--clr-green-dark) 0%, var(--clr-green-light) 100%);
}

.keyvalues-card--3 {
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
}

.keyvalues-card--4 {
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
}

.keyvalues-card-num {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: #030303;
}

.keyvalues-card-desc-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.keyvalues-card-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #030303;
}

.keyvalues-card-desc {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #030303;
}

.keyvalues .section-header-desc {
  color: #979ea5;
  line-height: 1.3;
}

.keyvalues-cta-area {
  display: flex;
  justify-content: center;
  padding: 48px 80px 96px;
  opacity: 0;
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 32px 24px 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 16px 120px rgba(158, 246, 5, 0);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.button-arrow:hover {
  color: var(--clr-green);
  background-color: #030303;
  box-shadow: 0 16px 120px rgba(158, 246, 5, 0.50);
}

.button-arrow-label--mobile {
  display: none;
}

.button-arrow-icon {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 17px;
  transition: width 0.2s ease;
}

.button-arrow-icon-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background: var(--clr-green);
  transition: background-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.button-arrow-icon-tip {
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 3px solid var(--clr-green);
  border-top: 3px solid var(--clr-green);
  transition: border-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.button-arrow:hover .button-arrow-icon,
.s-dir-arrow:hover .button-arrow-icon {
  width: 32px;
}


/* === CASES Section === */
.cases {
  background: #030303;
  padding-bottom: 0;
}

.cases-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.cases .section-header-desc {
  color: #979ea5;
  line-height: 1.3;
}

.cases-cta-area {
  display: flex;
  justify-content: center;
  padding: 48px 80px 96px;
  opacity: 0;
}

.cases-wrapper {
  width: 100%;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases-tabs {
  display: flex;
  gap: 4px;
  padding: 72px 0 0;
  justify-content: center;
  opacity: 0;
}

.cases-slider {
  opacity: 0;
}

.cases-card {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transition: transform 0s 0.5s;
}

.cases-card.is-sliding-out {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cases-card.is-sliding-in {
  transform: translateY(-30px);
  opacity: 0;
}

.cases-card.is-reset {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cases-card .cases-card-about {
  transform-origin: bottom;
}

.cases-card.is-reset .cases-card-about {
  animation: fade-up 0.6s ease 0.25s both;
}

.cases-card.is-reset .cases-card-controls {
  animation: fade-up 0.5s ease 0.45s both;
}

/* CASES entrance */
.cases-animate .cases-tabs {
  opacity: 0;
  animation: fade-up 0.6s ease 0.4s forwards;
}

.cases-animate .cases-slider {
  opacity: 0;
  animation: fade-up 0.6s ease 0.7s forwards;
}

.cases-animate .cases-cta-area {
  animation: fade-up 0.6s ease 0.9s forwards;
}

.cases-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
}

.cases-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cases-card-bg.is-switching-out {
  opacity: 0;
  transform: translateX(-10px);
}

.cases-card-bg.is-switching-in {
  transform: translateX(10px);
}

.cases-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.80) 100%);
  z-index: 1;
  pointer-events: none;
}

.cases-card-about {
  position: relative;
  z-index: 2;
  width: 460px;
  max-width: 460px;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--clr-green-light) 0%, var(--clr-green-dark) 100%);
}

.cases-card-txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cases-card-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #111111;
}

.cases-card-desc {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #111111;
  max-width: 100%;
}

.cases-card-btn {
  width: fit-content;
  padding: 16px 20px;
  line-height: 1;
  border-radius: 8px;
}

.cases-card-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cases-bullits {
  display: flex;
  gap: 12px;
  padding: 0 24px;
}

.cases-bullit {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.40);
  transition: background 0.2s ease;
}

.cases-bullit--active {
  background: var(--clr-green-dark);
}

.cases-arrows {
  display: flex;
  gap: 8px;
}

/* визуал стрелки — единый .ui-arrow (см. компонент выше) */

/* === REVIEWS Section === */
.reviews {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 96px;
  background: #111111;
}

.reviews-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.reviews-tabs {
  padding: 72px 80px 0;
  width: 100%;
  justify-content: center;
}

.reviews-stage {
  width: 100%;
  position: relative;
  margin-top: 72px;
}

.reviews-arrows {
  position: absolute;
  left: 56px;
  right: 56px;
  top: 176px;
  height: 48px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.reviews-arrows.is-visible {
  display: flex;
}

.reviews-arrows .ui-arrow {
  pointer-events: auto;
}

.reviews-clip {
  width: 100%;
  padding: 0 80px;
  position: relative;
}

.reviews-cut {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-track.bounce-left {
  animation: bounce-left 0.4s ease;
}

.reviews-track.bounce-right {
  animation: bounce-right 0.4s ease;
}

@keyframes bounce-left {
  0% { margin-left: 0; }
  40% { margin-left: 15px; }
  100% { margin-left: 0; }
}

@keyframes bounce-right {
  0% { margin-left: 0; }
  40% { margin-left: -15px; }
  100% { margin-left: 0; }
}

/* === Card-carousel — единый компонент карточки (макет Card-carousel).
   Используется в REVIEWS главной (портрет) и LOCATIONS корпоратива (--wide).
   Один и тот же код: фото + метка 12/#979EA5 + название 16/белое.
   Hover одинаковый: подъём 4px + название зелёное. Размеры — по варианту/контексту. */
.card-carousel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform 0.3s ease;
}

.card-carousel:hover {
  transform: translateY(4px);
}

.card-carousel:hover .card-carousel-title {
  color: var(--clr-green);
}

.card-carousel-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-carousel-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-carousel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-carousel-kicker {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  color: #979ea5;
}

.card-carousel-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
  margin: 0;
}

/* Портрет (REVIEWS главной): 5 карточек в ленте */
.reviews-track .card-carousel {
  flex: 0 0 calc((100% - 64px) / 5);
  cursor: pointer;
}

.reviews-track .card-carousel-img {
  height: 400px;
}

.reviews .section-header-desc {
  color: #979ea5;
  line-height: 1.3;
}

/* тень стрелок задана в едином компоненте .ui-arrow */

/* REVIEWS entrance */
.reviews-tabs {
  opacity: 0;
  transform: translateY(30px);
}
.reviews-track {
  opacity: 0;
}
.reviews-arrows {
  opacity: 0;
  transform: translateY(30px);
}

.reviews-animate .reviews-tabs {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.reviews-animate .reviews-track {
  opacity: 1;
  transition: opacity 0.6s ease 0.4s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reviews-animate .reviews-arrows {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

/* Unified section-header fade-up */
.keyvalues-animate .section-header,
.cases-animate .section-header,
.reviews-animate .section-header,
.faq-animate .section-header,
.services-animate .section-header,
.banner-animate .section-header {
  animation: fade-up 0.6s ease forwards;
}

/* SERVICES entrance */
.services-stripes {
  opacity: 0;
  transform: translateY(30px);
}
.services-unique {
  opacity: 0;
  transform: translateY(30px);
}
.services-animate .services-stripes {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.services-animate .services-unique {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

/* BANNER entrance */
.banner-card {
  opacity: 0;
  transform: translateY(30px);
}
.banner-bullits {
  opacity: 0;
  transform: translateY(30px);
}
.banner-animate .banner-card {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.banner-animate .banner-bullits {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

/* === FORM Section === */
.form-section {
  position: relative;
  background: url('../images/background.jpg') center/cover no-repeat;
}

.form-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.30) 100%);
  pointer-events: none;
}

.form-section-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 80px;
}

.form-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 12px;
  min-height: 474px;
}

.form-left-text {
  display: flex;
  flex-direction: column;
}

.form-left-top {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: #ffffff;
}

.form-left-highlight {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--clr-green);
}

.form-left-sub {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.form-right {
  width: 416px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  backdrop-filter: blur(40px);
}

.form-right-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 12px 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #aaaaaa;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.form-field:focus-within {
  background: #ffffff;
  border-color: var(--clr-green);
}

.form-field-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #030303;
  padding: 0;
}

.form-field-input {
  padding: 0;
  background: none;
  border: none;
  outline: none;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.375;
  color: #030303;
  resize: none;
}

.form-field-input::placeholder {
  color: rgba(0, 0, 0, 0.30);
}

.form-field-textarea {
  height: 68px;
}

.form-submit {
  width: 100%;
}

.form-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-legal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox input {
  display: none;
}

.form-checkbox-mark {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.form-checkbox input:checked + .form-checkbox-mark {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.form-checkbox input:checked + .form-checkbox-mark::after {
  content: '';
  width: 6px;
  height: 10px;
  border-right: 2px solid #030303;
  border-bottom: 2px solid #030303;
  transform: rotate(45deg) translate(-1px, -1px);
}

.form-legal-text {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  color: #ffffff;
}

.form-legal-text a {
  color: var(--clr-green-dark);
}

/* === FOOTER === */
.footer {
  background: #030303;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 136px 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.footer-glow {
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  height: 403px;
  background: radial-gradient(ellipse, rgba(99, 209, 72, 0.20) 0%, transparent 70%);
  filter: blur(60px);
}

.footer-cols {
  display: flex;
  gap: 0;
}

.footer-col {
  flex: 1;
  border: 1px solid #3a3e43;
  border-radius: 24px;
}

.footer-col + .footer-col {
  margin-left: -1px;
}

.footer-col--logo {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 40px;
}

.footer-logo {
  width: 260px;
  height: 91px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-menu a {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--clr-green);
}

.footer-col--services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 64px 40px;
}

.footer-service {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-service:hover {
  color: var(--clr-green);
}

.footer-col--contacts {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-phone {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.17;
  color: var(--clr-green);
  text-decoration: none;
  white-space: nowrap;
}

.footer-email {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.375;
  color: var(--clr-green);
  text-decoration: none;
}

.footer-address {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.375;
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link img {
  width: 48px;
  height: 48px;
}

.footer-btn {
  width: 100%;
}

.footer .button-ghost {
  padding: 24px 64px;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  width: 100%;
}

.footer-copy {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  color: #979ea5;
}

.footer-legal {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  color: #979ea5;
  text-decoration: none;
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.modal-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
  align-items: flex-start;
  padding: 80px 0;
}

.modal-content {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modal-overlay.is-open .modal-content {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: #252525;
}

.modal-close svg {
  display: block;
}

/* FORM popup */
.modal-form {
  width: 540px;
  margin: auto 0;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 20px;
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.50);
}

.modal-form-inner {
  padding: 80px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-form-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  color: var(--clr-green);
  overflow-wrap: break-word;
}

.form-modal-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-modal-submit {
  width: 100%;
}

.modal-form .button-green {
  padding: 24px 40px;
  line-height: 1;
}

/* CASE popup */
.modal-case {
  width: 900px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 20px;
  box-shadow: 0 4px 42px rgba(0, 0, 0, 0.80);
}

.modal-case-inner {
  padding: 80px 64px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-popup-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-popup-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.22;
  color: #ffffff;
}

.case-popup-desc {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.375;
  color: #ffffff;
}

.case-popup-table {
  display: flex;
  gap: 40px;
}

.case-popup-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-popup-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.case-popup-label {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
  color: rgba(255, 255, 255, 0.70);
}

.case-popup-value {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
  color: rgba(255, 255, 255, 0.70);
}

.case-popup-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-popup-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #030303;
}

.case-popup-video .intro-player-play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.case-popup-video-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-popup-photo {
  width: 100%;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
}

.case-popup-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-popup-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px 80px;
}

.case-popup-glow {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(24, 186, 255, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.case-popup-cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.case-popup-cta-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.17;
  color: #ffffff;
}

.case-popup-cta-desc {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.60);
  text-align: center;
}

/* === Review Video Popup === */
.modal-review-video {
  width: 480px;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  border-radius: 12px;
  overflow: hidden;
  background: #030303;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
}

.review-video-player {
  position: relative;
  width: 100%;
  height: 100%;
}

.review-video-player .intro-player-play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.review-video-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === BANNER Section === */
.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  background: #111111;
}

.banner-card {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  overflow: hidden;
  transition: transform 0s 0.4s;
}

.banner-card.is-sliding-out {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.banner-card.is-sliding-out.is-sliding-prev {
  transform: translateX(30px);
}

.banner-card.is-sliding-in {
  transform: translateX(30px);
  opacity: 0;
}

.banner-card.is-sliding-in.is-sliding-prev {
  transform: translateX(-30px);
}

.banner-card.is-reset {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 32px;
  gap: 40px;
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.banner-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  width: fit-content;
}

.banner-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  color: var(--clr-green);
  width: 756px;
  max-width: 100%;
}

.banner-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 64px;
  background-color: transparent;
  border: 1px solid var(--clr-green);
  border-radius: 12px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  color: #ffffff;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.button-ghost:hover {
  background-color: var(--clr-green);
  color: #030303;
}

/* Button hover glow */
.button-green:hover,
.button-ghost:hover,
.button-small-green:hover {
  box-shadow: 0 16px 105px rgba(99, 209, 72, var(--glow-intensity, 0.40));
}

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

/* визуал стрелки — единый .ui-arrow (см. компонент выше) */

.banner-bullits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.banner-bullit {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
}

.banner-bullit--active {
  background: var(--clr-green-dark);
}

/* ============================================== */
/* === MOBILE (max-width: 768px) === */
/* ============================================== */
@media (max-width: 1024px) {

  /* INTRO layout */
  .intro {
    padding: 232px 16px 32px;
    gap: 180px;
    min-height: auto;
    overflow: hidden;
  }

   .intro-round {
    width: 560px;
    height: 560px;
    top: 100px;
  }

  .intro-spacer {
    display: none;
  }

  /* === No hover on mobile === */
  .button-green:hover::after,
  .button-small-green:hover::after,
  .ui-arrow:hover,
  .tab:hover,
  .modal-close:hover {
    background: inherit;
  }


  .button-green:hover,
  .button-ghost:hover,
  .button-small-green:hover,
  .button-black:hover,
  .button-small-black:hover {
    box-shadow: none;
    color: inherit;
  }

  /* HEADER mobile */
  .header {
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px 0;
    animation: header-down-mob 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s backwards;
  }

  .header.is-hidden {
    transform: translateY(-130%);
  }

  @keyframes header-down-mob {
    from { transform: translateY(-120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .header-inner {
    height: 56px;
    padding: 0 8px 0 0;
    justify-content: space-between;
  }

  .header-left {
    gap: 60px;
    flex: 0 1 auto;
  }

  .header-logo {
    width: 110px;
    height: 40px;
  }

  .header-menu,
  .header-social,
  .header-contact .button-small-green {
    display: none;
  }

  .header-contact {
    gap: 0;
  }

  .header-phone {
    font-size: 14px;
    line-height: 1.43;
  }

  /* Burger */
  .header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-shrink: 0;
  }

  .header-burger-line {
    width: 24px;
    height: 2px;
    background: var(--clr-green);
  }

  /* Burger → Cross */
  .header-burger.is-open .header-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header-burger.is-open .header-burger-line:nth-child(2) {
    opacity: 0;
  }
  .header-burger.is-open .header-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile panel — outside header-inner, below it */
  .header-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 48px;
    padding: 48px 24px 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, #323232 0%, #1c1c1c 100%);
  }

  .header-mobile-panel.is-open {
    display: flex;
    animation: panelDown 0.7s cubic-bezier(0.33, 0, 0.1, 1);
  }

  .burger-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  .burger-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  @keyframes panelDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes panelUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
  }

  .header-mobile-panel.is-closing {
    animation: panelUp 0.25s ease forwards;
  }

  @keyframes itemIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .header-mobile-panel.is-open .header-mobile-link {
    animation: itemIn 0.4s cubic-bezier(0.33, 0, 0.1, 1) both;
  }
  .header-mobile-panel.is-open .header-mobile-link:nth-child(1) { animation-delay: 0.05s; }
  .header-mobile-panel.is-open .header-mobile-link:nth-child(2) { animation-delay: 0.1s; }
  .header-mobile-panel.is-open .header-mobile-link:nth-child(3) { animation-delay: 0.15s; }
  .header-mobile-panel.is-open .header-mobile-link:nth-child(4) { animation-delay: 0.2s; }
  .header-mobile-panel.is-open .header-mobile-link:nth-child(5) { animation-delay: 0.25s; }

  .header-mobile-panel.is-open .header-mobile-actions {
    animation: itemIn 0.4s cubic-bezier(0.33, 0, 0.1, 1) 0.35s both;
  }

  .header-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .header-mobile-link {
    display: block;
    font-family: 'Onest', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
  }

  .header-mobile-link:active,
  .header-mobile-link:focus-visible {
    color: var(--clr-green);
  }

  .header-mobile-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-mobile-actions .button-small-green {
    display: flex;
    width: 164px;
    padding-right: 20px;
    padding-left: 20px;
    text-transform: uppercase;
  }

  .header-mobile-socials {
    display: flex;
    gap: 16px;
  }

  .header-mobile-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-mobile-social-icon {
    width: 36px;
    height: 36px;
  }

  /* === Text === */
  .intro-body {
    gap: 180px;
  }

  .intro-subtitle {
    font-size: 20px;
    line-height: 1.4;
  }

  .intro-title {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .intro-title-word {
    max-width: none;
  }
  .intro-title-word:nth-child(1) { width: 132px; }
  .intro-title-word:nth-child(2) { width: 320px; }
  .intro-title-word:nth-child(3) { width: 350px; }

  /* === Video player === */
  .intro-video-block {
    width: calc(100% + 32px);
    max-width: none;
    gap: 24px;
    padding: 0 16px;
    margin-top: 16px;
  }

  .intro-video-label {
    margin-bottom: -4px;
    font-size: 16px;
    line-height: 22px;
  }

  /* Player — гибкий, aspect-ratio сохраняет пропорции */
  .intro-player {
    width: 100%;
    aspect-ratio: 358 / 224;
    height: auto;
  }

  .intro-player-fr {
    border-radius: 12px;
  }

  .intro-player-fr-2 {
    top: 6.56%;
    left: 5.38%;
    width: 89.23%;
    height: 90.16%;
  }

  .intro-player-fr-3 {
    top: 13.11%;
    left: 3.33%;
    width: 93.33%;
    height: 80.33%;
  }

  .intro-player-window {
    top: 0;
    left: 7.44%;
    width: 85.13%;
    height: 90.16%;
    border-radius: 12px;
  }

  .intro-player-play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
  }

  .intro-player-play-circle--1 {
    width: 88px;
    height: 88px;
    top: 0;
    left: 0;
  }

  .intro-player-play-circle--2 {
    width: 72px;
    height: 72px;
    top: 8px;
    left: 8px;
  }

  .intro-player-play-circle--3 {
    width: 60px;
    height: 60px;
    top: 14px;
    left: 14px;
  }

  .intro-player-play-arrow {
    top: 33px;
    left: 38px;
    width: 18px;
    height: 23px;
  }

  /* === Blurs === */
  .intro-blurs {
    top: 558px;
    left: 0;
  }

  .intro-blur {
    width: 390px;
    height: 630px;
  }

  /* === Under-video === */
  .intro-under-video {
    width: calc(100% + 32px);
    padding: 0 16px;
  }

  .intro-logos {
    flex-direction: column;
    gap: 16px;
  }

  .intro-logo-card {
    flex: none;
    height: 168px;
    gap: 8px;
    padding: 0 16px;
  }

  .intro-logo-card-text {
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.333;
  }

  .intro-under-video .button-green {
    width: auto;
    padding: 16px 32px;
    font-size: 14px;
  }

  /* === Section Header (shared) === */
  .section-header {
    padding: 64px 16px 20px;
  }

  .section-header-title {
    font-size: 36px;
    padding-bottom: 0;
  }

  .section-header-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .section-header-line-wrap {
    flex: none;
    width: 100%;
  }

  .section-header-desc {
    font-size: 11px;
    white-space: normal;
    max-width: 211px;
    align-self: flex-end;
    text-align: right;
  }

  /* === SERVICES: header title (mobile Figma 30px) === */
  .services .section-header-title {
    font-size: 30px;
    line-height: 1.2;
  }

  /* === SERVICES Stripes === */
  .services-stripes {
    padding: 40px 16px 0;
  }

  .services-stripe {
    padding: 24px 0 20px;
  }

  .services-stripe::after {
    display: none;
  }

  .services-stripe-hover-image {
    display: none;
  }

  /* Mobile Figma: no hover, no CTA button inside stripes */
  .services-stripe .button-small-black {
    display: none;
  }

  .services-stripe:hover .services-stripe-title {
    color: #ffffff;
  }

  .services-stripe:hover .services-stripe-desc {
    color: rgba(255, 255, 255, 0.50);
  }

  .services-stripe:hover .services-stripe-arrow {
    opacity: 1;
  }

  .services-stripe-text {
    display: contents;
  }

  .services-stripe-inner {
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .services-stripe-title {
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
    white-space: normal;
  }

  .services-stripe-desc {
    flex: 1;
    font-size: 14px;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.50);
  }

  /* === SERVICES Unique === */
  .services-unique {
    padding: 80px 16px 80px;
  }

  .services-unique-glow {
    width: 296px;
    height: 208px;
    top: 68px;
    margin-top: 0;
    filter: blur(80px);
    background: rgba(39, 255, 24, 0.22);
  }

  .services-unique-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .services-unique-desc {
    font-size: 16px;
    line-height: 1.375;
  }

  /* Unique CTA button — mobile Figma: Button-black-mob 210×54 */
  .services-unique .button-black {
    padding: 20px 32px;
    font-size: 14px;
    line-height: 1;
  }

  .button-black {
    padding: 16px 40px;
    font-size: 12px;
    line-height: 1.667;
  }

  .button-black:hover {
    color: #ffffff;
  }

  /* === BANNER === */
  .banner {
    padding: 0 16px;
  }

  .banner-card {
    height: 320px;
  }

  .banner-content {
    padding: 16px;
  }

  .banner-title {
    width: auto;
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
  }

  .banner .button-ghost {
    border-radius: 8px;
  }

  .banner-arrows {
    display: none;
  }

  .button-ghost {
    padding: 16px 32px;
    font-size: 12px;
    line-height: 1.667;
  }

  .button-ghost:hover {
    background-color: transparent;
    color: #ffffff;
    box-shadow: none;
  }

  /* === KEY-VALUES === */
  .keyvalues {
    padding-bottom: 0;
  }

  .keyvalues .section-header-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .keyvalues .section-header-desc {
    font-size: 12px;
    line-height: 1.3;
  }

  .keyvalues-glow {
    width: 358px;
    height: 269px;
    top: 323px;
    filter: blur(35px);
    background: radial-gradient(ellipse, rgba(99, 209, 72, 0.45) 0%, transparent 70%);
  }

  .keyvalues-big {
    padding: 40px 16px;
  }

  .keyvalues-number {
    font-size: 40px;
  }

  .keyvalues-big-desc {
    font-size: 14px;
    line-height: 1.14;
    max-width: none;
  }

  .keyvalues-cards {
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
  }

  .keyvalues-left {
    width: 100%;
    height: auto;
    min-height: auto;
    gap: 24px;
  }

  .keyvalues-card {
    padding: 16px;
    gap: 12px;
  }

  .keyvalues-card-num {
    font-size: 40px;
  }

  .keyvalues-card-title {
    font-size: 14px;
    line-height: 1.43;
  }

  .keyvalues-card-desc {
    font-size: 12px;
    line-height: 1.33;
  }

  .keyvalues-left-person {
    font-size: 14px;
  }

  .keyvalues-cta-area {
    padding: 32px 16px 64px;
  }

  .button-arrow {
    padding: 20px 24px 20px 40px;
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid rgba(158, 246, 5, 0.50);
  }

  .button-arrow-label--desktop {
    display: none;
  }

  .button-arrow-label--mobile {
    display: inline;
  }

  /* === CASES === */
  .cases {
    padding-bottom: 0;
  }

  .cases-wrapper {
    padding: 0 16px;
    gap: 20px;
  }

  .cases .section-header-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .cases .section-header-desc {
    font-size: 12px;
    line-height: 1.3;
  }

  .cases-cta-area {
    padding: 32px 16px 64px;
  }

  /* CASES entrance → transition */
  .cases-tabs {
    opacity: 0;
    transform: translateY(30px);
  }
  .cases-slider {
    opacity: 0;
    transform: translateY(30px);
  }
  .cases-animate .cases-tabs {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
  }
  .cases-animate .cases-slider {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
  }

  /* Tabs — bubble pills, horizontal scroll */
  .cases-tabs {
    padding: 40px 16px 0;
    margin: 0 -16px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cases-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Bubble tab */

  /* === REVIEWS — Rebuild: CSS native scroll === */
  .reviews {
    padding-bottom: 64px;
  }

  .reviews-carousel {
    gap: 24px;
  }

  .reviews-stage {
    margin-top: 40px;
  }

  /* Tabs — bubbles */
  .reviews-tabs {
    padding: 40px 0 0 16px;
    gap: 4px;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .reviews-tabs::-webkit-scrollbar { display: none; }


  /* Clip */
  .reviews-clip {
    padding: 0 16px;
  }

  /* Native scroll */
  .reviews-cut {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-cut::-webkit-scrollbar { display: none; }

  /* Cards — width via CSS, snap to start */
  .reviews-track {
    gap: 8px;
  }

  .reviews-track .card-carousel {
    flex: 0 0 calc((100% - 8px) / 2.3);
    gap: 20px;
    scroll-snap-align: start;
  }

  .reviews-track .card-carousel-img {
    height: 260px;
  }

  .reviews-track .card-carousel-meta {
    gap: 4px;
  }

  .reviews-track .card-carousel-kicker {
    color: rgba(255, 255, 255, 0.50);
    line-height: 16px;
  }

  .reviews-track .card-carousel-title {
    font-size: 14px;
    line-height: 20px;
  }

  /* Arrows — hidden */
  .reviews-arrows,
  .reviews-arrows.is-visible {
    display: none;
  }

  .reviews .section-header-title {
    font-size: 30px;
    line-height: 1.2;
    max-width: 210px;
  }

  .reviews .section-header-desc {
    font-size: 12px;
    line-height: 1.3;
  }

  /* === FORM === */
  .form-section-inner {
    flex-direction: column;
    gap: 16px;
    padding: 80px 16px;
  }

  .form-left {
    flex: none;
    min-height: auto;
    gap: 80px;
    padding: 32px 16px;
  }

  .form-left-top {
    font-size: 24px;
    line-height: 1.25;
  }

  .form-left-highlight {
    font-size: 24px;
    line-height: 1.25;
  }

  .form-left-sub {
    font-size: 16px;
    line-height: 1.375;
  }

  .form-right {
    width: auto;
    padding: 40px 16px;
  }

  .form-field {
    height: 56px;
  }

  .form-field-textarea {
    height: 100px;
  }

  .form-submit {
    padding: 16px 32px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.667;
  }

  /* === FOOTER === */
  .footer-inner {
    padding: 80px 16px 64px;
    gap: 24px;
  }

  .footer-cols {
    flex-direction: column;
    gap: -2px;
  }

  .footer-col {
    flex: none;
    border-color: #242629;
  }

  .footer-col + .footer-col {
    margin-left: 0;
  }

  .footer-col--logo {
    padding: 32px 32px 64px;
    gap: 64px;
  }

  .footer-logo {
    width: auto;
    height: 105px;
  }

  .footer-menu {
    gap: 24px;
  }

  .footer-menu a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
  }

  .footer-col--services {
    padding: 64px 32px;
    gap: 24px;
  }

  .footer-service {
    font-size: 20px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.70);
  }

  .footer-col--contacts {
    padding: 64px 32px 32px;
    gap: 32px;
  }

  .footer-phone {
    font-size: 20px;
    line-height: 1.2;
  }

  .footer-email {
    font-size: 14px;
    line-height: 1.43;
  }

  .footer-address {
    font-size: 14px;
    line-height: 1.43;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .footer .button-ghost {
    border-radius: 8px;
    padding: 20px 32px;
    line-height: 1;
  }

  .footer-glow {
    width: 538px;
    height: 361px;
  }

  /* === CASE-popup === */
  .modal-overlay.is-open {
    padding: 16px;
  }

  .modal-case {
    width: 358px;
    border-radius: 12px;
  }

  .modal-overlay.is-open .modal-content {
    transform: none;
  }

  .modal-overlay {
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  .modal-content {
    transform: none;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .modal-case-inner {
    padding: 64px 16px 0;
    gap: 48px;
  }

  .modal-close {
    width: 60px;
    height: 60px;
    background: #252525;
    border-radius: 50%;
    z-index: 1100;
  }

  .modal-case .modal-close {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #252525;
    border-radius: 50%;
    z-index: 1100;
  }

  .case-popup-title {
    font-size: 24px;
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }

  .case-popup-desc {
    font-size: 14px;
    line-height: 1.43;
  }

  .case-popup-table {
    flex-direction: column;
    gap: 16px;
  }

  .case-popup-col {
    flex: none;
  }

  .case-popup-photo {
    height: 240px;
  }

  .case-popup-video {
    aspect-ratio: auto;
    height: 240px;
  }

  .case-popup-cta {
    padding: 24px 16px 80px;
  }

  .case-popup-glow {
    width: 390px;
    height: 300px;
    filter: blur(30px);
    background: radial-gradient(ellipse, rgba(24, 186, 255, 0.40) 0%, transparent 70%);
  }

  .case-popup-cta-title {
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
  }

  .case-popup-cta-desc {
    font-size: 16px;
    line-height: 1.375;
    text-align: center;
    max-width: 100%;
  }

  .case-popup-cta .button-black {
    padding: 16px 40px;
    font-size: 12px;
    line-height: 1.667;
  }

  /* === FORM-popup === */
  .modal-form {
    width: 358px;
    align-self: center;
  }

  .modal-form-inner {
    padding: 80px 16px 40px;
  }

  .modal-form-title {
    font-size: 24px;
    line-height: 32px;
  }

  .form-field-textarea {
    height: 100px;
    overflow: hidden;
    resize: none;
  }

  .form-field:has(.form-field-textarea) {
    height: auto;
  }

  /* Review video popup */
  .modal-review-video {
    width: min(480px, calc(100% - 32px));
  }

}

/* ===== FAQ — актуальная Figma ===== */
.faq {
  background: #111111;
  padding-bottom: 40px;
}

/* === Страница «Вопросы»: табы-фильтры над списком === */
.faq--page {
  padding-top: 72px;
  padding-bottom: 96px;
}

.faq--page .faq-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.faq--page .faq-grid {
  padding-top: 32px;
}

/* Заголовок FAQ вписан в сетку 1440, как у остальных секций */
.faq .section-header {
  max-width: 1440px;
  margin: 0 auto;
}

.faq .section-header-desc {
  color: #979ea5;
  line-height: 1.3;
}

.faq-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 80px 0;
}

.faq-list {
  flex: 0 1 848px;
  min-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  background: #242629;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item.is-open {
  background: #111111;
  border-color: #3a3e43;
}

.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 19px 16px 19px 32px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-item-question {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #979ea5;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-item-question {
  color: #ffffff;
}

.faq-item:not(.is-open):hover {
  background: #191a1d;
}

.faq-item.is-open .faq-item-question {
  color: #ffffff;
}

.faq-item-arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item-arrow {
  transform: rotate(180deg);
}

.faq-item-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item-answer {
  max-height: 420px;
}

.faq-item-answer p {
  margin: 0 32px 32px;
  padding: 0;
  background: transparent;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #bac1c8;
}

.faq-contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  flex: 1 1 0;
  min-width: 340px;
  background: #030303;
  border-radius: 16px;
  padding: 40px;
}

.faq-contact-title {
  margin: 0;
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
}

.faq-contact-panel {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.faq-contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faq-contact-phone-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.faq-contact-phone {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--clr-green);
  text-decoration: none;
  white-space: nowrap;
}

.faq-contact-email {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
  text-decoration: none;
}

.faq-contact-social {
  display: flex;
  gap: 8px;
}

.faq-contact-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-contact-social-link img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.faq-contact-btn {
  width: 100%;
  padding: 24px 64px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.faq-list,
.faq-contact {
  opacity: 0;
  transform: translateY(30px);
}

.faq-animate .faq-list,
.faq-animate .faq-contact {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 1024px) {
  .faq {
    padding-bottom: 60px;
  }

  .faq .section-header-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .faq .section-header-desc {
    font-size: 12px;
    line-height: 1.3;
  }

  .faq-grid {
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px 0;
  }

  .faq-list {
    flex: none;
    width: 100%;
  }

  .faq-contact {
    width: 100%;
    min-width: 0;
    padding: 24px;
  }

  .faq-item-header {
    padding: 16px 20px;
    gap: 12px;
  }

  .faq-item-question {
    font-size: 16px;
    line-height: 1.4;
  }

  .faq-item-answer p {
    margin: 0 20px 24px;
    padding: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1.4;
  }

  .faq-contact-btn {
    padding: 20px 32px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
  }

  .faq--page {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .faq--page .faq-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px;
  }

  .faq--page .faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .faq--page .faq-tabs .tab {
    flex-shrink: 0;
  }

  .faq--page .faq-grid {
    padding-top: 20px;
  }
}

/* === INTRO full video popup — self-contained === */
#introVideoLayer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.80);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#introVideoLayer.open {
  display: flex;
}

.intro-video-wrap {
  position: relative;
  width: min(1100px, 94vw);
  aspect-ratio: 16 / 9;
  background: #030303;
  border-radius: 12px;
  overflow: hidden;
}

.intro-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #242629;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-video-close::before,
.intro-video-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: #9EF605;
}

.intro-video-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.intro-video-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.intro-video-close:hover {
  background: #9EF605;
}

.intro-video-close:hover::before,
.intro-video-close:hover::after {
  background: #111111;
}

/* === Inner page: P-header (Что мы создаем) === */
.p-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 594px;
  overflow: hidden;
  background-color: #030303;
}

.p-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/p-header.jpg") center / cover no-repeat;
}

.p-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.p-header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 48px;
}

.p-header-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

.p-header-descripter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-header-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green-dark);
}

.p-header-desc {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #979ea5;
}

@media (max-width: 1024px) {
  .p-header {
    height: 414px;
  }

  .p-header::before {
    background-image: url("../images/p-header-mob.png");
  }

  .p-header-inner {
    padding: 0 16px 32px;
  }

  .p-header-title {
    font-size: 36px;
  }

  .p-header-descripter {
    gap: 12px;
    align-items: flex-start;
  }

  .p-header-dot {
    margin-top: 7px;
  }

  .p-header-desc {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* === Inner page: INTRO-block (Что мы создаем) === */
.s-intro {
  position: relative;
  width: 100%;
  padding-top: 120px;
}

.s-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.s-intro-text {
  flex: 0 0 640px;
  order: 2;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: #ffffff;
}

.s-intro-divider {
  display: none;
}

.s-intro-left {
  flex: 0 0 340px;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.s-intro-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.s-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-intro-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.s-intro-quote-title {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: #bac1c8;
}

.s-intro-quote-name {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #979ea5;
}

.s-intro-letter {
  width: 100%;
  margin-top: 8px;
  line-height: 0;
}

.s-intro-letter-img {
  width: 100%;
  height: auto;
}

.s-intro-letter-img--mob {
  display: none;
}

@media (max-width: 1024px) {
  .s-intro {
    padding-top: 64px;
  }

  .s-intro-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 0 16px;
  }

  .s-intro-text {
    flex: none;
    order: 0;
    font-size: 20px;
    line-height: 1.4;
  }

  .s-intro-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #bac1c8;
  }

  .s-intro-left {
    flex: none;
    order: 2;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .s-intro-quote {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
  }

  .s-intro-quote-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .s-intro-quote-name {
    font-size: 11px;
    line-height: 1.4;
  }

  .s-intro-letter-img--desktop {
    display: none;
  }

  .s-intro-letter-img--mob {
    display: block;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .s-intro-inner {
    padding: 0 32px;
  }
}

/* === Inner page: Sec-header (Что мы создаем) === */
.s-sec {
  width: 100%;
}

.s-sec-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 20px;
}

.s-sec-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px;
}

.s-sec-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-sec-line {
  flex: 1;
  height: 1px;
  background: rgba(158, 246, 5, 0.50);
}

.s-sec-desc {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: #979ea5;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .s-sec-inner {
    padding: 64px 16px 20px;
  }

  .s-sec-title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .s-sec-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .s-sec-line {
    flex: none;
    width: 100%;
  }

  .s-sec-desc {
    margin-left: auto;
    margin-top: 12px;
    max-width: 234px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
    text-align: right;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .s-sec-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* === Inner page: List (Что мы создаем) === */
.s-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 0 40px;
}

.s-dir {
  display: flex;
  align-items: stretch;
  min-height: 200px;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #242629;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.5s cubic-bezier(0.65, 0, 0.35, 1),
              border-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir:hover {
  background: #191a1d;
  border-color: rgba(69, 73, 78, 0.70);
}

.s-dir-main {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  padding: 24px;
}

.s-dir-name {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-right: 1px solid #45494e;
  transition: border-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir:hover .s-dir-name {
  border-right-color: var(--clr-green);
}

.s-dir-title {
  display: block;
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.5s ease;
}

.s-dir:hover .s-dir-title {
  color: var(--clr-green);
}

.s-dir-desc {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.s-dir-desc p {
  margin: 0;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #979ea5;
  transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir:hover .s-dir-desc p {
  color: #ffffff;
}

.s-dir-action {
  flex: 0 0 72px;
  display: flex;
  align-items: flex-end;
}

.s-dir-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 49px;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(158, 246, 5, 0.50);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.5s ease, background-color 0.25s cubic-bezier(0.65, 0, 0.35, 1),
              border-color 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir:hover .s-dir-arrow {
  opacity: 1;
}

.s-dir-arrow:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.s-dir-arrow .button-arrow-icon-line {
  transition: background-color 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir-arrow .button-arrow-icon-tip {
  transition: border-color 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir-arrow:hover .button-arrow-icon-line {
  background: #030303;
}

.s-dir-arrow:hover .button-arrow-icon-tip {
  border-color: #030303;
}
.s-dir-arrow-mob {
  display: none;
}

.s-dir-media {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
}

.s-dir-media img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-dir-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.30);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.s-dir:hover .s-dir-media::after {
  opacity: 0;
}

@media (max-width: 1024px) {
  .s-list {
    max-width: none;
    padding: 40px 16px 32px;
  }

  .s-dir {
    height: 112px;
    min-height: 0;
    border-radius: 8px;
  }

  .s-dir-main {
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
  }

  .s-dir-name {
    flex: none;
    width: 100%;
    padding: 0;
    border-right: none;
  }

  .s-dir-title {
    max-width: none;
    font-size: 16px;
    line-height: 1.3;
  }

  .s-dir-desc,
  .s-dir-action {
    display: none;
  }

  .s-dir-arrow-mob {
    display: flex;
    justify-content: flex-end;
  }

  .s-dir-media {
    flex: 0 0 140px;
  }

  .s-dir-media::after {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .s-list {
    padding-left: 32px;
    padding-right: 32px;
  }
}


/* === Inner page: Unique / FORM / FOOTER wrapper (Что мы создаем) === */
.s-unique-sec {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}


@media (min-width: 1025px) {
  .s-unique-sec .services-unique-desc {
    color: #979ea5;
  }
}

/* === Reveal on scroll (inner pages) — unified with homepage === */
/* Единая директива: FORM и FOOTER не анимируются ни на одной странице. */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal--1 { transition-delay: 0.10s; }
.js-reveal--2 { transition-delay: 0.20s; }
.js-reveal--3 { transition-delay: 0.30s; }
.js-reveal--4 { transition-delay: 0.42s; }

.s-intro-divider.js-reveal {
  transform: none;
}

.s-dir.js-reveal {
  transition: opacity 0.6s ease, transform 0.6s ease,
              background-color 0.5s cubic-bezier(0.65, 0, 0.35, 1),
              border-color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   ЕДИНАЯ СТРАТЕГИЯ АНИМАЦИЙ ПОЯВЛЕНИЯ НА САЙТЕ
   --------------------------------------------------------------------------
   Механика (общая для всех страниц):
     .js-reveal      — элемент скрыт: opacity 0 + сдвиг вниз (translateY 30px);
     .js-reveal.is-visible — показан: opacity 1 + transform:none.
     Добавление происходит по IntersectionObserver (js/services.js,
     js/script.js) при попадании элемента в зону видимости.
     Модификаторы задержки: .js-reveal--1 … --4 (0.10–0.42s).

   Правила использования:
     - заголовок секции = .js-reveal; контент = .js-reveal .js-reveal--1;
     - элементы «по одному» = .js-reveal на каждый элемент + stagger ниже;
     - hover/состояния не должны ломаться: у таких элементов transition
       сохраняют все нужные свойства (фон/обводка и т.п.);
     - у показанного элемента обязательно transform:none на той же
       специфичности (иначе «подъём» не происходит);
     - галереи, пересобираемые по табам, проходят reveal каскадом по карточкам;
     - FORM/FOOTER не анимируются; prefers-reduced-motion — всё off.
   ========================================================================== */

/* === Появление «по одному» со stagger ===
   Карточки LAST CASES (вертикаль сверху вниз) и этапы PROCESS (слева направо). */
.c-last-cards > .c-case.js-reveal,
.c-proc-steps > .c-proc-step.js-reveal {
  transition-delay: 0s;
}
.c-last-cards > .c-case.js-reveal:nth-child(2),
.c-proc-steps > .c-proc-step.js-reveal:nth-child(2) { transition-delay: 0.08s; }
.c-last-cards > .c-case.js-reveal:nth-child(3),
.c-proc-steps > .c-proc-step.js-reveal:nth-child(3) { transition-delay: 0.16s; }
.c-last-cards > .c-case.js-reveal:nth-child(4),
.c-proc-steps > .c-proc-step.js-reveal:nth-child(4) { transition-delay: 0.24s; }
.c-last-cards > .c-case.js-reveal:nth-child(5),
.c-proc-steps > .c-proc-step.js-reveal:nth-child(5) { transition-delay: 0.32s; }

/* Карточки LAST CASES: более заметный «подъём снизу» (56px, 0.75s).
   Transition включает и родные свойства карточки, чтобы hover не сломался. */
.c-last-cards > .c-case.js-reveal {
  transform: translateY(56px);
  transition: opacity 0.75s ease,
              transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
              background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Показанная карточка: без задержки (hover сразу) и в исходном положении */
.c-last-cards > .c-case.js-reveal.is-visible {
  transition-delay: 0s;
  transform: none;
}


/* Единая анимация смены панели/галереи по табу — один класс на всех блоках.
   Та же нежность, что у появления блоков: долгий мягкий fade + лёгкий подъём. */
.panel-switch-in {
  animation: panel-switch-in 0.9s ease;
}

@keyframes panel-switch-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-switch-in {
    animation: none;
  }
}


/* FORM: left frame reveals (frame, then texts top-down); right card/backdrop static */
.form-left.js-reveal .form-left-text > p,
.form-left.js-reveal > .form-left-sub {
  opacity: 0;
  transform: translateY(24px);
}

.form-left.js-reveal.is-visible .form-left-text > p,
.form-left.js-reveal.is-visible > .form-left-sub {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.form-left.js-reveal.is-visible .form-left-text p:nth-child(1) { transition-delay: 0.20s; }
.form-left.js-reveal.is-visible .form-left-text p:nth-child(2) { transition-delay: 0.32s; }
.form-left.js-reveal.is-visible .form-left-text p:nth-child(3) { transition-delay: 0.44s; }
.form-left.js-reveal.is-visible > .form-left-sub { transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .form-left.js-reveal .form-left-text > p,
  .form-left.js-reveal > .form-left-sub {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* === CASES mobile — переработанный блок (актуальная Figma) === */
@media (max-width: 1024px) {
  .cases-card {
    gap: 4px;
  }

  .cases-card-about {
    background: linear-gradient(180deg, #baf605 0%, #63d148 100%);
  }

  .cases-card-title {
    color: #000000;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.2;
  }

  .cases-card-desc {
    color: #000000;
    font-size: 16px;
    line-height: 22px;
  }

  .cases-card-btn {
    align-self: flex-start;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 12px;
    line-height: 1;
  }

  .cases-arrows {
    display: none;
  }

  .cases-card-controls {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .cases-card {
    grid-template-rows: 360px auto;
  }

  .cases-card-media {
    height: 360px;
  }
}

/* FAQ mobile — гарантированный итоговый порядок */
@media (max-width: 1024px) {
  .faq-grid {
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px 0;
  }

  .faq-list {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .faq-contact {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1024px) {
  .faq {
    padding-bottom: 32px;
  }
}

/* Reviews mobile — полнокровная карусель, карточки заглядывают за край */
@media (max-width: 1024px) {
  .reviews-clip {
    padding: 0;
  }

  .reviews-cut {
    scroll-padding-left: 16px;
  }

  .reviews-track {
    padding-left: 16px;
  }
}

/* === Direction page: Корпоратив === */
.p-header--corp::before {
  background-image: url("../images/p-header-corp.jpg");
}

@media (max-width: 1024px) {
  .p-header--corp::before {
    background-image: url("../images/p-header-corp.jpg");
  }

  .p-header--corp {
    height: 400px;
  }

  .p-header--corp .p-header-inner {
    padding: 0 16px 32px;
  }

  .p-header--corp .p-header-title {
    font-size: 36px;
  }

  .p-header--corp .p-header-dot {
    display: none;
  }

  .p-header--corp .p-header-desc {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
  }
}

/* === Direction page INTRO — light variant (Корпоратив) === */
.s-intro--light {
  background: #f2f3f4;
}

.s-intro--light .s-intro-text,
.s-intro--light .s-intro-quote-title,
.s-intro--light .s-intro-quote-name {
  color: #111111;
}

@media (max-width: 1024px) {
  .s-intro--light .s-intro-quote-name {
    display: none;
  }

  .s-intro--light .s-intro-quote-title {
    font-size: 18px;
    line-height: 1.2;
  }
}

/* === Direction page: SERVS (УСЛУГИ) — Корпоратив === */
/* Единый аккордеон-каркас: семантика в классах, визуал — через --fx-* токены.
   Эффект заливки живёт в css/effects.css (eff-fill-up). */

.c-servs {
  background: #f2f3f4;
}

.c-servs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 96px;
}

.c-sec-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  color: #111111;
  margin: 0 0 24px;
}

.c-sec-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-sec-num {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--clr-green-dark);
  flex-shrink: 0;
}

.c-sec-line {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.20);
}

.c-sec-desc {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: #111111;
  white-space: nowrap;
}

/* Белая карточка списка */
.c-acc {
  --acc-fill: var(--fx-fill);
  --acc-line: var(--fx-line);
  --acc-radius: var(--fx-radius);
  --acc-timing: var(--fx-timing);

  background: #fefefe;
  border-radius: 20px;
  margin: 40px 0 0;
  padding: 16px 16px 16px;
}

.c-acc-item {
  position: relative;
  padding: 0 40px;
  background: transparent;
  border-radius: 0;
  transition: background-color 0.4s ease,
              padding-bottom var(--acc-timing),
              border-radius var(--acc-timing);
}

.c-acc-item.is-open {
  background: transparent;
  padding: 0 40px 40px;
}

/* Шапка строки + внутренний прямоугольный разделитель */
.c-acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 40px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--acc-line);
  text-align: left;
  cursor: pointer;
  color: #111111;
  transition: border-color 0.3s ease;
}

.c-acc-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 0 0 576px;
  min-width: 0;
}

.c-acc-num {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #030303;
}

.c-acc-name {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #030303;
}

.c-acc-desc {
  flex: 1;
  min-width: 0;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #030303;
}

.c-acc-arrow {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  margin-left: auto;
}

.c-acc-arrow svg {
  display: block;
  transition: transform var(--acc-timing);
}

.c-acc-item.is-open .c-acc-arrow svg {
  transform: rotate(180deg);
}

/* Панель (тело) — анимируется по высоте */
.c-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--acc-timing),
              margin-top var(--acc-timing);
}

.c-acc-body-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-acc-body-label {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #111111;
}

.c-acc-body-para {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #111111;
}

/* Разделители: скрываются вокруг открытой карточки (без hover — работает на всех устройствах) */
.c-acc-item:last-child .c-acc-head,
.c-acc-item:has(+ .c-acc-item.is-open) .c-acc-head {
  border-bottom-color: transparent;
}

/* Desktop-only: скрытие линий вокруг hover-строки */
@media (min-width: 1025px) {
  .c-acc-item:has(+ .c-acc-item:hover) .c-acc-head,
  .c-acc-item:not(.is-open):hover .c-acc-head {
    border-bottom-color: transparent;
  }
}

/* При закрытии линия гаснет «на середине» сворачивания */
.c-acc-item.is-closing .c-acc-head {
  border-bottom-color: transparent;
  transition: border-color 0.2s ease 0.3s;
}

/* Desktop: открытая карточка — текст 50% | фото 50% */
@media (min-width: 1025px) {
  .c-acc-item.is-open .c-acc-body {
    display: grid;
    grid-template-columns: 573px 575px;
    gap: 20px;
    align-items: start;
    margin-top: 32px;
  }

  .c-acc-item.is-open .c-acc-body-text {
    width: auto;
    max-width: none;
  }

  .c-acc-item.is-open .c-acc-body-media {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: none;
  }
}

/* Mobile */
@media (max-width: 1024px) {
  .c-servs-inner {
    padding: 64px 16px 24px;
  }

  .c-sec-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .c-sec-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .c-sec-num {
    margin-right: 12px;
  }

  .c-sec-line {
    flex: 1;
    min-width: 60px;
  }

  .c-sec-desc {
    flex-basis: 100%;
    max-width: 234px;
    margin-left: auto;
    margin-top: 12px;
    text-align: right;
    white-space: normal;
    font-size: 12px;
    line-height: 1.3;
  }

  .c-acc {
    background: #ffffff;
    border-radius: 20px;
    margin: 24px 0 0;
    padding: 8px;
  }

  .c-acc-item {
    padding: 0;
  }

  .c-acc-item.is-open {
    padding: 0 0 16px;
  }

  .c-acc-head {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 24px 0 24px;
    gap: 16px;
    border-bottom: 1px solid var(--acc-line);
  }

  /* Открытая карточка — отдельная сущность (макет stroke-mob-open):
     линия под шапкой всегда тёмная #111 и присутствует даже у последней строки */
  .c-acc-item.is-open .c-acc-head {
    border-bottom-color: #111111;
  }

  .c-acc-left {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: auto;
    min-width: 0;
  }

  .c-acc-name {
    font-size: 20px;
  }

  .c-acc-desc {
    display: none;
  }

  .c-acc-arrow {
    width: 28px;
    height: 28px;
    background: none;
  }

  .c-acc-item.is-open .c-acc-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
    padding: 0 16px;
  }

  .c-acc-item.is-open .c-acc-body-media {
    width: 100%;
    height: auto;
    aspect-ratio: 310 / 194;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: none;
  }
}

/* Mobile: открытая карточка зелёная; фон гаснет на середине закрытия */
@media (max-width: 1024px) {
  .c-acc-item.is-open {
    background: #9ef605;
    border-radius: 16px;
  }

  .c-acc-item.is-closing {
    background: transparent;
    transition: background-color 0.3s ease 0.3s;
  }
}

/* === Direction page: LAST CASES (Корпоратив) ===
   Значения из макета: карточка #242629, hover #191A1D + обводка #45494E,
   разделители строк #45494E, значения #BAC1C8, лейблы #979EA5. */
.c-last {
  background: var(--clr-bg);
}

.c-last-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 80px 0;
}

.c-last .c-sec {
  margin: 0;
}

.c-sec--dark .c-sec-title {
  color: #ffffff;
}

.c-last .c-sec-num {
  color: var(--clr-green);
}

.c-sec--dark .c-sec-line {
  background: rgba(255, 255, 255, 0.18);
}

.c-sec--dark .c-sec-desc {
  color: #979ea5;
}

.c-last-cards {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка кейса (desktop) */
.c-case {
  position: relative;
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #242629;
  box-shadow: 0 0 0 0 rgba(69, 73, 78, 0);
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-case:hover {
  background: #191a1d;
  box-shadow: 0 0 0 1px rgba(69, 73, 78, 0.70);
}

/* Левая колонка — контент */
.c-case-body {
  position: relative;
  min-width: 0;
  padding: 40px 40px 96px;
}

.c-case-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* Блок name: фиксированная высота, чтобы список ниже не «прыгал»
   в зависимости от количества строк заголовка/описания */
.c-case-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 140px;
  padding-bottom: 20px;
}

.c-case-name {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  transition: color 0.3s ease;
}

.c-case:hover .c-case-name {
  color: var(--clr-green);
}

.c-case-text {
  margin: 0;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #979ea5;
  transition: color 0.3s ease;
}

.c-case-rows {
  margin: 32px 0 0;
}

.c-case-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px solid #45494e;
  padding: 0 0 7px;
  margin-bottom: 12px;
}

.c-case-row:last-child {
  margin-bottom: 0;
}

.c-case-row-label {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  line-height: 1;
  color: #979ea5;
  flex-shrink: 0;
}

.c-case-row-value {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #bac1c8;
  text-align: right;
  transition: color 0.3s ease;
}

.c-case:hover .c-case-row-value {
  color: #ffffff;
}

/* Нижняя строка левой колонки (desktop) */
.c-case-foot {
  position: absolute;
  left: 40px;
  right: auto;
  bottom: 40px;
  width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.c-case-tags {
  display: flex;
  gap: 4px;
}

.c-case-tag {
  padding: 12px 20px;
  border-radius: 1000px;
  background: #111111;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.c-case-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 56px;
  background: transparent;
  border: 1px solid rgba(158, 246, 5, 0.50);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.5s ease, background-color 0.25s ease,
              border-color 0.25s ease;
}

.c-case:hover .c-case-go {
  opacity: 1;
}

.c-case-go:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.c-case-go .button-arrow-icon-line {
  transition: background-color 0.25s ease;
}

.c-case-go .button-arrow-icon-tip {
  transition: border-color 0.25s ease;
}

.c-case-go:hover .button-arrow-icon-line {
  background: #030303;
}

.c-case-go:hover .button-arrow-icon-tip {
  border-color: #030303;
}

/* Слайдер (desktop) */
.c-case-slider {
  position: relative;
  min-width: 0;
}

.c-case-slider-viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.c-case-slider-track {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-case-slider-item {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.55s ease,
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.55s;
}

.c-case-slider-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.c-case-slider-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Градиент снизу под контролы — на каждом кадре, чтобы оставался
   на месте и при нативном горизонтальном скролле на мобиле */
.c-case-slider-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.80) 100%);
  pointer-events: none;
}

/* Контролы слайдера переиспользуют готовый компонент:
   .cases-bullits / .cases-bullit(--active) и .cases-arrows / кнопки .ui-arrow */
/* Контролы в углах: буллеты слева, стрелки справа, 24 от боков и низа */
.c-case-slider-nav {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.c-case-slider-nav .cases-bullits {
  padding: 0;
}

/* Кнопка под блоком */
.c-last-cta {
  display: flex;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 96px;
}

/* Mobile */
@media (max-width: 1024px) {
  .c-last-inner {
    padding: 64px 16px 0;
  }

  .c-last-cards {
    margin-top: 24px;
    gap: 12px;
  }

  .c-case {
    display: block;
    height: auto;
    border-radius: 12px;
    background: #242629;
  }

  .c-case:hover {
    background: #242629;
    outline: none;
    box-shadow: none;
    border-color: transparent;
  }

  .c-case:hover .c-case-name,
  .c-case:hover .c-case-text,
  .c-case:hover .c-case-row-value {
    color: inherit;
  }

  .c-case-body {
    padding: 32px 20px 20px;
  }

  .c-case-name {
    font-size: 20px;
  }

  .c-case-head {
    height: auto;
    padding-bottom: 0;
  }

  .c-case-rows {
    display: none;
  }

  .c-case-slider {
    padding: 0 8px;
  }

  /* Mobile: нативный scroll-snap — листает сам браузер (iOS/Android) */
  .c-case-slider-viewport {
    border-radius: 12px;
    height: 280px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .c-case-slider-viewport::-webkit-scrollbar {
    display: none;
  }

  .c-case-slider-track {
    display: flex;
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .c-case-slider-item {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .c-case-slider-nav {
    right: 0;
    left: 0;
    bottom: 16px;
    justify-content: center;
  }

  .c-case-slider-nav .cases-arrows {
    display: none;
  }

  .c-case-slider-nav .cases-bullits {
    padding: 0;
  }

  .c-case-slider-nav .cases-bullit {
    background: rgba(255, 255, 255, 0.50);
  }

  .c-case-slider-nav .cases-bullit.cases-bullit--active {
    background: var(--clr-green-dark);
  }

  .c-case-foot {
    position: static;
    width: auto;
    padding: 20px;
    align-items: flex-end;
  }

  .c-case-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .c-case-tag {
    padding: 0;
    background: none;
    color: #bac1c8;
    font-size: 16px;
  }

  .c-case-go {
    opacity: 1;
  }

  .c-last-cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* (контролы слайдера переиспользуют .cases-arrows / .ui-arrow и
   .cases-bullits / .cases-bullit — см. выше) */

@media (prefers-reduced-motion: reduce) {
  .c-case-slider-item {
    transition: none;
    transform: none;
  }

  .c-case-slider-track {
    transition: none;
  }
}

/* === Direction page: PROCESS (Корпоратив) ===
   Этапы: круг-номер 80 (#9EF605), зазор 20 до текста; заголовок Onest Bold 14
   uppercase, описание Onest 16/1.3, оба #111. Desktop — 5 колонок gap 48;
   mobile — нативный scroll-snap (карусель) + буллеты-индикатор. */
.c-proc {
  background: #f2f3f4;
}

.c-proc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 96px;
}

.c-proc-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
}

.c-proc-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.c-proc-num {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9ef605;
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 36px;
  color: #000000;
}

.c-proc-txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-proc-name {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
}

.c-proc-desc {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #111111;
  margin: 0;
}

.c-proc-bullits {
  display: none;
}

@media (max-width: 1024px) {
  .c-proc-inner {
    padding: 64px 16px 24px;
  }

  .c-proc-steps {
    margin-top: 40px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .c-proc-steps::-webkit-scrollbar {
    display: none;
  }

  .c-proc-step {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .c-proc-bullits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 48px 0 32px;
  }

  .c-proc-bullits .cases-bullit {
    background: #b4b4b4;
  }

  .c-proc-bullits .cases-bullit.cases-bullit--active {
    background: var(--clr-green-dark);
  }
}

/* === Direction page: LOCATIONS (Корпоратив) ===
   Карусель как у отзывов на главной: табы-пузырьки, лента карточек,
   листание стрелками по одной (desktop), нативный скролл (mobile).
   Карточка Card-carousel: фото 416x260 radius12 + подпись (тип 12, название 16). */
.c-loc {
  background: #030303;
}

.c-loc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 96px;
}

.c-loc .c-sec-num {
  color: var(--clr-green);
}

.c-loc-tabs {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.c-loc-gallery {
  position: relative;
  margin-top: 32px;
}

.c-loc-viewport {
  position: relative;
  overflow: hidden;
}

.c-loc-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

/* Wide (LOCATIONS корпоратив): та же карточка, шире */
.c-loc-track .card-carousel {
  flex: 0 0 416px;
}

.c-loc-track .card-carousel-img {
  height: 260px;
}

.c-loc-track .card-carousel-meta {
  height: 74px;
}

.c-loc-bullits {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Стрелки: вертикально по центру фото карточки (фото 260px → top 106px),
   горизонтально — центром на внешнем ребре крайних карточек */
.c-loc-arrows {
  position: absolute;
  top: 106px;
  left: -24px;
  right: -24px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.c-loc-arrows .ui-arrow {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .c-loc-inner {
    padding: 64px 16px 24px;
  }

  .c-loc-tabs {
    margin-top: 24px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .c-loc-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Единый компонент табов на мобиле — компактнее */
  .tab {
    padding: 12px 20px;
    flex-shrink: 0;
  }

  .c-loc-gallery {
    margin-top: 20px;
  }

  .c-loc-viewport {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .c-loc-viewport::-webkit-scrollbar {
    display: none;
  }

  .c-loc-track {
    gap: 8px;
  }

  .c-loc-track .card-carousel {
    flex: 0 0 296px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .c-loc-track .card-carousel-img {
    height: 260px;
  }

  .c-loc-arrows,
  .c-loc-bullits {
    display: none;
  }
}

/* === Desktop drag по каруселям (отзывы главной + LOCATIONS корпоратив) === */
@media (min-width: 1025px) {
  .reviews-track,
  .c-loc-track {
    cursor: grab;
  }

  .reviews-track.is-drag,
  .c-loc-track.is-drag {
    cursor: grabbing;
    transition: none;
    user-select: none;
  }

  .reviews-track img,
  .c-loc-track img {
    -webkit-user-drag: none;
    user-select: none;
  }

  .c-loc-track {
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-loc-track {
    transition: none;
  }
}

/* === Портфолио: P-header «simple» (тёмный, без фото) === */
.p-hero {
  position: relative;
  background: #111111;
  height: 374px;
  display: flex;
  align-items: flex-end;
}

.p-hero::after {
  content: "";
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 0;
  height: 1px;
  background: #45494e;
}

.p-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 48px;
}

.p-hero-title {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.p-hero-descripter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.p-hero-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green-dark);
}

.p-hero-desc {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 1.4;
  color: #979ea5;
  margin: 0;
}

/* === Портфолио: CASES (тёмная секция; карточки — готовый .c-case) === */
.pf {
  background: #111111;
}

.pf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.pf-tabs {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pf .c-last-cards {
  margin-top: 32px;
}

.pf-load {
  display: flex;
  justify-content: center;
  padding: 64px 0 96px;
}

.pf-load-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.pf-load-label {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.pf-load-arrow {
  color: var(--clr-green);
}

.pf-load-arrow svg {
  display: block;
}

@media (max-width: 1024px) {
  .p-hero {
    height: 272px;
  }

  .p-hero::after {
    left: 16px;
    right: 16px;
  }

  .p-hero-inner {
    padding: 0 16px 32px;
  }

  .p-hero-title {
    font-size: 36px;
  }

  .p-hero-desc {
    font-size: 16px;
  }

  .pf-inner {
    padding: 0 16px 24px;
  }

  .pf-tabs {
    margin-top: 48px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .pf-tabs::-webkit-scrollbar {
    display: none;
  }

  .pf .c-last-cards {
    margin-top: 20px;
  }

  .pf-load {
    padding: 40px 0 64px;
  }

  .pf-load-btn {
    gap: 8px;
  }

  .pf-load-label {
    font-size: 12px;
  }
}

/* === «Об агентстве»: P-header с фото (эта же версия, свой снимок) === */
.p-header--about::before {
  background-image: url("../images/about/p-header-about.jpg");
}

@media (max-width: 1024px) {
  .p-header--about {
    height: 371px;
  }

  .p-header--about::before {
    background-image: url("../images/about/p-header-about.jpg");
  }
}

/* === «Об агентстве»: TEAM (карусель команды + открытая карточка) === */
.c-team {
  background: #111111;
}

.c-team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 96px;
}

.c-team .c-sec-num {
  color: var(--clr-green);
}

.c-team-txt {
  margin-top: 72px;
  max-width: 1000px;
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #ffffff;
}

.c-team-stage {
  position: relative;
  margin-top: 64px;
}

.c-team-viewport {
  width: 1120px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.c-team-viewport::-webkit-scrollbar {
  display: none;
}

.c-team-track {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card {
  flex: 0 0 153px;
  min-width: 0;
  scroll-snap-align: start;
}

.team-card-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.team-photo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card.is-active .team-photo::after {
  border-color: var(--clr-green);
}

.team-name {
  margin: 12px 0 0;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
}

.team-role {
  margin: 4px 0 0;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #979ea5;
}

.c-team-bullits {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.c-team-arrows {
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.c-team-arrows .ui-arrow {
  pointer-events: auto;
}

/* Открытая карточка — выезжает снизу (раздвигает секцию) */
.c-team-open {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s ease, opacity 0.45s ease;
}

.c-team-open.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.c-team-open-inner {
  min-height: 0;
  overflow: hidden;
}

/* Макет Card-open (desktop): зелёная панель 1020×420, radius 20, padding 4 */
.c-team-open-card {
  display: flex;
  align-items: stretch;
  width: min(100%, 1020px);
  height: 420px;
  margin: 32px auto 0;
  padding: 4px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--clr-green);
}

.c-team-open-photo {
  flex: 0 0 340px;
  border-radius: 16px;
  overflow: hidden;
}

.c-team-open-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-team-open-data {
  flex: 1;
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.c-team-open-head {
  border-bottom: 1px solid var(--clr-bg);
  padding-bottom: 12px;
}

.c-team-open-name {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--clr-bg);
  margin: 0;
}

.c-team-open-role {
  margin: 12px 0 0;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--clr-bg);
}

.c-team-open-bio {
  margin: 20px 0 0;
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--clr-bg);
}

.c-team-open-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.team-tag {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--clr-bg);
  border: 2px solid var(--clr-bg);
  border-radius: 1000px;
  padding: 10px 16px;
}

@media (max-width: 1024px) {
  .c-team-inner {
    padding: 64px 16px 64px;
  }

  .c-team-txt {
    margin-top: 40px;
    font-size: 18px;
    max-width: none;
  }

  .c-team-stage {
    margin-top: 40px;
  }

  .c-team-viewport {
    width: auto;
    margin: 0;
  }

  .c-team-track {
    gap: 24px;
  }

  .c-team-arrows,
  .c-team-bullits {
    display: none;
  }

  .c-team-open-card {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    height: auto;
    margin: 32px auto 0;
    padding: 4px;
  }

  .c-team-open-photo {
    flex: none;
    width: auto;
    height: 420px;
  }

  .c-team-open-data {
    padding: 32px 20px;
  }

  .c-team-open-name {
    font-size: 24px;
  }

  .c-team-open-bio {
    margin-top: 12px;
    font-size: 16px;
  }

  .c-team-open-tags {
    margin-top: 40px;
  }
}

/* === About: CLIENTS (Клиенты и партнёры) === */
.c-clients {
  background: #f2f3f4;
}

.c-clients-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 40px;
}

.c-clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 72px;
}

.c-clients-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 32px;
  aspect-ratio: 246.4 / 158.75;
}

.c-clients-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .c-clients-inner {
    padding: 64px 16px 64px;
  }

  .c-clients-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }

  .c-clients-card {
    aspect-ratio: 173 / 158.75;
  }
}

/* === About: DIPLOMS (Дипломы и сертификаты) === */
.c-dip {
  background: #f2f3f4;
}

.c-dip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 0 96px;
}

.c-dip-gallery {
  position: relative;
  margin-top: 72px;
}

.c-dip-viewport {
  position: relative;
  overflow: hidden;
}

.c-dip-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.c-dip-card {
  flex: 0 0 308px;
}

.c-dip-card-btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.c-dip-card-btn:hover .c-dip-title {
  color: var(--clr-green-dark);
}

.c-dip-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.c-dip-slot img {
  display: block;
  max-width: calc(100% - 48px);
  max-height: calc(100% - 48px);
  object-fit: contain;
  border-radius: 8px;
}

.c-dip-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 74px;
}

.c-dip-kicker {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  line-height: 24px;
  color: #45494e;
}

.c-dip-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #111111;
  margin: 0;
}

.c-dip-bullits {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.c-dip-arrows {
  position: absolute;
  top: 130px;
  left: -26px;
  right: -26px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.c-dip-arrows .ui-arrow {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .c-dip-inner {
    padding: 64px 16px 64px;
  }

  .c-dip-gallery {
    margin-top: 40px;
  }

  .c-dip-viewport {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .c-dip-viewport::-webkit-scrollbar {
    display: none;
  }

  .c-dip-track {
    gap: 8px;
  }

  .c-dip-card {
    flex: 0 0 310px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .c-dip-arrows,
  .c-dip-bullits {
    display: none;
  }
}

/* === Diploma popup (увеличенная картинка) — самодостаточный слой === */
#diplomaLayer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#diplomaLayer.open {
  display: flex;
}

.dip-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dip-stage img {
  display: block;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.dip-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #242629;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dip-close::before,
.dip-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: #9ef605;
}

.dip-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dip-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dip-close:hover {
  background: #9ef605;
}

.dip-close:hover::before,
.dip-close:hover::after {
  background: #111111;
}

/* DIPLOMS: плавность/драг как у LOCATIONS (только desktop) */
@media (min-width: 1025px) {
  .c-dip-track {
    cursor: grab;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .c-dip-track.is-drag {
    cursor: grabbing;
    transition: none;
    user-select: none;
  }

  .c-dip-card-btn img {
    -webkit-user-drag: none;
    user-select: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-dip-track {
    transition: none;
  }
}

/* TEAM: перетаскивание ленты персон мышью (desktop) */
@media (min-width: 1025px) {
  .c-team-viewport {
    cursor: grab;
  }

  .c-team-viewport.is-drag {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .c-team-viewport img {
    -webkit-user-drag: none;
    user-select: none;
  }
}
