/* 1. Сброс отступов и box-sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


/* === 0. Шрифты === */
/* === Шрифты === */
body {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  background: #000;
}

/* Заголовки — Unbounded */
h1, h2, h3, h4, h5, h6,
.hero__title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
}







/* === Header === */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px;
  z-index: 100;
    /* или fixed, если нужен фон без «прыжков» */
       /* выше всего остального */
  
  
  
  
  
  
  .header {
  position: sticky;  /* или fixed, если нужен фон без «прыжков» */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* выше всего остального */
  background: inherit; /* или явно: background: #000; чтобы не просвечивало */
};
  .header {
  position: sticky;  /* или fixed, если нужен фон без «прыжков» */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* выше всего остального */
  background: inherit; /* или явно: background: #000; чтобы не просвечивало */
};
  /* Шапка всегда наверху */
.header {
  position: sticky;  /* или fixed, если нужен фон без «прыжков» */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* выше всего остального */
  background: inherit; /* или явно: background: #000; чтобы не просвечивало */
};
  
/* Шапка всегда наверху */
.header {
  position: sticky;  /* или fixed, если нужен фон без «прыжков» */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* выше всего остального */
  background: inherit; /* или явно: background: #000; чтобы не просвечивало */
};
}
.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Логотип */
.header__logo img {
  display: block;
  width: auto; /* подгоните по макету */
}

/* Навигация */
.nav__list {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.nav__link:hover {
  opacity: 0.7;
}

/* Правая ссылка */
.header__contact {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.header__contact:hover {
  opacity: 0.7;
}

/* Mobile: скрываем основную навигацию */
@media (max-width: 768px) {
  .nav__list {
    display: none;
  }
  /* при желании здесь можно добавить гамбургер */
}












/* === Hero Section === */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0d0d1f 0%, #000 100%);
  padding-bottom: 1000px;
}

/* Фоновые руки */
.hero__hand {
  position: fixed;
  pointer-events: none;
  transition: all 0.1s linear;
  /* box-sizing: unset; */
} 
.hero__hand img {
  display: block;
  /* width: 100%; */
  /* height: auto; */
}
.hero__hand--robot {
  top: 450px;
  left: 50%;
  margin-left: -1700px;
}
.hero__hand--human {
  top: 380px;
  left: 50%;
  margin-left: 450px;
}

/* Контент внутри hero */
.hero__content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 220px 15px 800px;
  text-align: center;
  position: relative;
}

/* Логотип */
.hero__logo {
  width: 180px;
  margin-bottom: 40px;
}

/* Заголовок и подзаголовок */
.hero__title {
 font-size: 4.3rem;
 line-height: 1.2;
 margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 100;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Статистика */
.hero__stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 80px;
}
.hero__stat {
  text-align: center;
}
.hero__stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Unbounded';
}
.hero__stat-text {
  font-size: 1.2rem;
}

/* Кнопки */
.hero__buttons {
  margin-bottom: 150px;
  z-index: 5;
  position: relative;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s, color .2s;
}
.btn--primary {
  background: #A5E600;
  color: #000;
  margin-right: 20px;
  font-family: 'Roboto Flex';
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid #A5E600;
}
.btn--primary:hover {
  background-color: #c1ed1d;
  border-color: #c1ed1d;
}
.btn--outline {
  border: 2px solid #fff;
  color: #fff;
  margin-right: 20px;
  font-family: 'Roboto Flex';
  text-transform: uppercase;
  font-size: 0.85rem;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
}

/* Видео-плейсхолдер */
.hero__video-placeholder {
  width: 100%;
  padding-top: 56.25%; /* соотношение 16:9 */
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}

/* Заменяем фон-плейсхолдер на картинку */
.hero__video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;   /* 16:9 */
  background: url('../img/preview.jpg') center/cover no-repeat;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  z-index: 5;
  box-shadow: 0px 0px 150px #65e7ff12;
}

