:root {
  --accent:#1a4a7a; --accent-deep:#0d2a4a; --accent2:#2e7bc4; --accent3:#4a9ede;
  --accent-light:#e8f2fb; --gold:#c8952a; --gold-light:#f5e8c0;
  --bg:#f0f4f9; --bg2:#e8eef7; --panel:#fff;
  --border:#cdd6e8; --border2:#b0c8e8;
  --text:#1a2035; --text2:#2d3a55; --muted:#5a6a88; --muted2:#8898b8;
  --success:#1a7a3a; --success-bg:#e8f8ed;
  --danger:#b91c1c; --warn:#a86b00;
  --font-head:'Geologica',sans-serif; --font-body:'PT Serif',serif;
  --r:10px; --r2:16px;
  --sh:0 2px 16px rgba(26,74,122,.10);
  --sh2:0 8px 40px rgba(26,74,122,.18);
  --nav-h:56px;
}

* { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100% }
body {
  font-family:var(--font-head); font-size:14.5px;
  background:var(--bg); color:var(--text); line-height:1.55;
  min-height:100vh; display:flex; flex-direction:column;
  overflow-x:hidden;
}
a { color:var(--accent2); text-decoration:none }
a:hover { color:var(--accent); text-decoration:underline }
code { font-family:'SFMono-Regular','Consolas',monospace; font-size:.93em }

/* --- LAYOUT --- */
.container {
  max-width:100%; padding:0 16px; margin:0 auto; width:100%;
}
@media(min-width:600px) { .container { padding:0 24px } }
@media(min-width:900px) { .container { max-width:880px } }
@media(min-width:1140px) { .container { max-width:1140px } }

main { flex:1 }

