:root{
  --primary: #1FA9FF;
  --primary-dark: #0B6FB3;
  --text-main: #2B2B2B;
  --text-muted: #6B7280;
  --bg-main: #F5F7FB;
  --bg-card: #FFFFFF;
}
body{
  background: var(--bg-main);
  color: var(--text-main);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--dark)}
.container{
  max-width: 1440px;   /* шире, как Logix */
  margin: 0 auto;
  padding: 0 32px;
}


.header{position:sticky;top:0;z-index:10;background:rgba(244,243,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.header__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.logo{font-weight:900;text-decoration:none;color:var(--dark);font-size:18px}
.nav{display:flex;gap:16px;flex-wrap:wrap}
.nav a{color:var(--dark);text-decoration:none;font-weight:700}
.nav a:hover{color:var(--primary)}
.nav a.active{color:var(--primary)}
.header__cta{display:flex;gap:10px;flex-wrap:wrap}

.main{padding:26px 0 50px}

.footer{border-top:1px solid var(--border);background:rgba(255,255,255,.6);padding:22px 0}
.footer__row{display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap}
.footer__title{font-weight:900}
.footer__links{display:flex;flex-direction:column;gap:8px}
.footer__links a{text-decoration:none;color:var(--dark)}
.footer__links a:hover{color:var(--primary)}

.hero,
.hero--main{
  background: linear-gradient(
    135deg,
    #1FA9FF 0%,
    #0B6FB3 60%,
    #0A2540 100%
  );
  color: #fff;
  border-radius: 24px;
}

.hero h1{margin:0 0 10px;font-size:34px}
.lead{margin:0;color:var(--dark);line-height:1.6}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.section{margin-top:22px}
.grid{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width: 900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 560px){.grid{grid-template-columns:1fr}}

.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;
  box-shadow:0 10px 30px rgba(33,31,84,.06)}
.card__title{font-weight:900;margin-bottom:6px}
.card__text{color:var(--muted);line-height:1.5}
.muted{color:var(--muted)}

.btn{display:inline-block;padding:10px 14px;border-radius:12px;text-decoration:none;font-weight:900;border:1px solid transparent}
.btn--primary{
  background: var(--primary);
  color:#fff;
  border:none;
}

.btn--primary:hover{
  background: var(--primary-dark);
}

.btn--secondary{
  background: var(--primary);
  color:#fff;
  border:none;
}
.btn--secondary:hover{
  background: var(--primary-dark);
}
.btn--ghost{background:transparent;border-color:rgba(74,58,255,.25);color:var(--dark)}
.btn--ghost[aria-disabled="true"]{opacity:.6;cursor:not-allowed}
.notice{margin-top:14px;padding:12px 14px;border-radius:12px;background:rgba(33,31,84,.06);border:1px solid var(--border)}


/* =========================
   Logix-inspired layout (unique, not 1:1)
   ========================= */

.header--logix .header__row{
  padding:14px 0 8px;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--dark);font-weight:900}
.brand__mark{
  width:38px;height:38px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:var(--primary);color:#fff;box-shadow:0 10px 26px rgba(74,58,255,.25)
}
.brand__name{font-size:16px}
.nav--center{justify-content:center}
.header__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.btn--lang{
  padding:9px 10px;border-radius:10px;border:1px solid var(--border);
  background:rgba(255,255,255,.75);font-weight:900;cursor:pointer
}
.btn--portal{
  background:#FFC83D;border:1px solid rgba(255,200,61,.45);color:#222;
  padding:10px 14px;border-radius:12px;font-weight:900;text-decoration:none
}
.btn--portal:hover{filter:brightness(.98)}
.header__searchRow{display:flex;justify-content:flex-end;padding:0 0 12px}
.search{display:flex;align-items:center;gap:10px;max-width:520px;width:100%}
.search__input{
  flex:1;border:1px solid var(--border);border-radius:999px;
  padding:10px 14px;background:rgba(255,255,255,.85);outline:none
}
.search__input:focus{border-color:rgba(12,125,160,.55);box-shadow:0 0 0 3px rgba(12,125,160,.15)}
.search__btn{
  border:0;border-radius:999px;background:#0C7DA0;color:#fff;
  padding:10px 16px;font-weight:900;cursor:pointer
}
.search__btn:hover{filter:brightness(.98)}

@media (max-width: 920px){
  .nav--center{display:none}
  .header__searchRow{justify-content:stretch}
  .search{max-width:none}
}

/* Banner */
.banner{padding:20px 0 6px}
.banner__inner{
  border-radius:22px;
  background:linear-gradient(135deg, #0CA7B5 0%, #0B6FA1 60%, #0A5F9A 100%);
  color:#fff;
  overflow:hidden;
  position:relative;
  box-shadow:0 22px 70px rgba(12,125,160,.25);
}
.banner__inner::before{
  content:"";position:absolute;inset:-120px -120px auto auto;width:380px;height:380px;border-radius:50%;
  background:rgba(255,200,61,.32);filter:blur(70px)
}
.banner__inner::after{
  content:"";position:absolute;left:-140px;bottom:-140px;width:420px;height:420px;border-radius:50%;
  background:rgba(74,58,255,.18);filter:blur(90px)
}
.banner__content{padding:44px 44px 44px 44px;max-width:520px;position:relative;z-index:1}
.banner__content h1{margin:0 0 10px;font-size:42px;line-height:1.1;letter-spacing:-.02em}
.banner__lead{margin:0;font-size:16px;opacity:.92;max-width:520px}
.banner__cta{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.banner__media{position:absolute;right:0;top:0;bottom:0;width:56%;display:flex;align-items:flex-end;justify-content:center;z-index:1}
.device{width:100%;max-width:980px;height:auto;transform:translate(10px, 28px) scale(1.02);filter:drop-shadow(0 22px 46px rgba(0,0,0,.22))}
.banner__dots{position:absolute;left:44px;bottom:20px;display:flex;gap:10px;z-index:2}
.banner__dots span{width:48px;height:6px;border-radius:999px;background:rgba(255,255,255,.35)}
.banner__dots span.active{background:rgba(255,255,255,.9)}

@media (max-width: 1020px){
  .banner__media{position:relative;width:100%;height:auto}
  .banner__inner{padding-bottom:10px}
  .banner__content{max-width:none}
  .device{transform:none;margin:0 10px 6px}
  .banner__dots{left:24px}
}
@media (max-width: 560px){
  .banner__content{padding:28px 18px 18px}
  .banner__content h1{font-size:32px}
}

/* Headline + customers */
.headline{padding:28px 0 10px}
.headline h2{text-align:center;margin:0;font-size:28px;letter-spacing:-.01em}
.headline p{text-align:center;margin:10px auto 0;max-width:720px}

.customers{padding:16px 0 6px}
.customers__track{
  display:flex;gap:14px;overflow:auto;padding:12px 4px 18px;
  scroll-snap-type:x mandatory
}
.customerCard{
  min-width:190px;scroll-snap-align:start;
  border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.85);
  padding:16px;display:flex;align-items:center;gap:12px;
  box-shadow:0 10px 26px rgba(33,31,84,.06)
}
.customerCard__logo{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(12,125,160,.12);color:#0B6FA1;font-weight:900
}
.customerCard__name{font-weight:900}

/* Benefits grid */
.benefits{padding:26px 0 44px}
.benefits__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px
}
.bcard{
  border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.85);
  padding:18px;box-shadow:0 14px 34px rgba(33,31,84,.06)
}
.bcard__icon{
  width:44px;height:44px;border-radius:16px;background:rgba(12,125,160,.12);
  display:flex;align-items:center;justify-content:center;font-size:20px
}
.bcard__title{margin-top:10px;font-weight:900;font-size:16px}
.bcard__text{margin-top:6px;color:var(--muted);line-height:1.5;font-size:14px}

@media (max-width: 920px){
  .benefits__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 560px){
  .benefits__grid{grid-template-columns:1fr}
}