/* Сам линк-плейсхолдер растягиваем на весь контейнер */
.hero__video-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* Круглая кнопка Play */
.hero__video-play {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  padding-left: 7px;
  height: 68px;
  background: #c1ed1d;
  border-radius: 50%;
  color: #000;
  font-size: 1.5rem;
  line-height: 68px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.hero__video-link:hover .hero__video-play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 15px rgba(178,255,0,0.6);
}


.flash-trigger {
  position: absolute;
  bottom: 0;         /* внизу hero */
  left: 0; right: 0;
  height: 1px;
  pointer-events: none;
}

.flash-circle {
    position: fixed;
    opacity: 0;
    top: 570px;
    left: 48.5%;
    height: 10px;
    width: 10px;
    pointer-events: none;
    background: #fff;
    border-radius: 100px;
    transform: scale(0);
    transition: transform 4s ease, opacity 0.5s ease;
}


/* === GLightbox Fullscreen Overrides === */

/* 1) Главное окно контейнера */


/* 2) Слайд (видео) растягиваем на весь контейнер */
.glightbox-container .gslide,
.glightbox-container .gslide-video,
.glightbox-container .gvideo-container {
  width: 90% !important;
  height: 90% !important;
  max-width: none !important;
  max-height: none !important;
}

/* 3) Сам iframe (Vimeo/YouTube) */
.glightbox-container .gvideo-container iframe {
  width: 100% !important;
  height: 100% !important;
}

/* 4) Убираем отступы вокруг контента */
.glightbox-container .gcontent {
  padding: 0 !important;
  margin: 0 !important;
}






















/* === Big Logo Section === */
.big-logo {
  background: #f5f5f5;    /* светло-серый фон, как в макете */
  padding: 250px 0;        /* регулируйте отступы по вкусу */
}

.big-logo__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
  position: fixed;
  top: 50%;
  width: 100%;
  z-index: 2;
  margin-top: -160px;
}

.big-logo__logo {
  display: block;
  width: 100%;
  max-width: 60%;       /* подгоните под ваш макет */
  margin: 0 auto;
}

.big-logo__tagline {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem; /* межбуквенный интервал */
  color: #333;            /* тёмно-серый цвет */
  margin-bottom: 40px;
}

.big-logo__phonetic {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 5px 15px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: 0.75rem; /* побольше пространства между символами */
  border-radius: 4px;
  opacity: 0;
}


.big-logo__logo {
  opacity: 0;
  transform: scale(0.8);
}

.big-logo__phonetic {
  opacity: 0;
  transform: translateY(20px);
}













/* === Formats Section === */
.formats {
  background: #f5f5f5;
  padding: 150px 0;
  z-index: 5;
  position: relative;
  padding-top: 160px;
}

.formats__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.formats__title {
  font-family: 'Unbounded', cursive;
  font-weight: 900;
  font-size: 2.9rem;
  text-transform: uppercase;
  color: #000;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.formats__subtitle {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #000000;
  line-height: 1.3em;
  width: 60%;
  margin: 0 auto;
  margin-bottom: 100px;
}

.formats__list {
  list-style: none;
  display: flex;
  gap: 70px;
  padding: 0;
  flex-direction: column;
  margin: 0;
}


.formats__item {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
  background-color: #000;
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* 1-я карточка: операторы */
.formats__item--operators {
  
  /* картинка operator.png */
  background-image: url('../img/format1.jpg');
  /* немного отступаем от края снизу и справа */
  padding-left: 40%;
  padding-right: 10%;
  background-position: left center;
}

/* 2-я карточка: ИИ-агенты */
.formats__item--ai {
  background-color: #000;
  color: #fff;
  /* картинка ai.png */
  background-image: url('../img/format2.jpg');
  /* центрируем картинку по горизонтали, чуть выше низа */
  background-position: right center;
  padding-left: 5%;
  padding-right: 50%;
}

/* 3-я карточка: гибрид */
.formats__item--hybrid {
  
  /* картинка gibrid.png */
  background-image: url('../img/format3.jpg');
  /* смещаем вправо и чуть выше центра по вертикали */
  background-position: left center;
  padding-left: 40%;
  padding-right: 10%;
}


.formats__item-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.3em;
}

.formats__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 1.4em;
  text-align: left;
  color: #fff;
}


