/* =========================================================
   MPS ADS agency — Landing
   ========================================================= */

:root{
  --bg-page:        #0b0d12;
  --bg-space:       #05070e;
  --bg-space-2:     #0a1020;
  --bg-section:     #0a0d14;
  --bg-section-alt: #070a11;
  --bg-card:        #0e1320;
  --border-soft:    rgba(125,150,210,.14);
  --text-primary:   #f3f6ff;
  --text-muted:     #8b93a6;
  --accent:         #3d86ff;
  --accent-light:   #58a7ff;
  --accent-soft:    #66b9ff;
  --orange:         #ff8a2a;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }
html, body{
  overflow-x: clip;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-star{ display:none !important; }
}

body{
  font-family: var(--font-ui);
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  overflow-x: clip;
}
.container--narrow{ max-width: 860px; }

/* =========================================================
   BURGER MENU (базовые стили — объявлены ДО медиа-запросов)
   ========================================================= */
.nav-burger{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:42px; height:42px;
  padding:0;
  border:1px solid rgba(125,150,210,.16);
  border-radius:12px;
  background: rgba(13,18,30,.62);
  cursor:pointer;
  flex-shrink:0;
  transition: border-color .2s;
}
.nav-burger:hover{ border-color: rgba(110,160,255,.5); }
.nav-burger span{
  display:block; width:20px; height:2px; margin:0 auto;
  border-radius:2px; background:#d5dbe8;
  transition: transform .28s ease, opacity .22s ease;
}
.nav-burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2){ opacity:0; }
.nav-burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* затемнение фона при открытом меню */
.nav-overlay{
  position: fixed; inset:0;
  background: rgba(4,6,12,.6);
  backdrop-filter: blur(2px);
  opacity:0; visibility:hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 109;
}
.nav-overlay.is-open{ opacity:1; visibility:visible; }

/* клон CTA в меню виден только в мобильной панели */
.nav-links .nav-cta-mobile{ display:none; }

/* =========================================================
   HERO — porthole shell
   ========================================================= */
.viewport-shell{
  margin: clamp(10px, 2.2vw, 26px) auto;
  width: calc(100% - clamp(20px, 4.4vw, 52px));
  max-width: 1480px;
  border-radius: clamp(26px, 3.5vw, 46px);
  padding: clamp(10px, 1.4vw, 18px);
  background: linear-gradient(160deg, #232a3a 0%, #14181f 45%, #0c0f15 100%);
  box-shadow:
    0 40px 90px -20px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(140,165,220,.28),
    inset 0 -2px 6px rgba(0,0,0,.7);
  position:relative;
}

.hero{
  position:relative;
  overflow:hidden;
  border-radius: clamp(20px, 2.8vw, 36px);
  min-height: clamp(560px, 80vh, 820px);
  background: var(--bg-space);
  box-shadow:
    inset 0 0 0 1px rgba(110,140,200,.16),
    inset 0 30px 80px -30px rgba(0,0,0,.9),
    inset 0 -30px 80px -30px rgba(0,0,0,.9);
  display:flex;
  flex-direction:column;
}

/* ---------- Space background: rocket art image ---------- */
.space-bg{ position:absolute; inset:0; z-index:0; }

.hero-art{
  position:absolute; inset:0;
  background: url('../images/hero-rocket.webp') no-repeat;
  background-size: cover;
  background-position: right center;
  animation: art-zoom 24s ease-in-out infinite alternate;
}
@keyframes art-zoom{
  from{ transform: scale(1); }
  to  { transform: scale(1.05); }
}

/* ---------- «Живая» туманность ---------- */
.nebula-layer{
  position:absolute; inset:0;
  overflow:hidden;
  mix-blend-mode: screen;
  pointer-events:none;
}
.nebula{
  position:absolute;
  border-radius:50%;
  filter: blur(46px);
  will-change: transform, opacity;
}
.nebula--blue{
  width:55%; height:70%;
  top:-5%; left:22%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(64,120,255,.32) 0%, rgba(64,120,255,.10) 45%, transparent 70%);
  animation: nebula-drift-a 26s ease-in-out infinite alternate;
}
.nebula--purple{
  width:48%; height:62%;
  bottom:-8%; right:2%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(150,90,255,.28) 0%, rgba(150,90,255,.08) 45%, transparent 70%);
  animation: nebula-drift-b 32s ease-in-out infinite alternate;
}
.nebula--glow{
  width:26%; height:34%;
  bottom:18%; right:24%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,150,60,.30) 0%, rgba(255,110,40,.10) 45%, transparent 70%);
  filter: blur(38px);
  animation: nebula-pulse 6.5s ease-in-out infinite;
}
@keyframes nebula-drift-a{
  0%  { transform: translate(0,0) scale(1);        opacity:.75; }
  50% { transform: translate(-3.5%, 3%) scale(1.08); opacity:1; }
  100%{ transform: translate(3%, -2.5%) scale(.96);  opacity:.65; }
}
@keyframes nebula-drift-b{
  0%  { transform: translate(0,0) scale(1);         opacity:.65; }
  50% { transform: translate(3.5%, -3%) scale(1.1);  opacity:.95; }
  100%{ transform: translate(-2.5%, 2%) scale(.94);  opacity:.6; }
}
@keyframes nebula-pulse{
  0%, 100%{ transform: scale(1);    opacity:.55; }
  50%     { transform: scale(1.12); opacity:.9; }
}
.hero-art::after{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(5,7,14,.92) 0%, rgba(5,7,14,.72) 30%, rgba(5,7,14,.18) 58%, rgba(5,7,14,0) 75%),
    linear-gradient(0deg, rgba(5,7,14,.85) 0%, rgba(5,7,14,0) 22%),
    linear-gradient(180deg, rgba(5,7,14,.6) 0%, rgba(5,7,14,0) 18%);
}

.stars-canvas{ position:absolute; inset:0; width:100%; height:100%; opacity:.85; }

/* ---------- Navbar ---------- */
.navbar-wrap{
  position:relative; z-index:5;
  display:flex; justify-content:center;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2.5vw, 28px) 0;
}

