:root {
  --bg: #f5f2e9;
  --bg-2: #efeade;
  --paper: #fffdf7;
  --paper-2: #f8f5ec;
  --ink: #17211b;
  --ink-2: #35423a;
  --muted: #6d786f;
  --faint: #97a097;
  --line: #e3ddcf;
  --line-2: #d2cbb9;
  --green: #14452f;
  --green-2: #25674a;
  --green-soft: #e4ede0;
  --leaf: #dde6d4;
  --accent: #c45f36;
  --accent-soft: #f7e4d8;
  --error: #b4402f;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 27, .05);
  --shadow-md: 0 28px 70px -38px rgba(18, 63, 44, .45);
  --font-display: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 520px at 8% -6%, #fbf5df 0%, rgba(251, 245, 223, 0) 65%),
    radial-gradient(1100px 640px at 98% 2%, #e7eee0 0%, rgba(231, 238, 224, 0) 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(210, 203, 185, .65);
  background: rgba(245, 242, 233, .82);
  backdrop-filter: saturate(150%) blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 253, 247, .7);
  border: 1px solid var(--line);
}
.brand__mark svg { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__text small {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .62);
}
.nav__link {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav__link:hover { background: rgba(20, 69, 47, .07); }
.nav__link.is-active {
  background: var(--green);
  color: #fffdf7;
  font-weight: 600;
}

.topbar__side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f8f61;
  box-shadow: 0 0 0 3px rgba(63, 143, 97, .16);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }
.btn--sm { padding: 10px 14px; font-size: 12.5px; }
.btn--primary {
  background: var(--green);
  color: #fffdf7;
  box-shadow: 0 12px 24px -16px rgba(20, 69, 47, .85);
}
.btn--primary:hover { background: #1a5339; box-shadow: 0 16px 28px -16px rgba(20, 69, 47, .9); }
.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 253, 247, .6);
  color: var(--ink-2);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--line-2); }
.btn--outline {
  border-color: var(--line-2);
  background: transparent;
  color: var(--ink-2);
}
.btn--outline:hover { background: rgba(255, 253, 247, .8); }
.btn--soft {
  background: var(--green-soft);
  color: var(--green);
}
.btn--soft:hover { background: #d9e6d3; }

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4.4vw, 68px);
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(18px, 4vw, 56px) clamp(30px, 3.5vw, 48px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__line {
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
}
.hero h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--accent);
}

.lede {
  max-width: 540px;
  margin-top: 24px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
}

.stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 26px;
  border-left: 1px solid var(--line-2);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.stat span {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.hero__hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.hero__hint .icon { width: 14px; height: 14px; }

/* ---------- Map ---------- */
.map-card {
  position: relative;
  padding: 18px 18px 13px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(120% 120% at 86% 0%, rgba(255, 253, 247, .8) 0%, rgba(255, 253, 247, 0) 48%),
    linear-gradient(155deg, #edf1e4 0%, #e7eddd 54%, #eae4d5 100%);
  box-shadow: var(--shadow-md);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background-image: radial-gradient(rgba(20, 69, 47, .08) 1px, transparent 1px);
  background-size: 17px 17px;
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.map-card__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5f6c60;
}
.map-card__meta { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; text-transform: none; }
.map-card__meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  opacity: .55;
}

.map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.map-wrap svg { width: 100%; height: auto; }

.land path {
  fill: #dce5d2;
  stroke: #c5d3ba;
  stroke-width: .9;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.city { cursor: pointer; outline: none; }
.city__hit { fill: transparent; }
.city__dot {
  stroke: #fffdf7;
  stroke-width: 2;
  transition: opacity .2s, stroke-width .2s;
  vector-effect: non-scaling-stroke;
}
.city:hover .city__dot,
.city:focus-visible .city__dot {
  stroke-width: 3.4;
  filter: drop-shadow(0 2px 4px rgba(20, 69, 47, .35));
}
.city.is-dim .city__dot { opacity: .16; }
.city.is-dim { cursor: default; }
.city.is-selected .city__dot {
  stroke: #17211b;
  stroke-width: 2.6;
}
.city__label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  fill: #3b4a3e;
  paint-order: stroke;
  stroke: #edf1e5;
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}
.city.is-dim .city__label { opacity: .2; }

.map-tooltip {
  position: absolute;
  z-index: 6;
  transform: translate(-50%, calc(-100% - 14px));
  min-width: 140px;
  max-width: 230px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ink);
  color: #f7f4ea;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.map-tooltip b { display: block; font-size: 13px; margin-bottom: 2px; }
.map-tooltip span { color: #c9d2c7; }
.map-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

.map-card__foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  padding: 9px 4px 0;
  font-size: 10.5px;
  color: #5f6c60;
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.legend-item:hover { color: var(--ink); }
.legend-item i { width: 7px; height: 7px; border-radius: 50%; }
.legend-more { color: var(--faint); }

/* ---------- Catalog layout ---------- */
.catalog {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px clamp(18px, 4vw, 56px) clamp(60px, 8vw, 100px);
  scroll-margin-top: 90px;
}

.filters {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 247, .66);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.filters__head span { display: inline-flex; align-items: center; gap: 7px; }
.filters__head .icon { width: 15px; height: 15px; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color .18s, box-shadow .18s;
}
.search:focus-within {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(37, 103, 74, .12);
}
.search .icon { width: 16px; height: 16px; color: var(--muted); }
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 13px;
}
.search input::placeholder { color: var(--faint); }
.search kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-2);
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--faint);
}