.formats__item--ai .formats__item-title {
}

.formats__item--hybrid .formats__item-title {
  width: 260px;
}

.formats__item.formats__item--operators:hover {
}

.formats__item.formats__item--ai:hover {
}
.formats__item.formats__item--hybrid:hover {
}


.formats a.btn--primary {
  width: auto;            /* Ширина по содержимому */
  align-self: flex-start;
  margin-top: 70px;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 60px;
}

















/* === KPI Section === */
.kpi {
  background: #f5f5f5;
  padding: 150px 0;
  z-index: 5;
  position: relative;
  padding-bottom: 250px;
  overflow-x: hidden;
}
.kpi__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}
.kpi__title {font-family: 'Unbounded', cursive;font-weight: 900;font-size: 2.9rem;text-transform: uppercase;color: #000;width: 90%;margin: 0 auto;margin-bottom: 40px;}
.kpi__subtitle {font-family: 'Roboto Flex', sans-serif;font-weight: 400;font-size: 1.5rem;color: #000000;line-height: 1.3em;width: 70%;margin: 0 auto;margin-bottom: 110px;}

.kpi__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 70px 0px;
  padding: 0;
  margin: 0;
}
.kpi__item {
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  /* padding: 30px 40px; */
  color: #fff;
  height: 550px;
  display: flex;
  align-items: center;
}

.kpi__slide:nth-child(1) .kpi__item {
}

.kpi__slide:nth-child(1) .kpi__item .kpi__item-title {
  color: #fff;
  font-weight: 100;
  font-weight: 600;
}
.kpi__slide:nth-child(1) .kpi__item .kpi__item-text {
  color: #fff;
}

.kpi__slide:nth-child(2)  .kpi__item{
}

.kpi__slide:nth-child(5) .kpi__item {
}

.kpi__image {
  width: 100%;
  text-align: center;
  /* margin-bottom: 20px; */
}
.kpi__image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.kpi__item-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 12px;
  line-height: 1.3em;
  margin-top: 15px;
  margin-bottom: 30px;
}
.kpi__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  line-height: 1.3;
}

/* === KPI Section: Browser Frame === */
/* 1) общий класс для блоков с обёрткой */
.kpi__item--with-browser {
  position: relative;          /* чтобы псевдо-элемент относился к этому блоку */
  padding-top: 55px;           /* высота «рамки» браузера (подкорректируйте по размеру вашего browser.png) */
  overflow: hidden;
  align-items: end;
}

/* 2) псевдо-элемент с самим browser.png */
.kpi__item--with-browser .kpi__image::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;                  /* ширина окна браузера внутри карточки */
  /* max-width: 600px; */            /* или подгоните под макет */
  height: 40px;                /* высота browser.png */
  background: url('../img/browser.png') no-repeat;
  pointer-events: none;
  background-size: 100% auto;
}

/* 3) фоновой картинке блока даём своё изображение */
.kpi__slide:nth-child(2) .kpi__item--with-browser .kpi__image {
  background: url('../img/script.png') no-repeat left top;
          /* подгоните масштаб */
  position: relative;
}
.kpi__slide:nth-child(3) .kpi__item--with-browser .kpi__image {
  background: url('../img/trainer.png') no-repeat left top;
  position: relative;
}
.kpi__slide:nth-child(5) .kpi__item--with-browser .kpi__image {
  background: url('../img/quality.png') no-repeat left top;
}
.kpi__slide:nth-child(6) .kpi__item--with-browser .kpi__image {
  background: url('../img/panel.png') no-repeat center top;
  background-size: 100%;
}

/* 4) сам контейнер картинки (.kpi__image) */
.kpi__image {
  width: 50%;
  /* flex: 1; */                     /* растягивает зону под контентом */
  margin-top: 0px;           /* задвигаем чуть вверх, чтобы картинка «пришла» к рамке */
  min-height: 430px;
  /* width: 50%; */
  /* position: relative; */
  /* border-radius: 0px 0px 10px 10px; */
  transition: all 7s ease;
  /* float: left; */
  position: relative;
}


