@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2192;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2192;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-800.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2192;
}

:root {
  --red: #d61f2c;
  --red-dark: #a8151f;
  --ink: #1b1e24;
  --mut: #5f6672;
  --bg: #f7f4ee;
  --paper: #fffdf9;
  --soft: #f1ece2;
  --line: #e3ddd0;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(27, 30, 36, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 16px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease;
}
.top.hide { transform: none; }
@media (max-width: 639px) {
  .top.hide { transform: translateY(-110%); }
}
.top-in {
  position: relative;
  display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap;
  padding-top: 10px; padding-bottom: 10px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 34px; width: auto; }
nav { display: none; }
.desk { display: none; }
.menu {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  margin: 0; padding: 0;
}
.menu[open] nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 210px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(22, 24, 29, .18);
}
.menu[open] nav a { padding: 10px 12px; }
.menu summary {
  list-style: none; cursor: pointer;
  color: var(--bg); background: var(--ink);
  font-weight: 700; font-size: 18px;
  width: 50px; padding: 7px 0; text-align: center;
  border-radius: 10px; line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: "≡ "; }
.menu[open] summary::before { content: "× "; }
nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 10px; border-radius: 9px; line-height: 1.2; white-space: nowrap;
}
nav a:hover { color: var(--red); background: rgba(214, 31, 44, .08); }
a:focus { outline: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* Контент */
main { padding: 22px 20px 56px; }

/* Темный hero-блок */
.hero-band {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: 18px; padding: 26px 22px; margin: 6px 0;
}
.hero-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 6%, rgba(214, 31, 44, .38), transparent 55%);
}
.hero-band > * { position: relative; }
.kicker {
  display: inline-block; margin: 0 0 12px;
  font-size: 14px; font-weight: 700;
  color: #ff8f98; background: rgba(214, 31, 44, .18);
  padding: 5px 13px; border-radius: 999px;
}
.hero-band h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(1.65rem, 5.6vw, 2.55rem);
  line-height: 1.18; letter-spacing: -.015em;
  margin: 0 0 10px;
}
.hero-band .lead { color: #c3c9d2; margin: 0; font-size: clamp(1rem, 2.6vw, 1.15rem); }
.hero-band .hero { margin: 20px 0 2px; }
.hero { margin: 20px 0 8px; }
.hero img {
  width: 100%; height: auto; display: block; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

/* Заголовки разделов */
h2 {
  font-size: clamp(1.2rem, 3.4vw, 1.45rem); font-weight: 800;
  line-height: 1.3; margin: 34px 0 10px; letter-spacing: -.01em;
}
p { margin: 10px 0; }
.lead { color: var(--mut); }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

/* Полоса цифр */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 4px; }
.stats div {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 8px; text-align: center;
}
.stats b { display: block; font-size: clamp(1.35rem, 6vw, 1.9rem); color: var(--red); line-height: 1.1; font-weight: 800; }
.stats span { font-size: .82rem; color: var(--mut); line-height: 1.4; display: block; margin-top: 4px; }

/* Карточки */
.cards { display: grid; gap: 14px; margin: 24px 0; grid-template-columns: 1fr; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0 0 12px; color: var(--mut); font-size: .97rem; }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

/* Списки */
ul.tight { list-style: none; margin: 12px 0; padding: 0; }
ul.tight li { position: relative; padding-left: 26px; margin-bottom: 9px; }
ul.tight li::before {
  content: "→"; position: absolute; left: 2px; top: 0;
  color: var(--red); font-weight: 800;
}

/* Панель связи */
.cta {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  margin: 30px 0 6px; padding: 22px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
}
.cta span { font-size: 1rem; margin-right: auto; }
.cta a {
  display: inline-block; color: #fff; text-decoration: none; font-weight: 700;
  background: var(--red); padding: 11px 20px; border-radius: 10px;
  line-height: 1.3; white-space: nowrap;
}
.cta a:hover { background: var(--red-dark); color: #fff; }

/* Подвал */
.foot { background: var(--ink); color: #cfd4db; }
.foot-in {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  padding-top: 26px; padding-bottom: 28px;
}
.foot strong { color: #fff; font-size: 1.05rem; }
.foot p { margin: 5px 0; font-size: .95rem; }
.foot a { color: #fff; }

/* Планшет и десктоп */
@media (min-width: 640px) {
  body { font-size: 17px; }
  .menu summary { display: none; }
  .menu { display: none; }
  .desk { display: flex; margin-left: auto; }
  .desk a { font-size: 15.5px; padding: 8px 13px; }
  main { padding-top: 30px; }
  .hero-band { padding: 38px 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: hover) {
  .card { transition: transform .15s ease, box-shadow .15s ease; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(22, 24, 29, .10); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
