/* HTML-карта: отдельный лёгкий документ в существующей палитре БРИВЕР. */
.site-map-page {
  --map-blue: #2869b8;
  --map-ink: #25272c;
  --map-muted: #62656b;
  min-width: 0;
  color: var(--map-ink);
  background: #f4efe7;
}

.site-map-shell {
  width: min(100%, 1060px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  background: #fbf8f3;
}

.site-map-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 56px);
}

.site-map-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex-shrink: 0;
  color: var(--map-ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.055em;
  text-decoration: none;
}

.site-map-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--map-muted);
  font-size: 14px;
  text-underline-offset: 4px;
}

.site-map-content {
  flex: 1;
  width: 100%;
  padding: clamp(30px, 5vw, 58px) clamp(20px, 5vw, 56px) 48px;
  overflow-wrap: anywhere;
}

.site-map-content h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.site-map-intro {
  margin: 16px 0 32px;
  color: var(--map-muted);
  font-size: 16px;
  line-height: 1.6;
}

.site-map-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.site-map-city-list,
.site-map-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-map-city-list li {
  border-top: 1px solid rgba(37, 39, 44, .13);
}

.site-map-city-list li:last-child {
  border-bottom: 1px solid rgba(37, 39, 44, .13);
}

.site-map-city-list a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 2px;
  color: var(--map-blue);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
}

.site-map-city-list a span:last-child {
  flex-shrink: 0;
  font-size: 20px;
}

.site-map-note {
  margin: 12px 0 0;
  color: var(--map-muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-map-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 40px;
  margin-top: 36px;
}

.site-map-link-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 6px;
  color: var(--map-ink);
  font-size: 16px;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-map-page a:hover {
  color: var(--map-blue);
}

.site-map-city-list a:hover {
  background: rgba(40, 105, 184, .04);
}

.site-map-page a:focus-visible {
  outline: 2px solid var(--map-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-map-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-inline: clamp(20px, 5vw, 56px);
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(37, 39, 44, .13);
  color: var(--map-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .site-map-sections {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
  }

  .site-map-header {
    align-items: center;
    gap: 14px;
  }

  .site-map-back {
    text-align: right;
  }
}

@media print {
  .site-map-page,
  .site-map-shell {
    color: #000;
    background: #fff;
  }

  .site-map-header {
    position: static;
  }
}