.navbar{
  width:100%;
  max-width: 1080px;
  display:flex; align-items:center; gap: 20px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgba(13,18,30,.62);
  border: 1px solid rgba(125,150,210,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.7), inset 0 1px 0 rgba(160,190,255,.1);
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color: var(--text-primary);
}
.brand-badge{
  display:grid; place-items:center;
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(160,190,255,.25);
  background: radial-gradient(120% 120% at 30% 25%, #1d2638, #0c111d);
  color:#e8eeff;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-line1{ font-family: var(--font-display); font-weight:700; font-size:13px; letter-spacing:.3px; }
.brand-line1 em{ font-style:normal; color: var(--accent-light); }
.brand-line2{ font-size:12px; color:#c2c9d8; font-weight:500; }

.nav-links{
  display:flex; align-items:center; gap:14px;
  list-style:none; margin:0 auto;
}
.nav-links a{
  color:#d5dbe8; text-decoration:none; font-size:15px; font-weight:500;
  transition: color .2s;
  position:relative;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; bottom:-5px;
  width:100%; height:1.5px; border-radius:2px;
  background: linear-gradient(90deg, var(--accent-light), #b9a6ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover{ color:#fff; }
.nav-links a:hover::after{ transform: scaleX(1); }
.nav-links .dot{ color:#5a6378; font-size:14px; user-select:none; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:48px; padding:0 26px;
  border-radius:999px; border:none;
  font-family:var(--font-ui); font-size:15px; font-weight:600;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, #2f75ff 0%, #4fa1ff 100%);
  box-shadow: 0 0 0 1px rgba(110,170,255,.35), 0 10px 30px -8px rgba(61,134,255,.65);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(140,190,255,.5), 0 14px 38px -8px rgba(61,134,255,.8);
}

.btn-ghost{
  color:#eef2fb;
  background: rgba(10,14,24,.45);
  border:1px solid rgba(200,215,245,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-ghost:hover{
  transform: translateY(-2px);
  border-color: rgba(230,240,255,.75);
  background: rgba(18,24,40,.6);
}

.nav-cta{ height:44px; padding:0 22px; }

/* ---------- Hero content ---------- */
.hero-content{
  position:relative; z-index:4;
  flex:1;
  display:flex; flex-direction:column; justify-content:center;
  max-width: 880px;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 5vw, 80px);
}

.kicker{
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-title{
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.title-white{ color:#fff; }
.title-blue{
  background: linear-gradient(100deg, #5aa9ff 0%, #8fc6ff 40%, #b9a6ff 70%, #5aa9ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shimmer 7s ease-in-out infinite;
}
@keyframes title-shimmer{
  0%, 100%{ background-position: 0% 50%; }
  50%    { background-position: 100% 50%; }
}

.kicker::after{
  content:'█';
  margin-left: 6px;
  color: var(--accent-light);
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink{ 50%{ opacity:0; } }

.hero-sub{
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Telemetry ---------- */
.telemetry{
  position:relative; z-index:4;
  padding: 0 clamp(18px, 3vw, 42px) clamp(14px, 1.8vw, 20px);
}

.ruler{
  height: 14px;
  margin-bottom: 8px;
  background:
    repeating-linear-gradient(to right,
      rgba(150,170,210,.35) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(to right,
      rgba(150,170,210,.55) 0 1px, transparent 1px 60px);
  background-size: 100% 6px, 100% 14px;
  background-repeat: no-repeat;
  background-position: bottom left, bottom left;
  opacity:.5;
}

.telemetry-row{
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px; flex-wrap:wrap;
  border-top: 1px solid rgba(120,145,195,.18);
  padding-top: 10px;
}

.tel-item{
  font-family: var(--font-mono);
  font-size: clamp(9px, .8vw, 11px);
  letter-spacing: .08em;
  color: var(--text-muted);
  display:inline-flex; align-items:center; gap:8px;
  text-transform: uppercase;
}
.tel-item b{ color:#cfd8ea; font-weight:500; }
.status-ok{ color:#7be0a8; }

.tel-target{ position:relative; }
.tel-spark{ width:110px; height:22px; opacity:.8; }

/* =========================================================
   PAGE SECTIONS
   ========================================================= */
.page-main{
  position:relative;
  background-color: var(--bg-section);
  background-image:
    radial-gradient(1.2px 1.2px at 22px 34px,  rgba(223,233,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px     at 134px 89px, rgba(223,233,255,.32) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 251px 158px,rgba(190,215,255,.42) 50%, transparent 51%),
    radial-gradient(1px 1px     at 317px 41px, rgba(223,233,255,.25) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 80px 219px, rgba(200,222,255,.38) 50%, transparent 51%),
    radial-gradient(1px 1px     at 196px 264px,rgba(223,233,255,.28) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 343px 230px,rgba(185,166,255,.35) 50%, transparent 51%);
  background-size: 380px 300px;
}

.section{
  position:relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background: transparent;
  overflow:hidden;
}
.section--alt{ background: rgba(2,4,9,.45); }

.section::before{
  content:'';
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(60% 45% at 70% 10%, rgba(47,90,200,.13) 0%, transparent 70%),
    radial-gradient(55% 40% at 20% 85%, rgba(122,92,255,.09) 0%, transparent 70%);
}
.section--alt::before{
  background:
    radial-gradient(46% 38% at 12% 8%,  rgba(122,92,255,.11) 0%, transparent 70%),
    radial-gradient(40% 34% at 88% 90%, rgba(47,90,200,.12) 0%, transparent 70%);
}
.section--contact::before{ content:none; }

.section + .section::after{
  content:'';
  position:absolute; top:0; left:50%;
  translate:-50% 0;
  width:min(720px, 80%); height:1px;
  background: linear-gradient(90deg, transparent, rgba(90,150,255,.35) 50%, transparent);
}

.section-head{
  text-align:center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.section-kicker{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.section-title{
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height:1.16;
  margin-bottom: 14px;
}
.section-sub{
  color: var(--text-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.6;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal{ opacity:0; }
.js .reveal.is-visible{
  opacity:1;
  animation: reveal-up .8s cubic-bezier(.22,.61,.36,1) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-up{
  from{ opacity:0; transform: translateY(28px); }
  to  { opacity:1; transform: none; }
}

/* ---------- Stats strip ---------- */
.stats-strip{
  background: transparent;
  padding: clamp(40px, 6vw, 70px) 0 0;
}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card{
  text-align:center;
  padding: 28px 16px;
  border-radius: 20px;
  background: rgba(14,19,32,.82);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(2px);
  transition: transform .3s ease, border-color .3s ease;
}
.stat-card:hover{
  transform: translateY(-4px);
  border-color: rgba(88,167,255,.35);
}
.stat-value{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  background: linear-gradient(100deg, #5aa9ff, #b9a6ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-label{ color: var(--text-muted); font-size: 14px; }

/* ---------- Services ---------- */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card{
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(88,167,255,.4);
  box-shadow: 0 20px 50px -20px rgba(47,117,255,.35);
}
.service-card:hover .service-icon{
  transform: translateY(-4px) rotate(-6deg);
  box-shadow: 0 10px 24px -8px rgba(61,134,255,.6);
}
.service-icon{
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  display:grid; place-items:center;
  width:52px; height:52px; border-radius:14px;
  background: linear-gradient(135deg, rgba(47,117,255,.18), rgba(122,92,255,.18));
  border: 1px solid rgba(110,160,255,.3);
  color: var(--accent-soft);
  font-size: 20px;
  margin-bottom: 18px;
}
.service-card h3{
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
}
.service-card > p{
  color: var(--text-muted); font-size: 14.5px; line-height: 1.6;
  margin-bottom: 16px;
}
.service-list{
  list-style:none;
  display:flex; flex-direction:column; gap:8px;
}
.service-list li{
  font-size: 13.5px; color:#aeb8cc;
  padding-left: 18px; position:relative;
}
.service-list li::before{
  content:'';
  position:absolute; left:0; top:7px;
  width:6px; height:6px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(61,134,255,.9);
}

/* ---------- Cases ---------- */
.cases-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card{
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  display:flex; flex-direction:column;
  transition: transform .25s ease, border-color .25s ease;
  position: relative;
}
.case-card:hover{
  transform: translateY(-6px);
  border-color: rgba(88,167,255,.4);
}

.case-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom: 16px;
}
.case-tag{
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:#aeb8cc;
  padding: 5px 10px; border-radius: 999px;
  border:1px solid var(--border-soft);
  background: rgba(20,28,46,.6);
}
.case-roi{
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px;
  color: #7be0a8;
  white-space:nowrap;
}
.case-card h3{ font-size: 19px; font-weight:700; margin-bottom: 8px; }
.case-card > p{
  color: var(--text-muted); font-size: 14px; line-height:1.6;
  margin-bottom: 18px;
}

.case-metrics{
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.metric{
  text-align:center;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(18,26,44,.7);
  border: 1px solid var(--border-soft);
}
.metric b{
  display:block; font-size: 16px; font-weight:800; color:#fff;
  font-variant-numeric: tabular-nums;
}
.metric span{ font-size: 10.5px; color: var(--text-muted); }

.case-chart{
  margin-top: auto;
  height: 100px;
  position: relative;
  width: 100%;
}
.case-chart canvas,
.case-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ссылка-оверлей карточки кейса */
.case-card-link{
  position:absolute; inset:0;
  z-index: 2;
}

/* ---------- About / process ---------- */
.about-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items:start;
}
.about-text .section-title{ margin-bottom: 18px; }
.about-lead{
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color:#c4ccdd;
  margin-bottom: 26px;
}
.about-points{
  list-style:none;
  display:flex; flex-direction:column; gap:14px;
}
.about-points li{
  display:flex; gap: 12px; align-items:flex-start;
  color:#aeb8cc; font-size: 15px; line-height:1.5;
}
.about-points i{ color: var(--accent-light); margin-top:3px; }

.process-steps{
  list-style:none;
  display:flex; flex-direction:column;
  position:relative;
}
.step{
  display:flex; gap: 20px;
  padding: 22px 0;
  position:relative;
}
.step:not(:last-child)::after{
  content:'';
  position:absolute; left: 25px; top: 74px; bottom: -8px;
  width:1px;
  background: linear-gradient(180deg, rgba(88,167,255,.5), rgba(88,167,255,.08));
}
.step-num{
  flex-shrink:0;
  display:grid; place-items:center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-family: var(--font-mono); font-size: 14px;
  color: var(--accent-soft);
  background: rgba(20,30,52,.8);
  border: 1px solid rgba(110,160,255,.35);
  box-shadow: 0 0 20px -6px rgba(61,134,255,.5);
  animation: step-pulse 3.2s ease-in-out infinite;
}
.step:nth-child(2) .step-num{ animation-delay: .8s; }
.step:nth-child(3) .step-num{ animation-delay: 1.6s; }
.step:nth-child(4) .step-num{ animation-delay: 2.4s; }
@keyframes step-pulse{
  0%, 100%{ box-shadow: 0 0 20px -6px rgba(61,134,255,.5); }
  50%     { box-shadow: 0 0 28px -4px rgba(61,134,255,.85); }
}
.step h3{ font-size: 17px; font-weight:700; margin-bottom: 6px; }
.step p{ color: var(--text-muted); font-size: 14px; line-height:1.6; }

/* ---------- FAQ (общий) ---------- */
.faq-list{ display:flex; flex-direction:column; gap: 12px; }

.faq-item{
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  overflow:hidden;
  transition: border-color .25s ease;
}
.faq-item[open]{ border-color: rgba(88,167,255,.4); }

.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 600; font-size: 15.5px;
  position:relative;
  user-select:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+';
  position:absolute; right: 20px; top:50%;
  translate: 0 -50%;
  font-size: 22px; font-weight:400;
  color: var(--accent-light);
  transition: rotate .25s ease;
}
.faq-item[open] summary::after{ rotate: 45deg; }
.faq-item p{
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14.5px; line-height: 1.65;
}

/* ---------- Contacts ---------- */
.section--contact{
  background:
    radial-gradient(80% 90% at 80% 10%, rgba(47,75,160,.22) 0%, transparent 60%),
    radial-gradient(60% 70% at 15% 90%, rgba(122,92,255,.12) 0%, transparent 60%),
    rgba(2,4,9,.45);
}

.contact-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items:center;
}
.contact-info .section-title{ margin-bottom: 16px; }
.contact-info .section-sub{ margin-bottom: 30px; max-width: 420px; }

.contact-channels{
  list-style:none;
  display:flex; flex-direction:column; gap: 18px;
}
.contact-channels li{ display:flex; align-items:center; gap: 14px; }
.channel-icon{
  display:grid; place-items:center;
  width:46px; height:46px; border-radius: 13px;
  background: rgba(20,30,52,.8);
  border: 1px solid rgba(110,160,255,.3);
  color: var(--accent-soft); font-size: 18px;
}
.contact-channels b{ display:block; font-size:13px; color:var(--text-muted); font-weight:500; }
.contact-channels a{
  color:#eef2fb; text-decoration:none; font-weight:600; font-size:15.5px;
}
.contact-channels a:hover{ color: var(--accent-light); }

/* form */
.lead-form{
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.22);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(160,190,255,.08);
  backdrop-filter: blur(8px);
}
.form-title{ font-size: 20px; font-weight:700; margin-bottom: 22px; }

.field{ display:block; margin-bottom: 16px; }
.field span{
  display:block; font-size: 13px; color:#aeb8cc; margin-bottom: 7px; font-weight:500;
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(8,12,22,.8);
  border: 1px solid var(--border-soft);
  color:#eef2fb;
  font-family: var(--font-ui); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea{ resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder{ color:#5a6378; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color: rgba(88,167,255,.65);
  box-shadow: 0 0 0 3px rgba(61,134,255,.18);
}
.field input.field-error{ border-color: rgba(255,110,110,.7); }

.btn-submit{ width:100%; margin-top: 6px; }
.btn-submit[disabled]{ opacity:.6; cursor: wait; }

.form-status{
  margin-top: 12px;
  font-size: 14px; text-align:center;
  min-height: 20px;
}
.form-status.ok{ color:#7be0a8; }
.form-status.err{ color:#ff8a8a; }

.form-note{
  margin-top: 10px;
  font-size: 11.5px; color:#5a6378; text-align:center; line-height:1.5;
}

/* ---------- Чекбоксы согласия в форме ---------- */
.field--check{
  display:flex; align-items:flex-start; gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.field--check input[type="checkbox"]{
  width: 18px; height: 18px;
  min-width: 18px;
  margin-top: 1px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  background: rgba(8,12,22,.8);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  display:grid; place-items:center;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field--check input[type="checkbox"]::after{
  content:'';
  width: 9px; height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, #58a7ff, #7a5cff);
  transform: scale(0);
  transition: transform .15s ease;
}
.field--check input[type="checkbox"]:checked{
  border-color: rgba(88,167,255,.8);
  box-shadow: 0 0 8px -2px rgba(61,134,255,.6);
}
.field--check input[type="checkbox"]:checked::after{ transform: scale(1); }
.field--check input[type="checkbox"]:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(61,134,255,.25);
}
.field--check span{
  display:block;
  margin-bottom: 0;
  font-size: 12.5px; line-height: 1.55;
  color:#8b93a6; font-weight: 400;
}
.field--check a{
  color: var(--accent-soft, #9fcaff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field--check a:hover{ color:#fff; }

/* =========================================================
   STAR CURSOR
   ========================================================= */
@media (hover: hover) and (pointer: fine){
  .js.star-cursor-on body,
  .js.star-cursor-on a,
  .js.star-cursor-on button,
  .js.star-cursor-on summary,
  .js.star-cursor-on input,
  .js.star-cursor-on select,
  .js.star-cursor-on textarea,
  .js.star-cursor-on label{ cursor: none; }
}

.cursor-star{
  position: fixed;
  top: 0; left: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  will-change: transform;
}
.cursor-star.is-active{ opacity: 1; }

.star-core{
  position:absolute; top:-4px; left:-4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #eaf3ff;
  box-shadow:
    0 0 6px 2px rgba(190,220,255,.95),
    0 0 18px 6px rgba(90,169,255,.55),
    0 0 42px 14px rgba(90,140,255,.25);
  animation: star-twinkle 2.4s ease-in-out infinite;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes star-twinkle{
  0%, 100%{ transform: scale(1); }
  50%     { transform: scale(1.25); }
}

.star-ring{
  position:absolute; top:-17px; left:-17px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(140,190,255,.65);
  box-shadow: 0 0 12px -2px rgba(90,169,255,.5), inset 0 0 8px -2px rgba(90,169,255,.4);
  opacity: 0;
  transform: scale(.4) rotate(0deg);
  transition: opacity .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.star-ring::before{
  content:'';
  position:absolute; top:-2.5px; left:50%;
  width: 4px; height: 4px; margin-left:-2px;
  border-radius:50%;
  background:#bfe0ff;
  box-shadow: 0 0 6px 2px rgba(150,200,255,.8);
}
.cursor-star.is-hovering .star-ring{
  opacity: 1;
  transform: scale(1);
  animation: ring-orbit 2.6s linear infinite;
}
@keyframes ring-orbit{
  from{ rotate: 0deg; }
  to  { rotate: 360deg; }
}
.cursor-star.is-hovering .star-core{ transform: scale(1.4); }
.cursor-star.is-pressed .star-core{ transform: scale(.75); }

.star-tail{
  position:absolute; top:-1.5px; left:0;
  width: var(--tail-len, 0px);
  height: 3px;
  border-radius: 3px;
  transform-origin: left center;
  transform: rotate(var(--tail-angle, -90deg));
  background: linear-gradient(90deg, rgba(190,220,255,.9), rgba(122,150,255,.35), transparent);
  filter: blur(.5px);
}
.star-tail--soft{
  height: 9px; top:-4.5px;
  width: calc(var(--tail-len, 0px) * .65);
  background: linear-gradient(90deg, rgba(120,170,255,.4), transparent);
  filter: blur(4px);
}

@media (hover: none), (pointer: coarse){
  .cursor-star{ display:none; }
}

/* =========================================================
   SCROLL PROGRESS COMET
   ========================================================= */
.scroll-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}
.progress-line{
  position:absolute; top:0; left:0;
  height: 100%;
  width: calc(var(--scroll-p, 0) * 100%);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(61,134,255,.25) 40%,
    rgba(90,169,255,.7) 85%,
    #9fcaff 100%);
  border-radius: 0 3px 3px 0;
}
.progress-head{
  position:absolute; top:50%;
  left: calc(var(--scroll-p, 0) * 100%);
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #eaf3ff;
  box-shadow:
    0 0 6px 2px rgba(190,220,255,.95),
    0 0 16px 5px rgba(90,169,255,.55);
  opacity: 0;
  transition: opacity .4s ease;
}
.scroll-progress.is-active .progress-head{ opacity: 1; }

/* ---------- Footer ---------- */
.site-footer{
  background: #060810;
  border-top: 1px solid var(--border-soft);
  padding: 44px 0 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.brand--footer .brand-badge{ width:32px; height:32px; }
.footer-tagline{
  margin-top: 14px;
  color:#8b93a6; font-size: 13.5px; line-height:1.6;
  max-width: 260px;
}
.footer-col{ display:flex; flex-direction:column; gap: 10px; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.14em; text-transform:uppercase;
  color:#5a6378; margin-bottom: 4px;
}
.footer-col a{
  color:#aeb8cc; text-decoration:none; font-size:14px;
  transition: color .2s;
}
.footer-col a:hover{ color:#fff; }
.footer-legal{
  padding-top: 18px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(125,150,210,.1);
  display:flex; flex-direction:column; gap: 4px;
}
.footer-legal p{
  font-size: 12px; line-height: 1.6;
  color:#6a7387;
}
.footer-legal a{
  color:#8b93a6; text-decoration:none;
  transition: color .2s;
}
.footer-legal a:hover{ color:#fff; }

.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px; flex-wrap:wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(125,150,210,.1);
}
.footer-copy{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.06em;
  color:#5a6378; text-transform: uppercase;
}
.footer-copy a{
  color: inherit; text-decoration:none;
  transition: color .2s;
}
.footer-copy a:hover{ color:#9fcaff; }

/* =========================================================
   CASES CATALOG
   ========================================================= */
.cases-summary{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.summary-item{
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(14,19,32,.7);
  border: 1px solid rgba(110,160,255,.2);
  text-align:center;
}
.summary-item dt{
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing:.12em; text-transform:uppercase;
  color:#5a6378;
  margin-bottom: 8px;
}
.summary-item dd{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 20px rgba(90,150,255,.4);
}

.network-chips{
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-bottom: 18px;
}
.network-chip{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color:#aeb8cc; text-decoration:none;
  background: rgba(14,19,32,.8);
  border: 1px solid var(--border-soft);
  transition: border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.network-chip:hover{
  color:#fff;
  border-color: rgba(110,160,255,.5);
  transform: translateY(-1px);
}
.network-chip.is-active{
  color:#fff;
  border-color: rgba(88,167,255,.8);
  background: linear-gradient(135deg, rgba(47,117,255,.25), rgba(122,92,255,.25));
  box-shadow: 0 0 18px -6px rgba(61,134,255,.7);
}
.chip-count{
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(8,12,22,.7);
  border: 1px solid rgba(125,150,210,.18);
  color:#7d87a0;
}
.network-chip.is-active .chip-count{ color:#cfe2ff; }

.cases-count{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing:.08em; text-transform: uppercase;
  color:#5a6378;
  margin-bottom: 26px;
  min-height: 16px;
}

.network-badge{
  display:inline-flex; align-items:center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1px solid;
}
.net-instagram{ color:#ff8ec4; border-color: rgba(255,110,180,.4); background: rgba(255,110,180,.1); }
.net-tiktok   { color:#9ef3ee; border-color: rgba(110,230,225,.4); background: rgba(110,230,225,.08); }
.net-telegram { color:#7cc4ff; border-color: rgba(90,170,255,.4);  background: rgba(90,170,255,.1); }
.net-youtube  { color:#ff9a8a; border-color: rgba(255,110,90,.4);  background: rgba(255,110,90,.1); }
.net-vk       { color:#8ab4ff; border-color: rgba(90,130,255,.4);  background: rgba(90,130,255,.1); }
.net-dzen     { color:#ffd98a; border-color: rgba(255,200,90,.4);  background: rgba(255,200,90,.08); }

.case-num{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.1em;
  color:#5a6378;
}

.case-card--catalog .case-top{ margin-bottom: 12px; }
.case-card--catalog .case-tag{
  align-self: flex-start;
  margin-bottom: 12px;
}
.case-card--catalog h3{ font-size: 17px; }
.case-card--catalog > p{ flex: 1; }
.case-card--catalog .case-metrics{ margin-bottom: 0; }

.case-metrics--4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.case-metrics--4 .metric b{ font-size: clamp(14px, 1.3vw, 17px); }
.case-metrics--4 .metric span{ font-size: 10px; }

.cases-pagination{
  display:flex; align-items:center; justify-content:center;
  flex-wrap: wrap; gap: 8px;
  margin-top: 38px;
}
.page-btn{
  min-width: 42px; height: 42px;
  padding: 0 12px;
  display:inline-grid; place-items:center;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color:#aeb8cc;
  background: rgba(14,19,32,.8);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.page-btn:hover:not([disabled]){
  color:#fff;
  border-color: rgba(110,160,255,.55);
}
.page-btn.is-active{
  color:#fff;
  border-color: rgba(88,167,255,.85);
  background: linear-gradient(135deg, rgba(47,117,255,.3), rgba(122,92,255,.3));
  box-shadow: 0 0 16px -6px rgba(61,134,255,.8);
}
.page-btn[disabled]{ opacity:.35; cursor: default; }
.page-ellipsis{
  color:#5a6378; font-family: var(--font-mono);
  padding: 0 2px;
}

.network-disclaimer{
  margin-top: 26px;
  font-size: 11.5px; line-height: 1.5;
  color:#5a6378;
}

.work-steps-grid{
  list-style:none; margin:0; padding:0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-step{
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.work-step:hover{
  border-color: rgba(88,167,255,.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8), 0 0 26px -12px rgba(61,134,255,.45);
}
.work-step-num{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing:.12em; text-transform:uppercase;
  color: var(--accent-soft, #9fcaff);
  margin-bottom: 14px;
}
.work-step h3{
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px;
  color:#eef2fb;
}
.work-step p{
  font-size: 13.5px; line-height: 1.65;
  color:#aeb8cc;
}

.seo-text h2{
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  margin-bottom: 18px;
}
.seo-text p{
  color:#8b93a6; font-size: 14.5px; line-height: 1.75;
  margin-bottom: 14px;
}
.seo-text a{
  color:#9fcaff; text-decoration: underline; text-underline-offset: 2px;
}
.seo-text a:hover{ color:#fff; }

@media (max-width: 1000px){
  .cases-summary{ grid-template-columns: repeat(2, 1fr); }
  .work-steps-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .work-steps-grid{ grid-template-columns: 1fr; }
  .case-metrics--4{ grid-template-columns: repeat(2, 1fr); }
  .cases-summary{ gap: 10px; }
}

/* =========================================================
   CASE PAGE — детальная страница кейса
   ========================================================= */
.breadcrumbs{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing:.04em;
}
.breadcrumbs a{
  color:#7d87a0; text-decoration:none;
  transition: color .2s;
}
.breadcrumbs a:hover{ color:#fff; }
.breadcrumbs span[aria-hidden]{ color:#3d465c; }
.breadcrumbs span[aria-current]{ color: var(--accent-soft, #9fcaff); }

.case-hero-badges{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap: 10px;
  margin-bottom: 18px;
}

.case-card--link{
  text-decoration:none; color:inherit;
  cursor:pointer;
}
.case-more{
  display:inline-flex; align-items:center; gap: 8px;
  margin-top: 16px;
  font-size: 13px; font-weight: 600;
  color: var(--accent-soft, #9fcaff);
  transition: gap .2s ease;
}
.case-card--link:hover .case-more{ gap: 12px; }

.case-layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.case-kpi{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 38px;
}
.kpi-item{
  text-align:center;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.kpi-item i{
  display:block;
  font-size: 18px;
  color: var(--accent-soft, #9fcaff);
  margin-bottom: 10px;
}
.kpi-item b{
  display:block;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 23px); font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 18px rgba(90,150,255,.4);
}
.kpi-item span{
  display:block; margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing:.1em; text-transform: uppercase;
  color:#5a6378;
}

.case-block{ margin-bottom: 40px; }
.case-block h2{
  display:flex; align-items:center; gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 16px;
}
.case-block h2 i{
  font-size: 15px;
  color: var(--accent-soft, #9fcaff);
}
.case-block p{
  color:#aeb8cc; font-size: 15px; line-height: 1.75;
  margin-bottom: 10px;
}
.case-challenge{ color:#8b93a6; }

.case-solution{
  list-style:none; margin:0; padding:0;
  counter-reset: solution;
  display:flex; flex-direction:column; gap: 12px;
}
.case-solution li{
  counter-increment: solution;
  position:relative;
  padding: 16px 18px 16px 58px;
  border-radius: 14px;
  background: rgba(14,19,32,.7);
  border: 1px solid var(--border-soft);
  color:#aeb8cc; font-size: 14px; line-height: 1.65;
}
.case-solution li::before{
  content: '0' counter(solution);
  position:absolute; left: 18px; top: 17px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--accent-soft, #9fcaff);
}
.case-solution b{ color:#eef2fb; }

.case-detail-chart{
  height: 320px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(14,19,32,.7);
  border: 1px solid var(--border-soft);
}

.case-quote{
  position:relative;
  margin-top: 22px;
  padding: 24px 26px 22px 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47,117,255,.1), rgba(122,92,255,.08));
  border: 1px solid rgba(110,160,255,.3);
}
.case-quote > i{
  position:absolute; left: 22px; top: 24px;
  font-size: 18px;
  color: var(--accent-soft, #9fcaff);
  opacity:.8;
}
.case-quote p{
  font-size: 15.5px; line-height: 1.7;
  color:#dfe7f6; font-style: italic;
  margin-bottom: 10px;
}
.case-quote footer{
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing:.06em;
  color:#7d87a0;
}

.case-cta{
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
  text-align:center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(61,134,255,.16), transparent 70%),
    rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.3);
}
.case-cta h2{
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  margin-bottom: 10px;
}
.case-cta p{
  color:#aeb8cc; font-size: 14.5px;
  margin-bottom: 20px;
}

.case-sidebar{ position: sticky; top: 86px; }
.case-passport{
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.passport-title{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--accent-soft, #9fcaff);
  margin-bottom: 16px;
}
.passport-row{
  display:flex; align-items:baseline; justify-content:space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(125,150,210,.1);
  font-size: 13px;
}
.passport-row:last-of-type{ border-bottom:none; }
.passport-row span{ color:#7d87a0; }
.passport-row b{ color:#eef2fb; text-align:right; }
.passport-cta{
  width:100%; margin-top: 18px;
  justify-content:center; text-align:center;
}

.case-nav{ padding-top: 26px; padding-bottom: 26px; }
.case-nav-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.case-nav-link{
  display:flex; flex-direction:column; gap: 6px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(14,19,32,.8);
  border: 1px solid var(--border-soft);
  text-decoration:none; color:inherit;
  transition: border-color .25s, transform .25s;
}
.case-nav-link:hover{
  border-color: rgba(88,167,255,.5);
  transform: translateY(-3px);
}
.case-nav-link--next{ text-align:right; align-items:flex-end; }
.case-nav-dir{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--accent-soft, #9fcaff);
}
.case-nav-link b{ font-size: 15px; color:#eef2fb; }
.case-nav-meta{ font-size: 12px; color:#7d87a0; }

@media (max-width: 1000px){
  .case-layout{ grid-template-columns: 1fr; }
  .case-sidebar{ position: static; }
  .case-kpi{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .case-nav-grid{ grid-template-columns: 1fr; }
  .case-nav-link--next{ text-align:left; align-items:flex-start; }
  .case-detail-chart{ height: 240px; }
}

/* =========================================================
   BLOG — список постов и статья
   ========================================================= */
.blog-toolbar{
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px; flex-wrap:wrap;
  margin-bottom: 28px;
}
.blog-filters{
  display:flex; flex-wrap:wrap; gap: 8px;
}
.blog-filter{
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 600;
  color:#8fa6cc;
  background: rgba(14,19,32,.7);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all .2s;
}
.blog-filter:hover{ color:#c6d3ea; border-color: rgba(110,160,255,.45); }
.blog-filter.is-active{
  color:#eaf3ff;
  background: rgba(61,134,255,.18);
  border-color: rgba(88,167,255,.6);
  box-shadow: 0 0 14px -6px rgba(61,134,255,.7);
}
.filter-count{
  display:inline-block; margin-left:5px;
  font-size:.72em; font-weight:700;
  padding:1px 7px; border-radius:9999px;
  background: rgba(125,150,210,.14); color:#8a93ac;
}
.blog-filter.is-active .filter-count{
  background: rgba(88,167,255,.22); color:#9fcaff;
}
.blog-search{
  position:relative;
  display:flex; align-items:center;
  min-width: 240px;
}
.blog-search i{
  position:absolute; left: 14px;
  font-size: 13px; color:#7d87a0;
  pointer-events:none;
}
.blog-search input{
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color:#eaf3ff;
  background: rgba(14,19,32,.85);
  border: 1px solid var(--border-soft);
  outline: none;
  transition: border-color .2s;
}
.blog-search input:focus{ border-color: rgba(88,167,255,.6); }
.blog-search input::placeholder{ color:#5d6780; }

/* ---------- Бейджи категорий (ntag) ---------- */
.ntag{
  display:inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .05em;
  border: 1px solid transparent;
}
.ntag-p{   color:#9fcaff; background: rgba(61,134,255,.14);  border-color: rgba(88,167,255,.4); }
.ntag-s{   color:#9ff0c8; background: rgba(38,200,130,.12);  border-color: rgba(60,220,150,.35); }
.ntag-w{   color:#ffd99f; background: rgba(255,170,60,.12);  border-color: rgba(255,180,80,.35); }
.ntag-sec{ color:#c8b5ff; background: rgba(140,100,255,.13); border-color: rgba(160,120,255,.35); }

.ntag--overlay{
  position: absolute; top: 12px; left: 12px;
  backdrop-filter: blur(6px);
}

/* сетка карточек */
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-grid--related{ grid-template-columns: repeat(2, 1fr); }

.blog-card {
    display: flex; flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-decoration: none; min-width: 0;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(0,0,0,.55);
    border-color: rgba(88,167,255,.3);
}
.blog-card-media {
    position: relative; height: 180px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-media-ph { font-size: 2.4rem; color: rgba(255,255,255,.55); }
.blog-card-media.ng1 { background: linear-gradient(135deg,#3d86ff,#7a5cff); }
.blog-card-media.ng2 { background: linear-gradient(135deg,#7a5cff,#d65cff); }
.blog-card-media.ng3 { background: linear-gradient(135deg,#00b8d4,#3d86ff); }
.blog-card-media.ng4 { background: linear-gradient(135deg,#34d399,#00b8d4); }
.blog-card-media.ng5 { background: linear-gradient(135deg,#f5a623,#ff6b6b); }
.blog-card-media.ng6 { background: linear-gradient(135deg,#ff6b6b,#d65cff); }
.blog-card-media.ng7 { background: linear-gradient(135deg,#5a6378,#111726); }
.blog-card-media.ng8 { background: linear-gradient(135deg,#3d86ff,#00b8d4); }
.blog-card-media.ng9 { background: linear-gradient(135deg,#7a5cff,#3d86ff); }

.blog-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; color: #eef2fb; line-height: 1.4; overflow-wrap: anywhere; }
.blog-card-body p { font-size: .9rem; color: #8a93ac; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: #8a93ac; }
.blog-card-meta i { color: var(--accent-light); margin-right: 4px; }

.blog-card-link{
  display:flex; flex-direction:column;
  height: 100%;
  padding: 24px;
  text-decoration: none;
}
.blog-card-top{
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.blog-card-date{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color:#7d87a0;
  white-space: nowrap;
}
.blog-card-title{
  font-family: var(--font-display);
  font-size: 16.5px; font-weight: 700; line-height: 1.4;
  color:#eef2fb;
  margin-bottom: 10px;
}
.blog-card-excerpt{
  font-size: 13.5px; line-height: 1.65;
  color:#8b93a6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.blog-card-more{
  margin-left:auto;
  color:#9fcaff; font-weight: 600;
}
.blog-card:hover .blog-card-more{ color:#cfe4ff; }

.blog-pagination{
  display:flex; align-items:center; justify-content:center;
  gap: 8px; flex-wrap:wrap;
  margin-top: 34px;
}
.page-btn.is-current{
  color:#eaf3ff;
  background: rgba(61,134,255,.2);
  border-color: rgba(88,167,255,.65);
  box-shadow: 0 0 16px -6px rgba(61,134,255,.8);
  cursor: default;
}
.page-btn:disabled{ opacity: .35; cursor: not-allowed; }
.page-btn--arrow{ font-size: 12px; }
.page-dots{
  min-width: 28px;
  text-align:center;
  font-family: var(--font-mono);
  color:#5d6780;
  user-select: none;
}

.blog-loading,
.blog-empty{
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align:center;
  font-size: 14.5px;
  color:#7d87a0;
}

@media (max-width: 960px){
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .blog-grid, .blog-grid--related{ grid-template-columns: 1fr; }
  .blog-toolbar{ flex-direction: column; align-items: stretch; }
  .blog-search{ min-width: 0; }
}

/* =========================================================
   CONTACTS PAGE
   ========================================================= */
.contact-facts{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.contact-facts > div{
  padding: 16px 14px;
  border-radius: 14px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.contact-facts dd{
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px); font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 16px rgba(90,150,255,.4);
  margin-bottom: 6px;
}
.contact-facts dt{
  font-size: 11.5px; line-height: 1.5;
  color:#7d87a0;
}

.work-steps-grid--four{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px){
  .work-steps-grid--four{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .work-steps-grid--four{ grid-template-columns: 1fr; }
}

.req-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.req-card{
  padding: 24px;
  border-radius: 18px;
  background: rgba(14,19,32,.85);
  border: 1px solid var(--border-soft);
}
.req-card h3{
  display:flex; align-items:center; gap: 10px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 18px;
}
.req-card h3 i{ color:#58a7ff; font-size: 15px; }
.req-card ul{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap: 11px;
}
.req-card li{
  display:flex; justify-content:space-between; gap: 12px;
  font-size: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-soft);
}
.req-card li:last-child{ border-bottom: none; padding-bottom: 0; }
.req-card li span{ color:#7d87a0; }
.req-card li b{ color:#c6d3ea; font-weight: 600; text-align:right; }

@media (max-width: 960px){
  .req-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .contact-facts{ grid-template-columns: 1fr; }
}

/* =========================================================
   PRICING
   ========================================================= */
.service-head{
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px; flex-wrap:wrap;
  margin-bottom: 4px;
}
.service-head h2{ margin-bottom: 0; }
.service-price{
  flex-shrink: 0;
  padding: 7px 15px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600;
  color:#9fcaff;
  background: rgba(61,134,255,.12);
  border: 1px solid rgba(88,167,255,.4);
  white-space: nowrap;
}
.service-detail p b{ color:#c6d3ea; font-weight: 600; }

.pricing-grid{
  list-style:none; margin:0 0 22px; padding:0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pricing-card{
  padding: 26px 24px;
  border-radius: 18px;
  background: rgba(14,19,32,.85);
  border: 1px solid var(--border-soft);
  transition: border-color .25s, transform .25s;
}
.pricing-card:hover{
  border-color: rgba(110,160,255,.45);
  transform: translateY(-4px);
}
.pricing-card--featured{
  border-color: rgba(88,167,255,.55);
  box-shadow: 0 0 26px -10px rgba(61,134,255,.6);
  background: linear-gradient(135deg, rgba(47,117,255,.12), rgba(122,92,255,.08)), rgba(14,19,32,.85);
}
.pricing-name{
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color:#8fa6cc;
  margin-bottom: 12px;
}
.pricing-value{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 18px rgba(90,150,255,.4);
  margin-bottom: 10px;
}
.pricing-value span{
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 500;
  color:#7d87a0;
  text-shadow: none;
}
.pricing-note{
  font-size: 13px; line-height: 1.6;
  color:#8b93a6;
}

.price-table-details{
  margin-bottom: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(14,19,32,.7);
  overflow: hidden;
}
.price-table-details summary{
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color:#c6d3ea;
  list-style: none;
  display:flex; align-items:center; justify-content:space-between;
  transition: color .2s;
}
.price-table-details summary::-webkit-details-marker{ display:none; }
.price-table-details summary::after{
  content:'+';
  font-size: 22px; color:#58a7ff;
  transition: transform .25s;
}
.price-table-details[open] summary::after{ transform: rotate(45deg); }
.price-table-details summary:hover{ color:#eaf3ff; }
.price-table-wrap{ overflow-x:auto; padding: 0 22px; }
.price-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.price-table th{
  text-align:left;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color:#8fa6cc;
  border-bottom: 1px solid rgba(110,160,255,.3);
}
.price-table td{
  padding: 10px 12px;
  color:#aeb8cc;
  border-bottom: 1px solid var(--border-soft);
}
.price-table .num{ text-align:right; font-family: var(--font-mono); white-space:nowrap; }
.price-table tr.hl td{ color:#9fcaff; }
.price-table tbody tr:hover td{ background: rgba(61,134,255,.06); }
.price-table-note{
  padding: 14px 22px 18px;
  font-size: 12px; color:#7d87a0;
}

@media (max-width: 960px){
  .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .service-head{ flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   FOUNDER
   ========================================================= */
.founder-layout{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.founder-card{
  position: sticky; top: 86px;
  padding: 26px 24px;
  border-radius: 22px;
  text-align:center;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.founder-photo{
  display:grid; place-items:center;
  width: 150px; height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(80% 80% at 50% 20%, rgba(61,134,255,.35), transparent 70%),
    linear-gradient(135deg, rgba(47,117,255,.3), rgba(122,92,255,.3));
  border: 1px solid rgba(140,180,255,.45);
  box-shadow: 0 0 34px -10px rgba(61,134,255,.7);
}
.founder-initials{
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 24px rgba(120,170,255,.8);
}
.founder-name{
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  margin-bottom: 6px;
}
.founder-role{
  font-size: 13px; color:#8b93a6;
  margin-bottom: 16px;
}
.founder-tags{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; justify-content:center; gap: 8px;
}
.founder-tags li{
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color:#aeb8cc;
  background: rgba(8,12,22,.7);
  border: 1px solid var(--border-soft);
}
.founder-photo--img{
  width: 100%; height: auto;
  max-width: 240px;
  margin: 0 auto 18px;
  border-radius: 18px;
  overflow: hidden;
  background: none;
  box-shadow: 0 0 34px -10px rgba(61,134,255,.7);
}
.founder-photo--img img{
  display:block; width: 100%; height: auto;
  object-fit: cover;
}

.usp-grid{
  list-style:none; margin:0; padding:0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usp-card{
  padding: 26px 24px;
  border-radius: 18px;
  background: rgba(14,19,32,.85);
  border: 1px solid var(--border-soft);
  transition: border-color .25s, transform .25s;
}
.usp-card:hover{
  border-color: rgba(110,160,255,.45);
  transform: translateY(-4px);
}
.usp-card i{
  display:grid; place-items:center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 19px;
  color:#9fcaff;
  background: rgba(61,134,255,.12);
  border: 1px solid rgba(88,167,255,.35);
}
.usp-card h3{
  font-family: var(--font-display);
  font-size: 16.5px; font-weight: 700;
  margin-bottom: 10px;
}
.usp-card p{
  font-size: 13.5px; line-height: 1.65;
  color:#8b93a6;
}
.usp-card b{ color:#c6d3ea; font-weight: 600; }

@media (max-width: 960px){
  .usp-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .usp-grid{ grid-template-columns: 1fr; }
}

.founder-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.founder-stat{
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.founder-stat dd{
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px); font-weight: 700;
  color:#eaf3ff;
  text-shadow: 0 0 18px rgba(90,150,255,.4);
  margin-bottom: 6px;
}
.founder-stat dt{
  font-size: 12px; line-height: 1.5;
  color:#7d87a0;
}

.founder-subtitle{
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin: 30px 0 16px;
}
.founder-info > .founder-subtitle:first-of-type{ margin-top: 0; }

.conf-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap: 10px;
}
.conf-item{
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(14,19,32,.7);
  border: 1px solid var(--border-soft);
  transition: border-color .25s;
}
.conf-item:hover{ border-color: rgba(110,160,255,.45); }
.conf-item--top{
  border-color: rgba(88,167,255,.55);
  box-shadow: 0 0 22px -10px rgba(61,134,255,.6);
}
.conf-item b{
  display:block; font-size: 14.5px; color:#eef2fb;
}
.conf-item span:not(.conf-count){
  display:block; margin-top: 3px;
  font-size: 12px; color:#7d87a0;
}
.conf-count{
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  color:#9fcaff;
  background: rgba(61,134,255,.12);
  border: 1px solid rgba(88,167,255,.4);
  white-space: nowrap;
}

.founder-points{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap: 10px;
}
.founder-points li{
  position:relative;
  padding-left: 24px;
  font-size: 14px; line-height: 1.6;
  color:#aeb8cc;
}
.founder-points li::before{
  content:'';
  position:absolute; left: 4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, #58a7ff, #7a5cff);
  box-shadow: 0 0 8px rgba(88,167,255,.7);
}

.founder-kb{
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47,117,255,.1), rgba(122,92,255,.08));
  border: 1px solid rgba(110,160,255,.3);
}
.founder-kb .founder-subtitle{ margin-top: 0; }
.founder-kb p{
  color:#aeb8cc; font-size: 14px; line-height: 1.65;
  margin-bottom: 16px;
}

@media (max-width: 900px){
  .founder-layout{ grid-template-columns: 1fr; }
  .founder-card{ position: static; max-width: 380px; margin: 0 auto; }
}
@media (max-width: 640px){
  .founder-stats{ grid-template-columns: 1fr; }
  .conf-item{ flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-carousel{ position: relative; }
.reviews-track{
  list-style: none;
  margin: 0; padding: 6px 4px 18px;
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar{ display:none; }

.review-card{
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 300px;
  scroll-snap-align: start;
  display:flex; flex-direction:column; gap: 14px;
  padding: 26px 24px;
  border-radius: 22px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.22);
  box-shadow: inset 0 1px 0 rgba(160,190,255,.07);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.review-card:hover{
  border-color: rgba(88,167,255,.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8), 0 0 30px -14px rgba(61,134,255,.45);
}
.review-brand{
  display:grid; place-items:center;
  min-height: 86px;
  padding: 16px;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(61,134,255,.14), transparent 60%),
    rgba(8,12,22,.85);
  border: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700; letter-spacing: .04em;
  text-align: center;
  color:#cfe2ff;
  text-shadow: 0 0 18px rgba(90,150,255,.45);
}
.review-person{ display:flex; align-items:center; gap: 12px; }
.review-avatar{
  display:grid; place-items:center;
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color:#eaf3ff;
  background: linear-gradient(135deg, rgba(47,117,255,.45), rgba(122,92,255,.45));
  border: 1px solid rgba(140,180,255,.45);
  box-shadow: 0 0 14px -4px rgba(61,134,255,.6);
}
.review-name{ display:block; font-size: 15.5px; color:#eef2fb; }
.review-role{
  display:block; margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-soft, #9fcaff);
}
.review-text{
  flex: 1;
  font-size: 14px; line-height: 1.65;
  color:#aeb8cc;
}
.review-text b{ color:#eef2fb; font-weight: 600; }
.review-stars{
  display:flex; gap: 6px;
  color:#f5c453;
  font-size: 15px;
  filter: drop-shadow(0 0 6px rgba(245,196,83,.45));
}
.reviews-arrow{
  position:absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  display:grid; place-items:center;
  font-size: 16px;
  color:#eaf3ff;
  background: rgba(12,17,30,.92);
  border: 1px solid rgba(110,160,255,.4);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8), 0 0 20px -8px rgba(61,134,255,.5);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, opacity .2s, transform .2s;
}
.reviews-arrow:hover{
  border-color: rgba(140,190,255,.8);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8), 0 0 26px -6px rgba(61,134,255,.8);
}
.reviews-arrow:active{ transform: translateY(-50%) scale(.92); }
.reviews-arrow--prev{ left: -14px; }
.reviews-arrow--next{ right: -14px; }
.reviews-arrow[disabled]{
  opacity: .35; cursor: default;
  border-color: var(--border-soft);
  box-shadow: none;
}

@media (max-width: 1000px){
  .review-card{ flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px){
  .review-card{ flex-basis: 85%; min-width: 0; }
  .reviews-arrow{ display: none; }   /* на мобильных листаем свайпом */
}

/* =========================================================
   LEGAL PAGE
   ========================================================= */
.legal-content{ max-width: 780px; }
.legal-updated{
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color:#5a6378;
  margin-bottom: 30px;
}
.legal-content h2{
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 38px 0 14px;
  scroll-margin-top: 90px;
}
.legal-content p{
  color:#aeb8cc; font-size: 15px; line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul{
  margin: 0 0 14px 0;
  padding-left: 22px;
  display:flex; flex-direction:column; gap: 7px;
}
.legal-content li{
  color:#aeb8cc; font-size: 15px; line-height: 1.65;
}
.legal-content li::marker{ color: var(--accent-soft, #9fcaff); }
.legal-content a{
  color:#9fcaff; text-decoration: underline; text-underline-offset: 2px;
}
.legal-content a:hover{ color:#fff; }
.legal-content b{ color:#eef2fb; }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner{
  position: fixed;
  left: 50%; bottom: 18px;
  transform: translate(-50%, 24px);
  z-index: 200;
  width: min(720px, calc(100% - 28px));
  display:flex; align-items:center; gap: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(12,17,30,.94);
  border: 1px solid rgba(110,160,255,.3);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.85), 0 0 30px -12px rgba(61,134,255,.4);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.cookie-banner--visible{
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cookie-text{
  flex: 1;
  font-size: 13px; line-height: 1.55;
  color:#aeb8cc;
}
.cookie-text i{ color:#f0b56a; margin-right: 4px; }
.cookie-text a{
  color:#9fcaff; text-decoration: underline; text-underline-offset: 2px;
}
.cookie-text a:hover{ color:#fff; }
.cookie-actions{
  display:flex; align-items:center; gap: 10px;
  flex-shrink: 0;
}
.cookie-accept{ padding: 10px 20px; font-size: 13.5px; }
.cookie-decline{
  padding: 10px 16px; font-size: 13.5px;
  color:#8b93a6;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.cookie-decline:hover{ color:#fff; border-color: rgba(110,160,255,.45); }

@media (max-width: 640px){
  .cookie-banner{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: left;
    bottom: 12px;
  }
  .cookie-actions{ justify-content: stretch; }
  .cookie-actions .btn, .cookie-decline{ flex: 1; text-align:center; justify-content:center; }
}

/* =========================================================
   MARKETPLACE STRIP
   ========================================================= */
.mp-strip{
  overflow:hidden;
  padding: 18px 0;
  border-bottom: 1px solid rgba(125,150,210,.1);
  background: rgba(2,4,9,.4);
}
.mp-strip-track{
  display:flex; width:max-content;
  animation: mp-marquee 30s linear infinite;
}
.mp-strip-seq{
  display:flex; align-items:center; gap: 28px;
  padding-right: 28px;
  white-space:nowrap;
}
.mp-strip-seq span{
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 500;
  color:#aeb8cc;
  text-transform: uppercase; letter-spacing:.06em;
}
.mp-strip-seq i{ color: var(--accent-light); font-style:normal; font-size: 13px; }
@keyframes mp-marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}
.mp-strip:hover .mp-strip-track{ animation-play-state: paused; }

/* =========================================================
   FUNNEL TOFU/MOFU/BOFU
   ========================================================= */
.funnel-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items:stretch;
}
.funnel-card{
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.funnel-card:hover{
  transform: translateY(-6px);
  border-color: rgba(88,167,255,.4);
  box-shadow: 0 20px 50px -20px rgba(47,117,255,.35);
}
.funnel-card .service-icon{ margin-bottom: 14px; }
.funnel-tag{
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.funnel-card h3{ font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.funnel-card p:last-child{ color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.funnel-arrow{
  display:grid; place-items:center;
  color: var(--accent-light); font-size: 18px;
  animation: funnel-arrow-pulse 2s ease-in-out infinite;
}
@keyframes funnel-arrow-pulse{
  0%, 100%{ opacity:.4; transform: translateX(0); }
  50%     { opacity:1;  transform: translateX(4px); }
}
.funnel-note{
  margin: 36px auto 0;
  max-width: 720px;
  text-align:center;
  color:#aeb8cc; font-size: 15px; line-height: 1.7;
}

/* =========================================================
   WHY EXTERNAL TRAFFIC
   ========================================================= */
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.why-card{
  position:relative;
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: transform .25s ease, border-color .25s ease;
}
.why-card:hover{
  transform: translateY(-6px);
  border-color: rgba(88,167,255,.4);
}
.why-num{
  position:absolute; top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: rgba(110,160,255,.18);
}
.why-card .service-icon{ margin-bottom: 16px; }
.why-card h3{ font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p:last-child{ color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

.why-banner{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items:center;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(47,117,255,.16) 0%, transparent 60%),
    rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.25);
}
.why-banner-num{
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  background: linear-gradient(100deg, #5aa9ff, #b9a6ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  white-space:nowrap;
}
.why-banner-label{
  color: var(--text-muted); font-size: 13px; max-width: 220px; margin-top:6px;
}
.why-banner-text{
  color:#c4ccdd; font-size: 15.5px; line-height: 1.7;
}
.why-banner-text strong{ color:#fff; }

/* =========================================================
   TECH
   ========================================================= */
.tech-layout{
  display:grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items:center;
}
.tech-visual{
  display:flex; flex-direction:column; gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: rgba(14,19,32,.85);
  border: 1px solid rgba(110,160,255,.22);
}
.flow-node{
  display:flex; align-items:center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(8,12,22,.8);
  border: 1px solid var(--border-soft);
}
.flow-node--accent{
  border-color: rgba(88,167,255,.5);
  box-shadow: 0 0 24px -8px rgba(61,134,255,.5);
}
.flow-node span.flow-icon{
  display:flex; align-items:center; justify-content:center;
  width: 42px; height: 42px;
  min-width: 42px; min-height: 42px;
  margin-top: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47,117,255,.18), rgba(122,92,255,.18));
  border: 1px solid rgba(110,160,255,.3);
  color: var(--accent-soft); font-size: 17px;
  flex-shrink: 0;
  align-self: center;
  overflow: hidden;
}
.flow-node b{ display:block; font-size: 15px; }
.flow-node div span{ display:block; color: var(--text-muted); font-size: 12.5px; margin-top:2px; }
.flow-link{
  display:grid; place-items:center;
  color: var(--accent-light); font-size: 14px;
  animation: funnel-arrow-pulse 2s ease-in-out infinite;
}
.flow-caption{
  margin-top: 12px;
  color:#5a6378; font-size: 12.5px; line-height: 1.6; text-align:center;
}
.tech-text .section-title{ margin-bottom: 26px; }
.tech-item{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(125,150,210,.12);
}
.tech-item:last-of-type{ margin-bottom: 22px; }
.tech-logo{
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color:#fff;
  padding: 8px 14px;
  height:fit-content;
  border-radius: 10px;
  background: rgba(20,30,52,.8);
  border: 1px solid rgba(110,160,255,.3);
  white-space:nowrap;
  text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
a.tech-logo:hover{
  border-color: rgba(88,167,255,.6);
  box-shadow: 0 0 18px -6px rgba(61,134,255,.7);
}
.tech-logo span{ color: var(--accent-light); }
.tech-item h3{ font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tech-item p{ color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
.tech-item strong{ color:#dbe4f5; }

.section-cta{
  display:flex; justify-content:center; gap: 14px; flex-wrap:wrap;
  margin-top: clamp(32px, 4vw, 48px);
}

/* =========================================================
   COMETS
   ========================================================= */
.comets-layer{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.comet{
  position:absolute;
  top: var(--comet-y, 20%);
  left: -12%;
  width: var(--comet-len, 140px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(150,190,255,.45) 55%, #eaf3ff 100%);
  transform: rotate(var(--comet-angle, 14deg));
  opacity: 0;
  animation: comet-fly var(--comet-dur, 3.2s) ease-in forwards;
  will-change: transform, opacity;
}
.comet::after{
  content:'';
  position:absolute; right:-3px; top:50%;
  width: 5px; height: 5px; margin-top:-2.5px;
  border-radius:50%;
  background:#eaf3ff;
  box-shadow: 0 0 8px 3px rgba(190,220,255,.85), 0 0 18px 6px rgba(90,169,255,.4);
}
@keyframes comet-fly{
  0%  { opacity:0; translate: 0 0; }
  8%  { opacity:.9; }
  85% { opacity:.9; }
  100%{ opacity:0; translate: 130vw calc(130vw * var(--comet-slope, .25)); }
}
@media (prefers-reduced-motion: reduce){
  .comets-layer{ display:none; }
}

/* =========================================================
   SUBPAGES
   ========================================================= */
.subpage-header{
  position: sticky; top: 0; z-index: 80;
  display:flex; justify-content:center;
  padding: 14px clamp(14px, 2.5vw, 28px);
  background: rgba(6,8,16,.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(125,150,210,.12);
}
.subpage-header .navbar{
  background: transparent;
  border: none; box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}
.nav-links a[aria-current="page"]{ color:#fff; }
.nav-links a[aria-current="page"]::after{ transform: scaleX(1); }

.page-hero{
  position:relative;
  padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 64px);
  text-align:center;
  overflow:hidden;
}
.page-hero::after{
  content:'';
  position:absolute; inset: -6%;
  z-index: 0;
  pointer-events:none;
  background: url('../images/nebula-hero.webp') center 38% / cover no-repeat;
  opacity: .55;
  animation: page-nebula-drift 36s ease-in-out infinite alternate;
}
@keyframes page-nebula-drift{
  from{ transform: scale(1)    translateY(0); }
  to  { transform: scale(1.08) translateY(-1.5%); }
}
@media (prefers-reduced-motion: reduce){
  .page-hero::after{ animation: none; }
}
.page-hero::before{
  content:'';
  position:absolute; inset:0;
  z-index: 1;
  pointer-events:none;
  background:
    radial-gradient(70% 90% at 50% 45%, rgba(4,6,12,.55) 0%, rgba(4,6,12,.3) 55%, transparent 100%),
    linear-gradient(180deg, rgba(5,7,14,.55) 0%, transparent 30%, transparent 60%, var(--bg-page) 100%);
}
.page-hero .container{ position:relative; z-index: 2; }
.page-hero .section-kicker{ position:relative; }
.page-hero h1{
  position:relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 14px;
}
.page-hero .section-sub{ position:relative; max-width: 620px; margin: 0 auto; }

.service-detail{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: border-color .25s ease;
}
.service-detail:hover{ border-color: rgba(88,167,255,.4); }
.service-detail + .service-detail{ margin-top: 18px; }
.service-detail .service-icon{ width:60px; height:60px; font-size:24px; }
.service-detail h2{ font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.service-detail > div > p{ color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }

@media (max-width: 600px){
  .service-detail{ grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .cases-grid{ grid-template-columns: 1fr; max-width: 560px; margin:0 auto; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: 1fr; max-width: 560px; margin:0 auto 28px; }
  .funnel-grid{ grid-template-columns: 1fr; max-width: 560px; margin:0 auto; }
  .funnel-arrow{ transform: rotate(90deg); padding: 2px 0; }
  .tech-layout{ grid-template-columns: 1fr; }
  .tech-visual{ max-width: 100%; margin: 0; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px){
  body.menu-open .navbar-wrap.is-stuck{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6,8,16,.96) !important;
  }
  .navbar{
    justify-content:space-between;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .hero-content{ max-width: 100%; }
  .hero-art{ background-position: 72% center; }
  .about-layout, .contact-layout{ grid-template-columns: 1fr; }

  /* шапка выше выезжающей панели меню */
  .subpage-header,
  .navbar-wrap{ z-index: 130; }
  .subpage-header{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6,8,16,.95);
  }
  /* показываем бургер, прячем десктопную CTA в шапке */
  .navbar .nav-burger{ display:flex !important; position: relative; z-index: 120; }
  .navbar .nav-cta{ display:none; }
  .navbar-wrap.is-stuck{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6,8,16,.95);
  }
  /* меню превращается в выезжающую панель справа */
  .nav-links{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    position:fixed;
    top:0; right:0;
    width:min(280px, 82vw);
    height:100vh; height:100dvh;
    margin:0;
    padding:84px 28px 28px;
    background: #0a0e1a !important;
    border-left:1px solid rgba(125,150,210,.16);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.8);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22,.61,.36,1), visibility .32s;
    z-index:110;
    overflow-y:auto;
    visibility: hidden;
    pointer-events: none;
    isolation: isolate;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-links.is-open{
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links .dot{ display:none; }
  .nav-links li{ width:100%; }
  .nav-links a{
    display:block;
    width:100%;
    padding:14px 0;
    font-size:17px;
    border-bottom:1px solid rgba(125,150,210,.1);
  }
  .nav-links a::after{ display:none; }

  .nav-links .nav-cta-mobile{
    display:inline-flex;
    margin-top:18px;
    width:100%;
  }

  /* tech: выравниваем как остальные секции */
  .tech-text{ text-align: center; }
  .tech-text .section-kicker,
  .tech-text .section-title{ text-align: center; }
  .tech-visual{ max-width: 100%; margin: 0 0 28px; }
  .tech-item{ text-align: left; }
}

@media (max-width: 700px){
  .section::before,
  .section--alt::before{
    display: none;
  }
  .viewport-shell{
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .comets-layer{ display: none; }
  .hero{
    border-radius: 0;
  }
  .hero-art{
    inset: auto 0 0 0;
    height: 58%;
    background-position: 70% 32%;
    animation: none;
  }
  .hero-art::after{
    background:
      linear-gradient(180deg,
        #05070e 0%,
        rgba(5,7,14,.85) 18%,
        rgba(5,7,14,.35) 42%,
        rgba(5,7,14,0) 62%),
      linear-gradient(0deg, rgba(5,7,14,.78) 0%, rgba(5,7,14,0) 26%);
  }
  .hero-content{
    justify-content: flex-start;
    padding-top: clamp(18px, 4vw, 32px);
    padding-bottom: 0;
  }
  .nebula--blue{ top: 4%; left: -18%; width: 90%; height: 46%; }
  .nebula--purple{ bottom: 30%; right: -20%; width: 80%; height: 44%; }
  .nebula--glow{ bottom: 14%; right: 18%; width: 44%; height: 26%; }
}

@media (max-width: 600px){
  .nav-cta{ height:40px; padding:0 16px; font-size:13px; }
  .brand-line1{ font-size:13px; }
  .telemetry-row{ justify-content:flex-start; row-gap:6px; }
  .tel-target .tel-spark{ display:none; }
  .hero-actions .btn{ width:100%; }
  .cards-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; gap:10px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .why-banner{ grid-template-columns: 1fr; text-align:center; }
  .why-banner-label{ margin: 6px auto 0; }
  .tech-item{ grid-template-columns: 1fr; gap: 10px; }
  .tech-logo{ width:fit-content; }
  .case-card{ padding: 22px 20px; }
  .case-chart{ height: 90px; }

}

/* ---------- Sticky navbar на главной ---------- */
.navbar-wrap{ transition: padding .3s ease; }
.navbar-wrap.is-stuck{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px clamp(14px, 2.5vw, 28px);
  background: rgba(6,8,16,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(125,150,210,.12);
  animation: navbar-drop .35s cubic-bezier(.22,.61,.36,1);
}
@keyframes navbar-drop{
  from{ transform: translateY(-100%); opacity: 0; }
  to  { transform: translateY(0);     opacity: 1; }
}
