@charset "UTF-8";

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/cyrillic-400-normal.woff2) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/cyrillic-500-normal.woff2) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/cyrillic-600-normal.woff2) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/cyrillic-700-normal.woff2) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter@latest/cyrillic-800-normal.woff2) format("woff2");
  font-display: swap;
}

:root {
  --navy: #0d224e;
  --navy-2: #123069;
  --navy-3: #1b3f85;
  ---accent-2: #3f8cff;
  --teal: #00a5a8;
  --ink: #101828;
  --muted: #5c6675;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e3e8f2;
  --r: 16px;
  --shadow: 0 10px 30px rgba(13, 34, 78, .08);
  --shadow-lg: 0 18px 44px rgba(13, 34, 78, .14);
  --p-text: #000;
  --p-main: #a40032;
  --p-main-2: #ff0d33;
  --p-gray: #7c8f8a;
  --p-sub: #0012ba;
  --p-sub-2: #82bcc6;
  --p-sub-soft: #e9f1ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--p-text);
  line-height: 1.65;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--p-sub);
}

a:hover {
  text-decoration: none;
}

.container {
  max-width: 1140px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-head {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 14px rgba(13, 34, 78, 0.06);
  padding: 12px 0;
  min-height: 110px;
}

.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo img {
  width: 232px;
}

.main-nav {
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--p-text);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.18s;
  border: 1px solid transparent;
}

.main-nav a:hover {
  color: #4b88a2;
  border-color: var(--p-sub-2);
}

.main-nav a.active {
  background: #EBE8EE;
  color: #4b88a2;
  border-color: transparent;
}

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
}

/* ---------- hero ---------- */

.hero {
  background: var(--p-main);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0 20px 0 calc(300px + clamp(24px, 4vw, 52px));
}

.hero-in {
  position: relative;
  z-index: 1;
  padding: 64px 0 58px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 820px;
}

.hero p.lead {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 19px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: 0.18s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-accent {
  background: var(--p-sub);
  color: #fff;
}

.btn-accent:hover {
  background: var(--navy-3);
}

/* ---------- layout ---------- */

.page {
  padding: 48px 0 72px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.doc-side {
  position: sticky;
  top: 120px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: 0.15s;
  border: 1px solid transparent;
}

.side-nav a:hover {
  background: #fff;
  color: #4b88a2;
  text-decoration: none;
  border-color: var(--p-sub-2);
}

.side-nav a.active {
  background: #EBE8EE;
  color: #4b88a2;
  border-color: transparent;
}

.side-nav .ico {
  font-size: 17px;
}

/* ---------- article ---------- */

.article {
  padding: 0 clamp(24px, 4vw, 52px);
  min-width: 0;
}

.doc-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.doc-head .tag {
  display: inline-block;
  background: var(--p-sub-soft);
  color: var(--p-sub);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.doc-head h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.18;
}

.prose {
  font-size: 16.5px;
}

.prose .prose-image-zoom {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  border-radius: 8px;
}

.prose .prose-image-zoom:focus-visible {
  outline: 3px solid var(--p-sub);
  outline-offset: 4px;
}

.prose .prose-image-zoom img {
  cursor: zoom-in;
}

.prose h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  color: var(--navy);
  margin: 44px 0 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding-left: 14px;
  border-left: 5px solid var(--p-sub);
  border-radius: 2px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 30px 0 12px;
}

.prose h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--ink);
}

.prose p {
  margin: 0 0 14px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--p-sub);
  font-weight: 700;
}

.prose strong {
  color: var(--p-main-2);
}

.prose blockquote {
  background: var(--p-sub-soft);
  border-left: 5px solid var(--p-sub);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 0 0 20px;
  color: #23344f;
}

.prose blockquote.yellow {
  background: #fff9e6;
  border-left-color: #f9c74f;
  color: #6b5200;
}

.prose blockquote.orange {
  background: #fff3e0;
  border-left-color: #f4845f;
  color: #9c3d00;
}

.prose blockquote.red {
  background: #ffebee;
  border-left-color: #e63946;
  color: #a0001e;
}

.prose blockquote.green {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #1b5e20;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration: none;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 34px 0;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 32px;
}

.values-grid div {
  background: var(--p-main);
  border: 1px solid #d8e4f8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

/* ---------- cards (index sections) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0 36px;
}

.cards a.card {
  text-decoration: none;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: 0.2s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  border-color: var(--p-sub-2);
}

.card:hover .more {
  color: var(--p-sub-2);
}

.card .c-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EBE8EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.card b {
  font-size: 16.5px;
  color: var(--navy);
}

.card .more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--p-sub);
  margin-top: auto;
  text-decoration: underline;
  transition: 0.2s;
}

.card.static {
  cursor: default;
}

.card.static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.cards-vozmozhnosti .card {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- contact cards ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.contact-card h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.contact-card .sub {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- accordion ---------- */

.acc {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin: 12px 0;
  background: #fff;
}

.acc > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 500;
  color: var(--navy);
  transition: 0.15s;
}

.acc > summary::-webkit-details-marker {
  display: none;
}

.acc > summary:hover {
  background: var(--p-sub-soft);
}

.acc > summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--p-sub);
  font-size: 18px;
  font-weight: 700;
}

.acc[open] > summary::after {
  content: "—";
}

.acc .acc-body {
  padding: 20px;
}

/* ---------- steps ---------- */

.steps {
  counter-reset: st;
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}

.steps > li {
  counter-increment: st;
  position: relative;
  padding: 0 0 16px 52px;
}

.steps > li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p-sub);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}

/* ---------- prev/next ---------- */

