:root {
  --blue: #3b82f6;
  --blue-deep: #306fb3;
  --blue-navy: #0b5c96;
  --blue-soft: #eff6ff;
  --green: #69a144;
  --green-light: #8fbf4d;
  --green-strong: #16a34a;
  --green-dark: #047857;
  --green-soft: #ecfdf5;
  --orange: #ef6536;
  --orange-deep: #c7440f;
  --amber: #f59e0b;
  --yellow: #fee200;
  --logo-bar: linear-gradient(90deg, #306fb3 0 25%, #69a144 25% 50%, #fee200 50% 75%, #ef6536 75%);
  --bg: #f8fafc;
  --bg-bar: #f4f6f9;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-2: #334155;
  --text-3: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --map: #0a1220;
  --map-2: #0f1d30;
  --shadow: 0 1px 2px rgba(29, 31, 35, 0.06);
  --shadow-md: 0 8px 20px rgba(29, 31, 35, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1312px;
  --pad: 16px;
  --header-offset: 140px;
  --font: "Plus Jakarta Sans", "Golos Text", Inter, system-ui, sans-serif;
  --font-ui: Inter, "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Golos Text", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 360px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.skip-link + .skip-link:focus {
  left: 240px;
}

.container {
  width: min(100% - var(--pad) * 2, var(--container));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  background: var(--bg-bar);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-3);
}

.topbar__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  min-height: 48px;
}

.topbar__meta,
.topbar__actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.topbar__meta {
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
}

.topbar__actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
}

.topbar__addr {
  max-width: 100%;
}

.topbar__addr > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__addr svg {
  color: var(--blue-navy);
}

.topbar__sep--meta {
  display: none;
}

.topbar__lang {
  gap: 0;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.topbar__lang > svg {
  display: none;
}

.topbar__sep {
  display: none;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.topbar__hours {
  align-items: center;
  line-height: 1.25;
}

.topbar__hours-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.topbar__hours-gap {
  display: none;
}

.topbar__hours-part {
  white-space: nowrap;
}

.topbar .a11y-open {
  position: relative;
  width: 36px;
  min-height: 36px;
  padding: 0;
  justify-content: center;
  text-decoration: none;
}

.a11y-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #94a3b8;
}

.topbar__item--addr svg {
  color: var(--blue-navy);
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: var(--line-2);
}

.a11y-btn,
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 6px;
  color: var(--text-2);
  border-radius: 6px;
  text-decoration: none;
}

.a11y-btn:hover,
.lang-btn:hover {
  background: rgba(15, 23, 42, 0.04);
}

.lang-btn {
  font-weight: 500;
  color: var(--text-3);
}

.lang-btn.is-active {
  font-weight: 700;
  color: var(--blue-navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: #fff;
  box-shadow: var(--shadow);
}

.header-main {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 72px;
}

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

.state-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
}

.state-symbols img {
  display: block;
  width: auto;
  object-fit: contain;
}

.state-symbols__emblem {
  height: 42px;
}

.state-symbols__flag {
  height: 28px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 0;
}

.brand-lockup .logo {
  flex: 1 1 auto;
}

.logo--wordmark {
  flex: 0 1 248px;
  max-width: min(248px, 62vw);
}

.logo picture {
  display: block;
  width: 100%;
  min-width: 0;
}

.logo__full { display: none; }
.logo__short { display: inline; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.logo img {
  width: 48px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 48px;
}

.logo--wordmark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__kicker {
  display: none;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #1d4f8a;
}

.logo__title {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #0b3b73;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.header-search {
  display: none;
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field > svg {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 16px;
  height: 16px;
  transform: none;
  color: #595c61;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 92px 0 40px;
  border: 1px solid #c8cbcf;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.search-field input::placeholder {
  color: #94a3b8;
}

.search-field > button[type="submit"] {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 32px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

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

.btn-cabinet {
  display: inline-flex;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 1px 3px rgba(29, 31, 35, 0.12);
}
.btn-cabinet:hover { background: #1d4f8a; }

.cabinet-full { display: none; }
.cabinet-short { display: inline; }

.menu-toggle {
  display: none;
}

.menu-toggle__bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] {
  background: #0f172a;
  color: #fff;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: block;
  position: relative;
  border-top: 1px solid var(--line);
  background-color: #f7f8fa;
  overflow: visible;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f7f8fa;
  background-image: url("/assets/ornam-gray.png");
  background-repeat: repeat;
  background-position: center;
  background-size: auto 62px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0.05;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.nav__links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  flex-wrap: nowrap;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-link:hover {
  box-shadow: var(--shadow);
}

.nav-link--amber { color: var(--amber); border-color: var(--amber); }
.nav-link--blue { color: var(--blue-deep); border-color: var(--blue-deep); background: #fff; box-shadow: var(--shadow); }
.nav-link--orange { color: var(--orange); border-color: var(--orange); }
.nav-link--green { color: #69a144; border-color: #69a144; }
.nav-link--sky { color: var(--blue); border-color: var(--blue); }

.nav__hotline {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 32px;
  padding: 3px 10px 3px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}

.nav__hotline:hover {
  background: #f3f7fb;
  text-decoration: none;
}

.nav__hotline:focus-visible,
.nav__hotline--115:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: -2px;
}

.nav__aside {
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  column-gap: 10px;
  gap: 0;
  margin: 6px 0 6px auto;
  flex: 0 1 auto;
  width: max-content;
  min-width: 0;
  max-width: min(460px, 100%);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(48, 111, 179, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 36, 71, 0.08);
}

.nav__aside .nav__hotline {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  margin-left: 0;
  flex: 0 0 auto;
}

.nav__hotline-copy {
  display: contents;
}

.nav__hotline-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #5a6f88;
  text-transform: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  align-self: center;
}

.nav__hotline-dial {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 9.6em;
  justify-self: start;
  align-self: center;
}

.nav__hotline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 42px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: #629e3a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.nav__hotline--115 .nav__hotline-num {
  background: #16a34a;
}

.nav__hotline-247 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #16a34a;
  white-space: nowrap;
}

.mobile-nav .nav__aside {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(48, 111, 179, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 36, 71, 0.08);
}

.mobile-nav .nav__aside .nav__hotline {
  width: 100%;
  border-radius: 0;
}

.nav__hotline-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: #e8f1fb;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(48, 111, 179, 0.16);
}

.nav__hotline-icon svg {
  width: 14px;
  height: 14px;
  max-width: none;
  overflow: visible;
  color: inherit;
}

.hotline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  flex: none;
  background: #629e3a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.mobile-nav {
  display: none;
}

.hero {
  --map-paper: transparent;
  --d-frunz: #b9c8f0;
  --d-mosk: #f0c06e;
  --d-okt: #ee9b94;
  --d-len: #6bcfe6;
  --d-zav: #f0b4a4;
  --d-part: #f2dc5c;
  --d-perv: #b8e05e;
  --d-sov: #d4ced8;
  --d-cen: #ee8cc0;
  background: linear-gradient(180deg, #f4f7f8 0%, #eef3f5 48%, #e8eef2 100%);
  color: var(--text);
  padding: 20px 0 28px;
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -56px;
  left: 14%;
  background: rgba(186, 198, 208, 0.32);
}

.hero::after {
  right: 6%;
  bottom: -90px;
  background: rgba(176, 190, 204, 0.28);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__belarus {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 240%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
  transform: translate(-47%, -42%);
}

.hero__anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

#persons,
#map-title {
  scroll-margin-top: var(--header-offset);
}

.hero__belarus img,
.hero__belarus svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero > .map-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  transform: none !important;
  opacity: 0;
}

.hero > .map-stage.is-yandex,
.hero.is-schematic-map > .map-stage {
  opacity: 1;
}

.hero.is-map-loading .hero__scene,
.hero.is-yandex-map .hero__scene,
.hero:has(.map-stage.is-yandex) .hero__scene {
  visibility: hidden;
}

.hero.is-yandex-map .map-stage.is-yandex {
  border-radius: 0;
  box-shadow: none;
}

.hero.is-yandex-map > .container,
.hero.is-yandex-map .map-shell,
.hero.is-yandex-map .map-canvas,
.hero.is-yandex-map .map-toolbar {
  pointer-events: none;
}

.hero.is-yandex-map .hero__intro,
.hero.is-yandex-map .btn-orange,
.hero.is-yandex-map .map-legend,
.hero.is-yandex-map .center-card,
.hero.is-yandex-map .find-bar,
.hero.is-yandex-map .find-result,
.hero.is-yandex-map .year-badge {
  pointer-events: auto;
}

.hero__head {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: fit-content;
  max-width: min(46rem, 100%);
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  color: var(--text);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  color: #047857;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.hero__badge svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #059669;
}

.hero__title-row {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(16px, 1.35vw + 10px, 22px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0b1220;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0b5c96;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
}

.btn-orange {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 15px rgba(29, 31, 35, 0.14);
  white-space: normal;
  text-align: center;
}

.map-shell {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.map-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 12px;
}

.map-filters,
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
}

.map-filters {
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.map-filters__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.map-filters__label svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  flex: 0 0 auto;
}

.chip[data-district="Все районы"]::before { display: none; }
.chip[data-district="Фрунзенский"]::before { background: var(--d-frunz); }
.chip[data-district="Московский"]::before { background: var(--d-mosk); }
.chip[data-district="Октябрьский"]::before { background: var(--d-okt); }
.chip[data-district="Ленинский"]::before { background: var(--d-len); }
.chip[data-district="Заводской"]::before { background: var(--d-zav); }
.chip[data-district="Партизанский"]::before { background: var(--d-part); }
.chip[data-district="Первомайский"]::before { background: var(--d-perv); }
.chip[data-district="Советский"]::before { background: var(--d-sov); }
.chip[data-district="Центральный"]::before { background: var(--d-cen); }

.chip.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.map-legend {
  justify-content: space-between;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
}

.map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.map-legend button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0b5c96;
  font-size: 11px;
}

.map-legend button svg {
  width: 12px;
  height: 12px;
}

.map-canvas {
  position: relative;
  width: 100%;
  height: 396px;
  overflow: visible;
  background: transparent;
}

.hero .city-shadow,
.minsk-map .city-shadow {
  display: none !important;
}

