/* ═══════════════════════════════════════════════════════════════
   КАК ЧИТАТЬ РАЗМЕРЫ В ЭТОМ ФАЙЛЕ (clamp)
   ───────────────────────────────────────────────────────────────
   Почти все размеры (width, height, padding, margin, gap,
   font-size) записаны так:

       clamp(МИНИМУМ, ФОРМУЛА, МАКСИМУМ)

   Пример:  width: clamp(214px, calc(173.51px + 0.108*100vw), 329px);
   - 214px  — размер на самом узком экране (десктоп min-width сайта)
   - 329px  — размер на самом широком экране (десктоп max-width сайта)
   - средняя формула — просто плавный переход между ними, её трогать
     не нужно.

   То есть чтобы изменить размер — меняй ТОЛЬКО первое и последнее
   число в clamp(...). Первое — "минимальный" размер, последнее —
   "максимальный". Среднюю calc()-формулу оставляй как есть, иначе
   плавность масштабирования собьётся.

   Если хочешь ОДИН фиксированный размер (без плавного масштаба на
   разных экранах) — просто замени всю конструкцию clamp(...) на
   обычное значение, например: width: 300px;

   Ниже, у ключевых карточек и текстов, добавлены пометки:
   ШИРИНА / ВЫСОТА / ОТСТУПЫ ВНУТРИ / РАЗМЕР ШРИФТА /
   ОТСТУП МЕЖДУ КАРТОЧКАМИ — ищи их по разделам ниже.
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   АНИМАЦИИ ПОЯВЛЕНИЯ
═══════════════════════════════════════ */

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Заголовки */
.about-title,
.services-title,
.work-title, 
.work-title-span, 
.partnership-title,  
.FAQ_head,
.cases-title1 { 
    opacity: 0; 
}

.about-title.is-visible,
.services-title.is-visible,
.work-title.is-visible, 
.work-title-span.is-visible, 
.partnership-title.is-visible,
.pricing__head p.is-visible,
.pricing__head h2.is-visible, 
.FAQ_head.is-visible,
.cases-title1.is-visible  { 
    animation: fadeInLeft 0.7s ease forwards; 
}

/* Карточки и блоки */
.hero
.hero__sphere
.about-card, 
.service-item, 
.workflow-labels, 
.price-card, 
.block-right, 
.how-we-work, 
.contact-form-inner,
.faq-col,
.case-item { 
    opacity: 0; 
}

.hero__sphere-is-visible,
.hero.is-visible,
.about-card.is-visible, 
.service-item.is-visible, 
.workflow-labels.is-visible, 
.price-card.is-visible, 
.block-right.is-visible, 
.how-we-work.is-visible, 
.contact-form-inner.is-visible,
.faq-col.is-visible,
.case-item.is-visible,
.workflow-col.is-visible { 
    animation: fadeInUp 0.6s ease forwards; 
}

/* Ваша оригинальная задержка для карточек (оставил как было) */
.about-card.is-visible:nth-child(1) { animation-delay: 0.1s; }
.about-card.is-visible:nth-child(2) { animation-delay: 0.25s; }
.about-card.is-visible:nth-child(3) { animation-delay: 0.4s; }

.service-item.is-visible:nth-child(1) { animation-delay: 0.05s; }
.service-item.is-visible:nth-child(2) { animation-delay: 0.15s; }
.service-item.is-visible:nth-child(3) { animation-delay: 0.25s; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* убирает серую подсветку при тапе/свайпе на мобильных */
  -webkit-touch-callout: none;
}


body, html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Жестко запрещает горизонтальный скролл */
    max-width: 100%;    /* Запрещает элементам быть шире экрана */
}

* {
    box-sizing: border-box; /* Гарантирует, что padding не расширяет блок за пределы ширины */
}

:root {
  --site-pad-left: 58px;  /* ОТСТУП ОТ ЛЕВОГО КРАЯ ЭКРАНА для всего сайта (десктоп) */
  --site-pad-right: 58px; /* ОТСТУП ОТ ПРАВОГО КРАЯ ЭКРАНА для всего сайта (десктоп) */
}

body {
  font-family: 'Switzer', Arial, sans-serif;
  background-image: url('photo/bg.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;   /* было: cover */
  background-attachment: scroll;
  background-color: #060a14;
  min-height: 100vh;
  padding-left: var(--site-pad-left);
  padding-right: var(--site-pad-right);
}

/* На узких экранах фиксированные 258px/230px съедят весь контент,
   поэтому на мобильных/планшетах отступы убираем. */
@media (max-width: 900px) {
  :root {
    --site-pad-left: 0px;
    --site-pad-right: 0px;
  }
}


.header {
  position: relative;
  border-radius: 0 0 clamp(18px, calc(15.89px + 0.0056*100vw), 24px) clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  overflow: hidden;
  padding: clamp(18px, calc(15.89px + 0.0056*100vw), 24px) clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.logo {
  font-family: 'Switzer', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
  color: #fff;
  text-decoration: none;
  font-size: clamp(36px, calc(32px + 1vw), 48px);
  font-weight: 600;
  /* Отрицательное число сближает буквы */
  
}

.logo__icon {
  width: 42px;
  height: 49px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  margin-right: -230px; /* сместить влево флаг/кнопку/бургер */

}


.btn-order {
  font-family: 'Inter', Arial, sans-serif;
  background: #0792E9;
  color: #fff;
  border: none;
  border-radius: clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  padding: 14px clamp(20px, calc(21.07px + 0.0131*100vw), 20px);
  font-size: clamp(20px, calc(13.3px + 0.0019*100vw), 32px);
  width:305px;
  height:50px;
  font-weight: 400;
  letter-spacing: -5%;
  cursor: pointer;
}
.btn-order:hover {
  background: #fff;
  color: #000;
}
.flag-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.flag-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  width: 279px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: '';
  display: block;
  width: 30px !important;
  height: 2.5px;
  border-radius: 15px;
  background: #fff;
  position: relative;
  transition: 0.2s;
  margin-right: 230px;
}
.menu-toggle__icon::before { position: absolute; top: -9px; }
.menu-toggle__icon::after { position: absolute; top: 9px; }

.header.menu-open .menu-toggle__icon { background: transparent; }
.header.menu-open .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
.header.menu-open .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

/* ── Полноэкранный оверлей меню (не двигает страницу) ── */
.header.menu-open {
  position: fixed;
  inset: 0;
  width: 100%;
  height: auto;
  max-height: 79vh;
  background: #07101D;
  border-radius: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  /* Меню position:fixed — отступы body (258/230) на него не действуют,
     поэтому добавляем их вручную поверх обычного padding шапки,
     чтобы лого и кнопки остались на тех же местах, что и на закрытой шапке. */
  padding-top: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  padding-bottom: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  padding-left: calc(var(--site-pad-left) + clamp(39px, calc(31.61px + 0.0197*100vw), 60px));
  padding-right: calc(var(--site-pad-right) + clamp(39px, calc(31.61px + 0.0197*100vw), 60px));
  overflow-y: auto;
}

.header.menu-open .header__bar {
  flex-shrink: 0;
}

html.menu-lock,
body.menu-lock {
  overflow: hidden;
  height: 100%;
}

.header__menu {
  font-family: 'Inter', Arial, sans-serif;
  position: relative;
  z-index: 2;
  display: none;
  margin-top: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  
}

.header.menu-open .header__menu {
  display: flex;
  margin-top: clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
  animation: menuFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header__menu-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  flex: 1 1 50%;
  min-width: 0;
  margin-top: 60px;
}

.header__menu-link {
  font-family: 'Inter', Arial, sans-serif;
  color: #c1c1c1;
  text-decoration: none;
  font-size: clamp(42px, calc(37.07px + 0.0131*100vw), 96px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.15;
  width: fit-content;
  display: flex;
  align-items: baseline;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  transition: color 0.4s ease;
  
 
}

.header__menu-link:hover,
.header__menu-link.is-active {
  color: #fff;
}

.header__menu-link::after {
  content: attr(data-count);
  font-size: clamp(19px, calc(17.94px + 0.0028*100vw), 22px);
  font-weight: 300;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__menu-link[data-count]:hover::after,
.header__menu-link[data-count].is-active::after {
  opacity: 1;
  transform: translateX(0);
}

.header__menu-panel {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  min-height: clamp(143px, calc(115.89px + 0.0723*100vw), 220px);
}

.header__menu-sublist {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
   margin-top: 60px;
}

.header__menu-sublist.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header__menu-sublist a {
  font-family: 'Inter', Arial, sans-serif;
  color: #a2a7ac;
  text-decoration: none;
  font-size: clamp(25px, calc(15.94px + 0.0028*100vw), 60px);
  font-weight: 300;
  transition: color 0.2s ease;
  width: fit-content;
  margin-left: -200px;
}

.header__menu-sublist a:hover {
  color: #fff;
}

.header__menu-sublist--contacts {
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
}

.header__menu-phones {
  color: #C1C1C1;
  font-size: clamp(25px, calc(15.94px + 0.0028*100vw), 60px);
  font-weight: 300;
  line-height: 1.6;
  margin-left: -200px;
}

.header__menu-phones a {
  color: #C1C1C1;
  text-decoration: none;
  margin-left: -2px;
}

.header__menu-phones a:hover {
  color: #fff;
  
}

.header__menu-socials {
  display: grid; /* Включаем сетку */
  grid-template-columns: repeat(3, 40px); /* 3 колонки по 40px шириной */
  gap: 20px; /* Расстояние между ними */
  row-gap: 2px; /* Расстояние между двумя рядами */
  justify-content: start;
}

.header__menu-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.header__menu-socials img {
  width: 33px;
  height: 33px;
}

.header__menu-socials a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  position: relative;
  min-height: clamp(330px, calc(234.93px + 0.2535*100vw), 600px);
  text-align: center;
  padding: clamp(40px, calc(25.92px + 0.0376*100vw), 80px) clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  overflow: hidden;
}
/* кнопка на верх */
.scroll-to-top {
    position: fixed;
    bottom: 20px; /* Отступ от нижнего края */
    left: 15px;   /* Отступ от левого края */
    width: 40px;
    height: 40px;
    background: rgb(255, 255, 255); /* Полупрозрачный фон */
    border: 1px solid rgb(255, 255, 255);
    backdrop-filter: blur(40px);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Класс для появления */
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top img {
    width: 15px; /* Размер стрелки */
    height: 15px;
}

.scroll-to-top:hover {
    transform: scale(1.1); /* Легкое увеличение при наведении */
}



/* Шар */
.hero__title-svg {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: clamp(500px, calc(313.24px + 0.338*100vw), 1200px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hero__title-svg text {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(90px, calc(28.38px + 0.031*100vw), 128px);
  letter-spacing: -0.06em;
  fill: url(#textGradient);
  opacity: 1;
  letter-spacing: -6px;
}


.hero__sphere {
  width: 800px;
  max-width: clamp(495px, calc(352.39px + 0.3803*100vw), 1200px);
  height: 500px;
  aspect-ratio: 2560 / 1072;
  margin: -60px auto 0;
  display: block;
  transform: scale(1.7);
}


/* COOKIE BANNER */
.cookie-banner {

  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 520px;
  height: 240px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  padding: clamp(20px, calc(16.48px + 0.0094*100vw), 30px);
  color: #fff;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  font-weight: 200; 
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.4s;
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__actions {
  display: flex;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  margin-top: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
}

.cookie-banner__actions button {
  flex: 1;
  width: clamp(82px, calc(72.14px + 0.0263*100vw), 110px);
  padding: clamp(8px, calc(7.3px + 0.0019*100vw), 10px) clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  border-radius: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  border: none;
  cursor: pointer;
  font-size: clamp(11px, calc(10.3px + 0.0019*100vw), 13px);
}



#cookieAccept { background: #0792E9; color: #fff; }
#cookieReject { background: #fff; color: #1a1a1a; }

/* COOKIE BANNER TYPO */
.cookie-banner__title{
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500; /* Medium */
  font-size: clamp(28px, calc(17.94px + 0.0028*100vw), 32px);
  line-height: 1.2;
  margin-bottom: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}

.cookie-banner__text{
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300; /* Regular */
  font-size: clamp(17px, calc(11.3px + 0.0019*100vw), 25px);
  line-height: 1.4;
}


/* Кейс 2 */

.cases-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
}


.cases-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
}

.cases-title {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400; /* Medium */
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  color: #ffffff;
  letter-spacing: -3px;
  
  
}


.cases-nav {
  display: flex;
  margin-right: 60px;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}
/* стрелки */
.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* ЭФФЕКТ СТЕКЛА */
  background: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
  backdrop-filter: blur(8px);           /* Размытие фона за кнопкой */
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: clamp(74px, calc(23.3px + 0.1352*100vw), 218px);
  cursor: pointer;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  /* Добавлено для предсказуемости размеров */
  box-sizing: border-box; 
  /* Более плавная анимация */
  transition: all 0.3s ease; 
  line-height: 1;
}

#prev img {
  margin-right: 2px; /* Попробуйте 2px вместо 1px для более заметного эффекта */
}

#next img {
  margin-left: 2px;  /* То же самое для правой стрелки, чтобы сбалансировать */
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2); 
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px); /* Усиливаем размытие при наведении */
}

