/* ================================================================
   STOLAB REDESIGN — redesign.css
   Новые компоненты для улучшенного UX главной страницы
   ================================================================ */

:root {
  --sl-line: #ebe5f0;
  --sl-card: #fff;
  --sl-ink: #222;
  --sl-ink-soft: #777;
  --sl-brand: #7e3fc7;
}

/* ---- КНОПКИ ---- */
.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.sl-btn-primary {
  background: #7e3fc7;
  background: var(--theme-base-color, #7e3fc7);
  color: #fff !important;
  border-color: #7e3fc7;
  border-color: var(--theme-base-color, #7e3fc7);
}
.sl-btn-primary:hover {
  background: #6b34aa;
  border-color: #6b34aa;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(126,63,199,0.35);
}
.sl-btn-outline {
  background: transparent;
  color: #7e3fc7 !important;
  color: var(--theme-base-color, #7e3fc7) !important;
  border-color: #7e3fc7;
  border-color: var(--theme-base-color, #7e3fc7);
}
.sl-btn-outline:hover {
  background: #7e3fc7;
  background: var(--theme-base-color, #7e3fc7);
  color: #fff !important;
}
.sl-btn-white-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.65);
}
.sl-btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff !important;
}
.sl-btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ---- ЗАГОЛОВКИ СЕКЦИЙ ---- */
.sl-section-header {
  margin-bottom: 32px;
}
.sl-section-title {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  color: #222;
  color: var(--white_text_black2, #222);
  margin: 0 0 8px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.sl-section-subtitle {
  font-size: 17px;
  color: #666;
  color: var(--basic_text_black, #666);
  margin: 0;
  line-height: 1.65;
}

/* ================================================================
   HERO — первый экран
   ================================================================ */
/* Standard flow: новые секции живут внутри контентной колонки,
   без выхода за пределы right_block */
.sl-hero,
.sl-b2b,
.sl-how,
.sl-industries {
  position: relative;
  left: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.sl-hero {
  margin: 0 0 16px;
  border-radius: 0;
  background-color: #fff !important;
  background-image: none !important;
  overflow: visible;
  display: block;
  z-index: auto;
  box-shadow: none;
  border: none;
  position: relative;
}

/* Noise-overlay — скрыт на белом фоне */
.sl-hero__noise { display: none; }

/* Стрелка-разделитель под hero */
.sl-hero-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 40px;
}
.sl-hero-divider__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3ecff;
  border: 1.5px solid rgba(126,63,199,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sl-bounce 1.8s ease-in-out infinite;
}
.sl-hero-divider__arrow svg {
  width: 16px;
  height: 16px;
  stroke: #7e3fc7;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes sl-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* template_styles: .maxwidth-theme { background: #fff } — внутри hero даёт белый «лист» */
body#main .sl-hero > .maxwidth-theme,
#main .sl-hero > .maxwidth-theme,
.sl-hero > .maxwidth-theme,
.sl-hero > .maxwidth-theme > .inner-theme {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
}

.sl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}
.sl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
}
.sl-hero__inner {
  position: relative;
  z-index: 1;
  padding: 52px 0 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.sl-hero__content {
  flex: 0 0 60%;
  max-width: 60%;
  min-width: 0;
}
.sl-hero__tag {
  display: block !important;
  background: none !important;
  color: #5f3a93 !important;
  font-size: 17px;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 0;
}
.sl-hero__title {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  color: #1a0a2e !important;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.sl-hero__desc {
  font-size: 21px;
  color: #4a3a6a !important;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 620px;
}
/* Список фич с зелёными галочками */
.sl-hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sl-hero__features li {
  position: relative;
  padding-left: 34px;
  font-size: 18px;
  font-weight: 600;
  color: #2d1a4a !important;
  line-height: 1.45;
}
.sl-hero__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-weight: 700;
  font-size: 18px;
}
.sl-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
/* Правая колонка с картинкой */
.sl-hero__image-wrapper {
  flex: 0 0 38%;
  max-width: 38%;
  position: relative;
  min-width: 260px;
  min-height: 360px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
}
.sl-hero__equipment {
  display: block;
  width: 100%;
  max-width: 500px;
  min-width: 280px;
  height: auto;
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.38));
}

/* ================================================================
   B2B QUICK ACTIONS — быстрые сценарии
   ================================================================ */
.sl-b2b {
  padding: 44px 0;
  background: transparent;
  border-bottom: 0;
}
.sl-b2b__header {
  text-align: center;
  margin-bottom: 28px;
}
.sl-b2b__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7e3fc7;
  color: var(--theme-base-color, #7e3fc7);
  margin-bottom: 10px;
}
.sl-b2b__title {
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 700;
  color: #222;
  color: var(--white_text_black2, #222);
  margin: 0;
  line-height: 1.15;
}
.sl-b2b__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sl-b2b__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--sl-line);
  border-radius: 24px;
  background: var(--sl-card);
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(24, 34, 47, 0.07);
}
.sl-b2b__item:hover {
  border-color: rgba(109, 86, 216, 0.24);
  background: #fff;
  box-shadow: 0 22px 44px rgba(24, 34, 47, 0.1);
  transform: translateY(-4px);
}
.sl-b2b__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(109, 86, 216, 0.16) 0%, rgba(109, 86, 216, 0.08) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sl-b2b__icon svg {
  width: 22px;
  height: 22px;
  stroke: #7e3fc7;
  stroke: var(--theme-base-color, #7e3fc7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sl-b2b__item-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--sl-ink);
  line-height: 1.3;
}
.sl-b2b__item-desc {
  font-size: 15px;
  color: var(--sl-ink-soft);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}
.sl-b2b__item-cta {
  font-size: 15px;
  font-weight: 700;
  color: var(--sl-brand);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.sl-b2b__item-cta svg {
  width: 12px;
  height: 12px;
  stroke: var(--sl-brand, #7e3fc7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.sl-b2b__item:hover .sl-b2b__item-cta svg {
  transform: translateX(3px);
}

/* ================================================================
   INDUSTRY FILTER — по отраслям
   ================================================================ */
.sl-industries {
  padding: 48px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
}
.sl-industries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.sl-industries__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 12px 18px;
  border-radius: 10px;
  background: #fff;
  background: var(--black_bg_black, #fff);
  border: 1.5px solid #e8e6f0;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  gap: 10px;
}
.sl-industries__item:hover {
  border-color: #7e3fc7;
  border-color: var(--theme-base-color, #7e3fc7);
  box-shadow: 0 6px 20px rgba(126,63,199,0.12);
  transform: translateY(-3px);
}
.sl-industries__img-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e8e6f0;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.82) 0 7px, transparent 8px),
    linear-gradient(135deg, #f6edff 0%, #e9dcfb 100%);
  position: relative;
}
.sl-industries__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
}
.sl-industries__name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  color: var(--white_text_black, #333);
  line-height: 1.3;
}
.sl-industries__desc {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin: 0;
}

/* ================================================================
   TRUST STATS — блок доверия с цифрами
   ================================================================ */
.sl-trust {
  padding: 56px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
}
.sl-trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}
.sl-trust__stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: 10px;
  background: #f8f6fc;
  border: 1px solid #ede8f7;
}
.sl-trust__stat-num {
  font-size: 40px;
  font-weight: 700;
  color: #7e3fc7;
  color: var(--theme-base-color, #7e3fc7);
  line-height: 1.1;
  display: block;
}
.sl-trust__stat-label {
  font-size: 14px;
  color: #666;
  color: var(--basic_text_black, #666);
  margin-top: 6px;
  line-height: 1.4;
  display: block;
}
.sl-trust__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid #ececec;
  border-top-color: var(--stroke_black, #ececec);
}
.sl-trust__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sl-trust__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #7e3fc71a;
  background: var(--theme-base-opacity-color, #7e3fc71a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sl-trust__feature-icon svg {
  width: 20px;
  height: 20px;
  fill: #7e3fc7;
  fill: var(--theme-base-color, #7e3fc7);
}
.sl-trust__feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  color: var(--white_text_black2, #222);
  margin: 0 0 4px;
}
.sl-trust__feature-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   BRANDS SECTION HEADING
   ================================================================ */
.sl-brands-section {
  padding-top: 8px;
}
.sl-brands-heading {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  color: var(--white_text_black, #333);
  text-align: center;
  margin: 0 0 28px;
}

/* ================================================================
   NOT FOUND — блок «не нашли оборудование»
   ================================================================ */
.sl-notfound {
  padding: 44px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
  position: relative;
  overflow: hidden;
}
.sl-notfound__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border-radius: 24px;
  background: linear-gradient(130deg, #5a2d9c 0%, #7e3fc7 60%, #9b5de5 100%);
  border: 1px solid rgba(126,63,199,0.16);
  box-shadow: 0 18px 44px rgba(43, 20, 84, 0.18);
  overflow: hidden;
}
.sl-notfound__inner::before {
  content: '';
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.sl-notfound__text {
  flex: 1;
  min-width: 260px;
  max-width: 760px;
}
.sl-notfound__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.sl-notfound__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.6;
}
.sl-notfound__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.sl-notfound__actions .sl-btn {
  min-height: 54px;
  border-radius: 14px;
}
.sl-notfound__actions .sl-btn-primary {
  background: #ffffff !important;
  color: var(--theme-base-color, #7e3fc7) !important;
  border-color: rgba(255,255,255,0.85) !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 26px rgba(28, 10, 56, 0.18) !important;
}
.sl-notfound__actions .sl-btn-primary:hover {
  background: #f7f1ff !important;
  color: var(--theme-base-color, #7e3fc7) !important;
}
.sl-notfound__actions .sl-btn-white-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.34);
  color: #fff !important;
  opacity: 1;
}
.sl-notfound__actions .sl-btn-white-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.62);
}

/* ================================================================
   FAQ — часто задаваемые вопросы
   ================================================================ */
.sl-faq {
  padding: 56px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
}
.sl-faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sl-faq__item {
  border-radius: 8px;
  border: 1px solid #e6e2f0;
  background: #fff;
  background: var(--black_bg_black, #fff);
  overflow: hidden;
}
.sl-faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  color: var(--white_text_black2, #222);
  cursor: pointer;
  gap: 12px;
  user-select: none;
}
.sl-faq__item summary::-webkit-details-marker { display: none; }
.sl-faq__toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7e3fc71a;
  background: var(--theme-base-opacity-color, #7e3fc71a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 400;
  color: #7e3fc7;
  color: var(--theme-base-color, #7e3fc7);
  transition: background 0.2s ease, transform 0.2s ease;
}
.sl-faq__item[open] .sl-faq__toggle {
  background: #7e3fc7;
  background: var(--theme-base-color, #7e3fc7);
  color: #fff;
  transform: rotate(45deg);
}
.sl-faq__body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #666;
  color: var(--basic_text_black, #666);
  line-height: 1.7;
  border-top: 1px solid #eeebf6;
}

/* ================================================================
   STICKY MOBILE — кнопка связи на мобильных
   ================================================================ */
.sl-sticky-contact {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9998;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.sl-sticky-contact__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sl-sticky-contact__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
.sl-sticky-contact__btn--phone {
  background: #7e3fc7;
  background: var(--theme-base-color, #7e3fc7);
}
.sl-sticky-contact__btn--wa {
  display: none !important;
}
.sl-sticky-contact__btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ================================================================
   FULL-BLEED КОНТЕЙНЕРЫ — убираем overflow:hidden чтобы sl-секции выходили за пределы
   ================================================================ */
.wrapper1.with_left_block .right_block,
.wrapper1.with_left_block .middle,
.wrapper1.with_left_block .container_inner,
.wrapper1.with_left_block .wrapper_inner.front {
  overflow: visible;
}

/* ================================================================
   СКРЫВАЕМ СТАРЫЕ СЕКЦИИ
   ================================================================ */
/* Скрываем старый тяжёлый слайдер */
.drag-block.BIG_BANNER_INDEX { display: none !important; }
/* Скрываем старый COLLECTIONS (заменён новым фильтром по отраслям) */
.drag-block.COLLECTIONS { display: none !important; }
/* Скрываем старый CATALOG_SECTIONS (заменён sl-industries) */
.drag-block.CATALOG_SECTIONS,
.wrapper1.front-vindex1 .drag-block.js-load-block.loader_circle[data-class="catalog_sections_drag"],
.wrapper1.front-vindex1 .drag-block.js-load-block.loader_circle[data-class="catalog_tab_drag"] {
  display: none !important;
  min-height: 0 !important;
  background: none !important;
}
/* Скрываем пустые/устаревшие блоки */
.drag-block.CATALOG_TAB { display: none !important; }
.drag-block.SALE { display: none !important; }
/* Скрываем старый TIZERS — заменён sl-trust__features с SVG-иконками */
.drag-block.TIZERS { display: none !important; }
/* Скрываем SEO-мусор */
.seo__text { display: none !important; }

/* ================================================================
   ШАПКА — упрощение
   ================================================================ */
/* Скрываем дублирующиеся или лишние элементы */
#panel { display: none !important; }
/* Плавающий WhatsApp (widjet-div) отключён — не показывать даже с прозрачностью */
.widjet-div {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */
@media (max-width: 1200px) {
  .sl-b2b__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-industries__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .sl-trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-trust__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .sl-hero__title {
    font-size: 40px;
  }
  .sl-hero__inner {
    padding: 42px 0 48px;
    gap: 20px;
  }
  .sl-hero__desc {
    font-size: 18px;
  }
  .sl-hero__image-wrapper { min-width: 220px; }
}

@media (max-width: 768px) {
  .sl-hero__title {
    font-size: 32px;
  }
  .sl-hero__desc {
    font-size: 18px;
  }
  .sl-hero__inner {
    padding: 40px 0 36px;
  }
  .sl-hero__advantages {
    flex-direction: column;
    gap: 10px;
  }
  .sl-b2b__grid {
    grid-template-columns: 1fr;
  }
  .sl-industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sl-trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-trust__features {
    grid-template-columns: 1fr;
  }
  .sl-notfound__inner {
    flex-direction: column;
    text-align: center;
  }
  .sl-notfound__actions {
    justify-content: center;
  }
  .sl-notfound__title {
    font-size: 22px;
  }
  .sl-faq__cols {
    grid-template-columns: 1fr;
  }
  .sl-section-title {
    font-size: 28px;
  }
  .sl-sticky-contact {
    display: flex;
  }
}

@media (max-width: 560px) {
  .sl-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-hero__buttons {
    flex-direction: column;
  }
  .sl-hero__buttons .sl-btn {
    width: 100%;
    justify-content: center;
  }
  .sl-b2b__grid {
    grid-template-columns: 1fr;
  }
  .sl-trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-trust__stat-num {
    font-size: 32px;
  }
}

/* ================================================================
   HOW WE WORK — как мы работаем
   ================================================================ */
.sl-how {
  padding: 56px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
}
.sl-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.sl-how__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: repeating-linear-gradient(90deg, #7e3fc7 0, #7e3fc7 6px, transparent 6px, transparent 14px);
  opacity: 0.3;
  z-index: 0;
}
.sl-how__step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.sl-how__step-num {
  font-size: 12px;
  font-weight: 700;
  color: #7e3fc7;
  color: var(--theme-base-color, #7e3fc7);
  letter-spacing: 1px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.sl-how__step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #7e3fc71a;
  background: var(--theme-base-opacity-color, #7e3fc71a);
  border: 2px solid #7e3fc7;
  border-color: var(--theme-base-color, #7e3fc7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.2s ease;
}
.sl-how__step-icon svg {
  width: 24px;
  height: 24px;
  stroke: #7e3fc7;
  stroke: var(--theme-base-color, #7e3fc7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sl-how__step:hover .sl-how__step-icon {
  background: #7e3fc7;
  background: var(--theme-base-color, #7e3fc7);
}
.sl-how__step:hover .sl-how__step-icon svg {
  stroke: #fff;
}
.sl-how__step-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  color: var(--white_text_black2, #222);
  margin: 0 0 8px;
}
.sl-how__step-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   WHO WE WORK FOR — для кого работаем
   ================================================================ */
.sl-for-whom {
  padding: 52px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
}
.sl-for-whom__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sl-for-whom__item {
  padding: 24px 18px;
  background: #fff;
  background: var(--black_bg_black, #fff);
  border-radius: 10px;
  border: 1.5px solid #e6e2f0;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sl-for-whom__item:hover {
  border-color: #7e3fc7;
  border-color: var(--theme-base-color, #7e3fc7);
  box-shadow: 0 6px 20px rgba(126,63,199,0.10);
  transform: translateY(-2px);
}
.sl-for-whom__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #7e3fc71a;
  background: var(--theme-base-opacity-color, #7e3fc71a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.sl-for-whom__icon svg {
  width: 22px;
  height: 22px;
  stroke: #7e3fc7;
  stroke: var(--theme-base-color, #7e3fc7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sl-for-whom__title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  color: var(--white_text_black2, #222);
  margin: 0 0 8px;
}
.sl-for-whom__desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   LEAD MAGNET
   ================================================================ */
.sl-leadmag {
  padding: 40px 0;
  background: #fff;
  background: var(--black_bg_black, #fff);
  border-top: 1px solid #ececec;
  border-top-color: var(--stroke_black, #ececec);
  border-bottom: 1px solid #ececec;
  border-bottom-color: var(--stroke_black, #ececec);
}
.sl-leadmag__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sl-leadmag__text {
  flex: 0 0 300px;
  min-width: 240px;
  max-width: 340px;
}
.sl-leadmag__title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  color: var(--white_text_black2, #222);
  line-height: 1.25;
  margin: 0 0 8px;
}
.sl-leadmag__desc {
  font-size: 15px;
  color: #777;
  margin: 0;
}
.sl-leadmag__options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.sl-leadmag__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #ececec;
  border-color: var(--stroke_black, #ececec);
  border-radius: 12px;
  text-decoration: none !important;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: none;
  flex: 1;
  min-width: 220px;
  opacity: 1;
}
.sl-leadmag__option:hover {
  border-color: var(--theme-base-color, #7e3fc7);
  box-shadow: 0 6px 18px rgba(126, 63, 199, 0.08);
}
.sl-leadmag__opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(126, 63, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sl-leadmag__opt-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--theme-base-color, #7e3fc7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sl-leadmag__opt-text {
  min-width: 0;
}
.sl-leadmag__opt-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  color: var(--white_text_black2, #222);
  line-height: 1.35;
}
.sl-leadmag__opt-sub {
  display: block;
  font-size: 13px;
  color: #777;
  line-height: 1.45;
  margin-top: 3px;
}

/* ================================================================
   MOBILE IMPROVEMENTS — улучшенные отступы на мобильных
   ================================================================ */
@media (max-width: 768px) {
  .sl-how__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .sl-how__steps::before { display: none; }
  .sl-how { padding: 40px 0; }

  .sl-for-whom__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-for-whom { padding: 40px 0; }

  .sl-leadmag__inner {
    flex-direction: column;
    gap: 18px;
  }
  .sl-leadmag__options {
    flex-direction: column;
  }
  .sl-leadmag__option {
    width: 100%;
    min-width: 0;
  }
  .sl-leadmag {
    padding: 36px 0;
  }

  .sl-trust { padding: 40px 0; }
  .sl-b2b { padding: 36px 0; }
  .sl-industries { padding: 36px 0; }
  .sl-how { padding: 36px 0; }
  .sl-for-whom { padding: 36px 0; }
  .sl-faq { padding: 40px 0; }

  /* Равные отступы между секциями */
  .sl-hero__inner { padding: 44px 0 36px; min-height: auto; }
}

@media (max-width: 560px) {
  .sl-how__steps { grid-template-columns: 1fr; }
  .sl-for-whom__grid { grid-template-columns: 1fr 1fr; }
  .sl-leadmag__option { padding: 15px 16px; }
  .sl-b2b__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   UNIFORM CARD HEIGHTS — единая высота карточек
   ================================================================ */
.sl-b2b__grid { align-items: stretch; }
.sl-b2b__item { height: 100%; box-sizing: border-box; }

.sl-for-whom__grid { align-items: stretch; }
.sl-for-whom__item { height: 100%; box-sizing: border-box; }

.sl-industries__grid { align-items: stretch; }
.sl-industries__item { height: 100%; box-sizing: border-box; }

/* ================================================================
   VISUAL HIERARCHY — иерархия CTA
   ================================================================ */
/* Главная кнопка: больше и жирнее */
.sl-hero__buttons .sl-btn-primary.sl-btn-lg {
  font-size: 17px;
  padding: 15px 36px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(126,63,199,0.4);
}
/* Вторичная кнопка: чуть скромнее */
.sl-hero__buttons .sl-btn-white-outline.sl-btn-lg {
  font-size: 15px;
  padding: 13px 28px;
  opacity: 0.88;
}
.sl-hero__buttons .sl-btn-white-outline.sl-btn-lg:hover {
  opacity: 1;
}

/* ================================================================
   MID-PAGE KP CTA STRIP
   ================================================================ */

.sl-mid-cta {
  padding: 28px 0 40px;
}

/* ================================================================
   2026-04-24 VISUAL FIXES — homepage overflow, industries, docs
   ================================================================ */

.wrapper1.front-vindex1,
.wrapper1.front-vindex1 .middle,
.wrapper1.front-vindex1 #content,
.wrapper1.front-vindex1 .maxwidth-theme {
  max-width: 100%;
  box-sizing: border-box;
}

.sl-industries,
.sl-mid-cta,
.sl-leadmag,
.sl-notfound,
.sl-docs {
  max-width: 100%;
  overflow-x: hidden;
}

.sl-industries > .maxwidth-theme,
.sl-mid-cta > .maxwidth-theme,
.sl-leadmag > .maxwidth-theme,
.sl-notfound > .maxwidth-theme,
.sl-docs > .maxwidth-theme {
  width: 100%;
  max-width: 1344px;
  box-sizing: border-box;
}

.sl-industries__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-width: 0;
}

.sl-industries__item {
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.sl-industries__img-wrap img {
  max-width: 100%;
}

.sl-industries__name,
.sl-industries__desc {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sl-docs {
  padding: 60px 20px;
  background: #fff !important;
  background-image: none !important;
}

.sl-docs > .maxwidth-theme {
  background: #fff !important;
  background-image: none !important;
}

.sl-docs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  min-width: 0;
}

.sl-docs__item {
  min-width: 0;
  background: #fff;
  border: 1px solid #ede8f6;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sl-docs__item:hover {
  box-shadow: 0 4px 20px rgba(126,63,199,0.1);
  transform: translateY(-2px);
}

.sl-docs__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: #f3e8ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7e3fc7;
  color: var(--theme-base-color, #7e3fc7);
  flex: 0 0 auto;
}

.sl-docs__icon svg {
  display: block;
  width: 26px !important;
  height: 26px !important;
  max-width: 26px;
  max-height: 26px;
  stroke: currentColor;
  fill: none;
}

.sl-docs__title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  color: var(--white_text_black2, #222);
  line-height: 1.35;
  margin: 0 0 8px;
}

.sl-docs__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.sl-docs__cta {
  text-align: center;
  margin-top: 36px;
}

.sl-docs__cta p {
  font-size: 15px;
  color: #555;
  margin: 0 0 14px;
}

@media (max-width: 1200px) {
  .sl-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sl-docs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sl-industries > .maxwidth-theme,
  .sl-mid-cta > .maxwidth-theme,
  .sl-leadmag > .maxwidth-theme,
  .sl-notfound > .maxwidth-theme,
  .sl-docs > .maxwidth-theme {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .sl-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sl-industries__item {
    padding: 16px 10px 14px;
    gap: 8px;
  }

  .sl-industries__img-wrap {
    width: 52px;
    height: 52px;
  }

  .sl-industries__name {
    font-size: 13px;
  }

  .sl-industries__desc {
    font-size: 11px;
  }

  .sl-mid-cta .maxwidth-theme,
  .sl-notfound__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .sl-mid-cta__text,
  .sl-notfound__text {
    text-align: left;
  }

  .sl-notfound__actions {
    width: 100%;
  }

  .sl-notfound__actions .sl-btn,
  .sl-mid-cta .sl-btn-primary {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sl-industries__grid,
  .sl-docs__grid {
    grid-template-columns: 1fr;
  }

  .sl-docs {
    padding: 36px 0;
  }
}

/* ================================================================
   2026-04-25 PHONE/TABLET HOME POLISH
   ================================================================ */

@media (max-width: 1024px) {
  .sl-hero,
  .sl-b2b,
  .sl-how,
  .sl-industries,
  .sl-for-whom,
  .sl-trust,
  .sl-faq,
  .sl-docs,
  .sl-leadmag,
  .sl-mid-cta,
  .sl-notfound {
    max-width: 100%;
    overflow-x: hidden;
  }

  .sl-hero > .maxwidth-theme,
  .sl-b2b > .maxwidth-theme,
  .sl-how > .maxwidth-theme,
  .sl-industries > .maxwidth-theme,
  .sl-for-whom > .maxwidth-theme,
  .sl-trust > .maxwidth-theme,
  .sl-faq > .maxwidth-theme,
  .sl-docs > .maxwidth-theme,
  .sl-leadmag > .maxwidth-theme,
  .sl-mid-cta > .maxwidth-theme,
  .sl-notfound > .maxwidth-theme {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sl-hero__inner {
    gap: 24px;
    min-height: auto;
  }

  .sl-hero__content,
  .sl-hero__image-wrapper {
    min-width: 0;
  }

  .sl-hero__title {
    font-size: clamp(32px, 6vw, 46px) !important;
    line-height: 1.12 !important;
  }

  .sl-hero__desc {
    font-size: 18px;
    line-height: 1.6;
  }

  .sl-section-title {
    font-size: clamp(24px, 4.8vw, 32px);
    line-height: 1.2;
  }

  .sl-b2b__item,
  .sl-for-whom__item,
  .sl-industries__item,
  .sl-docs__item,
  .sl-trust__feature,
  .sl-faq__item {
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sl-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
    align-items: center;
  }

  .sl-hero__content,
  .sl-hero__image-wrapper {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .sl-b2b__grid,
  .sl-for-whom__grid,
  .sl-docs__grid,
  .sl-trust__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sl-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 34px 0 30px;
  }

  .sl-hero__content,
  .sl-hero__image-wrapper {
    width: 100%;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .sl-hero__features li {
    font-size: 15px;
    padding-left: 28px;
  }

  .sl-hero__buttons {
    width: 100%;
    flex-direction: column;
  }

  .sl-hero__buttons .sl-btn,
  .sl-leadmag__option,
  .sl-mid-cta .sl-btn-primary,
  .sl-notfound__actions .sl-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }

  .sl-trust__stats,
  .sl-trust__features,
  .sl-docs__grid {
    grid-template-columns: 1fr;
  }

  .sl-industries__grid,
  .sl-for-whom__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-sticky-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .sl-industries__grid,
  .sl-for-whom__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   2026-04-27 MOBILE/TABLET VISUAL PASS
   ================================================================ */

@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .sl-hero {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
  }

  .sl-hero__inner {
    min-height: 0 !important;
    padding: 30px 0 24px !important;
    gap: 22px !important;
  }

  .sl-hero__image-wrapper {
    min-height: 0 !important;
  }

  .sl-hero__features li::before {
    content: '';
    z-index: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4ade80 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sl-hero__features li::after {
    display: none;
  }

  .sl-hero-divider {
    margin: 4px 0 30px !important;
  }

  .sl-sticky-contact {
    left: auto !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    gap: 8px !important;
    align-items: flex-end !important;
    pointer-events: none;
  }

  .sl-sticky-contact__btn {
    width: 48px !important;
    height: 48px !important;
    pointer-events: auto;
  }

  .sl-sticky-contact__btn--phone {
    display: none !important;
  }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .sl-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr) !important;
    align-items: center !important;
  }

  .sl-hero__equipment {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    margin: 0 auto;
    filter: drop-shadow(0 20px 34px rgba(0,0,0,0.26));
  }

  .sl-b2b__grid,
  .sl-docs__grid,
  .sl-trust__features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sl-b2b__item {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .sl-how__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .sl-how__steps::before {
    display: none !important;
  }

  .sl-for-whom__grid,
  .sl-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .sl-trust__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 699px) {
  .sl-hero > .maxwidth-theme,
  .sl-b2b > .maxwidth-theme,
  .sl-how > .maxwidth-theme,
  .sl-industries > .maxwidth-theme,
  .sl-for-whom > .maxwidth-theme,
  .sl-trust > .maxwidth-theme,
  .sl-faq > .maxwidth-theme,
  .sl-docs > .maxwidth-theme,
  .sl-leadmag > .maxwidth-theme,
  .sl-mid-cta > .maxwidth-theme,
  .sl-notfound > .maxwidth-theme {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .sl-hero__inner {
    padding: 24px 0 20px !important;
  }

  .sl-hero__tag {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }

  .sl-hero__title {
    font-size: clamp(31px, 9.5vw, 37px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    margin-bottom: 18px !important;
  }

  .sl-hero__desc {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
  }

  .sl-hero__features {
    gap: 13px !important;
    margin-bottom: 26px !important;
  }

  .sl-hero__features li {
    padding-left: 36px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .sl-hero__features li::before {
    top: 1px !important;
  }

  .sl-hero__buttons {
    gap: 10px !important;
  }

  .sl-hero__buttons .sl-btn {
    min-height: 56px;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 16px !important;
  }

  .sl-hero__image-wrapper {
    margin-top: 22px;
    justify-content: center;
  }

  .sl-hero__equipment {
    width: min(100%, 330px);
    max-width: 330px;
    min-width: 0;
    margin: 0 auto;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22));
  }

  .sl-b2b {
    padding-top: 28px !important;
  }

  .sl-b2b__header {
    margin-bottom: 20px !important;
  }

  .sl-b2b__title {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .sl-b2b__grid,
  .sl-how__steps,
  .sl-for-whom__grid,
  .sl-industries__grid,
  .sl-docs__grid {
    grid-template-columns: 1fr !important;
  }

  .sl-b2b__item {
    padding: 20px 22px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(24, 34, 47, 0.06) !important;
  }

  .sl-b2b__item-title {
    font-size: 18px !important;
  }

  .sl-b2b__item-desc,
  .sl-b2b__item-cta {
    font-size: 14px !important;
  }

  .sl-sticky-contact {
    right: 14px !important;
    bottom: 14px !important;
  }
}