.ctaStrip{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(255,255,255,.88), rgba(244,243,255,.65));
  padding:18px 18px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap
}
.ctaStrip__title{font-weight:900}
.ctaStrip__actions{display:flex;gap:10px;flex-wrap:wrap}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__img {
  height: 34px;   /* меняй размер тут */
  width: auto;
  display: block;
}

.lang{display:flex;gap:6px;margin-left:10px}
.lang__btn{
  padding:8px 10px;border:1px solid var(--border);
  border-radius:10px;text-decoration:none;font-weight:900;font-size:12px
}
.lang__btn.is-active{background:rgba(74,58,255,.10)}

/* ===== FIX ONLY SEARCH ICON ===== */
/* ===== SEARCH ICON RIGHT ===== */

.header-search{
  position: relative;
}

.search-input{
  width: 220px;
  height: 36px;
  padding: 0 70px 0 14px;   /* ← место справа под лупу */
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.15);
  background: #fff;
  font-size: 14px;
}

.search-icon{
  position: absolute;
  right: 14px;              /* ← теперь справа */
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: .6;
  pointer-events: none;
}


/* ===== FORCE HEADER ONE LINE (OLD VERSION STYLE) ===== */

.header-inner,
.header,
.header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;   /* 🔥 КЛЮЧ */
}

.header-left,
.header-center,
.header-right {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.header-search {
  flex: 0 0 auto !important;
  margin-left: 20px !important;   /* можно менять */
}

.lang {
  display: flex !important;
  gap: 6px !important;
}

.header * {
  margin-top: 0 !important;
}
/* === Header one-line fix === */
.header__row{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:nowrap;       /* ключ: запрет переноса */
}

.logo{flex:0 0 auto}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  white-space:nowrap;
  flex:1 1 auto;          /* nav занимает “середину” */
  min-width:0;            /* важно, чтобы мог сжиматься */
  overflow:hidden;        /* чтобы не ломал строку */
}

.header-search{
  position:relative;
  flex:0 0 auto;
}

.header-search input{
  width:220px;            /* если не влезает — уменьши до 180 */
  height:36px;
  padding:0 14px 0 36px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:13px;
}

.search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  opacity:.6;
  pointer-events:none;
}

.header__cta{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  flex:0 0 auto;
}
.header-search input{ width:180px; }
@media (max-width: 1100px){
  .header-search{ display:none; }
}
/* ===== Header: always one row (no wrap) ===== */
.header__row{
  display:flex;
  align-items:center;
  flex-wrap:nowrap !important;   /* не переносить */
  gap:14px;
}

/* logo */
.logo{flex:0 0 auto}

/* nav must NOT wrap */
.nav{
  display:flex;
  align-items:center;
  gap:16px;
  white-space:nowrap;   /* 🔥 запрещает перенос */
  flex:1 1 auto;
  min-width:0;
}


/* cta + lang must stay in one row */
.header__cta{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  white-space:nowrap;
}

/* search smaller and fixed */
.header-search{
  position:relative;
  flex:0 0 auto;
}

.header-search input{
  width:180px;        /* уменьшили */
  height:34px;
  padding:0 12px 0 34px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:13px;
}

.search-icon{
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  opacity:.6;
  pointer-events:none;
}

/* optional: если место всё равно не хватает — аккуратно режем nav, но без переноса */
.nav a{
  flex:0 0 auto;
}

/* ===== Responsive tuning for "standard" screens ===== */
@media (max-width: 1200px){
  .header-search input{ width:160px; }
  .nav{ gap:14px; }
}

@media (max-width: 1100px){
  .header-search input{ width:140px; }
  .nav{ gap:12px; }
}
.header__cta .btn{
  padding:10px 14px;
  border-radius:14px;
}
.lang__btn{
  padding:8px 9px;
  border-radius:10px;
  font-size:12px;
}
/* ===== Header buttons: compact ===== */

.header__cta .btn{
  padding: 8px 14px;      /* было больше */
  font-size: 13px;        /* компактнее */
  border-radius: 14px;    /* аккуратно */
  line-height: 1;
  white-space: nowrap;
}

/* Primary (Попробовать демо) — чуть уже */
.header__cta .btn--primary{
  padding: 8px 16px;
}

/* Secondary (Связаться) — ещё компактнее */
.header__cta .btn--secondary{
  padding: 8px 12px;
}
/* ===== Header: FORCE one line ===== */
.header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:nowrap;      /* ключ */
}

/* блоки не должны расширяться бесконечно */
.logo{flex:0 0 auto}
.nav{flex:1 1 auto; min-width:0}
.header__cta{flex:0 0 auto}
.lang{flex:0 0 auto}
.header-search{flex:0 0 auto}

/* nav в одну строку */
.nav{
  display:flex;
  align-items:center;
  gap:16px;
  white-space:nowrap;
}

/* компактные кнопки */
.header__cta{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.header__cta .btn{
  padding:8px 12px;
  font-size:13px;
  border-radius:14px;
  line-height:1;
}
.header__cta .btn--primary{padding:8px 14px}

/* язык компактнее */
.lang{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.lang__btn{
  padding:7px 9px;
  font-size:12px;
  border-radius:10px;
}

/* поиск меньше + иконка */
.header-search{position:relative}
.header-search input{
  width:160px;           /* уменьшили */
  height:34px;
  padding:0 12px 0 34px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:13px;
}
.search-icon{
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  opacity:.6;
  pointer-events:none;
}

/* если экран "стандартный" 1366 — ещё чуть ужимаем */
@media (max-width: 1366px){
  .header-search input{width:140px;}
  .nav{gap:14px;}
}
.section{padding:64px 0}
.section--light{background:#eef7fa}
.section--accent{background:#f3f2ff}

.section-head{margin-bottom:32px}
.section-head.center{text-align:center}

.features-grid,
.modules-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.feature-card,
.module-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.feature-icon{
  font-size:22px;
  margin-bottom:10px;
}

.module-card h3{margin-bottom:6px}

.link{color:#4f46e5;font-weight:600}

.center{text-align:center}
.cta-row{display:flex;gap:12px;justify-content:center;margin-top:20px}

@media(max-width:1200px){
  .features-grid,.modules-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .features-grid,.modules-grid{grid-template-columns:1fr}
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.feature-card{
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,.04);
}

.feature-icon{
  margin-bottom:10px;
}

.feature-icon .icon{
  width:26px;
  height:26px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  opacity:.9;
}

.feature-title{
  font-weight:600;
  margin-bottom:6px;
}

.feature-text{
  font-size:10px;
  color:var(--muted-foreground);
}
/* ===== Features grid ===== */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.feature-card{
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  border:1px solid rgba(0,0,0,.06);
}

.feature-card:hover{
  transform: translateY(-4px);
  box-shadow:0 18px 44px rgba(0,0,0,.08);
  border-color: rgba(79,70,229,.22);
}

.feature-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(79,70,229,.10);
  margin-bottom:12px;
  transition: transform .22s ease, background .22s ease;
}

.feature-card:hover .feature-icon{
  transform: scale(1.03);
  background: rgba(79,70,229,.14);
}

.feature-icon .icon{
  width:24px;
  height:24px;
  stroke: currentColor;
  fill:none;
  stroke-width:1.7;
  opacity:.92;
}

.feature-title{
  font-size: 16px;
}

.feature-text{
  font-size: 12.5px;
}
  color: var(--muted-foreground);
}

/* ===== Reveal animation ===== */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
}

/* responsive */
@media (max-width: 1200px){
  .features-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .features-grid{grid-template-columns:1fr}
}
/* ===== Modules grid (Logix-like) ===== */
.modules-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.module-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 24px rgba(0,0,0,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.module-card:hover{
  transform: translateY(-4px);
  box-shadow:0 18px 44px rgba(0,0,0,.08);
  border-color: rgba(79,70,229,.22);
}

.module-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(14,124,134,.10);
  margin-bottom:12px;
  transition: transform .22s ease, background .22s ease;
}

.module-card:hover .module-icon{
  transform: scale(1.03);
  background: rgba(14,124,134,.14);
}

.module-icon .icon{
  width:24px;
  height:24px;
  stroke: currentColor;
  fill:none;
  stroke-width:1.7;
  opacity:.92;
}

.module-title{
  font-weight:900;
  margin:0 0 6px;
}

.module-desc{
  font-size:14px;
  margin:0 0 10px;
}

.module-link{
  font-weight:800;
  color:#4f46e5;
  text-decoration:none;
}

.module-link:hover{ text-decoration:underline; }

/* responsive */
@media (max-width: 1200px){
  .modules-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .modules-grid{grid-template-columns:1fr}
}
/* ===== Customers ===== */
.customers-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
  align-items:center;
}

.customer-card{
  background:#fff;
  border-radius:14px;
  padding:18px 14px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-align:center;
}

.customer-card:hover{
  transform: translateY(-3px);
  box-shadow:0 14px 36px rgba(0,0,0,.08);
  border-color: rgba(79,70,229,.22);
}

.customer-logo{
  font-weight:800;
  font-size:14px;
  color:#334155;
  opacity:.85;
}

/* responsive */
@media (max-width: 1200px){
  .customers-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width: 768px){
  .customers-grid{grid-template-columns:repeat(2,1fr)}
}
/* ===== Marquee (auto-scroll logos) ===== */
.marquee{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:14px 0;
}

.marquee::before,
.marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:80px;
  pointer-events:none;
  z-index:2;
}
.marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(238,247,250,1) 0%, rgba(238,247,250,0) 100%);
}
.marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(238,247,250,1) 0%, rgba(238,247,250,0) 100%);
}

