:root{
  --bg:#0a1220;
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);
  --text:#eef4ff;
  --muted: rgba(238,244,255,.72);
  --accent:#22c55e;
  --accent2:#38bdf8;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r:18px;

  --wrap: 720px; /* будет меняться по брейкпоинтам */
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 70% 10%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(800px 520px at 20% 40%, rgba(34,197,94,.12), transparent 60%),
    linear-gradient(180deg, #060a13, var(--bg));
}

.wrap{width: min(var(--wrap), calc(100% - 28px)); margin:0 auto}
a{color:inherit;text-decoration:none}
h1,h2{margin:0}
h1{font-size: clamp(26px, 4.5vw, 48px); line-height:1.12}
h2{font-size: clamp(18px, 2.4vw, 30px); margin-bottom:10px}

.muted{color:var(--muted)}
.small{font-size:12px; line-height:1.55}

.top{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(6,10,19,.60);
  border-bottom: 1px solid var(--line);
}
.top__in{
  padding: 10px 0;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}

.brand{display:flex; gap:10px; align-items:center; min-width: 0}
.logo{
  width:40px;height:40px;border-radius:14px;
  background: linear-gradient(135deg, rgba(34,197,94,.9), rgba(56,189,248,.9));
  display:grid; place-items:center;
  font-weight:900;
  color:#071a12;
  flex:0 0 auto;
}
.brand__title{font-weight:900}
.brand__sub{font-size:12px;color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.callPill{
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  font-weight:900;
  flex:0 0 auto;
}

/* Верхнее меню: скрыто на мобиле, видно на планшет/ПК */
.topNav{display:none; gap:14px; align-items:center}
.topNav a{
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color: rgba(238,244,255,.78);
  font-weight:800;
  font-size:14px;
}
.topNav a:hover{
  background: rgba(255,255,255,.05);
  border-color: var(--line);
  color: var(--text);
}

/* Sections */
.hero{padding: 18px 0 8px}
.section{padding: 18px 0}

.chips{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.chip{
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  font-size:13px;
}
.cta{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.note{
  margin-top:10px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(56,189,248,.25);
  background: rgba(56,189,248,.08);
  color: rgba(238,244,255,.85);
  font-size:13px;
  line-height:1.45;
}

.cards{display:grid; gap:12px}
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 14px;
}
.card__head{display:flex; flex-direction:column; gap:6px; margin-bottom:10px}
.card__actions{margin-top:12px}
.tag{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.12);
  font-size:12px;
  font-weight:900;
}
.tag2{border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.12)}
.card__title{font-weight:900; font-size:16px}

.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.6}
.list li{margin:6px 0}

/* Form controls */
.btn{
  border:0; cursor:pointer;
  padding: 12px 12px;
  border-radius: 14px;
  font-weight:900;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  text-align:center;
}
.btnFull{width:100%}
.btnPrimary{
  background: linear-gradient(135deg, var(--accent), rgba(34,197,94,.85));
  color:#06190f;
}
.btnSoft{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
}
.btnGhost{
  background: transparent;
  border:1px solid rgba(56,189,248,.35);
  color:var(--text);
}

.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.field{display:grid; gap:6px; margin-bottom:10px}
.field span{font-size:12px; color:var(--muted); font-weight:900}
select, input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(6,10,19,.60);
  color: var(--text);
  outline: none;
}

.result{
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(34,197,94,.30);
  background: rgba(34,197,94,.10);
  font-weight:900;
  margin: 8px 0 10px;
}

/* FAQ */
.faq details{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.faq summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:8px 0 0; color:var(--muted); line-height:1.55}

/* Map */
.mapCard{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.mapBox{height: 320px; width: 100%;}
.mapBox iframe{width:100%; height:100%; border:0; display:block;}
.mapActions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  padding: 12px;
}
.mapHint{padding: 0 12px 12px}

/* Contacts */
.contactRow{display:flex; justify-content:space-between; gap:12px}
.right{text-align:right}
.link{font-weight:900; text-decoration:underline}

.footer{
  padding: 14px 0 10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-top: 1px solid var(--line);
}

/* Bottom bar: показываем на мобиле */
.bottomBar{
  position: fixed;
  left: 10px; right: 10px; bottom: 10px;
  background: rgba(6,10,19,.70);
  border:1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  z-index: 50;
}
.bItem{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 10px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-weight:900;
  font-size:14px;
}
.bItem span{font-size:11px; color:var(--muted); font-weight:900}

/* Extra small */
@media (max-width: 380px){
  .grid2{grid-template-columns:1fr}
  .mapActions{grid-template-columns:1fr}
}

/* ===========================
   Tablet+
   =========================== */
@media (min-width: 768px){
  :root{ --wrap: 980px; }

  .topNav{display:flex;}
  .bottomBar{display:none;}

  .top__in{padding: 12px 0}
  .hero{padding: 28px 0 16px}
  .section{padding: 28px 0}

  .cards{grid-template-columns: 1fr 1fr}
  .mapBox{height: 420px}
  .card{padding: 18px}
}

/* ===========================
   Laptop/PC
   =========================== */
@media (min-width: 1024px){
  :root{ --wrap: 1120px; }
  .topNav a{font-size:15px}
  .chip{font-size:14px}
}

/* ===========================
   Big screens
   =========================== */
@media (min-width: 1280px){
  :root{ --wrap: 1240px; }
  .mapBox{height: 480px}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}