.nav-btn:active:not(:disabled) {
  transform: scale(0.93);
}

.nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.1);
}
/* карточки */
.cases-overflow {
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  overflow: visible !important; /* РАЗРЕШАЕМ карточкам выходить за пределы */
  padding-top: 5px;            /* Добавляем отступ СВЕРХУ, чтобы карточке было куда расти */
  padding-bottom: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}

.case-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(140, 210, 244, 0.1);  /* чуть заметнее */
  background: rgba(140, 210, 244, 0.12);
  backdrop-filter: blur(15px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Ровно 3 карточки: (100vw - 120px отступы - 2*20px gap) / 3 */
  width: calc((100vw - 120px - 60px) / 3.3);
  flex-shrink: 0;
  /* Фиксированная высота одинаковая для всех */
  height: clamp(330px, calc(234.93px + 0.2535*100vw), 600px);
}

/* Логотип (контейнер) */
.card-logo-container {
    width: 48px;
    height: 48px;
    margin-bottom: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}
.card-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Логотип и заголовок в одну строку */
.logo-title-row {
    display: flex;
    align-items: center;
    gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
    margin-bottom: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
}

.grapfic img{
  width: 90%;
  display: block;
  margin: -15px auto 0 auto;
  max-width: 90%;
  
}
.card-thumb {
    margin-top: 0;
    width: 100%;
    height: 200px;
    border-radius: clamp(10px, calc(8.59px + 0.0038*100vw), 14px) clamp(10px, calc(8.59px + 0.0038*100vw), 14px) 0 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-img {
    width: 100%;       /* Ширина по ширине контейнера */
    height: 100%;      /* Высота по высоте контейнера */
    object-fit: cover;
  
    
}


.case-card:hover {
  transform: scale(1.02);
  z-index: 10;            /* Поднимает карточку над остальными */
  position: relative;     /* Обязательно для z-index */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.card-body {
  padding: clamp(14px, calc(12.59px + 0.0038*100vw), 18px) clamp(15px, calc(13.24px + 0.0047*100vw), 20px) clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(10px, calc(9.65px + 0.0009*100vw), 11px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
  margin-bottom: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
}

.card-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b7cff;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 300;
  color: #ffff;
  margin-bottom: 4px;
}
/* подзаголовок */
.card-metric {
  font-size: clamp(14px, calc(13.3px + 0.0019*100vw), 16px);
  color: #ffffff;
  font-weight: 300;
  margin-bottom: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}

.card-desc {
  font-size: clamp(15px, calc(13.94px + 0.0028*100vw), 18px);
  color: #CECECE;
  line-height: 1.65;
}

.card-desc p {
  margin-bottom: clamp(8px, calc(7.3px + 0.0019*100vw), 10px); /* Расстояние между абзацами */
  font-size: clamp(14px, calc(10.3px + 0.0019*100vw), 16px);
  font-weight: 100;      /* Обычное начертание */
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  font-size: 16px;
  color: #ffffff;
  margin-left: 5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.card-link:hover {
  color: #8fa8ff;
  border-color: rgba(143,168,255,0.5);
}

.cases-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: #5b7cff;
  transform: scale(1.35);
}



/* ─── Portfolio Section ─── */
.portfolio {
  padding: clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(40px, calc(25.92px + 0.0376*100vw), 80px);
  max-width: clamp(770px, calc(548.17px + 0.5915*100vw), 1400px);
  margin: 0 auto;
}

/* Заголовок */
.portfolio .cases-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -3px;
  margin-bottom: 0;
  margin-left: -30px;
}

/* ─── Обёртка: сайдбар + сетка ─── */
.portfolio-wrapper {
  display: flex;
  gap: clamp(31px, calc(25.01px + 0.016*100vw), 48px);
  align-items: flex-start;
  margin-top: clamp(23px, calc(18.42px + 0.0122*100vw), 36px);
}

/* ─── Сайдбар с фильтрами ─── */
.filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(143px, calc(115.89px + 0.0723*100vw), 220px);
  flex-shrink: 0;
}

.filter-btn {
  background: transparent;
  backdrop-filter: blur(15px);
  border: none;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(15px, calc(13.94px + 0.0028*100vw), 18px);
  font-weight: 400;
  cursor: pointer;
  padding: clamp(8px, calc(7.3px + 0.0019*100vw), 10px) clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  border-radius: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  transition: color 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
}

.filter-btn:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

/* Активная кнопка */
.filter-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

/* Счётчик (опционально — добавь через JS или вручную) */
.filter-btn .count {
  font-size: clamp(11px, calc(10.3px + 0.0019*100vw), 13px);
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.filter-btn.active .count {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Сетка карточек ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  width: 100%;
}

/* ─── Карточка ─── */
.portfolio-item {
  position: relative;
  border-radius: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  overflow: hidden;
  cursor: pointer;
  background: #0d1a2e;
  aspect-ratio: 16 / 9; /* Фиксированное соотношение сторон */
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

/* Подпись на карточке (если есть оверлей с текстом) */
.portfolio-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(21px, calc(18.54px + 0.0066*100vw), 28px) clamp(12px, calc(10.59px + 0.0038*100vw), 16px) clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  font-weight: 500;
  line-height: 1.4;
  border-radius: 0 0 clamp(12px, calc(10.59px + 0.0038*100vw), 16px) clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

.portfolio-item.hidden-card {
  display: none;
}

/* Плавное появление */
.portfolio-item.revealed {
  animation: fadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Кнопка More */
.portfolio-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  padding-left: clamp(134px, calc(86.82px + 0.1258*100vw), 268px); /* ширина сайдбара (220px) + gap (48px) */
}

.btn-more {
  font-family: 'Inter', Arial, sans-serif;
  background: rgba(0, 0, 0, 0.6);;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: clamp(20px, calc(13.3px + 0.0019*100vw), 25px);
  font-weight: 400;
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) clamp(110px, calc(31.61px + 0.0197*100vw), 150px);
  border-radius: clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.btn-more:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255,255,255,0.35);
  
}
.btn-less {
  font-family: 'Inter', Arial, sans-serif;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: clamp(14px, calc(13.3px + 0.0019*100vw), 16px);
  font-weight: 400;
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) clamp(110px, calc(31.61px + 0.0197*100vw), 150px);
  border-radius: clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  display: none;
}

.btn-less:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255,255,255,0.35);
}

.btn-more.hidden {
  display: none;
}

/* ─── Подкатегории ─── */
.subcategories {
  font-family: 'Inter', Arial, sans-serif;
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-left: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  margin-top: 2px;
  font-weight: 200;
}

.subcategories.open {
  display: flex;
}

.sub-btn {
  font-size: clamp(13px, calc(12.3px + 0.0019*100vw), 15px) !important;
  padding: 7px clamp(10px, calc(8.59px + 0.0038*100vw), 14px) !important;
  color: rgba(255,255,255,0.4) !important;
  font-weight: 400 !important;
}

.sub-btn.active {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}

