
:root{
  --bg:#05080f;
  --bg2:#0a1322;
  --card:#101d2f;
  --text:#eef6ff;
  --muted:#a9b7c7;
  --soft:#d6dde7;
  --accent:#54e6b5;
  --accent2:#75a7ff;
  --line:rgba(255,255,255,.12);
  --danger:#ff8a8a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%;height:auto}
.container{width:min(1160px,92%);margin:auto}

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(5,8,15,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.logo-link{
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.2px;
}
.logo-img{width:40px;height:40px}
.logo-text strong{display:block;line-height:1.05}
.logo-text span{display:block;color:var(--muted);font-weight:500;font-size:12px}
.nav-menu{display:flex;align-items:center;gap:22px}
.nav-menu a{text-decoration:none;color:var(--muted);font-size:14px}
.nav-menu a:hover{color:var(--text)}
.menu-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
  border-radius:12px;
  padding:9px 12px;
}

.hero{
  padding:86px 0 64px;
  background:
    radial-gradient(circle at 18% 10%,rgba(84,230,181,.20),transparent 34%),
    radial-gradient(circle at 82% 18%,rgba(117,167,255,.18),transparent 34%),
    linear-gradient(180deg,var(--bg),var(--bg2));
}
.hero-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:38px;
  align-items:center;
}
.badge{
  display:inline-flex;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
  color:var(--muted);
  font-size:14px;
  background:rgba(255,255,255,.04);
}
.hero h1{
  font-size:clamp(38px,6vw,72px);
  line-height:1.02;
  margin:22px 0 18px;
}
.lead{
  font-size:20px;
  color:var(--muted);
  max-width:760px;
}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-block;
  padding:14px 20px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  border:1px solid var(--line);
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#06101d;
  border:0;
}
.btn.secondary{color:var(--text);background:rgba(255,255,255,.04)}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:46px;
}
.stat{
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
}
.stat b{font-size:30px;display:block}
.stat span{color:var(--muted)}

.section{padding:70px 0}
.section h2{font-size:36px;line-height:1.15;margin:0 0 16px}
.sub{color:var(--muted);max-width:760px}
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:30px;
}
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
}
.card h3{margin-top:0}
.card p,.card li{color:var(--muted)}
.service-icon{width:46px;height:46px;margin-bottom:14px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.process{counter-reset:item}
.step{position:relative;padding-left:52px}
.step:before{
  counter-increment:item;
  content:counter(item);
  position:absolute;
  left:0;
  top:4px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#07101d;
  font-weight:800;
}
.case{border-left:3px solid var(--accent)}


.partners-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}

.partner-card{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:20px;
  background:#ffffff;
  text-decoration:none;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}

.partner-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 70px rgba(0,0,0,.32);
}

.partner-card img{
  display:block;
  width:100%;
  height:125px;
  padding:8px 12px;
  object-fit:contain;
  background:#ffffff;
}

.formbox{
  background:linear-gradient(135deg,rgba(84,230,181,.12),rgba(117,167,255,.10));
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.form-field{
  margin-bottom:16px;
}

.form-field.full{
  grid-column:1 / -1;
}

.form-field label{
  display:block;
  margin:0 0 7px;
  color:var(--muted);
  font-size:14px;
}

.form-field input,
.form-field textarea,
.form-field select{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#07111f;
  color:var(--text);
  font:inherit;
  outline:none;
}

.form-field textarea{
  min-height:120px;
  resize:vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  border-color:rgba(84,230,181,.7);
}

.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:16px 0;
  color:var(--muted);
  font-size:14px;
}

.check input{
  width:auto;
  margin-top:5px;
  flex:0 0 auto;
}

.form-status{
  margin-top:14px;
  color:var(--muted);
  min-height:22px;
}

.form-status.error{
  color:var(--danger);
}


.site-footer{
  border-top:1px solid var(--line);
  padding:34px 0 28px;
  color:var(--muted);
  background:#000;
}

.site-footer__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  column-gap:90px;
  row-gap:34px;
  align-items:start;
}

.site-footer__col h3{
  margin:0 0 22px;
  color:var(--soft);
  font-size:18px;
  font-weight:600;
}

.site-footer__col p{
  margin:0 0 14px;
}

.site-footer a{
  color:var(--muted);
  text-decoration:none;
}

.site-footer a:hover{
  color:var(--text);
}

.site-footer__contact{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:13px;
}

.site-footer__icon{
  width:19px;
  min-width:19px;
  color:var(--soft);
  opacity:.9;
}

.site-footer__socials{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.site-footer__social{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f0f2f7;
  color:#111 !important;
  font-weight:800;
  font-size:13px;
}

.site-footer__bottom{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:13px;
  color:#7f8a98;
}


.legal{padding:56px 0;max-width:900px}
.legal h1{font-size:42px}
.legal h2{margin-top:34px}
.legal p,.legal li{color:var(--muted)}



@media(max-width:980px){
  .hero-layout,
  .two{
    grid-template-columns:1fr;
  }

  .hero-visual{
    order:-1;
  }

  .stats,
  .grid{
    grid-template-columns:1fr 1fr;
  }

  .partners-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .partner-card{
    min-height:145px;
  }

  .partner-card img{
    height:120px;
    padding:8px 14px;
  }

  .site-footer__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    column-gap:36px;
  }
}

@media(max-width:720px){
  .nav-menu{
    display:none;
    position:absolute;
    top:69px;
    left:4%;
    right:4%;
    padding:18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#05080f;
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-menu.open{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .stats,
  .grid,
  .partners-grid{
    grid-template-columns:1fr;
  }

  .partner-card{
    min-height:132px;
  }

  .partner-card img{
    height:112px;
    padding:8px 18px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .site-footer__grid{
    grid-template-columns:1fr;
    gap:34px;
  }

  .hero{
    padding-top:42px;
  }

  .section{
    padding:48px 0;
  }

  .hero h1{
    font-size:38px;
  }

  .lead{
    font-size:18px;
  }
}


.hero-visual img{
  width:100%;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:0 24px 80px rgba(0,0,0,.34);
}

.diagram-card--plain{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.diagram-card--plain img{
  width:112%;
  max-width:none;
  margin-left:-6%;
  border-radius:24px;
  box-shadow:0 24px 80px rgba(0,0,0,.26);
}

@media(max-width:980px){
  .diagram-card--plain img{
    width:100%;
    margin-left:0;
  }
}


/* Improved footer icons */
.visually-hidden{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.site-footer__icon{
  width:22px;
  min-width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--soft);
  opacity:.95;
}

.site-footer__icon svg,
.site-footer__social svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

.site-footer__social{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-footer__social svg{
  width:21px;
  height:21px;
}

.site-footer__social:hover{
  transform:translateY(-2px);
  background:rgba(64,156,255,.18);
  border-color:rgba(64,156,255,.42);
  box-shadow:0 12px 28px rgba(64,156,255,.18);
}
