/* ============================================================
   ЛОКАЛЬНЫЙ CSS НОВЫХ БЛОКОВ
   ------------------------------------------------------------
   Всё стилизуется только внутри .ll-wrap. Это даёт двойную
   изоляцию: стили сайта не лезут к нашим блокам (через сброс
   ниже), и наши стили не утекают наружу (всё под .ll-wrap).
   ============================================================ */

/* -- Сброс/защита от внешних стилей сайта внутри .ll-wrap ----- */
.ll-wrap,
.ll-wrap *,
.ll-wrap *::before,
.ll-wrap *::after {
  box-sizing: border-box;
}

.ll-wrap {
  /* Локальные дизайн-токены — менять только тут */
  --ll-bg: #ffffff;
  --ll-bg-alt: #f7f7fb;
  --ll-text: #1a1a1a;
  --ll-muted: #6b6b73;
  --ll-accent: #705abf;
  --ll-accent-2: #f2b807;
  --ll-border: #ececf2;
  --ll-radius: 16px;
  --ll-shadow: 0 8px 32px rgba(20, 20, 40, 0.08);
  --ll-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ll-container: 1200px;

  font-family: var(--ll-font);
  color: var(--ll-text);
  background: var(--ll-bg);
  line-height: 1.5;
}

/* Сброс типографики/отступов внутри изолятора — чтоб не наследовать чужое */
/* reset через :where() — нулевая specificity, не мешает локальным стилям */
.ll-wrap :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote) {
  margin: 0;
  padding: 0;
}

.ll-wrap :where(ul, ol) {
  list-style: none;
}

.ll-wrap :where(a) {
  color: inherit;
  text-decoration: none;
}

.ll-wrap :where(img, svg, video) {
  display: block;
  max-width: 100%;
  height: auto;
}