.kpi__item.block1 .kpi__item-title {width: 100%;font-weight: 600;}

.kpi__item.block4 {
}

.kpi__item.block4 .kpi__item-title {
  color: #fff;
  width: 95%;
  font-weight: 600;
  margin-top: 40px;
}
.kpi__item.block4 .kpi__item-text {
  color: #fff;
}


.kpi-slide:hover .kpi__item--with-browser .kpi__image {
  background-position: left bottom;
}


.kpi .kpi__item .wrap_desc {
  position: relative;
  display: flex;
  /* flex: 1; */
  flex-direction: column;
  padding: 70px;
  margin-bottom: 20px;
  width: 50%;
}

.kpi .kpi__item.block1 .kpi__image {width: 55%;transform: scale(0.8);}

.kpi .kpi__item.block1  {
background: #000;
padding-left: 0px;
}

.kpi .kpi__item.block1 .wrap_desc {padding: 0px 30px;padding-right: 100px;width: 60%;}

/* 2) псевдо-элемент с самим browser.png */
.kpi__item--with-browser .kpi__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;                  /* ширина окна браузера внутри карточки */
              /* или подгоните под макет */
  height: 100%;                /* высота browser.png */
  background: linear-gradient(0deg, #00000075, transparent);
  pointer-events: none;
  background-size: 100% auto;
}

.kpi .kpi__item .kpi__image video {
width: 100%;
}

.kpi .kpi__item.block4 .kpi__image video {width: 100%;transform: scale(0.75);}


.swiper-pagination {
  bottom: -10px !important;
}








/* === Order Section === */
.order {
  background: radial-gradient(ellipse at center, #0d0d1f 0%, #000 100%);
  color: #fff;
  padding: 140px 0;
  padding-bottom: 200px;
  z-index: 5;
  position: relative;
  padding-top: 150px;
}

.order__inner {
  display: flex;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  align-items: flex-start;
}

/* Sidebar */
.order__sidebar {
  flex: 0 0 40%;
  position: sticky;
  top: 100px; /* отступ от верха при «липком» положении */
  padding-right: 10px;
}

.order__title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 80px;
}
.order__title-highlight {
  color: #c1ed1d;
  /* font-size: 2em; */
}

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

.order__field {
  display: flex;
  gap: 15px;
}

.order__input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.25rem;
}

.order__button {
  white-space: nowrap;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.order__consent {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  font-weight: 200;
  cursor: pointer;
}
.order__consent input {
  margin-right: 8px;
  vertical-align: middle;
}

/* Content with steps */
.order__content {
  flex: 0 0 60%;
}

.order__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.order__step {
  display: grid;
  /* grid-template-columns: 60px 1fr; */
  gap: 30px;
  align-items: start;
  padding: 40px 50px;
  flex-direction: column;
  border-radius: 20px;
  transition: all 0.5s ease;
}

.order__step.is-active {
  
background: #fff;
  
color: #000;
}

.order__step-number {
  font-family: 'Unbounded';
  font-weight: 300;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.1);
}

.order__step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* padding-left: 90px; */
}

.order__step-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  line-height: 1.4em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.order__step-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.2;
  color: rgba(255,255,255,0.8);
}




/* По умолчанию все шаги бледные */
.order__step-number,
.order__step-title,
.order__step-text {
  color: rgb(255 255 255);
  transition: color 0.5s;
}

/* Для активного шага — ярко белые */
.order__step.is-active .order__step-number {
  color: #d6dde1;
}
.order__step.is-active .order__step-title,
.order__step.is-active .order__step-text {
  color: #000;
}