/* ─── Reels: вертикальные карточки 3 в ряд ─── */
.portfolio-grid.reels-mode {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid.reels-mode .portfolio-item {
  aspect-ratio: 9 / 16;
  height: auto;
}

/* Reels всегда отображаются отдельным блоком 3 в ряд, вертикальным
   форматом 9:16 — независимо от того, какой фильтр выбран (в том
   числе во вкладке "All"). Карточка-обёртка растягивается на всю
   ширину основной сетки (grid-column: 1 / -1) и содержит свою
   внутреннюю сетку. */
.portfolio-reels-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

.portfolio-reels-group .portfolio-item {
  aspect-ratio: 9 / 16;
  height: auto;
}

@media (max-width: 900px) {
  .portfolio-reels-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero__title-mobile { display: none; }

/*  Кейс About  */
.about-section {
  margin-top: 200px;
  position: relative;
}

.about-title {
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -3px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px); /* ШИРИНА КОЛОНКИ под каждую карточку (300px) */
  gap: clamp(32px, calc(25.66px + 0.0169*100vw), 40px); /* ОТСТУП МЕЖДУ КАРТОЧКАМИ (мин / макс) */
  min-height: clamp(221px, calc(179.1px + 0.1117*100vw), 340px);
  position: relative;
  z-index: 1;
}

.about-card {
  position: relative;
  background: rgba(140, 210, 244, 0.12);
  backdrop-filter: blur(15px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(11px, calc(9.59px + 0.0038*100vw), 15px);
  padding: clamp(20px, calc(15.89px + 0.0056*100vw), 24px); /* ОТСТУПЫ ВНУТРИ КАРТОЧКИ (мин / макс) */
  width: 400px;  /* ШИРИНА КАРТОЧКИ (мин / макс) */
  height: 560px; /* ВЫСОТА КАРТОЧКИ (мин / макс) */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.about-card__title {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(30px, calc(17.94px + 0.0028*100vw), 35px); /* РАЗМЕР ШРИФТА заголовка карточки (мин / макс) */
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 clamp(12px, calc(10.59px + 0.0038*100vw), 16px); /* отступ под заголовком */
  letter-spacing: -0.5px;
}

.about-card__text {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(20px, calc(13.3px + 0.0019*100vw), 25px); /* РАЗМЕР ШРИФТА текста карточки (мин / макс) */
  line-height: 1.63;
  color: rgb(255, 255, 255);
  margin: 0;
}

.about-card__text + .about-card__text {
  margin-top: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

/* Фоновые стрелки */
.about-bg-arrow {
  position: absolute;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.about-bg-arrow:hover {
  transform: rotate(-10deg);
}

.about-bg-arrow:nth-child(2):hover {
  transform: rotate(10deg);
}

.about-bg-arrow:nth-child(1) { top: 10px;    right: -2%; width: clamp(200px, calc(94.82px + 0.0592*100vw), 250px); }
.about-bg-arrow:nth-child(2) { bottom: -90px; left: -3%;    width: clamp(150px, calc(92.68px + 0.0329*100vw), 170px); }




/*====Кейс Services====*/
.services {
  margin-top: 100px;
  margin-bottom: 30px;
  padding: clamp(40px, calc(25.92px + 0.0376*100vw), 80px) 0;
  position: relative;
  overflow: hidden;
  transition: background-image 0.3ms ease;
}

/* Фон секции меняется при hover на карточку */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--services-bg, none);
  background-size: 45%;
  background-position: 50% -8%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.services.has-bg::before {
  opacity: 0.8;
}

.services-inner {
  position: relative;
  overflow: visible;
  z-index: 1;
  max-width: clamp(660px, calc(469.86px + 0.507*100vw), 1200px);
  margin: 0 auto;
  padding: 0 clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  padding-bottom: 35px
  
}

.services-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  font-weight: 400;
  color: #fff;
  margin-bottom: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  margin-left: clamp(-120px, -70px + -0.015 * 100vw, -80px);
  letter-spacing: -4px;

}

/* Сетка — две независимые колонки */
.services-grid {
  display: grid;
  grid-template-columns: 600px 600px; /* ШИРИНА каждой из двух колонок сетки */
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px); /* ОТСТУП между колонками (мин / макс) */
  align-items: start;
  margin: 0 auto;
  width: fit-content;
}

.services-col {
  display: flex;
  margin-left: -50px;
  flex-direction: column;
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px); /* ОТСТУП между карточками внутри колонки (мин / макс) */
}

/* Карточка сервиса */
.service-item {
  position: relative;
  background: rgba(140, 210, 244, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(10px, calc(8.94px + 0.0028*100vw), 13px);
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) clamp(15px, calc(13.24px + 0.0047*100vw), 20px); /* ОТСТУПЫ ВНУТРИ: (верх/низ) (лево/право) — каждый мин / макс */
  width: 600px; /* ШИРИНА КАРТОЧКИ (мин / макс) */
  cursor: pointer;
  overflow: hidden;
  transition: background 0.5ms ease;
}

.service-item::before {
  display: none;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-name {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(25px, calc(13.3px + 0.0019*100vw), 30px); /* РАЗМЕР ШРИФТА названия сервиса (мин / макс) */
  color: #fff;
  font-weight: 300;
  line-height: 1.6;
}

.service-icon {
  font-size: 30px;
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

/* Раскрывающийся список */
.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
  z-index: 1;
}

.service-body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  line-height: 1;
  padding-top: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
}

/* Активное состояние */
.service-item.active .service-body {
  max-height: clamp(440px, calc(313.24px + 0.338*100vw), 800px);
}

.service-item.active .service-icon {
  transform: rotate(45deg);
}

/* Нумерованный список */
.service-list {
  list-style: decimal;
  list-style-position: inside;
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) 0 0 clamp(14px, calc(12.59px + 0.0038*100vw), 18px);
  margin: 0;
}

.service-list li {
  font-family: 'Inter', Arial, sans-serif;
  color: #ffff;
  font-size: clamp(16px, calc(10.65px + 0.0009*100vw), 18px);
  font-weight: 300;
  line-height: 1.2;
  padding: 4px 0;
  border-bottom: none;
}

.service-list__heading {
  list-style: none;
  margin-left: -18px;
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(13px, calc(12.3px + 0.0019*100vw), 15px);
  margin-top: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  padding: 4px 0;
}
/* ═══════════════════════════════════════
   КЕЙС 
═══════════════════════════════════════ */
.about-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;

}

.about-bg:nth-child(1) { top: -240px;    right: -57%; width: clamp(330px, calc(234.93px + 0.2535*100vw), 600px); }
.about-bg:nth-child(2) { bottom: -240px; left: -70%;    width: clamp(330px, calc(234.93px + 0.2535*100vw), 600px); }

.how-we-work {
  display: flex;
  flex-direction: column; /* Располагаем элементы вертикально */
  justify-content: flex-end;
  margin: 0 auto; /* Центрирование блока на странице */
  padding: clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
  border-radius: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  background: rgba(140, 210, 244, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: clamp(660px, calc(469.86px + 0.507*100vw), 1360px);
  width: 80%; /* Или фиксированная ширина */
  height: clamp(237px, calc(400px + 0.1812*100vw), 600px);
  justify-content: center;
  gap: clamp(26px, calc(21.07px + 0.0131*100vw), 40px); /* Отступ между графиком и разделителем */
  
}
.work-title{
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  font-weight: 400;
  color: #0792E9;
  letter-spacing: -3px;
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  margin-left: clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
  letter-spacing: -4px;
}

.workflow-graph {
  margin-top: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);  /* подбери значение по вкусу */
}
.work-title-span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -3px;
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  margin-left: 0px;
  letter-spacing: -4px;
}

.workflow-track {
  --track-height: 450px; /* было 400px — колонки стали компактнее */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  height: var(--track-height);
  margin-bottom: 0;
  
  
}
.workflow-tooltip {
  position: absolute;
  top: -80px; /* Настройте высоту под себя */
  left: 0;
  margin-left: -20px; /* Центрируем относительно точки */
  width: 300px;/* Задаем ширину, чтобы текст переносился */
  padding: 0;
  display: flex;
  align-items: flex-start; /* Точка будет выровнена по первой строке */
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px); /* Расстояние между точкой и текстом */
  font-size: clamp(14px, calc(9.65px + 0.0009*100vw), 16px);
  line-height: 1.5;
  color: #fff;
  opacity: 1;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.1s ease;
  pointer-events: none;
  z-index: 10;
}

.workflow-step { display: none; }

.tooltip-dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
  flex-shrink: 0; /* Чтобы точка не сжималась */
  margin-top: 6px; /* Выравнивание точки по вертикали с первой строкой текста */
}

.workflow-col:hover .workflow-tooltip {
  opacity: 1;
  visibility: visible;
  transform:  translateY(-5px);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
.workflow-col {
  position: relative;
  width: 160px;/* Задаем фиксированную ширину колонок */
  max-width: 160px; /* колонки стали уже/компактнее */
  flex: 1;
  z-index: 2;
  height: 45%;
  border-radius: clamp(11px, calc(9.59px + 0.0038*100vw), 15px);
  transition:
    height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Заливка столбика вынесена в псевдоэлемент, чтобы явно управлять
   порядком наложения относительно вертикальной линии (.workflow-bg) */
.workflow-col::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: clamp(11px, calc(9.59px + 0.0038*100vw), 15px);
  background: linear-gradient(180deg, rgba(12, 49, 96, 1), rgba(14, 30, 51, 1));
  transition: background 0.6s ease;
  z-index: 0;
}

.workflow-col:hover {
  height: 85%;
  transform:  translateY(0);
}

.workflow-col:hover::before {
  background: linear-gradient(180deg, #1D7AF1FF, #0C316099);
}

/* Тонкая едва заметная белая полоса за каждой колонкой, во всю высоту графика */
.workflow-bg {
  position: absolute;
  bottom: 0;
  left: 49%;
  width: 1px;
  height: 75.5vh;
  transform: translateX(100%);
  background: rgba(255, 255, 255, 0.05);
  z-index: -1;
  pointer-events: none;
}

.workflow-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    box-shadow 0.45s ease 0.1s;
}

.workflow-col:hover .workflow-dot {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 14px 6px rgba(255, 255, 255, 0.25);
}

.workflow-labels {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(55px, calc(39.15px + 0.0423*100vw), 100px);
  font-weight: 400;
  display: flex;
  justify-content: center;
  gap: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  padding-top: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);   
  border-top: 1px solid rgba(255, 255, 255, 0.14); /* ← добавь: сама полоска */
  width: 112%;
  margin-left: -60px;

  
}
.workflow-labels span {
  flex: none;
  text-align: center;
  width: clamp(98px, calc(86.73px + 0.03*100vw), 130px); 
  color: #fff;
  font-size: clamp(20px, calc(11.3px + 0.0019*100vw), 24px);
  margin-right: 20px;
  margin-left: 20px;
}

/* ═══════════════════════════════════════
   КЕЙС Планы
═══════════════════════════════════════ */

.pricing {
  padding: clamp(40px, calc(25.92px + 0.0376*100vw), 80px) clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  margin-left: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}

.pricing__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  margin-bottom: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
}

.pricing__head h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(24.79px + 0.0272*100vw), 128px);
  font-weight: 400;
  margin-left: -5px;
  color: #fff;
  letter-spacing: -4px;
}

.pricing__head p {
  font-family: 'Inter', Arial, sans-serif;
  max-width: 400px;
  color: #c1c1c1;
  font-weight: 300;
  font-size: clamp(23px, calc(13.3px + 0.0019*100vw), 35px);
  line-height: 1.5;
  letter-spacing: 1px;
  margin-right: 200px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(15px, calc(13.24px + 0.0047*100vw), 20px); /* ОТСТУП между тарифными карточками (мин / макс) */
}

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px -10px;  /* ОТСТУП между тарифными карточками (мин / макс) */
}

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

.price-card {
  background: #ffff;
  border-radius: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  padding: clamp(15px, calc(13.24px + 0.0047*100vw), 20px); /* ОТСТУПЫ ВНУТРИ карточки (мин / макс) */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 380px;      /* ШИРИНА карточки в % от её ячейки в сетке (карточка стала уже своей ячейки в сетке) */
  height: 520px;
  margin: 0 auto;  /* центрируем внутри ячейки */
  position: relative;
  
  margin-left: 10px;
  /* Высота карточки отдельно не задана — подстраивается под контент.
     Если нужна фиксированная высота — добавь сюда, например: height: 500px; */
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.price-card h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(20px, calc(23px + 0.0038*100vw), 32px); /* РАЗМЕР ШРИФТА заголовка тарифа (мин / макс) */
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.price-card__desc {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, calc(11.3px + 0.0019*100vw), 20px); /* РАЗМЕР ШРИФТА описания тарифа (мин / макс) */
  color: #c1c1c1;
  margin-bottom: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  min-height: 36px; /* было 24px — под 2 строки текста, чтобы блок цены стартовал на одной линии у всех карточек */
  line-height: 1.2;
  letter-spacing: -1px;
}

