@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bg-primary: #040b1d;
  --bg-secondary: #0a1832;
  --bg-tertiary: #1a3d63;
  --accent-primary: #4a7fa7;
  --accent-hover: #5d92ba;
  --accent-light: #b3cfe5;
  --text-primary: #f7faff;
  --text-secondary: #a3b8cc;
  --text-muted: #7f8693;
  --border-color: rgba(74, 127, 167, 0.25);
  --radius-md: 16px;
  --radius-sm: 8px;
  --container-width: 860px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f7faff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e1edf9;
    --accent-primary: #45779c;
    --accent-hover: #3d6a8c;
    --accent-light: #1a3d63;
    --text-primary: #0a1832;
    --text-secondary: #4a5a70;
    --text-muted: #5f6b78;
    --border-color: rgba(74, 127, 167, 0.2);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
}
a { color: var(--accent-light); }
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1050;
  background-color: var(--accent-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

header.site-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-link img { height: 36px; width: auto; }
.logo-link span {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.back-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { color: var(--accent-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.lang-switch a {
  padding: 2px 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--accent-light); }
.lang-switch a.active { color: var(--accent-light); pointer-events: none; }
.lang-switch .lang-divider { color: var(--border-color); font-size: 0.8rem; }

article { padding: 48px 0 80px; }
.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 24px;
}
p { color: var(--text-secondary); margin: 0 0 18px; }
ul { color: var(--text-secondary); margin: 0 0 18px; padding-left: 1.3em; }
li { margin-bottom: 8px; }
strong { color: var(--text-primary); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  display: block;
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

.cta-row { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.btn-home {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: var(--accent-primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
}
.btn-home:hover { background: var(--accent-hover); }

footer.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
footer.site-footer a { color: var(--text-muted); }
