/* Устанавливаем размер шрифта для корневого элемента */
html {
  font-size: 18px; /* 1 rem = 18px */
  scroll-behavior: smooth;
}

/* Шрифт для заголовков */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

h1{
  font-size: 1.6rem; /* 27px */
}

h2{
  font-size: 1.5rem; /* 25px */
}

h3{
  font-size: 1.4rem; /* 23px */
}

h4{
  font-size: 1.2rem; /* 21px */
}

/* Поясняющий текст под заголовком*/
.subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
  color: #fff;
}

/* Имитация заголовка в абзаце*/
.imitation_heading1 {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  color: var(--main-light-color);
}

p, span, a, li, input, textarea {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}

button {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.1;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--main-light-color);
  margin: 0;
  padding: 0;
}

/* CSS-переменные для цветов */
:root {
  /* Цвета */
  --main-dark-color: #493330;
  --main-light-color: #CED3D6;
  --accent-color: #00c6fb;
  --text-color: #000000;
  --secondary-text-color: #7B7D7B;
  --divider-color: #d1d7ed;
  --highlight-color: #675859;
}

.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fa-regular,
.far {
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.inline-brand-icon {
  color: var(--accent-color);
  margin-right: 6px;
}

.lk-heading-icon,
.heading-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border-radius: 12px;
  color: #fff;
  background: var(--accent-color);
  box-shadow: 0 12px 26px rgba(0, 166, 255, 0.16);
  font-size: 1rem;
  vertical-align: middle;
}

.heading-brand-icon--automation {
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
}

.heading-brand-icon--content {
  background: linear-gradient(135deg, #00cfff 0%, #ff5ca7 100%);
}

.heading-brand-icon--branding {
  background: linear-gradient(135deg, #00cfff 0%, #c49a3a 100%);
}

.heading-brand-icon--small {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 10px;
  font-size: 0.82rem;
}

.pricing-mini__note i,
.opt i {
  color: var(--accent-color);
}

.opt.active i {
  color: #fff;
}

* {
  border-radius: 5px;
}

header, footer, section {
  border-radius: 0;
}

/* Базовые стили для main */
.main-seo{
  padding-top: 1px;
}

/* Базовые стили для секций и блоков*/
/* Базовые стили для секций*/
section {
  padding: 25px 10px;
  border-bottom: 1px solid var(--divider-color);
  margin: 0; /* убираем внешние отступы между секциями */
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--main-dark-color);
}

/* Базовые стили для класса container*/
.container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 0 0;
}

/* Базовые стили для info-section*/
.info-section {
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 0; /* убрали внешние отступы */
  padding: 80px 30px; /* как у FAQ сверху/снизу щедро */
  border-radius: 8px;
}

.info-section p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.info-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--main-dark-color);
}

.info-section h3 {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 5px;
  color: var(--main-dark-color);
}

/* Увеличенный отступ для заголовков тарифов */
.info-section h3:has(+ .card-grid),
.info-section h3:has(+ .note-box + .card-grid) {
  margin-bottom: 18px;
}

/* Базовые классы для flexbox (для центровки элементов) */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex-column-between {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Базовые универсальные стили для 4-х карточек */
.case-brief{
  margin-top: 42px;
  margin-bottom: 42px;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch; /* 👈 Растягивает карточки */
}

.card {
  flex: 1 1 23%;
  background-color: #fff;
  border: 2px solid var(--divider-color);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;              /* 👇 Новое */
  flex-direction: column;
  justify-content: flex-start
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.27rem;
  color: var(--main-dark-color);
}

/* Заголовки в карточках услуг */
.card h4 {
  margin: 0 0 12px; /* увеличен отступ от заголовка до текста */
  line-height: 1.3; /* согласованная межстрочность */
  color: var(--main-dark-color);
  text-align: left;
}

/* Обычный текст в карточках:
   чуть увеличиваем межстрочность, но не затрагиваем списки внутри карточек */
.card p {
  line-height: calc(1.3em + 6px);
}

/* Текст ссылок в карточках: не белый, как по всему сайту */
.card a {
  color: #000000;
  font-weight: 600;
}

/* === Карточки динамически появляющиеся === */
.step-cards .card-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.step-cards .step-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  width: 280px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.step-cards .step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-cards .arrow {
  font-size: 28px;
  color: #999;
  margin: 0 8px;
}

.step-cards .result {
  border: 2px solid var(--accent-color);
}

.step-cards .step-card h4 {
  color: #3e2b1c; /* Темно-коричневый — замени на свой код, если другой */
  margin-bottom: 8px; /* или больше — 12px, 16px и т.д. */
  line-height: 1.4; /* или 1.5, 1.6 в зависимости от желаемого интервала */
}

.step-cards .step-card p {
  line-height: 1.3; /* или 1.2, если нужно плотнее */
}



/* === Универсальный блок 50/50 (текст слева / изображение справа) === */
.text-columns {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.text-columns.reverse {
  flex-direction: row-reverse;
}

/* Текстовая колонка в блоке .text-columns */
.text-columns .text {
  display: flex;
  flex: 1 1 45%;
  flex-direction: column;
  justify-content: center;
  margin: auto 0; /* ← вертикальное центрирование */  
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  background-color: #fff;
}
/* Заголовок этапа */
.text-columns .text h3 {
  color: var(--main-dark-color); /* фирменный цвет, см. переменные в :root */
  margin-bottom: 15px;
}
/* Список внутри текста */
.text-columns .text .bullet-list {
  padding-left: 20px;
  margin: 0;
}
.text-columns .text .bullet-list li {
  margin-bottom: 10px;
}

/*Стили для картинок*/
.text-columns .image {
  display: flex;
  flex: 1 1 45%;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: center; /* центрируем вертикально */
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  background-color: #fff;
  overflow: hidden;
}

.text-columns .text,
.text-columns .image {
  flex: 1 1 45%;
  max-width: 48%;
}

.text-columns .image > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
}

/* === Универсальный блок с видео и текстом ===*/
.video-block {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.video-block .video {
  flex: 0 1 65%;
}

.video-block .video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-block .text {
  flex: 0 1 30%;
  color: #fff;
}

.video-block .text h2 {
  margin-bottom: 15px;
  color: #ffffff;
  text-align: left;
}

.video-block .text ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.video-block .text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.video-block .text ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* === Универсальный блок 65/35 (с текстом и кнопкой) === */
.demo-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin: 10px auto;
  text-align: center;
}

.demo-line p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
}

.demo-line .button {
  padding: 10px 24px;
  font-size: 1rem;
}


/* === Универсальный блок-сообщение с акцентом === */
.note-box {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 40px auto;
  padding: 24px;
  border-left: 5px solid var(--accent-color);
  max-width: 900px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* === Универсальный блок CTA (призыв к действию внизу) === */
.cta-block {
  background: var(--highlight-color);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 0px;
}

.cta-block .button {
  margin-top: 10px;
}

/* Базовые стили для разных элементов на сайте*/
/* Базовые стили для divider (разделителя) */
.divider{
  height: 3px;
  background-color: var(--main-light-color);
  border: none;
}

/* Скрываем разделитель перед info-блоками */
.info-section + .divider {
  display: none;
}

/* Базовые стили для якорей */
#anchor-company, #anchor-portfolio, #anchor-form{
  scroll-behavior: smooth;
}

/* Базовые стили для ссылок */
a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease; /* Плавный переход цвета при наведении */
}

a:hover {
  color: var(--accent-color);
}

/* Специфичное правило для телефона в минималистичной шапке */
.header--minimal .header__phone {
  color: var(--main-dark-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.header--minimal .header__phone:hover {
  color: var(--accent-color);
}

/* Базовые классы для стилизации кнопок */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  text-align: center;
  vertical-align: middle;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.button:hover {
  background-color: #009ac5;
  color: white;
}

/* Вариант с обводкой — вторичная кнопка */
.button--outline {
  text-align: center;
  vertical-align: middle;
  background-color: white;
  padding: 10px 20px;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}
.button--outline:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Группировка кнопок */
/*по центру*/
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/*по бокам в узкой форме*/
.button-group{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

/* Базовые классы для стилизации иконок */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  box-sizing: border-box;
}
.icon img {
  width: 100%;
  height: 100%;
  display: block; /* Убираем возможные пробелы вокруг изображений */
}

/* Универсальный класс для списков со стрелочками с акцентным цветом*/
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.3;
}
.bullet-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Стилизация Header и её частей*/

.header {
  background-color: var(--main-dark-color);
  color: white;
  padding: 10px 0;
}

.header__top {
  gap: 15px;
}

/* Фиксированное меню */
.header__bottom {
  background-color: var(--main-dark-color);
  width: 100%;
  transition: top 0.3s; /* Анимация для плавного появления */
}

.header__bottom.fixed {
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-radius: 0;
  padding: 5px 15px;
}

/* Логотип и название */
.header__logo {
  text-decoration: none;
}

.header__logo img {
  margin-right: 10px;
}

.header__logo h1 {
  font-weight: bold;
  color: var(--main-light-color);
}

.header__logo h1:hover {
  text-decoration: none;
}

/* Телефон и регион */
.header__contact a {
  color: white;
  text-decoration: none;
  margin-right: 10px;
  text-decoration: underline;
}

.header__contact a:hover {
  color: var(--accent-color);
}

.header__contact .region {
  margin-left: 10px;
  color: white;
}

/* Главное меню (навигация) */
.header__nav {
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  background-color: var(--main-dark-color);
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

/* Активный пункт меню — фирменный голубой */
.nav-menu a.active {
  color: var(--accent-color);
}

.nav-menu a:hover {
  color: var(--accent-color);
}

/* Бургер-меню */
.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-label {
  display: none; /* Скрываем бургер-меню на десктопе */
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0px 0px 0px 15px;
}

.menu-toggle-label .bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  transition: all 0.3s;
}

/* Иконки и кнопка*/
.header__social {
  gap: 10px;
}

.header__social a {
  margin-right: 0px;
}

/* Значок личного кабинета */
.lk-icon {
  color: #007bff;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.lk-icon:hover {
  color: #0056b3;
}

/* Минималистичная шапка для всех страниц кроме главной */
.header--minimal {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header--minimal .header__content {
  align-items: center;
}

.header--minimal .header__left {
  gap: 50px;
}

.header--minimal .header__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header--minimal .header__logo img {
  margin-right: 0;
}

.header--minimal .nav-menu {
  background-color: transparent;
  gap: 30px;
}

.header--minimal .nav-menu a {
  color: var(--main-dark-color);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.header--minimal .nav-menu a:hover {
  color: var(--accent-color);
}

.header--minimal .nav-menu a.active {
  color: var(--accent-color);
  font-weight: 600;
}

/* Правый блок с иконками и телефоном */
.header--minimal .header__right {
  gap: 20px;
}

.header--minimal .header__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header--minimal .header__social .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.header--minimal .header__social .icon:hover {
  transform: scale(1.1);
}

.header--minimal .header__social .icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header--minimal .lk-icon {
  color: var(--main-dark-color);
  font-size: 24px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.header--minimal .lk-icon:hover {
  color: var(--accent-color);
}

/* Мобильная версия минималистичной шапки */
@media (max-width: 768px) {
  .header--minimal .header__left {
    gap: 25px;
  }
  
  .header--minimal .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    gap: 15px;
  }
  
  .header--minimal .menu-toggle-checkbox:checked ~ .nav-menu {
    display: flex;
  }
  
  .header--minimal .menu-toggle-label {
    display: flex;
  }
  
  .header--minimal .menu-toggle-label .bar {
    background-color: var(--main-dark-color);
  }
  
  .header--minimal .header__right {
    gap: 10px;
  }
  
  .header--minimal .header__social {
    gap: 5px;
  }
  
  .header--minimal .header__social .icon {
    width: 28px;
    height: 28px;
  }
  
  .header--minimal .header__social .icon img {
    width: 20px;
    height: 20px;
  }
  
  .header--minimal .header__phone {
    font-size: 14px;
  }
}

/* Стили для слайдера и меню услуг */
.page-home .slider {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-home .slider__content {
  flex: 3;
  position: relative;
  width: 95%;
  height: 420px;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.page-home .slide {
  display: none;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-home .active-slide {
  display: block;
}

/* Медиа-блок внутри слайда: и для фона, и для видео */
.slide-media {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Видео, если установлено через класс slide-bg (альтернатива) */
.slide video.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Подложка с текстом */
.page-home .slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  z-index: 1;
  box-sizing: border-box;
}

/* Внутри подложки */
.page-home .slide-text {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

/* Кнопки навигации */
.page-home .slider__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.page-home .slider__button--prev {
  left: 10px;
}

.page-home .slider__button--next {
  right: 10px;
}

/* Меню услуг */
.page-home .slider__menu {
  flex: 1;
  margin: 0;
}

.page-home .punkty__slider__menu {
  list-style: none;
  padding: 0;
}

.page-home .slider__menu__button {
  display: block;
  margin: 7px 0;
  padding: 12px;
  background-color: var(--highlight-color);
  border: none;
  box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3);
  color: white;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-home .slider__menu__button:hover {
  background-color: var(--main-dark-color);
}

.page-home .slider__menu__button.active {
  background-color: var(--accent-color);
  color: white;
}

/* Стили слайдера на странице Услуги (идентичны главной) */
.page-services .slider {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-services .slider__content {
  flex: 3;
  position: relative;
  width: 95%;
  height: 420px;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.page-services .slide {
  display: none;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-services .active-slide {
  display: block;
}

.page-services .slide-content, .page-services .slide .slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  z-index: 1;
  box-sizing: border-box;
}

/* Правка высоты: гарантируем видимость меню под слайды */
.page-services .slider { align-items: stretch; }
.page-services .slider__menu { display: block; }

.page-services .slider__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.page-services .slider__button--prev { left: 10px; }
.page-services .slider__button--next { right: 10px; }

.page-services .slider__menu { flex: 1; margin: 0; }
.page-services .punkty__slider__menu { list-style: none; padding: 0; }
.page-services .slider__menu__button {
  display: block;
  margin: 7px 0;
  padding: 12px;
  background-color: var(--highlight-color);
  border: none;
  box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3);
  color: white;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.page-services .slider__menu__button:hover { background-color: var(--main-dark-color); }
.page-services .slider__menu__button.active { background-color: var(--accent-color); color: white; }

/* Домашняя страница: фирменный акцент без зелёного градиента */
.page-home .gradient-text {
  background: linear-gradient(45deg, var(--accent-color), #37e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Стилизация секции "Портфолио" */
.portfolio {
  display: flex;
  align-items: center;
  padding: 25px 0;
  color: var(--light-background-color);
}

.portfolio h2 {
  margin-right: 0;
}

.portfolio .flex-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.portfolio__all-link {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.portfolio__all-link:hover {
  background-color: var(--accent-color);
  color: #fff; /* исправление видимости текста на синем фоне */
}

/* Заголовки разделов услуг: стиль как у секционных h2 (Портфолио) */
.text-center,
.section-title,
.packages-title {
  text-align: center;
  color: var(--main-dark-color);
  margin: 0 0 30px;
}

.packages-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: transparent;
  border: none;
  box-shadow: none;
}

.portfolio__filters {
  margin-bottom: 14px;
  padding: 0;
  text-align: center;
}

.filter-button {
  padding: 10px 20px;
  margin: 0 10px;
  background-color: var(--highlight-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-button:hover {
  background-color: var(--main-dark-color);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* чтобы было 3 колонки, не растягивались */
  gap: 20px;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3);
  min-height: 200px;
}

.portfolio__item img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* Обрезать изображение */
  display: block;
  border-radius: 5px;
  transition: transform 0.3s ease;

}

.portfolio__item:hover img {
  transform: scale(1.5);
}

.portfolio__item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column; /* Располагаем текст и кнопку в столбец */
  align-items: center; /* Выравниваем по центру */
  gap: 8px; /* Добавляем небольшой отступ между текстом и кнопкой */
}

.portfolio__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--highlight-color);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.portfolio__btn:hover {
  background-color: var(--accent-color);
  transform: scale(1.05);
  color: #fff;
}

.portfolio__btn i {
  font-size: 0.9rem;
}

/* Иконки в карточках услуг */
.card .icon-lg {
  font-size: 22px;
  color: var(--accent-color);
  margin-right: 8px;
  vertical-align: -2px;
}

/* Ленивая загрузка (плавное появление изображений) */
img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease-in;
  /* Добавьте это, чтобы избежать "скачков" */
  min-height: 180px; 
  background: #f0f0f0;
}
img.loaded {
  opacity: 1;
}

/* Стилизация секции формы обратной связи */
.contact-form {
  background: var(--main-dark-color);
  color: white;
  padding: 80px 10px;
  position: relative;
}

/* убираем сетку на фоне */
.contact-form::before { display: none; }

.contact-form .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form h2 {
  color: white;
  text-align: center;
  margin: 0 auto 30px;
  font-size: 2rem;
  max-width: 680px;
}

.contact-form form {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.contact-form form textarea { grid-column: 1 / -1; }

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px;
  padding: 15px;
  font-size: 1rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 198, 251, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--secondary-text-color);
}

.contact-form .checkbox-container {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  margin: 10px 0;
}

.contact-form .checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.contact-form .button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 20px;
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .button:hover {
  background: #009ac5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 198, 251, 0.3);
}

/* Контентные секции не должны наследовать белый цвет ссылок */
.info-section a:not(.button) {
  color: var(--text-color);
  text-decoration: underline;
}
.info-section a.button { color: #fff; text-decoration: none; }
.info-section a.button:hover { color: #fff; }
/* Видимый текст у вторичной кнопки в info-блоках */
.info-section .button--outline {
  background-color: #fff;
  color: var(--accent-color) !important;
  border: 2px solid var(--accent-color);
}
.info-section .button--outline:hover,
.info-section .button--outline:focus {
  background-color: var(--accent-color);
  color: #fff !important;
}
/* Подзаголовки внутри светлых info-блоков должны быть тёмными */
.info-section .subtitle { color: var(--text-color); }
/* Повышаем специфичность на случай конфликтов */
.info-section p.subtitle { color: var(--text-color) !important; }

/* Таблицы тарифов */
.table-scroll { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pricing-table th,
.pricing-table td { border: 1px solid var(--divider-color); padding: 10px; text-align: left; }
.pricing-table th { background: #f6f7fb; color: var(--main-dark-color); }
.pricing-table td.price { font-weight: 700; color: var(--main-dark-color); white-space: nowrap; }

/* Документация: отступ над подзаголовками */
.page-legal .info-section h3 {
  margin-top: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

#contactForm {
  padding: 10px;
  box-sizing: border-box;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #fff;
  flex-wrap: wrap;
  max-width: 500px;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color); /* если поддерживается браузером */
  cursor: pointer;
}

#contactForm button{
  max-width: 250px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--divider-color);
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--secondary-text-color);
  font-size: 0.89rem;
}

/* Стили для ответного сообщения из успешно отправленной формы обратной связи */
#formMessage {
  font-size: 1rem;
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

#formMessage.success {
  background-color: rgba(0, 198, 251, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

#formMessage.error {
  background-color: rgba(73, 51, 48, 0.1);
  border: 1px solid var(--main-dark-color);
  color: var(--main-dark-color);
}

/* Стили для страниц с кейсами */
/* === HERO (верхний блок) === */
.case-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 207, 255, 0.12), transparent 30%),
    linear-gradient(135deg, var(--highlight-color), var(--main-dark-color));
  color: #fff;
  padding: 78px 10px;
  text-align: center;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.6;
  pointer-events: none;
}

.case-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.case-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.case-hero .subtitle {
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.case-hero .cta-buttons {
  justify-content: center;
}

.case-brief .card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid rgba(73, 51, 48, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-brief .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), rgba(0, 207, 255, 0.24));
  opacity: 0.74;
}

.case-brief .card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 207, 255, 0.22);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.11);
}

.case-brief .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.case-brief .card h3 i {
  color: var(--accent-color);
}

.case-brief .card p,
.case-brief .card li {
  line-height: 1.62;
}

/* === Секция с 4 карточками (Клиент/Задача/Решение/Результат) === */
/* Тут действуют базовые стили*/

/* === Этапы (2-колоночный блок) === */
/* === Кейс: двухколоночный блок с текстом и слайдером === */
.text-columns .swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.text-columns .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}


.text-columns .swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.slide-caption-wrapper {
  text-align: center;
  margin-top: 8px;
}

.text-columns .slide-caption-wrapper {
  text-align: center;
  margin-top: 8px;
}


.text-columns .slide-caption {
  font-size: 0.95rem;
  color: var(--main-dark-color);
  font-weight: bold;
  margin-top: 10px;
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Кнопки навигации */
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-color);
  width: 30px;
  height: 30px;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}


/* === Секция с видео === */
/* HERO-RESULTS (нижний блок с видео и результатами) */
/*Тут действуют базовые стили для видео + Hero-блок*/
.case-hero .video-block {
  text-align: left; /* отменяем центрирование внутри */
}

main:not(.page-services) .info-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

main:not(.page-services) .text-columns {
  gap: 34px;
  margin-bottom: 44px;
}

main:not(.page-services) .text-columns .text {
  padding: 30px;
  border: 1px solid rgba(73, 51, 48, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

main:not(.page-services) .text-columns .text h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

main:not(.page-services) .text-columns .text p {
  color: var(--secondary-text-color);
  line-height: 1.65;
}

main:not(.page-services) .text-columns .image {
  border: 1px solid rgba(73, 51, 48, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

main:not(.page-services) .text-columns .image > img {
  border-radius: 16px;
}

main:not(.page-services) .step-cards .card-sequence {
  gap: 18px;
}

main:not(.page-services) .step-cards .step-card {
  border: 1px solid rgba(73, 51, 48, 0.1);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

main:not(.page-services) .step-cards .result {
  border-color: rgba(0, 207, 255, 0.5);
  box-shadow: 0 18px 44px rgba(0, 207, 255, 0.11);
}

main:not(.page-services) .video-block {
  gap: 46px;
  flex-wrap: nowrap;
  align-items: center;
}

.case-hero > .container.video-block {
  max-width: 1240px;
  text-align: left;
}

main:not(.page-services) .video-block > video,
main:not(.page-services) .video-block .video,
main:not(.page-services) .video-block .case-site-flow {
  flex: 1 1 62%;
  min-width: 0;
}

main:not(.page-services) .video-block > video {
  display: block;
  width: 100%;
  max-width: 760px;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
}

main:not(.page-services) .video-block .text {
  flex: 0 0 clamp(300px, 30%, 420px);
  padding: 4px 0;
}

main:not(.page-services) .video-block .text p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

main:not(.page-services) .video-block .text .button,
main:not(.page-services) .video-block .text .cta-buttons {
  margin-top: 22px;
}

main:not(.page-services) .cta-block {
  position: relative;
  overflow: hidden;
  padding: 92px 20px;
  border-radius: 0;
  background:
    radial-gradient(circle at 24% 22%, rgba(0, 207, 255, 0.16), transparent 30%),
    linear-gradient(135deg, var(--highlight-color), var(--main-dark-color));
}

main:not(.page-services) .cta-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  pointer-events: none;
}

main:not(.page-services) .cta-block__content,
main:not(.page-services) .cta-block > * {
  position: relative;
  z-index: 1;
}

main:not(.page-services) .cta-block h2 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.16;
}

main:not(.page-services) .cta-block p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

main.main-seo:not(.page-services) .cta-block.cta-block--image:not(.holiday-case-cta) {
  background:
    linear-gradient(135deg, rgba(26, 23, 40, 0.72), rgba(73, 51, 48, 0.7)),
    url('../img/cta-bg.webp') center / cover no-repeat;
}

main.main-seo:not(.page-services) .cta-block.cta-block--image:not(.holiday-case-cta)::before {
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 46%);
}

main.main-seo:not(.page-services) .cta-block.cta-block--image:not(.holiday-case-cta) h2 {
  color: #fff;
}

main.main-seo:not(.page-services) .cta-block.cta-block--image:not(.holiday-case-cta) p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(26, 23, 40, 0.22);
}

.case-site-construction .case-hero .video-block {
  max-width: 1120px;
}

.case-site-flow {
  position: relative;
  flex: 1 1 58%;
  min-height: 470px;
  padding: 34px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 207, 255, 0.2), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    rgba(255, 255, 255, 0.055);
  background-size: auto, 92px 92px, 92px 92px, auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 60px rgba(0, 207, 255, 0.055),
    0 28px 80px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.case-site-flow::before,
.case-site-flow::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  pointer-events: none;
}

