:root {
  --bg: #fff9ef;
  --surface: #ffffff;
  --ink: #1f2a37;
  --muted: #64707d;
  --line: #ece4d6;
  --primary: #0f8a7e;
  --primary-dark: #0a6a61;
  --primary-soft: #e3f4f1;
  --sun: #ffc53d;
  --coral: #ff7a59;
  --sky: #dff1fb;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(31, 42, 55, .07);
  --topbar-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--primary-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 8px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.brand__logo { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand__name { font-weight: 800; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__name--short { display: none; }
.topnav { display: flex; gap: 2px; }
.topnav a { padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.topnav a:hover { background: #f3ede1; }
.topnav a[aria-current="page"] { color: var(--primary-dark); background: var(--primary-soft); }
@media (max-width: 1399px) {
  .topbar__phone, .brand__name--full { display: none; }
  .brand__name--short { display: inline; }
}
@media (max-width: 1100px) { .topnav { display: none; } }
.topbar__phone { font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }

.lang { display: flex; background: #f3ede1; border-radius: 999px; padding: 4px; flex: none; }
.lang button {
  border: 0; background: transparent; padding: 6px 14px; border-radius: 999px;
  font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--primary); color: #fff; }

.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--primary-soft); padding: 11px 10px; flex: none; }
.burger span { display: block; height: 3px; border-radius: 3px; background: var(--primary-dark); }
.burger span + span { margin-top: 5px; }

/* ---------- Каркас ---------- */
.layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  align-items: start;
}
main { min-width: 0; outline: none; }
.scrim { display: none; }

/* ---------- Боковое меню со «шторками» ---------- */
.sidebar {
  position: sticky; top: calc(var(--topbar-h) + 20px);
  max-height: calc(100vh - var(--topbar-h) - 40px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.search { display: flex; align-items: center; gap: 8px; background: #f7f2e8; border-radius: 12px; padding: 0 12px; margin-bottom: 10px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 10px 0; color: var(--ink); outline: none; }

.group + .group { margin-top: 6px; }
.group__head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  border: 0; background: transparent; text-align: left;
  padding: 11px 10px; border-radius: 12px;
  font-weight: 800; font-size: 16px;
}
.group__head:hover { background: #f7f2e8; }
.group__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.group__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.group:nth-child(4n+1) .group__icon { background: var(--primary-soft); color: var(--primary-dark); }
.group:nth-child(4n+2) .group__icon { background: #fff1cf; color: #8a5a00; }
.group:nth-child(4n+3) .group__icon { background: #ffe6de; color: #b5432a; }
.group:nth-child(4n+4) .group__icon { background: var(--sky); color: #1b6a94; }
.group__title { flex: 1; }
.group__chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; flex: none; }
.group__head[aria-expanded="true"] .group__chev { transform: rotate(180deg); }

.group__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.group__head[aria-expanded="true"] + .group__panel { grid-template-rows: 1fr; }
.group__list { overflow: hidden; margin: 0; padding: 0 0 0 28px; list-style: none; }
.group__list li { border-left: 2px solid var(--line); }
.group__list a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 16px; margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35;
  border-radius: 0 10px 10px 0;
}
.group__list a:hover { background: #f7f2e8; }
.group__list a[aria-current="page"] { border-left-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; }
.group__list a span:first-child { flex: 1; }
.badge { font-size: 12px; font-weight: 800; background: #f3ede1; color: var(--muted); border-radius: 999px; padding: 1px 8px; flex: none; }
a[aria-current="page"] .badge { background: #fff; color: var(--primary-dark); }
.navlink { text-decoration: none; color: var(--ink); margin-top: 6px; }
.navlink .group__icon { background: #ece3fb; color: #6a3fc0; }
.navlink[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }
.nav-empty { color: var(--muted); font-size: 15px; padding: 10px; }
[hidden] { display: none !important; }

/* ---------- Главная ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #cdeaf9 0%, #e9f7ee 70%);
  padding: 56px 48px 150px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; max-width: 15em; position: relative; }
.hero p { max-width: 34em; font-size: 19px; margin: 16px 0 26px; color: #33424f; position: relative; }
.hero__art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; display: block; }
.hero--photo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding-bottom: 120px; }
.hero__text { position: relative; z-index: 1; }
.hero__photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; border: 6px solid #fff; box-shadow: 0 16px 40px rgba(31, 42, 55, .18);
  transform: rotate(2deg);
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 800; padding: 13px 24px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 138, 126, .3);
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow); }
.btn--ghost:hover { background: #fff; }

.block { margin-top: 44px; }
.block > h2 { font-size: 26px; font-weight: 900; margin-bottom: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1240px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31, 42, 55, .11); }
.card h3 { font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card__more { font-weight: 800; color: var(--primary-dark); font-size: 15px; }
.card::before { content: ""; width: 44px; height: 6px; border-radius: 6px; background: var(--sun); }
.card:nth-child(4n+2)::before { background: var(--coral); }
.card:nth-child(4n+3)::before { background: var(--primary); }
.card:nth-child(4n+4)::before { background: #5db7e6; }

.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.block__head h2 { font-size: 26px; font-weight: 900; }
.block__head a { font-weight: 800; text-decoration: none; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.thumb { border: 0; padding: 0; background: #f3ede1; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform .25s; }
.thumb:hover img { transform: scale(1.05); }
.page__gallery { margin-top: 24px; }
.gallery--tall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gallery--tall .thumb { aspect-ratio: 3 / 4; }
.gallery--tall .thumb img { object-position: 50% 50%; }
.page h2 small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 8px; }

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(15, 25, 30, .9); }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 10px; background: #fff; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 30px; line-height: 1; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__count { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; }
.stat:nth-child(2) { background: #d9573a; }
.stat:nth-child(3) { background: #b07a00; }
.stat:nth-child(4) { background: #2a7fb3; }
.stat b { display: block; font-size: 42px; font-weight: 900; line-height: 1.1; }
.stat span { font-weight: 700; font-size: 15px; }

.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.contact--wide { grid-column: span 2; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact small { display: block; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; margin-bottom: 4px; }
.contact a, .contact span { font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }

.map { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.map__links { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
.map__links .btn { padding: 10px 18px; font-size: 15px; }

.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.info__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.info__card h2 { font-size: 19px; font-weight: 900; margin-bottom: 14px; }
.symbols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.symbols a {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 10px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 800;
}
.symbols a:hover { border-color: var(--primary); color: var(--primary-dark); }
.symbols__img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.symbols__img--flag { width: 40px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.res a { font-weight: 700; text-decoration: none; }
.res a:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--primary-soft); color: var(--primary-dark); font-weight: 900; font-size: 14px; }
.table td:nth-child(n+4), .table th:nth-child(n+4) { text-align: right; white-space: nowrap; }
.table td:first-child { font-weight: 800; }
.table tbody tr:nth-child(even) { background: #fffdf8; }
.table tfoot td { font-weight: 900; border-bottom: 0; background: #f7f2e8; }
body.a11y .table th, body.a11y .table td { border-color: #000; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.item { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fffdf8; }
.item::before { content: ""; display: block; width: 36px; height: 6px; border-radius: 6px; background: var(--sun); margin-bottom: 12px; }
.item:nth-child(4n+2)::before { background: var(--coral); }
.item:nth-child(4n+3)::before { background: var(--primary); }
.item:nth-child(4n+4)::before { background: #5db7e6; }
.item h3 { font-size: 18px; font-weight: 900; }
.item p { margin: 6px 0 0; color: #3b4855; font-size: 16px; }

.director {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow);
}
.director__photo { width: 200px; height: 240px; object-fit: cover; object-position: 50% 25%; border-radius: 20px; display: block; }
.director__photo--empty { background: var(--primary-soft); display: grid; place-items: center; }
.director__photo--empty svg { width: 96px; height: 96px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; }
.director h3 { font-size: 22px; font-weight: 900; }
.director__role { color: var(--primary-dark); font-weight: 800; margin-top: 2px; }
.director p { margin: 12px 0 18px; color: #3b4855; max-width: 40em; }
body.a11y .director { border-width: 2px; }
body.a11y .director p { color: #000; }

/* ---------- Иконки в блоках ---------- */
.chip { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: #fff1cf; color: #8a5a00; }
.chip svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card--icon::before, .item--icon::before { display: none; }
.card--icon .chip, .item--icon .chip { margin-bottom: 6px; }
.item--icon .chip { margin-bottom: 12px; }
.card:nth-child(4n+2) .chip, .item:nth-child(4n+2) .chip, .contact:nth-child(4n+2) .chip { background: #ffe6de; color: #b5432a; }
.card:nth-child(4n+3) .chip, .item:nth-child(4n+3) .chip, .contact:nth-child(4n+3) .chip { background: var(--primary-soft); color: var(--primary-dark); }
.card:nth-child(4n+4) .chip, .item:nth-child(4n+4) .chip, .contact:nth-child(4n+4) .chip { background: var(--sky); color: #1b6a94; }
.contact .chip { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 10px; }
.contact .chip svg { width: 20px; height: 20px; }
.stat__ic { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.stat__ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
body.a11y .chip { background: #fff !important; color: #000 !important; border: 2px solid #000; }

/* ---------- Плавающая кнопка WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 25;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Кнопка и режим для слабовидящих ---------- */
.a11y-btn { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f3ede1; display: grid; place-items: center; flex: none; }
.a11y-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.a11y-btn[aria-pressed="true"] { background: #000; }
.a11y-btn[aria-pressed="true"] svg { stroke: #fff; }

body.a11y {
  --bg: #ffffff; --surface: #ffffff; --ink: #000000; --muted: #111111; --line: #000000;
  --primary: #003f8f; --primary-dark: #002a61; --primary-soft: #e6eefb; --shadow: none;
}
body.a11y .layout, body.a11y .footer { zoom: 1.2; }
body.a11y a { text-decoration: underline; }
body.a11y .hero { background: #fff; border: 2px solid #000; }
body.a11y .hero__art { display: none; }
body.a11y .hero p, body.a11y .page__text, body.a11y .item p, body.a11y .card p { color: #000; }
body.a11y .card, body.a11y .page, body.a11y .sidebar, body.a11y .contact, body.a11y .info__card, body.a11y .file, body.a11y .item { border-width: 2px; }
body.a11y .stat { background: #000 !important; }
body.a11y :focus-visible { outline: 4px solid #000; }

/* ---------- Страница раздела ---------- */
.crumbs { font-size: 14px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary-dark); }
.page {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 36px 40px 40px;
}
.page h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.page__text { font-size: 18px; color: #3b4855; max-width: 46em; margin: 14px 0 0; }
.page h2 { font-size: 20px; font-weight: 900; margin: 34px 0 14px; }

.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.file {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  background: #fffdf8; transition: border-color .15s, background .15s;
}
.file:hover { border-color: var(--primary); background: #fff; }
.file__type {
  width: 48px; height: 56px; border-radius: 9px; flex: none;
  display: grid; place-items: end center; padding-bottom: 8px;
  font-size: 11px; font-weight: 900; letter-spacing: .04em; color: #fff; background: #7b8794;
  clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%);
}
.file__type[data-t="pdf"] { background: #d8432b; }
.file__type[data-t="doc"], .file__type[data-t="docx"] { background: #2f6fd6; }
.file__type[data-t="xls"], .file__type[data-t="xlsx"] { background: #17804a; }
.file__type[data-t="ppt"], .file__type[data-t="pptx"] { background: #c4620f; }
.file__type[data-t="jpg"], .file__type[data-t="jpeg"], .file__type[data-t="png"] { background: #8a5cd6; }
.file__body { flex: 1; min-width: 0; }
.file__title { font-weight: 800; overflow-wrap: anywhere; }
.file__meta { font-size: 14px; color: var(--muted); font-weight: 600; }
.file__dl {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--primary-soft); color: var(--primary-dark); text-decoration: none;
  font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px;
}
.file__dl:hover { background: var(--primary); color: #fff; }
.file__dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.empty { border: 2px dashed var(--line); border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); font-weight: 700; }

.siblings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.siblings a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); }
.siblings a:hover { border-color: var(--primary); color: var(--primary-dark); }


/* ---------- Главная в стиле лендинга ---------- */
@media (min-width: 941px) {
  body.is-landing .sidebar { display: none; }
}
body.is-landing .layout { display: block; max-width: none; padding: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lsec { padding: 76px 0; scroll-margin-top: 60px; }
.lsec--tint { background: #f1f8f6; }
.lsec__head { margin-bottom: 30px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 24px; }
.lsec__head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; flex-basis: 100%; letter-spacing: -.01em; }
.lsec__head .lsec__link { order: 3; font-weight: 800; text-decoration: none; }
.eyebrow { flex-basis: 100%; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: #d9573a; }
.lsec__lead { color: #3b4855; font-size: 18px; max-width: 38em; margin: 0 0 26px; }

.lhero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #1d3b40; }
.lhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.lhero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 38, 42, .86) 0%, rgba(8, 38, 42, .6) 45%, rgba(8, 38, 42, .08) 100%); }
.lhero__in { position: relative; padding-top: 72px; padding-bottom: 140px; width: 100%; }
.lhero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 900; max-width: 11em; line-height: 1.05; letter-spacing: -.015em; }
.lhero p { font-size: 20px; max-width: 30em; color: rgba(255, 255, 255, .92); margin: 18px 0 22px; }
.lhero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3);
  padding: 6px 14px 6px 8px; border-radius: 999px; font-weight: 800; font-size: 14px;
}
.lhero__badge-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--sun); stroke-width: 2.2; display: block; }
.lhero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.lhero__chips span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.lhero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lhero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; display: block; }
.btn--sun { background: var(--sun); color: #3b2a00; box-shadow: 0 8px 22px rgba(255, 197, 61, .35); }
.btn--sun:hover { background: #ffb700; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about__pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.about__pics img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.about__pics img:first-child { grid-row: span 2; }
.about__stats { margin-top: 52px; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.why__card .chip { margin-bottom: 14px; width: 50px; height: 50px; border-radius: 15px; }
.why__card h3 { font-size: 20px; font-weight: 900; }
.why__card p { margin: 6px 0 0; color: var(--muted); }
.why__card:nth-child(4n+2) .chip { background: #ffe6de; color: #b5432a; }
.why__card:nth-child(4n+3) .chip { background: var(--primary-soft); color: var(--primary-dark); }
.why__card:nth-child(4n+4) .chip { background: var(--sky); color: #1b6a94; }
.items--land { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.items--land .item { background: var(--surface); }
.gallery--land { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 900; font-size: 20px; margin-bottom: 14px;
}
.steps li:nth-child(2)::before { background: #d9573a; }
.steps li:nth-child(3)::before { background: #b07a00; }
.steps h3 { font-size: 20px; font-weight: 900; }
.steps p { margin: 6px 0 0; color: var(--muted); }

.official { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin-bottom: 36px; }
.official__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.official__groups a {
  display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px; text-decoration: none; color: var(--ink); font-weight: 800; transition: border-color .15s, transform .15s;
}
.official__groups a:hover { border-color: var(--primary); transform: translateY(-2px); }
.official__groups small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.official__groups a:nth-child(2) .chip { background: #ffe6de; color: #b5432a; }
.official__groups a:nth-child(3) .chip { background: var(--primary-soft); color: var(--primary-dark); }
.official__groups a:nth-child(4) .chip { background: var(--sky); color: #1b6a94; }

.doc-group { display: flex; align-items: center; gap: 12px; }
.doc-group .chip { width: 38px; height: 38px; }
.doclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.doclist a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; background: #fffdf8;
}
.doclist a:hover { border-color: var(--primary); }

body.a11y .lhero__shade { background: rgba(0, 0, 0, .82); }
body.a11y .lsec--tint { background: #fff; }
body.a11y .why__card, body.a11y .steps li, body.a11y .official__groups a, body.a11y .doclist a { border-width: 2px; }

@media (max-width: 940px) {
  .wrap { padding: 0 16px; }
  .lsec { padding: 52px 0; }
  .lhero { min-height: 640px; align-items: flex-end; }
  .lhero__shade { background: linear-gradient(180deg, rgba(8, 38, 42, .25) 0%, rgba(8, 38, 42, .88) 60%); }
  .lhero__in { padding-top: 120px; padding-bottom: 96px; }
  .lhero p { font-size: 17px; }
  .lhero__wave { height: 54px; }
  .about, .official { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about__pics { grid-template-rows: 150px 150px; }
  .why, .items--land { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery--land { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .why, .items--land, .official__groups { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Подвал ---------- */
.footer { background: #17323a; color: #cfe1e0; padding: 32px 24px; font-size: 15px; }
.footer__in { max-width: 1272px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.footer b { color: #fff; }
.footer a { color: #cfe1e0; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 940px) {
  .burger { display: block; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar__phone { display: none; }
  .lang { margin-left: auto; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 48px; }
  .sidebar {
    position: fixed; z-index: 40; top: 0; left: 0; bottom: 0;
    width: min(340px, 88vw); max-height: none; border-radius: 0 20px 20px 0; border: 0;
    transform: translateX(-105%); transition: transform .25s ease;
  }
  body.nav-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(23, 50, 58, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .hero { padding: 36px 24px 110px; border-radius: 22px; }
  .hero p { font-size: 17px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero--photo { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 100px; }
  .hero__photo { transform: none; }
  .director { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .director__photo { width: 100%; max-width: 260px; height: 280px; }
  .a11y-btn { width: 38px; height: 38px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .map iframe { height: 300px; }
  .stat b { font-size: 34px; }
  .page { padding: 24px 18px 26px; border-radius: 20px; }
  .file { flex-wrap: wrap; }
  .file__dl { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  .contacts { grid-template-columns: minmax(0, 1fr); }
  .contact--wide { grid-column: auto; }
  .topbar { gap: 8px; padding: 0 12px; }
  .brand { gap: 8px; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 15px; }
  .lang button { padding: 5px 9px; font-size: 12px; }
  .a11y-btn { width: 36px; height: 36px; }
  .symbols a { flex-direction: column; gap: 6px; padding: 10px 6px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