/* --- NAVBAR --- */
.navbar {
  position:sticky; top:0; z-index:100;
  background:rgba(13,42,74,.97); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 2px 12px rgba(0,0,0,.18);
}
.navbar-inner {
  display:flex; align-items:center; gap:8px;
  height:var(--nav-h);
  max-width:1140px; margin:0 auto; padding:0 16px;
}
@media(min-width:600px){ .navbar-inner { padding:0 24px } }
.navbar-logo {
  display:flex; flex-direction:column; gap:1px;
  text-decoration:none; margin-right:auto;
  min-height:44px; justify-content:center;
}
.navbar-logo-name { font-size:16px; font-weight:800; color:#fff; letter-spacing:-.3px; line-height:1.1 }
.navbar-logo-name span { color:var(--accent3) }
.navbar-logo-tag {
  font-size:9px; color:rgba(255,255,255,.45);
  letter-spacing:1.2px; text-transform:uppercase;
}
.burger {
  width:44px; height:44px; padding:10px;
  background:none; border:none; cursor:pointer;
  display:flex; flex-direction:column; justify-content:space-between;
}
.burger span {
  display:block; height:2px; background:#fff; border-radius:2px;
  transition:transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform:translateY(8px) rotate(45deg) }
.burger.open span:nth-child(2) { opacity:0 }
.burger.open span:nth-child(3) { transform:translateY(-8px) rotate(-45deg) }
.navbar-nav {
  display:none; list-style:none; flex-direction:column;
  position:absolute; top:var(--nav-h); left:0; right:0;
  background:rgba(13,42,74,.98); padding:8px 0;
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 32px rgba(0,0,0,.35);
}
.navbar-nav.open { display:flex }
.navbar-nav li a {
  display:block; padding:12px 24px; min-height:44px;
  color:rgba(255,255,255,.78); font-size:14px; font-weight:500;
}
.navbar-nav li a:hover { background:rgba(255,255,255,.1); color:#fff; text-decoration:none }

@media(min-width:780px) {
  .burger { display:none }
  .navbar-nav {
    display:flex; flex-direction:row; position:static;
    background:none; padding:0; border:none; box-shadow:none;
    margin-left:24px; gap:2px;
  }
  .navbar-nav li a {
    padding:7px 12px; min-height:36px; border-radius:5px;
    font-size:12.5px;
  }
  .navbar-nav li a:hover { background:rgba(255,255,255,.1) }
}

/* --- DISCLAIMER --- */
.disclaimer {
  background:linear-gradient(90deg,#fff8e6,#fff3d4);
  border-top:3px solid var(--gold);
  border-bottom:1px solid #e8d8a0;
  padding:11px 0; font-family:var(--font-body); font-size:13px; color:#5a3a00;
}
.disclaimer-inner { display:flex; align-items:flex-start; gap:11px }
.disclaimer-inner > span:first-child { font-size:18px; flex-shrink:0; line-height:1 }

/* --- BUTTONS --- */
.btn {
  display:inline-flex; align-items:center; gap:7px;
  padding:10px 18px; border-radius:6px;
  font-family:var(--font-head); font-size:13px; font-weight:700;
  cursor:pointer; border:none; transition:all .15s;
  min-height:44px; text-decoration:none; white-space:nowrap;
}
.btn-primary { background:var(--accent); color:#fff; box-shadow:0 3px 12px rgba(26,74,122,.25) }
.btn-primary:hover { background:var(--accent2); color:#fff; transform:translateY(-1px); text-decoration:none }
.btn-outline { background:transparent; color:var(--accent); border:1.5px solid var(--accent) }
.btn-outline:hover { background:var(--accent-light); color:var(--accent); text-decoration:none }
.btn-gold { background:var(--gold); color:#fff; box-shadow:0 3px 12px rgba(200,149,42,.3) }
.btn-gold:hover { background:#b8841e; color:#fff; text-decoration:none }

/* --- HEADINGS / SECTIONS --- */
.section-title {
  font-size:20px; font-weight:800; color:var(--accent);
  letter-spacing:-.4px; margin-bottom:5px;
}
@media(min-width:600px){ .section-title { font-size:24px } }
.section-sub {
  font-family:var(--font-body); font-size:13.5px; color:var(--muted);
  font-style:italic; margin-bottom:18px;
}

.content-section { padding:32px 0 }
.content-section--alt { background:var(--bg2) }
@media(min-width:600px){ .content-section { padding:48px 0 } }

.muted { color:var(--muted) }
.counter {
  display:inline-block; padding:1px 8px; border-radius:10px;
  background:var(--accent-light); color:var(--accent);
  font-size:11px; font-weight:700;
}

/* --- FOOTER --- */
.site-foot {
  background:#060f1c; color:rgba(255,255,255,.55);
  padding:32px 0 18px; margin-top:auto;
}
.foot-grid {
  display:grid; grid-template-columns:1fr; gap:24px;
  margin-bottom:24px;
}
@media(min-width:600px){ .foot-grid { grid-template-columns:1fr 1fr; gap:24px } }
@media(min-width:900px){ .foot-grid { grid-template-columns:2fr 1fr 1fr 1fr } }
.foot-brand-name { font-size:18px; font-weight:800; color:#fff; margin-bottom:6px }
.foot-brand-name span { color:var(--accent3) }
.foot-brand-name span.ru { color:rgba(255,255,255,.35); font-weight:400; font-size:14px }
.foot-brand-desc {
  font-family:var(--font-body); font-size:13px; color:rgba(255,255,255,.45);
  line-height:1.6; max-width:280px;
}
.foot-col-title {
  font-size:11px; font-weight:800; color:rgba(255,255,255,.4);
  text-transform:uppercase; letter-spacing:1px; margin-bottom:10px;
}
.foot-links { list-style:none; display:flex; flex-direction:column; gap:5px }
.foot-links a { color:rgba(255,255,255,.6); font-size:13px }
.foot-links a:hover { color:#fff; text-decoration:none }
.foot-bottom {
  border-top:1px solid rgba(255,255,255,.08); padding-top:16px;
  display:flex; flex-direction:column; gap:8px;
}
@media(min-width:600px){ .foot-bottom { flex-direction:row; justify-content:space-between; gap:14px } }
.foot-copy { font-size:11.5px; color:rgba(255,255,255,.4) }
.foot-legal {
  font-size:11.5px; color:rgba(255,255,255,.3);
  font-family:var(--font-body); line-height:1.5; max-width:480px;
}
@media(min-width:600px){ .foot-legal { text-align:right } }