.map-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-svg-host {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-yandex {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  pointer-events: none;
  filter: saturate(0.82) contrast(0.96) brightness(1.03);
}

.map-yandex .ymaps-2-1-map,
.map-yandex .ymaps-2-1-inner-pane {
  border-radius: 0;
}

.map-yandex [class*="gototech"],
.map-yandex [class*="copyright__promo"],
.map-yandex [class*="copyrights-promo"] {
  display: none !important;
}

.map-copy {
  display: none;
}

.map-stage.is-yandex {
  isolation: isolate;
  background: #dfe6ee;
}

.map-svg-host .map-fallback,
.map-svg-host .minsk-map {
  width: 100%;
  height: 100%;
  display: block;
}

.map-fallback {
  display: none !important;
}

.minsk-map [data-map-pins] {
  display: none;
}

.minsk-map .urban,
.minsk-map .water,
.minsk-map .city-outline,
.minsk-map .city-outline-inner,
.minsk-map .mkad-layer,
.minsk-map .labels,
.minsk-map .city-name,
.minsk-map .chrome,
.minsk-map .city-shadow {
  pointer-events: none;
}

.minsk-map .districts {
  stroke: none;
  isolation: isolate;
}

.minsk-map .district-unit {
  cursor: pointer;
  z-index: 1;
}

.minsk-map .district-unit.is-hover,
.minsk-map .district-unit.is-lifted,
.minsk-map .district-unit:hover {
  z-index: 4;
}

.minsk-map .district,
.minsk-map .district-extrude,
.minsk-map .district-label {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition:
    transform 0.5s cubic-bezier(0.33, 0, 0.2, 1),
    filter 0.5s cubic-bezier(0.33, 0, 0.2, 1),
    fill 0.35s ease,
    fill-opacity 0.45s cubic-bezier(0.33, 0, 0.2, 1),
    opacity 0.45s cubic-bezier(0.33, 0, 0.2, 1),
    stroke 0.35s ease,
    stroke-width 0.5s cubic-bezier(0.33, 0, 0.2, 1);
}

.minsk-map .district-extrude {
  pointer-events: none;
  stroke: none !important;
  filter: brightness(0.58);
  transform: translate(6px, 10px);
  opacity: 0;
}

.minsk-map .district {
  stroke: #fff;
  stroke-width: 1.85;
  stroke-linejoin: round;
  paint-order: stroke fill;
  fill-opacity: 0.92;
  filter: brightness(1) drop-shadow(0 0 0 rgba(15, 23, 42, 0));
}

.minsk-map.is-yandex {
  pointer-events: none;
}

.minsk-map.is-yandex .district-unit {
  pointer-events: auto;
}

.minsk-map.is-yandex .districts {
  isolation: auto;
}

.minsk-map.is-yandex .urban,
.minsk-map.is-yandex .water,
.minsk-map.is-yandex .map-bg,
.minsk-map.is-yandex .city-shadow,
.minsk-map.is-yandex .chrome {
  display: none;
}

.minsk-map.is-yandex .district {
  fill-opacity: 0.52;
  mix-blend-mode: normal;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.6;
}

.minsk-map.is-yandex .district-unit.is-lifted .district,
.minsk-map.is-yandex .district-unit.is-hover .district,
.minsk-map.is-yandex .district-unit:hover .district {
  fill-opacity: 0.86;
  mix-blend-mode: normal;
}

.minsk-map.is-yandex .city-outline {
  stroke: #3a4658;
  stroke-width: 2.8;
}

.minsk-map.is-yandex .mkad-ring,
.minsk-map.is-yandex .mkad-ring-casing {
  display: none;
}

.minsk-map .district[data-district="Фрунзенский"],
.minsk-map .district-unit[data-district="Фрунзенский"] .district-extrude { fill: var(--d-frunz); }
.minsk-map .district[data-district="Московский"],
.minsk-map .district-unit[data-district="Московский"] .district-extrude { fill: var(--d-mosk); }
.minsk-map .district[data-district="Октябрьский"],
.minsk-map .district-unit[data-district="Октябрьский"] .district-extrude { fill: var(--d-okt); }
.minsk-map .district[data-district="Ленинский"],
.minsk-map .district-unit[data-district="Ленинский"] .district-extrude { fill: var(--d-len); }
.minsk-map .district[data-district="Заводской"],
.minsk-map .district-unit[data-district="Заводской"] .district-extrude { fill: var(--d-zav); }
.minsk-map .district[data-district="Партизанский"],
.minsk-map .district-unit[data-district="Партизанский"] .district-extrude { fill: var(--d-part); }
.minsk-map .district[data-district="Первомайский"],
.minsk-map .district-unit[data-district="Первомайский"] .district-extrude { fill: var(--d-perv); }
.minsk-map .district[data-district="Советский"],
.minsk-map .district-unit[data-district="Советский"] .district-extrude { fill: var(--d-sov); }
.minsk-map .district[data-district="Центральный"],
.minsk-map .district-unit[data-district="Центральный"] .district-extrude { fill: var(--d-cen); }

.minsk-map .district-unit.is-lifted .district,
.minsk-map .district-unit.is-hover .district,
.minsk-map .district-unit:hover .district {
  transform: translate(-5px, -14px);
  fill-opacity: 1;
  filter: brightness(1.04) drop-shadow(3px 10px 8px rgba(122, 32, 72, 0.18));
  stroke-width: 2.2;
}

.minsk-map .district-unit.is-lifted .district-extrude,
.minsk-map .district-unit.is-hover .district-extrude,
.minsk-map .district-unit:hover .district-extrude {
  opacity: 0.92;
  filter: brightness(0.58);
}

.minsk-map .district-label {
  opacity: 1;
  font-size: calc(13px * var(--label-scale, 1));
  letter-spacing: 0.01em;
  fill: #1e293b;
  stroke: #fff;
  stroke-width: calc(3.8px * var(--label-scale, 1));
  paint-order: stroke fill;
}

.minsk-map .district-label__suffix {
  font-size: calc(11px * var(--label-scale, 1));
  font-weight: 650;
}

.minsk-map .district-label.is-lifted,
.minsk-map .district-label.is-hover {
  transform: translate(-5px, -14px);
}

.minsk-map .city-outline {
  fill: none;
  stroke: #3e4a5c;
  stroke-width: 3.55;
  stroke-linejoin: round;
}

.minsk-map .city-outline-inner {
  fill: none;
  stroke: #fff;
  stroke-width: 1.15;
  opacity: 0.42;
}

.minsk-map .mkad-ring-casing {
  fill: none;
  stroke: #fff;
  stroke-width: 5.5;
  opacity: 0.8;
}

.minsk-map .mkad-ring {
  fill: none;
  stroke: #5a6573;
  stroke-width: 2.45;
}

.minsk-map .mkad-label {
  font-size: calc(11px * var(--label-scale, 1));
  font-weight: 800;
  letter-spacing: 0.16em;
  fill: #4b5563;
}

.minsk-map .city-name__ru {
  font-size: calc(22px * var(--label-scale, 1));
  font-weight: 800;
}

.minsk-map .city-name__en {
  font-size: calc(13px * var(--label-scale, 1));
  font-weight: 600;
  fill: #475569;
}

.minsk-map.is-compact-labels .district-label__suffix,
.minsk-map.is-compact-labels .city-name,
.minsk-map.is-compact-labels .mkad-label {
  display: none;
}

.minsk-map.is-compact-labels .district-label {
  opacity: 0;
}

.minsk-map.is-compact-labels .district-unit.is-lifted .district-label,
.minsk-map.is-compact-labels .district-unit.is-hover .district-label,
.minsk-map.is-compact-labels .district-label.is-lifted,
.minsk-map.is-compact-labels .district-label.is-hover,
.minsk-map.is-compact-labels .district-label.is-active,
.minsk-map.is-compact-labels .district-label.is-current {
  opacity: 1;
}

.map-stage.is-compact-overlay .map-pin {
  width: 22px;
  height: 30px;
  margin: -30px 0 0 -11px;
}
.map-stage.is-compact-overlay .map-pin.is-active {
  width: 28px;
  height: 38px;
  margin: -38px 0 0 -14px;
}
.map-stage.is-compact-overlay .map-pin.is-hq {
  width: 16px;
  height: 22px;
  margin: -22px 0 0 -8px;
}
.map-stage.is-compact-overlay .map-pin.is-hq.is-active {
  width: 22px;
  height: 30px;
  margin: -30px 0 0 -11px;
}

.minsk-map .district.is-current {
  stroke: #fff;
  stroke-width: 2.1;
}

.minsk-map.is-filtered .district-unit:not(.is-active):not(.is-hover) .district,
.minsk-map.is-filtered .district-unit:not(.is-active):not(.is-hover) .district-extrude {
  fill: #e8edf2;
  opacity: 0.38;
}

.minsk-map.is-filtered .district-unit.is-active .district,
.minsk-map.is-filtered .district-unit.is-hover .district {
  opacity: 1;
  stroke-width: 2.2;
}

.minsk-map.is-filtered .district-label {
  opacity: 0.28;
}

.minsk-map.is-filtered .district-label.is-active,
.minsk-map.is-filtered .district-label.is-hover,
.minsk-map .district-label.is-current,
.minsk-map .district-label.is-lifted {
  opacity: 1;
  fill: #1e293b;
}

@media (prefers-reduced-motion: reduce) {
  .minsk-map .district,
  .minsk-map .district-extrude,
  .minsk-map .district-label {
    transition: fill 0.15s ease, opacity 0.15s ease;
  }
  .minsk-map .district-extrude,
  .minsk-map .district-unit.is-lifted .district,
  .minsk-map .district-unit.is-hover .district,
  .minsk-map .district-unit:hover .district,
  .minsk-map .district-unit.is-lifted .district-extrude,
  .minsk-map .district-unit.is-hover .district-extrude,
  .minsk-map .district-unit:hover .district-extrude,
  .minsk-map .district-label.is-lifted,
  .minsk-map .district-label.is-hover {
    transform: none;
  }
}

.map-pins {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 28px;
  height: 38px;
  margin: -38px 0 0 -14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ef6536;
  font-size: 0;
  box-shadow: none;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.28));
  pointer-events: auto;
  touch-action: manipulation;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.map-pin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.map-pin.is-active {
  color: #c2410c;
  z-index: 2;
  width: 34px;
  height: 46px;
  margin: -46px 0 0 -17px;
  filter: drop-shadow(0 8px 16px rgba(194, 65, 12, 0.35));
}

.map-pin.is-hq {
  color: #0b3b73;
  width: 22px;
  height: 30px;
  margin: -30px 0 0 -11px;
}

.map-pin.is-hq.is-active {
  width: 28px;
  height: 38px;
  margin: -38px 0 0 -14px;
  color: #0b3b73;
}

.map-pin.is-hidden {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .map-pin:hover {
    transform: scale(1.08);
  }
}

.center-card {
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  color: var(--text);
}

.center-card[hidden] {
  display: none !important;
}

.center-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.center-card__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.center-card__district {
  flex: 1;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.center-card__status {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(4, 120, 87, 0.22);
  color: #047857;
  font-size: 10px;
  font-weight: 700;
}

.center-card__status.is-lunch {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(180, 83, 9, 0.22);
  color: #b45309;
}

.center-card__status.is-closed {
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(100, 116, 139, 0.28);
  color: #475569;
}

.center-card__title {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.center-card__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 6px;
  color: #334155;
  font-size: 12px;
}

.center-card__row svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-phone,
.center-card__row svg.icon-phone,
.contact-list .icon-phone,
.contact-tile__head .icon-phone {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.contact-list .icon-phone {
  color: #306FB3;
}

.center-card__row:nth-of-type(1) svg { color: var(--orange); }
.center-card__row:nth-of-type(2) svg { color: #10b981; }
.center-card__row:nth-of-type(3) svg { color: #38bdf8; }

.center-card__row a {
  color: #0f172a;
  font-family: var(--font-mono);
  font-weight: 600;
}

.center-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  color: #64748b;
  font-size: 11px;
}

.center-card__next {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 600;
}

.center-card__next svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.find-bar {
  position: relative;
  z-index: 10;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.find-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  pointer-events: none;
  z-index: 0;
}

.find-bar > * {
  position: relative;
  z-index: 1;
}

.find-bar form {
  display: grid;
  gap: 10px;
}

.find-bar__field {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.find-bar__field .suggest {
  top: auto;
  bottom: calc(100% + 4px);
  z-index: 3;
}

.search-field {
  z-index: 6;
}

.search-field .suggest {
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: min(520px, 72vh);
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.suggest[hidden] { display: none; }

.search-field .suggest__item,
.suggest__item {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: none;
  cursor: pointer;
}

.suggest__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
}

.suggest__item + .suggest__item {
  margin-top: 4px;
}

.suggest__item:hover,
.suggest__item.is-active {
  background: #f4f8fc;
}

.suggest__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border-radius: 10px;
  background: #eef4fb;
  color: #306fb3;
}

.suggest__item--address .suggest__icon {
  background: #ecfdf5;
  color: #047857;
}

.suggest__item--center .suggest__icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.suggest__item--link .suggest__icon {
  background: #fff7ed;
  color: #c2410c;
}

.suggest__icon svg {
  position: static;
  width: 16px;
  height: 16px;
  transform: none;
}

.suggest__body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.suggest__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 6px;
}

.suggest__label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
}

.suggest__label mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #fee200;
  color: inherit;
  font-weight: 800;
}

.suggest__badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.suggest__item--address .suggest__badge { background: #d1fae5; color: #047857; }
.suggest__item--center .suggest__badge { background: #dbeafe; color: #1d4ed8; }
.suggest__item--link .suggest__badge { background: #ffedd5; color: #c2410c; }

.suggest__detail,
.suggest__hint {
  display: block;
}

.suggest__detail {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.suggest__hint {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.suggest__group {
  padding: 10px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.find-result {
  position: relative;
  margin-top: 12px;
  padding: 12px 40px 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.find-result__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  opacity: 0.7;
}

.find-result__close:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.08);
}

.find-result[hidden] { display: none; }

.find-result.is-empty {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.find-result p { margin: 0 0 4px; font-size: 13px; }
.find-result strong { display: block; font-size: 15px; color: #047857; }
.find-result.is-empty strong { color: #9a3412; }
.find-result small { display: block; margin-top: 4px; color: #64748b; }

.find-result__list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.find-result__row {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d1fae5;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.find-result__row b { color: #065f46; }

.find-bar__query {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.2-3.2'/%3E%3C/svg%3E") 14px 50% no-repeat;
  color: var(--text);
}

.find-bar__query::placeholder {
  color: #64748b;
}

.btn-green {
  background: var(--green);
  color: #fff;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
}

.find-bar__meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #1e293b;
}

.find-bar__meta strong {
  font-weight: 600;
}

.find-bar__note {
  color: var(--muted);
}

.section {
  padding: 28px 0 8px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 20px 16px 16px;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.panel__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.25;
  font-weight: 800;
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: #10b981;
  flex: 0 0 12px;
}

.panel__meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.org-grid {
  display: grid;
  gap: 12px;
}

.org-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.org-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.org-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-soft);
  color: #69a144;
  display: grid;
  place-items: center;
}

.org-card__icon svg {
  width: 16px;
  height: 16px;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid #a7f3d0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}

.org-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
}

.org-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.gov {
  margin-top: 24px;
  padding: 20px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(199, 68, 15, 0.1) 0%, #f6f7f9 50%, rgba(217, 242, 204, 0.2) 100%);
  box-shadow: 0 4px 6px rgba(29, 31, 35, 0.08);
  border: 1px solid #fff;
}

.gov__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gov__eyebrow svg {
  width: 14px;
  height: 14px;
}

.gov h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
  font-weight: 800;
}

.gov__grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 214, 218, 0.6);
}

.gov-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px;
  border: 1px solid #d4d6da;
  border-radius: 12px;
  background: #f6f7f9;
  box-shadow: var(--shadow);
}

.gov-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.gov-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #eaecee;
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

.gov-card__icon svg {
  width: 16px;
  height: 16px;
}

.gov-card__url {
  flex: 1;
  min-width: 0;
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gov-card__cat {
  padding: 2px 9px;
  border-radius: 999px;
  background: #d9f2cc;
  color: #306001;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.gov-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.gov-card p {
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.6;
  flex: 1;
}

.gov-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #d4d6da;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.gov-card__link svg {
  width: 14px;
  height: 14px;
}

.gov-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  transition: 0.2s ease;
}

.site-footer {
  margin-top: 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.logo-bar,
.footer-stripe {
  height: 4px;
  background: var(--logo-bar);
}
.footer-stripe {
  height: 4px;
}

.footer-main {
  display: grid;
  gap: 28px;
  padding: 32px 0 8px;
}

.footer-brand__name {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-brand__name svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue-deep);
  flex: 0 0 22px;
}

.footer-brand > p {
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.65;
  max-width: 42ch;
}

.requisites {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.requisites div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.requisites span {
  color: var(--muted);
}

.requisites b {
  font-family: var(--font-mono);
  font-weight: 600;
}

.requisites p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #334155;
  font-size: 12px;
}

.requisites p svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--orange);
  flex: none;
}