.marquee__track{
  display:flex;
  gap:14px;
  align-items:center;
  width:max-content;
  animation: marquee-scroll 22s linear infinite;
}

.marquee:hover .marquee__track{
  animation-play-state: paused;
}

@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); } /* потому что мы продублировали список */
}

.logo-pill{
  flex:0 0 auto;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  font-size:13px;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
  opacity:.9;
}

.marquee-hint{
  margin-top:10px;
  font-size:12px;
  text-align:center;
}
/* ===== Industries ===== */
.industries-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:24px;
}

.industry-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfdff 100%
  );
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 24px;

  box-shadow:
    0 10px 30px rgba(16, 24, 40, 0.04);

  transition: transform .25s ease, box-shadow .25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(16, 24, 40, 0.08);
}


.industry-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.industry-title{font-weight:900}
.industry-desc{font-size:14px; margin-bottom:12px}

.industry-badge {
  background: rgba(33, 150, 243, 0.12);
  color: #1976d2;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}


.industry-link{
  font-weight:900;
  color:#4f46e5;
}

@media (max-width: 1200px){
  .industries-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .industries-grid{grid-template-columns:1fr}
}
/* ===== Logo carousel (arrows + drag) ===== */
.logo-carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
}

.car-viewport{
  overflow:hidden;
  border-radius:18px;
  flex:1 1 auto;
  user-select:none;
}

.car-track{
  display:flex;
  gap:14px;
  padding:10px 6px;
  scroll-behavior:smooth;
}

.logo-card{
  flex:0 0 auto;
  width:220px;
  height:64px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 22px rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.logo-card:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.08);
  border-color: rgba(79,70,229,.22);
}

.logo-.logo-svg rect{
  fill: transparent;
  stroke: rgba(0,0,0,.06);
}

.logo-svg circle{
  fill: rgba(14,124,134,.14);
}

.logo-svg path{
  stroke: rgba(0,0,0,.14);
  stroke-width: 2;
  stroke-linecap: round;
}

.logo-svg text{
  font-weight: 900;
  font-size: 16px;
  fill: rgba(15,23,42,.78);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.car-btn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.car-btn:hover{ transform: translateY(-1px); }

.carousel-hint{
  margin-top:10px;
  font-size:12px;
  text-align:center;
}

/* mobile */
@media (max-width: 640px){
  .logo-card{width:180px;}
  .car-btn{display:none;}
}
/* ===== Customer logos: consistent height + contrast ===== */

.logo-card{
  width: 220px;
  height: 64px;
  padding: 10px 16px;              /* внутренний отступ */
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  box-shadow:0 10px 22px rgba(0,0,0,.04);
}

/* главное: одинаковая высота логотипов */
.logo-img{
  height: 26px;                    /* ✅ ЕДИНАЯ ВЫСОТА */
  width: auto;
  max-width: 160px;                /* чтобы не вылезал */
  object-fit: contain;
  display:block;

  /* контраст/унификация на светлом фоне */
  opacity: .88;
  filter: grayscale(1) contrast(1.12);
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}

/* при наведении — “оживает”, контрастнее */
.logo-card:hover .logo-img{
  opacity: 1;
  filter: grayscale(0) contrast(1.05);
  transform: translateY(-1px);
}

/* если SVG слишком "тонкий" — можно чуть усилить */
.logo-card:hover{
  border-color: rgba(79,70,229,.22);
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
/* ===== Topbar ===== */
.topbar{
  background:var(--primary-dark);
  color:#fff;
  font-size:13px;
}
.topbar a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.nav--center a{
  color: var(--text-main);
}

.nav--center a.is-active{
  color: var(--primary);
  border-bottom:2px solid var(--primary);
}

.topbar__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:36px;
}
.topbar__right{
  display:flex;
  gap:16px;
}
/* ===== Header Logix style ===== */
.header--logix{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  gap:24px;
}

.logo img{
  height:42px;
}

/* center nav */
.nav--center{
  display:flex;
  align-items:center;
  gap:22px;
  flex:1 1 auto;
  justify-content:center;
  white-space:nowrap;
}

.nav--center a{
  font-weight:700;
  font-size:14px;
  color:#0f172a;
  text-decoration:none;
  padding-bottom:4px;
}

.nav--center a.is-active{
  border-bottom:2px solid #1c8cab;
  color:#1c8cab;
}

/* right side */
.header__right{
  display:flex;
  align-items:center;
  gap:14px;
  white-space:nowrap;
}

/* search */
.header-search input{
  width:240px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.15);
  padding:0 16px;
  font-size:13px;
}
/* ===== Industries: unify with other cards ===== */
.industries-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:24px;
}

.industry-card{
  display:block;
  text-decoration:none;
  background: var(--surface);
  border:1px solid var(--border-soft);
  border-radius:16px;
  padding:20px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.industry-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,169,255,.22);
}

.industry-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.industry-title{
  font-weight:800;
  color: var(--text);
}

.industry-desc{
  font-size:14px;
  color: var(--muted);
  margin:0 0 12px;
}

.industry-badge{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(31,169,255,.12);
  color: var(--primary-dark);
}

.industry-link{
  font-weight:800;
  color: var(--primary);
}

/* responsive */
@media (max-width: 1200px){
  .industries-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .industries-grid{grid-template-columns:1fr}
}
/* ===== Friendly surfaces ===== */
:root{
  --primary: #1FA9FF;
  --primary-dark: #0B6FB3;

  --text: #111827;
  --muted: #6B7280;

  --bg: #F6F8FC;              /* общий фон */
  --surface: #FFFFFF;         /* карточки */
  --surface-soft: #EEF6FF;    /* мягкие секции */
  --border-soft: rgba(17,24,39,.08);

  --shadow-sm: 0 10px 24px rgba(0,0,0,.04);
  --shadow-md: 0 18px 44px rgba(0,0,0,.08);
}

body{
  background: var(--bg);
  color: var(--text);
}

.section--light{
  background: var(--surface-soft); /* вместо зеленоватого/бирюзового */
  border-radius: 24px;
  padding: 36px 0;
}
/* ===== Typography standard ===== */
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
}

h1{ font-size: 44px; line-height: 1.08; }
h2{ font-size: 28px; line-height: 1.2; }
h3{ font-size: 18px; line-height: 1.25; }

.muted{
  color: var(--muted) !important;
}

.section-head{
  margin-bottom: 22px;
}
.section-head.center{
  text-align:center;
}
.lang{
  display:flex;
  gap:8px;
  align-items:center;
  margin-left:10px;
}