.ll-wrap :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* -- Контейнер/секции ---------------------------------------- */
.ll-container {
  max-width: var(--ll-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ll-section {
  padding: 48px 0;
  background: var(--ll-bg);
}

.ll-section--alt {
  background: var(--ll-bg-alt);
}

/* Моб: компактнее вертикальные отступы секций */
@media (max-width: 768px) {
  .ll-section {
    padding: 30px 0;
  }
}

/* Секции «Наши возможности» и «Как заказать»: ширина — как у шапки сайта */
.ll-cap-section .ll-container,
.ll-steps-section .ll-container {
  max-width: 1268px;
  padding: 0;
}

/* «Как заказать» — фон-плашкой, чтобы блок визуально отличался от соседних */
.ll-steps-section .ll-container {
  background: rgba(96, 59, 206, 0.05);
  border-radius: 32px;
  padding: 48px 40px;
}

/* -- Базовая типографика для новых блоков -------------------- */
.ll-h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ll-h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  font-weight: 600;
}

.ll-text {
  font-size: 16px;
  color: var(--ll-muted);
  max-width: 640px;
}

.ll-wrap code {
  background: var(--ll-bg-alt);
  border: 1px solid var(--ll-border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

/* ============================================================
   БЛОК «НАШИ ВОЗМОЖНОСТИ» (.ll-cap-section)
   ============================================================ */

.ll-accent-text {
  background: linear-gradient(135deg, #705abf 0%, #9078d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ll-heading {
  text-align: left;
  margin: 0 0 18px;
}
.ll-heading__sub {
  margin: 14px 0 0;
}

/* В блоке «Наши возможности» — heading + tabs в одну строку для единства */
.ll-cap-section .ll-cap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;            /* строго одной строкой */
  margin: 0 0 22px;
  min-width: 0;
}
.ll-cap-section .ll-cap-head .ll-heading {
  margin: 0;
  flex-shrink: 0;               /* заголовок не сжимается */
  line-height: 1.05;
}
/* Обёртка табов: фиксированная высота одной строки.
   Пилла внутри сидит absolute → при :hover max-height растёт вниз
   и раскрывает скрытые табы, не толкая остальную страницу.        */
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap {
  position: relative;
  height: 52px;
  width: min(640px, 100%);
  flex: 0 0 auto;
  margin-left: auto;            /* прижимаем к правому краю */
  z-index: 3;                   /* раскрытая пилла поверх соседнего контента */
}

/* Индикация скрытых табов: мягкий fade + шеврон ▾ на правом крае пилы.
   Когда есть скрытые элементы — JS добавляет .has-overflow.            */
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 52px;
  background: linear-gradient(to left, #fff 40%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 26px 26px 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity .25s ease;
}
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat center / contain;
  pointer-events: none;
  z-index: 3;
  transition: opacity .25s ease, transform .25s ease;
}
/* На раскрытой пиле — индикация исчезает, шеврон переворачивается */
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow:hover::before,
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow:focus-within::before {
  opacity: 0;
}
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow:hover::after,
.ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow:focus-within::after {
  opacity: 0;
  transform: translateY(-50%) rotate(180deg);
}

.ll-cap-section .ll-cap-head .ll-cap__tabs {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: #fff;
  border-radius: 26px;
  max-width: 100%;
  max-height: 52px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ll-border);
  transition: max-height .25s ease, box-shadow .25s ease, background .25s ease;
  margin: 0;
}
.ll-cap-section .ll-cap-head .ll-cap__tabs:hover,
.ll-cap-section .ll-cap-head .ll-cap__tabs:focus-within {
  max-height: 400px;
  background: rgba(255, 255, 255, .98);
  box-shadow: inset 0 0 0 1px var(--ll-border),
              0 12px 32px rgba(20, 20, 40, .08),
              0 2px 6px rgba(20, 20, 40, .04);
}

.ll-cap {
  /* плашка по ширине контейнера, без рамки/тени/фона */
  background: transparent;
  padding: 0;
}

/* -- Базовые правила для табов (если вдруг используются вне head) -------- */
.ll-cap__tabs {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 6px;
  background: #fff;
  border-radius: 999px;
  margin: 0 0 20px;
  box-shadow: inset 0 0 0 1px var(--ll-border);
}
.ll-cap__tabs::-webkit-scrollbar { display: none; }

.ll-cap__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ll-muted);
  border-radius: 999px;
  transition: color .25s ease, transform .15s ease;
  white-space: nowrap;
  flex: 0 0 auto;         /* ширина по содержимому, не растягивать */
  z-index: 1;
}
.ll-cap__tab svg {
  display: none; /* иконки в табах не показываем */
}
.ll-cap__tab:hover {
  color: var(--ll-text);
}
.ll-cap__tab.is-active {
  color: #fff;
}
/* Закреплённый «первый» таб — physical order -1. Класс ставится JS-ом
   только когда пила оседает (mouseleave/focusout). При повторном открытии
   класс остаётся → таб не возвращается в исходную позицию. */
.ll-cap__tab.is-pinned {
  order: -1;
}
.ll-cap__tab:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 3px;
}

/* Плавающий "пузырь" под активной вкладкой — без тени.
   Позиция (top/left/width/height) выставляется JS-ом — табы могут
   быть на нескольких строках после раскрытия пилы. */
.ll-cap__tab-indicator {
  position: absolute;
  background: linear-gradient(135deg, #705abf 0%, #8a6ed1 100%);
  border-radius: 999px;
  transition: left .35s cubic-bezier(.4, 0, .2, 1),
              top .35s cubic-bezier(.4, 0, .2, 1),
              width .35s cubic-bezier(.4, 0, .2, 1),
              height .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
  pointer-events: none;
}

/* -- Панели -------------------------------------------------- */
.ll-cap__panel {
  animation: ll-fade-in .35s ease both;
}
.ll-cap__panel[hidden] {
  display: none;
}
@keyframes ll-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ll-cap__desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ll-muted);
  margin: 0 0 14px;
  max-width: 760px;
}

/* -- Галерея-обёртка: позиционирование стрелок и прогресса ------------- */
.ll-cap__gallery-wrap {
  position: relative;
  --tile-h: 380px;
}

/* -- Галерея: горизонтальная лента со скроллом. Первым идёт видео-feature,
   далее фото — горизонтальные (4:3) и вертикальные (3:4) вперемешку. */
.ll-cap__gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 0;
}
.ll-cap__gallery::-webkit-scrollbar { display: none; }