/* --- Cost block --- */

.price-card__cost {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  margin-bottom: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
}

.price-card__cost-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
/* 1,2,3,4,6 карточки */
.price-card__cost-col .label {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, calc(20px + 0.0028*100vw), 24px);
  color: #000000;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: -1px;
  margin-top: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);   /* было 40px — цена и всё, что ниже, поднялись выше */
  margin-bottom: -2px;
}
/* старая цена */
.price-card__cost-col .label1 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(11px, calc(20px + 0.0009*100vw), 20px);
  color: #c1c1c1;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: -1px;
  margin-bottom: -8px;
  margin-right: clamp(19px, calc(16.89px + 0.0056*100vw), 25px);
}
.price-card__cost-col .price {
  line-height: 1;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(27px, calc(40px + 0.0085*100vw), 64px);
  color: #000000;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: -1px;
}

.price-card__cost-col--old {
  align-items: flex-end;
  text-align: right;
}

.price-card__cost-col--old .old-price {
  line-height: 1;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, calc(35px + 0.0038*100vw), 48px);
  color: #c1c1c1;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: 1px;
  margin-right: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}
/* 1,2,3,6,карточки  */
.price-card__badge {
  position: absolute;
  left: 41%;
  bottom: 3px;
  transform: translateX(-50%) rotate(2deg);;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.price-card__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* 4 карточка */
.price-card__badge1 {
  position: absolute;
  left: 37%;
  bottom: 1px;
  transform: translateX(-50%) rotate(2deg);;
  width: 50px;
  height: 50px;
  pointer-events: none;
}
.price-card__badge1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* карточка 5  */
.price-card__desc2 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, calc(11.3px + 0.0019*100vw), 20px);
  color: #c1c1c1;
  margin-bottom: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  min-height: clamp(52px, calc(45.66px + 0.0169*100vw), 70px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.price-card__cost2 {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
}

.price-card__cost-col2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-card__cost-col2 .label2 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, calc(20px + 0.0028*100vw), 24px);
  color: #000000;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: -1px;
  margin-top: 23px;   /* было 20px — цена и всё, что ниже, поднялись выше */
  margin-bottom: -2px;

}
.price-card__cost-col2 .price2 {
  line-height: 1;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(27px, calc(40px + 0.0085*100vw), 64px);
  color: #000000;
  margin-bottom: 25px;
  min-height: 32px;
  letter-spacing: -1px;
  
}
/* старая цена */
.price-card__cost-col2 .label3 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(11px, calc(20px + 0.0009*100vw), 20px);
  color: #c1c1c1;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: -1px;
  margin-bottom: -9px;
  margin-right: clamp(19px, calc(16.89px + 0.0056*100vw), 25px);

}


.price-card__cost-col2--old {
  align-items: flex-end;
  text-align: right;
}

.price-card__cost-col2--old .old-price2 {
  line-height: 1;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, calc(35px + 0.0038*100vw), 48px);
  color: #c1c1c1;
  margin-bottom: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  min-height: 32px;
  letter-spacing: 1px;
  margin-right: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}

.price-card__badge2 {
  position: absolute;
  left: 37%;
  bottom: 3px;
  transform: translateX(-50%) rotate(2deg);;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.price-card__badge2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



/* --- Features --- */

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  flex: 1;
  margin-top: -20px;
  line-height: 1.2;
}
.price-card__features1 {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  flex: 1;
  margin-top: -30px;
  line-height: 1.9;
}


.check-icon {
  width: 14px;
  height: 14px;
  margin-right: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
  margin-top: 0px; /* подгони под свой шрифт, обычно 3-5px */
  flex-shrink: 0;
}
.check-icon1 {
  width: 14px;
  height: 14px;
  margin-right: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
  margin-top: 0px; /* подгони под свой шрифт, обычно 3-5px */
  flex-shrink: 0;
}

.price-card__features li, .price-card__features1 li {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(13px, calc(15px + 0.0019*100vw), 20px);
  color: #000000;
  padding: 6px 0;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* --- Button --- */

.price-card__cta {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(17px, calc(12.3px + 0.0019*100vw), 20px);
  background: #12141a;
  color: #fff;
  border: none;
  border-radius: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: -15px; 
  cursor: pointer;
}

.price-card__cta:hover {
  background: #0792E9;
}


/* ═══════════════════════════════════════
   КЕЙС Reviews
═══════════════════════════════════════ */

.cases-section1 {
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(26px, calc(21.07px + 0.0131*100vw), 40px) clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
}


.cases-header1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
}

.cases-title1 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400; /* Medium */
  font-size: clamp(90px, calc(37.07px + 0.0131*100vw), 128px);
  color: #ffffff;
  letter-spacing: -4px;
  
}


.cases-nav1 {
  display: flex;
  margin-right: 0;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}
/* стрелки */
.nav-btn1 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* ЭФФЕКТ СТЕКЛА */
  background: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
  backdrop-filter: blur(8px);           /* Размытие фона за кнопкой */
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: clamp(74px, calc(23.3px + 0.1352*100vw), 218px);
  cursor: pointer;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  /* Добавлено для предсказуемости размеров */
  box-sizing: border-box; 
  /* Более плавная анимация */
  transition: all 0.3s ease; 
  line-height: 1;
}

#prev img,
#prevReviews img {
  margin-right: 2px; /* Попробуйте 2px вместо 1px для более заметного эффекта */
}

#next img,
#nextReviews img {
  margin-left: 2px;  /* То же самое для правой стрелки, чтобы сбалансировать */
}

.nav-btn1:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2); 
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px); /* Усиливаем размытие при наведении */
}

.nav-btn1:active:not(:disabled) {
  transform: scale(0.93);
}

.nav-btn1:disabled {
  opacity: 0.2;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.1);
}
/* Обертка для галереи */
.cases-overflow1{
    overflow:hidden;
    width: 100%;
    padding: 8px /* запас, чтобы увеличенная при hover карточка не обрезалась */
}

.cases-gallery{
    display:flex;
    gap: 20px; /* ОТСТУП между кейс-карточками (мин / макс) */
    transition:transform .45s cubic-bezier(.25,.46,.45,.94);
    will-change:transform;
    margin: clamp(8px, calc(7.3px + 0.0019*100vw), 10px); /* компенсируем padding обёртки, чтобы позиция карточек не сдвинулась */
}


/* Квадратная карточка */
.case-item {
    flex: 0 0 403px; /* ШИРИНА карточки — фиксированные 300px (не резиновая, меняй прямо это число) */
    height: clamp(417px, calc(158.03px + 0.0986*100vw), 417px); /* ВЫСОТА карточки (мин / макс) */
    
    /* Скругление и фиксация */
    border-radius: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
    overflow: hidden;
    
    /* Анимация при наведении */
    transition: transform 0.3s ease;
    pointer-events: auto; 
    cursor: default;
}

/* Картинка внутри карточки */
.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезает картинку по центру, сохраняя квадрат */
    display: block;
    -webkit-user-drag: none;      /* Запрет перетаскивания */
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;           /* Запрет выделения текста/картинки */
    -webkit-user-select: none;
    pointer-events: none;
}

/* Эффект при наведении */
.case-item:hover {
  cursor: pointer;
  transform: scale(1.05);
  position: relative; /* чтобы z-index сработал */
  z-index: 2; /* поверх соседних карточек, чтобы не выглядело как обрезание */
}

/* ═══════════════════════════════════════
   КЕЙС FAQ
═══════════════════════════════════════ */
.FAQ_head{
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(90px, calc(24.79px + 0.0272*100vw), 128px);
  font-weight: 400;
  margin-left: clamp(39px, calc(31.61px + 0.0197*100vw), 60px);
  color: #fff;
  letter-spacing: -4px;
  margin-left: 70px;
} 
  
.faq-grid {
    display: flex;
    gap: 0 -10px; /* Отступ между колонками */
    margin: clamp(20px, calc(16.48px + 0.0094*100vw), 30px) clamp(45px, calc(29.15px + 0.0423*100vw), 90px) 0; /* ОТСТУП ОТ КРАЁВ секции (сверху) (слева/справа) — каждый мин / макс */
    align-items: flex-start;
}

.faq-col {
    flex: 1;
    min-width: 0;
}

.faq-item {
    padding: clamp(8px, calc(7.3px + 0.0019*100vw), 10px) 0; /* ОТСТУП между вопросами по вертикали (мин / макс) */
}

.faq-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, calc(13.89px + 0.0056*100vw), 22px); /* ОТСТУП между номером и текстом вопроса */
  cursor: pointer;
}

.faq-num {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(16px, calc(10.3px + 0.0019*100vw), 18px); /* РАЗМЕР ШРИФТА номера вопроса (мин / макс) */
  font-weight: 400;
  color: #c1c1c1;
  padding-top: 5px;
  min-width: 18px;
  flex-shrink: 0;
}

.faq-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(28px, calc(17.94px + 0.0028*100vw), 45px); /* РАЗМЕР ШРИФТА заголовка вопроса (мин / макс) */
  line-height: 1.25;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
  flex: 0 1 auto;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-header:hover .faq-title {
    color: #007aff; /* Тот самый синий цвет */
}