.lang__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  min-width:40px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  font-weight:800;
  font-size:12px;
  text-decoration:none;
  color:#111827;
}

.lang__btn:hover{
  border-color: rgba(31,169,255,.35);
}

.lang__btn.is-active{
  background: rgba(31,169,255,.12);
  border-color: rgba(31,169,255,.35);
  color: #0B6FB3;
}
.section {
  background:
    radial-gradient(
      1200px 400px at 50% -100px,
      rgba(33, 150, 243, 0.08),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #f5f8fc 100%
    );
  padding: 80px 0;
}
.benefits {
  background: #f8fbff;
  padding: 80px 0;
}
/* ===== Footer (SaaS) ===== */
.footer{
  background: #ffffff;
  border-top: 1px solid rgba(17,24,39,.08);
  margin-top: 80px;
}

.footer__top{
  display:flex;
  justify-content:space-between;
  gap:48px;
  padding: 44px 0 28px;
}

.footer__brand{
  max-width: 420px;
}

.footer__logo img{
  height: 34px;
  width: auto;
  display:block;
}

.footer__tagline{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,24,39,.55);
  font-weight: 700;
}

.footer__desc{
  margin-top: 10px;
  color: rgba(17,24,39,.65);
  line-height: 1.6;
  font-size: 14px;
}

.footer__cols{
  display:flex;
  gap:64px;
}

.footer__col{
  min-width: 180px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer__title{
  font-weight: 900;
  font-size: 13px;
  color: rgba(17,24,39,.85);
  margin-bottom: 6px;
}

.footer__col a{
  text-decoration:none;
  color: rgba(17,24,39,.65);
  font-weight: 600;
  font-size: 14px;
}

.footer__col a:hover{
  color: #1FA9FF; /* ZAAP blue */
}

.footer__bottom{
  border-top: 1px solid rgba(17,24,39,.06);
  padding: 18px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color: rgba(17,24,39,.55);
  font-size: 13px;
}

.footer__bottom-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.footer__bottom a{
  color: rgba(17,24,39,.65);
  text-decoration:none;
  font-weight: 600;
}

.footer__bottom a:hover{
  color:#1FA9FF;
}

.footer__bottom .dot{
  color: rgba(17,24,39,.35);
}

/* Responsive */
@media (max-width: 900px){
  .footer__top{
    flex-direction:column;
  }
  .footer__cols{
    gap:28px;
    flex-wrap:wrap;
  }
  .footer__col{
    min-width: 160px;
  }
  .footer__bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* ===== Roadmap slider ===== */
.roadmap{
  background:
    radial-gradient(900px 320px at 20% -10%, rgba(31,169,255,.10), transparent 55%),
    radial-gradient(700px 260px at 85% 10%, rgba(11,111,179,.08), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%);
}

.rm{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.rm__viewport{
  overflow: hidden;
  border-radius: 18px;
  touch-action: pan-y;
}

.rm__track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.rm__slide{
  flex: 0 0 33.333%;
  padding: 10px;
}

@media (max-width: 1024px){
  .rm__slide{ flex-basis: 50%; }
}
@media (max-width: 640px){
  .rm{ grid-template-columns: 40px 1fr 40px; }
  .rm__slide{ flex-basis: 100%; }
}

.rm__card{
  height: 100%;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(16,24,40,.05);
}

.rm__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.rm__period{ font-weight: 900; font-size: 13px; color: rgba(17,24,39,.75); }
.rm__title{ font-weight: 900; font-size: 16px; margin: 0 0 8px; }
.rm__desc{ font-size: 13px; line-height: 1.55; }

.rm__badge{
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}
.rm__badge--done{ background: rgba(16,185,129,.12); color:#059669; }
.rm__badge--wip{ background: rgba(31,169,255,.14); color:#0B6FB3; }
.rm__badge--planned{ background: rgba(17,24,39,.08); color: rgba(17,24,39,.75); }

.rm__nav{
  height: 44px;
  width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  box-shadow: 0 10px 20px rgba(16,24,40,.06);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.rm__nav:disabled{
  opacity: .45;
  cursor: default;
}

.rm__dots{
  display:flex;
  gap: 8px;
  justify-content:center;
  margin-top: 10px;
}

.rm__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17,24,39,.18);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.rm__dot.is-active{
  background: #1FA9FF;
}



.search-input:focus{ outline:none; border-color: rgba(31,169,255,.55); box-shadow: 0 0 0 4px rgba(31,169,255,.12); }

.search-dd{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(520px, 86vw);
  z-index: 50;
  background:#fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(16,24,40,.12);
  overflow:hidden;
}
.search-dd__item{ display:block; padding: 12px 14px; text-decoration:none; }
.search-dd__item:hover{ background: rgba(31,169,255,.06); }
.search-dd__title{ font-weight: 900; color: rgba(17,24,39,.92); }
.search-dd__snippet{ margin-top:4px; font-size: 13px; color: rgba(17,24,39,.62); }
.search-dd__all{
  display:block;
  padding: 12px 14px;
  text-decoration:none;
  font-weight: 900;
  color: #0B6FB3;
  border-top: 1px solid rgba(17,24,39,.08);
}
.search-dd__empty{ padding: 14px; color: rgba(17,24,39,.65); font-weight:700; }

.search-page{ display:flex; gap:10px; align-items:center; margin-top: 18px; }
.search-page__input{
  flex:1;
  min-width: 240px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.12);
  background:#fff;
  font-weight: 700;
}
.search-results{ margin-top: 18px; display:flex; flex-direction:column; gap: 10px; }
.search-result{
  display:block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.08);
  background:#fff;
  text-decoration:none;
}
.search-result__title{ font-weight: 900; color: rgba(17,24,39,.92); }
.search-result__snippet{ margin-top: 6px; font-size: 13px; }
.search-result__url{ margin-top: 6px; font-size: 12px; opacity:.8; }
.search-meta{ margin-top: 12px; }
.search-empty{ margin-top: 18px; padding: 18px; border-radius: 18px; background: rgba(31,169,255,.06); border: 1px solid rgba(31,169,255,.14); }
.search-empty__title{ font-weight: 900; margin-bottom: 6px; }
.search-hint{ margin-top: 16px; }

.card__icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(44,122,255,.12);
  margin-bottom:12px;
}
.icon{
  width:26px;
  height:26px;
  fill: currentColor;   /* ✅ теперь красится */
  stroke: none;         /* ✅ чтобы не пытался рисовать обводку */
  opacity: .95;
}
.icon--stroke{
  fill:none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.industry-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.industry-icon{
  width:44px;height:44px;
  border-radius:16px;
  background: rgba(12,125,160,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.industry-body{ min-width:0; flex:1; }


/* --- Industry icon: fixed size --- */
.industry-icon,
.card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,122,255,.12);
  flex: 0 0 44px;
}

.industry-icon svg,
.card__icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

/* Paint sprite icons */
.industry-icon .icon,
.card__icon .icon{
  width: 22px;
  height: 22px;
  fill: currentColor;   /* чтобы красилось */
  stroke: none;
  color: #2c7aff;
}
.industries-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
@media (max-width: 980px){ .industries-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .industries-grid{ grid-template-columns: 1fr; } }

.industry-head{ display:flex; gap:12px; align-items:flex-start; }
.industry-body{ min-width:0; flex:1; }

.industry-icon{
  width:44px; height:44px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(44,122,255,.12);
  flex:0 0 44px;
}
.icon{ width:22px; height:22px; fill: currentColor; stroke:none; color:#2c7aff; }


/* --- Industries/Modules cards layout --- */
.industries-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:24px;
}
@media (max-width: 980px){ .industries-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .industries-grid{ grid-template-columns: 1fr; } }

.industry-head{ display:flex; gap:12px; align-items:flex-start; }
.industry-body{ min-width:0; flex:1; }

.industry-icon, .card__icon{
  width:44px; height:44px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(44,122,255,.12);
  flex: 0 0 44px;
}
.industry-icon .icon, .card__icon .icon{
  width:22px; height:22px;
  fill: currentColor;
  stroke: none;
  color:#2c7aff;
}
/* ===== FINAL OVERRIDE: search icon on the RIGHT ===== */
.header-search{ position: relative; }

.header-search .search-icon{
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: .6;
  pointer-events: none;
}

.header-search input{
  padding-right: 40px !important;  /* место справа под лупу */
  padding-left: 14px !important;   /* убираем место слева */
}
/* FIX: customers logos should NOT be dark */
.logo-svg rect{
  fill: #fff !important;
  stroke: rgba(0,0,0,.08) !important;
}

.logo-svg text{
  fill: rgba(15,23,42,.78) !important;
}

.logo-svg circle{
  fill: rgba(31,169,255,.14) !important;
}

.logo-svg path{
  stroke: rgba(0,0,0,.14) !important;
  stroke-width: 2;
  stroke-linecap: round;
}
/* ===== Products: same style as Industries ===== */
.products-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:24px;
}
@media (max-width: 980px){ .products-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .products-grid{ grid-template-columns: 1fr; } }

.product-card{
  display:block;
  text-decoration:none;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.08);
  border-color: rgba(31,169,255,.22);
}

.product-head{ display:flex; gap:12px; align-items:flex-start; }
.product-body{ min-width:0; flex:1; }

.product-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.product-title{ font-weight:900; }
.product-desc{ font-size:14px; margin:0 0 12px; color: rgba(17,24,39,.62); }

.product-badge{
  background: rgba(31,169,255,0.12);
  color: #0B6FB3;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.product-link{
  font-weight:900;
  color:#0B6FB3;
}

/* Product icon (same as industry icon) */
.product-icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(31,169,255,.12);
  flex:0 0 44px;
}
.product-icon .icon{
  width:22px;height:22px;
  fill: currentColor;
  stroke:none;
  color:#1FA9FF;
}
/* FIX: product title color like Industries */
.product-card .product-title{
  color: rgba(17,24,39,.92);   /* почти черный */
}