/* -- Drag-to-scroll мышью: «хваталка» на десктопе ------------------- */
@media (hover: hover) and (pointer: fine) {
  .ll-cap__gallery { cursor: grab; }
}
/* Гасим нативный drag картинки (ghost-image), иначе он перебивает перетаскивание ленты */
.ll-cap__gallery img { -webkit-user-drag: none; user-select: none; }
.ll-cap__gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;     /* плавное перетаскивание без «прилипания» снапа */
  scroll-behavior: auto;
  user-select: none;
}
.ll-cap__gallery.is-dragging .ll-cap__tile { cursor: grabbing; }

/* -- Пагинация под галереей: стрелка ← точки → стрелка ----------------- */
.ll-cap__pager {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.ll-cap__pager[hidden] { display: none; }
.ll-wrap .ll-cap__nav {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ll-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ll-text);
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
  cursor: pointer;
}
.ll-cap__nav svg { width: 16px; height: 16px; display: block; }
.ll-wrap .ll-cap__nav:hover:not(:disabled) {
  background: var(--ll-accent);
  border-color: var(--ll-accent);
  color: #fff;
}
.ll-wrap .ll-cap__nav:disabled { opacity: .35; cursor: default; }

/* -- Точки индикации (внутри пагинации) ------------------------------- */
.ll-cap__progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 10px;
}
.ll-wrap .ll-cap__dot {
  display: block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(112, 90, 191, .22);
  transition: width .35s cubic-bezier(.4, 0, .2, 1),
              background .25s ease,
              opacity .25s ease;
  cursor: pointer;
}
.ll-wrap .ll-cap__dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #705abf, #8a6ed1);
}

.ll-cap__tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e8e8ef;
  cursor: pointer;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
  flex: 0 0 auto;
  height: var(--tile-h);
  width: calc(var(--tile-h) * 4 / 3);     /* горизонталь 4:3 по умолчанию */
  scroll-snap-align: start;
}
.ll-cap__tile--feature {
  width: calc(var(--tile-h) * 16 / 10);   /* видео-feature, шире и кинематографичней */
}
.ll-cap__tile--vertical {
  width: calc(var(--tile-h) * 3 / 4);     /* вертикальные фото */
}
.ll-cap__tile img,
.ll-cap__tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ll-cap__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.ll-cap__tile:hover {
  /* без тени и подъёма — пользователь попросил убрать */
}
.ll-cap__tile:hover img,
.ll-cap__tile:hover video {
  transform: scale(1.06);
}
.ll-cap__tile:hover::after {
  opacity: 1;
}
.ll-cap__tile:focus-visible {
  outline: 3px solid var(--ll-accent);
  outline-offset: 2px;
}

/* -- Ссылки под фото (явно показываем что это переходы на сайт) ---- */
.ll-wrap .ll-cap__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ll-border);
}
.ll-wrap .ll-cap__links-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ll-muted);
  letter-spacing: 0.01em;
}
.ll-wrap .ll-cap__links-label svg {
  width: 16px;
  height: 16px;
  color: var(--ll-accent);
  flex-shrink: 0;
}

.ll-cap__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ll-cap__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d8d5e6;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ll-accent);
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.ll-cap__chip:hover {
  background: var(--ll-accent);
  border-color: var(--ll-accent);
  color: #fff;
  transform: translateY(-1px);
}
.ll-cap__chip-ext {
  width: 14px;
  height: 14px;
  opacity: .7;
  transition: transform .2s ease, opacity .2s ease;
}
.ll-cap__chip:hover .ll-cap__chip-ext {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Кнопка play на видео-тайле — стиль hero-trust__play (60×60) */
.ll-wrap .ll-cap__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 25, .38);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transition: transform .25s ease, background .25s ease;
  box-shadow: none;
}
.ll-wrap .ll-cap__play svg {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: 2px;
}
.ll-cap__tile:hover .ll-cap__play {
  transform: scale(1.06);
  background: rgba(20, 20, 25, .55);
}

/* Подпись поверх feature-тайла */
.ll-wrap .ll-cap__tile-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ll-text);
}

/* Тег-бейдж в углу тайла */
.ll-wrap .ll-cap__tile-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  padding: 5px 11px;
  background: var(--ll-accent, hsl(255, 60%, 52%));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ============================================================
   БЛОК «КАК ЗАКАЗАТЬ» — горизонтальный timeline
   ============================================================ */