.case-site-flow::before {
  border: 1px solid rgba(0, 207, 255, 0.2);
  box-shadow: inset 0 0 28px rgba(0, 207, 255, 0.075);
}

.case-site-flow::after {
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 58%),
    radial-gradient(circle at 50% 48%, rgba(0, 207, 255, 0.18), transparent 36%);
  filter: blur(12px);
  opacity: 0.75;
  animation: caseSiteAmbient 12s ease-in-out infinite;
}

.case-site-flow__stage-labels {
  position: absolute;
  top: 18px;
  left: 26px;
  right: 26px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-site-flow__stage-labels span {
  position: relative;
  padding-left: 14px;
}

.case-site-flow__stage-labels span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.85);
  transform: translateY(-50%);
}

.case-site-flow__blueprint {
  position: absolute;
  inset: 58px 42px 42px;
  z-index: 2;
  animation: caseBlueprintPhase 12s cubic-bezier(.22,.61,.36,1) infinite;
}

.case-site-flow__line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-color), rgba(0, 207, 255, 0.35));
  box-shadow: 0 0 22px rgba(0, 207, 255, 0.72);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: caseSiteFlowLine 12s cubic-bezier(.22,.61,.36,1) infinite;
  z-index: 1;
}

.case-site-flow__item {
  position: relative;
  z-index: 2;
  width: min(290px, 42%);
  margin: 0 0 22px;
  padding: 14px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px);
  animation: caseSiteNodePhase 12s ease infinite;
  animation-delay: calc(var(--step) * 0.22s);
}

.case-site-flow__item:nth-child(odd) {
  margin-left: auto;
}

.case-site-flow__item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-color);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.65);
  opacity: 0.86;
  transform: translateY(-50%);
  animation: caseSiteConnectorPulse 12s ease infinite;
  animation-delay: calc(var(--step) * 0.22s);
}

.case-site-flow__item:nth-child(even)::before {
  left: 100%;
}

.case-site-flow__item:nth-child(odd)::before {
  right: 100%;
}

@keyframes caseSiteFlowLine {
  0%, 5% { transform: translateX(-50%) scaleY(0); opacity: 0; }
  16%, 70% { transform: translateX(-50%) scaleY(1); opacity: 1; }
  82%, 100% { transform: translateX(-50%) scaleY(1); opacity: 0.24; }
}

.case-site-flow__interface {
  position: absolute;
  inset: 58px 34px 34px;
  z-index: 4;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    0 0 44px rgba(0, 207, 255, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.965);
  filter: blur(12px) saturate(0.78);
  clip-path: inset(0 50% 0 50% round 18px);
  animation: caseInterfaceReveal 12s cubic-bezier(.22,.61,.36,1) infinite;
}

.case-site-flow__interface img {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  margin-top: 34px;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.035);
  animation: caseInterfaceImage 12s cubic-bezier(.22,.61,.36,1) infinite;
}

.case-site-flow__browser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(73, 51, 48, 0.1);
}

.case-site-flow__browser span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(73, 51, 48, 0.28);
}

.case-site-flow__interface-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(73, 51, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 800;
}

.case-site-flow.is-complete::after,
.case-site-flow.is-complete .case-site-flow__line,
.case-site-flow.is-complete .case-site-flow__blueprint,
.case-site-flow.is-complete .case-site-flow__item,
.case-site-flow.is-complete .case-site-flow__item::before,
.case-site-flow.is-complete .case-site-flow__interface,
.case-site-flow.is-complete .case-site-flow__interface img {
  animation: none !important;
}

.case-site-flow.is-complete .case-site-flow__line {
  opacity: 0.24;
  transform: translateX(-50%) scaleY(1);
}

.case-site-flow.is-complete .case-site-flow__blueprint {
  opacity: 0.26;
  filter: blur(2px);
  transform: scale(0.985);
}

.case-site-flow.is-complete .case-site-flow__item {
  opacity: 0.32;
  transform: translateY(0) scale(0.98);
}

.case-site-flow.is-complete .case-site-flow__item::before {
  opacity: 0.2;
  transform: translateY(-50%) scaleX(0.75);
}

.case-site-flow.is-complete .case-site-flow__interface {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0) saturate(1);
  clip-path: inset(0 0 0 0 round 18px);
}

.case-site-flow.is-complete .case-site-flow__interface img {
  transform: scale(1);
}

@keyframes caseSiteAmbient {
  0%, 100% { opacity: 0.55; transform: translateX(-18%); }
  50% { opacity: 0.9; transform: translateX(18%); }
}

@keyframes caseBlueprintPhase {
  0%, 72% { opacity: 1; filter: blur(0); transform: scale(1); }
  82%, 100% { opacity: 0.26; filter: blur(2px); transform: scale(0.985); }
}

@keyframes caseSiteNodePhase {
  0%, 8% { opacity: 0; transform: translateY(14px) scale(0.96); }
  18%, 64% { opacity: 1; transform: translateY(0) scale(1); }
  76%, 100% { opacity: 0.32; transform: translateY(0) scale(0.98); }
}

@keyframes caseSiteConnectorPulse {
  0%, 12% { opacity: 0; transform: translateY(-50%) scaleX(0.24); }
  22%, 62% { opacity: 0.86; transform: translateY(-50%) scaleX(1); }
  76%, 100% { opacity: 0.2; transform: translateY(-50%) scaleX(0.75); }
}

@keyframes caseInterfaceReveal {
  0%, 48% {
    opacity: 0;
    transform: translateY(20px) scale(0.965);
    filter: blur(14px) saturate(0.78);
    clip-path: inset(0 50% 0 50% round 18px);
  }
  63% {
    opacity: 0.92;
    transform: translateY(4px) scale(0.99);
    filter: blur(4px) saturate(0.95);
    clip-path: inset(0 8% 0 8% round 18px);
  }
  74%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0 round 18px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(8px) saturate(0.82);
    clip-path: inset(0 14% 0 14% round 18px);
  }
}

@keyframes caseInterfaceImage {
  0%, 62% { transform: scale(1.045); }
  76%, 92% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .case-site-flow::after,
  .case-site-flow__line,
  .case-site-flow__blueprint,
  .case-site-flow__item,
  .case-site-flow__item::before,
  .case-site-flow__interface,
  .case-site-flow__interface img {
    animation: none !important;
  }

  .case-site-flow__line {
    opacity: 0.18;
    transform: translateX(-50%) scaleY(1);
  }

  .case-site-flow__item {
    opacity: 0.22;
    transform: none;
  }

  .case-site-flow__interface {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(0 0 0 0 round 18px);
  }
}

.case-holiday-agency {
  --holiday-gold: #d7ad2f;
  --holiday-gold-soft: rgba(215, 173, 47, 0.16);
  --holiday-ink: #1a1728;
  --holiday-cream: #fbf7ef;
  --holiday-champagne: #f2e6d6;
}

.case-holiday-agency .holiday-case-hero {
  background:
    radial-gradient(circle at 24% 20%, rgba(215, 173, 47, 0.18), transparent 28%),
    linear-gradient(135deg, #1a1728 0%, #493330 100%);
}

.case-holiday-agency .case-brief,
.case-holiday-agency .info-section {
  background: linear-gradient(180deg, #fff 0%, #fbf7ef 100%);
}

.case-holiday-agency .card,
.case-holiday-agency .holiday-case-scope__card,
.case-holiday-agency .holiday-case-proof__inner,
.case-holiday-agency .holiday-case-showcase__screen,
.case-holiday-agency .holiday-case-showcase__points div {
  border: 1px solid rgba(215, 173, 47, 0.18);
  box-shadow: 0 18px 44px rgba(73, 51, 48, 0.08);
}

.case-holiday-agency .card,
.case-holiday-agency .holiday-case-scope__card,
.case-holiday-agency .holiday-case-showcase__points div {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.case-holiday-agency .card:hover,
.case-holiday-agency .holiday-case-scope__card:hover,
.case-holiday-agency .holiday-case-showcase__points div:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 173, 47, 0.34);
  box-shadow: 0 24px 58px rgba(73, 51, 48, 0.13);
}

.case-holiday-agency .card h3 i,
.case-holiday-agency .bullet-list li::before,
.case-holiday-agency .price-highlight {
  color: var(--holiday-gold);
}

.case-holiday-agency .holiday-case-image img,
.case-holiday-agency .holiday-case-showcase__screen img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 62px rgba(73, 51, 48, 0.16);
}

.case-holiday-agency .holiday-case-process__list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: holiday-process;
}

.case-holiday-agency .holiday-case-process__list li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(215, 173, 47, 0.16);
  box-shadow: 0 14px 34px rgba(73, 51, 48, 0.06);
  color: var(--secondary-text-color);
  line-height: 1.55;
}

.case-holiday-agency .holiday-case-process__list li::before {
  counter-increment: holiday-process;
  content: counter(holiday-process);
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--holiday-gold), #f5d98a);
  font-weight: 800;
}

.case-holiday-agency .holiday-case-process__list strong {
  color: var(--main-dark-color);
}

.case-holiday-agency .holiday-case-scope {
  background: #fff;
}

.case-holiday-agency .holiday-case-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-holiday-agency .holiday-case-scope__card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 18px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  animation: holidayFadeUp 0.7s ease forwards;
}

.case-holiday-agency .holiday-case-scope__card:nth-child(1) { animation-delay: 0.05s; }
.case-holiday-agency .holiday-case-scope__card:nth-child(2) { animation-delay: 0.11s; }
.case-holiday-agency .holiday-case-scope__card:nth-child(3) { animation-delay: 0.17s; }
.case-holiday-agency .holiday-case-scope__card:nth-child(4) { animation-delay: 0.23s; }
.case-holiday-agency .holiday-case-scope__card:nth-child(5) { animation-delay: 0.29s; }
.case-holiday-agency .holiday-case-scope__card:nth-child(6) { animation-delay: 0.35s; }

.case-holiday-agency .holiday-case-scope__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--holiday-gold), #f5d98a);
}

.case-holiday-agency .holiday-case-scope__card h3 {
  margin: 0 0 10px;
  color: var(--main-dark-color);
  text-align: left;
}

.case-holiday-agency .holiday-case-scope__card p {
  margin: 0;
  color: var(--secondary-text-color);
  line-height: 1.55;
}

.case-holiday-agency .holiday-case-proof {
  padding: 74px 10px;
  background:
    radial-gradient(circle at 82% 24%, rgba(215, 173, 47, 0.18), transparent 30%),
    linear-gradient(135deg, #1a1728 0%, #493330 100%);
  color: #fff;
}

.case-holiday-agency .holiday-case-proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.case-holiday-agency .holiday-case-proof h2 {
  color: #fff;
  text-align: left;
}

.case-holiday-agency .holiday-case-proof p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.case-holiday-agency .holiday-case-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f5d98a;
  font-weight: 800;
}

.case-holiday-agency .holiday-case-proof__note {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 217, 138, 0.26);
}

.case-holiday-agency .holiday-case-showcase {
  background: #fff;
}

.case-holiday-agency .holiday-case-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.case-holiday-agency .holiday-case-showcase__screen {
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  animation: holidayFadeUp 0.7s ease 0.08s forwards;
}

.case-holiday-agency .holiday-case-showcase__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.case-holiday-agency .holiday-case-showcase__slider .swiper-slide {
  display: grid;
  background: #fff;
}

.case-holiday-agency .holiday-case-showcase__slider img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  box-shadow: 0 24px 62px rgba(73, 51, 48, 0.16);
}

.case-holiday-agency .holiday-case-showcase__slider .slide-caption-wrapper {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 173, 47, 0.24);
  box-shadow: 0 12px 28px rgba(73, 51, 48, 0.14);
  backdrop-filter: blur(10px);
}

.case-holiday-agency .holiday-case-showcase__slider .slide-caption {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--holiday-ink);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
  backdrop-filter: none;
}

.case-holiday-agency .holiday-case-showcase__slider .swiper-button-prev,
.case-holiday-agency .holiday-case-showcase__slider .swiper-button-next {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 173, 47, 0.24);
  box-shadow: 0 12px 28px rgba(73, 51, 48, 0.14);
  color: var(--holiday-gold);
  backdrop-filter: blur(10px);
}

.case-holiday-agency .holiday-case-showcase__slider .swiper-button-prev {
  left: 14px;
}

.case-holiday-agency .holiday-case-showcase__slider .swiper-button-next {
  right: 14px;
}

.case-holiday-agency .holiday-case-showcase__slider .swiper-button-prev::after,
.case-holiday-agency .holiday-case-showcase__slider .swiper-button-next::after {
  font-size: 0.95rem;
  font-weight: 800;
}

.case-holiday-agency .holiday-case-showcase__points {
  display: grid;
  gap: 14px;
}

.case-holiday-agency .holiday-case-showcase__points div {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  animation: holidayFadeUp 0.7s ease forwards;
}

.case-holiday-agency .holiday-case-showcase__points div:nth-child(1) { animation-delay: 0.14s; }
.case-holiday-agency .holiday-case-showcase__points div:nth-child(2) { animation-delay: 0.2s; }
.case-holiday-agency .holiday-case-showcase__points div:nth-child(3) { animation-delay: 0.26s; }
.case-holiday-agency .holiday-case-showcase__points div:nth-child(4) { animation-delay: 0.32s; }
.case-holiday-agency .holiday-case-showcase__points div:nth-child(5) { animation-delay: 0.38s; }

.case-holiday-agency .holiday-case-showcase__points strong {
  color: var(--holiday-gold);
}

.case-holiday-agency .holiday-case-showcase__points span {
  color: var(--secondary-text-color);
  line-height: 1.5;
}

.case-holiday-agency .holiday-case-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-holiday-agency .holiday-case-fit__card {
  padding: 30px;
}

.case-holiday-agency .holiday-case-fit__card h3 {
  text-align: left;
}

.case-holiday-agency .holiday-case-fit__card--neutral {
  background: linear-gradient(180deg, #fff, #fbf7ef);
}

.case-holiday-agency .holiday-case-params {
  background: linear-gradient(180deg, #fbf7ef 0%, #fff 100%);
}

.case-holiday-agency .holiday-case-params .section-subtitle {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.case-holiday-agency .holiday-case-params__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.case-holiday-agency .holiday-case-params__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px 24px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 173, 47, 0.18);
  box-shadow: 0 18px 44px rgba(73, 51, 48, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: holidayFadeUp 0.7s ease forwards;
}

.case-holiday-agency .holiday-case-params__card:nth-child(1) { animation-delay: 0.06s; }
.case-holiday-agency .holiday-case-params__card:nth-child(2) { animation-delay: 0.12s; }
.case-holiday-agency .holiday-case-params__card:nth-child(3) { animation-delay: 0.18s; }
.case-holiday-agency .holiday-case-params__card:nth-child(4) { animation-delay: 0.24s; }

.case-holiday-agency .holiday-case-params__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--holiday-gold), #f5d98a);
  opacity: 0.72;
}

.case-holiday-agency .holiday-case-params__card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 173, 47, 0.34);
  box-shadow: 0 24px 58px rgba(73, 51, 48, 0.13);
}

.case-holiday-agency .holiday-case-params__label {
  margin-bottom: 12px;
  color: rgba(73, 51, 48, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-holiday-agency .holiday-case-params__card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--main-dark-color);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.16;
}

.case-holiday-agency .holiday-case-params__card p {
  margin: 0;
  color: var(--secondary-text-color);
  line-height: 1.55;
}

.case-holiday-agency .holiday-case-params__card--price {
  background:
    radial-gradient(circle at 88% 10%, rgba(245, 217, 138, 0.34), transparent 36%),
    #fff;
}

.case-holiday-agency .holiday-case-params__card--price strong {
  color: var(--holiday-gold);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}

.case-holiday-agency .holiday-case-params__card--price .button {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-left: 14px;
  padding-right: 14px;
  white-space: normal;
}

.case-holiday-agency .holiday-case-cta {
  background:
    linear-gradient(rgba(26, 23, 40, 0.62), rgba(26, 23, 40, 0.74)),
    url('/img/cases/Celebrations1.png') center/cover no-repeat;
}

@keyframes holidayFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Блок результата === */
.case-result {
  margin: 40px auto;
  max-width: 900px;
}
.case-result h3 {
  margin-bottom: 20px;
  text-align: center;
  color: var(--main-dark-color);
}
.case-result ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-result ul li {
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
}
.case-result ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 1px;
}

/* === Блок "Протестируйте решение" === */
.cta-block.try-demo {
  background: #f8f9fa;
  padding: 40px 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin: 60px auto;
}
.cta-block.try-demo h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--main-dark-color);
}
.cta-block.try-demo p {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--text-color);
}
.cta-block.try-demo .button {
  padding: 12px 28px;
  font-size: 1rem;
}


/* === Блок с ценой, сроками и кнопкой на калькулятор === */
.card .price-highlight {
  font-size: 1rem;
  color: var(--main-dark-color);
  margin: 5px 0;
}
.card-spaced {
  margin-top: 20px;
}
.card .button {
  margin-top: 15px;
}

/* Модальное окно с калькулятором */
/* Модальное окно */
.modal {
  display: none; /* скрыто при загрузке */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: auto;
}

.modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  max-width: 730px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
}

/* Кнопка закрытия */
.modal-content .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--main-dark-color);
  font-weight: bold;
}

/* Заголовок */
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--main-dark-color);
}

#calculatorForm fieldset {
  margin-top: 15px;
  border: 1px solid #ccc;       /* рамка */
  padding: 5px 20px;           /* внутренние отступы */
  border-radius: 6px;           /* скругление */
}


#calculatorForm fieldset legend {
  margin-bottom: 10px; /* 👈 отступ после "Выберите количество товаров" и "Дополнительные опции" */
  font-weight: 600;
  font-size: 16px;
}

/* Чекбоксы */
#calculatorForm label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px; /* Уменьшенный отступ */
  font-size: 16px;
  line-height: 1.2;
}

#calculatorForm label input {
  margin-right: 0;
}

/* Телефон */
#calculatorForm input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

/* Блок с итогом */
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 12px;
  background-color: #f3f3f3;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* Сообщение об отправке */
#formMessageCalc {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--highlight-color);
  font-weight: 500;
}

/* === CTA - призыв к действию с вопросом: "Не нашли готового решения? Поможем!" === */
/* CTA с фоновым изображением */
.cta-block--image {
  position: relative;
  background-image: url('../img/cta-bg.webp'); /* путь к твоему изображению */
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  overflow: hidden;
}

.cta-block--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85); /* полупрозрачный слой */
  z-index: 1;
}

.cta-block__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}