.product-card:hover .product-title{
  color: rgba(17,24,39,.92);   /* чтобы при hover не синел */
}

/* убираем наследование цвета ссылки */
.product-card{
  color: inherit;
}
.industry-card{
  position: relative;
  overflow: hidden;
}

.industry-illus{
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-top: 12px;
  opacity: .95;
}

/* если хочешь как “в углу”, добавь класс industry-illus--corner */
.industry-illus--corner{
  position:absolute;
  right:-30px;
  bottom:-35px;
  width:260px;
  opacity:.85;
  pointer-events:none;
}
/* Industries: illustration + bullets */
.industry-card{ position: relative; overflow: hidden; }

.industry-illus{
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-top: 12px;
  border-radius: 14px;
}

.industry-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(17,24,39,.62);
  font-size: 14px;
}
.industry-list li{ margin: 6px 0; }

.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
}

.card{
  background:#fff;
  padding:22px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  transition:.25s;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 35px rgba(0,0,0,.08);
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.card__icon{
  width:44px;
  height:44px;
  border-radius:12px;
  background:#eef6ff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card__icon .icon{
  width:22px;
  height:22px;
  fill:#2c7aff;
}

/* =========================
   Modules detail (hero + slider) - patch
   ========================= */
.page-hero{padding:24px 0 10px}
.page-title{font-size:44px;letter-spacing:-.02em;margin:0 0 10px}
.page-subtitle{margin:0;color:var(--text-muted);max-width:820px;line-height:1.6}

.cards-section{padding:12px 0 40px}
.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width: 980px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.cards-grid{grid-template-columns:1fr}}

.card{background:var(--bg-card);border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:18px;box-shadow:0 12px 26px rgba(16,24,40,.06)}
.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.card__icon{width:44px;height:44px;border-radius:14px;background:rgba(31,169,255,.10);display:flex;align-items:center;justify-content:center}
.card__icon .icon{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7;opacity:.92}
.card-badge{font-size:12px;font-weight:700;background:rgba(31,169,255,.12);color:#1976d2;padding:6px 10px;border-radius:999px}
.card-title{margin:0 0 6px;font-weight:900}
.card-desc{margin:0 0 10px;color:var(--text-muted);line-height:1.5}
.card-link{font-weight:800;color:#4f46e5;text-decoration:none}
.card-link:hover{text-decoration:underline}

.module-hero{padding:18px 0 8px}
.module-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center}
@media (max-width: 980px){.module-hero-grid{grid-template-columns:1fr;}}
.module-hero .module-title{
  margin:0 0 10px;
  font-size:44px;
  letter-spacing:-.02em;
}
.module-subtitle{margin:0;color:var(--text-muted);max-width:560px;line-height:1.6}
.module-hero-actions{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.btn-primary,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:14px;font-weight:900;text-decoration:none;white-space:nowrap}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-ghost{background:#fff;border:1px solid rgba(17,24,39,.12);color:var(--text-main)}
.btn-ghost:hover{background:rgba(31,169,255,.06)}
.module-hero-media{position:relative}
.module-hero-img{width:100%;height:auto;border-radius:22px;box-shadow:0 26px 70px rgba(12,125,160,.18)}
.module-section{padding:18px 0}
.module-section-alt{background:rgba(255,255,255,.50);border-top:1px solid rgba(0,0,0,.04);border-bottom:1px solid rgba(0,0,0,.04)}
.section-h2{margin:0 0 12px;font-size:22px;letter-spacing:-.01em}
.benefits-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width: 980px){.benefits-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.benefits-grid{grid-template-columns:1fr}}
.benefit-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:16px;box-shadow:0 10px 24px rgba(16,24,40,.05)}
.benefit-card h3{margin:0 0 8px;font-weight:900}
.benefit-card p{margin:0;color:var(--text-muted);line-height:1.55}

.features-list{margin:0;padding-left:18px;display:grid;gap:10px}
.features-list li{color:var(--text-main);line-height:1.55}

.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.slider-controls{display:flex;gap:6px;align-items:center}
.slider-btn{width:28px;height:28px;border-radius:6px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;line-height:1;font-weight:900}
.slider-btn:hover{background:rgba(31,169,255,.06)}

.slider{overflow:hidden;border-radius:22px}
.slider-track{display:flex;gap:14px;transition:transform .35s ease;will-change:transform}
.slide{flex:0 0 calc(50% - 7px)}
@media (max-width: 980px){.slide{flex:0 0 100%}}
.slide img{width:100%;height:auto;display:block;border-radius:22px;border:1px solid rgba(0,0,0,.06);box-shadow:0 18px 46px rgba(16,24,40,.08)}

.module-cta{padding:20px 0 40px}
.module-cta-box{background:linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,243,255,.70));border:1px solid rgba(0,0,0,.06);border-radius:22px;padding:18px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.module-cta-box h2{margin:0 0 6px}
.module-cta-box p{margin:0;color:var(--text-muted);line-height:1.55;max-width:760px}
.module-cta-actions{display:flex;gap:10px;flex-wrap:wrap}


/* =========================
   ZAAP SaaS UI Upgrade Pack
   ========================= */
:root{
  --zaap-bg:#f6f9ff;
  --zaap-card:#ffffff;
  --zaap-text:#0b1220;
  --zaap-muted:#5b677a;
  --zaap-border:rgba(20, 30, 55, .08);
  --zaap-primary:#1287ff;
  --zaap-primary-2:#0b63ff;
  --zaap-shadow:0 14px 40px rgba(10, 30, 70, .10);
  --zaap-shadow-hover:0 22px 70px rgba(10, 30, 70, .16);
  --zaap-radius:18px;
}

/* nicer page hero */
.page-hero{
  position:relative;
  background: radial-gradient(900px 320px at 18% 0%, rgba(18,135,255,.16), transparent 60%),
              radial-gradient(700px 320px at 78% 10%, rgba(11,99,255,.12), transparent 55%),
              linear-gradient(180deg, rgba(246,249,255,1) 0%, rgba(255,255,255,1) 100%);
  border-bottom:1px solid var(--zaap-border);
}
.page-title{ letter-spacing:-0.02em; }
.page-subtitle{ color: var(--zaap-muted); max-width: 62ch; }

