:root{
  --blue-900:#0b2f5b;
  --blue-700:#1f5fa8;
  --blue-200:#dbe9ff;
  --blue-100:#eef5ff;
  --text:#102033;
  --muted:#5b6b82;
  --border:#cfe0ff;
  --shadow:0 10px 30px rgba(16,32,51,.12);
  --radius:14px;
  --max:1200px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--blue-100), #ffffff 55%, var(--blue-100));
}

a{ color:inherit; text-decoration:none; }

a:focus-visible, button:focus-visible{
  outline:3px solid rgba(31,95,168,.35);
  outline-offset:3px;
  border-radius:10px;
}

.top-strip{
  height:28px;
  background: linear-gradient(90deg, rgba(11,47,91,.95), rgba(31,95,168,.95));
}

header{
  background:#fff;
  border-bottom:1px solid var(--border);
}

.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
}

.brand img{
  height:86px;
  width:auto;
  display:block;
}

nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav-link{
  padding:10px 12px;
  border-radius:10px;
  color:var(--blue-900);
  font-weight:500;
  position:relative;
}

.nav-link:hover{
  background:var(--blue-100);
}

.nav-link.active{
  color:var(--blue-700);
}

.nav-link.active::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  background:var(--blue-700);
  border-radius:2px;
  opacity:.55;
}

.divider{
  height:10px;
  background: linear-gradient(90deg, rgba(11,47,91,.40), rgba(31,95,168,.40));
  border-top:1px solid rgba(11,47,91,.12);
  border-bottom:1px solid rgba(11,47,91,.12);
}

main{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 18px 26px;
}

.hero{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.hero img{
  width:100%;
  height:auto;
  display:block;
}

.footnote{
  max-width:var(--max);
  margin:14px auto 0;
  padding:12px 18px 22px;
  color:var(--muted);
  text-align:center;
  line-height:1.4;
}

.footnote strong{
  color:var(--blue-900);
}

/* Адаптивність */
@media (max-width: 820px){
  .header-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  nav{
    width:100%;
    justify-content:flex-start;
  }
  .brand img{ height:72px; }
}

/* --- Content blocks for inner pages --- */
.content{
  max-width: var(--max);
  margin: 0 auto;
}

.content h1{
  margin: 8px 0 14px;
  color: var(--blue-900);
  font-size: 28px;
}

.content h2{
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 18px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin: 14px 0;
}

.card-title{
  margin: 0 0 10px;
}

.card-line{
  margin: 6px 0;
  color: var(--text);
}

.link{
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.map-placeholder{
  margin-top: 10px;
  height: 220px;
  border-radius: 12px;
  border: 1px dashed rgba(11,47,91,.35);
  background: linear-gradient(180deg, var(--blue-100), #ffffff);
  color: var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 14px;
}

@media (max-width: 820px){
  .grid-2{ grid-template-columns: 1fr; }
}

