:root{
  --bg:#070A10;
  --bg2:#0B1020;
  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --muted2:rgba(255,255,255,.50);
  --accent:#7C5CFF;
  --accent2:#23D5FF;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --container: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(35,213,255,.25), transparent 55%),
    radial-gradient(800px 500px at 55% 120%, rgba(124,92,255,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.skip{
  position:absolute; left:-9999px; top:12px;
  background:#fff; color:#000; padding:10px 14px; border-radius:10px;
}
.skip:focus{left:12px; z-index:99999}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

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

/* Lang bar */
.langbar{
  position:sticky; top:0; z-index:60;
  background: rgba(0,0,0,.40);
  backdrop-filter: blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.langbar__inner{
  display:flex; align-items:center; justify-content:flex-end;
  padding:10px 0;
  gap:14px;
}
.langbar__left{
  display:flex; align-items:center; gap:12px;
  min-width: 240px;
}
.langbar__badge{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  border-radius:999px;
  font-weight:800;
  letter-spacing:.2px;
}
.langbar__hint{
  color:var(--muted2);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.langbar__right{
  display:flex; align-items:center; gap:10px;
}
.lang{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}
.lang:hover{background: rgba(255,255,255,.08)}
.lang__flag{
  width:18px; height:18px; border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.14);
}
.lang__code{
  font-weight:800;
  font-size:12px;
  letter-spacing:.6px;
  color: rgba(255,255,255,.86);
}

/* Header */
.header{
  position:sticky; top:44px; z-index:70;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(8,10,16,.60);
  backdrop-filter: blur(18px);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand__logo{
  width:204px; height:68px;
  border-radius:14px;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.brand__name{
  font-weight:900;
  letter-spacing:.3px;
  text-transform:lowercase;
  font-size:16px;
}

.nav{display:flex; align-items:center; gap:18px}
.nav__link{
  color: rgba(255,255,255,.80);
  font-weight:700;
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav__link:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.nav__link.is-active{
  background: linear-gradient(90deg, rgba(124,92,255,.22), rgba(35,213,255,.18));
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
}

/* Main CTA */
.cta{display:flex; align-items:center; gap:10px}
.cta__main{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight:900;
  letter-spacing:.2px;
  overflow:hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.cta__main:hover{border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07)}
.cta__spark{
  position:absolute;
  inset:-40%;
  background: radial-gradient(closest-side, rgba(124,92,255,.55), transparent 70%),
              radial-gradient(closest-side, rgba(35,213,255,.35), transparent 70%);
  transform: translateX(-20%);
  filter: blur(12px);
  opacity:.55;
  pointer-events:none;
}
.cta__text{position:relative; z-index:2}

/* Burger + mobile menu */
.burger{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  padding:10px;
}
.burger span{
  display:block;
  height:2px;
  background: rgba(255,255,255,.86);
  border-radius:2px;
  margin:5px 0;
}
.mobile{
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(8,10,16,.75);
}
.mobile__inner{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
  padding:12px 0 16px;
  display:grid;
  gap:8px;
}
.mobile__link{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-weight:800;
  color: rgba(255,255,255,.86);
}

/* Hero */
.hero{padding:48px 0 28px}
.hero__inner{position:relative}

.slider{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.slider::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(1200px 500px at 15% 20%, rgba(124,92,255,.24), transparent 60%),
    radial-gradient(900px 500px at 85% 35%, rgba(35,213,255,.18), transparent 60%);
  pointer-events:none;
}

.slider__track{
  display:flex;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  position:relative;
}

.slide{
  width:100%;
  flex:0 0 100%;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  padding:40px 40px 26px;
  position:relative;
  min-height: 420px;
}
.slide__content{position:relative; z-index:2}
.slide__media{position:relative; z-index:2; display:flex; align-items:center; justify-content:center}

.eyebrow{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.82);
  font-weight:800;
  letter-spacing:.3px;
  margin:0 0 14px;
  font-size:13px;
}
.h1{
  margin:0 0 14px;
  font-size:46px;
  line-height:1.02;
  letter-spacing:-.8px;
}
.lead{
  margin:0 0 18px;
  color: rgba(255,255,255,.76);
  font-size:16px;
  line-height:1.6;
  max-width: 56ch;
}

.slide__actions{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(35,213,255,.75));
  border-color: rgba(255,255,255,.18);
}
.btn--ghost{background: rgba(255,255,255,.05)}
.btn--full{width:100%}

.mediaframe{
  width:100%;
  border-radius: 20px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.mediaframe img{
  width:100%;
  height: 310px;
  object-fit: cover;
  opacity:.95;
}

.slider__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 0 18px 18px;
  position:relative;
  z-index:3;
}
.iconbtn{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  font-size:26px;
  cursor:pointer;
}
.iconbtn:hover{background: rgba(255,255,255,.08)}

.dots{display:flex; gap:10px; align-items:center; justify-content:center}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.18);
  cursor:pointer;
  transition: width .2s ease, background .2s ease;
}
.dot.is-active{
  width:26px;
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(35,213,255,.75));
}

/* Mini trust in hero */
.miniTrust{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:18px;
}
.miniTrust__item{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-weight:800;
  font-size:14px;
}
.miniTrust__dot{
  width:8px; height:8px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(35,213,255,.75));
}

/* Sections */
.section{padding:54px 0}
.section__head{margin:0 0 18px}
.h2{margin:0 0 6px; font-size:30px; letter-spacing:-.4px}
.h3{margin:0 0 6px; font-size:18px}
.h4{margin:0 0 8px; font-size:14px; letter-spacing:.2px; text-transform:uppercase; color: rgba(255,255,255,.78)}
.muted{color:var(--muted); margin:0; line-height:1.6}
.small{font-size:12px; color: rgba(255,255,255,.55)}
.kbd{
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  font-weight:900;
  font-size:12px;
  color: rgba(255,255,255,.82);
}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, 1fr)}

