 :root{ 
  --bg:#070A12; 
  --bgi: rgba(255,255,255,.03);
  --dots: rgba(234,240,255,.72);
  --card: rgba(255,255,255,.06);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --line: rgba(255,255,255,.15);
  --accent:#6AE4FF;
  --accent2:#B36BFF;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
  --max: 1080px;
  --bgBurger: rgba(10,14,24,.96);
  --bghBurger: rgba(0,0,0,.08);
  --bgaBurger: rgba(255,255,255,.22);
 }
:root[data-theme="light"]{
  --bg:#F7F8FC;
  --bgi: rgba(0,0,0,.03);
  --dots: rgba(128,128,128,.70);
  --card: rgba(0,0,0,.04);
  --text:#0C1220;
  --muted: rgba(12,18,32,.70);
  --line: rgba(0,0,0,.12);
  --accent:#0077FF;
  --accent2:#8A4DFF;
  --shadow: 0 18px 50px rgba(12,18,32,.12);
  --max: 1080px;
  --bgBurger: rgba(235,235,235,.96);
  --bghBurger: rgba(158,158,158,.98);
  --bgaBurger: rgba(198,198,198,.98);
}

/* ===== Burger Light Theme ===== */  
.burger{
  background: var(--bgBurger);
  border: 1px solid var(--line); 
  color: var(--text);  
  font-size: 18px;
  font-weight: 600;
}
.burger:hover{background: var(--bghBurger);}
.burger:active{background: var(--bgaBurger);}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background: var(--bg);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.topbar{
	position:sticky; top:0; z-index:30;
	backdrop-filter: blur(12px);
	background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0));
	border-bottom:1px solid var(--line);
}
.topnav {
    min-height: 89px;
    max-height: 89px;
	position:sticky; top:0; z-index:30;
	backdrop-filter: blur(12px);
	background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0));
	border-bottom:1px solid var(--line);	
}

:root[data-theme="light"] .topbar{
  background: linear-gradient(to bottom, rgba(255,255,255,.75), rgba(255,255,255,.35));
}
.nav{
  display:flex; align-items:center; gap:14px;
  padding:14px 0;
}
.brand-stack{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-title{
  font-weight: 900;
  letter-spacing: 0.3px;
}
.brand-stack .badge{
  margin-top: 2px;
  font-size: 11px;
  padding: 2px 0px;
  align-self: flex-start; /* чтобы badge не растягивался */
}
.logo {
  margin-left: 5px;
}
.links{
  backdrop-filter: blur(16px);
  display:flex; gap:12px; flex-wrap:wrap;
  margin-left:14px;
}
.links a{
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted);
}
.links a:hover{
	background:var(--card); 
	color:var(--text)
}
.links a[aria-current="page"]{
  background:var(--bgaBurger); 
  color: var(--text);
  border: 1px solid rgba(106,228,255,.18);
}
.tools{margin-left:auto; display:flex; gap:8px; align-items:center}


/* burger hidden on desktop */
.burger{display: none !important;}
/* Mobile layout */
@media (max-width: 860px){
  .burger{ display: flex !important; }
  .links{
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: var(--bgBurger);  /*rgba(10,14,24,.96)*/
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none; /* скрыто по умолчанию */
  }
  .links.open{
    display: flex;
    animation: menuDrop 0.25s ease;
  }
  .links a{
    padding: 10px 12px;
    border-radius: 10px;
  }
}
@keyframes menuDrop{
  from{ opacity:0; transform: translateY(-6px); }
  to{ opacity:1; transform:none; }
}

.btn{
  border:1px solid var(--line);
  background: var(--card);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  box-shadow:none;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#041019;
  font-weight:800;
}
:root[data-theme="light"] .btn.primary{color:#fff}

.btn.icon{
  width:40px; height:40px;
  padding:0;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
}

select.btn{padding:10px 10px}

.hero{
  padding:0px 0 20px;
}
.grid-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
}
@media (max-width: 860px){
  .grid-hero{grid-template-columns:1fr}
}
.card{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:22px}
.h1{
  font-size:44px; line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-.8px;
}
.sub{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.pills{display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 18px}
.pill{
  border:1px solid var(--line);
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}
.cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:6px}
.media{
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 330px;
}
.media img{
  width:100%; 
  height:100%;
  display:block;
  object-fit:cover;
  aspect-ratio: 4/3;
}

.section{padding:18px 0 42px}
.h2{font-size:22px; margin:0 0 12px}
.kpis{
  display:grid; gap:12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px){
  .kpis{grid-template-columns:1fr}
}
.kpi{padding:16px}
.kpi .t{font-weight:800}
.kpi .d{color:var(--muted); font-size:13px; margin-top:6px; line-height:1.45}