/* Иконка +/× — твоя картинка, цвет управляется через background-color + mask */
.faq-toggle {
  position: relative;
  width: 18px;
 height: 18px;
  margin-top: 6px;
  margin-left: auto;
  margin-right: clamp(60px, calc(25.66px + 0.0169*100vw), 80px);
  flex-shrink: 0;
  background-color: #fff;
  -webkit-mask-image: url('photo/faq-plus.png');
  mask-image: url('photo/faq-plus.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Линия-разделитель под заголовком: регулируй LENGTH (width) и THICKNESS (height) */
.faq-line {
  width: 90%;      /* ДЛИНА полоски: можно "80%", "300px" и т.п. */
  height: 2px;       /* ТОЛЩИНА полоски */
  margin-top: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.4s ease;
}

.faq-item.active .faq-line {
  background: rgba(255, 255, 255, 1);
}

.faq-item--cta .faq-line {
  background: rgba(0, 122, 255, 0.35);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 2px;
    transition: max-height 0.4s ease, padding-top 0.4s ease;
    color: #c1c1c1;
    font-size: clamp(13px, calc(16.3px + 0.0019*100vw), 20px);
    line-height: 1.6;
}

.faq-item.active .faq-content {
    max-height: clamp(330px, calc(234.93px + 0.2535*100vw), 600px); /* Достаточно для самого длинного ответа */
    padding-top: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

.faq-content strong {
  color: #fff;
  font-weight: 600;
}

.faq-content .faq-subhead {
  color: #fff;
  font-weight: 600;
  margin-top: clamp(14px, calc(12.59px + 0.0038*100vw), 18px);
}

.faq-content .faq-subhead:first-child {
  margin-top: 0;
}

/* Выделенный пункт-приглашение к сотрудничеству */
.faq-item--cta .faq-title,
.faq-item--cta .faq-num {
  color: #007aff;
}

.faq-item--cta .faq-toggle {
  background-color: #007aff;
}

@media (max-width: 900px) {
  .faq-grid {
    flex-direction: column;
    gap: 0;
    margin: clamp(26px, calc(21.07px + 0.0131*100vw), 40px) clamp(18px, calc(15.89px + 0.0056*100vw), 24px) 0;
  }
  .faq-title {
    font-size: clamp(18px, calc(16.94px + 0.0028*100vw), 21px);
  }
}

/* ═══════════════════════════════════════
   КЕЙС PARTNERSHIP/COLLABORATION
═══════════════════════════════════════ */

.partnership-section {
  position: relative;
  padding: clamp(26px, calc(21.07px + 0.0131*100vw), 40px) clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(40px, calc(25.92px + 0.0376*100vw), 80px); /* уменьшен верхний отступ секции */
  background-image: url('photo/KV.png');
  background-size: cover;
  margin: clamp(50px, calc(32.39px + 0.0469*100vw), 100px) 0 clamp(39px, calc(31.61px + 0.0197*100vw), 60px) ;
  overflow: hidden;
  height:105vh;
}

.partnership-container {
  display: flex;
  flex-direction: column; /* Изменяем направление на вертикальное */
  align-items: flex-start; /* Выравниваем содержимое по левому краю */
  gap: clamp(15px, calc(13.24px + 0.0047*100vw), 20px); /* Отступ между переключателем и блоком контента уменьшен */
  max-width: clamp(660px, calc(469.86px + 0.507*100vw), 1200px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


.partnership-toggle__label{ display: none;}
.partnership-toggle{ display: none; }

.partnership-globe {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.partnership-content {
  display: flex;
  flex-direction: column;
  gap: clamp(39px, calc(31.61px + 0.0197*100vw),50px);
}

.partnership-block {
  display: flex;
  gap: clamp(140px, calc(104.79px + 0.0939*100vw), 260px);
  align-items: flex-start;
}

.block-left {
  flex: 0 0 300px;
  min-width: 0; /* не даёт колонке раздвигаться из-за длинного слова при переводе */
}

.block-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 570px;
}

.partnership-title {
  font-family: 'Switzer', Arial, sans-serif;
  margin: 0;
  font-size: clamp(90px, calc(36.07px + 0.0131*100vw), 128px);
  font-weight: 200;
  color: #fff;
  letter-spacing: -3px;
  white-space: nowrap; /* заголовок всегда в одну строку, даже если слово шире колонки */
}

.partnership-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  letter-spacing: -0.5px;
}

/* Хак margin-left:-60px убран — .block-left теперь не раздвигается благодаря min-width:0,
   и не требует ручной подгонки под конкретный язык. */

.partnership-btn {
  font-family: 'Inter', Arial, sans-serif;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: clamp(20px, calc(16.48px + 0.0094*100vw), 30px);
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) 0;
  width: clamp(200px, calc(150px + 8vw), 280px);
  text-align: center;
  font-size: clamp(12px, calc(14px + 0.0019*100vw), 18px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}
.partnership-btn1 {
  font-family: 'Inter', Arial, sans-serif;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: clamp(20px, calc(16.48px + 0.0094*100vw), 30px);
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) 0;
  width: clamp(200px, calc(150px + 8vw), 280px);
  text-align: center;
  font-size: clamp(12px, calc(14px + 0.0019*100vw), 16px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.partnership-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.partnership-btn1:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.partnership-btn:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   КЕЙС ФОРМА — Contact Form
═══════════════════════════════════════ */
 
.contact-form-section {
  padding: clamp(23px, calc(18.77px + 0.0113*100vw), 35px) 0 clamp(100px, calc(64.79px + 0.0939*100vw), 200px);;
  margin-bottom: 200px;
  position: relative;
}

.contact-form-section::before {
  content: "Contact us";
  position: absolute;
  top: 109%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 330px;
  font-weight: 400;
  letter-spacing: -25px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.2);
  z-index: 0;
  pointer-events: none;
}

.contact-form-inner {
  max-width: clamp(440px, calc(400px + 0.338*100vw), 800px);
  margin: 0 auto;
  
  padding: 0 clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  position: relative;
}
 
.contact-form-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(30px, calc(26.48px + 0.0094*100vw), 40px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: clamp(21px, calc(17.13px + 0.0103*100vw), 32px);
  text-align: center;
}
 
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  padding: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
 height: 600px;
 width: 900px;
 margin-left: -100px;
}
 
.hidden-field {
  display: none;
}
 
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  margin-bottom: clamp(35px, calc(13.24px + 0.0047*100vw), 45px);
}
 
.form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}
 
.form-field--full {
  margin-bottom: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}
 
.form-field label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(20px, calc(10.3px + 0.0019*100vw), 25px);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 10px;
}
 
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(18px, calc(11.3px + 0.0019*100vw), 20px);
  color: #1a1a1a;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: clamp(6px, calc(5.3px + 0.0019*100vw), 8px) 0;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}
 
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}
 
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #1a1a1a;
}
 
.form-field textarea {
  resize: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
  padding: clamp(8px, calc(7.3px + 0.0019*100vw), 10px) clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
}
 
.form-field textarea:focus {
  border-color: #1a1a1a;
}
 
/* Email validation */
.field-error {
  display: none;
  font-size: clamp(10px, calc(9.65px + 0.0009*100vw), 11px);
  color: #e0443e;
  margin-top: 4px;
}
 
.form-field input.invalid {
  border-bottom-color: #e0443e;
}
 
.form-field input.invalid + .field-error {
  display: block;
}
 
/* Custom select — Topic */
.custom-select {
  position: relative;
}
 
.custom-select__trigger {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(18px, calc(11.3px + 0.0019*100vw), 20px);
  color: rgba(0, 0, 0, 0.35);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: clamp(6px, calc(5.3px + 0.0019*100vw), 8px) 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
 
.custom-select.has-value .custom-select__trigger {
  color: #1a1a1a;
}
 
.custom-select__arrow {
  font-size: clamp(12px, calc(10.65px + 0.0009*100vw), 14px);
  color: rgba(0, 0, 0, 1);
  transition: transform 0.3s ease;
}
 
.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}
 
.custom-select__options {
  list-style: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}
 
.custom-select.open .custom-select__options {
  max-height: clamp(182px, calc(147.49px + 0.092*100vw), 280px);
  opacity: 1;
  overflow-y: auto;
}
 
.custom-select__options li {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(14, calc(10.3px + 0.0019*100vw), 16px);
  color: #1a1a1a;
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  cursor: pointer;
  transition: background 0.2s ease;
}
 
.custom-select__options li:hover {
  background: rgba(0, 0, 0, 0.05);
}
 
/* Submit + checkbox */
.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  margin-top: clamp(21px, calc(18.54px + 0.0066*100vw), 28px);
}
 
.btn-submit {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(16px, calc(11.3px + 0.0019*100vw), 18px);
  font-weight: 500;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: clamp(19px, calc(7.3px + 0.0019*100vw), 26px);
  padding: clamp(9px, calc(7.94px + 0.0028*100vw), 12px) clamp(110px, calc(31.61px + 0.0197*100vw), 190px);
  cursor: not-allowed;
  transition: background 0.3s ease;
}
 
.btn-submit:not(:disabled) {
  background: #1a1a1a;
  cursor: pointer;
}
 
.btn-submit:not(:disabled):hover {
  background: #000000;
}
 
.form-checkbox {
  display: flex;
  align-items: center;
  gap: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(14px, calc(10.65px + 0.0009*100vw), 16px);
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
 
.form-checkbox input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.required {
  color: #e0443e;
  margin-left: 1px;
}

.consent-link {
  color: #e0443e;
  text-decoration: underline;
}
 
/* Статус отправки — оверлей */
.form-status-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 999;
  align-items: center;
  justify-content: center;
}
 
.form-status-overlay.show {
  display: flex;
}
 
.form-status-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 70px;
  text-align: center;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
 
.form-status-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}
 
.form-status-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
}
 
.form-status-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
}
 
 
/* ═══════════════════════════════════════
   КЕЙС КОНТАКТЫ — Footer
═══════════════════════════════════════ */
 .partnership-section,
.site-footer {
  width: calc(100% + var(--site-pad-left) + var(--site-pad-right));
  margin-left: calc(-1 * var(--site-pad-left));
}

/* --- Основной блок футера --- */
.site-footer {
  padding: clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(20px, calc(16.48px + 0.0094*100vw), 30px);
  border-radius: 0;
  background: #07101D;
}

/* --- Сетка колонок --- */
.footer-inner {
  display: grid;
  grid-template-columns: 250px repeat(3, auto); 
  gap: 0; 
  justify-content: start; /* Прижимает всё к левому краю */
  max-width: clamp(660px, calc(469.86px + 0.507*100vw), 1200px);
  margin: 0 auto;
  padding-bottom: clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  border: none;
  min-width: 0;
}

/* --- Секция бренда --- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}

.footer-logo span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(22px, calc(19.18px + 0.0075*100vw), 30px);
  font-weight: 500; 
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  gap: 1px;
  row-gap: 6px;
  margin-top: clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  margin-left: 10px;
}

.footer-socials a {
  width: 30px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials img {
  display: block;
  width: 32px;
  height: 32px;
}

/* --- Колонки контента --- */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  letter-spacing: -1px;
  margin-left: 138px;
}

.footer-col--company,
.footer-col--contacts {
  margin-left: 90px; /* ваше значение вместо унаследованного из .footer-col */
}

.footer-col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(29px, calc(17.94px + 0.0028*100vw), 32px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.footer-col a,
.footer-col span {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(20px, calc(13.3px + 0.0019*100vw), 25px);
  font-weight: 300;
  color: #C1C1C1;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
}

/* --- Нижняя часть без разделителей --- */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: clamp(660px, calc(469.86px + 0.507*100vw), 1200px);
  margin: 0 auto;
  padding-top: clamp(8px, calc(7.3px + 0.0019*100vw), 10px); /* Минимальный отступ */
}

.footer-bottom p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(18px, calc(12.3px + 0.0019*100vw), 22px);
  font-weight: 300;
  color: #C1C1C1;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: clamp(34px, calc(50px + 0.0178*100vw), 100px);
  justify-content: center;
  align-items: center;
  margin-left: -115px;
  margin-top: -27px;
}

.footer-bottom-links a {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(18px, calc(12.3px + 0.0019*100vw), 22px);
  font-weight: 300;
  color: #C1C1C1;
  text-decoration: underline;
}
.contact-group {
    display: block; /* Позволяет тегу br нормально работать */
    line-height: 1.2; /* Управляйте высотой строк здесь, а не через gap */
    letter-spacing: 0.01px;
}








