.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 44px;
}

.pn a {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  transition: 0.18s;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
}

.pn a:hover {
  border-color: var(--p-sub-2);
  box-shadow: var(--shadow);
}

.pn a:hover b {
  color: var(--p-sub-2);
}

.pn small {
  display: block;
  color: var(--p-gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-decoration: none;
}

.pn b {
  color: var(--p-sub);
  font-size: 15px;
  text-decoration: underline;
  transition: 0.18s;
}

.pn .next {
  text-align: right;
  margin-left: auto;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.stat {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #fff;
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.stat span {
  font-size: 13px;
  color: #b9c8ea;
}

/* ---------- files ---------- */

.files {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 30px 0;
}

a[href$=".doc"],
a[href$=".docx"],
a[href$=".pdf"],
a[href$=".PDF"],
a[href$=".ppt"],
a[href$=".pptx"],
a[href$=".rar"],
a[href$=".xlsx"],
a[href$=".xlsm"],
a[href$=".xls"],
a[href$=".ZIP"],
a[href$=".zip"],
a[href*="docs.google.com"] {
  min-height: 39px;
}

a[href$=".doc"]:not(.link),
a[href$=".docx"]:not(.link),
a[href$=".pdf"]:not(.link),
a[href$=".PDF"]:not(.link),
a[href$=".ppt"]:not(.link),
a[href$=".pptx"]:not(.link),
a[href$=".rar"]:not(.link),
a[href$=".xlsx"]:not(.link),
a[href$=".xlsm"]:not(.link),
a[href$=".xls"]:not(.link),
a[href$=".ZIP"]:not(.link),
a[href$=".zip"]:not(.link),
a[href*="docs.google.com"]:not(.link) {
  color: var(--p-sub);
}

a[href$=".doc"]:not(.link):hover,
a[href$=".docx"]:not(.link):hover,
a[href$=".pdf"]:not(.link):hover,
a[href$=".PDF"]:not(.link):hover,
a[href$=".ppt"]:not(.link):hover,
a[href$=".pptx"]:not(.link):hover,
a[href$=".rar"]:not(.link):hover,
a[href$=".xlsx"]:not(.link):hover,
a[href$=".xlsm"]:not(.link):hover,
a[href$=".xls"]:not(.link):hover,
a[href$=".ZIP"]:not(.link):hover,
a[href$=".zip"]:not(.link):hover,
a[href*="docs.google.com"]:not(.link):hover {
  color: var(--p-sub-2);
}

a[href$=".doc"]:not(.link)::before,
a[href$=".docx"]:not(.link)::before,
a[href$=".pdf"]:not(.link)::before,
a[href$=".PDF"]:not(.link)::before,
a[href$=".ppt"]:not(.link)::before,
a[href$=".pptx"]:not(.link)::before,
a[href$=".rar"]:not(.link)::before,
a[href$=".xlsx"]:not(.link)::before,
a[href$=".xlsm"]:not(.link)::before,
a[href$=".xls"]:not(.link)::before,
a[href$=".ZIP"]:not(.link)::before,
a[href$=".zip"]:not(.link)::before,
a[href*="docs.google.com"]:not(.link)::before {
  width: 35px;
  height: 35px;
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 4px;
  vertical-align: middle;
}

a[href$=".pdf"]::before,
a[href$=".PDF"]::before {
  content: url(./..//img/file_icon/pdf.svg);
}

a[href$=".doc"]::before,
a[href$=".docx"]::before {
  content: url(./..//img/file_icon/docx.svg);
}

a[href$=".ppt"]::before,
a[href$=".pptx"]::before {
  content: url(./..//img/file_icon/pptx.svg);
}

a[href$=".rar"]::before {
  content: url(./..//img/file_icon/rar.svg);
}

a[href$=".xlsx"]::before,
a[href$=".xlsm"]::before,
a[href$=".xls"]::before {
  content: url(./..//img/file_icon/xlsx.svg);
}

a[href$=".ZIP"]::before,
a[href$=".zip"]::before {
  content: url(./..//img/file_icon/zip.svg);
}

a[href*="docs.google.com"]::before {
  content: url(./..//img/file_icon/google.png);
}

/* ---------- responsive ---------- */

.swiper {
  --swiper-navigation-size: 36px;
  --swiper-pagination-bottom: 0;
  --swiper-pagination-color: var(--p-sub);
  --swiper-pagination-bullet-inactive-color: var(--p-sub-2);
  --swiper-pagination-bullet-inactive-opacity: 1;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--p-sub-2);
  color: #fff;
  width: auto;
  transition: 0.18s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover {
  background-color: var(--p-sub);
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-size: calc(var(--swiper-navigation-size) / 2);
}

.swiper .swiper-pagination {
  display: none;
  height: 27px;
}

.swiper-ov img,
.swiper-ov a {
  max-width: 100%;
  width: 800px;
  margin: 0 auto;
}

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

@media (max-width: 1020px) {
  .site-head {
    min-height: unset;
  }

  .logo img {
    width: 172px;
  }

  .hero {
    padding: 0 20px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-side {
    display: none;
  }

  .article {
    padding: 0;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 12px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    white-space: normal;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .swiper {
    padding-bottom: 27px;
  }

  .swiper .swiper-button-next,
  .swiper .swiper-button-prev {
    display: none;
  }

  .swiper .swiper-pagination {
    display: block;
  }
}

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

  .values-grid div {
    width: 100%;
  }

  .pn {
    grid-template-columns: 1fr;
  }

  .pn a {
    width: 100%;
  }

  .topbar-links {
    gap: 12px;
  }
}