.filters__block { margin-top: 22px; }
.filters__title {
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background .16s, color .16s;
}
.cat-item:hover { background: rgba(20, 69, 47, .06); }
.cat-item.is-active { background: var(--green-soft); color: var(--green); font-weight: 600; }
.cat-item__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--cat);
  background: color-mix(in srgb, var(--cat) 12%, #fffdf7);
}
.cat-item__icon .icon { width: 13px; height: 13px; }
.cat-item__count {
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(23, 33, 27, .06);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--muted);
}
.cat-item.is-active .cat-item__count { background: rgba(255, 253, 247, .8); color: var(--green); }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  width: 100%;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--paper);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.select-wrap select:focus-visible { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(37, 103, 74, .12); }
.select-wrap .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.filters__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10.8px;
  line-height: 1.55;
  color: var(--muted);
}
.filters__note b {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Results ---------- */
.results { min-width: 0; }

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.results__kicker {
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.results h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.results__sub {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.sort { position: relative; display: flex; flex-direction: column; gap: 5px; flex: 0 0 auto; }
.sort span {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.sort select {
  appearance: none;
  min-width: 176px;
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper);
  font-size: 12.5px;
  outline: none;
  cursor: pointer;
}
.sort .icon {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 14px;
}
.active-chips:empty { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11.5px;
  color: var(--ink-2);
}
.chip button {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 33, 27, .07);
  color: var(--muted);
}
.chip button:hover { background: var(--ink); color: #fff; }
.chip .icon { width: 10px; height: 10px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 15px;
  padding-top: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 19px 19px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  outline: none;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--cat);
  opacity: .8;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: #cec6b4;
  box-shadow: 0 22px 44px -30px rgba(18, 63, 44, .55);
}
.card:focus-visible { box-shadow: 0 0 0 3px rgba(37, 103, 74, .22), 0 22px 44px -30px rgba(18, 63, 44, .55); }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 72%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2eee3;
  background: color-mix(in srgb, var(--cat) 11%, #fffdf7);
  color: var(--cat);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
}
.badge span { overflow: hidden; text-overflow: ellipsis; }
.badge .icon { width: 12px; height: 12px; }
.card__city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.card__city .icon { width: 12px; height: 12px; }

.card h3 {
  margin: 14px 0 7px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.card__name {
  margin-bottom: 9px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--faint);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--muted);
}

.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tag {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  border: 1px solid #eee8da;
  font-size: 10px;
  color: #7b857c;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}
.card__scope {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--faint);
}
.card__scope .icon { width: 11px; height: 11px; }
.card__ways { display: inline-flex; gap: 4px; }
.way-dot {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: var(--wc);
  background: #f3efe4;
  background: color-mix(in srgb, var(--wc) 10%, #fffdf7);
  border: 1px solid #e6dfd0;
  border: 1px solid color-mix(in srgb, var(--wc) 22%, #fffdf7);
}
.way-dot .icon { width: 12px; height: 12px; }
.card__open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
}
.card__open .icon { width: 13px; height: 13px; transition: transform .18s; }
.card:hover .card__open .icon { transform: translate(2px, -2px); }

.more-wrap { display: flex; justify-content: center; padding-top: 28px; }
.more-wrap .btn { min-width: 210px; }
.more-wrap.is-hidden { display: none; }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 20px;
  text-align: center;
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.empty__icon .icon { width: 26px; height: 26px; }
.empty h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.empty p { margin: 8px 0 20px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-2);
  background: rgba(239, 234, 222, .55);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px clamp(18px, 4vw, 56px) 30px;
}
.footer__brand { display: flex; gap: 13px; max-width: 360px; }
.footer__brand b { font-family: var(--font-display); font-size: 15px; }
.footer__brand p { margin-top: 6px; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: var(--muted); }
.footer__links a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 56px) 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--faint);
}

/* ---------- Modal ---------- */
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-root[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 19, .55);
  backdrop-filter: blur(4px);
  animation: fade .18s ease;
}
.modal {
  position: relative;
  width: min(660px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255, 253, 247, .4);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55);
  animation: rise .22s cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
}
.modal__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal__close .icon { width: 15px; height: 15px; }