/* Стилизация footer*/
.footer {
  background-color: var(--main-dark-color);
  padding: 20px 10px; /* Внутренние отступы сверху и снизу, справа и слева */
  color: white;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.footer__menu__uslugi, .footer__gl__menu, .footer__column3 {
  flex: 1 1 200px; /* Гибкая ширина колонок */
  margin-bottom: 15px;
}

.footer__menu__uslugi {
  order: 1; /* Первая колонка слева */
}

.footer__gl__menu {
  order: 2; /* Вторая колонка в центре */
}

.footer__column3 {
  order: 3; /* Третья колонка справа */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer h4 {
  margin-bottom: 10px;
  color: white; /* Цвет заголовка */
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 5px; /* Отступ между пунктами списка */
  line-height: 1;
}

.footer ul li a {
  text-decoration: none;
  line-height: 1;
}

.footer ul li a:hover {
  text-decoration: underline; /* Подчеркивание при наведении */
  color: var(--accent-color)
}

.footer ul li.footer__tariffs-link {
  margin-top: 16px;
  font-weight: 800;
}

.footer ul li.footer__tariffs-link a {
  color: #fff;
}

.footer ul li.footer__tariffs-link a:hover {
  color: var(--accent-color);
}

.footer__communic a {
  display: block;
  margin-bottom: 5px; /* Отступ между элементами */
  margin-right: 10px;
  text-decoration: underline;
  }
  
.footer__communic a:hover {
    color: var(--accent-color);
}

.footer__icons {
  margin-top: 10px; /* Отступ между телефоном и иконками */
}

.footer__icons .icon {
  display: inline-block;
  margin-right: 10px;
}

.footer__dzen, .footer__chat-bot {
  margin-top: 20px; /* Отступ между блоками */
}

.footer__dzen img {
  display: block;
  margin-bottom: 10px; /* Уменьшить отступ после картинки */
}

.footer__chat__icon_button{
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__chat-bot .button {
  margin-top: 0;
}

.footer__info {
  text-align: center; /* Выравнивание текста по центру */
  width: 100%; /* Ширина блока на всю ширину контейнера */
  margin-top: 15px; /* Отступ сверху */
  order: 4;
}

/* Отступ между списком услуг и блоком документов в левой колонке футера */
.footer__menu__uslugi .footer__legal {
  margin-top: 30px;
}

/* Кнопка в подложке слайда — выравнивание по левому краю с текстом */
.page-home .slide-text .button-group {
  justify-content: flex-start;
}

/* === СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ === */

/* Исправляем стили для секции "О нас" */
.company.info-section {
  background-color: #fff;
  color: var(--text-color);
  /* Более мягкая тень, чтобы не выбивалось из остальных карточек */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding-top: 40px;
  padding-bottom: 30px;
}

.company.info-section h2 {
  color: var(--main-dark-color);
}

.company.info-section .subtitle {
  color: var(--text-color);
  margin: 0 auto 20px;
  max-width: 900px;
  text-align: justify;           /* выравнивание по ширине */
  text-justify: inter-word;
  hyphens: auto;                 /* переносы для длинных слов */
}

.company.info-section .cta-buttons .button {
  color: white;
  text-decoration: none;
}

.company.info-section .cta-buttons .button--outline {
  background-color: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.company.info-section .cta-buttons .button--outline:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Секция технологий */
.technologies-section {
  padding: 80px 10px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.tech-item {
  background: white;
  border-radius: 15px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--accent-color);
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tech-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
  margin: 0 auto 12px;
}

.tech-item h3 {
  margin-bottom: 8px;
  color: var(--main-dark-color);
  font-size: 1rem;
}

.tech-item p {
  color: var(--secondary-text-color);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Калькулятор стоимости */
.calculator-section {
  padding: 80px 10px;
  background: var(--main-dark-color);
  color: white;
}

.calculator-section h2,
.calculator-section .section-subtitle {
  color: white;
  text-align: center;
}

.calculator-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.calculator-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.calc-group {
  margin-bottom: 30px;
}

.calc-group label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-color);
}

.checkbox-item span {
  font-weight: 500;
}

.calc-group select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.calc-group select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.calc-result {
  text-align: center;
  margin: 30px 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.result-label {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.result-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.result-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

.calc-cta {
  text-align: center;
}

.calc-cta .button {
  background: var(--accent-color);
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.calc-cta .button:hover {
  background: #009ac5;
  transform: translateY(-2px);
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ АВТОМАТИЗАЦИИ БИЗНЕСА === */

/* Hero-секция с вау-эффектом */
.hero-ai {
  background: linear-gradient(135deg, var(--main-dark-color) 0%, var(--highlight-color) 100%);
  color: white;
  padding: 40px 10px;
  position: relative;
  overflow: hidden;
}

/* Grid pattern for services pages only */
body.page-services .hero-ai {
  background: linear-gradient(135deg, var(--main-dark-color) 0%, var(--highlight-color) 100%) !important;
}

/* Force grid to show - LARGER AND MORE TRANSPARENT */
body.page-services .hero-ai::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0;
  opacity: 1 !important;
  pointer-events: none;
  z-index: 1 !important;
}

/* Services pages: ensure brown hero with grid (already covered by general styles above) */

/* Светлый вариант героя */
.hero--light {
  background: #f5f7f9;
  position: relative;
  overflow: hidden;
  color: var(--main-dark-color); /* override .hero-ai white text */
}
.hero--light h1, .hero--light h2, .hero--light h3, .hero--light p, .hero--light li { color: var(--main-dark-color); }
.hero--light .hero-ai__subtitle { color: #3a3a3a; opacity: 0.9; }
/* Убираем голубые блобы на светлом герое */
.hero--light::before, .hero--light::after { display: none; content: none; }
@keyframes floatBlob { 0% { transform: translateY(0) scale(1); } 50% { transform: translateY(18px) scale(1.05); } 100% { transform: translateY(0) scale(1); } }

/* тонкая анимированная сетка поверх */
/* Убираем остаточный голубой блик */
.hero--light .container::before { content:''; position:absolute; inset:0; background: transparent; pointer-events:none; }

.hero-tabs {
  display: inline-flex;
  gap: 8px;
  background: rgba(0,0,0,0.04);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}
.hero-tab {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--main-dark-color);
}
.hero-tab.active { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); color: var(--main-dark-color); }

.hero-bullets { 
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 12px 0 18px;
  padding-left: 0;
  justify-content: center;
}
.hero-bullets li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  line-height: 1.3;
}
.hero-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.media-mask { border-radius: 24px; overflow: hidden; background: #ffffff; max-width: 560px; border: 1px solid rgba(0,0,0,0.06); }
.media-mask::after { content: ''; position: absolute; inset: 0; background: radial-gradient(1200px 300px at 80% 10%, rgba(0,198,251,0.25), transparent 60%); pointer-events:none; }
/* Bullets under video (right column) */
.hero-bullets--right { margin-top: 12px; }

.hero-trust { display:flex; gap:10px; align-items:center; color:#5a5a5a; margin-top:8px; }
.hero-trust .dot { opacity:0.5; }

/* Ярче акцент на цифрах и убираем зазор на главной */
.hero--light .hero-ai__stats { margin-top: 6px; }
.hero--light .stat-number { color: var(--accent-color); font-weight: 800; }
.hero-stats__disclaimer { margin-top: 4px; font-size: 10px; color: #9AA3AF; text-align: center; }
.hero--light .stat-label { color: #6f6f6f; }
.hero--light .stat-item { min-width: 120px; }
.page-home .main-seo { padding-top: 0; }

/* Keep grid disabled by default, enabled explicitly above for services pages */
.hero-ai::before { display: none; }

/* Override for services pages - enable grid */
body.page-services .hero-ai::before { 
  display: block !important; 
}

.hero-ai .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-ai__title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 760px;
  letter-spacing: -0.02em;
}

.hero-ai--automation .container {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: center;
}

.hero-ai--automation .hero-ai__content {
  max-width: 760px;
}

.gradient-text {
  background: linear-gradient(45deg, var(--accent-color), #00e676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ai__subtitle {
  font-size: 1.08rem;
  line-height: 1.56;
  margin-bottom: 20px;
  opacity: 0.88;
  max-width: 610px;
}

.hero-ai__eyebrow {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

.hero-ai--automation .hero-ai__subtitle {
  max-width: 590px;
}

.hero-ai__buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-ai--automation .hero-ai__buttons {
  margin-bottom: 16px;
}

/* Единый размер шрифта для кнопок в HERO */
.hero-ai .button { font-size: 1rem; padding: 12px 22px; min-height: 40px; border-radius: 12px; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); }
.hero-ai .button.button--secondary { font-size: 1rem; padding: 13px 24px; }

.hero--light .hero-ai__buttons .button,
.hero--light .hero-ai__buttons .button.button--secondary {
  padding: 6px 18px !important;
  min-height: 36px;
  font-size: 0.95rem;
  line-height: 1;
}

.button--primary {
  background: var(--accent-color);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 198, 251, 0.3);
}

.hero-ai__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-ai--automation .hero-ai__stats {
  gap: 22px;
}

.stat-item {
  text-align: left;
  min-width: 150px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 12px 28px rgba(0, 166, 255, 0.18);
}

.stat-label {
  font-size: 0.96rem;
  font-weight: 600;
  opacity: 1;
  line-height: 1.45;
  max-width: 170px;
}

.ba-counter {
  display: inline-block;
  min-width: 1ch;
}

.hero-ai__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Make only the right column aligned to start in grid */
body.page-services .hero-ai .container > .hero-ai__visual {
  align-self: center !important;
}

.ai-animation {
  background: transparent;
  border-radius: 20px;
  padding: 0;
  backdrop-filter: none;
}

/* HERO: видео-робот компактнее и с затемнением */
.hero-ai .ai-animation {
  position: relative;
  padding: 0;                 /* без внутренних отступов вокруг видео */
  overflow: hidden;
  max-width: 560px;           /* компактнее по ширине */
  width: 100%;
  border-radius: 20px;
}
.hero-ai .ai-animation video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-ai .ai-animation::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
  pointer-events: none;
}

.hero-ai--automation .ai-animation {
  max-width: 490px;
}

.hero-ai--automation .process-flow {
  max-width: 450px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero-ai .ai-animation { max-width: 100%; border-radius: 16px; }
}

.process-flow {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flow-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.flow-item:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Интерактивная визуализация */
.automation-map {
  padding: 80px 10px;
  background: #f8f9fa;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  margin-bottom: 50px;
  margin-top: 15px;
}

.business-automation-section {
  overflow: hidden;
}

.business-automation-section .container {
  width: 100%;
}

.business-automation-section p,
.business-automation-card p {
  text-align: center;
  text-justify: auto;
  hyphens: none;
}

.business-automation-grid {
  margin-top: 40px;
}

.business-automation-grid .business-automation-card {
  flex: 1 1 calc(50% - 20px);
  text-align: left;
  border-color: #e8edf3;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.business-automation-grid--three .business-automation-card {
  flex: 1 1 calc(33.333% - 20px);
}

.business-automation-grid--four .business-automation-card {
  flex: 1 1 calc(25% - 20px);
}

.business-automation-card h3,
.business-automation-card h4 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 12px;
}

.business-automation-card p {
  margin: 0;
  max-width: none;
  text-align: left;
  color: var(--secondary-text-color);
  line-height: 1.58;
}

.business-automation-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--accent-color);
  font-size: 1.25rem;
}

.business-automation-card__lead {
  margin-bottom: 18px !important;
}

.business-automation-list {
  margin-top: 0;
}

.business-automation-list li {
  margin-bottom: 10px;
}

.business-automation-card--compact p {
  line-height: 1.5;
}

.business-automation-pains .business-automation-card {
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  border: 1px solid #dfe7f0;
}

.business-automation-pains .business-automation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, rgba(0,166,255,0.65), rgba(39,208,255,0.2));
}

.business-automation-pains .business-automation-card h4 {
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--main-dark-color);
}

.business-automation-pains .business-automation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
  border-color: #cfdceb;
}

.business-automation-page .business-automation-pains .business-automation-card {
  position: relative;
  counter-increment: business-pain-card;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  border: 1px solid #dfe7f0;
}

.business-automation-page .business-automation-pains .business-automation-card::before {
  content: none;
}

.business-automation-page .business-automation-pains .business-automation-grid {
  counter-reset: business-pain-card;
}

.business-automation-page .business-automation-pains .business-automation-card h4 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--main-dark-color);
  margin-bottom: 18px;
}

.business-automation-page .business-automation-pains .business-automation-card h4::before {
  content: counter(business-pain-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,166,255,0.88);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0, 166, 255, 0.22);
  opacity: 0;
  transform: translateY(8px) scale(0.86);
  animation: businessPainNumberIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.business-automation-page .business-automation-pains .business-automation-card h4::after {
  content: '';
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,166,255,0.65), rgba(39,208,255,0.2));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: businessPainProgress 1.05s cubic-bezier(0.22, 0.75, 0.25, 1) forwards;
}

.business-automation-page .business-automation-pains .business-automation-card:nth-child(1) h4::before { animation-delay: 0.08s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(1) h4::after { animation-delay: 0.18s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(2) h4::before { animation-delay: 0.16s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(2) h4::after { animation-delay: 0.26s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(3) h4::before { animation-delay: 0.24s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(3) h4::after { animation-delay: 0.34s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(4) h4::before { animation-delay: 0.32s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(4) h4::after { animation-delay: 0.42s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(5) h4::before { animation-delay: 0.4s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(5) h4::after { animation-delay: 0.5s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(6) h4::before { animation-delay: 0.48s; }
.business-automation-page .business-automation-pains .business-automation-card:nth-child(6) h4::after { animation-delay: 0.58s; }

@keyframes businessPainNumberIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes businessPainProgress {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-automation-page .business-automation-pains .business-automation-card h4::before,
  .business-automation-page .business-automation-pains .business-automation-card h4::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.business-automation-page .business-automation-pains .business-automation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
  border-color: #cfdceb;
}

.business-automation-directions {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.business-automation-directions .business-automation-grid {
  gap: 24px;
}

.business-automation-directions .business-automation-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 24px 24px 20px;
}

.business-automation-directions .business-automation-grid--four .business-automation-card {
  flex: 1 1 calc(25% - 18px);
}

.business-automation-directions .business-automation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 166, 255, 0.22);
}

.business-automation-directions .business-automation-card::before {
  display: none;
}

.business-automation-directions .business-automation-card__icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  margin-bottom: 0;
  background: #fff;
  border: 2px solid rgba(0, 166, 255, 0.45);
  box-shadow: none;
  flex-shrink: 0;
}

.business-automation-directions .business-automation-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.16rem;
  line-height: 1.3;
  margin: 0;
}

.business-automation-directions .business-automation-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  min-height: 54px;
}

.business-automation-directions .business-automation-card__lead {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  margin-bottom: 14px !important;
  border-bottom: 1px solid #e9eef4;
  font-weight: 400;
  color: var(--main-dark-color);
  font-size: 0.95rem;
  line-height: 1.45;
}

.business-automation-directions .business-automation-list {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.business-automation-directions .business-automation-list li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.business-automation-directions {
  background: #f8f9fa;
  box-shadow: none;
}

.business-automation-directions .section-subtitle {
  max-width: 860px;
  margin-bottom: 36px;
}

.business-automation-directions .business-automation-directions__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.business-automation-directions .business-automation-directions__button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 104px;
  padding: 12px 12px 11px;
  border: 1px solid #dce6ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  color: var(--main-dark-color);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.business-automation-directions .business-automation-directions__button::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.business-automation-directions .business-automation-directions__button:hover {
  transform: translateY(-2px);
  border-color: #d2dfeb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.business-automation-directions .business-automation-directions__button.active {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border-color: rgba(0, 166, 255, 0.38);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.11);
  color: var(--main-dark-color);
}

.business-automation-directions .business-automation-directions__button.active::before {
  opacity: 1;
}

.business-automation-directions .business-automation-directions__button-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1dc1ef 0%, var(--accent-color) 100%);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.business-automation-directions .business-automation-directions__button-title {
  display: block;
  max-width: 13ch;
}

.business-automation-directions .business-automation-directions__button:hover .business-automation-directions__button-icon {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 166, 255, 0.16);
}

.business-automation-directions .business-automation-directions__button.active .business-automation-directions__button-icon {
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 12px 24px rgba(0, 166, 255, 0.18);
}

.business-automation-directions .business-automation-directions__content {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 0;
  padding: 0;
  border: 1px solid #e2ebf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.business-automation-directions .business-automation-directions__content.active {
  display: grid;
}

.business-automation-directions__content-main {
  padding: 28px 30px;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
}

.business-automation-directions__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  color: #71879b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.business-automation-directions__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.business-automation-directions__content-main h3 {
  margin: 0 0 12px;
  font-size: 1.34rem;
  line-height: 1.2;
  color: var(--main-dark-color);
}

.business-automation-directions__content-main p {
  margin: 0;
  text-align: left;
  color: var(--secondary-text-color);
  font-size: 0.98rem;
  line-height: 1.58;
}

.business-automation-directions__effect {
  position: relative;
  margin-top: 16px;
  padding-top: 16px;
  color: #486277;
  font-size: 0.9rem;
  line-height: 1.5;
}

.business-automation-directions__effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 1px;
  background: #d8e3ec;
}

.business-automation-directions__cta {
  margin-top: 18px;
}

.business-automation-directions__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-left: 1px solid #e7eef5;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbfe 100%);
}

.business-automation-directions__side-title {
  margin: 0 0 16px;
  color: #5d7387;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.business-automation-directions .business-automation-directions__list {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.business-automation-directions__list li {
  margin-bottom: 0;
  padding: 0 0 12px 22px;
  font-size: 0.97rem;
  line-height: 1.45;
  color: #32495e;
  border-bottom: 1px solid #e7eef4;
}

.business-automation-directions__list li::before {
  content: "";
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 0 0 4px rgba(0, 166, 255, 0.08);
}

.business-automation-directions__list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.business-automation-process-offer {
  padding: 72px 10px;
  background:
    radial-gradient(circle at 82% 20%, rgba(38, 208, 124, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.business-automation-process-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}

.business-automation-process-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.business-automation-process-card__content {
  min-width: 0;
}

.business-automation-process-card__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.business-automation-process-card h2 {
  margin: 0 0 18px;
  text-align: left;
  color: var(--main-dark-color);
}

.business-automation-process-card__lead {
  max-width: 820px;
  margin: 0 0 22px;
  text-align: left;
  color: #30485d;
  font-size: 1.03rem;
  line-height: 1.6;
}

.business-automation-process-card__list {
  margin: 0;
}

.business-automation-process-card__list li {
  margin-bottom: 10px;
  color: #30485d;
  line-height: 1.48;
}

.business-automation-process-card__list li::before {
  color: #26d07c;
}

.business-automation-process-card__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(38, 208, 124, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(38, 208, 124, 0.16), transparent 32%),
    linear-gradient(180deg, #f8fffc 0%, #f3fbff 100%);
}

.business-automation-process-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 14px 30px rgba(0, 166, 255, 0.18);
}

.business-automation-process-card__meta {
  display: grid;
  gap: 10px;
  color: #486277;
  font-size: 0.94rem;
  line-height: 1.45;
}

.business-automation-process-card__meta span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.business-automation-process-card__meta i {
  margin-top: 3px;
  color: var(--accent-color);
}

.business-automation-process-card__actions {
  display: grid;
  gap: 10px;
}

.business-automation-process-card__actions .button {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}

@media (max-width: 900px) {
  .business-automation-process-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .business-automation-process-card__aside {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .business-automation-process-offer {
    padding: 52px 10px;
  }

  .business-automation-process-card h2 {
    font-size: 1.28rem;
  }

  .business-automation-process-card__lead {
    font-size: 0.96rem;
  }
}

.business-automation-results {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #3d2c2a 0%, #5a4543 48%, #473535 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: none;
}

.business-automation-results .container {
  position: relative;
  z-index: 1;
}

.business-automation-results h2,
.business-automation-results .section-subtitle {
  color: #fff;
}

.business-automation-results .section-subtitle {
  opacity: 0.78;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.business-automation-results .business-automation-grid {
  gap: 26px;
}

.business-automation-results .business-automation-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.072));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(8, 15, 25, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 24px 23px 22px;
  opacity: 0;
  transform: translateY(16px);
  animation: businessResultCardIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.business-automation-results .business-automation-card::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 23px;
  width: 42%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.95), rgba(39, 208, 255, 0.26));
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: width 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.business-automation-results .business-automation-card::after {
  content: "Операции";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.business-automation-results .business-automation-card h4 {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 18px 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
}

.business-automation-results .business-automation-card h4::before {
  content: "\f013";
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d9f7ff;
  background: rgba(0, 198, 251, 0.16);
  border: 1px solid rgba(0, 198, 251, 0.34);
  box-shadow: 0 0 18px rgba(0, 198, 251, 0.18);
  font-family: "Font Awesome 6 Free";
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

/* Default result badge: first card. */
.business-automation-results .business-automation-card h4::after {
  content: "-40-80% рутины";
  position: absolute;
  left: 49px;
  top: calc(100% + 7px);
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 198, 251, 0.12);
  border: 1px solid rgba(0, 198, 251, 0.2);
  color: rgba(221, 248, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.business-automation-results .business-automation-card p {
  margin-top: 34px;
  padding-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.business-automation-results .business-automation-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.145), rgba(255, 255, 255, 0.085));
  border-color: rgba(0, 198, 251, 0.32);
  box-shadow: 0 22px 48px rgba(8, 15, 25, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.business-automation-results .business-automation-card:hover::before {
  width: 58%;
  transform: scaleX(1);
}

/* Result badge overrides: cards 2-6. Edit content values here. */
.business-automation-results .business-automation-card:nth-child(2) h4::before { content: "\f0e7"; }
.business-automation-results .business-automation-card:nth-child(2) h4::after { content: "ответ за 3 сек"; }
.business-automation-results .business-automation-card:nth-child(3) h4::before { content: "\f3ed"; }
.business-automation-results .business-automation-card:nth-child(3) h4::after { content: "-30-60% ошибок"; }
.business-automation-results .business-automation-card:nth-child(4) h4::before { content: "\f201"; }
.business-automation-results .business-automation-card:nth-child(4) h4::after { content: "+20-40% времени"; }
.business-automation-results .business-automation-card:nth-child(5) h4::before { content: "\f080"; }
.business-automation-results .business-automation-card:nth-child(5) h4::after { content: "100% прозрачность"; }
.business-automation-results .business-automation-card:nth-child(6) h4::before { content: "\f062"; }
.business-automation-results .business-automation-card:nth-child(6) h4::after { content: "рост без найма"; }

.business-automation-results .business-automation-card:nth-child(n + 4)::after {
  content: "Управление";
}

.business-automation-results .business-automation-card:nth-child(1) { animation-delay: 0.08s; }
.business-automation-results .business-automation-card:nth-child(2) { animation-delay: 0.16s; }
.business-automation-results .business-automation-card:nth-child(3) { animation-delay: 0.24s; }
.business-automation-results .business-automation-card:nth-child(4) { animation-delay: 0.32s; }
.business-automation-results .business-automation-card:nth-child(5) { animation-delay: 0.4s; }
.business-automation-results .business-automation-card:nth-child(6) { animation-delay: 0.48s; }

@keyframes businessResultCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-automation-results .business-automation-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .business-automation-results .business-automation-card,
  .business-automation-results .business-automation-card::before {
    transition: none;
  }
}

.business-automation-fit {
  background: #f8f9fa;
  box-shadow: none;
}

.business-automation-fit .section-subtitle {
  max-width: 820px;
}

.business-automation-card--fit {
  background: #fff;
  border: 1px solid #e6edf5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  padding: 22px 22px 18px;
}

.business-automation-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.business-automation-card--fit h3 {
  margin: 0;
  font-size: 1.18rem;
}

.business-automation-card--fit .business-automation-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.business-automation-fit__list {
  margin: 0;
}

.business-automation-fit__list li {
  margin-bottom: 12px;
  line-height: 1.46;
}

.business-automation-fit__list li::before {
  color: rgba(0, 166, 255, 0.95);
}

.business-automation-card--fit-neutral .business-automation-card__icon {
  background: rgba(148, 163, 184, 0.12);
  color: #5f7388;
}

.business-automation-card--fit-neutral .business-automation-fit__list li::before {
  color: rgba(95, 115, 136, 0.95);
}

.leads-automation-hero .hero-ai__subtitle {
  max-width: 760px;
}

.leads-automation-hero__highlights {
  display: grid;
  gap: 14px;
  width: min(100%, 380px);
}

.leads-automation-hero__highlight {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.leads-automation-hero__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 20px rgba(0, 166, 255, 0.16);
}

.leads-automation-hero__highlight strong {
  display: block;
  margin-bottom: 5px;
  color: var(--main-dark-color);
  font-size: 1rem;
  line-height: 1.3;
}

.leads-automation-hero__highlight span:last-child {
  display: block;
  color: #5f7388;
  font-size: 0.92rem;
  line-height: 1.45;
}

.leads-automation-directions .business-automation-directions__nav {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
}

.leads-automation-directions .business-automation-directions__button {
  min-height: 112px;
  padding: 14px 12px 12px;
}

.leads-automation-directions .business-automation-directions__button-title {
  max-width: none;
  font-size: 0.79rem;
}

.leads-automation-fit .card-grid {
  align-items: stretch;
}

.leads-automation-fit .business-automation-card--fit {
  height: 100%;
}

.leads-automation-compare {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.leads-automation-compare .section-subtitle {
  max-width: 780px;
}

.leads-automation-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.leads-automation-compare__col {
  position: relative;
  padding: 30px 30px 28px;
  border-radius: 18px;
  border: 1px solid #e3ebf3;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.leads-automation-compare__col::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
  opacity: 0.9;
}

.leads-automation-compare__col--before {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.leads-automation-compare__col--after {
  background: linear-gradient(180deg, #fbfeff 0%, #f3fbff 100%);
}

.leads-automation-compare__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #6d8296;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leads-automation-compare__col h3 {
  margin: 0 0 12px;
  color: var(--main-dark-color);
  font-size: 1.5rem;
  line-height: 1.2;
}

.leads-automation-compare__intro {
  margin: 0 0 18px;
  color: #5c7287;
  font-size: 1rem;
  line-height: 1.58;
}

.leads-automation-compare__list {
  margin: 0;
}

.leads-automation-compare__list li {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #32495e;
}

.leads-automation-compare__list li::before {
  color: rgba(0, 166, 255, 0.95);
}

.leads-automation-before-after {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.leads-automation-before-after .section-subtitle {
  max-width: 820px;
}

.leads-automation-before-after__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.leads-automation-before-after__panel {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 30px;
  border-radius: 20px;
  border: 1px solid #e3ebf3;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: leadsAutomationFadeUp 0.72s ease both;
}

.leads-automation-before-after__panel:nth-child(2) {
  animation-delay: 0.12s;
}

.leads-automation-before-after__panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.11);
}

.leads-automation-before-after__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.leads-automation-before-after__panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 208, 124, 0.14), rgba(0, 166, 255, 0));
  pointer-events: none;
}