.cards-section{ padding-top: 18px; }

/* cards */
.card{
  border:1px solid var(--zaap-border);
  border-radius: var(--zaap-radius);
  background: var(--zaap-card);
  box-shadow: 0 6px 24px rgba(10,30,70,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--zaap-shadow-hover);
  border-color: rgba(18,135,255,.22);
}
.card-head{ margin-bottom: 10px; }
.card__icon{
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(18,135,255,.10);
  border: 1px solid rgba(18,135,255,.16);
}
.card__icon .icon{ color: var(--zaap-primary); fill: currentColor; }

/* badge */
.card-badge, .industry-badge{
  background: rgba(18,135,255,.10);
  color: var(--zaap-primary-2);
  border: 1px solid rgba(18,135,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

/* links as buttons-lite */
.card-link{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:700;
  text-decoration:none;
}
.card-link:hover{ text-decoration: underline; }

/* Module detail hero */
.module-hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--zaap-border);
  background: radial-gradient(900px 420px at 22% 20%, rgba(18,135,255,.18), transparent 60%),
              radial-gradient(700px 380px at 82% 20%, rgba(11,99,255,.12), transparent 55%),
              linear-gradient(180deg, rgba(246,249,255,1) 0%, rgba(255,255,255,1) 100%);
}
.module-hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:center;
  padding: 34px 0;
}
@media (max-width: 980px){
  .module-hero-grid{ grid-template-columns: 1fr; padding: 22px 0; }
}
.module-title{ letter-spacing:-0.03em; }
.module-subtitle{ color: var(--zaap-muted); max-width: 60ch; }
.module-hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

/* buttons */
.btn-primary, .btn--primary, .btn.btn--primary{
  background: linear-gradient(135deg, var(--zaap-primary) 0%, var(--zaap-primary-2) 100%);
  border: none;
  color:#fff;
  box-shadow: 0 14px 36px rgba(18,135,255,.22);
}
.btn-ghost, .btn{
  border:1px solid var(--zaap-border);
  background:#fff;
}
.btn-primary:hover, .btn--primary:hover, .btn.btn--primary:hover{ filter: brightness(0.98); }

/* sections */
.module-section{ padding: 26px 0; }
.module-section-alt{ background: var(--zaap-bg); border-top: 1px solid var(--zaap-border); border-bottom: 1px solid var(--zaap-border); }
.section-h2{ letter-spacing:-0.02em; }

/* grids */
.benefits-grid, .features-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .benefits-grid, .features-grid{ grid-template-columns: 1fr; }
}
.benefit-card, .feature-card{
  border:1px solid var(--zaap-border);
  background:#fff;
  border-radius: var(--zaap-radius);
  padding: 16px;
  box-shadow: 0 6px 22px rgba(10,30,70,.05);
}
.benefit-card h3, .feature-card h3{ margin:0 0 6px; }
.benefit-card p, .feature-card p{ margin:0; color: var(--zaap-muted); }

/* slider */
.slider{ overflow:hidden; border-radius: var(--zaap-radius); border:1px solid var(--zaap-border); background:#fff; }
.slider-track{
  display:flex;
  flex-wrap:nowrap;
  gap:14px;
  transition: transform .35s ease;
  will-change: transform;
  padding: 14px;
}
.slide{ flex:0 0 auto; width: min(860px, 92vw); }
.slide img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
  border-radius: 16px;
  border: 1px solid rgba(20,30,55,.06);
}
@media (max-width: 980px){ .slide img{ height: 280px; } }
.section-head{ display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.slider-controls{ display:flex; gap:8px; }
.slider-btn{
  width:34px; height:34px;
  border-radius:10px;
  border:1px solid var(--zaap-border);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.slider-btn:hover{ box-shadow: 0 10px 30px rgba(10,30,70,.10); border-color: rgba(18,135,255,.25); }

/* reveal animation */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

@keyframes zaap-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

@keyframes zaap-shine {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  15%  { opacity: .55; }
  45%  { opacity: 0; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

.hero-visual{
  position: relative;
  border-radius: 22px;
}

.hero-visual.floating{
  animation: zaap-float 6s ease-in-out infinite;
}

.hero-visual::after{
  content:"";
  position:absolute;
  inset:-20px;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  opacity: 0;
  pointer-events:none;
  border-radius: 26px;
  animation: zaap-shine 7.5s ease-in-out infinite;
}
@keyframes zaap-gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn-primary{
  background-size: 200% 200%;
  animation: zaap-gradient-shift 5.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::after{
  content:"";
  position:absolute;
  top:-120%;
  left:-60%;
  width: 60%;
  height: 340%;
  background: rgba(255,255,255,.22);
  transform: rotate(18deg);
  opacity: 0;
  transition: opacity .2s ease;
}

.btn-primary:hover::after{
  opacity: 1;
  animation: zaap-shine 1.2s ease-in-out 1;
}
.slide{
  flex:0 0 auto;
  width: 100%;
}
/* ================================
   ZAAP Micro-Animations (Hero/Buttons/Reveals)
   ================================ */

/* Hero floating */
@keyframes zaap-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Shine sweep */
@keyframes zaap-shine {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  12%  { opacity: .55; }
  45%  { opacity: 0; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero visual wrapper */
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  will-change: transform;
}
.hero-visual.floating {
  animation: zaap-float 6s ease-in-out infinite;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,.55) 45%,
    transparent 60%
  );
  opacity: 0;
  animation: zaap-shine 7.5s ease-in-out infinite;
}

/* Buttons premium hover + shine */
.btn-primary, .btn--primary, .btn.btn--primary {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover, .btn--primary:hover, .btn.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 120, 255, .22);
  filter: brightness(1.03);
}
.btn-primary::after, .btn--primary::after, .btn.btn--primary::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 340%;
  background: rgba(255,255,255,.22);
  transform: rotate(18deg);
  opacity: 0;
}
.btn-primary:hover::after, .btn--primary:hover::after, .btn.btn--primary:hover::after {
  opacity: 1;
  animation: zaap-shine 1.2s ease-in-out 1;
}

/* ================================
   Slider fixes (1 slide per view)
   ================================ */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; gap: 16px; will-change: transform; }
.slide { flex: 0 0 100%; } /* 1 картинка = 1 экран */
.slide img { width: 100%; height: auto; display: block; border-radius: 18px; }
/* =========================
   ZAAP: Hero micro-animations (floating + shine)
   ========================= */

.hero-visual{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, filter;
}

.hero-visual.shine::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.10) 65%,
    transparent 100%
  );
  transform: translateX(-35%) rotate(8deg);
  animation: zaap-shine 5.5s ease-in-out infinite;
  pointer-events:none;
}

@keyframes zaap-shine{
  0%   { transform: translateX(-55%) rotate(8deg); opacity: .0; }
  18%  { opacity: .85; }
  45%  { transform: translateX(25%) rotate(8deg); opacity: .25; }
  100% { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

.floating{
  animation: zaap-float 6s ease-in-out infinite;
}

@keyframes zaap-float{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* =========================
   ZAAP: Buttons micro-interactions
   ========================= */

.btn-primary,
.btn-ghost,
.btn--primary,
.btn--secondary{
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}

.btn-primary:hover,
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16,24,40,.16);
}

.btn-ghost:hover,
.btn--secondary:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16,24,40,.12);
}

.btn-primary:active,
.btn-ghost:active,
.btn--primary:active,
.btn--secondary:active{
  transform: translateY(0);
  filter: brightness(.98);
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn--primary:focus-visible,
.btn--secondary:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(31,169,255,.18), 0 14px 30px rgba(16,24,40,.12);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .floating{ animation: none; }
  .hero-visual.shine::before{ animation: none; }
  .btn-primary, .btn-ghost, .btn--primary, .btn--secondary{ transition: none; }
}
/* =========================
   Enterprise Hero (ZAAP)
   ========================= */