.addr-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.45;
}

.addr-lines__street {
  display: block;
}

.official-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(42, 204, 138, 0.12);
  border: 1px solid rgba(98, 157, 59, 0.3);
  color: #2b6116;
  font-size: 11px;
  font-weight: 600;
}

.official-tag svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--text-3);
  font-size: 12px;
}

.footer-col a:hover {
  color: var(--blue-deep);
}

.footer-col a.hotline-box,
.hotline-box {
  display: block;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font-size: inherit;
  box-shadow: 0 2px 8px rgba(48, 111, 179, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-col a.hotline-box:hover,
.hotline-box:hover {
  color: #fff;
}

.hotline-box small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.hotline-box small svg {
  width: 18px;
  height: 18px;
  color: #bbf7d0;
  fill: currentColor;
  stroke: none;
}

.hotline-box strong {
  display: inline-block;
  margin-right: 8px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #9ef0c4;
}

.hotline-box em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.hotline-box__dial {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.hotline-box--nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 32px;
  margin: 0;
  padding: 4px 9px 5px 7px;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: linear-gradient(180deg, #62a03c 0%, #4f8a2e 100%);
  box-shadow: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hotline-box--nav:hover {
  filter: none;
  background: linear-gradient(180deg, #5b9737 0%, #467c29 100%);
  box-shadow: none;
}

.hotline-box--nav small {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
  color: #fff;
}

.hotline-box--nav small span {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: auto;
  clip-path: none;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hotline-box--nav small svg {
  width: 14px;
  height: 14px;
  padding: 4px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ecfdf3;
  box-sizing: content-box;
}

.hotline-box--nav .hotline-box__dial {
  margin-left: auto;
  align-items: center;
  flex: none;
}

.hotline-box--nav strong {
  display: inline;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}

.hotline-box--nav em {
  display: none;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #d1fae5;
}

.footer-hotline-dup {
  display: none;
}

.year-banner {
  display: none;
}

.year-badge {
  position: absolute;
  top: 4px;
  right: -18px;
  z-index: 6;
  width: min(168px, 38vw);
  pointer-events: auto;
}

.year-badge__link {
  display: block;
  line-height: 0;
  border-radius: 50%;
}

.year-badge img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.year-badge__close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.year-badge__close svg {
  width: 14px;
  height: 14px;
}

.year-badge__close:hover {
  background: #f8fafc;
  color: #0f172a;
}

@media (min-width: 768px) {
  .year-badge { width: 196px; top: 6px; right: -28px; }
}

@media (min-width: 1100px) {
  .year-badge { width: 236px; top: 8px; right: -48px; }
}

@media (max-width: 419px) {
  .year-badge { width: 112px; top: 2px; right: -8px; }
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list p {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 4px 8px;
  margin: 0;
  font-size: 12px;
}

.contact-list svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.contact-list b {
  font-weight: 600;
}

.contact-list span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phones--single {
  grid-template-columns: 1fr;
}

.appeal {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 55%, #fffbeb 100%);
  border: 1px solid rgba(48, 111, 179, 0.3);
  box-shadow: 0 2px 8px rgba(48, 111, 179, 0.08);
}

.appeal p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
}

.appeal svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  color: var(--blue-deep);
}

.appeal a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.btn-appeal {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 6px rgba(48, 111, 179, 0.3);
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom {
  display: grid;
  gap: 16px;
  padding: 20px 0 28px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-copy {
  min-width: 0;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.footer-bottom small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 18px;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text-3);
}

.footer-legal a:hover {
  color: var(--blue-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: grid;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.footer-social__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.footer-col .footer-social__link {
  color: var(--text);
  font-size: inherit;
}
.footer-social__link:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 10px rgba(48, 111, 179, 0.08);
  color: var(--blue-navy);
  text-decoration: none;
}
.footer-social__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  flex: none;
}
.footer-social__icon svg {
  width: 14px;
  height: 14px;
}
.footer-social__link--tg .footer-social__icon {
  background: #229ed9;
}
.footer-social__link--ig .footer-social__icon {
  background: radial-gradient(circle at 30% 110%, #fdf497 0 8%, #fd5949 42%, #d6249f 62%, #285aeb 100%);
}
.footer-social__link--yt .footer-social__icon {
  background: #ff0033;
}
.footer-social__text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}
.footer-social__text b {
  font-size: 12px;
  font-weight: 700;
}
.footer-social__text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.footer-yanix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  color: #94a3b8;
  text-decoration: none;
}
.footer-yanix::before,
.footer-yanix__go {
  display: none;
}
.footer-yanix:hover,
.footer-yanix:focus-visible {
  color: #64748b;
  text-decoration: none;
}
.footer-yanix:hover .footer-yanix__text,
.footer-yanix:focus-visible .footer-yanix__text {
  color: #64748b;
}
.footer-yanix__logo {
  display: grid;
  place-items: center;
  flex: none;
}
.footer-yanix__logo picture,
.footer-yanix__logo img {
  display: block;
  width: 72px;
  height: auto;
  max-height: 16px;
  object-fit: contain;
}
.footer-yanix__text {
  display: block;
  min-width: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #94a3b8;
  white-space: normal;
}
.footer-yanix__text em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #64748b;
  background: none;
}
.footer-yanix__text small {
  display: none;
}

@media (min-width: 768px) {
  :root { --pad: 24px; }

  .topbar__inner {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    min-height: 39px;
  }
  .topbar__meta { flex: 1 1 auto; }
  .topbar__actions { flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
  .topbar__addr svg { color: var(--blue-navy); }
  .topbar__sep { display: inline-block; }
  .topbar__sep--meta { display: none; }
  .topbar__item { white-space: nowrap; }
  .topbar__hours { align-items: center; line-height: inherit; }
  .topbar__hours-text { display: inline-flex; flex-direction: row; flex-wrap: nowrap; gap: 0; align-items: baseline; }
  .topbar__hours-gap { display: inline; }
  .topbar__lang { gap: 4px; padding: 0; border: 0; background: transparent; border-radius: 0; }
  .topbar__lang > svg { display: block; }
  .topbar .a11y-open {
    width: auto;
    min-height: 32px;
    padding: 2px 8px;
    justify-content: flex-start;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
  }
  .a11y-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }

  .a11y-btn,
  .lang-btn { min-height: 24px; padding: 0 4px; }
  .logo img { width: 58px; height: 51px; flex-basis: 58px; }
  .state-symbols { padding: 7px 12px; gap: 12px; }
  .state-symbols__emblem { height: 48px; }
  .state-symbols__flag { height: 30px; }
  .logo--wordmark { flex-basis: 280px; max-width: 280px; }
  .logo--wordmark img { width: 100%; height: auto; max-height: 58px; flex-basis: auto; }
  .logo__kicker { display: block; }
  .logo__title { font-size: 13px; }
  .logo__full { display: inline; }
  .logo__short { display: none; }

  .header-search { display: block; flex: 1.2; }
  .btn-cabinet { display: inline-flex; }
  .cabinet-full { display: inline; }
  .cabinet-short { display: none; }
  .menu-toggle { display: none; }

  .nav__inner { min-height: 60px; overflow: visible; }
  .nav { overflow: visible; }
  .nav__links { flex-wrap: nowrap; gap: 10px; }
  .nav__aside { display: grid; }
  .nav__hotline { display: grid; }
  .mobile-nav,
  .mobile-nav.is-open { display: none !important; }

  .hero { padding: 24px 0 36px; }
  .hero h1 { overflow-wrap: normal; }
  .hero__head {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .btn-orange { width: auto; }

  .map-toolbar {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 3;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
  }
  .map-legend { pointer-events: auto; justify-content: flex-start; gap: 16px; }
  .map-canvas {
    height: 792px;
    padding-top: 36px;
  }
  .map-stage {
    transform: scale(1.25);
    transform-origin: 50% 46%;
  }
  .hero > .map-stage,
  .map-stage.is-yandex {
    transform: none;
  }
  .map-shell { position: relative; z-index: 1; }
  .center-card {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(320px, 100%);
    margin: 0;
    z-index: 4;
  }

  .find-bar form {
    grid-template-columns: 1fr 170px;
    align-items: center;
  }
  .find-bar__meta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .org-grid { grid-template-columns: 1fr 1fr; }
  .gov__grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .appeal {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 1099.98px) {
  .hero.is-yandex-map {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-offset, 120px));
    height: calc(100dvh - var(--header-offset, 120px));
    max-height: calc(100svh - var(--header-offset, 120px));
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .hero.is-yandex-map > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero.is-yandex-map .map-shell {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero.is-yandex-map .map-toolbar {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 3;
    padding: 0;
  }
  .hero.is-yandex-map .map-canvas {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 160px;
    padding-top: 0;
  }
  .hero.is-yandex-map .hero__head {
    margin-bottom: 8px;
    flex: 0 0 auto;
  }
  .hero.is-yandex-map .find-bar {
    margin-top: 8px;
    padding: 10px 12px;
    flex: 0 0 auto;
  }
  .hero.is-yandex-map .find-bar__note { display: none; }
  .hero.is-yandex-map .center-card {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(320px, calc(100% - 16px));
    margin: 0;
    z-index: 4;
  }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
  .nav__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 10px 0 12px;
  }
  .nav__links {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px 10px;
  }
  .nav-drop {
    min-width: 0;
    width: 100%;
  }
  .nav-drop > .nav-link {
    width: 100%;
    justify-content: center;
    padding: 0 10px;
    font-size: 13px;
  }
  .nav-drop--end .nav-drop__list {
    left: 0;
    right: auto;
  }
  .nav-drop:nth-child(3n) .nav-drop__list {
    left: auto;
    right: 0;
  }
  .nav__aside {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin: 6px 0;
    padding: 0;
  }
  .nav__aside .nav__hotline {
    margin-left: 0;
    flex: 0 0 auto;
    min-height: 32px;
  }
  .footer-legal {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    align-items: start;
    gap: 2px 36px;
  }
  .footer-legal a {
    min-height: 28px;
  }
}

@media (min-width: 1100px) and (max-width: 1279.98px) {
  .nav__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 0 10px;
  }
  .nav__links {
    flex: 1 1 100%;
    gap: 8px;
  }
  .nav-drop {
    flex: 1 1 0;
    min-width: 0;
  }
  .nav-drop > .nav-link {
    width: 100%;
    justify-content: center;
    padding: 0 8px;
    font-size: 13px;
  }
  .nav__aside {
    display: grid;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
  .nav__aside .nav__hotline {
    flex: 0 0 auto;
  }
}

@media (min-width: 1280px) {
  .nav__inner { gap: 12px; }
}

@media (min-width: 1100px) {
  :root { --pad: 64px; }

  .topbar__inner {
    padding: 0;
    min-height: 39px;
  }
  .topbar__meta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .topbar__sep--meta { display: inline-block; }
  .topbar__addr > span {
    overflow: visible;
    text-overflow: unset;
  }

  .header-main { min-height: 73px; gap: 24px; }
  .logo { flex: 0 1 380px; }
  .logo--wordmark { flex: 0 1 300px; max-width: 300px; }
  .logo--wordmark img { max-height: 62px; }
  .logo__title { font-size: 14px; }
  .panel { padding: 32px; }
  .gov { padding: 32px; }
  .btn-cabinet { min-width: 187px; }
  .map-canvas {
    height: 704px;
    padding-top: 40px;
  }
  .map-stage {
    transform: scale(1.25);
    transform-origin: 50% 46%;
  }
  .hero > .map-stage,
  .map-stage.is-yandex {
    transform: none;
  }

  .org-grid { grid-template-columns: repeat(3, 1fr); }
  .gov__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
  .gov__grid { grid-template-columns: repeat(3, 1fr); }

  .footer-main {
    grid-template-columns: 1.15fr 0.7fr 0.95fr 0.95fr;
    padding-top: 48px;
  }
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px 40px;
  }
  .footer-legal {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: end;
    align-items: start;
    gap: 2px 28px;
    max-width: none;
  }
  .footer-legal a {
    min-height: 24px;
  }
}

@media (max-width: 767.98px) {
  :root { --header-offset: 136px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .nav { display: none; }
  .header-main { flex-wrap: nowrap; }
  .brand-lockup { gap: 10px; }
  .state-symbols { padding: 5px 8px; gap: 8px; }
  .state-symbols__emblem { height: 38px; }
  .state-symbols__flag { height: 24px; }
  .header-main > .header-search { display: none; }
  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: var(--header-offset, 132px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 39;
    padding: 16px 16px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #f4f7fb;
    border-top: 1px solid var(--line);
  }
  .mobile-nav .header-search { display: block; }
  .mobile-nav .search-field input { background: #fff; }
  .mobile-nav__label {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
  }
  .mobile-nav .nav__links {
    display: grid;
    gap: 8px;
  }
  .mobile-nav .btn-cabinet,
  .mobile-nav .nav__hotline {
    width: 100%;
    justify-content: flex-start;
  }
  .mobile-nav__extra {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
  }
  .mobile-nav .nav__hotline {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    min-height: 36px;
    padding: 4px 10px 4px 6px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }
  .header-search .search-field input { background: #fff; }
  .btn-cabinet {
    display: inline-flex;
    min-width: 0;
    padding: 0 12px;
    font-size: 13px;
  }
  .hero__intro { padding: 10px 12px 12px; }
  .hero__title-row { display: block; }
  .hero h1 { font-size: 16px; white-space: nowrap; }
  .nav-link { padding: 0 12px; font-size: 13px; }
  .nav__aside { display: grid; }
  .nav__hotline { display: grid; margin-left: 0; }

  .map-toolbar { padding: 0 0 8px; gap: 6px; }
  .map-legend { min-height: 40px; }
  .chip { min-height: 32px; padding: 0 12px; font-size: 13px; }
  .map-legend { font-size: 11px; }
  .center-card { margin: 0 0 10px; }
  .map-pin { width: 28px; height: 38px; margin: -38px 0 0 -14px; }
  .map-pin.is-active { width: 34px; height: 46px; margin: -46px 0 0 -17px; }
  .map-pin.is-hq { width: 20px; height: 28px; margin: -28px 0 0 -10px; }
  .map-pin.is-hq.is-active { width: 26px; height: 36px; margin: -36px 0 0 -13px; }
  .minsk-map .chrome { display: none; }
  .minsk-map .district-label { opacity: 1; }
  .minsk-map .district-label.is-lifted,
  .minsk-map .district-label.is-hover,
  .minsk-map.is-filtered .district-label.is-active {
    opacity: 1;
  }
  .hero.is-yandex-map .hero__badge { display: none; }
  .hero.is-yandex-map .btn-orange {
    min-height: 42px;
    font-size: 13px;
  }
  .minsk-map .district-extrude {
    transform: translate(4px, 7px);
  }
  .minsk-map .district-unit.is-lifted .district,
  .minsk-map .district-unit.is-hover .district,
  .minsk-map .district-unit:hover .district,
  .minsk-map .district-label.is-lifted,
  .minsk-map .district-label.is-hover {
    transform: translate(-3px, -9px);
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-legal a {
    min-height: 34px;
  }
}

@media (max-width: 419px) {
  .logo { gap: 8px; max-width: calc(100% - 56px); }
  .logo img { width: 40px; height: 35px; flex-basis: 40px; }
  .logo--wordmark { max-width: min(220px, calc(100% - 56px)); }
  .logo--wordmark img { width: 100%; height: auto; max-height: 46px; flex-basis: auto; }
  .state-symbols { padding: 4px 7px; gap: 7px; }
  .state-symbols__emblem { height: 34px; }
  .state-symbols__flag { height: 22px; }
  .logo__title { font-size: 11px; }
  .hero__badge { font-size: 12px; white-space: normal; }
  .hero h1 { font-size: 15px; white-space: nowrap; }
  .map-canvas { height: 374px; }
  .hero.is-yandex-map .map-canvas { height: auto; }
  .map-pin { width: 26px; height: 36px; margin: -36px 0 0 -13px; }
  .map-pin.is-active { width: 32px; height: 44px; margin: -44px 0 0 -16px; }
  .map-pin.is-hq { width: 18px; height: 26px; margin: -26px 0 0 -9px; }
  .map-pin.is-hq.is-active { width: 24px; height: 34px; margin: -34px 0 0 -12px; }
  .gov-card__cat { margin-left: auto; }
}

.nav-drop {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.nav-drop > .nav-link { gap: 6px; }
.nav-drop__chev {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.nav-drop:hover,
.nav-drop:focus-within,
.nav-drop.is-open {
  z-index: 80;
}
.nav-drop:hover > .nav-link .nav-drop__chev,
.nav-drop:focus-within > .nav-link .nav-drop__chev,
.nav-drop.is-open > .nav-link .nav-drop__chev {
  transform: rotate(180deg);
}
.nav-drop__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  min-width: min(320px, 78vw);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}
.nav-drop__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}
.nav-drop--end .nav-drop__list {
  left: auto;
  right: 0;
}
.nav-drop:hover > .nav-drop__list,
.nav-drop:focus-within > .nav-drop__list,
.nav-drop.is-open > .nav-drop__list {
  display: grid;
  gap: 2px;
}
.nav-drop__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  pointer-events: auto;
}
.nav-drop__link:hover,
.nav-drop__link.is-active { background: #f1f5f9; color: #0b3b73; }
.nav-drop__ext { color: #94a3b8; font-size: 12px; }
.nav-acc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.nav-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #0b3b73;
  cursor: pointer;
}
.nav-acc summary::-webkit-details-marker { display: none; }
.nav-acc summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #64748b;
  transition: transform 0.15s ease;
}
.nav-acc[open] summary {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.nav-acc[open] summary svg { transform: rotate(180deg); }
.nav-acc div { display: grid; padding: 8px; gap: 2px; }
.mobile-nav .nav-drop__link {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 15px;
}

.inner { background: #f4f7fb; min-height: 50vh; }
.inner-hero {
  background: linear-gradient(135deg, #0b3b73 0%, #1d4f8a 55%, #306fb3 100%);
  color: #fff;
  padding: 28px 0 32px;
}
.inner-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  overflow-wrap: break-word;
}
.inner-hero__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}
.inner-hero__lead { margin: 12px 0 0; max-width: 720px; color: rgba(255,255,255,0.86); font-size: 16px; }
.page-hidden-note {
  margin: 14px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
  font-size: 14px;
  font-weight: 600;
}
.page-hidden-note a { color: #7f1d1d; text-decoration: underline; text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #dbeafe; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.inner-wrap {
  display: grid;
  gap: 24px;
  padding: 28px 0 64px;
  min-width: 0;
}
.inner-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
  min-width: 0;
  max-width: 100%;
}
.inner-side__title { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }
.side-nav { display: grid; gap: 4px; min-width: 0; max-width: 100%; }
.side-nav a { padding: 9px 10px; border-radius: 10px; color: #1e293b; font-weight: 600; font-size: 14px; }
.side-nav a:hover,
.side-nav a.is-active { background: #eef4fb; color: #0b3b73; }
.inner-main { min-width: 0; }
.inner-main > .prose,
.inner-main > .lead-note,
.inner-main > .about-stats,
.inner-main > .about-links,
.inner-main > .org-tree,
.inner-main > .org-groups,
.inner-main > .org-chart,
.inner-main > .people-grid,
.inner-main > .func-list,
.inner-main > .cta-row,
.inner-main > .card-list { min-width: 0; }
.prose { font-size: 16px; line-height: 1.7; color: #1e293b; }
.prose h2 { margin: 28px 0 10px; font-size: 22px; color: #0b3b73; }
.prose h3 { margin: 22px 0 8px; font-size: 18px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose a { color: #1d4f8a; text-decoration: underline; }
.prose img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.prose figure {
  margin: 20px 0 22px;
}
.prose figure img {
  margin: 0;
}
.prose figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.article-card, .empty-card, .contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.article-card__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; color: #64748b; font-size: 13px; font-weight: 600; }
.card-list { display: grid; gap: 12px; margin-top: 24px; }
.card-list--tiles {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.content-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.content-card--media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
}
.content-card__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: #0b3b73;
}
.content-card__body { min-width: 0; }
.card-list--tiles .content-card--media {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.card-list--tiles .content-card__thumb {
  border-radius: 0;
  flex: 0 0 auto;
}
.card-list--tiles .content-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 6px;
  padding: 14px 16px 16px;
}
.card-list--tiles .content-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-list--tiles .content-card p {
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin: 0 0 18px;
  background: #0b3b73;
}
.content-card:hover { border-color: #93c5fd; box-shadow: 0 10px 24px rgba(48, 111, 179, 0.12); }
.content-card h2 { margin: 4px 0 8px; font-size: 20px; color: #0b3b73; }
.content-card p { margin: 0; color: #334155; }
.content-card__meta { color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.content-card__yt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.content-card__yt::before {
  content: "";
  width: 14px;
  height: 10px;
  border-radius: 3px;
  background: #ff0033;
  box-shadow: inset 5px -3px 0 -3px #fff;
  flex: none;
}
.card-list--tiles .content-card__yt { margin-top: auto; padding-top: 8px; }
.yt-news {
  margin: 28px 0 10px;
  overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0b3b73, #306fb3 55%, #ff0033) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.yt-news__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 14px;
  background:
    radial-gradient(420px 160px at 100% 0, rgba(255, 0, 51, 0.28), transparent 58%),
    linear-gradient(135deg, #0b3b73 0%, #1d4f8a 58%, #16324f 100%);
  color: #fff;
}
.yt-news__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.yt-news__kicker {
  margin: 0 0 2px !important;
  color: #fee200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-card .yt-news h2,
.yt-news h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.25;
}
.yt-news__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}
.yt-news__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-news__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 18px 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff5f5;
  color: #9f1239 !important;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none !important;
}
.yt-news__open:hover { background: #ffe4e6; }
.people-grid, .struct-list { display: grid; gap: 14px; margin-top: 18px; }
.people-grid--stack { grid-template-columns: 1fr; }
.person-card, .struct-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.struct-card,
.person-card--plain { grid-template-columns: 1fr; }
.person-card__photo {
  width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center;
  background: #dbeafe; color: #1d4ed8; font-size: 28px; font-weight: 800;
}
.person-card--plain .person-card__photo { display: none; }
.person-card h2, .struct-card h2 { margin: 0 0 4px; font-size: 20px; color: #0b3b73; }
.person-card__role, .struct-card__tag { margin: 0 0 8px; color: #306fb3; font-weight: 700; }
.person-oversight,
.lead-structure__item {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #f8fbff;
}
.person-oversight summary,
.lead-structure__item summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b3b73;
  list-style: none;
}
.person-oversight summary::-webkit-details-marker,
.lead-structure__item summary::-webkit-details-marker { display: none; }
.person-oversight summary::after,
.lead-structure__item summary::after {
  content: "▾";
  float: right;
  color: #306fb3;
}
.person-oversight[open] summary::after,
.lead-structure__item[open] summary::after { content: "▴"; }
.person-oversight ul,
.lead-structure__item ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.lead-structure { margin-top: 28px; }
.lead-structure h2 { margin: 0 0 8px; }
.lead-structure__groups,
.lead-structure__depts { display: grid; gap: 10px; margin-top: 12px; }
.page-figure {
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.page-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.page-figure--pay {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
.fact-list { display: grid; gap: 6px; margin: 10px 0 0; }
.fact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; font-size: 14px; }
.fact-list dt { color: #64748b; }
.table-wrap { overflow: auto; margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: #f8fafc; color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.contacts-grid { display: grid; gap: 14px; margin-bottom: 18px; }
.contact-panel--accent { background: #0b3b73; color: #fff; }
.contact-panel--accent a { color: #fff; }
.hotline-big { font-size: 42px; font-weight: 800; margin: 8px 0; }

.contacts-page { display: grid; gap: 18px; }
.contacts-top { display: grid; gap: 16px; }
.contacts-stack { display: grid; gap: 12px; }
.contact-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.contact-tile--link { text-decoration: none; color: inherit; }
.contact-tile--link:hover { border-color: #93c5fd; box-shadow: 0 10px 24px rgba(48, 111, 179, 0.12); }
.contact-tile__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.contact-tile__head svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #306fb3;
}
.contact-tile h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.contact-tile > p {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  color: #0b3b73;
}
.contacts-pair { display: grid; gap: 12px; }
.contact-hours { display: grid; gap: 10px; }
.contact-hours div {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border: 1px solid #dbeafe;
}
.contact-hours strong { color: #0b3b73; font-size: 14px; }
.contact-hours span { color: #1e293b; font-size: 16px; font-weight: 750; }
.contact-hours small { color: #64748b; font-size: 13px; }
.contacts-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef6;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.contacts-map iframe {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 320px;
  height: 100%;
  border: 0;
  background: #e8eef6;
}
.contacts-map__open {
  display: block;
  padding: 13px 16px;
  background: #0b3b73;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none !important;
}
.contacts-map__open:hover { background: #1d4f8a; }
.contacts-reception {
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.contacts-reception__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.contacts-reception__top h2 {
  margin: 0;
  font-size: 22px;
  color: #0b3b73;
}
.contacts-reception__grid { display: grid; gap: 12px; }
.recv-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border: 1px solid #dbeafe;
}
.recv-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #306fb3;
  margin-bottom: 10px;
}
.recv-card__icon svg { width: 20px; height: 20px; }
.recv-card h3 { margin: 0 0 8px; font-size: 18px; color: #0b3b73; }
.recv-card p { margin: 0 0 8px; color: #334155; }
.recv-card a { color: #1d4f8a; font-weight: 700; }
.recv-card dl { margin: 10px 0 0; }
.recv-card dt { color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.recv-card dd { margin: 4px 0 0; color: #0b3b73; font-weight: 750; }
.contacts-note {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.pager__btn, .pager__status { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: #0b3b73; }
.pager__btn.is-active { background: #0b3b73; color: #fff; border-color: #0b3b73; }
.back-line { margin-top: 28px; }
.back-line a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #1d4f8a;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.back-line a:hover { background: none; color: #0b3b73; }
.inner-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
.inner-search input { height: 48px; border: 0; border-radius: 12px; padding: 0 16px; }
.muted { color: #64748b; }
.struct-card__meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 0; color: #334155; font-weight: 600; }
.struct-card__phones { margin: 8px 0 0; color: #475569; font-size: 14px; line-height: 1.5; }
.lead-note {
  padding: 14px 16px;
  border-radius: 8px;
  background: #eef4fb;
  border: 1px solid #dbeafe;
}
.about-stats {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}
.about-stat {
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border: 1px solid #dbeafe;
}
.about-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: #0b3b73;
}
.about-stat em {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #306fb3;
}
.about-stat span { color: #334155; font-size: 14px; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0b3b73;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
}
.about-link:hover { background: #1d4f8a; }
.func-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.func-list li {
  position: relative;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  counter-increment: func;
}
.func-list { counter-reset: func; }
.func-list li::before {
  content: counter(func);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.schedule-kicker { font-weight: 700; color: #0b3b73; }
.note-box {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.note-box p:last-child { margin-bottom: 0; }
.visit-grid { display: grid; gap: 12px; margin: 16px 0 8px; }
.visit-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.visit-card time { font-weight: 800; color: #c2410c; }
.visit-card h3 { margin: 6px 0 4px; font-size: 18px; }
.visit-card p { margin: 0 0 8px; color: #334155; }
.visit-card span { color: #64748b; font-size: 13px; font-weight: 700; }
.org-tree { margin: 8px 0 22px; position: relative; }
.org-tree::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46px;
  width: 2px;
  height: 16px;
  background: #f59e0b;
  transform: translateX(-50%);
}
.org-tree__top {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #0b3b73;
  color: #fff;
  font-weight: 800;
}
.org-tree__row {
  display: grid;
  gap: 8px;
}
.org-tree__row div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbeafe;
  text-align: center;
  font-weight: 700;
  color: #1d4f8a;
  font-size: 14px;
}
.org-groups {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.org-groups section {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.org-groups h3 { margin: 0 0 8px; font-size: 16px; color: #0b3b73; }
.org-groups ul { margin: 0; padding-left: 18px; }

.org-chart {
  margin: 4px 0 28px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.org-chart__ceo {
  width: fit-content;
  max-width: min(100%, 320px);
  margin: 0 auto;
  padding: 10px 22px;
  border: 2px solid #0f172a;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.org-chart__spine {
  width: 2px;
  height: 20px;
  margin: 0 auto;
  background: #0f172a;
}
.org-chart__cols {
  display: grid;
  gap: 10px;
  position: relative;
}
.org-chart__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.org-chart__head {
  margin: 0;
  padding: 10px 8px;
  border: 2px solid #0f172a;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  color: #0f172a;
}
.org-chart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.org-chart__list li {
  margin: 0;
  padding: 8px 8px;
  border: 1.5px solid #334155;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  color: #1e293b;
}
.org-chart__headrow {
  display: flex;
  justify-content: center;
}
.org-chart__headrow--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.org-chart__headrow--split .org-chart__ceo {
  grid-column: 2;
  margin: 0;
}
.org-chart__direct {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}
.org-chart__arm {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  margin-right: 6px;
  background: #0f172a;
}
.org-chart__arm::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #0f172a;
  border-right: 2px solid #0f172a;
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}
.org-chart__direct-box {
  min-width: 0;
  max-width: 250px;
  padding: 10px 10px 8px;
  border: 2px solid #0f172a;
  border-radius: 10px;
  background: #fff;
}
.org-chart__direct-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: #0f172a;
}
.org-chart__direct-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.org-chart__direct-list li {
  margin: 0;
  padding: 7px 8px;
  border: 1.5px solid #334155;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #1e293b;
}
@media (min-width: 960px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .org-tree__row, .org-groups, .visit-grid { grid-template-columns: 1fr 1fr; }
  .org-chart__cols {
    grid-template-columns: repeat(5, minmax(148px, 1fr));
    min-width: 820px;
    padding-top: 18px;
  }
  .org-chart__cols::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 2px;
    background: #0f172a;
  }
  .org-chart__col {
    padding-top: 0;
  }
  .org-chart__col::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -18px;
    width: 2px;
    height: 18px;
    background: #0f172a;
    transform: translateX(-50%);
  }
  .org-chart__col {
    position: relative;
  }
}
@media (min-width: 760px) and (max-width: 959.98px) {
  .about-stats { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .org-tree__row, .org-groups, .visit-grid { grid-template-columns: 1fr 1fr; }
  .org-chart__cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .org-tree__row { grid-template-columns: repeat(4, 1fr); }
}

.schedule-cards { display: none; }
.table-wrap--schedule td:nth-child(2) {
  white-space: nowrap;
}
.schedule-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.schedule-card h3 { margin: 0 0 4px; font-size: 17px; color: #0b3b73; }
.schedule-card p { margin: 0 0 10px; color: #306fb3; font-weight: 700; }
.schedule-card dl { display: grid; gap: 8px; margin: 0; }
.schedule-card div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; font-size: 14px; }
.schedule-card dt { color: #64748b; }

@media (min-width: 640px) {
  .card-list--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .contacts-pair { grid-template-columns: 1fr 1fr; }
  .contacts-reception__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .inner-wrap { grid-template-columns: 280px 1fr; }
  .contacts-grid { grid-template-columns: 1.2fr 0.8fr; }
  .contacts-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
  .contacts-map iframe { min-height: 100%; }
}
.inner-hero { position: relative; overflow: hidden; }
.inner-hero__glow {
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.inner--amber {
  --theme: #f59e0b;
  --theme-deep: #d97706;
  --theme-dark: #92400e;
  --theme-ink: #78350f;
  --theme-soft: #fffbeb;
  --theme-mid: #fde68a;
  --theme-line: #fcd34d;
  background:
    radial-gradient(900px 320px at 100% 0, rgba(245, 158, 11, 0.10), transparent 55%),
    #fff8ed;
}
.inner--amber .inner-hero {
  background:
    linear-gradient(135deg, #78350f 0%, #b45309 42%, #f59e0b 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}
.inner--amber .inner-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--logo-bar);
}
.inner--amber .inner-hero__glow {
  background: radial-gradient(circle, rgba(253, 230, 138, 0.35), transparent 68%);
  width: 360px;
  height: 360px;
}
.inner--amber .inner-hero__kicker,
.inner--amber .crumbs { color: #fde68a; }
.inner--amber .inner-side {
  border-color: #fde68a;
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.08);
}
.inner--amber .inner-side__title {
  color: #b45309;
  padding-left: 10px;
  border-left: 3px solid #f59e0b;
}
.inner--amber .side-nav a:hover {
  background: #fffbeb;
  color: #92400e;
}
.inner--amber .side-nav a.is-active {
  background: #f59e0b;
  color: #fff;
}
.inner--amber .prose h2,
.inner--amber .prose h3,
.inner--amber .person-card h2,
.inner--amber .struct-card h2,
.inner--amber .content-card h2,
.inner--amber .schedule-kicker,
.inner--amber .schedule-card h3 {
  color: #92400e;
}
.inner--amber .prose a { color: #b45309; }
.inner--amber .article-card,
.inner--amber .person-card,
.inner--amber .struct-card,
.inner--amber .content-card,
.inner--amber .empty-card {
  border-color: #fde68a;
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.06);
}
.inner--amber .article-card {
  border-top: 4px solid #f59e0b;
}
.inner--amber .person-card,
.inner--amber .struct-card,
.inner--amber .content-card {
  border-left: 4px solid #f59e0b;
}
.inner--amber .person-card__photo {
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  color: #78350f;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.inner--amber .person-card__role,
.inner--amber .struct-card__tag,
.inner--amber .schedule-card p {
  color: #d97706;
}
.inner--amber .lead-note {
  background: #fffbeb;
  border-color: #fcd34d;
}
.inner--amber .about-stat {
  background: linear-gradient(180deg, #fffdf6 0%, #fff7dc 100%);
  border-color: #fcd34d;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.08);
}
.inner--amber .about-stat em {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d97706;
}
.inner--amber .about-stat strong { color: #92400e; font-size: 26px; }
.inner--amber .about-link {
  background: #fff;
  color: #f59e0b !important;
  border: 1px solid #f59e0b;
  box-shadow: none;
}
.inner--amber .about-link:hover {
  background: #f59e0b;
  color: #fff !important;
}
.inner--amber .func-list li {
  border-color: #fde68a;
  background: #fffdf8;
}
.inner--amber .func-list li::before {
  background: #f59e0b;
  color: #fff;
}
.inner--amber .table-wrap { border-color: #fde68a; }
.inner--amber .data-table th {
  background: #fff7dc;
  color: #92400e;
}
.inner--amber .note-box {
  background: #fffbeb;
  border-color: #f59e0b;
}
.inner--amber .visit-card {
  border-color: #fde68a;
  border-top: 4px solid #f59e0b;
}
.inner--amber .visit-card time { color: #d97706; }
.inner--amber .org-tree__top {
  background: #f59e0b;
  color: #78350f;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}
.inner--amber .org-tree__row div {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}
.inner--amber .org-groups section {
  background: #fffdf8;
  border-color: #fde68a;
}
.inner--amber .org-groups h3 { color: #92400e; }
.inner--amber .org-chart__ceo {
  background: #f59e0b;
  border-color: #d97706;
  color: #78350f;
}
.inner--amber .org-chart__spine,
.inner--amber .org-chart__cols::before,
.inner--amber .org-chart__col::before {
  background: #d97706;
}
.inner--amber .org-chart__head {
  background: #fffbeb;
  border-color: #d97706;
  color: #92400e;
}
.inner--amber .org-chart__list li {
  background: #fffdf8;
  border-color: #f59e0b;
}
.inner--amber .org-chart__arm { background: #d97706; }
.inner--amber .org-chart__arm::after { border-color: #d97706; }
.inner--amber .org-chart__direct-box {
  background: #fffdf8;
  border-color: #d97706;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.16);
}
.inner--amber .org-chart__direct-kicker { color: #b45309; }
.inner--amber .org-chart__direct-list li {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #78350f;
}
.inner--amber .pager__btn,
.inner--amber .pager__status { color: #92400e; border-color: #fcd34d; }
.inner--amber .pager__btn.is-active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}
.inner--amber .content-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.16);
}

.inner--blue {
  --theme: #306fb3;
  --theme-deep: #1d4f8a;
  --theme-dark: #0b3b73;
  --theme-ink: #0b3b73;
  --theme-soft: #eff6ff;
  --theme-mid: #bfdbfe;
  --theme-line: #93c5fd;
  background:
    radial-gradient(900px 320px at 100% 0, rgba(48, 111, 179, 0.10), transparent 55%),
    #f4f7fb;
}
.inner--blue .inner-hero {
  background: linear-gradient(135deg, #0b3b73 0%, #1d4f8a 48%, #306fb3 100%);
}
.inner--blue .inner-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--logo-bar);
}
.inner--blue .inner-side {
  border-color: #bfdbfe;
  box-shadow: 0 10px 28px rgba(29, 79, 138, 0.08);
}
.inner--blue .inner-side__title {
  color: #1d4f8a;
  padding-left: 10px;
  border-left: 3px solid #306fb3;
}
.inner--blue .side-nav a:hover { background: #eff6ff; color: #0b3b73; }
.inner--blue .side-nav a.is-active { background: #306fb3; color: #fff; }
.inner--blue .prose h2,
.inner--blue .prose h3,
.inner--blue .content-card h2 { color: #0b3b73; }
.inner--blue .article-card,
.inner--blue .content-card,
.inner--blue .empty-card { border-color: #bfdbfe; }
.inner--blue .article-card { border-top: 4px solid #306fb3; }
.inner--blue .content-card { border-left: 4px solid #306fb3; }
.inner--blue .content-card:hover {
  border-color: #306fb3;
  box-shadow: 0 12px 28px rgba(48, 111, 179, 0.14);
}
.inner--blue .lead-note {
  background: #eff6ff;
  border-color: #93c5fd;
}
.inner--blue .table-wrap { border-color: #bfdbfe; }
.inner--blue .data-table th { background: #eff6ff; color: #1d4f8a; }

.inner--green {
  --theme: #69a144;
  --theme-deep: #4f7d30;
  background:
    radial-gradient(900px 320px at 100% 0, rgba(105, 161, 68, 0.10), transparent 55%),
    #f4faf0;
}
.inner--green .inner-hero {
  background: linear-gradient(135deg, #365314 0%, #4f7d30 48%, #69a144 100%);
}
.inner--green .inner-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--logo-bar);
}
.inner--green .inner-side { border-color: #bbf7d0; }
.inner--green .inner-side__title { color: #3f6b22; padding-left: 10px; border-left: 3px solid #69a144; }
.inner--green .side-nav a:hover { background: #f0fdf4; color: #365314; }
.inner--green .side-nav a.is-active { background: #69a144; color: #fff; }
.inner--green .content-card h2, .inner--green .prose h2 { color: #3f6b22; }
.inner--green .article-card { border-top: 4px solid #69a144; border-color: #bbf7d0; }
.inner--green .content-card { border-left: 4px solid #69a144; border-color: #bbf7d0; }

.inner--orange {
  --theme: #ef6536;
  --theme-deep: #c7440f;
  --theme-dark: #9a3412;
  --theme-ink: #9a3412;
  --theme-soft: #fff7ed;
  --theme-mid: #fed7aa;
  --theme-line: #fdba74;
  background:
    radial-gradient(900px 320px at 100% 0, rgba(239, 101, 54, 0.10), transparent 55%),
    #fff7f3;
}
.inner--orange .inner-hero {
  background: linear-gradient(135deg, #9a3412 0%, #c7440f 48%, #ef6536 100%);
}
.inner--orange .inner-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--logo-bar);
}
.inner--orange .inner-side { border-color: #fed7aa; }
.inner--orange .inner-side__title { color: #9a3412; padding-left: 10px; border-left: 3px solid #ef6536; }
.inner--orange .side-nav a:hover { background: #fff7ed; color: #9a3412; }
.inner--orange .side-nav a.is-active { background: #ef6536; color: #fff; }
.inner--orange .content-card h2,
.inner--orange .prose h2,
.inner--orange .prose h3 { color: #9a3412; }
.inner--orange .prose a,
.inner--orange .back-line a { color: #c2410c; }
.inner--orange .article-card { border-top: 4px solid #ef6536; border-color: #fed7aa; }
.inner--orange .content-card { border-left: 4px solid #ef6536; border-color: #fed7aa; }
.inner--orange .lead-note {
  background: #fff7ed;
  border-color: #fdba74;
}
.inner--orange .table-wrap { border-color: #fed7aa; }
.inner--orange .data-table th { background: #fff7ed; color: #9a3412; }
.inner--orange .theme-btn {
  background: #ef6536;
  box-shadow: 0 4px 12px rgba(239, 101, 54, 0.2);
}
.inner--orange .theme-btn:hover { background: #c7440f; }
.inner--orange .theme-btn--ghost {
  background: #fff;
  color: #9a3412 !important;
  border-color: #ef6536;
}
.inner--orange .theme-btn--ghost:hover {
  background: #fff7ed;
  color: #9a3412 !important;
}
.inner--orange .pager__btn,
.inner--orange .pager__status { color: #9a3412; border-color: #fdba74; }
.inner--orange .pager__btn.is-active {
  background: #ef6536;
  border-color: #ef6536;
  color: #fff;
}
.card-list--tiles .content-card,
.inner--amber .card-list--tiles .content-card,
.inner--blue .card-list--tiles .content-card,
.inner--green .card-list--tiles .content-card,
.inner--orange .card-list--tiles .content-card {
  border-left-width: 1px;
}

.inner--sky {
  --theme: #0ea5e9;
  background:
    radial-gradient(900px 320px at 100% 0, rgba(14, 165, 233, 0.10), transparent 55%),
    #f0f9ff;
}
.inner--sky .inner-hero {
  background: linear-gradient(135deg, #075985 0%, #0284c7 48%, #0ea5e9 100%);
}
.inner--sky .inner-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--logo-bar);
}
.inner--sky .inner-side { border-color: #bae6fd; }
.inner--sky .inner-side__title { color: #075985; padding-left: 10px; border-left: 3px solid #0ea5e9; }
.inner--sky .side-nav a:hover { background: #f0f9ff; color: #075985; }
.inner--sky .side-nav a.is-active { background: #0ea5e9; color: #fff; }

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  background: #306fb3;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(48, 111, 179, 0.18);
}
.theme-btn:hover { background: #1d4f8a; }
.theme-btn--ghost {
  background: #fff;
  color: #0b3b73 !important;
  border: 2px solid #306fb3;
  box-shadow: none;
}
.theme-btn--ghost:hover { background: #eff6ff; color: #0b3b73 !important; }
.theme-btn--accent {
  background: #ef6536;
  box-shadow: 0 4px 12px rgba(239, 101, 54, 0.2);
}
.theme-btn--accent:hover { background: #c7440f; }
.cta-row { margin: 22px 0 8px; }
.content-card--doc {
  position: relative;
  padding-left: 72px;
}
.content-card--doc::before {
  content: "📄";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #dbeafe;
}
.doc-open {
  display: inline-flex;
  margin-top: 10px;
  color: #1d4f8a;
  font-weight: 800;
  font-size: 13px;
}
.req-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
}
.req-box h3 { margin: 0 0 10px; }
.req-box dl { display: grid; gap: 8px; margin: 0; }
.req-box div { display: grid; grid-template-columns: 160px 1fr; gap: 8px; }
.req-box dt { color: #64748b; }
.req-box__price { margin: 14px 0 0; }
.pay-hero {
  margin: 0 0 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b3b73, #306fb3);
  color: #fff;
}
.pay-hero p { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.15; }
.pay-hero em { color: #fecaca; font-style: normal; }
.pay-hero span { display: block; margin-top: 6px; color: #dbeafe; }
.pay-flow { margin: 0 0 24px; }
.pay-start {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #bfdbfe;
  font-weight: 700;
  color: #0b3b73;
}
.pay-cols { display: grid; gap: 12px; }
.pay-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.pay-card h3 { margin: 0 0 8px; font-size: 18px; }
.pay-card--ok { border-top: 4px solid #306fb3; }
.pay-card--bad { border-top: 4px solid #ef4444; }
.pay-card--bad h3 { color: #b91c1c; }
.pay-card ul { margin: 0; padding-left: 18px; }
.pay-icon {
  margin-top: 12px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #306fb3;
  color: #fff;
  font-weight: 800;
}
@media (min-width: 760px) {
  .pay-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959.98px) {
  .inner-hero { padding: 18px 0 20px; }
  .inner-hero h1 { font-size: 26px; }
  .inner-hero__lead { font-size: 15px; }
  .inner-wrap { padding: 16px 0 40px; gap: 14px; }
  .inner-side { padding: 12px; border-radius: 14px; }
  .inner-side__title { margin-bottom: 8px; }
  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .side-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: #f8fafc;
  }
  .side-nav a.is-active { background: #0b3b73; color: #fff; border-color: #0b3b73; }
  .inner--amber .side-nav a { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
  .inner--amber .side-nav a.is-active { background: #f59e0b; border-color: #f59e0b; color: #fff; }
  .inner--blue .side-nav a { background: #eff6ff; border-color: #bfdbfe; color: #0b3b73; }
  .inner--blue .side-nav a.is-active { background: #306fb3; border-color: #306fb3; color: #fff; }
  .inner--green .side-nav a { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
  .inner--green .side-nav a.is-active { background: #69a144; border-color: #69a144; color: #fff; }
  .inner--orange .side-nav a { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
  .inner--orange .side-nav a.is-active { background: #ef6536; border-color: #ef6536; color: #fff; }
  .inner--sky .side-nav a { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
  .inner--sky .side-nav a.is-active { background: #0ea5e9; border-color: #0ea5e9; color: #fff; }
  .org-tree::before { display: none; }
  .org-tree__top { max-width: 100%; text-align: center; }
  .org-chart__cols { grid-template-columns: 1fr; min-width: 0; padding-top: 0; }
  .org-chart__headrow--split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .org-chart__direct {
    flex-direction: column;
    width: min(100%, 420px);
    max-width: 100%;
    margin-top: 0;
  }
  .org-chart__direct-box { max-width: none; width: 100%; }
  .org-chart__arm {
    flex-basis: 16px;
    width: 2px;
    height: 16px;
    margin: 0 0 4px;
  }
  .org-chart__arm::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%) rotate(135deg);
  }
  .about-links { display: grid; grid-template-columns: 1fr; }
  .about-link, .theme-btn, .cta-row .theme-btn { width: 100%; justify-content: center; }
  .cta-row { display: grid; }
  .article-card, .empty-card, .contact-panel, .content-card { padding: 16px; border-radius: 14px; }
  .content-card--media { grid-template-columns: 1fr; padding: 12px; }
  .card-list--tiles .content-card--media { padding: 0; }
  .yt-news__head { padding: 14px 14px 12px; }
  .article-card .yt-news h2, .yt-news h2 { font-size: 18px !important; }
  .content-card h2, .person-card h2, .struct-card h2 { font-size: 18px; }
  .person-card { grid-template-columns: 1fr; }
  .person-card__photo { width: 56px; height: 56px; border-radius: 14px; font-size: 22px; }
  .fact-list div { grid-template-columns: 1fr; gap: 2px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 8px; }
  .func-list li { padding-right: 14px; }
  .contacts-map { min-height: 280px; }
  .contacts-map iframe { min-height: 240px; }
  .recv-card { min-width: 0; }
  .pay-hero { font-size: 22px; }
}

@media (max-width: 767.98px) {
  .nav-drop__list { display: none !important; }
  .req-box div { grid-template-columns: 1fr; }
  .content-card--doc { padding-left: 20px; }
  .content-card--doc::before { display: none; }
  .table-wrap--schedule { display: none; }
  .schedule-cards { display: grid; gap: 10px; margin-top: 16px; }
  .hotline-big { font-size: 34px; }
  .pager { gap: 6px; }
  .pager__btn, .pager__status { min-height: 40px; display: inline-flex; align-items: center; }
  .inner-search { grid-template-columns: 1fr; }
  .crumbs { font-size: 12px; }
}

.auth-wrap { padding: 28px 0 72px; }
.auth-flash {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #69a144;
  color: #3f6b22;
  font-weight: 600;
}
.auth-flash--err {
  background: #fff4f0;
  border-color: #ef6536;
  color: #9a3412;
}
.auth-flash--link {
  background: #eff6ff;
  border-color: #306fb3;
  color: #0b3b73;
  word-break: break-all;
}
.auth-flash--link a { color: #306fb3; font-weight: 800; }
.cabinet-layout,
.auth-layout {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .cabinet-layout { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); align-items: start; }
  .auth-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .auth-layout--wide { grid-template-columns: minmax(0, 1.2fr) 280px; }
}
.auth-card,
.cabinet-panel,
.cabinet-profile,
.auth-aside {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.auth-card__body,
.cabinet-panel__body,
.auth-aside__body {
  padding: 22px 22px 20px;
}
.auth-form { display: grid; gap: 12px; }
.auth-field { display: grid; gap: 6px; }
.auth-field label,
.auth-address legend {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0b3b73;
}
.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #c8cbcf;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: #306fb3;
  box-shadow: 0 0 0 3px rgba(48, 111, 179, 0.16);
}
.auth-field.is-error input,
.auth-field.is-error select {
  border-color: #ef6536;
  background: #fff8f5;
}
.auth-field__err { margin: 0; color: #c7440f; font-size: 13px; font-weight: 600; }
.auth-address {
  margin: 2px 0 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #69a144;
  border-radius: 8px;
  background: #f8faf8;
}
.auth-address__row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.auth-address__pair {
  display: grid;
  gap: 12px;
}
@media (min-width: 520px) {
  .auth-address__pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .auth-address__row { grid-template-columns: minmax(0, 1.5fr) minmax(110px, 0.7fr) minmax(120px, 0.8fr); }
}
.auth-form__links { display: flex; justify-content: flex-end; }
.auth-form__links a,
.auth-switch a,
.auth-text-link {
  color: #306fb3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-submit { width: 100%; margin-top: 4px; }
.auth-check {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.auth-check.is-error { border-color: #ef6536; background: #fff8f5; }
.auth-check label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: #334155;
}
.auth-check input { margin-top: 3px; }
.auth-check a { font-weight: 700; }
.auth-switch { margin: 16px 0 0; text-align: center; color: #475569; }
.cabinet-panel__kicker {
  margin: 0 0 6px;
  color: #306fb3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-aside h2,
.cabinet-panel h2 { margin: 0 0 10px; font-size: 22px; color: #0b3b73; }
.auth-aside p,
.cabinet-panel p { margin: 0 0 14px; color: #334155; line-height: 1.55; }
.auth-aside ul { margin: 0 0 18px; padding-left: 18px; color: #1e293b; }
.auth-aside li { margin: 0 0 8px; }
.auth-aside .theme-btn { width: 100%; }
.cabinet-actions { display: grid; gap: 8px; }
.cabinet-actions .theme-btn { width: 100%; }
.cabinet-profile { margin-top: 12px; }
.cabinet-profile strong { display: block; margin: 0 0 12px; font-size: 18px; color: #0b3b73; }
.cabinet-profile dl { margin: 0 0 14px; display: grid; gap: 10px; }
.cabinet-profile dt { color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.cabinet-profile dd { margin: 2px 0 0; color: #0f172a; }
.cabinet-layout--user {
  grid-template-columns: 1fr;
}
.cabinet-work {
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 960px) {
  .cabinet-work {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  }
}
.addr-book { display: grid; gap: 12px; margin: 0 0 16px; }
.addr-card {
  display: grid;
  gap: 8px;
  padding: 14px 14px 16px;
  border: 1px solid #e2eaf3;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 48%);
}
.addr-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #0b3b73;
}
.addr-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.addr-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.addr-card__badge.is-primary { background: #dbeafe; color: #1d4f8a; }
.addr-card__remove {
  border: 0;
  background: transparent;
  color: #c7440f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.addr-card__center {
  margin: 0;
  color: #475569;
  font-size: 14px;
}
.addr-card .cabinet-status { margin: 0; }
.addr-card .theme-btn { width: auto; }
.addr-add {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border: 1px dashed #93c5fd;
  border-radius: 14px;
  background: #f8fbff;
}
.addr-add h3 {
  margin: 0;
  font-size: 16px;
  color: #0b3b73;
}
.addr-add .theme-btn { width: 100%; }
.cabinet-apply {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(11, 59, 115, 0.08);
}
.cabinet-apply__body {
  padding: 22px 24px 24px;
}
.cabinet-apply h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #0b3b73;
}
.cabinet-apply p {
  margin: 0 0 14px;
  color: #334155;
  line-height: 1.55;
}
.cabinet-apply__btn,
.cabinet-apply .theme-btn {
  width: 100%;
}
.cabinet-apply .addr-card .theme-btn { width: auto; }
.cabinet-apply__hint {
  margin: 0 0 12px;
  color: #9a3412;
  font-weight: 600;
}
.cabinet-status {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #f8fbfe;
}
.cabinet-status__label {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cabinet-status strong {
  margin: 0;
  font-size: 18px;
  color: #0b3b73;
}
.cabinet-status span,
.cabinet-status p,
.cabinet-status em {
  color: #475569;
  font-size: 14px;
}
.cabinet-status em {
  font-style: normal;
  color: #9a3412;
}
.cabinet-status--incoming { border-left: 3px solid #306fb3; }
.cabinet-status--processed { border-left: 3px solid #69a144; background: #f4fbf0; }
.cabinet-status--transfer { border-left: 3px solid #ef6536; background: #fff7ed; }
.cabinet-status--rejected { border-left: 3px solid #c7440f; background: #fff8f5; }
.cabinet-profile__actions--view {
  padding: 8px 28px 28px;
}
.cabinet-modal {
  width: min(560px, calc(100% - 24px));
  border: 0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.cabinet-modal::backdrop {
  background: rgba(11, 59, 115, 0.38);
}
.cabinet-modal__form {
  display: grid;
  gap: 14px;
  padding: 24px;
}
.cabinet-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: #0b3b73;
}
.cabinet-modal__data {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #f8fbfe;
}
.cabinet-modal__data div { min-width: 0; }
.cabinet-modal__data dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cabinet-modal__data dd {
  margin: 2px 0 0;
  color: #0b3b73;
  font-weight: 700;
  word-break: break-word;
}
.cabinet-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-card--top {
  order: 0;
}
.cabinet-profile--wide {
  margin-top: 0;
  box-shadow: 0 16px 36px rgba(11, 59, 115, 0.08);
}
.cabinet-profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  padding: 26px 28px 22px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(48, 111, 179, 0.12), transparent 46%),
    linear-gradient(180deg, #f3f8fd 0%, #fff 78%);
  border-bottom: 1px solid #e2eaf3;
}
.cabinet-avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #1a6fb3 0%, #0b3b73 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(11, 59, 115, 0.22);
}
.cabinet-profile__intro {
  min-width: 0;
  flex: 1 1 260px;
}
.cabinet-profile--wide h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  color: #0b3b73;
}
.cabinet-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.45;
}
.cabinet-profile__meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: #94a3b8;
}
.cabinet-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #3f6b22;
  border: 1px solid #69a144;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cabinet-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  padding: 18px 28px 8px;
  background: #f8fbfe;
}
.cabinet-fact {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}
.cabinet-fact span {
  display: block;
  margin: 0 0 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.cabinet-fact strong {
  display: block;
  margin: 0;
  color: #0b3b73;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  word-break: break-word;
}
.cabinet-fact em {
  display: block;
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}
.cabinet-profile__form {
  display: grid;
  gap: 18px;
  padding: 10px 28px 28px;
}
.cabinet-profile__edit-title {
  margin: 8px 0 0;
  color: #0b3b73;
  font-size: 18px;
  font-weight: 800;
}
.cabinet-profile__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .cabinet-profile__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.cabinet-profile__fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid #e2eaf3;
  border-left: 3px solid #306fb3;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  min-width: 0;
  background: #fbfcfe;
}
.cabinet-profile__fieldset legend {
  padding: 0 8px;
  color: #0b3b73;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cabinet-profile__fieldset--wide {
  background: #fff;
  border-left-color: #69a144;
}
.cabinet-profile__hint {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.cabinet-profile__pass {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .cabinet-profile__pass {
    grid-template-columns: 1fr 1fr;
  }
}
.cabinet-profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.cabinet-profile__actions .theme-btn {
  min-width: 240px;
}
.article-card--cabinet {
  padding-top: 8px;
}
@media (min-width: 960px) {
  .cabinet-layout--user { grid-template-columns: 1fr; }
}
.inner--blue .article-card,
.inner--blue .auth-card,
.inner--blue .cabinet-panel,
.inner--blue .cabinet-profile,
.inner--blue .cabinet-apply,
.inner--blue .auth-aside { border-color: #d7e3f0; }
.inner--blue .cabinet-apply { border-top: 4px solid #69a144; }
@media (max-width: 767.98px) {
  .auth-wrap { padding: 16px 0 48px; }
  .auth-card__body, .cabinet-panel__body, .auth-aside__body { padding: 16px; }
  .cabinet-profile__head,
  .cabinet-facts,
  .cabinet-profile__form,
  .cabinet-profile__actions--view,
  .cabinet-apply__body { padding-left: 16px; padding-right: 16px; }
  .cabinet-avatar { width: 72px; height: 72px; font-size: 24px; }
}

.service-board {
  display: grid;
  gap: 16px;
  margin: 4px 0 22px;
}
.service-board__col {
  padding: 18px 18px 10px;
  border: 1px solid var(--theme-line, #fed7aa);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(154, 52, 18, 0.06);
}
.prose .service-board h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--theme-ink, #9a3412);
}
.prose .service-board__note {
  margin: 0 0 14px;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.45;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: svc;
}
.prose .service-list {
  margin: 0 0 10px;
  padding-left: 0;
}
.service-list li {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--theme-soft, #fff7ed);
  font-size: 15px;
  line-height: 1.45;
}
.service-list li::before {
  content: counter(svc);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--theme, #ef6536);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
@media (min-width: 900px) {
  .service-board {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}
.doc-lib {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.doc-section-title {
  margin: 28px 0 12px;
  font-size: 22px;
  color: #0b3b73;
}
.doc-card {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.doc-card__top {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.doc-card__icon { width: 40px; height: 50px; }
.doc-card__meta {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.doc-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
  color: #0b3b73;
}
.doc-card p { margin: 0; color: #475569; font-size: 14px; }
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-btn,
.doc-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.doc-btn {
  background: #0b3b73;
  color: #fff;
}
.doc-btn:hover { background: #164a8c; }
.doc-btn--ghost {
  background: #eff6ff;
  color: #0b3b73;
  border-color: #bfdbfe;
}
.doc-btn--ghost:hover { background: #dbeafe; }
.doc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0b3b73;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.doc-chip--soft {
  background: #eff6ff;
  color: #1d4f8a;
}
.doc-viewer {
  margin: 0 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.doc-viewer__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
}
.doc-viewer__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-viewer__body { background: #fff; }
.doc-viewer--inline .doc-viewer__body {
  max-height: min(78vh, 920px);
  overflow: auto;
}
.doc-frame {
  display: block;
  width: 100%;
  min-height: 72vh;
  border: 0;
  background: #e2e8f0;
}
.doc-html { padding: 18px 20px 24px; overflow-wrap: anywhere; }
.doc-html p { margin: 0 0 10px; line-height: 1.55; }
.doc-html h2, .doc-html h3 { margin: 18px 0 10px; }
.doc-fit {
  width: 100%;
  background: #d5dde8;
  overflow: visible;
}
.doc-modal__body > .doc-fit {
  flex: none;
  width: 100%;
}
.doc-fit.is-loading { min-height: 220px; }
.doc-fit__scale {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.doc-fit__sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  max-width: none;
}
.doc-fit__sheet .docx-wrapper {
  background: transparent !important;
  padding: 16px 0 24px !important;
  align-items: center;
  overflow: visible !important;
}
.doc-fit--pages .doc-fit__scale { height: auto !important; overflow: visible; }
.doc-fit--pages .doc-fit__sheet {
  position: relative;
  width: 100%;
  left: auto;
  top: auto;
}
.doc-fit--pages .docx-wrapper {
  width: 100%;
  align-items: stretch !important;
  padding: 12px 0 4px !important;
}
.doc-fit__page {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 0 16px;
}
.doc-fit__page > section.docx {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 !important;
  overflow: visible !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}
.doc-page-frame {
  width: 100%;
  overflow: hidden;
}
.doc-fit__page > section.docx table {
  table-layout: fixed;
}
.doc-fit__sheet .table-wrap {
  overflow: visible;
  width: max-content;
  max-width: none;
  margin: 16px;
  background: #fff;
}
.doc-fit__sheet .data-table,
.doc-fit__sheet .tariff-table {
  width: max-content;
  max-width: none;
}
.doc-html--page {
  box-sizing: border-box;
  width: 794px;
  min-height: 900px;
  margin: 16px;
  padding: 72px 64px;
  background: #fff;
  overflow-wrap: normal;
  word-break: normal;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  color: #111;
}
.doc-sheet {
  max-height: min(72vh, 860px);
  overflow: auto;
  border-top: 1px solid var(--line);
  background: #fff;
}
.doc-sheet:has(.doc-fit) { background: #d5dde8; }
.form-packs { display: grid; gap: 16px; }
.form-pack {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.form-pack__head {
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, #eff6ff, #fff);
  border-bottom: 1px solid #dbeafe;
}
.form-pack__head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: #0b3b73;
}
.form-pack__head p {
  margin: 6px 0 0;
  max-width: 62ch;
  color: #475569;
}
.form-pack .doc-lib { padding: 12px; }
.form-pack .doc-card { box-shadow: none; }
.prose .contract-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  color: #7c2d12;
}
.prose .contract-note a { color: #9a3412; font-weight: 700; }
.doc-preview-empty { margin: 0; padding: 24px 20px; color: #475569; }
.doc-article { display: grid; gap: 16px; }
.tariff-sheet {
  margin: 8px 0 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(48, 111, 179, 0.06);
}
.tariff-sheet__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.tariff-sheet__head h2 { margin: 0 0 6px; font-size: 22px; color: #0b3b73; }
.tariff-sheet__head p { margin: 0; color: #475569; max-width: 58ch; }
.doc-sheet__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0b3b73;
  letter-spacing: 0.02em;
}
.tariff-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: pre-line;
  color: #0f172a;
}
.union-page { display: grid; gap: 22px; }
.union-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.union-block__head {
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, #eff6ff, #fff);
  border-bottom: 1px solid #dbeafe;
}
.union-block__kicker {
  margin: 0 0 4px;
  color: #306fb3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.union-block__head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: #0b3b73;
}
.union-block .table-wrap { margin: 0; border: 0; border-radius: 0; }
.union-table td:last-child,
.union-table th:last-child { font-weight: 700; color: #0b3b73; }
.union-table tr.is-lead td { background: #f0f7ff; }
.union-poster {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}
.union-poster img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.union-poster figcaption {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.inner--green .doc-card h2,
.inner--green .doc-section-title,
.inner--green .union-block__head h2 { color: #3f6b22; }
.inner--green .doc-btn { background: #3f6b22; color: #fff; }
.inner--green .doc-btn:hover { background: #365314; }
.inner--green .doc-btn--ghost { background: #f0fdf4; color: #3f6b22; border-color: #bbf7d0; }
.inner--green .doc-btn--ghost:hover { background: #dcfce7; color: #3f6b22; }
.inner--green .doc-chip { background: #3f6b22; }
.inner--green .tariff-sheet { border-color: #bbf7d0; }
.inner--amber .doc-card h2,
.inner--amber .doc-section-title { color: #92400e; }
.inner--amber .doc-btn { background: #b45309; color: #fff; }
.inner--amber .doc-btn:hover { background: #92400e; }
.inner--amber .doc-btn--ghost {
  background: #fffbeb;
  color: #92400e;
  border-color: #fcd34d;
}
.inner--amber .doc-btn--ghost:hover {
  background: #fef3c7;
  color: #92400e;
}
.inner--orange .doc-card h2,
.inner--orange .doc-section-title,
.inner--orange .tariff-sheet__head h2,
.inner--orange .doc-modal__heading h2 { color: #9a3412; }
.inner--orange .doc-btn { background: #c2410c; color: #fff; }
.inner--orange .doc-btn:hover { background: #9a3412; }
.inner--orange .doc-btn--ghost {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}
.inner--orange .doc-btn--ghost:hover {
  background: #ffedd5;
  color: #9a3412;
}
.inner--orange .doc-chip { background: #c2410c; }
.inner--orange .doc-chip--soft { background: #fff7ed; color: #9a3412; }
.inner--orange .tariff-sheet { border-color: #fed7aa; }

@media (max-width: 759.98px) {
  .doc-card__top { grid-template-columns: 32px 1fr; gap: 10px; }
  .doc-card__icon { width: 32px; height: 40px; }
  .doc-card h2 { font-size: 16px; }
  .doc-actions,
  .doc-viewer__bar { flex-direction: column; align-items: stretch; }
  .doc-btn,
  .doc-btn--ghost { width: 100%; }
  .doc-frame { min-height: 58vh; }
  .tariff-sheet { padding: 14px; }
  .tariff-sheet__head { flex-direction: column; }
  .union-block__head { padding: 14px; }
  .union-block__head h2 { font-size: 17px; }
  .union-table thead { display: none; }
  .union-table,
  .union-table tbody,
  .union-table tr,
  .tariff-table,
  .tariff-table tbody,
  .tariff-table tr { display: block; width: 100%; }
  .union-table tr,
  .tariff-table tbody tr {
    margin: 10px 12px 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }
  .union-table td,
  .tariff-table td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) 1fr;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #eef2f7;
  }
  .union-table td:last-child,
  .tariff-table td:last-child { border-bottom: 0; }
  .union-table td::before,
  .tariff-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .tariff-table thead { display: none; }
  .doc-fit .tariff-table,
  .doc-fit .tariff-table tbody,
  .doc-fit .tariff-table tr,
  .doc-fit .union-table,
  .doc-fit .union-table tbody,
  .doc-fit .union-table tr {
    display: table;
    width: max-content;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .doc-fit .tariff-table { display: table; border-collapse: collapse; }
  .doc-fit .tariff-table tbody,
  .doc-fit .union-table tbody { display: table-row-group; }
  .doc-fit .tariff-table tr,
  .doc-fit .union-table tr { display: table-row; }
  .doc-fit .tariff-table thead,
  .doc-fit .union-table thead { display: table-header-group; }
  .doc-fit .tariff-table td,
  .doc-fit .tariff-table th,
  .doc-fit .union-table td,
  .doc-fit .union-table th {
    display: table-cell;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
  }
  .doc-fit .tariff-table td::before,
  .doc-fit .union-table td::before { content: none; }
}

body.is-doc-modal { overflow: hidden; }
.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}
.doc-modal[hidden] { display: none; }
.doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
}
.doc-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, calc(100vw - 24px));
  height: min(92vh, 960px);
  background: #f1f5f9;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.doc-modal__dialog--landscape {
  width: min(1240px, calc(100vw - 24px));
}
.doc-modal__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.doc-modal__heading { min-width: 0; flex: 1 1 260px; }
.doc-modal__kicker {
  margin: 0 0 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.doc-modal__heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #0b3b73;
}
.doc-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: #dbe3ee;
}
.doc-modal__body:has(.doc-frame) { overflow: hidden; }
.doc-modal__body .doc-frame {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  background: #525659;
}
.doc-modal__paper {
  width: min(860px, calc(100% - 24px));
  margin: 16px auto;
  padding: 28px 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.doc-modal__loading,
.doc-modal__body .doc-preview-empty {
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  color: #334155;
  font-weight: 600;
}
@media (max-width: 759.98px) {
  .doc-modal { padding: 0; }
  .doc-modal__dialog {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
  .doc-modal__bar { flex-direction: column; align-items: stretch; }
  .doc-modal__paper { width: calc(100% - 16px); margin: 8px auto; padding: 16px; }
}

html.cookie-banner-off .cookie-banner,
.cookie-banner[hidden],
html.has-cookie-banner:not(.cookie-banner-off) .test-banner,
html.test-banner-off .test-banner,
.test-banner[hidden] {
  display: none !important;
}

html.has-cookie-banner:not(.cookie-banner-off) body,
html.has-test-banner:not(.test-banner-off) body {
  padding-bottom: 180px;
}

.test-banner,
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 72;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  animation: test-banner-in 0.42s ease;
}

@keyframes test-banner-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .test-banner,
  .cookie-banner { animation: none; }
}

.test-banner__card {
  pointer-events: auto;
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(11, 59, 115, 0.18);
}

.test-banner__bar {
  height: 4px;
  background: var(--logo-bar);
}

.test-banner__body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 14px;
  align-items: start;
  padding: 14px 16px 16px;
}

.test-banner__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #e8f1fc;
  color: #1d4f8a;
}
.test-banner__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
}

.test-banner__copy { min-width: 0; }
.test-banner__title {
  margin: 0 0 6px;
  color: var(--blue-navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.test-banner__text {
  margin: 0 0 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}
.test-banner__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.test-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.test-banner__chip svg {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  overflow: visible;
}
.test-banner__chip--mail {
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.test-banner__chip--mail:hover {
  background: #ffedd5;
  border-color: #fdba74;
}
.cookie-banner__ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #1d4f8a;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cookie-banner__ok:hover {
  background: #0b3b73;
}
.cookie-banner__ok:focus-visible,
.test-banner__close:focus-visible {
  outline: 2px solid #1d4f8a;
  outline-offset: 2px;
}
.test-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: #f1f5f9;
}
.test-banner__close svg {
  display: block;
  overflow: visible;
}
.test-banner__close:hover {
  background: #fee2e2;
  color: #9f1239;
}

@media (max-width: 640px) {
  html.has-cookie-banner:not(.cookie-banner-off) body,
  html.has-test-banner:not(.test-banner-off) body { padding-bottom: 240px; }
  .test-banner__body {
    grid-template-columns: auto 1fr;
  }
  .test-banner__close {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .test-banner__icon { grid-row: 1; }
  .test-banner__copy { grid-column: 1 / -1; }
}

.faq { display: grid; gap: 14px; }
.faq__toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
}
.faq__search input {
  width: 100%;
  height: 48px;
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  padding: 0 16px 0 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='m12.5 12.5 3 3'/%3E%3C/svg%3E") 16px 50% no-repeat;
  color: #0f172a;
}
.faq__search input:focus {
  outline: 2px solid #306fb3;
  outline-offset: 1px;
  border-color: #306fb3;
}
.faq__count {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.faq__list { display: grid; gap: 10px; }
.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 59, 115, 0.06);
}
.faq-item[hidden] { display: none !important; }
.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 16px 14px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e8f1fc;
  color: #1d4f8a;
  font-size: 13px;
  font-weight: 800;
}
.faq-item__q {
  padding-top: 6px;
  color: #0b3b73;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.faq-item__chev {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 8px;
  background:
    #f1f5f9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E")
    50% 50% no-repeat;
}
.faq-item[open] {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(48, 111, 179, 0.12);
}
.faq-item[open] .faq-item__num { background: #306fb3; color: #fff; }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); background-color: #e8f1fc; }
.faq-item__a {
  padding: 0 18px 18px 62px;
  color: #334155;
  font-size: 15px;
  line-height: 1.55;
}
.faq-item__a p { margin: 0 0 10px; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a ul,
.faq-item__a ol { margin: 0 0 12px; padding-left: 18px; }
.faq-item__a li { margin: 0 0 6px; }
.faq__empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #bfdbfe;
  border-radius: 16px;
  background: #f8fbff;
  color: #475569;
  text-align: center;
}
.inner--blue .faq-item { border-color: #bfdbfe; }
.inner--blue .faq-item[open] { border-color: #306fb3; }
@media (max-width: 640px) {
  .faq__toolbar { grid-template-columns: 1fr; }
  .faq-item__a { padding-left: 16px; }
}

.ideo-page { display: grid; gap: 18px; }
.ideo-page > .prose { margin: 0; }
.ideo-lead {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f4f8ff, #eef4fc);
  border: 1px solid #d7e3f0;
  border-radius: 16px;
  color: #1e3a5f;
  font-size: 16px;
  line-height: 1.55;
}
.ideo-docs__title {
  margin: 6px 0 0;
  color: #0b3b73;
  font-size: 24px;
}
.ideo-docs { display: grid; gap: 10px; }
.ideo-doc {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 59, 115, 0.06);
}
.ideo-doc summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 16px 14px;
  cursor: pointer;
  list-style: none;
}
.ideo-doc summary::-webkit-details-marker { display: none; }
.ideo-doc__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  background: #e8f1fc;
  color: #1d4f8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ideo-doc__title {
  padding-top: 6px;
  color: #0b3b73;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.ideo-doc__chev {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 8px;
  background:
    #f1f5f9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E")
    50% 50% no-repeat;
}
.ideo-doc[open] {
  border-color: #93c5fd;
  box-shadow: 0 14px 30px rgba(48, 111, 179, 0.12);
}
.ideo-doc[open] .ideo-doc__mark { background: #306fb3; color: #fff; }
.ideo-doc[open] .ideo-doc__chev { transform: rotate(180deg); background-color: #e8f1fc; }
.ideo-doc__body { padding: 0 18px 18px 14px; }
.ideo-doc__body .prose { margin: 0 0 14px; color: #334155; }
.ideo-doc__body .prose p { margin: 0 0 10px; }
.ideo-doc__body .prose p:last-child { margin-bottom: 0; }
.ideo-doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ideo-doc__size {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.ideo-doc__more {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-weight: 800;
  text-decoration: none;
}
.ideo-doc__more:hover { background: #ffedd5; }
.ideo-inform {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b3b73, #1d4f8a 55%, #306fb3);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11, 59, 115, 0.18);
}
.ideo-inform span { font-weight: 800; font-size: 16px; }
.ideo-inform em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
}
.ideo-inform:hover { filter: brightness(1.05); }

.assoc-page { display: grid; gap: 18px; }
.assoc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.assoc-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  min-height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(11, 59, 115, 0.07);
}
.assoc-card__logo {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid #e2eaf4;
}
.assoc-card__logo img {
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}
.assoc-card__kicker {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.assoc-card h2 {
  margin: 0 0 10px;
  color: #0b3b73;
  font-size: 22px;
  line-height: 1.25;
}
.assoc-card__post,
.assoc-card__role {
  margin: 0 0 6px;
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
}
.assoc-card__name {
  margin: 8px 0 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}
.assoc-card__phone {
  display: block;
  width: fit-content;
  margin: 0 0 14px;
  color: #1d4f8a;
  font-weight: 800;
  text-decoration: none;
}
.assoc-card__phone:hover { color: #0b3b73; }
.assoc-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #0b3b73;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.assoc-card__link:hover { background: #164a8a; }
.assoc-card__note { margin: 0 0 12px; color: #475569; }
@media (max-width: 980px) {
  .assoc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ideo-doc summary,
  .ideo-inform { grid-template-columns: 1fr auto; }
  .ideo-doc__mark { grid-column: 1; }
  .ideo-doc__title { grid-column: 1 / -1; }
  .ideo-doc__chev { grid-column: 2; grid-row: 1; }
  .assoc-card { grid-template-columns: 1fr; }
  .assoc-card__logo { width: 100%; height: 120px; }
}

.inner-wrap--plain { display: block; }
.sitemap-groups { display: grid; gap: 16px; }
.sitemap-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px 8px;
}
.sitemap-group h2 { margin: 0 0 12px; font-size: 20px; color: #0b3b73; }
.sitemap-group ul { margin: 0; padding: 0 0 10px; list-style: none; display: grid; gap: 8px; }
.sitemap-group a { color: #0b3b73; font-weight: 600; }
.sitemap-group a:hover { color: #1d4ed8; }
.sitemap-articles { margin: 6px 0 4px 14px !important; padding-bottom: 4px !important; gap: 5px !important; }
.sitemap-articles a { font-weight: 500; color: #334155; font-size: 15px; }