/* === Cases Section === */
.cases {
  background: #ffffff;
  padding: 180px 0;
  z-index: 5;
  position: relative;
  padding-top: 150px;
}
.cases__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.cases__title {font-family: 'Unbounded', cursive;font-weight: 900;font-size: 2.9rem;text-transform: uppercase;color: #000;width: 90%;margin: 0 auto;margin-bottom: 40px;}
.cases__subtitle {font-family: 'Roboto Flex', sans-serif;font-weight: 400;font-size: 1.5rem;color: #000000;line-height: 1.3em;width: 70%;margin: 0 auto;margin-bottom: 110px;}

.cases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.cases__item {
  display: flex;
  background: #e9edf0;
  border-radius: 20px;
  overflow: hidden;
  align-items: stretch;
}
.cases__content {
  flex: 1;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.cases__logo img {
  max-width: 320px;
  margin-bottom: 60px;
  mix-blend-mode: darken;
}
.cases__item-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1.4;
  color: #000;
  margin-bottom: 16px;
}
.cases__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: #333;
  line-height: 1.3;
  margin-bottom: 30px;
}
.cases__button {
  align-self: flex-start;
  width: auto;
  align-self: flex-start;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 60px;
}

.cases__image {
  flex: 1;
  overflow: hidden;
  
}
.cases__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.cases__item:hover .cases__image img {
  transform: scale(1.1);
}


/* прячем все <li> после третьего */
.cases__list li:nth-child(n+4) {
  display: none;
}


/* когда список получает класс .show-all — показываем все */
.cases__list.show-all li {
  display: flex !important; /* у .cases__item стоит display:flex */
}

.cases__more {
  margin-top: 80px;
}

.cases__show-all-btn {
    border: 2px solid #fff;
    color: #121212;
    margin-right: 20px;
    font-family: 'Roboto Flex';
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    padding: 20px 0px;
    background: #e9edf0;
}

.cases__show-all-btn:hover {
    background: rgb(217 224 229);
}
















/* === Testimonials Section === */
.testimonials {
  background: #f5f5f5;
  padding: 170px 0;
  overflow: hidden;
      z-index: 5;
    position: relative;
}
.testimonials__title {font-family: 'Unbounded', cursive;font-weight: 900;font-size: 2.9rem;text-transform: uppercase;color: #000;width: 90%;margin: 0 auto;margin-bottom: 40px;}
.testimonials__subtitle {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #000000;
  line-height: 1.3em;
  width: 70%;
  margin: 0 auto;
  margin-bottom: 110px;
}
.testimonials__swiper {
  position: relative;
  overflow: visible;   /* чтобы стрелки видны были за пределами */
  padding: 0;          /* сбросим любые внутренние отступы */
}

.swiper-slide {
  display: flex;
  justify-content: center;
}
.swiper-slide img {
  width: 100%;
  max-width: 300px; /* подгоните под макет */
  border-radius: 8px;
  cursor: pointer;
}

/* навигация */
.testimonials__nav--prev,
.testimonials__nav--next {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  color: #000;
  z-index: 10;
}

.testimonials__nav--prev {
  left: -20px;   /* на 20px влево за край .swiper */
}

.testimonials__nav--next {
  right: -20px;  /* на 20px вправо за край .swiper */
}

/* уберём абсолютное позиционирование */
.testimonials__pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 20px auto 0; /* отступ сверху, центрирование */
  text-align: center;
}


/* картинка-превью */
.swiper-slide img {
  width: 100%;
  max-width: 280px; /* подгоняй по визуалу */
  border-radius: 8px;
  cursor: pointer;
}

.testimonials .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 10px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 10px));
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #87bf06;
}


