.card{
  padding:18px 18px 16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.card--link:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}

.list{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
  line-height:1.8;
}
.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.step__top{
  display:flex; align-items:center; gap:12px;
  margin-bottom:8px;
}
.step__num{
  width:34px; height:34px; border-radius: 14px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:900;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(90deg, rgba(124,92,255,.22), rgba(35,213,255,.14));
}

/* Kit */
.kit{
  display:grid;
  grid-template-columns: 1.5fr .7fr;
  gap:14px;
}
.kit__head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.pill{
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}
.kit__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:12px;
}
.kit__note{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding:14px;
}

/* Trust */
.trust{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:center;
  padding:22px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.trust__logos{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.logoPh{
  height:52px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.gallery img{
  height: 220px;
  width:100%;
  object-fit:cover;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* Video */
.videobox{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.videobox video{width:100%; height:auto; display:block}

/* Contacts */
.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.contactCards{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
.iconrow{
  display:flex; align-items:center; gap:10px;
}
.ico{
  width:34px; height:34px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
}

.formCard{padding:20px}
.form{margin-top:12px; display:grid; gap:12px}
.field{display:grid; gap:6px}
.field__label{font-weight:800; color: rgba(255,255,255,.80); font-size:13px}
.field__input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  outline:none;
}
.field__input:focus{border-color: rgba(124,92,255,.35); box-shadow: 0 0 0 3px rgba(124,92,255,.15)}
.field__area{resize: vertical}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:22px 0;
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(12px);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color: rgba(255,255,255,.78);
}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  z-index:9999;
}
.toast__inner{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(8,10,16,.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.toast__dot{
  width:10px; height:10px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(35,213,255,.75));
}
.toast__text{font-weight:900; color: rgba(255,255,255,.86)}

/* Responsive */
@media (max-width: 1020px){
  .steps{grid-template-columns: 1fr 1fr}
  .kit{grid-template-columns: 1fr}
  .kit__grid{grid-template-columns: 1fr}
  .trust{grid-template-columns: 1fr}
}

@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-block}
  .slide{grid-template-columns: 1fr; padding:28px 22px 18px; min-height: unset}
  .h1{font-size:38px}
  .mediaframe img{height: 260px}
  .grid--3{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr 1fr}
  .two{grid-template-columns: 1fr}
  .contactGrid{grid-template-columns: 1fr}
  .langbar__hint{display:none}
}

@media (max-width: 520px){
  .gallery{grid-template-columns: 1fr}
  .h1{font-size:34px}
}


/* BGWRAP */
.bgwrap{
  position: relative;
  background-color: #070A10; /* чтобы не было “провалов” пока грузится картинка */
}

/* общий слой: затемнение + мягкая “дорогая” атмосфера + маска сверху/снизу */
.bgwrap::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background:
    radial-gradient(900px 520px at 18% 18%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 28%, rgba(35,213,255,.14), transparent 62%),

    /* маска сверху/снизу чтобы фон “сходил на нет”, а не обрывался линией */
    linear-gradient(
      180deg,
      rgba(7,10,16,.96) 0%,
      rgba(7,10,16,.66) 18%,
      rgba(7,10,16,.66) 82%,
      rgba(7,10,16,.96) 100%
    );
}

.bgwrap > *{
  position: relative;
  z-index: 1;
}

.bgwrap--top{
  background: url("/assets/img/backgrounds/top.jpg") center/cover no-repeat;
}

.bgwrap--media{
  background: url("/assets/img/backgrounds/media.jpg") center/cover no-repeat;
}

/* убираем fixed — он часто делает “стык” более заметным */
@media (min-width: 1100px){
  .bgwrap--top, .bgwrap--media{
    background-attachment: scroll;
  }
}



/* KIT TABS */
.kitTabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 22px;
}
.kitTab{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.kitTab:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
}
.kitTab.is-active{
  border-color: rgba(120,170,255,.45);
  background: linear-gradient(90deg, rgba(110,90,255,.35), rgba(60,200,255,.20));
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}


/* TRUST MEDIA */
.trust__media{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.trust__media img{
  width:100%;
  max-width:560px;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
@media (max-width: 900px){
  .trust__media{ justify-content:flex-start; margin-top:14px; }
  .trust__media img{ max-width:100%; }
}
