/* ─────────────────────────────────────────
   Belarus ID — shared site styles
   ───────────────────────────────────────── */

:root {
  --brand:        #D84B1E;
  --brand-light:  #F0613A;
  --brand-pale:   #FDF1EC;
  --dark:         #1C1917;
  --dark-2:       #272220;
  --muted:        #78716C;
  --border:       #E7E5E4;
  --bg:           #FFFFFF;
  --bg-alt:       #F9F7F5;
  --r:            14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.nav-logo img { width: 34px; height: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
  border: none;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-outline  { background: transparent; border: 1.5px solid var(--border); color: var(--dark); }

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 9px;
  border-radius: 5px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
  transition: color .15s, background .15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--dark); }
.lang-btn.active { background: #fff; color: var(--dark); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #A8A29E;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; font-size: .95rem; }
.footer-logo img { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: #A8A29E; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .78rem; }

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .nav-right .btn-outline { display: none; }
  .nav-right { gap: 8px !important; }
  .footer-inner { flex-direction: column; gap: 16px; }
}