.ll-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 4px;
}
/* Линия между точками — растягивается от центра первой точки до центра последней */
.ll-steps__line {
  position: absolute;
  top: 18px;            /* выравниваем по центру точек (dot height/2 + padding-top) */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(112, 90, 191, .15), rgba(112, 90, 191, .35), rgba(112, 90, 191, .15));
  border-radius: 2px;
  z-index: 0;
}
.ll-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.ll-step__dot {
  width: 28px;
  height: 28px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #705abf 0%, #8a6ed1 100%);
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px rgba(112, 90, 191, .35);
}
.ll-step__num {
  display: none; /* цифры скрыты по запросу */
}
.ll-step__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ll-text);
  margin: 0 0 6px;
}
.ll-step__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ll-muted);
  margin: 0;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
/* CTA-кнопка в первом шаге — компактная pill-ссылка */
.ll-wrap .ll-step__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #705abf 0%, #8a6ed1 100%);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ll-wrap .ll-step__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(112, 90, 191, .3);
}
.ll-wrap .ll-step__cta svg {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform .2s ease;
}
.ll-wrap .ll-step__cta:hover svg {
  transform: translateX(3px);
}

/* Адаптив: на мобильных шаги вертикальной лентой */
@media (max-width: 720px) {
  /* Левая лента: точка слева, текст справа (не на линии) */
  .ll-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ll-steps__line { display: none; }
  .ll-step {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 16px;
    text-align: left;
    padding: 0;
  }
  .ll-step__dot { grid-column: 1; grid-row: 1; margin: 0; }
  .ll-step__title { grid-column: 2; margin: 0 0 4px; }
  .ll-step__text { grid-column: 2; max-width: none; margin: 0; }
  .ll-wrap .ll-step__cta { grid-column: 2; justify-self: start; margin-top: 12px; }
  /* Коннектор идёт по колонке точки (между точками), заканчивается на последней */
  .ll-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14px;                   /* центр 28px-точки */
    top: 14px;                    /* центр точки по вертикали */
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 24px);    /* до следующей точки (высота шага + gap 24px) */
    background: rgba(112, 90, 191, .28);
    z-index: -1;
  }
}

/* ============================================================
   БЛОК «ГОТОВЫЕ СЦЕНАРИИ» — сетка карточек с интерактивными точками
   ============================================================ */
.ll-cases-section .ll-container {
  max-width: 1268px;
  padding: 0;
}

.ll-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ll-case {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ll-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ll-case:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, .08);
}

.ll-case__media {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 350px;
  overflow: hidden;
}
.ll-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -- Точка-маркер позиции на фото -------------------------------- */
.ll-wrap .ll-case__pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--ll-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 0 rgba(112, 90, 191, .5);
  cursor: pointer;
  padding: 0;
  z-index: 2;
  animation: ll-pin-pulse 1.6s ease-out infinite;
}
@keyframes ll-pin-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(112, 90, 191, .5); }
  70%  { box-shadow: 0 0 0 12px rgba(112, 90, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(112, 90, 191, 0); }
}
.ll-case__pin:hover,
.ll-case__pin:focus-visible {
  animation: none;
  box-shadow: 0 0 0 6px rgba(112, 90, 191, .25);
  z-index: 3;
}
.ll-case__pin:focus-visible {
  outline: none;
}

/* -- Попап со стрелкой-хвостиком под точкой ---------------------- */
.ll-wrap .ll-case__popup {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -4px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--ll-border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 20, 40, .15);
  font-size: 13px;
  font-weight: 600;
  color: var(--ll-text);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.ll-case__popup::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--ll-border);
  border-left: 1px solid var(--ll-border);
}
.ll-case__popup-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ll-accent);
}
.ll-case__popup-link:hover {
  text-decoration: underline;
}
.ll-case__pin:hover .ll-case__popup,
.ll-case__pin:focus-visible .ll-case__popup,
.ll-case__pin.is-active .ll-case__popup {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* -- Текстовая часть карточки ------------------------------------ */
.ll-case__body {
  padding: 20px 22px 24px;
}
.ll-case__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ll-text);
  margin: 0 0 8px;
}
.ll-case__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ll-muted);
  margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
  .ll-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .ll-cases {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ll-case__body { padding: 16px 18px 20px; }
}