.enterprise-hero{
  position: relative;
  overflow: hidden;
}

/* фоновые “blobs” как у SaaS */
.enterprise-hero::before,
.enterprise-hero::after{
  content:"";
  position:absolute;
  width: 680px;
  height: 680px;
  border-radius: 999px;
  filter: blur(0px);
  opacity: .16;
  pointer-events:none;
}
.enterprise-hero::before{
  left: -220px;
  top: -240px;
  background: radial-gradient(circle at 30% 30%, rgba(18,135,255,.95), transparent 60%);
}
.enterprise-hero::after{
  right: -260px;
  top: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(11,99,255,.9), transparent 60%);
}

/* pills */
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.hero-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0b63ff;
  background: rgba(18,135,255,.10);
  border: 1px solid rgba(18,135,255,.18);
}
.hero-pill--soft{
  color: #1a3a6b;
  background: rgba(10,30,70,.06);
  border-color: rgba(10,30,70,.10);
}

/* proof line */
.hero-proof{
  margin-top: 10px;
  color: rgba(11,18,32,.72);
  font-weight: 600;
  max-width: 62ch;
}

/* KPIs in hero */
.hero-kpis{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .hero-kpis{ grid-template-columns: 1fr; }
}
.hero-kpi{
  border: 1px solid rgba(20,30,55,.10);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 12px 14px;
}
.hero-kpi__value{
  font-weight: 900;
  font-size: 16px;
  color: #0b63ff;
  line-height: 1.15;
}
.hero-kpi__label{
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(11,18,32,.70);
}

/* hero visual wrapper (floating + shine) */
.hero-visual{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  border: 1px solid rgba(20,30,55,.10);
  box-shadow: 0 18px 55px rgba(10,30,70,.16);
}

.floating{
  animation: zaap-float 6s ease-in-out infinite;
}

@keyframes zaap-float{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.hero-visual.shine::before{
  content:"";
  position:absolute;
  inset:-45%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.10) 65%,
    transparent 100%
  );
  transform: translateX(-55%) rotate(10deg);
  animation: zaap-shine 5.8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes zaap-shine{
  0%   { transform: translateX(-60%) rotate(10deg); opacity: 0; }
  18%  { opacity: .85; }
  55%  { transform: translateX(25%) rotate(10deg); opacity: .25; }
  100% { transform: translateX(60%) rotate(10deg); opacity: 0; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .floating{ animation:none; }
  .hero-visual.shine::before{ animation:none; }
}
/* HOME: компактные карточки модулей только на главной */
.home-modules .modules-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-modules .module-card{
  padding: 20px;
}

.home-modules .module-title{
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.15;
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
}

.home-modules .module-desc{
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 12px;
  max-width: 46ch;
}

.home-modules .module-link{
  font-size: 13px;
}

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

@media (max-width: 640px){
  .home-modules .modules-grid{ grid-template-columns: 1fr; }
  .home-modules .module-card{ padding: 16px; }
}
/* Главная — компактные карточки модулей */

.home-modules .module-title{
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.15;
  margin: 8px 0;
}

.home-modules .module-desc{
  font-size: 12.5px;
  line-height: 1.5;
}

.home-modules .module-link{
  font-size: 12.5px;
}

/* --- Modules detail layout (ZAAP) --- */
.module-hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items:center;
}
.module-hero-media{
  display:flex;
  justify-content:center;
  align-items:center;
}
.module-hero-img{
  width:100%;
  max-width:520px;
  height:auto;
  border-radius:18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}