.leads-automation-before-after__panel--before {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.leads-automation-before-after__panel--after {
  border-color: rgba(38, 208, 124, 0.26);
  background: linear-gradient(180deg, #f9fffc 0%, #f3fbff 100%);
}

.leads-automation-before-after__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: #5f7388;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leads-automation-before-after__panel h3 {
  margin: 0 0 16px;
  color: var(--main-dark-color);
  font-size: 1.58rem;
  line-height: 1.18;
}

.leads-automation-before-after__indicator {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 166, 255, 0.12);
}

.leads-automation-before-after__indicator strong {
  color: var(--main-dark-color);
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.leads-automation-before-after__indicator span {
  color: #6a7f92;
  font-size: 0.82rem;
  line-height: 1.3;
}

.leads-automation-before-after__panel--after .leads-automation-before-after__indicator strong {
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leads-automation-before-after__intro {
  max-width: 560px;
  margin: 0 0 22px;
  color: #526a80;
  font-size: 1rem;
  line-height: 1.58;
}

.leads-automation-before-after__list {
  margin: 0;
}

.leads-automation-before-after__list li {
  margin-bottom: 12px;
  color: #30485d;
  line-height: 1.52;
  animation: leadsAutomationFadeUp 0.58s ease both;
}

.leads-automation-before-after__list li:nth-child(1) { animation-delay: 0.08s; }
.leads-automation-before-after__list li:nth-child(2) { animation-delay: 0.14s; }
.leads-automation-before-after__list li:nth-child(3) { animation-delay: 0.2s; }
.leads-automation-before-after__list li:nth-child(4) { animation-delay: 0.26s; }
.leads-automation-before-after__list li:nth-child(5) { animation-delay: 0.32s; }
.leads-automation-before-after__list li:nth-child(6) { animation-delay: 0.38s; }

.leads-automation-before-after__list li::before {
  color: rgba(0, 166, 255, 0.92);
}

.leads-automation-before-after__panel--after .leads-automation-before-after__list li::before {
  color: rgba(38, 208, 124, 0.98);
}

.leads-automation-impact {
  padding: 34px 10px;
  background: #f7fbfb;
}

.leads-automation-page .leads-automation-before-after,
.leads-automation-page .leads-automation-impact,
.leads-automation-page .leads-automation-actions,
.leads-automation-page .leads-automation-product-section,
.leads-automation-page .cases-roi,
.leads-automation-page .leads-automation-micro-cta,
.leads-automation-page .leads-automation-fit {
  border-bottom: 0;
}

.leads-automation-impact__note {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(38, 208, 124, 0.12) 0%, rgba(0, 166, 255, 0.12) 100%);
  border: 1px solid rgba(0, 166, 255, 0.18);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.leads-automation-impact__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 12px 26px rgba(0, 166, 255, 0.18);
}

.leads-automation-impact__note p {
  margin: 0;
  color: var(--main-dark-color);
  font-size: 1.23rem;
  line-height: 1.48;
  font-weight: 700;
}

.leads-automation-actions {
  background: #ffffff;
}

.leads-automation-actions .section-subtitle {
  max-width: 760px;
}

.leads-automation-actions__flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.leads-automation-actions__item {
  position: relative;
  min-height: 218px;
  padding: 24px 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid #e2ebf2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  animation: leadsAutomationFadeUp 0.62s ease both;
}

.leads-automation-actions__item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 166, 255, 0.32);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.leads-automation-actions__item:nth-child(1) { animation-delay: 0.04s; }
.leads-automation-actions__item:nth-child(2) { animation-delay: 0.1s; }
.leads-automation-actions__item:nth-child(3) { animation-delay: 0.16s; }
.leads-automation-actions__item:nth-child(4) { animation-delay: 0.22s; }
.leads-automation-actions__item:nth-child(5) { animation-delay: 0.28s; }
.leads-automation-actions__item:nth-child(6) { animation-delay: 0.34s; }
.leads-automation-actions__item:nth-child(7) { animation-delay: 0.4s; }
.leads-automation-actions__item:nth-child(8) { animation-delay: 0.46s; }

.leads-automation-actions__item::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.leads-automation-actions__item:hover::before {
  transform: scaleX(1);
}