/* ============================================================
   БЛОК «ФОРМА ЗАЯВКИ» — фиолетовая карточка с декором слева
   ============================================================ */
.ll-form-section .ll-container {
  max-width: 1268px;
  padding: 0;
}

/* Карточка: фиолетовый градиент, скруглённая, относительная для декора */
.ll-form-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 64px 72px;
  background: linear-gradient(135deg, #6e54c4 0%, #8a6ed1 55%, #a48de5 100%);
  color: #fff;
  isolation: isolate;
}

/* Декор-волна слева: сильно увеличиваем — внутри карточки видна только
   часть кривой как плавная фоновая «лента». */
.ll-wrap .ll-form__decor {
  position: absolute;
  left: -380px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 280%;       /* волна в 2.8× выше карточки → видна только середина кривой */
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .35;
}

/* Контент над декором */
.ll-form__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
  margin-left: auto;     /* прижимаем к правой стороне, декор остаётся слева */
}

/* Шапка формы */
.ll-form__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ll-wrap .ll-form__title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.ll-form__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  margin: 0;
  max-width: 620px;
}

/* Сама форма: вертикальный стек, без своего фона */
.ll-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ll-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ll-form__field {
  display: flex;
  flex-direction: column;
}

/* Полупрозрачные «стеклянные» поля */
.ll-wrap .ll-form__input {
  width: 100%;
  padding: 18px 22px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-family: var(--ll-font);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ll-wrap .ll-form__input::placeholder {
  color: rgba(255, 255, 255, .75);
}
.ll-wrap .ll-form__input:focus {
  outline: none;
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.ll-wrap .ll-form__input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, .14) inset;
}

/* Кнопка + политика в одну строку */
.ll-form__action {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ll-wrap .ll-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ll-accent);
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.ll-wrap .ll-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.ll-form__policy {
  flex: 1 1 280px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .75);
  margin: 0;
  max-width: 380px;
}
.ll-form__policy a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 2px;
}

/* Успех */
.ll-form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.ll-form__success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ll-form__success[hidden] { display: none; }

/* Адаптив */
@media (max-width: 900px) {
  .ll-form-card {
    padding: 48px 36px;
  }
  .ll-wrap .ll-form__decor {
    left: -140px;
    height: 120%;
    opacity: .3;
  }
  .ll-form__inner {
    margin-left: 0;
  }
  .ll-wrap .ll-form__title {
    font-size: 32px;
  }
}
@media (max-width: 640px) {
  .ll-form-card {
    padding: 36px 22px;
    border-radius: 24px;
  }
  .ll-wrap .ll-form__decor {
    left: -180px;
    height: 110%;
    opacity: .2;
  }
  .ll-form__row {
    grid-template-columns: 1fr;
  }
  .ll-form__action {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ll-wrap .ll-form__submit {
    width: 100%;
  }
  .ll-form__policy {
    flex: 0 0 auto;        /* в колонке flex-basis:280px давал огромную высоту → пустота в карточке */
    text-align: center;
    max-width: none;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.ll-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 15, 25, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 40px;
  animation: ll-fade-in .25s ease both;
}
.ll-lightbox[hidden] {
  display: none;
}
.ll-lightbox__stage {
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: grid;
  place-items: center;
}
.ll-lightbox__stage img,
.ll-lightbox__stage video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  display: block;
}
.ll-lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.ll-lightbox__btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.05);
}
.ll-lightbox__btn svg {
  width: 22px;
  height: 22px;
}
.ll-lightbox__close { top: 24px; right: 24px; }
.ll-lightbox__prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.ll-lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }
.ll-lightbox__prev:hover { transform: translateY(-50%) scale(1.05); }
.ll-lightbox__next:hover { transform: translateY(-50%) scale(1.05); }
.ll-lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .ll-cap__gallery { --tile-h: 320px; }
}

@media (max-width: 640px) {
  .ll-cap__tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .ll-cap__tabs::-webkit-scrollbar { display: none; }
  .ll-cap__tab {
    padding: 10px 16px;
    font-size: 14px;
    flex: 0 0 auto;
  }
  .ll-cap__gallery-wrap { --tile-h: 260px; }
  .ll-cap__tile-label {
    left: 12px;
    bottom: 12px;
    font-size: 12px;
    padding: 6px 10px;
  }
  .ll-lightbox { padding: 16px; }
  .ll-lightbox__close { top: 12px; right: 12px; }
  .ll-lightbox__prev { left: 8px; }
  .ll-lightbox__next { right: 8px; }
}

