/* ════════════════════════════════════════
   HTML-карта сайта (/karta-sayta)
   ════════════════════════════════════════ */

.html-sitemap-main {
  background: var(--bg);
}

.html-sitemap-hero {
  padding: calc(var(--header-h) + clamp(48px, 6vw, 72px)) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.html-sitemap-hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.html-sitemap-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}

.html-sitemap-hero__text {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.html-sitemap-body {
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 10vw, 120px);
}

.html-sitemap-section {
  margin-bottom: clamp(40px, 6vw, 56px);
}

.html-sitemap-section:last-child {
  margin-bottom: 0;
}

.html-sitemap-section__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.html-sitemap-section__lead {
  margin: 0 0 18px;
  max-width: 48em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: 0.9;
}

.html-sitemap-subhead {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}

.html-sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px 28px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.html-sitemap-list__item {
  margin: 0;
}

.html-sitemap-list__link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s, border-color 0.2s;
}

.html-sitemap-list__link:hover {
  color: var(--accent);
  border-bottom-color: rgba(201, 161, 74, 0.35);
}

@media (max-width: 480px) {
  .html-sitemap-list {
    grid-template-columns: 1fr;
  }
}
