: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: 0px;
  --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;
}

/* Header */
.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;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 39px;
}

.topbar__meta,
.topbar__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.topbar__addr {
  display: none;
}

.topbar__lang {
  gap: 4px;
}

.topbar__sep {
  display: none;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar__item--addr {
  display: none;
}

.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: 24px;
  padding: 0 4px;
  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);
}

.a11y-label {
  display: inline;
}

.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;
}

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

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

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

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

.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;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  overflow: visible;
}

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

.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;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.nav__hotline svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.hotline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #629e3a;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.mobile-nav {
  display: none;
}

/* Hero / map */
.hero {
  background: linear-gradient(180deg, #1d1f23 0%, #585e6a 100%);
  color: #fff;
  padding: 20px 0 28px;
  position: relative;
  overflow: hidden;
}

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

.hero::before {
  top: -40px;
  left: 18%;
  background: rgba(16, 185, 129, 0.18);
}

.hero::after {
  right: 8%;
  bottom: -80px;
  background: rgba(59, 130, 246, 0.18);
}

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

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  padding: 4px 10px 4px 8px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

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

.hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(22px, 4.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.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 {
  --map-paper: linear-gradient(135deg, #f4f6f8 0%, #e8edf2 55%, #dfe5eb 100%);
  --d-frunz: #c5dcad;
  --d-mosk: #f0d49a;
  --d-okt: #efb7a4;
  --d-len: #ece47c;
  --d-zav: #b0c8e6;
  --d-part: #b7d4f0;
  --d-perv: #d2e694;
  --d-sov: #aed9c4;
  --d-cen: #e7c0b0;
  background: #0a1220;
  border: 2px solid rgba(51, 65, 85, 0.7);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

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

.map-filters,
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(15, 29, 48, 0.92);
  border: 1px solid rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(12px);
}

.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: #e2e8f0;
  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: #cbd5e1;
  font-size: 11px;
}

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

.map-canvas {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--map-paper);
}

.map-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

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

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

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

.minsk-map .district {
  cursor: pointer;
  transition: fill 0.2s ease, opacity 0.2s ease, stroke 0.2s ease;
}

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

@media (hover: hover) and (pointer: fine) {
  .minsk-map .district[data-district="Фрунзенский"]:hover { fill: #b4d098; }
  .minsk-map .district[data-district="Московский"]:hover { fill: #e6c57a; }
  .minsk-map .district[data-district="Октябрьский"]:hover { fill: #e6a38c; }
  .minsk-map .district[data-district="Ленинский"]:hover { fill: #e0d65e; }
  .minsk-map .district[data-district="Заводской"]:hover { fill: #97b6db; }
  .minsk-map .district[data-district="Партизанский"]:hover { fill: #9dc4e8; }
  .minsk-map .district[data-district="Первомайский"]:hover { fill: #c2db76; }
  .minsk-map .district[data-district="Советский"]:hover { fill: #94cbb0; }
  .minsk-map .district[data-district="Центральный"]:hover { fill: #dbaa96; }
}

.minsk-map .district.is-current {
  stroke: #64748b;
  stroke-width: 1.6;
}

.minsk-map.is-filtered .district {
  fill: #e8edf2;
  opacity: 0.42;
}

.minsk-map.is-filtered .district.is-active {
  opacity: 1;
  stroke: #4b5563;
  stroke-width: 2.1;
}

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

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

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

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

.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: #12263a;
  border: 2px solid #38bdf8;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.28);
  pointer-events: auto;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.map-pin.is-accent,
.map-pin.is-active {
  background: var(--orange);
  border-color: #fff;
  color: #fff;
  z-index: 2;
}

.map-pin.is-active {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  box-shadow: 0 0 0 8px rgba(239, 101, 54, 0.28);
}

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

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

.center-card {
  margin: 0 12px 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid #334155;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.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: #38bdf8;
  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.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 700;
}

.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: #cbd5e1;
  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;
}

.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: #cbd5e1;
  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 #1e293b;
  color: #94a3b8;
  font-size: 11px;
}

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

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

.find-bar {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 123, 255, 0.8);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

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

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

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

.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 var(--line-2);
  border-radius: 12px;
  background: var(--bg) 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);
}

/* Content sections */
.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;
}

/* Footer */
.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: center;
  gap: 8px;
  margin: 0;
  color: #334155;
  font-size: 12px;
}

.requisites p svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.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: 16px;
  height: 16px;
  color: #9ef0c4;
}

.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;
}

.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;
}

.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: 10px;
  padding: 20px 0 28px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom small {
  color: #94a3b8;
  font-size: 11px;
}

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

.footer-legal span {
  color: #cbd5e1;
}

.footer-legal a:hover {
  color: var(--text-2);
}

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

  .topbar__addr { display: inline-flex; }
  .topbar__addr svg { color: var(--blue-navy); }
  .topbar__sep { display: inline-block; }
  .a11y-label { display: inline; }

  .logo img { width: 58px; height: 51px; flex-basis: 58px; }
  .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: wrap; gap: 10px; }
  .nav__hotline { display: flex; }
  .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: end;
  }
  .btn-orange { width: auto; }

  .map-toolbar {
    position: absolute;
    inset: 16px 16px auto;
    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: 544px;
    padding-top: 64px;
  }
  .map-shell { position: relative; }
  .center-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: min(320px, calc(100% - 32px));
    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;
  }
  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

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

  .header-main { min-height: 73px; gap: 24px; }
  .logo { flex: 0 1 380px; }
  .logo__title { font-size: 14px; }
  .panel { padding: 32px; }
  .gov { padding: 32px; }
  .btn-cabinet { min-width: 187px; }
  .map-canvas {
    height: 568px;
    padding-top: 64px;
  }

  .org-grid { grid-template-columns: repeat(4, 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;
  }
}