/* ============================================================
   ЛЕНДИНГ КАК CMS-СТРАНИЦА (header_test-26 / footer_v2026)
   Видимые крошки, защита от горизонтального оверфлоу,
   мобильные боковые отступы и понятные табы.
   Файл грузится только на лендинге → на категории/др. не влияет.
   ============================================================ */

/* Крошки: общий стиль сайта красит ссылки белым (расчёт на тёмный hero
   категорий) и добавляет margin-bottom:110px. На белом лендинге переопределяем.
   Селектор без .ll-crumbs — чтобы работало и на уже вставленной странице;
   файл грузится только на лендинге, поэтому на категории не влияет. */
.breadcrumbs-cat { margin-bottom: 8px; }
.breadcrumbs-cat__link,
.breadcrumbs-cat__inner a { color: #8a8a8a; text-decoration: none; }
.breadcrumbs-cat__link:hover,
.breadcrumbs-cat__inner a:hover { color: #705abf; }
.breadcrumbs-cat__inner { color: #b8b8b8; }

/* Защита от горизонтального скролла: внутренние ленты (галерея/табы/hero-слайдер)
   листаются сами, страница вбок не едет. clip (не hidden) не ломает position:fixed хедер. */
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  /* Боковой отступ всем блокам лендинга — как у .container сайта (15px) */
  .ll-wrap .ll-container { padding-left: 15px; padding-right: 15px; }
  /* «Как заказать» — карточка-плашка: инсет от краёв экрана */
  .ll-steps-section .ll-container { margin-left: 15px; margin-right: 15px; padding-top: 28px; padding-bottom: 28px; }

  /* «Наши возможности»: голова в колонку, табы — понятная свайп-лента */
  .ll-cap-section .ll-cap-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .ll-cap-section .ll-cap-head .ll-heading { flex-shrink: 1; }
  .ll-cap-section .ll-cap-head .ll-cap__tabs-wrap { width: 100%; height: auto; margin-left: 0; }
  .ll-cap-section .ll-cap-head .ll-cap__tabs {
    position: static;
    flex-wrap: nowrap;
    max-width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-radius: 999px;
  }
  .ll-cap-section .ll-cap-head .ll-cap__tabs::-webkit-scrollbar { display: none; }
  /* отключаем hover-раскрытие пилы — на мобиле лента просто скроллится */
  .ll-cap-section .ll-cap-head .ll-cap__tabs:hover,
  .ll-cap-section .ll-cap-head .ll-cap__tabs:focus-within {
    max-height: none;
    box-shadow: inset 0 0 0 1px var(--ll-border);
  }
  /* индикатор «листай дальше»: fade у правого края, шеврон ▾ убираем (тут скролл, не раскрытие) */
  .ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow::before { height: 100%; border-radius: 0 999px 999px 0; }
  .ll-cap-section .ll-cap-head .ll-cap__tabs-wrap.has-overflow::after { display: none; }
}

/* Крошки: полная ширина + разделитель «›» + текущий пункт (в шаблоне через {{PageHeader}}).
   Селекторы без .ll-crumbs — файл грузится только на лендинге, на категории не влияет. */
.breadcrumbs-cat { width: 100%; max-width: 100%; }
.breadcrumbs-cat__inner { flex-wrap: wrap; }
.breadcrumbs-cat__inner span + span::before { content: "\203A"; margin: 0 7px; color: #cfcfd6; }

@media (max-width: 640px) {
  /* Активный таб «Наши возможности»: красим сам таб — пузырёк ездит с лентой при скролле
     (плавающий индикатор на мобиле отключаем, он отрывался при горизонтальном скролле) */
  .ll-cap__tab-indicator { display: none; }
  .ll-cap-section .ll-cap-head .ll-cap__tab.is-active { background: var(--ll-accent); color: #fff; }
}

@media (max-width: 640px) {
  /* «Наши возможности»: слайды галереи — один на экран, во всю ширину (по ширине .ll-cap__gallery) */
  .ll-cap__tile,
  .ll-cap__tile--feature,
  .ll-cap__tile--vertical { flex: 0 0 100%; width: 100%; }

  /* Ссылки «смотреть в каталоге»: лейбл отдельной строкой, теги — свайп-лентой снизу */
  .ll-wrap .ll-cap__links { flex-direction: column; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
  .ll-wrap .ll-cap__links-label { flex: 0 0 auto; }
  .ll-cap__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -15px; padding: 0 15px; }
  .ll-cap__chips::-webkit-scrollbar { display: none; }
  .ll-cap__chip { flex: 0 0 auto; }

  /* Форма заявки — компактнее по высоте на мобиле */
  .ll-form-card { padding: 28px 18px; border-radius: 22px; }
  .ll-form__inner { gap: 18px; }
  .ll-form__head { gap: 8px; }
  .ll-wrap .ll-form__title { font-size: 26px; }
  .ll-form__sub { font-size: 14px; line-height: 1.4; }
  .ll-form { gap: 12px; }
  .ll-wrap .ll-form__input { padding: 13px 18px; font-size: 15px; }
}

/* Планшет/адаптив (641–1267px): у .ll-cap/.ll-steps был padding:0 (full-width под хедер) —
   ниже десктопа возвращаем боковой отступ, чтобы блоки не липли к краям. */
@media (min-width: 641px) and (max-width: 1267px) {
  .ll-cap-section .ll-container,
  .ll-cases-section .ll-container,
  .ll-form-section .ll-container { padding-left: 24px; padding-right: 24px; }
  .ll-steps-section .ll-container { margin-left: 24px; margin-right: 24px; padding-left: 24px; padding-right: 24px; }
}

/* ============================================================
   Модалка заявки hero «Оставить заявку» (.ll-lead-modal).
   Инжектится из landing-2026-blocks.js (секция «ЛИД-ФОРМЫ
   ЛЕНДИНГА»). Визуал — как у штатной footer-order-modal:
   белая карточка, скруглённый ввод, фиолетовая кнопка #705ABF.
   Управление видимостью — атрибутом [hidden] (modal.hidden).
   ============================================================ */
.ll-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ll-lead-modal:not([hidden]) { display: flex; }
.ll-lead-modal__card {
  position: relative;
  width: 420px;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(20, 18, 30, .18);
  font-family: 'Golos Text', -apple-system, Segoe UI, sans-serif;
  color: #1d1d22;
}
.ll-lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f5f5f7;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.ll-lead-modal__close:hover { background: #ececf1; }
.ll-lead-modal__close svg { width: 16px; height: 16px; }
.ll-lead-modal__title { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.ll-lead-modal__sub { font-size: 14px; color: #8a8a93; margin: 0 0 22px; line-height: 1.45; }
.ll-lead-modal__input {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  color: #1d1d22;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.ll-lead-modal__input:focus {
  outline: none;
  border-color: #705ABF;
  box-shadow: 0 0 0 3px rgba(112, 90, 191, .12);
}
.ll-lead-modal__input::placeholder { color: #bbb; }
.ll-lead-modal__error {
  display: none;
  font-size: 12px;
  color: #F25757;
  margin: 6px 0 0;
}
.ll-lead-modal__error.show { display: block; }
.ll-lead-modal__captcha { margin: 16px 0 0; min-height: 0; }
.ll-lead-modal__captcha:empty { margin: 0; }
.ll-lead-modal__submit {
  display: block;
  width: 100%;
  margin: 20px 0 0;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: #705ABF;
  color: #fff;
  font: 600 16px 'Golos Text', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(112, 90, 191, .25);
}
.ll-lead-modal__submit:hover { background: #5f49ad; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(112, 90, 191, .35); }
.ll-lead-modal__submit:disabled { opacity: .7; cursor: default; transform: none; }
.ll-lead-modal__policy { font-size: 11px; color: #9a9aa3; line-height: 1.5; margin: 14px 0 0; }
.ll-lead-modal__policy a { color: #705ABF; }

/* Контейнер капчи в нижней форме .ll-form (создаётся из JS) */
.ll-form__captcha { margin: 4px 0 0; min-height: 0; }
.ll-form__captcha:empty { margin: 0; }