.modal__top { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.modal__city { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.modal__city .icon { width: 13px; height: 13px; }

.modal h2 {
  margin: 16px 0 5px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.3vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.modal__fullname { font-size: 11px; line-height: 1.5; color: var(--faint); }
.modal__desc { margin-top: 17px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.modal .tags { margin-top: 15px; }

.modal__note {
  margin-top: 15px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbf1e8;
  border: 1px solid #f0dcc8;
  font-size: 11px;
  line-height: 1.5;
  color: #8a4b2a;
}

.help-box {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}
.help-box h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.help-list { display: flex; flex-direction: column; gap: 13px; margin-top: 13px; }

.impact h3 { margin-bottom: 2px; }
.impact__label {
  margin-top: 14px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--faint);
}
.impact__who {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.impact__list {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.impact__list li {
  position: relative;
  padding-left: 17px;
  font-size: 12.8px;
  line-height: 1.45;
  color: var(--ink-2);
}
.impact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat, var(--green));
  opacity: .75;
}.help-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; align-items: start; }
.help-row__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--wc);
  background: #f3efe4;
  background: color-mix(in srgb, var(--wc) 11%, #fffdf7);
  border: 1px solid #e6dfd0;
  border: 1px solid color-mix(in srgb, var(--wc) 20%, #fffdf7);
}
.help-row__icon .icon { width: 15px; height: 15px; }
.help-row b { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.help-row p { margin-top: 2px; font-size: 12.8px; line-height: 1.45; color: var(--ink-2); }

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.modal__actions .btn { flex: 1 1 200px; }
.modal__source { margin-top: 10px; font-size: 10.5px; color: var(--faint); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf7;
  font-size: 12.5px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
  .catalog { grid-template-columns: 258px minmax(0, 1fr); }
  .stat { padding: 0 18px; }
  .live { display: none; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 38px;
  }
  .hero__copy { max-width: 720px; }
  .map-card { max-width: 760px; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 20px;
    align-items: start;
  }
  .filters__head { grid-column: 1 / -1; }
  .filters .search { grid-column: 1 / -1; }
  .filters__block { margin-top: 18px; }
  .filters__block:nth-of-type(2) { grid-column: 1 / -1; }
  .filters__note { grid-column: 1 / -1; }
  .cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .filters__block:last-of-type { grid-column: 1 / -1; max-width: 340px; }
}

@media (max-width: 760px) {
  .topbar { height: 64px; gap: 12px; padding: 0 16px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__text small { display: none; }
  .brand__text b { font-size: 14px; }
  .nav { margin-left: auto; }
  .nav__link { padding: 8px 11px; font-size: 11.5px; }
  .topbar__side { display: none; }

  .hero { padding: 30px 16px 26px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .lede { margin-top: 18px; font-size: 14.5px; }
  .stats { margin-top: 24px; }
  .stat { padding: 0 16px; }
  .stat:first-child { padding-left: 0; }
  .stat b { font-size: 25px; }
  .stat span { font-size: 10px; }
  .hero__hint { margin-top: 22px; font-size: 11px; }

  .map-card { padding: 13px 13px 10px; border-radius: 20px; }
  .map-card__head { font-size: 9px; padding-bottom: 6px; }
  .map-card__meta { display: none; }
  .map-card__foot { font-size: 9px; gap: 5px 10px; }
  .city__label { display: none; }
  .city.is-selected .city__label { display: block; }
  .map-tooltip { display: none; }

  .catalog { padding: 8px 16px 60px; gap: 24px; }
  .filters { padding: 16px; border-radius: 18px; grid-template-columns: minmax(0, 1fr); }
  .filters__block:nth-of-type(2),
  .filters__note,
  .filters__block:last-of-type { grid-column: auto; max-width: none; }
  .cat-list {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .cat-list::-webkit-scrollbar { display: none; }
  .cat-item {
    flex: 0 0 auto;
    width: auto;
    grid-template-columns: 18px auto auto;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    white-space: nowrap;
  }
  .cat-item__icon { width: 18px; height: 18px; background: none; }
  .cat-item__icon .icon { width: 12px; height: 12px; }
  .cat-item.is-active { border-color: var(--green-soft); }
  .filters__note { display: none; }
  .results__head { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 16px; }
  .sort { width: 100%; }
  .sort select { width: 100%; }
  .sort .icon { bottom: 10px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 14px; }
  .card { min-height: 0; }
  .footer__top { flex-direction: column; gap: 24px; padding: 28px 16px 24px; }
  .footer__bottom { flex-direction: column; gap: 5px; padding: 12px 16px 20px; }
  .modal-root { padding: 10px; align-items: end; }
  .modal { padding: 24px 18px 20px; border-radius: 20px; max-height: 92vh; }
  .modal__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 33px; }
  .stat { padding: 0 12px; }
  .stat b { font-size: 22px; }
  .nav__link { padding: 7px 9px; font-size: 10.5px; }
  .brand__text b { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