/* === Why Section (Чёрный фон, белые блоки, зелёный hover) === */
.why {
  background: #000;
  background: radial-gradient(ellipse at center, #0d0d1f 0%, #000 100%);
  padding: 170px 0;
  position: relative;
  padding-bottom: 30px;
      z-index: 5;
    position: relative;
}
.why__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.why__title {font-family: 'Unbounded', cursive;font-weight: 900;font-size: 3.5rem;text-transform: uppercase;color: #ffffff;width: 90%;margin: 0 auto;margin-bottom: 100px;}
.why__title span {color: #c1ed1d;}

/* Сетка карточек */
.why__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 80px 30px;
  padding: 0;
  margin: 0;
}
.why__item {
  flex: 1 1 calc(33.333% - 20px);
  border-radius: 20px;
  /* border: 1px solid #20203a; */
  padding: 40px 30px;
  transition: background .3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* При наведении — ярко-зелёный фон */
.why__item:hover {
  background: #ffffff;
}

/* Большая цифра */
.why__number {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 2.75rem;
  margin-bottom: 20px;
  color: #ffffff;
  transition: transform .3s, color .3s;
}

/* Текст */
.why__text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: #ffffff;
  transition: color .3s;
  text-align: left;
  line-height: 1.3em;
}

/* Анимация: цифра поднимается и меняет цвет при hover */
.why__item:hover .why__number {
  transform: translateY(-8px);
  color: #000000;
}
/* При hover текст остаётся чёрным на зелёном фоне */
.why__item:hover .why__text {
  color: #000;
}

/* Делает первый блок активным сразу (если нужно) */
/*
.why__item--active {
  background: #B2FF00;
}
.why__item--active .why__number {
  transform: translateY(-8px);
}
*/



















/* === Stop Losing Section === */

/* Контейнер 1320px */
.stop-losing__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 250px 0px;
      z-index: 5;
    position: relative;
}

/* Верхний блок с заголовком + маленькая форма */
.stop-losing__top {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
}

/* Заголовок */
.stop-losing__headline {
  flex: 1 1 50%;
}
.stop-losing__title {font-family: 'Unbounded', cursive;font-weight: 700;font-size: 4.5rem;line-height: 1.2;margin-bottom: 50px;}
.stop-losing__title span {
  color: #c1ed1d;
}
.stop-losing__sub {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.4;
}

/* Маленькая форма справа */
.stop-losing__form--small {
  flex: 0 0 40%;
  padding-top: 30px;
}
.stop-losing__form-title {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 500;
  font-size: 1.75rem;
  margin-bottom: 30px;
  line-height: 1.3em;
  text-transform: uppercase;
}
.stop-losing__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stop-losing__fields {
  display: flex;
  gap: 15px;
}
.stop-losing__input {flex: 1;padding: 12px 15px;border-radius: 10px;border: none;font-family: 'Roboto Flex', sans-serif;font-size: 1.5rem;}
.stop-losing__btn {
  white-space: nowrap;
  border-radius: 10px;
  border: none;
}

/* Чекбокс */
.stop-losing__consent {font-family: 'Roboto Flex', sans-serif;font-size: 0.85rem;line-height: 1.4;color: rgba(255, 255, 255, 0.8);font-weight: 200;cursor: pointer;}
.stop-losing__consent input {
  margin-right: 8px;
}


.wave-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 700px;
}



















/* === Footer Section === */
/* .footer {
  background: #000;
  color: #fff;
  padding-top: 60px;
} */
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 1320px;
      z-index: 5;
    position: relative;
}
.footer__col {
  flex: 1 1 50%;
  text-align: right;
}
.footer__col--about {
  flex: 2 1 300px;
  text-align: left;
}
.footer__logo img {
  display: block;
  width: 150px;
  margin-bottom: 20px;
}
.footer__heading {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.footer__text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.3;
  opacity: 1;
  color: #585872;
}
.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__nav li + li {
  margin-top: 10px;
}
.footer__nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.footer__nav a:hover {
  opacity: 0.7;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 15px;
  margin-top: 40px;
  text-align: center;
}
.footer__copy {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
}






.glightbox-clean .gclose {
    opacity: 1;
    right: 20px;
    transform: scale(1.5);
}















/* === Кастомный iframe-модал === */
.case-modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}
.case-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Полупрозрачный фоновый оверлей */
.case-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

/* Диалог занимает весь экран */
.case-modal__dialog {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
}

/* Сам iframe */
.case-modal__iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  outline: none; /* чтобы при фокусе не было рамки вокруг диалога */
}

/* Кнопка закрытия-панель */
.case-modal__closebar {
position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: rgb(0 0 0 / 10%);
    border: none;
    color: #ffffff;
    font-size: 5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex
;
    align-items: start;
    justify-content: center;
    font-family: 'Roboto Flex';
    font-weight: 100;
}
.case-modal__closebar:hover {
  background: rgba(0,0,0,0.4);
}
.case-modal__closebar:focus {
  /* outline: 2px solid #c1ed1d; */
}






