.leads-automation-actions__num {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.leads-automation-actions__item h3 {
  margin: 0 0 10px;
  color: var(--main-dark-color);
  font-size: 1.08rem;
  line-height: 1.25;
}

.leads-automation-actions__item p {
  margin: 0;
  color: #5f7388;
  font-size: 0.93rem;
  line-height: 1.5;
}

.leads-automation-proof {
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.leads-automation-proof .section-subtitle {
  max-width: 800px;
}

.leads-automation-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.leads-automation-proof__metric {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 166, 255, 0.14);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.leads-automation-proof__metric:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 208, 124, 0.26);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.leads-automation-proof__metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.leads-automation-proof__metric strong {
  display: block;
  margin-bottom: 14px;
  color: var(--main-dark-color);
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.leads-automation-proof__metric span {
  display: block;
  color: #5f7388;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.leads-automation-proof__metric p {
  margin: 10px 0 0;
  color: #6a7f92;
  font-size: 0.9rem;
  line-height: 1.42;
}

.leads-automation-page .case-topic {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--accent-color);
  background: rgba(0, 166, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leads-automation-micro-cta {
  padding: 0 10px 58px;
  background: #f8f9fa;
}

.leads-automation-micro-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 166, 255, 0.16);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.leads-automation-micro-cta__inner p {
  margin: 0;
  color: var(--main-dark-color);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.leads-automation-micro-cta__inner .button {
  flex-shrink: 0;
}

.leads-automation-process .mini-process {
  align-items: stretch;
}

.leads-automation-process .mini-step {
  max-width: 235px;
  border: 1px solid rgba(0, 166, 255, 0.12);
}

.leads-automation-process .mini-step .num {
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
}

.leads-automation-product-section {
  background: #fff;
}

.leads-automation-product-section .section-subtitle {
  max-width: 820px;
}

.leads-automation-packages {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.leads-automation-packages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.leads-automation-package {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 24px;
  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  animation: leadsAutomationFadeUp 0.62s ease both;
}

.leads-automation-package:nth-child(1) { animation-delay: 0.04s; }
.leads-automation-package:nth-child(2) { animation-delay: 0.1s; }
.leads-automation-package:nth-child(3) { animation-delay: 0.16s; }
.leads-automation-package:nth-child(4) { animation-delay: 0.22s; }

.leads-automation-package::before,
.leads-automation-feature::before,
.leads-automation-entry__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.leads-automation-package:hover,
.leads-automation-feature:hover,
.leads-automation-channel:hover,
.leads-automation-entry__card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 208, 124, 0.28);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
}

.leads-automation-package--featured {
  border-color: rgba(38, 208, 124, 0.36);
  background:
    radial-gradient(circle at 88% 8%, rgba(38, 208, 124, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fffc 0%, #f3fbff 100%);
}

.leads-automation-package__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-color);
  background: rgba(0, 166, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leads-automation-package__price {
  margin: -4px 0 14px;
  color: var(--accent-color);
  font-size: 1.12rem;
  font-weight: 800;
}

.leads-automation-package h3,
.leads-automation-feature h3,
.leads-automation-channel h3,
.leads-automation-entry__card h3 {
  margin: 0 0 10px;
  color: var(--main-dark-color);
  line-height: 1.22;
}

.leads-automation-package h3 {
  font-size: 1.24rem;
}

.leads-automation-package p,
.leads-automation-feature p,
.leads-automation-channel p,
.leads-automation-entry__card p {
  margin: 0;
  color: #5f7388;
  line-height: 1.52;
}

.leads-automation-package > p {
  min-height: 72px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.leads-automation-package .bullet-list {
  margin: 0 0 22px;
}

.leads-automation-package .bullet-list li {
  margin-bottom: 9px;
  color: #30485d;
  font-size: 0.92rem;
  line-height: 1.42;
}

.leads-automation-package .button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  margin-top: auto;
}

.leads-automation-included {
  background: #fff;
}

.leads-automation-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.leads-automation-feature {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid #e2ebf2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  animation: leadsAutomationFadeUp 0.62s ease both;
}

.leads-automation-feature:nth-child(1) { animation-delay: 0.04s; }
.leads-automation-feature:nth-child(2) { animation-delay: 0.1s; }
.leads-automation-feature:nth-child(3) { animation-delay: 0.16s; }
.leads-automation-feature:nth-child(4) { animation-delay: 0.22s; }
.leads-automation-feature:nth-child(5) { animation-delay: 0.28s; }
.leads-automation-feature:nth-child(6) { animation-delay: 0.34s; }

.leads-automation-feature__icon,
.leads-automation-entry__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 12px 26px rgba(0, 166, 255, 0.16);
}

.leads-automation-feature h3 {
  font-size: 1.1rem;
}

.leads-automation-feature p,
.leads-automation-channel p {
  font-size: 0.94rem;
}

.leads-automation-channels {
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.leads-automation-channel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.leads-automation-channel {
  padding: 24px 20px 22px;
  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.leads-automation-channel i {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-color);
  font-size: 1.45rem;
}

.leads-automation-channel h3 {
  font-size: 1.08rem;
}

.leads-automation-options {
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.leads-automation-options__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1050px;
  margin: 34px auto 0;
}

.leads-automation-options__list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #30485d;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.leads-automation-options__list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  flex-shrink: 0;
}

.leads-automation-entry {
  background: #fff;
}

.leads-automation-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.leads-automation-entry__card {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid rgba(0, 166, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.leads-automation-entry__card p {
  margin-bottom: 22px;
}

.leads-automation-entry__card .button {
  min-width: min(220px, 100%);
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

@keyframes leadsAutomationFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .leads-automation-before-after__panel,
  .leads-automation-before-after__list li,
  .leads-automation-actions__item,
  .leads-automation-package,
  .leads-automation-feature {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .leads-automation-packages__grid,
  .leads-automation-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .leads-automation-package > p {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .leads-automation-packages__grid,
  .leads-automation-feature-grid,
  .leads-automation-channel-grid,
  .leads-automation-entry__grid {
    grid-template-columns: 1fr;
  }

  .leads-automation-package,
  .leads-automation-feature,
  .leads-automation-channel,
  .leads-automation-entry__card {
    border-radius: 16px;
  }

  .leads-automation-options__list {
    justify-content: flex-start;
  }

  .leads-automation-options__list span,
  .leads-automation-entry__card .button {
    width: 100%;
  }
}

.business-schema {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.schema-area {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.schema-area:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hotspot {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hotspot:hover {
  transform: scale(1.1);
}

.hotspot[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-dark-color);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 10;
}

.area-label {
  font-weight: 600;
  color: var(--main-dark-color);
}

.automation-cta {
  text-align: center;
}

.button--secondary {
  background: var(--main-dark-color);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.button--secondary:hover {
  background: var(--highlight-color);
  transform: translateY(-2px);
}

/* Услуги с акцентом на специализацию */
.services-ai {
  padding: 60px 10px; /* уменьшили отступ сверху */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--accent-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--main-dark-color);
}

.service-card p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-example {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-example strong {
  color: var(--accent-color);
}

.service-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--main-dark-color);
}

/* Тарифы как должности ИИ-сотрудников */
.pricing-ai {
  padding: 80px 10px;
  background: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
  border: 3px solid var(--accent-color);
  transform: scale(1.05);
}

.pricing-card.premium {
  background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color));
  color: white;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.pricing-header h3 {
  margin-bottom: 10px;
  color: var(--main-dark-color);
}

.pricing-card.premium .pricing-header h3 {
  color: white;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

.pricing-card.premium .price {
  color: #00e676;
}

/* Карточки форматов сайтов — стиль как у мини-карточек технологий на главной */
.pricing-card { border: 1px solid #e9ecef; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.pricing-card .pricing-header h3 { color: var(--main-dark-color); }
.pricing-card .pricing-header .price { color: var(--accent-color); }
.pricing-card .pricing-header .role-icon { display:none; }
/* Иконки в шапке карточек форматов (как .tech-icon на главной) */
.pricing-card .pricing-header .tech-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.pricing-card { border-radius: 16px; }

.pricing-features h4 {
  margin-bottom: 10px;
  color: var(--main-dark-color);
}

.pricing-card.premium .pricing-features h4 {
  color: white;
}

.pricing-features p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.pricing-cta {
  text-align: center;
  margin-top: 30px;
}

/* Кнопки в тарифах: компактнее и в одну линию */
.pricing-card .pricing-cta { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; }
.pricing-card .pricing-cta .button,
.pricing-card .pricing-cta .button--outline { padding: 10px 18px; font-size: 0.95rem; }

/* Экспертиза */
.expertise {
  padding: 80px 10px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.expertise-item {
  text-align: center;
  padding: 30px 20px;
}

.expertise-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--accent-color), #00e676);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.expertise-item h3 {
  margin-bottom: 15px;
  color: var(--main-dark-color);
}

.process-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.process-arrow {
  font-size: 2rem;
  color: var(--accent-color);
}

/* Кейсы с ROI */
.cases-roi {
  padding: 80px 10px;
  background: #f8f9fa;
}

.cases-roi__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.cases-roi__header h2 {
  margin-bottom: 0;
  text-align: center;
}

.cases-roi__all-link {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cases-roi__all-link:hover {
  color: var(--main-dark-color);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-content {
  padding: 30px;
}

.case-content h3 {
  margin-bottom: 20px;
  color: var(--main-dark-color);
}

.cases-roi--home .case-content h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cases-roi--home .cases-roi__header {
  margin-bottom: 12px;
}

.cases-roi:not(.cases-roi--home) .cases-roi__all-link {
  display: none;
}

.cases-roi--home .cases-roi__header h2 {
  margin-bottom: 0;
}

.cases-roi--home .section-subtitle {
  margin-top: 0;
  margin-bottom: 40px;
}

.cases-roi--home .case-content p {
  font-size: 0.98rem;
}

.cases-roi--home .stat-value {
  font-size: 1.35rem;
}

.cases-roi__footer {
  text-align: center;
  margin-top: 32px;
}

.call-to-action.info-section > .container > .section-subtitle {
  text-align: center;
  color: var(--secondary-text-color);
}

.portfolio__all-link {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.portfolio__all-link:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.cases-roi__footer-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cases-roi__footer-link:hover {
  color: var(--main-dark-color);
}

.lk-section .section-subtitle {
  text-align: center;
  text-justify: auto;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.case-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.case-content p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.case-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.case-link:hover {
  color: var(--main-dark-color);
}

/* Прозрачность цены */
.price-breakdown {
  padding: 80px 10px;
}

.breakdown-chart {
  max-width: 800px;
  margin: 50px auto;
}

.breakdown-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.breakdown-bar {
  width: 200px;
  height: 20px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), #00e676);
  border-radius: 10px;
  transition: width 1s ease;
}

.breakdown-label h4 {
  margin-bottom: 5px;
  color: var(--main-dark-color);
}

.breakdown-label p {
  color: var(--secondary-text-color);
  margin: 0;
}

.price-breakdown--stages .breakdown-chart {
  max-width: 920px;
}

.price-breakdown--stages .breakdown-item {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
  transition: transform 0.25s ease;
}

.price-breakdown--stages .breakdown-bar {
  width: 220px;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.price-breakdown--stages .breakdown-step {
  margin-bottom: 0;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 166, 255, 0.12);
}

.price-breakdown--stages .bar-fill {
  position: relative;
  flex: 1;
  width: auto !important;
  min-width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-color) 0%, rgba(0, 230, 118, 0.72) 100%);
  overflow: hidden;
  transform-origin: left center;
  transition: none;
}

.price-breakdown--stages .bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  opacity: 0;
  transform: translateX(-120%);
}

.price-breakdown--stages .breakdown-label {
  transition: transform 0.25s ease;
}

.price-breakdown--stages .breakdown-label h4 {
  margin-bottom: 8px;
}

.price-breakdown--stages .breakdown-label p {
  line-height: 1.55;
}

.price-breakdown--stages .breakdown-item:hover .breakdown-step {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--accent-color), #10c6f3);
  box-shadow: 0 12px 26px rgba(0, 166, 255, 0.26);
}

.price-breakdown--stages .breakdown-item:hover .bar-fill {
  transform: scaleX(1.12);
}

.price-breakdown--stages.is-ready .breakdown-item {
  opacity: 0;
  transform: translateY(18px);
}

.price-breakdown--stages.is-ready .breakdown-step {
  opacity: 0;
  transform: translateY(8px) scale(0.94);
}

.price-breakdown--stages.is-ready .bar-fill {
  transform: scaleX(0);
}

.price-breakdown--stages.is-ready .breakdown-label h4,
.price-breakdown--stages.is-ready .breakdown-label p {
  opacity: 0;
  transform: translateY(12px);
}

.price-breakdown--stages.is-visible .breakdown-item {
  animation: implementationStepIn 0.56s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.price-breakdown--stages.is-visible .breakdown-step {
  animation: implementationBadgeIn 0.54s cubic-bezier(0.2, 0.85, 0.22, 1.2) forwards;
}

.price-breakdown--stages.is-visible .bar-fill {
  animation: implementationLineDraw 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.price-breakdown--stages.is-visible .bar-fill::after {
  animation: implementationLinePulse 0.7s ease-out forwards;
}

.price-breakdown--stages.is-visible .breakdown-label h4 {
  animation: implementationTextIn 0.52s ease forwards;
}

.price-breakdown--stages.is-visible .breakdown-label p {
  animation: implementationTextIn 0.52s ease forwards;
}

.price-breakdown--stages.is-visible .breakdown-item:nth-child(1),
.price-breakdown--stages.is-visible .breakdown-item:nth-child(1) .breakdown-step { animation-delay: 0.04s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(1) .bar-fill { animation-delay: 0.18s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(1) .bar-fill::after { animation-delay: 0.48s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(1) .breakdown-label h4 { animation-delay: 0.24s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(1) .breakdown-label p { animation-delay: 0.34s; }

.price-breakdown--stages.is-visible .breakdown-item:nth-child(2),
.price-breakdown--stages.is-visible .breakdown-item:nth-child(2) .breakdown-step { animation-delay: 0.18s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(2) .bar-fill { animation-delay: 0.32s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(2) .bar-fill::after { animation-delay: 0.62s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(2) .breakdown-label h4 { animation-delay: 0.38s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(2) .breakdown-label p { animation-delay: 0.48s; }

.price-breakdown--stages.is-visible .breakdown-item:nth-child(3),
.price-breakdown--stages.is-visible .breakdown-item:nth-child(3) .breakdown-step { animation-delay: 0.32s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(3) .bar-fill { animation-delay: 0.46s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(3) .bar-fill::after { animation-delay: 0.76s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(3) .breakdown-label h4 { animation-delay: 0.52s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(3) .breakdown-label p { animation-delay: 0.62s; }

.price-breakdown--stages.is-visible .breakdown-item:nth-child(4),
.price-breakdown--stages.is-visible .breakdown-item:nth-child(4) .breakdown-step { animation-delay: 0.46s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(4) .bar-fill { animation-delay: 0.6s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(4) .bar-fill::after { animation-delay: 0.9s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(4) .breakdown-label h4 { animation-delay: 0.66s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(4) .breakdown-label p { animation-delay: 0.76s; }

.price-breakdown--stages.is-visible .breakdown-item:nth-child(5),
.price-breakdown--stages.is-visible .breakdown-item:nth-child(5) .breakdown-step { animation-delay: 0.6s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(5) .bar-fill { animation-delay: 0.74s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(5) .bar-fill::after { animation-delay: 1.04s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(5) .breakdown-label h4 { animation-delay: 0.8s; }
.price-breakdown--stages.is-visible .breakdown-item:nth-child(5) .breakdown-label p { animation-delay: 0.9s; }

.price-breakdown--stages.is-complete .breakdown-item,
.price-breakdown--stages.is-complete .breakdown-step,
.price-breakdown--stages.is-complete .bar-fill,
.price-breakdown--stages.is-complete .breakdown-label h4,
.price-breakdown--stages.is-complete .breakdown-label p {
  animation: none;
  opacity: 1;
  transform: none;
}

.price-breakdown--stages.is-complete .bar-fill {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.price-breakdown--stages.is-visible .breakdown-item:hover .breakdown-step {
  animation: none;
  opacity: 1;
  transform: translateY(-1px) scale(1);
}

.price-breakdown--stages.is-visible .breakdown-item:hover .bar-fill {
  animation: none;
  transform: scaleX(1.12);
}

@keyframes implementationStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes implementationBadgeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes implementationLineDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes implementationLinePulse {
  20% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes implementationTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-breakdown--stages.is-ready .breakdown-item,
  .price-breakdown--stages.is-ready .breakdown-step,
  .price-breakdown--stages.is-ready .bar-fill,
  .price-breakdown--stages.is-ready .breakdown-label h4,
  .price-breakdown--stages.is-ready .breakdown-label p {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .price-breakdown--stages .breakdown-item,
  .price-breakdown--stages .breakdown-step,
  .price-breakdown--stages .bar-fill,
  .price-breakdown--stages .breakdown-label {
    transition: none;
  }
}

.timeline {
  margin-top: 60px;
  text-align: center;
}

.timeline h3 {
  margin-bottom: 30px;
  color: var(--main-dark-color);
}

.timeline-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.timeline-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.step-day {
  background: var(--accent-color);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.step-title {
  font-weight: 600;
  color: var(--main-dark-color);
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.workflow-step:hover {
  transform: translateY(-2px);
}

.step-number {
  background: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  margin: 0 0 10px 0;
  color: var(--main-dark-color);
  font-size: 20px;
}

.step-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Анимированная стрелка */
.workflow-arrow {
  position: absolute;
  left: 25px; /* Центрируем по step-number */
  top: 75px; /* Начинаем после первого шага */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--accent-color);
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease;
  transform: translateY(0);
}

.workflow-arrow.visible {
  opacity: 1;
}

.workflow-arrow.animate {
  animation: arrowMove 0.8s ease-in-out;
}

@keyframes arrowMove {
  0% { transform: translateY(0); }
  50% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

/* FAQ */
.faq-section {
  padding: 80px 10px;
  background: white;
}

.faq-grid {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question h3 {
  margin: 0;
  color: var(--main-dark-color);
}

.faq-question i {
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 30px 20px;
  display: none;
  line-height: 1.6;
}

/* Финальный CTA */
.final-cta {
  padding: 80px 10px;
  background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color));
  color: white;
  text-align: center;
}

.final-cta::before { display: none; }

.final-cta h2 {
  margin-bottom: 20px;
  color: white;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-form {
  max-width: 600px;
  margin: 0 auto;
}

.cta-form .button {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.cta-form textarea {
  height: 100px;
  resize: vertical;
  margin-bottom: 20px;
}

.cta-form .checkbox-container {
  justify-content: center;
  margin-bottom: 20px;
}

.cta-form__note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.82;
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* === AI employees page === */
.ai-employees-page .hero-ai__subtitle {
  max-width: 790px;
}

.ai-employees-page {
  overflow-x: hidden;
}

.ai-employees-hero__highlights {
  display: grid;
  gap: 14px;
  width: min(100%, 410px);
}

.ai-employees-hero__highlight {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ai-employees-hero__icon,
.ai-employees-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #26d07c 0%, var(--accent-color) 100%);
  box-shadow: 0 10px 20px rgba(0, 166, 255, 0.16);
}

.ai-employees-hero__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
}

.ai-employees-hero__highlight strong {
  display: block;
  margin-bottom: 5px;
  color: var(--main-dark-color);
  font-size: 1rem;
  line-height: 1.3;
}

.ai-employees-hero__highlight span:last-child {
  display: block;
  color: #5f7388;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ai-employees-signals,
.ai-employees-roles,
.ai-employees-results,
.ai-employees-lk-bridge {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.ai-employees-choice,
.ai-employees-stages {
  background: #ffffff;
}

.ai-employees-signals .section-subtitle,
.ai-employees-roles .section-subtitle,
.ai-employees-lk-bridge .section-subtitle,
.ai-employees-stages .section-subtitle {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.ai-employees-signals .section-subtitle,
.ai-employees-roles .section-subtitle,
.ai-employees-lk-bridge .section-subtitle {
  max-width: 830px;
}

.ai-employees-signals__grid,
.ai-employees-choice__grid,
.ai-employees-lk-bridge__grid {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.ai-employees-signals__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-employees-choice__grid,
.ai-employees-lk-bridge__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-employees-card,
.ai-employees-role {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2ebf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ai-employees-card {
  padding: 26px 24px 24px;
  text-align: left;
}

.ai-employees-card::before,
.ai-employees-role::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.ai-employees-card:hover,
.ai-employees-role:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 166, 255, 0.28);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.ai-employees-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 1.05rem;
}

.ai-employees-card h3 {
  margin: 0 0 12px;
  color: var(--main-dark-color);
  font-size: 1.12rem;
  line-height: 1.3;
}

.ai-employees-card p {
  margin: 0;
  color: #5f7388;
  font-size: 0.96rem;
  line-height: 1.55;
}

.ai-employees-card .button {
  margin-top: 22px;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.ai-employees-roles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 36px;
}

.ai-employees-role {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 20px 22px;
}

.ai-employees-role__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-align: center;
}

.ai-employees-role--featured {
  border-color: rgba(0, 166, 255, 0.32);
  background: linear-gradient(180deg, #fbfeff 0%, #ffffff 100%);
  box-shadow: 0 20px 46px rgba(0, 166, 255, 0.12);
}

.ai-employees-role h3 {
  width: 100%;
  margin: 0;
  color: var(--main-dark-color);
  font-size: 1.16rem;
  line-height: 1.22;
  text-align: center;
}

.ai-employees-role__term {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 166, 255, 0.08);
  color: #526a80;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.ai-employees-role__body {
  flex: 1;
}

.ai-employees-role p {
  margin: 0 0 16px;
  color: #5f7388;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

.ai-employees-role__covers {
  margin-top: 16px;
}

.ai-employees-role__covers > span {
  display: block;
  margin-bottom: 9px;
  color: var(--main-dark-color);
  font-size: 0.86rem;
  font-weight: 800;
}

.ai-employees-role__covers .bullet-list {
  margin: 0;
}

.ai-employees-role__covers .bullet-list li {
  margin-bottom: 8px;
  color: #334b60;
  font-size: 0.9rem;
  line-height: 1.42;
}

.ai-employees-role__footer {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}

.ai-employees-role__price {
  margin-bottom: 14px;
  color: var(--accent-color);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.ai-employees-role .button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin-top: auto;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.ai-employees-results__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.ai-employees-results__panel {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 30px;
  border-radius: 20px;
  border: 1px solid #e2ebf2;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.ai-employees-results__panel--before {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.ai-employees-results__panel--after {
  border-color: rgba(38, 208, 124, 0.28);
  background: linear-gradient(135deg, rgba(38, 208, 124, 0.1) 0%, rgba(0, 166, 255, 0.1) 100%), #fff;
}

.ai-employees-results__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #d8e3ec;
}

.ai-employees-results__panel--after::before {
  background: linear-gradient(90deg, #26d07c 0%, var(--accent-color) 100%);
}

.ai-employees-results__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #6d8296;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-employees-results__panel h3 {
  margin: 0 0 18px;
  color: var(--main-dark-color);
  font-size: 1.42rem;
  line-height: 1.25;
}

.ai-employees-results__panel .bullet-list {
  margin: 0;
}

.ai-employees-results__panel .bullet-list li {
  margin-bottom: 12px;
  color: #30485d;
  line-height: 1.52;
}

.ai-employees-results__panel--after .bullet-list li::before {
  color: rgba(38, 208, 124, 0.98);
}

.ai-employees-lk-bridge .ai-employees-card {
  min-height: 100%;
}

.ai-employees-lk-bridge .ai-employees-card .button {
  display: inline-flex;
}

@media (max-width: 768px) {
  .cases-roi__header {
    flex-direction: column;
    align-items: center;
  }

  .cases-roi__all-link,
  .portfolio__all-link {
    position: static;
  }

  .portfolio .flex-center {
    flex-direction: column;
    align-items: center;
  }
}

/* Модальные окна */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-content h3 {
  margin-bottom: 30px;
  color: var(--main-dark-color);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--secondary-text-color);
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--main-dark-color);
}

.calc-section,
.quiz-section {
  margin-bottom: 20px;
}

.calc-section label,
.quiz-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--main-dark-color);
}

.calc-section select,
.calc-section input,
.quiz-section select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.calc-section select:focus,
.calc-section input:focus,
.quiz-section select:focus {
  border-color: var(--accent-color);
  outline: none;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.calculator-result,
.quiz-result {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.result-header {
  text-align: center;
  margin-bottom: 20px;
}

.savings-amount {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-top: 10px;
}

.result-details {
  text-align: center;
}

.result-details p {
  margin-bottom: 20px;
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-ai .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-ai__title {
    font-size: 2rem;
  }
  
  .hero-ai__buttons {
    flex-direction: column;
  }
  
  .hero-ai__stats {
    justify-content: center;
  }
  
  .process-flow {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .case-stats {
    flex-direction: column;
  }
  
  .breakdown-item {
    flex-direction: column;
    text-align: center;
  }
  
  .breakdown-bar {
    width: 100%;
  }
  
  .timeline-steps {
    flex-direction: column;
  }
}

/* Адаптивность для новых блоков */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .calculator-form {
    padding: 20px;
  }
  
  .result-price {
    font-size: 2rem;
  }
}

/* Адаптивность для новых блоков */
@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .tech-item {
    padding: 15px 10px;
  }
  
  .tech-icon {
    font-size: 1.5rem;
  }
  
  .tech-item h3 {
    font-size: 0.9rem;
  }
  
  .tech-item p {
    font-size: 0.7rem;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .calculator-form {
    padding: 20px;
  }
  
  .result-price {
    font-size: 2rem;
  }
}

/* О нас: мини-факты */
.facts-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap:16px; margin: 20px auto 5px; max-width: 900px; }
.fact { background:#fff; border:1px solid var(--divider-color); border-radius:10px; padding:14px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.fact-number { font-weight:800; font-size:1.3rem; color: var(--accent-color); }
.fact-label { font-size:0.9rem; color: var(--text-color); opacity:0.8; }

/* Личный кабинет: секция */
.lk-section { background: linear-gradient(135deg, rgba(0,198,251,0.08), #fff); }
.lk-grid { display:grid; grid-template-columns: 1fr; gap:30px; align-items:center; }
.lk-features { display:grid; grid-template-columns: 1fr; gap:10px; margin-top:10px; }
.lk-features.two-cols { grid-template-columns: repeat(2, minmax(240px,1fr)); gap:12px; }
@media(max-width: 700px){ .lk-features.two-cols{ grid-template-columns:1fr; } }
.lk-visual { display:none; }
.lk-shot { display:none; }

@media(max-width: 900px){ .lk-grid{ grid-template-columns:1fr; } .lk-visual{ order:-1; } }

/* Прозрачное ценообразование мини‑виджет */
.pricing-mini { background: linear-gradient(180deg, #f6fbfe, #ffffff); padding: 60px 10px; }
.pricing-controls { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; margin: 20px 0; }
.option-group { background:#fff; border:1px solid #e9ecef; border-radius:12px; padding:12px; }
.option-title { font-weight:700; color: var(--main-dark-color); margin-bottom:8px; }
.opt { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #e0e0e0; background:#fff; border-radius:8px; cursor:pointer; margin:4px 6px 0 0; }
.opt.active { background: var(--accent-color); color:#fff; border-color: var(--accent-color); }
.pricing-result { text-align:center; font-weight:800; font-size:1.3rem; color: var(--main-dark-color); margin-top:10px; }
.pricing-cta { text-align:center; margin-top:10px; }

/* HERO: иконки над цифрами и анимация появления */
.hero-ai__stats { position:relative; }
.stat-item { position:relative; padding-top:8px; }
/* Убираем иконки над цифрами (было через ::before) */
.stat-item::before { content: none; }
/* Если захотим вернуть, просто задаём content и отступ */
/* .stat-item::before { content:'\f017'; font-family:'Font Awesome 6 Free'; font-weight:900; color: var(--accent-color); position:absolute; top:-6px; left:50%; transform:translateX(-50%); opacity:0.85; font-size:0.9rem; } */
.stat-item.reveal { animation: statFade 0.8s ease forwards; }
@keyframes statFade { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0);} }

/* Subtle animated hero background (grid glow) */
.hero--light { background: #f5f7f9; }
.hero--light .ai-animation::after { opacity: 0.25; }

.lk-feature { display:flex; align-items:center; gap:14px; background:#ffffff; border:1px solid #e9ecef; border-radius:10px; padding:12px 14px; }
.lk-ico { width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:#fff; background: var(--accent-color); border-radius:8px; font-size:1rem; }

/* Личный кабинет фон — коричневый -> белый */
.lk-section { background: linear-gradient(180deg, #f6fbfe, #ffffff); }


/* === Services theming and scoped tweaks === */
/* Force brown gradient for services hero and CTA (and keep contact forms brown) */
.hero-ai.theme-web { background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color)); }
.final-cta.theme-web,
.contact-form.theme-web { background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color)); }
/* Also support when theme-web is applied on a parent wrapper */
.theme-web .final-cta,
.theme-web .contact-form { background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color)); }
.theme-web .final-cta::before,
.theme-web .contact-form::before { display:none; }

/* Force brown forms on ALL pages */
.final-cta,
.contact-form { 
  background: linear-gradient(135deg, var(--main-dark-color), var(--highlight-color)) !important; 
}
.final-cta::before,
.contact-form::before { 
  display: none !important; 
}

/* Website development color accents (blue → violet) */
.theme-web .gradient-text {
  background: linear-gradient(45deg, #00CFFF, #7A5CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.theme-web .expertise-icon,
.theme-web .bar-fill,
.theme-web .service-icon { background: linear-gradient(45deg, #00CFFF, #7A5CFF); }
.theme-web .price { color: #7A5CFF; }
.theme-web .pricing-card.premium .price { color: #B3A6FF; }

/* Change grid proportions to 1:1 (equal parts) */
body.page-services .hero-ai .container {
  grid-template-columns: 1fr 1fr !important;
}

/* Remove overlay completely from services pages - AGGRESSIVE APPROACH */
body.page-services .hero-ai .ai-animation,
body.page-services .hero-ai .ai-animation *,
body.page-services .hero-ai .website-swiper-container,
body.page-services .hero-ai .website-swiper,
body.page-services .hero-ai .website-swiper *,
body.page-services .hero-ai .browser-window,
body.page-services .hero-ai .browser-window * { 
  background: transparent !important; 
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 400px;
}

/* Force remove any pseudo-elements that might create overlay */
body.page-services .hero-ai .ai-animation::before,
body.page-services .hero-ai .ai-animation::after,
body.page-services .hero-ai .website-swiper-container::before,
body.page-services .hero-ai .website-swiper-container::after,
body.page-services .hero-ai .website-swiper::before,
body.page-services .hero-ai .website-swiper::after {
  display: none !important;
  content: none !important;
}

/* Add subtle background for automation process flow */
body.page-services .hero-ai .process-flow {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100% !important;
  max-width: 500px !important;
  margin-top: 0 !important;
  align-self: flex-start !important;
  transform: translateY(0) !important;
}

/* Increase padding-top for parent container to give more space */
body.page-services .hero-ai .ai-animation {
  padding-top: 18px !important;
}

/* Add background for each individual process step - MEDIUM SIZE + STAIRCASE EFFECT */
body.page-services .hero-ai .flow-item {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  margin: 10px !important;
  font-size: 1.1em !important;
  font-weight: 600 !important;
  transform: scale(1) !important;         /* не увеличиваем ширину по умолчанию */
  transition: all 0.3s ease !important;   /* одинаковая анимация наведения */
  transform-origin: left center !important;
}

/* hover-эффект на всех сервис‑страницах одинаковый */
body.page-services .hero-ai .flow-item:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.05) !important;
}

/* Staircase effect - each item positioned closer to edge/middle */
body.page-services .hero-ai .flow-item:nth-child(1) {
  margin-left: 0 !important;
}
body.page-services .hero-ai .flow-item:nth-child(3) {
  margin-left: 10px !important;
}
body.page-services .hero-ai .flow-item:nth-child(5) {
  margin-left: 20px !important;
}
body.page-services .hero-ai .flow-item:nth-child(7) {
  margin-left: 30px !important;
}

/* Hide slider captions */
body.page-services .slide-caption-wrapper,
body.page-services .slide-caption {
  display: none !important;
}

/* Video container styles */
.website-video-container {
  width: 100%;
  max-width: 500px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.website-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px){ 
  body.page-services .hero-ai .ai-animation { max-width: 100%; } 
}

/* Remove margin between header and hero */
body.page-services .main-seo { padding-top: 0 !important; }
body.page-services .hero-ai { margin-top: 0 !important; }

/* HERO: анимированная сетка - ПРЯМО НА ЭЛЕМЕНТЕ */
.hero--light {
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  animation: gridMove 25s linear infinite;
  background-color: #f5f7f9;
}
@keyframes gridMove { 
  0% { background-position: 0 0, 0 0; } 
  100% { background-position: 60px 60px, 60px 60px; } 
}

/* Портфолио: увеличенный верхний отступ */
.portfolio { padding-top: 60px; }

/* Workflow: единый горизонтальный процесс-паттерн */
.workflow-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.workflow-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--main-dark-color);
}

.mini-process {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: start;
  justify-content: center;
  margin-top: 36px;
}

.mini-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.mini-step .num {
  width: 42px;
  height: 42px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 16px;
}

.mini-step .title {
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 8px;
  color: var(--main-dark-color);
  line-height: 1.28;
}

.mini-step .desc {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.45;
}

.mini-arrow {
  display: none;
}

@media(max-width: 760px) {
  .mini-step {
    min-width: 160px;
  }
}

@media(max-width: 520px) {
  .mini-process {
    flex-direction: column;
    align-items: center;
  }

  .mini-step {
    max-width: 280px;
  }
}

/* === WEBSITE HERO STYLES === */
/* Используем стили hero-ai с фиолетовым градиентом для theme-web */

/* === AUTOMATION SCHEME SEQUENTIAL ANIMATION === */
.process-flow {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Изначально все элементы скрыты */
.flow-item, .flow-arrow {
  opacity: 0;
  transform: translateY(30px);
}

/* Анимация для шагов */
.flow-item {
  animation: stepAppear 0.8s ease forwards;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Анимация для стрелок */
.flow-arrow {
  animation: arrowAppear 0.5s ease forwards;
  font-size: 24px;
  color: #4A90E2;
  font-weight: bold;
}

/* Задержки для последовательного появления */
.flow-item:nth-child(1) { animation-delay: 0.5s; }
.flow-arrow:nth-child(2) { animation-delay: 1.3s; }
.flow-item:nth-child(3) { animation-delay: 1.8s; }
.flow-arrow:nth-child(4) { animation-delay: 2.6s; }
.flow-item:nth-child(5) { animation-delay: 3.1s; }
.flow-arrow:nth-child(6) { animation-delay: 3.9s; }
.flow-item:nth-child(7) { animation-delay: 4.4s; }

/* === SERVICE PAGES: Fancy growing arrows in hero === */
body.page-services .hero-ai .flow-arrow {
  display: none !important; /* hide placeholder arrows - we'll draw with SVG */
}

/* Container for SVG connectors */
body.page-services .hero-ai .process-flow { position: relative; }
body.page-services .hero-ai .process-flow .flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
body.page-services .hero-ai .process-flow .flow-connector {
  fill: none;
  stroke: var(--accent-color, #00CFFF);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
  stroke-dasharray: var(--len, 0);
  stroke-dashoffset: var(--len, 0);
}
body.page-services .hero-ai .process-flow .flow-connector.draw {
  animation: connectorDraw 1.1s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes connectorDraw {
  to { stroke-dashoffset: 0; }
}
body.page-services .hero-ai .process-flow .flow-item { position: relative; z-index: 1; }

/* Ключевые кадры анимации */
@keyframes stepAppear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  70% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes arrowAppear {
  0% { 
    opacity: 0; 
    transform: scale(0.5) rotate(-10deg); 
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% { 
    opacity: 1; 
    transform: scale(1) rotate(0deg); 
  }
}

/* Hover эффекты (сохраняем существующие) */
.flow-item:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* === WEBSITE SWIPER SLIDER === */
.website-swiper-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.website-swiper {
  width: 100%;
  height: 350px;
}

.website-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.browser-window {
  width: 100%;
  max-width: 400px;
  height: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.browser-window:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Remove overlay from browser-window on services pages */
body.page-services .browser-window {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

.browser-controls {
  background: #f5f5f5;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

/* Remove overlay from browser-controls on services pages */
body.page-services .browser-controls {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.controls-dots {
  display: flex;
  gap: 6px;
}

.controls-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
}

.controls-dots span:nth-child(1) { background: #ff5f57; }
.controls-dots span:nth-child(2) { background: #ffbd2e; }
.controls-dots span:nth-child(3) { background: #28ca42; }

.website-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

/* Website Swiper Navigation */
.website-swiper .swiper-button-prev,
.website-swiper .swiper-button-next {
  color: #4A90E2;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.website-swiper .swiper-button-prev:hover,
.website-swiper .swiper-button-next:hover {
  background: #4A90E2;
  color: white;
  transform: scale(1.1);
}

.website-swiper .swiper-button-prev::after,
.website-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}

/* Slide Caption */
.slide-caption-wrapper {
  text-align: center;
  margin-top: 10px;
}

.slide-caption {
  color: white;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(10px);
}

/* Old preview selector styles removed - now using Swiper slider */

/* === CALCULATOR STYLES === */
.calculator-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.calculator {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.calc-step {
  margin-bottom: 40px;
}

.calc-step label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--main-dark-color);
}

.calc-step .options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.calc-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.calc-option:hover {
  border-color: #00CFFF;
  background: rgba(0, 207, 255, 0.05);
}

.calc-option.active {
  border-color: #00CFFF;
  background: rgba(0, 207, 255, 0.1);
  color: #00CFFF;
}

.calc-option i {
  font-size: 2rem;
  color: #00CFFF;
}

.calc-option span {
  font-weight: 600;
  font-size: 1.1rem;
}

.calc-option small {
  font-size: 0.9rem;
  opacity: 0.7;
}

.calc-result {
  background: linear-gradient(135deg, #00CFFF, #7A5CFF);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: white;
  margin-top: 40px;
}

.result-content strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.result-content p {
  opacity: 0.9;
  margin-bottom: 20px;
}

/* === TABS STYLES === */
.tariffs-section {
  padding: 80px 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-button {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.tab-button:hover {
  border-color: #00CFFF;
  background: rgba(0, 207, 255, 0.05);
}

.tab-button.active {
  background: linear-gradient(45deg, #00CFFF, #7A5CFF);
  border-color: transparent;
  color: white;
}

.tab-button i {
  font-size: 1.2rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* === Capabilities (Возможности) === */
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.cap-item i { color: #07b3ff; font-size: 20px; }
@media (max-width: 900px) { .capabilities-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .capabilities-grid { grid-template-columns: 1fr; } }

/* Websites page (theme-web): показываем шаги процесса в столбик, ширина как на автоматизации */
.theme-web .hero-ai .process-flow { flex-direction: column; align-items: flex-start; gap: 12px; }
.theme-web .hero-ai .flow-item {
  display: inline-flex;          /* компактная ширина по содержимому */
  align-self: flex-start;        /* фиксируем поведение независимо от align-items */
  width: auto; min-width: 260px; max-width: none;
  margin-left: 0 !important; transform: none !important;
  transition: all 0.3s ease !important;
}

/* Websites hero: align button sizing with automation hero */
.theme-web .hero-ai .button,
.theme-web .hero-ai .button--outline,
.theme-web .hero-ai .button--primary {
  font-size: 16px;
  padding: 10px 20px;
}

/* === THEME-WEB: Morphing tech icon visual (Idea #3) === */
/* === THEME-WEB: Browser mock with assembling UI (relevant to websites) === */
.theme-web .browser-visual{display:flex;justify-content:center;align-items:center;width:100%;}
.theme-web .browser-window{position:relative;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.15);border-radius:14px;width:min(560px,46vw);box-shadow:0 20px 60px rgba(0,0,0,0.25);overflow:hidden;animation:floatWin 10s ease-in-out infinite}
.theme-web .browser-controls{display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,0.1);background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02))}
.theme-web .browser-controls span{width:10px;height:10px;border-radius:50%;background:#ff5f57}
.theme-web .browser-controls span:nth-child(2){background:#ffbd2e}
.theme-web .browser-controls span:nth-child(3){background:#28ca42}
.theme-web .browser-body{position:relative;padding:16px 16px 22px 16px}
.theme-web .ui-row{display:flex;gap:12px;margin-bottom:12px}
.theme-web .block{height:16px;border-radius:8px;background:linear-gradient(90deg,rgba(255,255,255,0.2),rgba(255,255,255,0.35));opacity:0;transform:translateY(8px);animation:rowIn .9s ease forwards}
.theme-web .block-lg{flex:2}
.theme-web .block-md{flex:1}
.theme-web .block-sm{width:80px}
.theme-web .ui-row:nth-child(1) .block{animation-delay:.1s,.2s}
.theme-web .ui-row:nth-child(2) .block{animation-delay:.25s}
.theme-web .ui-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:6px}
.theme-web .card{height:54px;border-radius:10px;background:linear-gradient(135deg,rgba(0,207,255,.18),rgba(122,92,255,.18));border:1px solid rgba(255,255,255,0.18);box-shadow:0 8px 20px rgba(0,0,0,0.12);opacity:0;transform:scale(.98);animation:cardIn .8s ease forwards}
.theme-web .card:nth-child(1){animation-delay:.35s}
.theme-web .card:nth-child(2){animation-delay:.45s}
.theme-web .card:nth-child(3){animation-delay:.55s}
.theme-web .card:nth-child(4){animation-delay:.65s}
.theme-web .card:nth-child(5){animation-delay:.75s}
.theme-web .card:nth-child(6){animation-delay:.85s}
.theme-web .scanline{position:absolute;left:0;right:0;top:-40px;height:80px;background:linear-gradient(180deg,transparent,rgba(0,207,255,.12),transparent);filter:blur(0.5px);animation:scanMove 5s linear infinite}

@keyframes rowIn{to{opacity:1;transform:translateY(0)}}
@keyframes cardIn{to{opacity:1;transform:scale(1)}}
@keyframes scanMove{0%{top:-60px}100%{top:100%}}
@keyframes floatWin{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

@media (prefers-reduced-motion: reduce){
  .theme-web .browser-window,.theme-web .block,.theme-web .card,.theme-web .scanline{animation:none}
}

/* === Unified service hero metrics pattern === */
.hero-ai__title .gradient-text {
  display: inline;
}

body.page-services .hero-ai--metrics {
  padding: 56px 10px 58px;
}

body.page-services .hero-ai--metrics .container {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr) !important;
  gap: 42px;
  align-items: start;
}

body.page-services .hero-ai--metrics .hero-ai__content {
  max-width: 660px;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}

body.page-services .hero-ai--metrics .hero-ai__title {
  font-size: clamp(1.95rem, 3.9vw, 3.35rem);
  line-height: 1.2;
  margin: 0 0 18px;
  max-width: 680px;
}

body.page-services .hero-ai--metrics .hero-ai__title .gradient-text {
  line-height: 1.2;
}

body.page-services .hero-ai--metrics .hero-ai__subtitle {
  max-width: 620px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
}

body.page-services .hero-ai--metrics .hero-ai__buttons {
  margin: 0;
}

body.page-services .hero-ai--metrics .hero-ai__visual {
  position: relative;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  padding-left: 8px;
  align-self: center;
}

body.page-services .hero-ai--metrics .hero-ai__visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.12) 0%, rgba(0, 207, 255, 0) 72%);
  pointer-events: none;
}

body.page-services .hero-ai--metrics .hero-ai__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 32px 38px;
  width: min(100%, 540px);
}

body.page-services .hero-ai--metrics .stat-item {
  min-width: 0;
  max-width: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.page-services .hero-ai--metrics .stat-number {
  font-size: clamp(2.45rem, 4vw, 3.9rem);
  margin-bottom: 10px;
  text-shadow: none;
  display: inline-flex;
  align-items: flex-end;
  align-self: flex-start;
  min-height: 1.25em;
  gap: 0.12em;
}

body.page-services .hero-ai--metrics .stat-label {
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 170px;
  color: rgba(255, 255, 255, 0.58);
}

body.page-services .hero-ai--metrics .stat-number--text {
  white-space: nowrap;
}

body.page-services .hero-ai--metrics .stat-number--stacked {
  display: block;
  line-height: 0.92;
  min-height: 1.9em;
  white-space: normal;
}

body.page-services .hero-ai--metrics .stat-unit {
  font-size: 0.52em;
  line-height: 1;
  margin-bottom: 0.14em;
  letter-spacing: -0.01em;
}

body.page-services .hero-ai--metrics .hero-stats__disclaimer {
  margin-top: 18px;
  max-width: 540px;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

body.page-services .hero-ai--metrics .button {
  min-height: 46px;
  padding: 0px 22px;
  border-radius: 16px;
  box-sizing: border-box;
}

body.page-services .hero-ai--metrics .button--outline {
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

body.page-services .hero-ai--metrics .button--outline:hover,
body.page-services .hero-ai--metrics .button--outline:focus {
  background: var(--accent-color);
  color: #fff;
}

/* === Website development page refinement === */
.website-development-page .website-value {
  padding: 72px 10px 58px;
  background: #fff;
}

.website-development-page .website-value .section-subtitle {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.website-development-page .website-value .expertise-grid {
  margin: 40px 0 0;
  gap: 22px;
}

.website-development-page .website-value .expertise-item {
  text-align: left;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(73, 51, 48, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(73, 51, 48, 0.08);
}

.website-development-page .website-value .expertise-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 18px;
  border-radius: 16px;
  font-size: 1.35rem;
}

.website-development-page .website-value .expertise-item p {
  margin: 0;
  line-height: 1.62;
  color: var(--secondary-text-color);
}

.website-development-page .tariffs-section {
  padding: 74px 10px 86px;
  background:
    linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.website-development-page .tariffs-section .section-subtitle {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.website-development-page .tariffs-tabs {
  margin-top: 34px;
}

.website-development-page .tariffs-section .tabs-nav {
  margin-bottom: 36px;
}

.website-development-page .tariffs-section .pricing-grid {
  margin-top: 0;
  align-items: stretch;
  gap: 24px;
}

.website-development-page .tariffs-section .pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 28px 28px;
  border: 1px solid rgba(73, 51, 48, 0.1);
  box-shadow: 0 18px 42px rgba(73, 51, 48, 0.09);
}

.website-development-page .tariffs-section .pricing-card.featured {
  border: 2px solid rgba(122, 92, 255, 0.55);
  box-shadow: 0 24px 56px rgba(49, 54, 149, 0.16);
}

.website-development-page .tariffs-section .pricing-header {
  margin-bottom: 22px;
}

.website-development-page .tariffs-section .price {
  font-size: 1.85rem;
}

.website-development-page .tariffs-section .pricing-features {
  flex: 1;
}

.website-development-page .tariffs-section .pricing-features .bullet-list {
  margin: 0;
}

.website-development-page .tariffs-section .pricing-features li {
  line-height: 1.5;
}

.website-development-page .tariffs-section .pricing-cta {
  margin-top: 26px;
}

.website-development-page .website-audit-offer {
  padding: 76px 10px;
  background: #f8f9fa;
}

.website-development-page .website-audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(122, 92, 255, 0.18);
  box-shadow: 0 22px 52px rgba(49, 54, 149, 0.12);
}

.website-development-page .website-audit-card__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #7A5CFF;
  font-weight: 700;
  font-size: 0.92rem;
}

.website-development-page .website-audit-card h2 {
  text-align: left;
  margin-bottom: 14px;
}

.website-development-page .website-audit-card p {
  color: var(--secondary-text-color);
  line-height: 1.62;
}

.website-development-page .website-audit-card .bullet-list {
  margin: 22px 0 0;
}

.website-development-page .website-audit-card__aside {
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.08), rgba(122, 92, 255, 0.12));
  border: 1px solid rgba(122, 92, 255, 0.2);
  text-align: center;
}

.website-development-page .website-audit-card__price {
  margin-bottom: 10px;
  color: #7A5CFF;
  font-size: 2rem;
  font-weight: 800;
}

.website-development-page .website-audit-card__aside p {
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.website-development-page .website-audit-card__aside .button {
  width: 100%;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.18;
  white-space: normal;
}

.website-development-page .price-breakdown--web {
  padding: 70px 10px 76px;
  background: #fff;
}

.website-development-page .price-breakdown--web .section-subtitle {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.website-development-page .price-breakdown--web .breakdown-chart {
  margin: 42px auto 46px;
}

.website-development-page .price-breakdown--web .timeline {
  max-width: 940px;
  margin: 50px auto 0;
  padding: 32px;
  border-radius: 18px;
  background: #f8f9fa;
  border: 1px solid rgba(73, 51, 48, 0.08);
}

.website-development-page .price-breakdown--web .timeline-steps {
  gap: 18px;
}

.website-development-page .price-breakdown--web .timeline-step {
  min-width: 180px;
  padding: 0 8px;
}

.website-development-page .price-breakdown--web .step-day {
  background: linear-gradient(45deg, #00CFFF, #7A5CFF);
}

.website-development-page .cases-roi {
  padding: 76px 10px 82px;
  background:
    linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.website-development-page .cases-roi .section-subtitle {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.website-development-page .cases-roi .cases-grid {
  gap: 28px;
  margin-top: 42px;
}

.website-development-page .cases-roi .case-card {
  border: 1px solid rgba(73, 51, 48, 0.08);
  box-shadow: 0 16px 38px rgba(73, 51, 48, 0.09);
}

.website-development-page .cases-roi .case-content {
  padding: 28px;
}

.website-development-page .final-cta {
  padding: 78px 10px 84px;
}

.website-development-page .final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.website-development-page .faq-section {
  padding: 70px 10px;
}

@media (max-width: 900px) {
  .website-development-page .price-breakdown--web .timeline {
    padding: 26px 18px;
  }

  .website-development-page .website-audit-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .website-development-page .website-value,
  .website-development-page .tariffs-section,
  .website-development-page .website-audit-offer,
  .website-development-page .price-breakdown--web,
  .website-development-page .cases-roi,
  .website-development-page .final-cta,
  .website-development-page .faq-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .website-development-page .website-value .expertise-item,
  .website-development-page .tariffs-section .pricing-card,
  .website-development-page .website-audit-card {
    padding: 24px 20px;
  }
}

.marketing-page .marketing-losses,
.marketing-page .marketing-control,
.marketing-page .marketing-fit,
.marketing-page .marketing-process,
.marketing-page .marketing-cases,
.marketing-page .marketing-tariffs {
  padding: 74px 10px;
}

.marketing-page .marketing-losses {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.marketing-page .marketing-losses__grid,
.marketing-page .marketing-control__grid,
.marketing-page .marketing-cases__grid {
  display: grid;
  gap: 22px;
}

.marketing-page .marketing-losses__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-page .marketing-losses__card,
.marketing-page .marketing-control__card,
.marketing-page .marketing-fit__card,
.marketing-page .marketing-case-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 138, 62, 0.14);
  box-shadow: 0 16px 38px rgba(74, 46, 25, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.marketing-page .marketing-losses__card {
  padding: 26px 24px;
  min-height: 170px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}

.marketing-page .marketing-losses__card:nth-child(1) { animation-delay: 0.05s; }
.marketing-page .marketing-losses__card:nth-child(2) { animation-delay: 0.11s; }
.marketing-page .marketing-losses__card:nth-child(3) { animation-delay: 0.17s; }
.marketing-page .marketing-losses__card:nth-child(4) { animation-delay: 0.23s; }
.marketing-page .marketing-losses__card:nth-child(5) { animation-delay: 0.29s; }
.marketing-page .marketing-losses__card:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marketing-page .marketing-losses__card::before,
.marketing-page .marketing-control__card::before,
.marketing-page .marketing-case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00CFFF 0%, #41CFE6 28%, #FF8A3E 72%, #FF7A29 100%);
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.marketing-page .marketing-losses__card:hover,
.marketing-page .marketing-control__card:hover,
.marketing-page .marketing-fit__card:hover,
.marketing-page .marketing-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(74, 46, 25, 0.12);
  border-color: rgba(255, 138, 62, 0.26);
}

.marketing-page .marketing-losses__card:hover::before,
.marketing-page .marketing-control__card:hover::before,
.marketing-page .marketing-case-card:hover::before {
  transform: scaleX(1);
}

.marketing-page .marketing-losses__card h3,
.marketing-page .marketing-control__card h3,
.marketing-page .marketing-fit__card h3,
.marketing-page .marketing-case-card h3 {
  margin: 0 0 12px;
  color: var(--main-dark-color);
  text-align: left;
}

.marketing-page .marketing-losses__card p,
.marketing-page .marketing-control__card p,
.marketing-page .marketing-case-card dd {
  color: var(--secondary-text-color);
  line-height: 1.55;
}

.marketing-page .marketing-control {
  background: #f8f9fa;
}

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

.marketing-page .marketing-control__card {
  padding: 30px;
}

.marketing-page .marketing-control__icon,
.marketing-page .marketing-fit__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #00CFFF, #FF8A3E);
  box-shadow: 0 12px 28px rgba(255, 122, 41, 0.22);
}

.marketing-page .marketing-control__card .bullet-list,
.marketing-page .marketing-fit__card .bullet-list {
  margin-top: 18px;
}

.marketing-page .marketing-control__card .bullet-list li::before,
.marketing-page .marketing-fit__card .bullet-list li::before {
  color: #ff7a29;
}

.marketing-page .marketing-plan-offer {
  padding: 78px 10px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 138, 62, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.marketing-page .marketing-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 138, 62, 0.18);
  box-shadow: 0 22px 52px rgba(74, 46, 25, 0.1);
}

.marketing-page .marketing-plan-card__aside {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.marketing-page .marketing-plan-card:hover .marketing-plan-card__aside {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(255, 122, 41, 0.16);
  border-color: rgba(255, 138, 62, 0.34);
}

.marketing-page .marketing-plan-card__eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ff7a29;
  font-weight: 700;
  font-size: 0.92rem;
}

.marketing-page .marketing-plan-card h2 {
  text-align: left;
  margin-bottom: 22px;
}

.marketing-page .marketing-plan-card p {
  color: var(--secondary-text-color);
  line-height: 1.62;
}

.marketing-page .marketing-plan-card__lead {
  max-width: 980px;
  color: var(--main-dark-color);
}

.marketing-page .marketing-plan-card .bullet-list {
  margin: 30px 0 0;
}

.marketing-page .marketing-plan-card .bullet-list li {
  margin-bottom: 12px;
}

.marketing-page .marketing-plan-card .bullet-list li::before {
  color: #ff7a29;
}

.marketing-page .marketing-plan-card__result {
  margin: 30px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.08), rgba(255, 138, 62, 0.1));
  border: 1px solid rgba(255, 138, 62, 0.16);
}

.marketing-page .marketing-plan-card__aside {
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.08), rgba(255, 138, 62, 0.14));
  border: 1px solid rgba(255, 138, 62, 0.22);
  text-align: center;
}

.marketing-page .marketing-plan-card__price {
  margin-bottom: 8px;
  background: linear-gradient(56deg, #00CFFF 0%, #41CFE6 24%, #FF8A3E 68%, #FF7A29 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.marketing-page .marketing-plan-card__caption {
  margin-bottom: 18px;
  font-weight: 700;
}

.marketing-page .marketing-plan-card__meta {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  color: #5f7388;
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: left;
}

.marketing-page .marketing-plan-card__meta span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.marketing-page .marketing-plan-card__meta i {
  margin-top: 3px;
  color: #ff7a29;
}

.marketing-page .marketing-plan-card__aside .button {
  width: 100%;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.18;
  white-space: normal;
}

.marketing-page .marketing-fit {
  background: #fff;
}

.marketing-page .marketing-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.marketing-page .marketing-fit__card {
  padding: 30px;
}

.marketing-page .marketing-fit__card--neutral .marketing-fit__head span {
  background: linear-gradient(135deg, #7b8794, #ff8a3e);
}

.marketing-page .marketing-fit__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.marketing-page .marketing-fit__head span {
  flex: 0 0 48px;
  margin-bottom: 0;
}

.marketing-page .marketing-process {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.marketing-page .marketing-process .mini-process {
  align-items: stretch;
}

.marketing-page .marketing-process .mini-step {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s ease forwards;
  border-top: 4px solid rgba(255, 138, 62, 0.32);
}

.marketing-page .marketing-process .mini-step:nth-child(1) { animation-delay: 0.06s; }
.marketing-page .marketing-process .mini-step:nth-child(2) { animation-delay: 0.12s; }
.marketing-page .marketing-process .mini-step:nth-child(3) { animation-delay: 0.18s; }
.marketing-page .marketing-process .mini-step:nth-child(4) { animation-delay: 0.24s; }
.marketing-page .marketing-process .mini-step:nth-child(5) { animation-delay: 0.3s; }

.marketing-page .marketing-process .mini-step .num {
  background: linear-gradient(135deg, #00CFFF, #FF8A3E);
}

.marketing-page .marketing-cases {
  background: #fff;
}

.marketing-page .marketing-cases__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-page .marketing-case-card {
  padding: 28px;
}

.marketing-page .marketing-case-card__tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ff7a29;
  background: rgba(255, 138, 62, 0.1);
  font-weight: 700;
  font-size: 0.85rem;
}

.marketing-page .marketing-case-card dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.marketing-page .marketing-case-card dl div {
  padding-top: 14px;
  border-top: 1px solid rgba(73, 51, 48, 0.1);
}

.marketing-page .marketing-case-card dt {
  margin-bottom: 4px;
  color: var(--main-dark-color);
  font-weight: 800;
}

.marketing-page .marketing-case-card dd {
  margin: 0;
}

.marketing-page .marketing-tariffs {
  background: #f8f9fa;
}

.marketing-page .marketing-tariffs .note-box {
  margin: 0 0 24px;
  border-left-color: #ff7a29;
}

.marketing-page .marketing-tariffs .card {
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.marketing-page .marketing-tariffs .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(74, 46, 25, 0.1);
}

.marketing-page .marketing-tariffs__recommended {
  border: 2px solid rgba(255, 138, 62, 0.36);
  box-shadow: 0 20px 52px rgba(255, 122, 41, 0.12);
}

.marketing-page .marketing-tariffs__badge {
  display: inline-flex;
  margin: -2px 0 12px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #00CFFF, #FF8A3E);
  font-size: 0.82rem;
  font-weight: 800;
}

.marketing-page .marketing-final-cta h3 {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.18;
  text-align: center;
}

.marketing-page .marketing-final-cta__subtitle,
.marketing-page .marketing-final-cta__note {
  max-width: 820px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  line-height: 1.6;
}

.marketing-page .marketing-final-cta__note {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.marketing-page .marketing-final-cta input:focus,
.marketing-page .marketing-final-cta textarea:focus {
  border-color: #ff8a3e;
  box-shadow: 0 0 0 3px rgba(255, 138, 62, 0.16);
}

@media (max-width: 900px) {
  .marketing-page .marketing-losses__grid,
  .marketing-page .marketing-control__grid,
  .marketing-page .marketing-fit__grid,
  .marketing-page .marketing-cases__grid {
    grid-template-columns: 1fr;
  }

  .marketing-page .marketing-plan-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketing-page .marketing-losses,
  .marketing-page .marketing-control,
  .marketing-page .marketing-fit,
  .marketing-page .marketing-process,
  .marketing-page .marketing-cases,
  .marketing-page .marketing-tariffs {
    padding: 48px 10px;
  }

  .marketing-page .marketing-plan-offer {
    padding: 42px 10px;
  }

  .marketing-page .marketing-plan-card {
    padding: 24px 20px;
  }

  .marketing-page .marketing-plan-card__aside {
    padding: 22px 18px;
  }
}

.tariffs-page {
  background: #f8f9fa;
}

.tariffs-page__hero {
  padding-top: 72px;
  padding-bottom: 42px;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.tariffs-page__hero h1 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--main-dark-color);
}

.tariffs-page__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.tariffs-page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2ebf2;
  color: var(--main-dark-color);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tariffs-page__nav a:hover {
  color: var(--accent-color);
  border-color: rgba(0, 207, 255, 0.34);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.tariffs-page__section {
  padding: 64px 10px;
  background: #f8f9fa;
}

.tariffs-page__section:nth-of-type(even) {
  background: #fff;
}

.tariffs-page__section h2 {
  text-align: center;
  margin-bottom: 14px;
}

.tariffs-page__subheading {
  margin: 34px 0 20px;
  color: var(--main-dark-color);
}

.tariffs-page .pricing-grid,
.tariffs-page .card-grid {
  margin-top: 24px;
}

.tariffs-page .card,
.tariffs-page .pricing-card {
  background: #fff;
}

.tariffs-page__archive {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2ebf2;
}

.tariffs-page__archive summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--main-dark-color);
}

.tariffs-page__archive p {
  margin: 12px 0 0;
  color: var(--secondary-text-color);
}

.tariffs-page__polygraphy {
  margin-top: 28px;
}

@media (max-width: 640px) {
  .tariffs-page__hero,
  .tariffs-page__section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tariffs-page__nav {
    justify-content: flex-start;
  }
}

.gradient-text--marketing {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #41CFE6 24%, #AAC89A 40%, #FF8A3E 68%, #FF7A29 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gradient-text--automation {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #28D7D5 24%, #1FD6B2 44%, #30D38D 68%, #3CCF7C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-ai__title .gradient-text--multiline,
.hero-ai--automation .gradient-text--automation {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.gradient-text--sites {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #3CC4F3 24%, #6196F8 40%, #7A6AFD 68%, #7A5CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gradient-text--content {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #4BC5EE 24%, #B28FD8 40%, #FF78B7 68%, #FF5CA7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gradient-text--branding {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #48C9EA 24%, #BFA48A 40%, #D3B064 68%, #C49A3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.gradient-text--presentations {
  background: linear-gradient(56deg, #00CFFF 0%, #00CFFF 10%, #4CC4EB 24%, #C68EA3 40%, #FF7067 68%, #FF3B30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

body.page-services .hero-ai--presentations .hero-ai__subtitle {
  max-width: 560px;
}

body.page-services .hero-ai--presentations .hero-ai__stats {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 28px 36px;
  max-width: 440px;
}

body.page-services .hero-ai--presentations .stat-number {
  font-size: clamp(2.55rem, 4vw, 3.75rem);
}

body.page-services .hero-ai--presentations .stat-label {
  max-width: 220px;
}

/* Service motion system: scoped enhancements for service pages only */
:root {
  --motion-fast: 300ms;
  --motion-base: 840ms;
  --motion-slow: 1400ms;
  --motion-hero: 1120ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-distance: 20px;
  --motion-stagger: 105ms;
}

body.page-services .motion-reveal,
body.page-services .motion-flow__item,
body.page-services .motion-progress {
  will-change: transform, opacity;
}

body.page-services {
  overflow-x: hidden;
}

html.motion-ready body.page-services .motion-reveal,
html.motion-ready body.page-services .motion-stagger-group > .motion-reveal {
  opacity: 0;
  transform: translate3d(0, var(--motion-distance), 0);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
  transition-delay: var(--motion-delay, 0ms);
}

html.motion-ready body.page-services .motion-reveal--left {
  transform: translate3d(calc(var(--motion-distance) * -1), 0, 0);
}

html.motion-ready body.page-services .motion-reveal--right {
  transform: translate3d(var(--motion-distance), 0, 0);
}

html.motion-ready body.page-services .motion-reveal--button {
  transform: translate3d(0, 12px, 0);
}

html.motion-ready body.page-services .motion-reveal.is-visible,
html.motion-ready body.page-services .motion-stagger-group.is-visible > .motion-reveal,
html.motion-ready body.page-services .motion-stagger-group > .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.motion-ready body.page-services .motion-hero-intro {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--hero-intro-duration, 900ms) var(--motion-ease),
    transform var(--hero-intro-duration, 900ms) var(--motion-ease);
  transition-delay: var(--hero-intro-delay, 0ms);
  will-change: transform, opacity;
}

html.motion-ready body.page-services .motion-hero-intro--button {
  transform: translate3d(0, 22px, 0) scale(0.98);
}

html.motion-ready body.page-services .motion-hero-intro--visual {
  opacity: 1;
  transform: translate3d(0, 30px, 0);
}

html.motion-ready body.page-services .motion-hero-intro.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.page-services .motion-hero {
  overflow: hidden;
}

body.page-services .motion-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(0, 198, 251, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 198, 251, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: serviceGridDrift 18s linear infinite;
}

body.page-services .motion-hero .hero-ai__content {
  position: relative;
  z-index: 2;
}

body.page-services .hero-ai__visual {
  isolation: isolate;
}

body.page-services .hero-ai__visual .stat-item,
body.page-services .leads-automation-hero__highlight {
  transition:
    transform var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

body.page-services .hero-ai__visual .stat-item:hover,
body.page-services .leads-automation-hero__highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 198, 251, 0.42);
}

body.page-services .hero-ai .button:hover,
body.page-services .hero-ai .button:focus-visible,
body.page-services .hero-ai .button--outline:hover,
body.page-services .hero-ai .button--outline:focus-visible,
body.page-services .hero-ai .button--secondary:hover,
body.page-services .hero-ai .button--secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 198, 251, 0.24);
  outline: 2px solid rgba(0, 198, 251, 0.35);
  outline-offset: 3px;
}

body.page-services .hero-ai .button,
body.page-services .button.button--primary,
body.page-services .button.button--outline,
body.page-services .button--outline {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.page-services [class$="__eyebrow"],
body.page-services [class*="__eyebrow "] {
  overflow-wrap: anywhere;
}

.leads-automation-page .button,
.leads-automation-page .button--outline {
  min-width: 0;
  box-sizing: border-box;
}

.leads-automation-page .hero-ai__buttons {
  max-width: min(100%, calc(100vw - 40px));
  box-sizing: border-box;
}

.leads-automation-page .hero-ai__buttons .button,
.leads-automation-page .hero-ai__buttons .button--outline {
  width: auto;
  max-width: 100%;
}

@media (max-width: 520px) {
  .leads-automation-page :not(.hero-ai__buttons) > .button,
  .leads-automation-page :not(.hero-ai__buttons) > .button--outline {
    width: 100%;
    max-width: min(100%, calc(100vw - 40px));
    padding-left: 16px;
    padding-right: 16px;
  }

  .leads-automation-page .leads-automation-micro-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .leads-automation-page .leads-automation-micro-cta__inner .button {
    width: 100%;
    max-width: 100%;
  }

  body.page-services .case-card,
  body.page-services .case-image,
  body.page-services .case-content {
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
  }

  body.page-services .case-image img {
    max-width: 100%;
  }
}

body.page-services .hero-ai .process-flow .flow-item,
body.page-services .hero-ai .process-flow .flow-arrow {
  opacity: 1;
  transform: none;
  animation: none;
}

body.page-services .hero-ai .process-flow.automation-hero-flow-ready .flow-item {
  opacity: 0;
  transform: translateY(16px);
  animation: stepAppear 0.9s var(--motion-ease) forwards;
}

body.page-services .motion-hero-dashboard,
body.page-services .motion-browser-scene,
body.page-services .motion-automation-flow,
body.page-services .motion-lead-signal,
body.page-services .motion-ai-team-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 540px);
  max-width: 100%;
  margin: 10px auto 0;
  max-height: 480px;
  pointer-events: none;
}

body.page-services .hero-ai.motion-hero .container {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
}

body.page-services .motion-hero .hero-ai__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 32vw, 480px);
  overflow: hidden;
}

body.page-services .motion-hero .hero-ai__visual::before {
  display: none;
  content: none;
}

body.page-services .service-metrics-strip {
  padding: 32px 10px 30px;
  background:
    linear-gradient(180deg, rgba(0, 198, 251, 0.075) 0%, rgba(0, 198, 251, 0.035) 100%),
    #fbfeff;
  border-top: 2px solid rgba(0, 198, 251, 0.24);
  border-bottom: 1px solid rgba(73, 51, 48, 0.09);
}

body.page-services .service-metrics-strip .container {
  max-width: 1180px;
}

body.page-services .service-metrics-strip .hero-ai__stats,
body.page-services .service-metrics-strip .leads-automation-hero__highlights,
body.page-services .service-metrics-strip .ai-employees-hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

body.page-services .service-metrics-strip .stat-item,
body.page-services .service-metrics-strip .leads-automation-hero__highlight,
body.page-services .service-metrics-strip .ai-employees-hero__highlight {
  min-height: 0;
  padding: 8px 18px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(73, 51, 48, 0.12);
  border-radius: 0;
  box-shadow: none;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform var(--motion-fast) var(--motion-ease),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

body.page-services .service-metrics-strip .stat-item:first-child,
body.page-services .service-metrics-strip .leads-automation-hero__highlight:first-child,
body.page-services .service-metrics-strip .ai-employees-hero__highlight:first-child {
  border-left: 0;
}

body.page-services .service-metrics-strip .stat-item:hover,
body.page-services .service-metrics-strip .leads-automation-hero__highlight:hover,
body.page-services .service-metrics-strip .ai-employees-hero__highlight:hover {
  transform: translateY(-2px);
  background: rgba(0, 198, 251, 0.045);
  border-radius: 10px;
  box-shadow: none;
}

body.page-services .service-metrics-strip .stat-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  color: var(--accent-color);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: none;
}

body.page-services .service-metrics-strip .stat-prefix,
body.page-services .service-metrics-strip .stat-unit {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  line-height: 1;
}

body.page-services .service-metrics-strip .stat-prefix:not(.stat-prefix--numeric) {
  align-self: center;
  margin-right: 0.38em;
  font-size: 0.48em;
  font-weight: 700;
  transform: translateY(-0.08em);
}

body.page-services .service-metrics-strip .stat-prefix--numeric,
body.page-services .service-metrics-strip .stat-unit--tight {
  margin: 0;
}

body.page-services .service-metrics-strip .stat-unit--spaced {
  margin-left: 0.16em;
}

body.page-services .service-metrics-strip .stat-label,
body.page-services .service-metrics-strip .leads-automation-hero__highlight span:last-child,
body.page-services .service-metrics-strip .ai-employees-hero__highlight span:last-child {
  max-width: none;
  color: var(--secondary-text-color);
  font-size: 0.92rem;
  line-height: 1.42;
}

body.page-services .service-metrics-strip .leads-automation-hero__highlight,
body.page-services .service-metrics-strip .ai-employees-hero__highlight {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}

body.page-services .service-metrics-strip .leads-automation-hero__icon,
body.page-services .service-metrics-strip .ai-employees-hero__icon {
  width: 42px;
  height: 42px;
  box-shadow: none;
}

body.page-services .service-metrics-strip .leads-automation-hero__highlight strong,
body.page-services .service-metrics-strip .ai-employees-hero__highlight strong {
  color: var(--main-dark-color);
}

body.page-services .service-metrics-strip .hero-stats__disclaimer {
  width: 100%;
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(73, 51, 48, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

body.page-services .motion-hero-dashboard {
  min-height: clamp(160px, 18vw, 230px);
  display: grid;
  align-items: end;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 0.8fr 1.1fr 1.4fr;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 198, 251, 0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 198, 251, 0.08), rgba(255, 255, 255, 0.08));
}

body.page-services .motion-hero-dashboard span {
  display: block;
  height: var(--bar-height, 34px);
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(0, 198, 251, 0.72), rgba(170, 200, 154, 0.28));
  transform-origin: bottom;
  animation: serviceBarRise var(--motion-hero) var(--motion-ease) both;
}

body.page-services .motion-hero-dashboard span:nth-child(1) { --bar-height: clamp(70px, 8vw, 115px); animation-delay: 120ms; }
body.page-services .motion-hero-dashboard span:nth-child(2) { --bar-height: clamp(105px, 12vw, 165px); animation-delay: 240ms; }
body.page-services .motion-hero-dashboard span:nth-child(3) { --bar-height: clamp(135px, 15vw, 205px); animation-delay: 360ms; }

body.page-services .motion-hero-dashboard i {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: clamp(28px, 4vw, 46px);
  height: clamp(86px, 10vw, 150px);
  border-bottom: 2px solid rgba(0, 198, 251, 0.9);
  border-right: 2px solid rgba(0, 198, 251, 0.68);
  transform: skew(-24deg) scaleX(0);
  transform-origin: left bottom;
  animation: serviceLineDraw var(--motion-slow) var(--motion-ease) 420ms both;
}

body.page-services .motion-browser-scene {
  min-height: clamp(260px, 25vw, 380px);
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(0, 198, 251, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 198, 251, 0.1), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.08);
}

body.page-services .motion-browser-scene__top {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(18px, 2vw, 26px);
}

body.page-services .motion-browser-scene__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

body.page-services .motion-browser-scene__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(12px, 1.5vw, 18px);
}

body.page-services .motion-browser-scene__grid i,
body.page-services .motion-browser-scene__form {
  display: block;
  min-height: clamp(48px, 5vw, 78px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(0, 198, 251, 0.16);
  animation: serviceInterfaceIn var(--motion-hero) var(--motion-ease) both;
}

body.page-services .motion-browser-scene__grid i:nth-child(1) { grid-column: 1 / -1; min-height: clamp(70px, 7vw, 105px); animation-delay: 80ms; }
body.page-services .motion-browser-scene__grid i:nth-child(2) { animation-delay: 180ms; }
body.page-services .motion-browser-scene__grid i:nth-child(3) { animation-delay: 260ms; }
body.page-services .motion-browser-scene__grid i:nth-child(4) { grid-column: 1 / -1; animation-delay: 340ms; }

body.page-services .motion-browser-scene__form {
  margin-top: 10px;
  width: 64%;
  min-height: clamp(36px, 3.8vw, 56px);
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.62), rgba(170, 200, 154, 0.34));
  animation-delay: 460ms;
}

body.page-services .motion-automation-flow,
body.page-services .motion-lead-signal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  min-height: clamp(190px, 19vw, 290px);
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 198, 251, 0.08), rgba(255, 255, 255, 0.06));
}

body.page-services .motion-automation-flow::before,
body.page-services .motion-lead-signal::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.2), rgba(0, 198, 251, 0.9), rgba(170, 200, 154, 0.6));
  transform: scaleX(0);
  transform-origin: left;
  animation: servicePlainLineDraw var(--motion-slow) var(--motion-ease) 260ms both;
}

body.page-services .motion-automation-flow span,
body.page-services .motion-lead-signal span {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(0, 198, 251, 0.38);
  background: radial-gradient(circle at 35% 35%, rgba(0, 198, 251, 0.86), rgba(255, 255, 255, 0.18) 46%, rgba(58, 31, 26, 0.28));
  animation: serviceNodeIn var(--motion-hero) var(--motion-ease) both;
}

body.page-services .motion-automation-flow span:nth-child(2),
body.page-services .motion-lead-signal span:nth-child(2) { animation-delay: 160ms; }
body.page-services .motion-automation-flow span:nth-child(3),
body.page-services .motion-lead-signal span:nth-child(3) { animation-delay: 320ms; }
body.page-services .motion-automation-flow span:nth-child(4),
body.page-services .motion-lead-signal span:nth-child(4) { animation-delay: 480ms; }

body.page-services .motion-lead-signal i {
  position: absolute;
  left: 8%;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c6fb;
  animation: serviceSignalMove 2200ms var(--motion-ease) 600ms both;
}

body.page-services .motion-ai-team-panel {
  min-height: clamp(310px, 30vw, 440px);
  padding: clamp(20px, 2.6vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(0, 198, 251, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0, 198, 251, 0.08), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

body.page-services .motion-ai-team-panel__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 158px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 198, 251, 0.32);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(58, 31, 26, 0.92), rgba(85, 50, 42, 0.92));
  color: #fff;
  transform: translate(-50%, -50%);
  animation: serviceAiCoreIn var(--motion-hero) var(--motion-ease) both;
}

body.page-services .motion-ai-team-panel__core span {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
}

body.page-services .motion-ai-team-panel__core i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-color);
}

body.page-services .motion-ai-team-panel__core i:nth-child(2) { left: 18px; bottom: 18px; }
body.page-services .motion-ai-team-panel__core i:nth-child(3) { right: 18px; top: 18px; }
body.page-services .motion-ai-team-panel__core i:nth-child(4) { right: 18px; bottom: 18px; }

body.page-services .motion-ai-team-panel__role {
  position: absolute;
  display: grid;
  gap: 9px;
  width: clamp(118px, 12vw, 156px);
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  animation: serviceInterfaceIn var(--motion-hero) var(--motion-ease) both;
}

body.page-services .motion-ai-team-panel__role::before {
  content: "";
  position: absolute;
  width: clamp(34px, 5vw, 70px);
  height: 1px;
  background: rgba(0, 198, 251, 0.42);
}

body.page-services .motion-ai-team-panel__role b {
  color: #fff;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
  line-height: 1.2;
}

body.page-services .motion-ai-team-panel__role span {
  display: block;
  width: 72%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.76), rgba(170, 200, 154, 0.34));
}

body.page-services .motion-ai-team-panel__role--sales {
  left: clamp(18px, 3vw, 34px);
  top: clamp(24px, 4vw, 46px);
  animation-delay: 120ms;
}

body.page-services .motion-ai-team-panel__role--sales::before {
  right: -48%;
  bottom: -16px;
  transform: rotate(26deg);
}

body.page-services .motion-ai-team-panel__role--product {
  right: clamp(18px, 3vw, 34px);
  top: clamp(28px, 4vw, 54px);
  animation-delay: 240ms;
}

body.page-services .motion-ai-team-panel__role--product::before {
  left: -46%;
  bottom: -14px;
  transform: rotate(-24deg);
}

body.page-services .motion-ai-team-panel__role--finance {
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(28px, 4vw, 56px);
  animation-delay: 360ms;
}

body.page-services .motion-ai-team-panel__role--finance::before {
  right: -46%;
  top: -14px;
  transform: rotate(-24deg);
}

body.page-services .motion-ai-team-panel__role--executive {
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(28px, 4vw, 56px);
  animation-delay: 480ms;
}

body.page-services .motion-ai-team-panel__role--executive::before {
  left: -46%;
  top: -14px;
  transform: rotate(24deg);
}

body.page-services .motion-ai-team-panel__pulse {
  position: absolute;
  left: calc(50% - 5px);
  top: clamp(24px, 4vw, 46px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  animation: serviceAiPulse 2600ms var(--motion-ease) 800ms infinite;
}

body.page-services .motion-hero-dashboard,
body.page-services .motion-browser-scene,
body.page-services .motion-automation-flow,
body.page-services .motion-lead-signal,
body.page-services .motion-ai-team-panel {
  min-height: clamp(330px, 30vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(0, 198, 251, 0.1), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

body.page-services .motion-hero-dashboard *,
body.page-services .motion-browser-scene *,
body.page-services .motion-automation-flow *,
body.page-services .motion-lead-signal *,
body.page-services .motion-ai-team-panel * {
  box-sizing: border-box;
}

body.page-services .motion-hero-dashboard span,
body.page-services .motion-automation-flow span,
body.page-services .motion-lead-signal span {
  display: initial;
  width: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: none;
  transform: none;
  animation: none;
}

body.page-services .motion-automation-flow::before,
body.page-services .motion-lead-signal::before {
  content: none;
}

body.page-services .motion-hero-dashboard {
  display: block;
  padding: clamp(18px, 2.4vw, 28px);
}

body.page-services .motion-hero-dashboard__panel {
  position: absolute;
  inset: clamp(24px, 3vw, 40px) clamp(122px, 11vw, 162px) clamp(44px, 4vw, 64px) clamp(24px, 3vw, 38px);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--main-dark-color);
  animation: servicePanelIn 1180ms var(--motion-ease) both;
}

body.page-services .motion-hero-dashboard__head,
body.page-services .motion-browser-scene__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.page-services .motion-hero-dashboard__head b,
body.page-services .motion-browser-scene__top b {
  color: var(--main-dark-color);
  font-size: 0.9rem;
}

body.page-services .motion-hero-dashboard__head span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(38, 208, 124, 0.13);
  color: #1f8f55;
  font-size: 0.72rem;
  font-weight: 800;
}

body.page-services .motion-hero-dashboard__chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: clamp(116px, 12vw, 166px);
  margin: 22px 0 18px;
  padding-top: 18px;
}

body.page-services .motion-hero-dashboard__chart i {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  height: var(--bar-height, 60px);
  border: 0;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(0, 198, 251, 0.78), rgba(170, 200, 154, 0.28));
  transform: none;
  animation: serviceBarRise 1250ms var(--motion-ease) both;
}

body.page-services .motion-hero-dashboard__chart i:nth-child(1) { --bar-height: 58px; animation-delay: 180ms; }
body.page-services .motion-hero-dashboard__chart i:nth-child(2) { --bar-height: 92px; animation-delay: 280ms; }
body.page-services .motion-hero-dashboard__chart i:nth-child(3) { --bar-height: 118px; animation-delay: 380ms; }
body.page-services .motion-hero-dashboard__chart i:nth-child(4) { --bar-height: 148px; animation-delay: 480ms; }

body.page-services .motion-hero-dashboard__chart em {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 42px;
  height: 96px;
  overflow: hidden;
  border: 0;
  transform: scaleX(0);
  transform-origin: left bottom;
  animation: serviceLineDraw 1400ms var(--motion-ease) 520ms both;
}

body.page-services .motion-hero-dashboard__chart em::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 198, 251, 0.92);
  clip-path: polygon(0 78%, 18% 78%, 18% 68%, 40% 68%, 40% 56%, 62% 56%, 62% 40%, 84% 40%, 84% 14%, 100% 14%, 100% 18%, 88% 18%, 88% 44%, 66% 44%, 66% 60%, 44% 60%, 44% 72%, 22% 72%, 22% 82%, 0 82%);
}

body.page-services .motion-hero-dashboard__funnel,
body.page-services .motion-automation-flow__steps,
body.page-services .motion-lead-signal__route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

body.page-services .motion-hero-dashboard__funnel span,
body.page-services .motion-browser-scene__steps span,
body.page-services .motion-automation-flow__steps span,
body.page-services .motion-lead-signal__route span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(0, 198, 251, 0.1);
  color: var(--main-dark-color);
  font-size: 0.72rem;
  font-weight: 800;
}

body.page-services .motion-automation-flow__steps span,
body.page-services .motion-lead-signal__route span {
  border: 1px solid rgba(0, 198, 251, 0.28);
  background: #e9faff;
  color: var(--main-dark-color);
}

body.page-services .motion-hero-dashboard__kpi,
body.page-services .motion-automation-flow__metric,
body.page-services .motion-lead-signal__note {
  position: absolute;
  border: 1px solid rgba(0, 198, 251, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  animation: serviceInterfaceIn 980ms var(--motion-ease) both;
}

body.page-services .motion-hero-dashboard__kpi {
  right: clamp(0px, 0.8vw, 10px);
  width: clamp(108px, 9vw, 136px);
  padding: 14px;
}

body.page-services .motion-hero-dashboard__kpi b,
body.page-services .motion-automation-flow__metric b {
  display: block;
  color: var(--accent-color);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1;
}

body.page-services .motion-hero-dashboard__kpi span,
body.page-services .motion-automation-flow__metric span {
  display: block;
  margin-top: 6px;
  color: var(--secondary-text-color);
  font-size: 0.72rem;
  line-height: 1.25;
}

body.page-services .motion-hero-dashboard__kpi--main { top: 34px; animation-delay: 300ms; }
body.page-services .motion-hero-dashboard__kpi--cost { top: 142px; animation-delay: 430ms; }
body.page-services .motion-hero-dashboard__kpi--leads { bottom: 28px; animation-delay: 560ms; }

body.page-services .motion-browser-scene {
  display: block;
  padding: clamp(18px, 2.4vw, 28px);
}

body.page-services .motion-browser-scene__window {
  position: relative;
  width: min(100%, 390px);
  min-height: clamp(230px, 24vw, 330px);
  padding: 16px;
  border: 1px solid rgba(0, 198, 251, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  animation: servicePanelIn 1180ms var(--motion-ease) both;
}

body.page-services .motion-browser-scene__top {
  justify-content: flex-start;
  margin-bottom: 16px;
}

body.page-services .motion-browser-scene__hero {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(58, 31, 26, 0.94), rgba(83, 49, 41, 0.92));
}

body.page-services .motion-browser-scene__hero strong,
body.page-services .motion-browser-scene__hero p,
body.page-services .motion-browser-scene__hero em,
body.page-services .motion-browser-scene__cards i,
body.page-services .motion-browser-scene__cta {
  display: block;
  border-radius: 999px;
  animation: serviceInterfaceIn 960ms var(--motion-ease) both;
}

body.page-services .motion-browser-scene__hero strong {
  width: 66%;
  height: 14px;
  background: rgba(255, 255, 255, 0.88);
}

body.page-services .motion-browser-scene__hero p {
  width: 88%;
  height: 9px;
  margin: 0;
  background: rgba(255, 255, 255, 0.34);
  animation-delay: 120ms;
}

body.page-services .motion-browser-scene__hero em {
  width: 96px;
  height: 28px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.82), rgba(170, 200, 154, 0.42));
  animation-delay: 240ms;
}

body.page-services .motion-browser-scene__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

body.page-services .motion-browser-scene__cards i {
  height: 54px;
  border: 1px solid rgba(0, 198, 251, 0.16);
  border-radius: 13px;
  background: rgba(0, 198, 251, 0.09);
}

body.page-services .motion-browser-scene__cards i:nth-child(2) { animation-delay: 120ms; }
body.page-services .motion-browser-scene__cards i:nth-child(3) { animation-delay: 240ms; }

body.page-services .motion-browser-scene__cta {
  width: 48%;
  height: 12px;
  margin-top: 14px;
  background: rgba(58, 31, 26, 0.24);
  animation-delay: 360ms;
}

body.page-services .motion-browser-scene__steps {
  position: absolute;
  right: clamp(20px, 2.6vw, 34px);
  top: clamp(52px, 6vw, 84px);
  display: grid;
  gap: 10px;
  width: 150px;
  animation: serviceInterfaceIn 980ms var(--motion-ease) 420ms both;
}

body.page-services .motion-browser-scene__steps span {
  border-color: rgba(0, 198, 251, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: var(--main-dark-color);
  text-shadow: none;
}

body.page-services .motion-browser-scene__steps .is-active {
  border-color: rgba(0, 198, 251, 0.44);
  background: #dff8ff;
  color: #0097c5;
}

body.page-services .motion-browser-scene__ready {
  position: absolute;
  right: clamp(22px, 2.6vw, 36px);
  bottom: clamp(34px, 4vw, 54px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(38, 208, 124, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(38, 208, 124, 0.2));
  color: #1f8f55;
  font-size: 0.78rem;
  font-weight: 800;
  animation: serviceInterfaceIn 980ms var(--motion-ease) 640ms both;
}

body.page-services .motion-automation-flow,
body.page-services .motion-lead-signal {
  display: block;
  padding: clamp(18px, 2.4vw, 28px);
}

body.page-services .motion-automation-flow {
  opacity: 1;
  border-color: rgba(0, 198, 251, 0.36);
  background:
    linear-gradient(180deg, rgba(0, 198, 251, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
}

body.page-services .motion-automation-flow__panel,
body.page-services .motion-lead-signal__panel {
  position: absolute;
  inset: clamp(28px, 3.4vw, 46px) clamp(26px, 3vw, 40px);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 20px;
  background: #fbfeff;
  color: var(--main-dark-color);
  animation: servicePanelIn 1180ms var(--motion-ease) both;
}

body.page-services .motion-automation-flow__panel::before,
body.page-services .motion-automation-flow__panel::after {
  position: absolute;
  z-index: 3;
  width: clamp(126px, 12vw, 152px);
  padding: 14px;
  border: 1px solid rgba(0, 198, 251, 0.2);
  border-radius: 16px;
  background: #fff;
  color: var(--main-dark-color);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: pre-line;
  animation: serviceInterfaceIn 980ms var(--motion-ease) both;
}

body.page-services .motion-automation-flow__panel::before {
  content: "Заявка\A Получено";
  left: 24px;
  top: 24px;
  animation-delay: 160ms;
}

body.page-services .motion-automation-flow__panel::after {
  content: "CRM\A Готово";
  right: 24px;
  top: 24px;
  color: #1f8f55;
  animation-delay: 620ms;
}

body.page-services .motion-automation-flow__panel i,
body.page-services .motion-lead-signal__panel i {
  position: absolute;
  left: 24%;
  top: 58%;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-color);
  transform: none;
  animation: serviceSignalMove 1600ms var(--motion-ease) 560ms both;
}

body.page-services .motion-automation-flow__inbox,
body.page-services .motion-automation-flow__result,
body.page-services .motion-lead-signal__message,
body.page-services .motion-lead-signal__ready,
body.page-services .motion-ai-team-panel__summary {
  border: 1px solid rgba(0, 198, 251, 0.16);
  border-radius: 16px;
  background: #fff;
  animation: serviceInterfaceIn 980ms var(--motion-ease) both;
}

body.page-services .motion-automation-flow__inbox,
body.page-services .motion-automation-flow__result {
  position: absolute;
  z-index: 2;
  top: 38%;
  width: 134px;
  padding: 15px;
  transform: none;
}

body.page-services .motion-automation-flow__inbox { left: 26px; animation-delay: 160ms; }
body.page-services .motion-automation-flow__result { right: 26px; animation-delay: 620ms; }

body.page-services .motion-automation-flow__inbox,
body.page-services .motion-automation-flow__result {
  display: none;
}

body.page-services .motion-automation-flow__inbox b,
body.page-services .motion-automation-flow__result b,
body.page-services .motion-lead-signal__message b,
body.page-services .motion-ai-team-panel__summary b {
  display: block;
  color: var(--main-dark-color);
  font-size: 0.84rem;
}

body.page-services .motion-automation-flow__inbox span,
body.page-services .motion-automation-flow__result span,
body.page-services .motion-lead-signal__message span,
body.page-services .motion-ai-team-panel__summary span {
  display: block;
  margin-top: 7px;
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 800;
}

body.page-services .motion-automation-flow__steps {
  position: absolute;
  inset: 24px;
  z-index: 2;
  display: block;
  transform: none;
}

body.page-services .motion-automation-flow__steps::before,
body.page-services .motion-lead-signal__route::before {
  content: "";
  position: absolute;
  left: 28%;
  right: 20%;
  top: 52%;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.12), rgba(0, 198, 251, 0.62));
  transform: scaleX(0);
  transform-origin: left;
  animation: servicePlainLineDraw 1400ms var(--motion-ease) 360ms both;
}

body.page-services .motion-automation-flow__steps::before {
  transform: rotate(14deg) scaleX(0);
  animation-name: serviceAngledLineDraw;
}

body.page-services .motion-automation-flow__steps span {
  position: absolute;
  width: clamp(118px, 11vw, 148px);
}

body.page-services .motion-automation-flow__steps span:nth-child(1) {
  left: 24%;
  top: 38%;
}

body.page-services .motion-automation-flow__steps span:nth-child(2) {
  left: 44%;
  top: 50%;
}

body.page-services .motion-automation-flow__steps span:nth-child(3) {
  right: 16%;
  top: 62%;
}

body.page-services .motion-automation-flow__metric {
  left: 26px;
  right: auto;
  bottom: 24px;
  width: 122px;
  padding: 13px;
  animation-delay: 720ms;
}

body.page-services .motion-lead-signal__message {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 190px;
  padding: 15px;
}

body.page-services .motion-lead-signal__qualify {
  position: absolute;
  left: auto;
  right: 24px;
  top: 28px;
  display: grid;
  gap: 8px;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(0, 198, 251, 0.18);
  border-radius: 18px;
  background: rgba(58, 31, 26, 0.92);
  transform: none;
  animation: serviceInterfaceIn 980ms var(--motion-ease) 260ms both;
}

body.page-services .motion-lead-signal__qualify b {
  color: #fff;
  font-size: 0.86rem;
}

body.page-services .motion-lead-signal__qualify span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 198, 251, 0.46);
}

body.page-services .motion-lead-signal__qualify span:nth-child(3) { width: 78%; }
body.page-services .motion-lead-signal__qualify span:nth-child(4) { width: 62%; }

body.page-services .motion-lead-signal__route {
  position: absolute;
  left: 30px;
  right: auto;
  bottom: 62px;
  z-index: 2;
  display: block;
  width: min(60%, 330px);
  height: 120px;
}

body.page-services .motion-lead-signal__ready {
  position: absolute;
  right: 30px;
  bottom: 34px;
  top: auto;
  padding: 14px 18px;
  color: #1f8f55;
  font-size: 0.82rem;
  font-weight: 800;
  animation-delay: 680ms;
}

body.page-services .motion-lead-signal__route span {
  position: absolute;
  width: 112px;
}

body.page-services .motion-lead-signal__route span:nth-child(1) {
  left: 0;
  top: 0;
}

body.page-services .motion-lead-signal__route span:nth-child(2) {
  left: 34%;
  top: 34px;
}

body.page-services .motion-lead-signal__route span:nth-child(3) {
  right: 0;
  top: 68px;
}

body.page-services .motion-lead-signal__note {
  padding: 10px 13px;
  color: var(--secondary-text-color);
  font-size: 0.72rem;
  font-weight: 800;
}

body.page-services .motion-lead-signal__note--fast {
  left: 28px;
  bottom: 24px;
  animation-delay: 520ms;
}

body.page-services .motion-lead-signal__note--crm {
  right: 206px;
  bottom: 24px;
  animation-delay: 640ms;
}

body.page-services .motion-ai-team-panel__core {
  width: clamp(138px, 14vw, 182px);
  border-radius: 28px;
}

body.page-services .motion-ai-team-panel__core b {
  display: block;
  margin-top: -22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

body.page-services .motion-ai-team-panel__role {
  min-height: 90px;
  background: rgba(255, 255, 255, 0.82);
}

body.page-services .motion-ai-team-panel__role.is-active {
  border-color: rgba(0, 198, 251, 0.34);
  background: rgba(0, 198, 251, 0.12);
}

body.page-services .motion-ai-team-panel__role b {
  color: var(--main-dark-color);
}

body.page-services .motion-ai-team-panel__role small {
  color: var(--secondary-text-color);
  font-size: 0.72rem;
  font-weight: 700;
}

body.page-services .motion-ai-team-panel__summary {
  position: absolute;
  left: auto;
  right: clamp(6px, 1.4vw, 18px);
  top: calc(50% - 42px);
  bottom: auto;
  width: 154px;
  padding: 13px;
  border-color: rgba(0, 198, 251, 0.34);
  background: rgba(0, 198, 251, 0.12);
  transform: none;
  animation-delay: 720ms;
}

html.motion-ready body.page-services .motion-flow .motion-flow__item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease;
  transition-delay: var(--motion-delay, 0ms);
}

html.motion-ready body.page-services .motion-flow.is-visible .motion-flow__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.page-services .motion-flow {
  position: relative;
}

body.page-services .mini-process.motion-flow::before,
body.page-services .timeline-steps.motion-flow::before,
body.page-services .leads-automation-actions__flow.motion-flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 198, 251, 0.08), rgba(0, 198, 251, 0.55), rgba(170, 200, 154, 0.4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-slow) var(--motion-ease);
  pointer-events: none;
}

body.page-services .mini-process.motion-flow.is-visible::before,
body.page-services .timeline-steps.motion-flow.is-visible::before,
body.page-services .leads-automation-actions__flow.motion-flow.is-visible::before {
  transform: scaleX(1);
}

html.motion-ready body.page-services .motion-progress {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-slow) var(--motion-ease);
}

html.motion-ready body.page-services .motion-progress-group.is-visible .motion-progress {
  transform: scaleX(1);
}

body.page-services .marketing-control,
body.page-services .price-breakdown--web,
body.page-services .business-automation-directions,
body.page-services .leads-automation-actions {
  background:
    linear-gradient(135deg, rgba(0, 198, 251, 0.07), rgba(170, 200, 154, 0.08)),
    #f7fbfc;
}

body.page-services .business-automation-results,
body.page-services .leads-automation-impact {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 198, 251, 0.18), transparent 32%),
    linear-gradient(135deg, #3a1f1a 0%, #5a332b 100%);
  color: #fff;
}

body.page-services .business-automation-results .section-subtitle,
body.page-services .leads-automation-impact p {
  color: rgba(255, 255, 255, 0.82);
}

body.page-services a:focus-visible,
body.page-services button:focus-visible,
body.page-services input:focus-visible,
body.page-services textarea:focus-visible,
body.page-services select:focus-visible {
  outline: 2px solid rgba(0, 198, 251, 0.7);
  outline-offset: 3px;
}

@keyframes serviceGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 42px, 42px 42px; }
}

@keyframes serviceBarRise {
  from { transform: scaleY(0.22); opacity: 0.45; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes serviceLineDraw {
  to { transform: scaleX(1); }
}

@keyframes servicePlainLineDraw {
  to { transform: scaleX(1); }
}

@keyframes serviceAngledLineDraw {
  to { transform: rotate(14deg) scaleX(1); }
}

@keyframes serviceInterfaceIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes servicePanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes serviceAiCoreIn {
  from { opacity: 0; transform: translate(-50%, -42%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes serviceNodeIn {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes serviceSignalMove {
  from { left: 8%; opacity: 0; }
  15% { opacity: 1; }
  to { left: calc(92% - 8px); opacity: 0.9; }
}

@keyframes serviceAiPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 768px) {
  :root {
    --motion-distance: 14px;
  }

  body.page-services .hero-ai.motion-hero .container {
    grid-template-columns: 1fr;
  }

  body.page-services .motion-hero .hero-ai__visual {
    min-height: 220px;
    max-height: 340px;
  }

  body.page-services .service-metrics-strip {
    padding: 24px 10px 26px;
  }

  body.page-services .service-metrics-strip .hero-ai__stats,
  body.page-services .service-metrics-strip .leads-automation-hero__highlights,
  body.page-services .service-metrics-strip .ai-employees-hero__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
  }

  body.page-services .service-metrics-strip .stat-item,
  body.page-services .service-metrics-strip .leads-automation-hero__highlight,
  body.page-services .service-metrics-strip .ai-employees-hero__highlight {
    padding: 0 12px;
  }

  body.page-services .service-metrics-strip .stat-item:nth-child(odd),
  body.page-services .service-metrics-strip .leads-automation-hero__highlight:nth-child(odd),
  body.page-services .service-metrics-strip .ai-employees-hero__highlight:nth-child(odd) {
    border-left: 0;
  }

  body.page-services .service-metrics-strip .stat-item:last-child:nth-child(odd),
  body.page-services .service-metrics-strip .leads-automation-hero__highlight:last-child:nth-child(odd),
  body.page-services .service-metrics-strip .ai-employees-hero__highlight:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body.page-services .motion-hero::after {
    animation: none;
    opacity: 0.14;
  }

  body.page-services .motion-hero-dashboard,
  body.page-services .motion-browser-scene,
  body.page-services .motion-automation-flow,
  body.page-services .motion-lead-signal,
  body.page-services .motion-ai-team-panel {
    width: min(100%, 352px);
    margin-top: 12px;
    max-height: 340px;
    min-height: 300px;
  }

  body.page-services .motion-browser-scene {
    min-height: 230px;
  }

  body.page-services .motion-hero-dashboard {
    min-height: 230px;
  }

  body.page-services .motion-automation-flow,
  body.page-services .motion-lead-signal {
    min-height: 220px;
  }

  body.page-services .motion-ai-team-panel {
    min-height: 300px;
  }

  body.page-services .motion-hero-dashboard__panel {
    inset: 18px 96px 42px 16px;
    padding: 14px;
  }

  body.page-services .motion-hero-dashboard__chart {
    height: 116px;
    margin: 16px 0 12px;
  }

  body.page-services .motion-hero-dashboard__chart i:nth-child(1) { --bar-height: 42px; }
  body.page-services .motion-hero-dashboard__chart i:nth-child(2) { --bar-height: 66px; }
  body.page-services .motion-hero-dashboard__chart i:nth-child(3) { --bar-height: 86px; }
  body.page-services .motion-hero-dashboard__chart i:nth-child(4) { --bar-height: 104px; }

  body.page-services .motion-hero-dashboard__kpi {
    right: 6px;
    width: 82px;
    padding: 9px;
  }

  body.page-services .motion-hero-dashboard__kpi b {
    font-size: 1.05rem;
  }

  body.page-services .motion-hero-dashboard__kpi span {
    font-size: 0.62rem;
  }

  body.page-services .motion-hero-dashboard__kpi--main { top: 24px; }
  body.page-services .motion-hero-dashboard__kpi--cost { top: 102px; }
  body.page-services .motion-hero-dashboard__kpi--leads { bottom: 20px; }

  body.page-services .motion-browser-scene__window {
    width: calc(100% - 48px);
    min-height: 236px;
    padding: 13px;
  }

  body.page-services .motion-browser-scene__steps {
    right: 12px;
    top: 48px;
    width: 112px;
  }

  body.page-services .motion-browser-scene__ready {
    right: 14px;
    bottom: 22px;
    padding: 9px 11px;
  }

  body.page-services .motion-browser-scene__cards i {
    height: 42px;
  }

  body.page-services .motion-automation-flow__panel,
  body.page-services .motion-lead-signal__panel {
    inset: 18px 14px;
    padding: 14px;
  }

  body.page-services .motion-automation-flow__panel::before,
  body.page-services .motion-automation-flow__panel::after {
    width: 106px;
    padding: 10px;
    font-size: 0.72rem;
  }

  body.page-services .motion-automation-flow__panel::before {
    left: 14px;
    top: 16px;
  }

  body.page-services .motion-automation-flow__panel::after {
    right: 14px;
    top: 16px;
  }

  body.page-services .motion-automation-flow__inbox,
  body.page-services .motion-automation-flow__result {
    top: auto;
    width: 112px;
    padding: 11px;
    transform: none;
  }

  body.page-services .motion-automation-flow__inbox {
    left: 14px;
    top: 28px;
  }

  body.page-services .motion-automation-flow__result {
    right: 14px;
    bottom: 28px;
  }

  body.page-services .motion-automation-flow__steps {
    inset: 18px;
  }

  body.page-services .motion-automation-flow__steps::before {
    left: 24%;
    right: 16%;
    top: 56%;
  }

  body.page-services .motion-automation-flow__steps span {
    width: 94px;
  }

  body.page-services .motion-automation-flow__steps span:nth-child(1) {
    left: 14%;
    top: 39%;
  }

  body.page-services .motion-automation-flow__steps span:nth-child(2) {
    left: 36%;
    top: 54%;
  }

  body.page-services .motion-automation-flow__steps span:nth-child(3) {
    right: 8%;
    top: 66%;
  }

  body.page-services .motion-automation-flow__steps span,
  body.page-services .motion-lead-signal__route span,
  body.page-services .motion-hero-dashboard__funnel span,
  body.page-services .motion-browser-scene__steps span {
    min-height: 26px;
    padding: 6px 7px;
    font-size: 0.62rem;
  }

  body.page-services .motion-automation-flow__metric {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: 94px;
    padding: 9px;
  }

  body.page-services .motion-lead-signal__message,
  body.page-services .motion-lead-signal__qualify {
    width: 138px;
    padding: 12px;
  }

  body.page-services .motion-lead-signal__message {
    left: 14px;
    top: 16px;
  }

  body.page-services .motion-lead-signal__qualify {
    right: 14px;
    top: 54px;
  }

  body.page-services .motion-lead-signal__ready {
    right: 16px;
    top: auto;
    bottom: 20px;
    padding: 10px 12px;
  }

  body.page-services .motion-lead-signal__route {
    inset: 0;
    display: block;
    width: auto;
    height: auto;
  }

  body.page-services .motion-lead-signal__route span {
    position: absolute;
    width: 82px;
  }

  body.page-services .motion-lead-signal__route span:nth-child(1) {
    left: 18px;
    top: 112px;
  }

  body.page-services .motion-lead-signal__route span:nth-child(2) {
    left: 108px;
    top: 130px;
  }

  body.page-services .motion-lead-signal__route span:nth-child(3) {
    right: 112px;
    top: 154px;
  }

  body.page-services .motion-lead-signal__note {
    display: none;
  }

  body.page-services .motion-ai-team-panel__role {
    width: 118px;
    padding: 12px;
  }

  body.page-services .motion-ai-team-panel__summary {
    right: 4px;
    top: calc(50% - 34px);
    bottom: auto;
    width: 126px;
    padding: 10px;
    border-color: rgba(0, 198, 251, 0.34);
    background: rgba(0, 198, 251, 0.12);
  }

  body.page-services .motion-ai-team-panel__role::before {
    display: none;
  }

  body.page-services .mini-process.motion-flow::before,
  body.page-services .timeline-steps.motion-flow::before,
  body.page-services .leads-automation-actions__flow.motion-flow::before {
    display: none;
  }

  body.page-services .motion-lead-signal i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready body.page-services .motion-reveal,
  html.motion-ready body.page-services .motion-hero-intro,
  html.motion-ready body.page-services .motion-stagger-group > .motion-reveal,
  html.motion-ready body.page-services .motion-flow .motion-flow__item,
  html.motion-ready body.page-services .motion-progress,
  body.page-services .motion-hero::after,
  body.page-services .motion-hero-dashboard span,
  body.page-services .motion-hero-dashboard i,
  body.page-services .motion-browser-scene__grid i,
  body.page-services .motion-browser-scene__form,
  body.page-services .motion-automation-flow::before,
  body.page-services .motion-lead-signal::before,
  body.page-services .motion-automation-flow span,
  body.page-services .motion-lead-signal span,
  body.page-services .motion-lead-signal i,
  body.page-services .motion-ai-team-panel__core,
  body.page-services .motion-ai-team-panel__role,
  body.page-services .motion-ai-team-panel__pulse,
  body.page-services .motion-hero-dashboard__panel,
  body.page-services .motion-hero-dashboard__chart i,
  body.page-services .motion-hero-dashboard__chart em,
  body.page-services .motion-hero-dashboard__kpi,
  body.page-services .motion-browser-scene__window,
  body.page-services .motion-browser-scene__hero strong,
  body.page-services .motion-browser-scene__hero p,
  body.page-services .motion-browser-scene__hero em,
  body.page-services .motion-browser-scene__cards i,
  body.page-services .motion-browser-scene__cta,
  body.page-services .motion-browser-scene__steps,
  body.page-services .motion-browser-scene__ready,
  body.page-services .motion-automation-flow__panel,
  body.page-services .motion-automation-flow__panel i,
  body.page-services .motion-automation-flow__steps::before,
  body.page-services .motion-automation-flow__inbox,
  body.page-services .motion-automation-flow__result,
  body.page-services .motion-automation-flow__metric,
  body.page-services .motion-lead-signal__panel,
  body.page-services .motion-lead-signal__panel i,
  body.page-services .motion-lead-signal__message,
  body.page-services .motion-lead-signal__qualify,
  body.page-services .motion-lead-signal__route::before,
  body.page-services .motion-lead-signal__ready,
  body.page-services .motion-lead-signal__note,
  body.page-services .motion-ai-team-panel__summary {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  body.page-services .motion-ai-team-panel__core {
    transform: translate(-50%, -50%);
  }
}