@media (max-width: 767.98px) {
  .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; }
  .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: center;
  }
  .mobile-nav__extra {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
  }
  .mobile-nav .nav__hotline {
    display: flex;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .header-search .search-field input { background: #fff; }
  .btn-cabinet {
    display: inline-flex;
    min-width: 0;
    padding: 0 12px;
    font-size: 13px;
  }
  .hero__title-row { display: block; }
  .hero__title-row .pill { margin-top: 8px; }
  .hero h1 { word-break: break-word; }
  .nav-link { padding: 0 12px; font-size: 13px; }
  .nav__hotline { display: flex; margin-left: auto; }
  .nav__hotline span:not(.hotline-badge) { display: none; }

  .map-toolbar { padding: 10px 10px 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 10px 10px; }
  .map-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 11px; }
  .map-pin.is-active { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .minsk-map .chrome { display: none; }
  .minsk-map .district-label { opacity: 0; }
  .minsk-map.is-filtered .district-label.is-active {
    opacity: 1;
    font-size: 20px;
  }
}

@media (max-width: 419px) {
  .topbar__item span { max-width: 168px; overflow: hidden; text-overflow: ellipsis; }
  .logo { gap: 8px; max-width: calc(100% - 56px); }
  .logo img { width: 40px; height: 35px; flex-basis: 40px; }
  .logo__title { font-size: 11px; }
  .hero__badge { font-size: 11px; white-space: normal; }
  .hero h1 { font-size: 22px; overflow-wrap: anywhere; }
  .map-canvas { height: 276px; }
  .map-pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 10px; }
  .map-pin.is-active { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .gov-card__cat { margin-left: auto; }
}

/* Dropdown menu */
.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 pages */
.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(28px, 4vw, 42px); line-height: 1.15; }
.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; }
.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;
}
.inner-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
}
.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; }
.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; }
.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; }
.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; }
.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: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; }
.people-grid, .struct-list { display: grid; gap: 14px; margin-top: 18px; }
.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 { 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 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; }
.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: 24px; }
.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 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; }
@media (min-width: 760px) {
  .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; }
}
@media (min-width: 1100px) {
  .org-tree__row { grid-template-columns: repeat(4, 1fr); }
}

.schedule-cards { display: none; }
.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: 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;
}

/* About section uses the amber menu color */
.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 .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);
}

/* Persons section uses the blue menu color */
.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; }
.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: 767.98px) {
  .nav-drop__list { display: none !important; }
  .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; }
  .req-box div { grid-template-columns: 1fr; }
  .content-card--doc { padding-left: 20px; }
  .content-card--doc::before { display: none; }
  .article-card, .empty-card, .contact-panel, .content-card { padding: 16px; border-radius: 14px; }
  .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; }
  .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;
}
@media (min-width: 640px) {
  .auth-address__row { grid-template-columns: 1.6fr 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-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; }
.inner--blue .article-card,
.inner--blue .auth-card,
.inner--blue .cabinet-panel,
.inner--blue .cabinet-profile,
.inner--blue .auth-aside { border-color: #d7e3f0; }
@media (max-width: 767.98px) {
  .auth-wrap { padding: 16px 0 48px; }
  .auth-card__body, .cabinet-panel__body, .auth-aside__body { padding: 16px; }
}