.cursor-blur {
  position: fixed;
  width: 30px;
  height: 30px;
  
  /* Эффект стекла Apple */
  background: rgba(255, 255, 255, 0.08); /* Очень легкая прозрачность */
  backdrop-filter: blur(20px);           /* Сильное размытие */
  -webkit-backdrop-filter: blur(20px);   /* Для поддержки Safari */
  
  /* Белая обводка */
  border: 1px solid rgba(255, 255, 255, 0.5);
  
  /* Дополнительные стили */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease; /* Плавное появление */
  opacity: 0;
  
  /* Легкое свечение внутри для объема */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════
   LEGAL PAGES (Privacy Policy / Cookie Policy)
═══════════════════════════════════════ */

.legal-hero {
  padding: clamp(40px, calc(25.92px + 0.0376*100vw), 80px) clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(26px, calc(21.07px + 0.0131*100vw), 40px);
  max-width: clamp(495px, calc(352.39px + 0.3803*100vw), 900px);
}

.legal-hero__eyebrow {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  font-weight: 400;
  color: #0792E9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

.legal-hero h1 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(50px, calc(35.92px + 0.0376*100vw), 90px);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -6px;
  margin-bottom: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
}

.legal-hero__updated {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(14px, calc(13.3px + 0.0019*100vw), 16px);
  font-weight: 300;
  color: #C1C1C1;
}

.legal-content {
  padding: 0 clamp(39px, calc(31.61px + 0.0197*100vw), 60px) clamp(32px, calc(25.66px + 0.0169*100vw), 50px);
  max-width: clamp(440px, calc(313.24px + 0.338*100vw), 800px);
}

.legal-content section {
  margin-bottom: clamp(29px, calc(23.72px + 0.0141*100vw), 44px);
}

.legal-content h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(30px, calc(26.48px + 0.0094*100vw), 40px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  letter-spacing: -2px;
}

.legal-content p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(13px, calc(12.3px + 0.0019*100vw), 15px);
  line-height: 1.3;
  color: #F4F6F8;
  margin-bottom: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  font-weight: 300;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
}

.legal-content ul li {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(13px, calc(12.3px + 0.0019*100vw), 15px);
  line-height: 1.7;
  color: #c1c1c1;
  padding-left: clamp(16px, calc(13.89px + 0.0056*100vw), 22px);
  position: relative;
  margin-bottom: clamp(6px, calc(5.3px + 0.0019*100vw), 8px);
}

.legal-content li {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: clamp(13px, calc(12.3px + 0.0019*100vw), 15px) !important;
  line-height: 1.3 !important; /* Уменьшенный интервал */
  color: #ffff !important;
  padding-left: clamp(32px, calc(25.66px + 0.0169*100vw), 50px) !important; /* Смещение правее */
  margin-bottom: clamp(6px, calc(5.3px + 0.0019*100vw), 8px) !important;
}

.legal-content li::before {
  content: '';
  position: absolute !important;
  left: 40px !important;
  top: 9px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ffff !important;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffff;
}

.legal-content .browser-links-list {
  margin-left: clamp(39px, calc(31.61px + 0.0197*100vw), 60px); /* подберите нужное значение */
}
.legal-content a {
  color: #ffff;
  text-decoration: underline;
}

.legal-content strong {
  color: #ffffff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .legal-hero { padding: clamp(20px, calc(16.48px + 0.0094*100vw), 30px) clamp(18px, calc(15.89px + 0.0056*100vw), 24px) clamp(20px, calc(16.48px + 0.0094*100vw), 30px); }
  .legal-hero h1 { font-size: clamp(27px, calc(23.83px + 0.0085*100vw), 36px); letter-spacing: -1.5px; }
  .legal-content { padding: 0 clamp(18px, calc(15.89px + 0.0056*100vw), 24px) clamp(46px, calc(37.55px + 0.0225*100vw), 70px); }
  
}

.page-cookie {
  background-image: none;
  background-color: #0A1A2F;
}


/* ═══════════════════════════════════════
   404 ERROR PAGE
═══════════════════════════════════════ */

.photo-container {
  width: 100%;           /* Ширина блока (можно задать в px, например 600px) */
    height: clamp(275px, calc(195.77px + 0.2113*100vw), 500px);         /* Высота вашего прямоугольника */
    background-image: url('photo/404page.svg'); /* Путь к вашему фото */
    background-size: cover;          /* Фото заполнит весь блок без искажений */
    background-position: center;     /* Фото будет центрироваться */
    
}    
.page-404{
  background-image: none;
  background-color: #0A1A2F;
  
}

@media (max-width: 768px) {
  body { padding-left: 0; padding-right: 0; }

  .error-page__code { font-size: clamp(53px, calc(37.86px + 0.0404*100vw), 96px); letter-spacing: -4px; }
  .error-page__title { font-size: clamp(19px, calc(17.94px + 0.0028*100vw), 22px); }
}