.module-hook{
  margin: 14px 0 22px;
  font-weight:600;
  opacity:.9;
}
.module-info-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0 22px;
}
.module-info-card{
  padding: 16px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.module-result{
  border-color: rgba(30,136,229,.45);
}
.section-title{
  margin: 0 0 14px;
  font-size: 22px;
}
.module-features{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.module-feature{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.module-gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.module-gallery-item{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.module-gallery-item img{
  width:100%;
  height:auto;
  display:block;
}
.module-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 900px){
  .module-hero-grid{ grid-template-columns: 1fr; }
}


/* Industries (enterprise) */
.section-head--split{display:flex;gap:24px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.section-head__left{max-width:640px}
.section-head__tagline{margin-top:10px;font-size:14px;font-weight:600;letter-spacing:.3px;color:rgba(17,24,39,.85)}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width: 980px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.grid-3{grid-template-columns:1fr}}
.industry-card{text-decoration:none;display:block}
.industry-card__icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(79,70,229,.06);border:1px solid rgba(79,70,229,.12);margin-bottom:12px}
.industry-card__icon img{width:34px;height:34px}
.industry-proof{font-size:12px;line-height:1.35;color:rgba(17,24,39,.78);background:rgba(79,70,229,.06);border:1px solid rgba(79,70,229,.12);padding:8px 10px;border-radius:12px}
.industry-cta{font-weight:800;text-decoration:none}
.industry-cta:hover{text-decoration:underline}

/* === HEADER PRIMARY BUTTON FIX === */

.header .btn-primary,
.header .btn-download,
.header a.btn-primary {
    background: linear-gradient(135deg, #1e6bff, #1554cc) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 85, 255, 0.25);
    transition: all 0.2s ease;
}

.header .btn-primary:hover,
.header .btn-download:hover {
    background: linear-gradient(135deg, #1554cc, #0e3fa8) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* если хедер становится sticky */
.header.sticky .btn-primary,
.header.sticky .btn-download {
    background: linear-gradient(135deg, #1e6bff, #1554cc) !important;
    color: #ffffff !important;
}

/* =====================================================
   HEADER BUTTON VISIBILITY FIX (Связаться / Скачать ZAAP)
   ===================================================== */

/* Restore missing variables if not defined */
:root{
  --bg: var(--bg-main);
  --dark: var(--text-main);
  --muted: var(--text-muted);
  --card: var(--bg-card);
  --border: rgba(17,24,39,.12);
}

/* Ensure header stays solid */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

/* Force primary button to always be visible */
.header__cta .btn,
.header__cta a.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: all .2s ease;
}

/* If primary/secondary button */
.header__cta .btn--primary,
.header__cta .btn--secondary{
  background: linear-gradient(135deg, #1e6bff, #1554cc) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 85, 255, 0.25);
}

.header__cta .btn--primary:hover,
.header__cta .btn--secondary:hover{
  background: linear-gradient(135deg, #1554cc, #0e3fa8) !important;
  transform: translateY(-1px);
}

/* If ghost button — make it visible */
.header__cta .btn--ghost{
  background: #ffffff !important;
  border: 1px solid rgba(17,24,39,.15) !important;
  color: var(--dark) !important;
}

/* ===== FORCE HEADER CTA BUTTON (always visible) ===== */

/* 1) Синяя CTA для ссылок в хедере (download/demo/contact) */
.header a[href*="download"],
.header a[href*="demo"],
.header a.btn-primary,
.header a.btn--primary,
.header .btn-download {
  background: linear-gradient(135deg, #1e6bff, #1554cc) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 85, 255, 0.25) !important;
}

/* 2) Hover */
.header a[href*="download"]:hover,
.header a[href*="contact"]:hover,
.header a[href*="demo"]:hover,
.header a.btn-primary:hover,
.header a.btn--primary:hover,
.header .btn-download:hover {
  background: linear-gradient(135deg, #1554cc, #0e3fa8) !important;
}

/* 3) НЕ трогаем RU/UZ/EN (оставляем как есть) */
.header .lang button,
.header .lang a,
.header .lang-switch button,
.header .lang-switch a {
  background: transparent !important;
  color: inherit !important;
  border: 1px solid rgba(17,24,39,.12) !important;
  box-shadow: none !important;
}
/* ===== FIX: only "Связаться" button ===== */

/* Кнопка "Связаться" */
.header .btn-contact,
.header .btn--contact,
.header a.header-contact-btn {
  background: linear-gradient(135deg, #1e6bff, #1554cc) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(0, 85, 255, 0.25);
}

/* Hover */
.header .btn-contact:hover,
.header .btn--contact:hover,
.header a.header-contact-btn:hover {
  background: linear-gradient(135deg, #1554cc, #0e3fa8) !important;
}

/* Убираем фон у пункта меню "Контакты" */
.header nav a {
  background: transparent !important;
  box-shadow: none !important;
}
/* =====================================
   FINAL HEADER FIX (ZAAP)
   ===================================== */

/* 1. Убираем активную подсветку у меню */
.nav--center a.is-active{
  border-bottom: none !important;
  color: inherit !important;
}

/* 2. Кнопка "Связаться" всегда синяя */
.header__right .btn--secondary,
.header__cta .btn--secondary{
  background: linear-gradient(135deg, #1287ff 0%, #0b63ff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 12px 28px rgba(18,135,255,.25);
}

/* Hover */
.header__right .btn--secondary:hover,
.header__cta .btn--secondary:hover{
  filter: brightness(.95);
}

/* 3. Меню всегда обычного цвета */
.nav--center a{
  color: #0f172a !important;
}

/* === Mobile fixes: topbar/header overlap === */
@media (max-width: 768px){
  /* Let topbar grow in height instead of forcing 36px */
  .topbar__row{
    height:auto !important;
    padding:8px 0 !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }
  .topbar__right{
    flex-wrap:wrap !important;
    gap:10px !important;
    justify-content:flex-start !important;
  }
  .topbar{
    font-size:12px !important;
    line-height:1.2 !important;
  }

  /* Prevent header row from overflowing on small screens */
  .header__row{
    flex-wrap:wrap !important;
    gap:10px !important;
  }

  /* If you have a centered nav block, hide it on mobile (already hidden at 920px, keep safe) */
  .nav--center{ display:none !important; }

  /* Give page content a small breathing room under sticky header stack */
  main{ padding-top: 8px; }
}


/* === MOBILE HEADER FIX === */
@media (max-width: 768px){

  .header__row{
      height: auto !important;
      min-height: 76px;
      padding: 12px 0 !important;
      align-items: flex-start !important;
  }

  .header__right{
      width: 100%;
      justify-content: flex-start !important;
      margin-top: 8px;
  }

  .logo{
      margin-bottom: 6px;
  }

  /* чтобы контент не налезал */
  .main{
      margin-top: 10px;
  }
}

/* ===============================
   MOBILE FIX PACK (Roadmap + Industries detail + Demo form)
   =============================== */

@media (max-width: 768px){

  /* -------- 1) Roadmap slider (rm) -------- */
  .rm{
    grid-template-columns: 1fr !important; /* убираем 3 колонки с кнопками */
    gap: 10px !important;
  }
  .rm__viewport{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
  }

  /* делаем стрелки абсолютными, чтобы не ломали сетку */
  .rm__nav{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 44px !important;
    height: 44px !important;
  }
  /* левая/правая */
  .rm > .rm__nav:first-child{ left: 8px !important; }
  .rm > .rm__nav:last-child{ right: 8px !important; }

  /* чтобы стрелки не перекрывали карточку — даём внутренние поля */
  .rm__viewport{
    padding: 0 56px !important;
  }
  .rm__slide{
    padding: 10px 6px !important;
  }


  /* -------- 2) Industry detail header/layout -------- */
  /* этот класс у тебя есть в CSS */
  .section-head--split{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .section-head__left{
    max-width: 100% !important;
  }

  /* если где-то в индустриях есть двухколоночная “герой-сетка” */
  .module-hero-grid{
    grid-template-columns: 1fr !important;
  }


  /* -------- 3) Forms (demo/contact) -------- */
  /* общая защита: все поля в формах на мобиле занимают 100% */
  main form input,
  main form textarea,
  main form select{
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* если форма собрана через flex/row — даём перенос */
  main form .row,
  main form .form-row,
  main form .form-grid{
    display: block !important;
  }

  /* убираем любой горизонтальный скролл из-за переполнения */
  html, body{
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px){
  .nav--center{
    display:flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 6px 0 !important;
    scrollbar-width: none; /* Firefox */
  }
  .nav--center::-webkit-scrollbar{ display:none; } /* Safari/Chrome */

  .nav--center a{
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
}

/* ========= MOBILE: NAV + INDUSTRIES FIX ========= */
@media (max-width: 768px){

  /* 1) Вернуть верхнее меню (оно скрыто правилом max-width:920px) */
  .nav--center{
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 6px 0 !important;
    scrollbar-width: none;
  }
  .nav--center::-webkit-scrollbar{ display:none; }
  .nav--center a{
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  /* 2) Хедер в 2 строки без налёта друг на друга */
  .header__row{
    height: auto !important;     /* КЛЮЧЕВОЕ */
    min-height: 76px;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }

  /* 3) Отрасли/детальные: перенос заголовков, чтобы не вылезали за экран */
  h1, h2, .title, .hero-title{
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* 4) Если где-то герой-блок в 2 колонки — принудительно в 1 */
  .module-hero-grid{
    grid-template-columns: 1fr !important;
  }
  .section-head--split{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .section-head__left{ max-width: 100% !important; }

  /* защита от горизонтального скролла */
  html, body { overflow-x: hidden !important; }
}

/* ===== Industries detail (mobile): stack hero into 1 column ===== */
@media (max-width: 768px){

  /* 1) Принудительно в 1 колонку: блок с H1 + описанием вверху страницы отрасли */
  main .container > .section-head--split{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* если у вас верх отрасли сделан grid-ом (часто так) */
  main .container > .module-hero-grid,
  main .container > .industry-hero-grid,
  main .container > .hero-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 2) Левый/правый блоки — на всю ширину */
  main .container > .section-head--split .section-head__left,
  main .container > .section-head--split .section-head__right{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 3) Заголовок отрасли — не “вылетает” */
  main h1{
    font-size: 40px !important;     /* если нужно меньше: 34-36 */
    line-height: 1.05 !important;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* 4) Текст описания справа — нормальная ширина и читаемость */
  main .section-head__right,
  main .hero__text,
  main .industry__lead{
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

/* ===== Fix industries H1: no letter-by-letter breaking ===== */
@media (max-width: 768px){

  /* 1) Запрещаем ломать слова по буквам */
  main h1{
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto;
  }

  /* 2) А вот эти блоки — вниз (в одну колонку) */
  .section-head--split{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* 3) Ограничиваем ширину и перенос для текста/бейджа/ссылки */
  .section-head__left,
  .section-head__right{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 4) Если справа есть CTA "Запросить демо" — тоже вниз */
  .section-head--split a,
  .section-head--split .pill,
  .section-head--split .badge{
    max-width: 100% !important;
  }
}
/* ===== NAV FIX v3: always single row, scrollable if needed (fixes items falling into stacked lines at ANY width) ===== */

  .header__row{
    flex-wrap: wrap !important;
    height: auto !important;
    min-height: 76px;
    gap: 10px !important;
    align-items: flex-start !important;
  }
  .nav--center{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 6px 0 !important;
    scrollbar-width: none;
  }
  .nav--center::-webkit-scrollbar{ display:none; }
  .nav--center a{
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }



/* ===== NAV FIX v5: compact sticky header on scroll (JS toggles .is-scrolled on .header) ===== */
.header__navrow{
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: 100% !important;
}
.header.is-scrolled .header__right{
  display: none !important;
}
.header.is-scrolled .header__row{
  flex-wrap: nowrap !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
}

/* ===== NAV FIX v6: entire header in ONE line (logo+nav+search+buttons+lang), horizontal scroll if needed ===== */
.header__row{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 0 !important;
}
.header__row::-webkit-scrollbar{ display:none; }
.header__navrow{
  flex: 0 0 auto !important;
  width: auto !important;
  position: static !important;
}
.nav--center{
  flex: 0 0 auto !important;
  width: auto !important;
  overflow: visible !important;
  justify-content: flex-start !important;
}
.header__right{
  flex: 0 0 auto !important;
  width: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
}
.header.is-scrolled .header__right{
  display: none !important;
}