/* === Модалка консультации === */
.consult-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}
.consult-modal[aria-hidden="false"] {
  display: block;
}

/* Полупрозрачный фон */
.consult-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

/* Окно диалога */
.consult-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  padding: 70px 30px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Кнопка Закрыть */
.consult-modal__close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 200;
  color: #333;
  transition: color .2s;
}
.consult-modal__close:hover {
  color: #000;
}

/* Заголовок */
.consult-modal__title {
  font-family: 'Unbounded', cursive;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
  color: #000;
  text-transform: uppercase;
  font-weight: 800;
}
.consult-modal__subtitle {
  font-family: 'Unbounded';
  font-size: 1.3rem;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 30px;
  color: #000;
  font-weight: 200;
  line-height: 1.5;
  width: 80%;
}

/* Форма */
.consult-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
  margin: 0 auto;
}
.consult-modal__field {
  display: flex;
  gap: 10px;
}
.consult-modal__field input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 1.25rem;
  background: #f1f1f1;
  color: #000;
  border-radius: 15px;
}
.consult-modal__field button {
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  border-radius: 15px;
}

/* Чекбокс */
.consult-modal__consent {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.85rem;
  color: #555;
  display: flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
  line-height: 1.3;
}

/* Адаптив */
@media (max-width: 576px) {
  .consult-modal__dialog {
    padding: 24px;
  }
  .consult-modal__title {
    font-size: 1.5rem;
  }
}

input[type="checkbox"] {
  accent-color: #c1ed1d; /* ваш зелёный */
}


/* Убедиться, что контейнер не даёт горизонтального скролла */
.kpi__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Swiper-обёртка */
.kpi__swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px; /* место под кнопки навигации, если нужно */
  overflow: visible;
}

/* Слайды */
.kpi__slide {
  width: 100%;           /* каждый слайд на всю ширину контейнера */
}

/* Если нужно убрать отступы внутри .kpi__item */
.kpi__slide .kpi__item {
  margin: 0;
}

/* Навигационные стрелки */
.kpi__nav--prev,
.kpi__nav--next {
  color: #000;           /* или ваш цвет */
  /* при необходимости абсолютное позиционирование */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}
.kpi__nav--prev {left: -50px;}
.kpi__nav--next {right: -50px;}


















/* базовые стили (как раньше) */
.back-to-top {
  position: fixed;
  top: 0; left: 0;
  width: 100px; height: 100vh;
  background: transparent;
  cursor: pointer;
  z-index: 9999;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgb(86 94 131 / 10%);
}

/* Иконка-стрелка */
.back-to-top__icon {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: 200;
    font-family: 'Unbounded';
    color: #525e7e;
    transition: color 0.2s ease;
    opacity: 0.5;
}





















/* Адаптив */
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
  }
  .footer__col {
    flex: 1 1 100%;
    text-align: center;
  }
  .footer__col--about {
    order: -1;
  }
}

/* Адаптив */
@media (max-width: 992px) {
  .why__item {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 576px) {
  .why__item {
    flex: 1 1 100%;
  }
}


/* адаптив: 1 слайд на мобильных, 2 на планшетах, 3 на десктопах */
@media (min-width: 576px) {
  .swiper-slide img {
    max-width: 350px;
  }
}



/* Адаптив */
@media (max-width: 992px) {
  .cases__item {
    flex-direction: column;
  }
  .cases__image {
    height: 200px; /* задаём фиксированную высоту под изображение */
  }
}


/* Адаптив */
@media (max-width: 992px) {
  .order__inner {
    flex-direction: column;
  }
  .order__sidebar {
    position: relative;
    top: auto;
    margin-bottom: 40px;
  }
}


/* Адаптив */
@media (max-width: 992px) {
  .formats__list {
    flex-direction: column;
    gap: 20px;
  }
}

/* Адаптив */
@media (max-width: 992px) {
  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero__hand {
    display: none;
  }
}
@media (max-width: 576px) {
  .hero__content {
    padding: 80px 15px 40px;
  }
  .hero__title {
    font-size: 2rem;
  }
  .hero__subtitle {
    font-size: 0.9rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}