@media (max-width: 768px) {
  body { padding-left: 0; padding-right: 0; }
    .case-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Планшет 1024px ── */
@media (max-width: 1024px) {
  body { padding-left: 0; padding-right: 0; }
  .header { padding: clamp(18px, calc(15.89px + 0.0056*100vw), 24px) clamp(26px, calc(21.07px + 0.0131*100vw), 40px) clamp(23px, calc(18.42px + 0.0122*100vw), 36px); }

  .header__menu-link { font-size: clamp(33px, calc(29.13px + 0.0103*100vw), 44px); }

  .cases-section { padding: 0 clamp(26px, calc(21.07px + 0.0131*100vw), 40px); }

  .case-card {
    width: calc((100vw - 80px - 60px) / 3);
    height: clamp(308px, calc(219.27px + 0.2366*100vw), 560px);
  }

  .portfolio { padding: clamp(31px, calc(25.01px + 0.016*100vw), 48px) clamp(26px, calc(21.07px + 0.0131*100vw), 40px); }
  .portfolio .cases-title { font-size: clamp(33px, calc(29.13px + 0.0103*100vw), 44px); }
  .portfolio-wrapper { gap: clamp(21px, calc(17.13px + 0.0103*100vw), 32px); }
  .filters { width: clamp(117px, calc(94.82px + 0.0592*100vw), 180px); }
  .filter-btn { font-size: clamp(14px, calc(13.3px + 0.0019*100vw), 16px); }
  .portfolio-more { padding-left: clamp(106px, calc(68.68px + 0.0995*100vw), 212px); }

  /* Сброс десктопных фиксированных размеров формы (900px/-100px ломали мобилку) */
  .contact-form {
    width: 100%;
    height: auto;
    margin-left: 0;
  }
}



/* ═══════════════════════════════════════════════════════════
   PORTFOLIO CASE MODAL — окно кейса по клику на карточку
   Два макета: --wide (горизонтальные/дизайн/dev) и --split (reels)
═══════════════════════════════════════════════════════════ */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, calc(15.89px + 0.0056*100vw), 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portfolio-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.portfolio-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  max-width: clamp(286px, calc(203.61px + 0.2197*100vw), 520px);
  width: 100%;
  max-height: 92vh;
  overflow: visible;
  padding: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.portfolio-modal.is-open .portfolio-modal__dialog {
  transform: translateY(0) scale(1);
}

.portfolio-modal__body {
  overflow: visible;
}

.portfolio-modal__body::-webkit-scrollbar { display: none; }

.portfolio-modal__close {
  position: absolute;
  top: 5px;
  right: -35px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:  transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.portfolio-modal__close:hover { background:  transparent; }

/* --- медиа (видео/картинка) --- */
.portfolio-modal__media {
  border-radius: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  overflow: hidden;
  background: #111;
  margin-bottom: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}

.portfolio-modal__dialog--wide .portfolio-modal__media {
  aspect-ratio: 16 / 9.2;
  max-width: 100%;
  margin: 0 auto clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
}

.portfolio-modal__media img,
.portfolio-modal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-modal__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.portfolio-modal__video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(117px, calc(94.82px + 0.0592*100vw), 180px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  cursor: default;
}

.portfolio-modal__video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.portfolio-modal__play {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.portfolio-modal__video-note {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(11px, calc(10.65px + 0.0009*100vw), 12px);
  opacity: 0.85;
}

/* --- заголовок / текстовые блоки --- */
.portfolio-modal__title {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(19px, calc(17.94px + 0.0028*100vw), 22px);
  color: #12141a;
  margin: 0 0 clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  letter-spacing: -1px;
}

.portfolio-modal__info h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  color: rgba(0,0,0,0.4);
  margin: clamp(12px, calc(10.59px + 0.0038*100vw), 16px) 0 6px;
}

.portfolio-modal__info h4:first-child { margin-top: 0; }

.portfolio-modal__info p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.portfolio-modal__link {
  margin-top: clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
}

.portfolio-modal__link a {
  color: #0792E9;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.portfolio-modal__link a:hover {
  color: #ffffff;
}

.portfolio-modal__result-label { color: #0792E9 !important; }

/* --- split-макет (reels): видео слева, текст справа --- */
.portfolio-modal__dialog--split { max-width: clamp(308px, calc(219.27px + 0.2366*100vw), 560px); }

.portfolio-modal__split {
  display: flex;
  gap: clamp(15px, calc(13.24px + 0.0047*100vw), 20px);
  align-items: flex-start;
}

.portfolio-modal__dialog--split .portfolio-modal__media {
  margin-bottom: 0;
  flex: 0 0 42%;
  aspect-ratio: 9 / 16;
}

.portfolio-modal__dialog--split .portfolio-modal__info {
  flex: 1;
  min-width: 0;
}

@media (max-width: 560px) {
  
  .portfolio-modal__dialog {width: 85% !important; /* Занимает 95% ширины экрана */
    max-width: 95% !important;
    margin: 0 auto; /* Центрируем */
   padding: clamp(11px, calc(9.59px + 0.0038*100vw), 15px); /* Уменьшаем внутренние отступы,  */
  }
  .portfolio-modal__title { 
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(17px, calc(15.94px + 0.0028*100vw), 20px);
    color: #12141a;
    margin: 0 0 clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
    letter-spacing: -1px;
  }

  /* На мобильных backdrop-filter под открытой модалкой вызывает баг
     WebKit: слой с фоном за модалкой рендерится задвоенным/зеркальным.
     Убираем размытие, оставляем просто затемнение. */
  .portfolio-modal__backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5, 10, 20, 0.9) !important;
  }
}

.portfolio-mobile__card { cursor: pointer; }




/* ── Мобильный 480px ── */
@media (max-width: 480px) {
  body { padding: 0; }
  
  .hero__title-svg { 
    top: 85px !important;
    width: 300px !important;
    max-width: 300px !important;
  }

  .hero__title-svg text {
    font-size: 80px;
    fill: #ffffff !important;
  }

  /* Шапка */
  .header { padding: 20px 20px 30px; }
  .logo span { display: none; }
  .flag-btn, .btn-order { display: none !important; }
  .logo { font-size: 24px; }
  .logo__icon { width: 30px; height: 34px; }

    /* Мобильное полноэкранное меню */
  .header.menu-open {
    padding: 20px 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
  
  }

  .header.menu-open .logo span {
    display: inline;
  }
  .header.menu-open .flag-btn {
    display: flex !important;
  }

  /* ── Мобильное меню-аккордеон: заголовок раскрывает подпункты прямо под собой ── */
  .header__menu {
    display: none;
  }

  .header.menu-open .header__menu {

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-top: 100px;
  }

  .header__menu-sublist a{
    font-size: 12px !important;
  }
  .header__menu-phones{
    margin-left: -200px;
    font-size: 25px;
  }
  .header__menu-phones a{
    
    font-size: 14px;
  }

  

  .header__menu-socials {
    order: 4;
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, auto);
    justify-content: center;
    margin-top: 10px;
    gap: 20px;
  }


  .header__menu-socials img {
    width: 32px;
    height: 32px;
  }

  .header__menu-sublist a{
    font-size: 20px !important;
  }

  /* "Растворяем" промежуточные обёртки, чтобы заголовки и их подпункты
     стали прямыми флекс-элементами header__menu и их можно было
     переставить в нужном порядке через order */
  .header__menu-categories,
  .header__menu-panel {
    display: contents;
  }

  .header__menu-link {
    color: #c1c1c1;      /* ярче вместо тусклого серого */
    font-weight: 400; 
    width: 100%;
    font-size: 50px;
    padding: 16px 0;
    margin: 0;
    justify-content: center;
  }

  .header__menu-link[data-category="product"]  { order: 1; }
  .header__menu-sublist[data-panel="product"]   { order: 2; }
  .header__menu-link[data-category="company"]  { order: 3; }
  .header__menu-sublist[data-panel="company"]   { order: 4; }
  .header__menu-link[data-category="contacts"] { order: 5; }
  .header__menu-sublist[data-panel="contacts"]  { order: 6; }

  .header__menu-panel {
    min-height: 0;
  }

  /* Подпункты раскрываются на своём месте (аккордеон), а не поверх друг друга */
  .header__menu-sublist {
    position: static;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    gap: 14px;
    margin: 0;
    padding: 0;
    transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
  }

  .header__menu-sublist.is-active {
    max-height: 480px;
    padding: 16px 0 22px;
  }

  .header__menu-sublist a {
    font-size: 14px;
    margin-left: 0;
  }

  /* Hero */
  .hero { min-height: auto; padding: 40px 20px 0; }
  
  .hero__sphere { 
    margin: auto 0;
    width: 250px !important;  /* Установите нужный вам размер */
    height: 500px !important;
    margin-top: -180px;
    margin-left: 75px;
    
   }
  .portfolio-left { display: none !important; }

  /* Cookie */
  .cookie-banner {
    left: 10px !important;
    right: 10px !important;
    max-width: none !important;
    padding: 20px;
  }

  /* Кейсы */
  .cases-header h2 {
        font-size: 40px !important; /* Уменьшаем размер до нужного */
        margin-bottom: 15px;      
        margin-left: -20px;
  }
  .cases-section{
    padding-bottom: 10px;
    margin-top: -100px;
  }
  .case-card:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Фиксированная тень вместо масштабирования */
  }
  .cases-track {
    display: flex;
    flex-direction: row;      /* Карточки в ряд */
    
    gap: 15px;                /* Отступ между карточками */
    padding: 0 20px;
    scrollbar-width: none;    /* Скрываем скроллбар */
  }

  .hide-mobile {
    display: none !important;
  }
  .cases-track::-webkit-scrollbar { display: none; }
  
  /* 2. Адаптация карточки */
  .case-card {
    flex: 0 0 105%;            /* Ширина карточки 85% экрана */
    scroll-snap-align: center; /* Центрирование при свайпе */
    height: auto !important;   /* Высота по контенту */
    margin: 0 !important;      /* Убираем лишние отступы */
    min-height: auto !important; /* Убирает лишнюю высоту */
    padding: 10px !important;
    /* backdrop-filter на мобильных не успевает пересчитываться при скролле
       и на границе экрана даёт "серый" неразмытый фон — убираем его */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(140, 210, 244, 0.16) !important;
  }
  .logo-title-row {
    flex-direction: column;   /* Вертикальное направление */
    align-items: flex-start;  /* Прижато к левому краю */
    gap: 12px;                /* Отступ между лого и текстом */
    margin-bottom: 16px;
  }
  /* 2. Принудительно показываем логотип */
  .card-logo-container {
    width: 40px !important; 
    height: 40px !important;
    margin-bottom: 0 !important;
  }
  
  .card-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* 3. Удаление изображений (картинок) из карточек */
  .card-thumb, .grapfic img {
    display: none !important;
  }

  /* 4. Настройка контента карточки (убираем лишние отступы, так как нет фото) */
  .card-body {
    padding: 10px;/* Удобный отступ для чтения текста */
  }
  .cases-nav { display: none !important; }
  .card-title {
    font-size: 24px !important; /* Увеличенный заголовок как на дизайне */
    line-height: 1.1;
    margin-bottom: 8px !important;
  }

  .card-metric {
    font-size: 16px !important;
    margin-bottom: 16px !important;
    opacity: 0.8;
  }

  .card-desc p {
    font-size: 14px !important; /* Читабельный размер текста */
    line-height: 1.5;
  }
  
  /* Перестраиваем обертку в колонку */
  .portfolio {
    padding: 40px 20px;
  }

  .portfolio-wrapper {
    display: block; /* Убираем flex, чтобы фильтры были отдельно */
  }

  .filters {
    display: flex;
    flex-direction: row;
    overflow-x: auto;    /* Горизонтальный скролл для фильтров */
    gap: 8px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap; /* Чтобы текст не переносился */
    background: rgba(255, 255, 255, 0.05); /* Легкий фон кнопок */
    padding: 10px 20px;
    border-radius: 50px; /* Скругленные кнопки, как в дизайне */
  }

  /* Сетка карточек в 1 столбец */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Карточки Reels: делаем их крупнее в один или два столбца */
  .portfolio-grid.reels-mode {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Кнопка "More" */
  .portfolio-more {
    padding-left: 0; /* Убираем отступ, который был для десктопного сайдбара */
  }

  .portfolio-item {
    aspect-ratio: 16 / 9; /* Немного увеличиваем высоту для лучшего вида */
  }
  
  .portfolio-item__label {
    padding: 20px 12px 12px;
    font-size: 13px;
  }

  .about-grid {
    display: flex;
    flex-direction: row; /* Карточки в ряд */
    overflow-x: auto;    /* Прокрутка вбок */
    gap: 15px;
    padding: 0 20px;     /* Отступы по бокам */
    scroll-snap-type: x mandatory; /* Плавная фиксация при скролле */
    scrollbar-width: none;         /* Скрыть полосу прокрутки */
  }

  /* Скрываем скроллбар для Webkit браузеров */
  .about-grid::-webkit-scrollbar { display: none; }

  .about-card {
    flex: 0 0 85%;       /* Каждая карточка занимает 85% ширины экрана */
    scroll-snap-align: center; /* Центрирование при скролле */
    height: auto;
    min-height: 380px;   /* Высота для адаптивности */
  }

  .services-grid {
    grid-template-columns: 1fr; /* Одна колонка вместо двух */
    width: 100%;
    padding:  30px 10px;
  }

  .service-item {
    width: 90%; /* Карточка растягивается на всю ширину */
    margin-left: 50px;
  }

  .services-title {
    font-size: 40px; margin-left: 0px;
  }
  .services {
  padding-top: 90px;   /* было 80px (общее для десктопа и мобилки) — подбери число под себя */
  }
 .service-name{ font-size: 20px;}
 .service-list li{font-size: 14px; margin-left: -10px;}
  .case-gallery { grid-template-columns: 1fr; }


  /* ── About us: заголовок ── */
  .about-title { font-size: 40px; margin-left: 0px; }

  .about-card__title { font-size: 18px; }

  /* ── PORTFOLIO: прячем десктопную сетку/сайдбар, показываем мобильную версию ── */
  .portfolio-wrapper.is-mobile-hidden { display: none !important; }
  .portfolio-more.is-mobile-hidden { display: none !important; }

  .portfolio { padding: 40px 0; }
  .portfolio .cases-title { margin-left: 20px; font-size: 40px; }

  .portfolio-mobile { display: none; padding: 0 20px; margin-top: 24px; }

  .portfolio-mobile__pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-mobile__pills::-webkit-scrollbar { display: none; }

  .portfolio-mobile__pill-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .portfolio-mobile__pill {
    flex: 0 0 auto;
    white-space: nowrap;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .portfolio-mobile__pill.active {
    background: #0792E9;
    border-color: #0792E9;
    color: #fff;
  }

  .portfolio-mobile__group { margin-bottom: 16px; }

  .portfolio-mobile__group-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0 0 14px;
  }

  .portfolio-mobile__group-title .count {
    color: rgba(255,255,255,0.4);
    font-size: 16px;
  }

  .portfolio-mobile__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .portfolio-mobile__track::-webkit-scrollbar { display: none; }

  .portfolio-mobile__card {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }

  .portfolio-mobile__thumb {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0d1a2e;
  }

  /* Reels в мобильной группе — тоже вертикальные, узкие карточки */
  .portfolio-mobile__group[data-group-key="reels"] .portfolio-mobile__card {
    flex-basis: 38%;
  }

  .portfolio-mobile__group[data-group-key="reels"] .portfolio-mobile__thumb {
    aspect-ratio: 9 / 16;
  }

  .portfolio-mobile__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .portfolio-mobile__label {
    margin-top: 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    display: none;
  }



.about-bg-arrow:nth-child(1) { 
  display: none; }
.about-bg-arrow:nth-child(2) { 
  display: none; }

.about-card__text {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.63;
  color: rgb(255, 255, 255);
  margin: 0;
}  


  /* ── HOW DO WE WORK: сетка 2×2 из квадратиков ── */
  .work-title { font-size: 40px;  padding-top: 20px !important; color: #ffff;margin-left: 20px; margin-top: -20px; margin-bottom: 12px; }
  .work-title-span { font-size: 40px; display: block; } /* переносит "do we work?" на вторую строку */

  .how-we-work {
    padding: 0 20px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    width: 100%;
    height: auto;
  }
  .workflow-graph { margin-top: 24px; }

  .workflow-track {
    --track-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px; 
    align-items: end;
    gap: 14px;
    height: auto;
    overflow: visible;
  }

  /* По умолчанию квадрат ниже, при тапе плавно вырастает вверх */
  .workflow-col {
    flex: none;
    border-radius: 35px !important;
    width: 100%;
    max-width: none;
    height: 120px;
    max-height:190px;
    min-height: 120px;
    padding: 18px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .workflow-col.is-active {
    height: 190px;
    z-index: 3;
  }

  .workflow-col::before {
    background: linear-gradient(180deg, #1D7AF1FF, #0C316099);
  }

  .workflow-dot { display: none; }
  .workflow-bg { display: none; }

  .workflow-tooltip br{
    font-family: 'Inter', Arial, sans-serif;
    display: none;
    font-family: 17px;
    font-weight: 300;
  }

  

  /* Цифра + заголовок на одном уровне */
  .workflow-step {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    gap: 8px;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
  }

  .workflow-step__number {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    line-height: 1;
  }

  .workflow-step__title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 22px;
    font-weight: 200;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.3px;
  }

 .workflow-step{
    opacity:1;
    visibility:visible;
    transition:opacity .25s ease, visibility .25s ease;
}

.workflow-col.is-active .workflow-step{
    opacity:0;
    visibility:hidden;
}

  /* Текст секции плавно проявляется на месте цифры и заголовка */
  .workflow-tooltip {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 300;
    position: absolute;
    inset: 18px;
    display: flex;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    transition: opacity .25s ease,
        visibility 0s linear .25s;
    animation: none !important; /* отключаем общую анимацию появления при скролле */
    z-index: 2;
  }

  .workflow-col.is-active .workflow-tooltip {
     opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s;
  }
  .workflow-col:not(.is-active) .workflow-tooltip {
    opacity: 0;
    visibility: hidden;
  }
  .about-bg:nth-child(1) { 
  top: -340px !important;    
  right: -90% !important; 
  width: 600px !important; }
.about-bg:nth-child(2) { 
  bottom: -350px !important; 
  left: -90% !important;    
  width: 600px !important; }

  .tooltip-dot { display: none; }

  .workflow-labels { display: none; }

  /* ── PRICING ── */
  .pricing__head { padding: 0 20px; }
  .pricing__head h2 { font-size: 40px; margin-left: -40px; letter-spacing: -1px; }
  .pricing__head p { display: none; }

  .price-card__cost{ font-size: 16px; font-weight: 200;}

  .price-card__cost-col .price { font-size: 35px; font-weight: 400; }
  .price-card__cost-col--old .old-price{ font-size: 30px; font-weight: 500;}

  .price-card__desc2{font-size: 17px; font-weight: 400;}
  .price-card__desc{font-size: 17px; font-weight: 400;}
  
  .price-card__cost-col2 .price2 { font-size: 35px; font-weight: 400; }
  
  .price-card__cost-col2--old .old-price2 { font-size: 30px; font-weight: 400; }
 
  .price-card__features li, .price-card__features1 li { font-size: 15px; line-height: 1;}






  
  .pricing__grid { 
    padding: 1px; 
    gap: 16px; 
  }
  .price-card__features {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #000000;
    line-height: 0.2 !important;
  }

.pricing__grid .price-card:nth-child(3) .price-card__badge {
  top: -110px;
}
  .price-card{
    width: 96% !important;
    height: 100%;
    margin-left: -5px;
  }
.price-card__cta {
  border-radius: 30px;
 padding: 10px ;
 width: 250px;
 margin-left: 30px;
  
}

  .price-card__badge{
  left: 220px;
  right: 14px;
  bottom: auto;
  top: -120px;
  transform: none;
  width: 82px;
  height: 82px;
  transform: translateX(0) rotate(-15deg) !important;
}
.price-card__badge1{
  left: 220px;
  right: 14px;
  bottom: auto;
  top: -120px;
  transform: none;
  width: 82px;
  height: 82px;
  transform: translateX(0) rotate(-15deg) !important;
}
.price-card__badge2 {
  left: 220px;
  right: 14px;
  bottom: auto;
  top: -80px;
  transform: none;
  width: 82px;
  height: 82px;
  transform: translateX(0) rotate(-15deg) !important;
}

.about-card,
.about-card.is-visible,
.case-item,
.case-item.is-visible {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

/* backdrop-filter на мобильных во время горизонтального скролла не успевает
   пересчитываться и на границе экрана даёт "серый" неразмытый фон —
   убираем его в карусели, оставляя обычный полупрозрачный фон */
.about-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(140, 210, 244, 0.16) !important;
}
.price-card h3,
.price-card__desc,
.price-card__desc2 { min-height: auto; padding-right: 90px; }

  /* ── REVIEWS ── */
  .cases-section1 { padding: 40px 20px; }
  .cases-header1 { margin-bottom: 20px; }
  .cases-title1 { font-size: 40px; margin-left: 5px; letter-spacing: -1px;  }
  .nav-btn1 { display: none; }
  .cases-overflow1 { padding: 0; overflow: visible; }

  .cases-gallery {
    margin: 0;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    scrollbar-width: none;
  }
  .cases-gallery::-webkit-scrollbar { display: none; }

  .case-item {
    flex: 0 0 80%;
    height: auto;
    scroll-snap-align: center;
  }
  .case-item img { height: auto; object-fit: contain; }

/* ── FAQ ── */
.FAQ_head { font-size: 40px; margin-left: 20px; letter-spacing: -1.5px; }
.faq-grid { margin: 24px 20px 0; }
.faq-title { font-size: 16px; }
.faq-toggle { margin-right: 20px; }
.faq-header { gap: 14px; align-items: center; }
.faq-num { font-size: 11px; min-width: 14px; }
.faq-line { margin: 14px auto 0; }

  /* ── PARTNERSHIP / COLLABORATION ── */
  .partnership-section {
    height: auto;
    min-height: 400;
    padding: 32px 20px 40px;
    margin: 60px 0 40px;
    display: flex;
    align-items: stretch;
  }

  .partnership-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

.partnership-toggle {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.partnership-toggle__switch {
  position: relative;
  display: block;
  width: 130px;
  height: 50px;
  border-radius: 33px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.25);
  
}

.partnership-toggle__knob {
  position: absolute;
  top: 5px;
  left: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d7dbe0;
  transition: transform 0.6s ease;
}

.partnership-toggle.is-collab .partnership-toggle__knob {
  transform: translateX(77px);
}



.partnership-toggle__label {
  display: flex;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: flex-start;
  padding-left: 62px;
  padding-right: 16px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  pointer-events: none;
  transition: padding 0.3s ease; /* ← добавили */
}


.partnership-toggle__label::before { 
  content: ""; 
  margin-right: 6px !important;
}
.partnership-toggle__label::after  { 
  content: "→"; 
  margin-left: 6px !important;
}

.partnership-toggle.is-collab .partnership-toggle__label {
  padding-left: 10px;
  padding-right: 60px;
}

.partnership-toggle.is-collab .partnership-toggle__label::before { content: "←"; margin-right: 6px !important; }
.partnership-toggle.is-collab .partnership-toggle__label::after  { content: ""; margin-left: 0 !important; }

  .partnership-content { flex: 1; position: relative; }

  .partnership-block {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  height: auto;
  animation: partnershipFade 0.4s ease;
  }

  .partnership-block.is-active { display: flex; }

  @keyframes partnershipFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .block-left { flex: none; }

 .partnership-title { 
  font-size: 40px; 
  margin-left: 20px;
  margin-bottom: 70px; 
  letter-spacing: -1px; }

  .block-right { max-width: none; margin-left: 5px; width: 100%; }

  .partnership-block:nth-child(2) .block-right {
  margin-left: 0px;
  }

  .partnership-text { font-size: 15px; margin-bottom: 24px; }

  .partnership-btn,
  .partnership-btn1 {
    width: 100%;
    padding: 16px 20px;
    text-align: center;
  }

  /* ── CONTACT FORM ── */
  .contact-form-section { padding: 24px 0 110px; 
  margin-bottom: 10px;
  }




  .contact-form-section::before {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 22.2vw;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -6px;
    top: 96.5%;
   
    margin-left: -5px;
  }

  .contact-form-inner { padding: 0 20px; }

  .contact-form-title { font-size: 26px; margin-bottom: 20px; }

  .contact-form { padding: 24px 20px; border-radius: 16px; }

  .form-field label { font-size: 16px; margin-bottom: 6px; }

  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field textarea {
    font-size: 15px;
  }

  .form-field textarea { min-height: 110px; }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }

  .btn-submit { width: 100%; padding: 14px; }

  .form-footer { gap: 16px; }

  /* ── FOOTER ── */
  .site-footer { padding: 48px 20px 24px; }

  .footer-inner {
    display: grid;
    grid-template-columns: 46px 1fr 1fr;
    gap: 28px 12px;
    padding-bottom: 28px;
  }

  .footer-col { margin-left: 0; gap: 10px; }

  /* Логотип (только иконка) стоит слева на уровне заголовков Product/Company,
     сами колонки сдвинуты правее к нему вплотную, Contacts — под Product/Company */
  .footer-brand { display: contents; }

  .footer-logo {
    order: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .footer-logo .logo__icon { width: 30px; height: 30px; }
  .footer-logo span { display: none; }

  .footer-col--product  { order: 1; grid-column: 2; grid-row: 1; } /* Product */
  .footer-col--company  { order: 2; grid-column: 3; grid-row: 1; } /* Company справа от Product */
  .footer-col--contacts {
    order: 3;
    grid-column: 2 / -1;
    grid-row: 2;
    margin-top: 8px;
    margin-left: 3px;
  }

  .footer-col h4 { font-size: 26px; }
  .footer-col a,
  .footer-col--contacts span { font-size: 19px; }

  /* Внутри Contacts на моб. версии: сначала телефон, потом email, потом tg */
  .footer-col--contacts a:nth-child(2)  { order: 3; } /* tg */
  .footer-col--contacts a:nth-child(3)  { order: 2; } /* email */
  .footer-col--contacts .contact-group { order: 1; } /* phone/WA */

  .footer-socials {
    order: 4;
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, auto);
    justify-content: center;
    margin-top: 10px;
    gap: 20px;
  }

    .footer-socials a {
    width: 40px;
    height: 40px;
  }

  .footer-socials img {
    width: 32px;
    height: 32px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .footer-bottom p br {
  display: none;
}
.footer-bottom p {
  white-space: nowrap;
  font-size: 16px;   /* уменьши, если в одну строку не влезает — подбери значение */
}
  .footer-bottom-links {
    margin: 0;
    gap: 24px;
    justify-content: center;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 24px;
    left: 20px;
  }

  .scroll-to-top img {
    width: 14px;
    height: 14px;
  }

.cookie-banner {

  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px !important;
  height: 190px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
  padding: clamp(20px, calc(16.48px + 0.0094*100vw), 30px);
  color: #fff;
  font-size: clamp(12px, calc(11.3px + 0.0019*100vw), 14px);
  font-weight: 200; 
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.4s;
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__actions {
  display: flex;
  gap: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
  margin-top: clamp(10px, calc(8.59px + 0.0038*100vw), 14px);
}

.cookie-banner__actions button {
  flex: 1;
  width: clamp(82px, calc(72.14px + 0.0263*100vw), 110px);
  padding: clamp(8px, calc(7.3px + 0.0019*100vw), 10px) clamp(9px, calc(7.94px + 0.0028*100vw), 12px);
  border-radius: clamp(12px, calc(10.59px + 0.0038*100vw), 16px);
  border: none;
  cursor: pointer;
  font-size: clamp(11px, calc(10.3px + 0.0019*100vw), 13px);
}



#cookieAccept { background: #0792E9; color: #fff; }
#cookieReject { background: #fff; color: #1a1a1a; }

/* COOKIE BANNER TYPO */
.cookie-banner__title{
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500; /* Medium */
  font-size: clamp(20px, calc(17.94px + 0.0028*100vw), 27px);
  line-height: 1.2;
  margin-bottom: clamp(8px, calc(7.3px + 0.0019*100vw), 10px);
}

.cookie-banner__text{
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300; /* Regular */
  font-size: clamp(13px, calc(11.3px + 0.0019*100vw), 24px);
  line-height: 1.4;
}



}