.footer{
  padding:28px 0 40px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}

.page-head{padding:0px 0 10px}
.breadcrumb{color:var(--muted); font-size:13px; margin-bottom:10px}
.list{
  display:grid; gap:12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 860px){
  .list{grid-template-columns:1fr}
}
.item{padding:16px}
.item h3{margin:0 0 6px; font-size:16px}
.item p{margin:0; color:var(--muted); font-size:13px; line-height:1.55}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--line);
}
.table td{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.table tr:last-child td{border-bottom:none}
.table td:first-child{color:var(--text); font-weight:700; width:42%}

/* CONTACT FORM */
.contact-form{margin-top:10px}
.req{
	color: var(--accent); 
	font-weight:800
}
.err{
  min-height: 16px;
  font-size:12px;
  color: rgba(255,110,140,.95);
}
.checkline{
  display:flex; align-items:center; gap:8px;
  font-size:13px; color:var(--muted);
  margin: 6px 0 14px;
}
.checkline input{width:16px; height:16px}

.field{
	display:flex; 
	flex-direction:column; 
	gap:6px; 
	margin-bottom:12px
}
.field label{
	font-size:13px; 
	color:var(--muted)
}
.field input, .field links{
  background: var(--bgi);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  font-size:14px;
  outline:none;
}
.field input:focus,
.field textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(106,228,255,.25);
}
.field textarea{
  background: var(--bgi);
  resize:none;
  min-height:140px;
}

/* INPUT AUTOFILL FIX (Chrome / Edge / Safari) */
.field input:-webkit-autofill,
.field textarea:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.03) inset;
  -webkit-text-fill-color: var(--text);
  border:1px solid var(--line);
  transition: background-color 5000s ease-in-out 0s;
}
:root[data-theme="light"] .field input:-webkit-autofill,
:root[data-theme="light"] .field textarea:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px rgba(0,0,0,.03) inset;
}

/* FOCUS AUTOFILL */
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill:focus{
  -webkit-box-shadow:
  0 0 0 1000px rgba(255,255,255,.03) inset,
  0 0 0 1px rgba(106,228,255,.25);
  -webkit-text-fill-color: var(--text);
}
:root[data-theme="light"] .field input:-webkit-autofill:focus,
:root[data-theme="light"] .field textarea:-webkit-autofill:focus{
  -webkit-box-shadow:
  0 0 0 1000px rgba(0,0,0,.03) inset,
  0 0 0 1px rgba(106,228,255,.25);
}

/* ---------- CARET COLOR ---------- */
.field input,
.field textarea{
caret-color: var(--accent);
}
/* ---------- PLACEHOLDER ---------- */
.field input::placeholder,
.field textarea::placeholder{
color: var(--muted);
opacity:.7;
}
/* ---------- GALLERY ---------- */
.gallery{
  display:grid; gap:12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 920px){
  .gallery{grid-template-columns:1fr}
}
.gimg img{width:100%; display:block; border-radius: var(--radius); border:1px solid var(--line); aspect-ratio: 4/3; object-fit:cover}

.pricing{
	display:grid; gap:12px;
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
	.pricing {grid-template-columns: 1fr;}
}
.price-card{padding:18px}
.price{
  font-size:34px; font-weight:900; letter-spacing:-.6px; margin:8px 0;
}
.ul{
  margin:12px 0 0; padding-left:18px;
  color:var(--muted); font-size:13px; line-height:1.7;
}
.ul li{margin:6px 0}

.faq details{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding:12px 14px;
}
.faq details + details{margin-top:10px}
.faq summary{
  cursor:pointer;
  font-weight:800;
}
.faq p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.video{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: #000;
}
.video .poster{
  width:100%;
  display:block;
  aspect-ratio: 16/9;
  object-fit:cover;
  opacity:.92;
}

/* POPUP */
.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}
.popup-box{
background:#fff;
padding:40px;
border-radius:12px;
text-align:center;
max-width:420px;
box-shadow:0 20px 60px rgba(0,0,0,0.25);
animation:popup .3s ease;
}
.popup-box h3{
margin-top:0;
font-size:22px;
}
.popup-box button{
margin-top:15px;
padding:10px 24px;
border:none;
background:#1a73e8;
color:#fff;
border-radius:6px;
cursor:pointer;
}
@keyframes popup{
from{transform:scale(.8);opacity:0}
to{transform:scale(1);opacity:1}
}

