:root{
  --bg:#ffffff;
  --surface:#f7f8fb;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
  --brand:#0f6d9c;
  --brand2:#1aa6b7;
  --danger:#b91c1c;
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --radius:16px;
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 55%, #ffffff 100%);
}

a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--container); margin:0 auto; padding:0 16px}

.topbar{
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{
  width:44px; height:44px; object-fit:contain;
}
.brand .title{
  display:flex; flex-direction:column;
  line-height:1.1;
}
.brand .title strong{font-size:14px}
.brand .title span{font-size:12px; color:var(--muted)}
.contacts{
  display:flex; flex-wrap:wrap; gap:10px 14px;
  justify-content:flex-end;
  font-size:12px;
  color:var(--muted);
}
.lang{
  display:flex; gap:8px; align-items:center; justify-content:flex-end;
  font-size:12px;
}
.lang a{
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
}
.lang a.active{border-color:var(--brand); color:var(--brand); font-weight:600}

.navbar{
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  gap:0;
  align-items:stretch;
  justify-content:space-between;
  flex-wrap:wrap;
}
.nav > li{
  list-style:none;
  position:relative;
  flex:1 1 auto;
  min-width:180px;
}
.nav > li > a{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 12px;
  font-weight:600;
  color:var(--text);
  border-right:1px solid var(--line);
}
.nav > li:last-child > a{border-right:none}
.nav > li:hover > a{background:#fff}
.dropdown{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  background:#fff;
  border:1px solid var(--line);
  border-top:none;
  box-shadow:var(--shadow);
  z-index:50;
  padding:8px;
}
.nav > li:hover .dropdown{display:block}
.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:var(--text);
  font-weight:500;
}
.dropdown a:hover{background:var(--surface)}

.hero{
  margin:18px 0 8px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:
    radial-gradient(900px 280px at 20% 20%, rgba(15,109,156,.12), transparent 60%),
    radial-gradient(900px 280px at 80% 0%, rgba(26,166,183,.10), transparent 55%),
    #ffffff;
}
.hero-inner{
  padding:28px 22px;
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
}
.hero h1{margin:0 0 8px; font-size:26px}
.hero p{margin:0; color:var(--muted); max-width:720px}

.grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:16px;
  margin:16px 0 28px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.card h2{margin:0 0 10px; font-size:18px}
.card p{margin:0 0 10px; color:var(--muted)}
.badges{display:flex; gap:8px; flex-wrap:wrap}
.badge{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  background:var(--surface);
  font-size:12px;
  color:var(--muted);
}

.footer{
  border-top:1px solid var(--line);
  background:var(--surface);
  padding:18px 0;
  color:var(--muted);
  font-size:12px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:16px;
}
.footer strong{color:var(--text)}
.small{font-size:12px; color:var(--muted)}

.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.table th,.table td{
  padding:10px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.table th{background:var(--surface); font-size:12px; color:var(--muted)}

.form-row{display:flex; gap:12px; flex-wrap:wrap}
.input, select, textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-family:var(--font);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:600;
}
.btn.primary{
  background:linear-gradient(90deg, rgba(15,109,156,1), rgba(26,166,183,1));
  border:none;
  color:#fff;
}
.btn.danger{border-color:#fecaca; color:var(--danger); background:#fff}
.notice{
  padding:12px 14px;
  border-radius:12px;
  background: #eef8ff;
  border:1px solid #dbeafe;
  color:#1e40af;
}

@media (max-width: 920px){
  .grid{grid-template-columns:1fr}
  .nav > li{min-width:160px}
  .hero-inner{flex-direction:column; align-items:flex-start}
  .contacts{justify-content:flex-start}
}
