/* GetGut AI-каталог — glassmorphism 2026 reskin (#34). Внешний кэшируемый файл (router-served).
   Дизайн ChatGPT-пак + сохранённые рабочие компоненты (CC overlay, FAB, filter-sheet, sticky).
   Алиасы --gg-* мапятся на новые токены, чтобы перенесённый CC/sheet CSS работал без переписывания. */
:root {
  --bg: #070711;
  --bg-2: #0d0d1a;
  --bg-rgb: 7,7,17;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(255, 255, 255, 0.24);
  --text: #f8fafc;
  --muted: #a7b0c3;
  --soft: #dbe4f4;
  --accent: #7C3AED;
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 42px rgba(0, 0, 0, 0.32);
  --shadow-glow: 0 0 0 1px rgba(124,58,237,.24), 0 24px 90px rgba(124,58,237,.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 72px;
  /* --- aliases для сохранённых gg-* компонентов --- */
  --gg-bg: var(--bg); --gg-bg-rgb: var(--bg-rgb);
  --gg-surface: #11111c; --gg-surface-2: #181827;
  --gg-card: var(--surface); --gg-border: var(--stroke);
  --gg-text: var(--text); --gg-muted: var(--muted);
  --gg-primary: var(--accent); --gg-primary-2: var(--accent-3); --gg-accent: var(--accent-2);
}

html[data-theme="light"] {
  --bg: #f7f7ff;
  --bg-2: #ffffff;
  --bg-rgb: 247,247,255;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-2: rgba(255, 255, 255, 0.95);
  --surface-strong: rgba(124, 58, 237, 0.09);
  --stroke: rgba(15, 23, 42, 0.11);
  --stroke-strong: rgba(15, 23, 42, 0.2);
  --text: #0f172a;
  --muted: #64748b;
  --soft: #1e293b;
  --shadow: 0 24px 80px rgba(49, 46, 129, 0.16);
  --shadow-soft: 0 12px 42px rgba(49, 46, 129, 0.12);
  --gg-surface: #ffffff; --gg-surface-2: #f1f5f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% -10%, rgba(124, 58, 237, .36), transparent 35%),
    radial-gradient(circle at 88% 5%, rgba(34, 211, 238, .22), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(124, 58, 237, .18), transparent 36%),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 80%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.container, .gg-container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* Header */
.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stroke);
  background: rgba(7, 7, 17, .78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
html[data-theme="light"] .sticky { background: rgba(247, 247, 255, .82); }
.header-inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 14px 38px rgba(124, 58, 237, .42); font-weight: 900;
}
.brand-text { font-size: 16px; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nav a, .ghost-btn, .theme-toggle, .chip, .page-link, .alpha-btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--stroke); border-radius: 999px; background: rgba(255,255,255,.045);
  color: var(--soft); padding: 10px 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nav a:hover, .ghost-btn:hover, .theme-toggle:hover, .chip:hover, .page-link:hover, .alpha-btn:hover {
  transform: translateY(-1px); border-color: rgba(124,58,237,.45); background: var(--surface-2); box-shadow: var(--shadow-soft);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 46px; padding: 0; }
.header-cta {
  min-height: 44px; border: 0; border-radius: 999px; padding: 10px 16px; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #5b21b6); box-shadow: 0 14px 38px rgba(124,58,237,.34);
}
.burger { display: none; }

main { padding: 26px 0 64px; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin: 6px 0 20px;
}
.breadcrumbs a { color: var(--soft); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { opacity: .5; }

.hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--stroke); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(34,211,238,.08) 42%, rgba(255,255,255,.045)), var(--surface);
  box-shadow: var(--shadow); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  padding: clamp(26px, 5vw, 54px);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 310px; height: 310px; border-radius: 999px;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 68%); filter: blur(4px);
}
.hero-content { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 920px; }
.hero-grid { display: grid; gap: 22px; align-items: center; position: relative; z-index: 2; }
.eyebrow {
  width: fit-content; display: inline-flex; align-items: center; gap: 9px; min-height: 34px;
  border: 1px solid rgba(34,211,238,.28); border-radius: 999px; background: rgba(34,211,238,.08);
  color: var(--accent-2); padding: 7px 12px; font-size: 13px; font-weight: 800;
}
h1, h2, h3 { margin: 0; letter-spacing: -.04em; line-height: 1.04; }
h1 { font-size: clamp(34px, 7vw, 72px); max-width: 920px; }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: 20px; }
.lead { margin: 0; color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); line-height: 1.65; max-width: 760px; }

/* Search panel (поиск через CC overlay — ggSearch, без backend GET) */
.search-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch;
  width: 100%; max-width: 860px; padding: 8px; border: 1px solid var(--stroke); border-radius: 22px;
  background: rgba(0,0,0,.18); backdrop-filter: blur(18px);
}
html[data-theme="light"] .search-panel { background: rgba(255,255,255,.74); }
.field, .select {
  min-height: 52px; width: 100%; border: 1px solid var(--stroke); border-radius: 16px;
  background: rgba(255,255,255,.065); color: var(--text); outline: none; padding: 0 15px;
}
.field:focus, .select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(34,211,238,.12); }
.btn {
  min-height: 52px; border: 0; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 18px; color: white; font-weight: 900; white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), #5b21b6 58%, var(--accent-2));
  box-shadow: 0 18px 44px rgba(124,58,237,.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 24px 60px rgba(124,58,237,.42); filter: saturate(1.08); }
.btn.secondary { background: rgba(255,255,255,.07); border: 1px solid var(--stroke); color: var(--text); box-shadow: none; }
.btn.cyan { background: linear-gradient(135deg, #0891b2, var(--accent-2)); box-shadow: 0 18px 44px rgba(34,211,238,.22); }
/* glassmorphism 2026: голосовой CTA «Спросить Victoria» — морозное стекло (отлич. от cyan connect) */
.btn.glass { background: linear-gradient(135deg, rgba(124,58,237,.30), rgba(34,211,238,.16)); border: 1px solid rgba(255,255,255,.20); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 14px 44px rgba(124,58,237,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.btn.glass:hover { box-shadow: 0 20px 56px rgba(124,58,237,.34), inset 0 1px 0 rgba(255,255,255,.22); filter: saturate(1.06); }

.quick-links, .chips { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.chip { min-height: 38px; padding: 8px 12px; font-size: 14px; color: var(--soft); }
.chip.active, .alpha-btn.is-active, .chip.is-active { border-color: rgba(34,211,238,.52); color: var(--accent-2); background: rgba(34,211,238,.1); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat-card { border: 1px solid var(--stroke); border-radius: 18px; background: var(--surface); padding: 16px; backdrop-filter: blur(18px); }
.stat-card b { display: block; font-size: clamp(22px, 4vw, 34px); letter-spacing: -.04em; }
.stat-card span { color: var(--muted); font-size: 14px; }

/* AI card (hero aside) */
.ai-card {
  border: 1px solid rgba(124,58,237,.35);
  background: linear-gradient(180deg, rgba(124,58,237,.22), rgba(255,255,255,.05));
  border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-glow);
}
.ai-orb {
  width: 86px; height: 86px; border-radius: 30px;
  background: radial-gradient(circle at 30% 25%, #fff, var(--accent-3) 16%, var(--accent) 48%, #1e1b4b 100%);
  box-shadow: 0 0 50px rgba(124,58,237,.55);
}
.ai-card h3 { font-size: 23px; margin: 16px 0 8px; }
.ai-card p { color: var(--muted); line-height: 1.5; margin: 0 0 16px; }

.section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-head p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }

.grid { display: grid; gap: 14px; }
.grid.categories, .grid.cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.orgs { grid-template-columns: minmax(0, 1fr); }

.glass-card, .category-card, .city-card, .org-card, .company-panel, .map-panel, .filter-panel, .empty-state, .info-card, .step-card {
  border: 1px solid var(--stroke); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow-soft); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.category-card, .city-card {
  min-height: 116px; padding: 18px; display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
}
.category-card::after, .city-card::after, .org-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(34,211,238,.10));
  transition: opacity .2s ease; pointer-events: none;
}
.category-card:hover::after, .city-card:hover::after, .org-card:hover::after { opacity: 1; }
.icon-badge {
  width: 48px; height: 48px; min-width: 48px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(34,211,238,.18));
  border: 1px solid rgba(255,255,255,.14); font-size: 23px;
}
.card-title { font-weight: 900; font-size: 17px; line-height: 1.2; display: block; }
.card-meta { color: var(--muted); font-size: 14px; margin-top: 5px; display: block; }
.arrow { margin-left: auto; color: var(--accent-2); opacity: .9; position: relative; z-index: 1; }

/* How-it-works + business CTA */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step-card { padding: 18px; }
.step-card b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--accent-3); }
.step-card span { color: var(--muted); font-size: 14px; }
.biz-cta {
  border: 1px solid rgba(124,58,237,.35); background: linear-gradient(135deg, rgba(124,58,237,.16), var(--surface));
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-soft); backdrop-filter: blur(22px);
}
.biz-cta h2 { margin: 0 0 8px; }
.biz-cta p { color: var(--muted); margin: 0 0 16px; }

/* Listing */
.list-head { margin: 6px 0 12px; }
.results-meta { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.filters-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 16px 0; flex-wrap: wrap; }
.filters-row::-webkit-scrollbar { display: none; }
.filter-open { min-height: 44px; border: 1px solid var(--stroke); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 10px 14px; font-weight: 800; white-space: nowrap; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.org-list { display: grid; gap: 14px; }

.org-card { position: relative; overflow: hidden; padding: 18px; display: grid; gap: 12px; }
.org-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.org-name { margin: 0; font-size: 20px; line-height: 1.18; letter-spacing: -.03em; }
.org-name a { color: var(--text); }
.verified {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 6px 9px;
  background: rgba(52,211,153,.12); color: var(--success); font-size: 12px; font-weight: 900; white-space: nowrap;
}
.org-lines { display: grid; gap: 9px; color: var(--muted); position: relative; z-index: 1; }
.info-line { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.info-line b { color: var(--soft); font-weight: 800; }
.org-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; position: relative; z-index: 1; }
.org-actions .btn { min-height: 46px; }
.phone-text { color: var(--accent-2); font-weight: 900; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.page-link { min-width: 44px; padding: 10px 12px; }
.page-link.current { border-color: rgba(124,58,237,.68); background: rgba(124,58,237,.2); color: white; }

/* Map placeholder (lazy, no key) */
.map-panel { overflow: hidden; min-height: 320px; position: relative; }
.map-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 15px; border-bottom: 1px solid var(--stroke); }
.map-box {
  min-height: 300px; display: grid; place-items: center; text-align: center; padding: 22px; color: var(--muted);
  background:
    linear-gradient(135deg, rgba(124,58,237,.16), rgba(34,211,238,.12)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04), rgba(255,255,255,.04) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.035) 1px, transparent 1px, transparent 28px);
}
.map-pin {
  width: 74px; height: 74px; border-radius: 28px 28px 28px 8px; display: grid; place-items: center; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 24px 70px rgba(124,58,237,.42); margin: 0 auto 22px;
}
.map-pin span { transform: rotate(-45deg); font-size: 28px; }

/* Company (card) */
.company-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.company-panel { padding: clamp(18px, 3vw, 28px); }
.company-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 18px; }
.company-info { display: grid; gap: 12px; margin: 18px 0; }
.company-info .docs { font-size: 13px; color: var(--muted); }
.ai-description { border: 1px solid rgba(34,211,238,.22); border-radius: 18px; background: rgba(34,211,238,.06); padding: 16px; color: var(--soft); line-height: 1.65; }
.faq-block { margin-top: 18px; }
.faq-block p { color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.faq-block b { color: var(--soft); }
.company-actions { display: grid; gap: 10px; margin-top: 18px; }

/* Alpha filter */
.alpha { display: flex; flex-wrap: wrap; gap: 7px; }
.alpha-btn { min-width: 38px; min-height: 38px; padding: 7px 10px; font-weight: 900; }
.empty-state { padding: 34px; text-align: center; color: var(--muted); }

footer.gg-foot { border-top: 1px solid var(--stroke); padding: 30px 0 92px; color: var(--muted); margin-top: 34px; }
.footer-inner { width: min(100% - 32px, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }

/* ============================================================
   СОХРАНЁННЫЕ РАБОЧИЕ КОМПОНЕНТЫ (window.CC, фильтры, sticky)
   ============================================================ */

/* Victoria FAB + concierge overlay (#cc — рабочий) */
.gg-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; border: 0; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-glow);
  padding: 14px 18px; font-weight: 900; display: flex; align-items: center; gap: 8px;
}
.has-sticky .gg-fab { bottom: 78px; }
#cc { position: fixed; inset: 0; background: #000b; z-index: 100; display: none; align-items: flex-end; justify-content: center; }
#cc.on { display: flex; }
.cc-box { background: var(--gg-surface); border: 1px solid var(--stroke); border-radius: 24px 24px 0 0; width: 100%; max-width: 560px; max-height: 84vh; overflow-y: auto; padding: 18px 16px 22px; }
.cc-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cc-h b { font-size: 16px; background: linear-gradient(135deg, var(--accent-3), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-sub { color: var(--muted); font-size: 13px; }
.cc-q { display: flex; gap: 8px; margin: 10px 0; }
.cc-q input { flex: 1; background: var(--surface-2); border: 1px solid var(--stroke); border-radius: 14px; padding: 11px 13px; color: var(--text); }
.cc-go { border: 0; border-radius: 14px; padding: 0 16px; color: #fff; font-weight: 850; background: linear-gradient(135deg, var(--accent), #5b21b6); }
.cc-rec { background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px; padding: 12px 13px; margin: 8px 0; }
.cc-rec .cc-call { margin-top: 8px; border: 0; border-radius: 12px; padding: 8px 14px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--accent), #5b21b6); }
.cc-x { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }

/* Filter bottom-sheet (client-side, no backend) */
.gg-sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); display: none; }
.gg-sheet-backdrop.is-open { display: block; }
.gg-sheet { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; transform: translateY(110%); transition: transform .22s ease; border-radius: 28px 28px 0 0; background: var(--gg-surface); border: 1px solid var(--stroke); padding: 18px; max-height: 78vh; overflow: auto; }
.gg-sheet.is-open { transform: translateY(0); }
.gg-sheet h3 { margin: 0 0 6px; }
.gg-fgroup { border-top: 1px solid var(--stroke); padding: 14px 0; }
.gg-fgroup h4 { margin: 0 0 10px; }
.gg-check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--text); }
.gg-sheet-actions { position: sticky; bottom: -18px; padding: 12px 0 0; background: var(--gg-surface); }

/* Sticky bottom bar (card mobile) */
.gg-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(var(--bg-rgb), .92);
  backdrop-filter: blur(18px); border-top: 1px solid var(--stroke);
}
.gg-sticky .btn { flex: 1; min-height: 48px; }

/* Responsive */
@media (min-width: 560px) {
  .grid.orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .grid.categories, .grid.cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { max-width: 780px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .company-actions { grid-template-columns: repeat(3, 1fr); }
  .search-panel.with-select { grid-template-columns: minmax(0,1.2fr) minmax(150px,.7fr) minmax(150px,.7fr) auto; }
}
@media (min-width: 1024px) {
  .grid.categories, .grid.cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); }
  .home-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .listing-layout.has-map { grid-template-columns: minmax(0, 1fr) 360px; }
  .listing-layout.has-map .map-panel { position: sticky; top: calc(var(--header-h) + 18px); }
  .company-layout { grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); }
  .company-layout .map-panel { position: sticky; top: calc(var(--header-h) + 18px); }
  .gg-sticky { display: none; }
  .has-sticky .gg-fab { bottom: 18px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 74px; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--stroke); border-radius: 20px; background: var(--bg-2); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { justify-content: flex-start; }
  .burger { display: inline-flex; }
  .search-panel, .search-panel.with-select { grid-template-columns: 1fr; }
  .hero { border-radius: 24px; }
  .section-head { align-items: start; flex-direction: column; }
  body { padding-bottom: 82px; }
}

@media (max-width: 520px) {
  .grid.categories, .grid.cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card, .city-card { min-height: 108px; padding: 13px; align-items: flex-start; flex-direction: column; }
  .arrow { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .org-actions { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .header-cta { display: none; }
}

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

/* ===================== #489 Карты (ymaps3 / MapProvider) ===================== */
/* .map-box = relative-WRAPPER (blocking#3/R2): карта монтируется в дочерний .gg-map (absolute),
   якорится к .map-box (не к .map-panel) → .map-head не перекрыт. */
.map-box { position: relative; overflow: hidden; }
.map-box .gg-map { position: absolute; inset: 0; display: none; }
.map-box.is-live .gg-map { display: block; }
.map-box.is-live .gg-map-fallback { display: none; }

/* Пины / кластеры */
.gg-pin { width: 24px; height: 24px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(124,58,237,.45); cursor: pointer; }
.gg-cluster { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 18px; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #fff; border: 2px solid #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 14px rgba(124,58,237,.5); cursor: pointer; }

/* Popup (строится DOM API, без innerHTML). z-index выше слоёв карты, в пределах .map-box. */
.gg-map-popup-wrap { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; display: flex; justify-content: center; pointer-events: none; }
.gg-map-popup { position: relative; pointer-events: auto; width: 100%; max-width: 340px; text-align: left;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--stroke); border-radius: 12px;
  padding: 12px 14px; box-shadow: 0 14px 44px rgba(0,0,0,.42); font-size: 14px; }
.gg-pp-name { display: block; font-weight: 800; padding-right: 22px; }
.gg-pp-addr { color: var(--muted); font-size: 13px; margin-top: 3px; }
.gg-pp-tel, .gg-pp-link { display: inline-block; margin-top: 8px; margin-right: 14px; font-weight: 700; color: var(--accent-2); text-decoration: none; }
.gg-pp-link { color: var(--accent-3); }
.gg-pp-x { position: absolute; top: 7px; right: 9px; background: none; border: none; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }

/* Моб-тогл Список↔Карта (категория). Виден <1024px; десктоп = split-view (тогл скрыт). */
.gg-map-switch { display: flex; gap: 8px; margin: 0 0 14px; }
.gg-map-toggle { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.gg-map-toggle.is-active { border-color: rgba(124,58,237,.68); background: rgba(124,58,237,.2); }
/* mobile: тогл управляет видимостью списка/карты (init карты — лениво при показе) */
.listing-layout.has-map.show-map .org-list { display: none; }
.listing-layout.has-map:not(.show-map) .map-panel { display: none; }

@media (min-width: 1024px) {
  /* split-view: оба видны, тогл не нужен */
  .gg-map-switch { display: none; }
  .listing-layout.has-map .org-list,
  .listing-layout.has-map .map-panel { display: block; }
  .listing-layout.has-map.show-map .org-list { display: block; }
}

/* ===================== #35 Map-first UI + золотой акцент =====================
   Золото — СЕЛЕКТИВНО (пины/чипы/orb/бейджи/hero). --accent НЕ трогаем: .btn = белый
   текст на градиенте accent, белый на золоте нечитаем. Блок в конце → переопределяет по порядку. */
:root {
  --gold: #f4c86a; --gold-2: #ffe39b; --gold-deep: #e0a92e; --gold-ink: #1a1203;
}

/* акцент точечно */
.chip.active, .alpha-btn.is-active, .chip.is-active {
  border-color: rgba(244,200,106,.55); color: var(--gold-2); background: rgba(244,200,106,.12);
}
.arrow { color: var(--gold); }
.btn.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--gold-ink); box-shadow: 0 18px 44px rgba(244,200,106,.30); }

/* пины/кластеры/popup-tel → золото */
/* #37: золотые пины строго в цвет orb (#f4c15d), крупнее и заметнее */
.gg-pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 3px; transform: rotate(45deg);
  background: linear-gradient(135deg, #ffe6a3, #f4c15d 58%, #d99a2b); border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(244,193,93,.22), 0 8px 18px rgba(0,0,0,.45); cursor: pointer; }
.gg-cluster { background: linear-gradient(135deg, #f4c15d, #ffe6a3); color: #1a1202; border-color: #fff; box-shadow: 0 0 0 6px rgba(244,193,93,.2), 0 6px 16px rgba(0,0,0,.5); }
.gg-pp-tel { color: var(--gold-deep); }

/* бейдж «Сегодня» */
.info-line.gg-today { color: var(--gold-2); }
.gg-today-chip { border-color: rgba(244,200,106,.42); color: var(--gold-2); background: rgba(244,200,106,.1); }

/* Map-first hero (home): карта-фон + стеклянный оверлей снизу (карта остаётся интерактивной) */
.gg-maphero {
  position: relative; overflow: hidden; border: 1px solid var(--stroke); border-radius: var(--radius-xl);
  box-shadow: var(--shadow); min-height: clamp(440px, 72vh, 660px);
  display: flex; align-items: flex-end; background: var(--bg-2);
}
.gg-maphero-map { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; z-index: 0; }
.gg-maphero-map .map-box { position: absolute; inset: 0; min-height: 0; padding: 0; display: block; background: var(--bg-2); }
.gg-maphero-map .gg-map { position: absolute; inset: 0; }
.gg-maphero-map .gg-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 22px; color: var(--muted); }
.gg-maphero-overlay {
  position: relative; z-index: 2; margin: clamp(14px, 3vw, 26px); max-width: 640px;
  width: calc(100% - 2 * clamp(14px, 3vw, 26px));
  background: rgba(9, 11, 20, .64); border: 1px solid var(--stroke); border-radius: var(--radius-lg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px;
}
.gg-maphero-overlay h1 { font-size: clamp(28px, 5vw, 52px); color: #fbfcff; }
.gg-maphero-overlay .lead { color: #dfe5f2; }
.gg-maphero-tag {
  width: fit-content; display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  border: 1px solid rgba(244,200,106,.34); border-radius: 999px; background: rgba(244,200,106,.12);
  color: var(--gold-2); padding: 5px 12px; font-size: 13px; font-weight: 800;
}
.gg-maphero-orbrow { display: flex; align-items: center; gap: 14px; }
.gg-orb-hint { color: var(--gold-2); font-weight: 700; font-size: 14px; }

/* Voice orb (золотой, зовёт vwOpenVoice/CC) */
.gg-voice-orb {
  width: 72px; height: 72px; min-width: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; font-size: 28px; color: var(--gold-ink); position: relative; cursor: pointer;
  background: radial-gradient(circle at 35% 28%, #fff6ca 0 10%, var(--gold-2) 26%, var(--gold) 60%, var(--gold-deep) 100%);
  box-shadow: 0 0 0 10px rgba(244,200,106,.12), 0 0 46px rgba(244,200,106,.5), 0 18px 48px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gg-voice-orb:hover { transform: translateY(-2px) scale(1.04); }
.gg-voice-orb::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(244,200,106,.3); animation: gg-orb-pulse 2.4s infinite; }
@keyframes gg-orb-pulse { 0% { transform: scale(.9); opacity: .7 } 70% { transform: scale(1.18); opacity: 0 } 100% { opacity: 0 } }

/* listing/card — карта заметнее (выше) */
.listing-layout.has-map .map-panel, .company-layout .map-panel { min-height: 420px; }
.listing-layout.has-map .map-box, .company-layout .map-box { min-height: 380px; }

@media (min-width: 1024px) {
  .listing-layout.has-map .map-panel, .company-layout .map-panel { min-height: 560px; }
  .listing-layout.has-map .map-box, .company-layout .map-box { min-height: 520px; }
}
@media (max-width: 760px) {
  .gg-maphero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .gg-voice-orb::before { animation: none; }
}

/* ===================== #36 Map-first home shell (новый золотой пак getgut-2026) =====================
   .gg-maphome — позиционированный контейнер карты-фона; абсолютные панели пака (gg-voice-stage,
   gg-bottom-sheet, gg-orb) якорятся к нему. Карта = наш #489-движок (.map-panel/#gg-map-list). */
.gg-maphome { position: relative; height: 100dvh; overflow: hidden; background: #0b1322; }
.gg-maphome .map-panel { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.gg-maphome .map-box { position: absolute; inset: 0; min-height: 0; padding: 0; display: block; background: #0b1322; }
.gg-maphome .gg-map { position: absolute; inset: 0; }
.gg-maphome .gg-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 22px; color: var(--gg-muted, #a7b0c3); z-index: 1; }
.gg-maphome .map-box.is-live .gg-map-fallback { display: none; }
/* текстовый поиск в voice-stage (пак прячет gg-mini-search на home — у нас своя .search-panel) */
.gg-voice-stage .search-panel { margin: 0 auto; width: min(640px, calc(100vw - 36px)); }
/* SEO-блок под картой (scroll, индексируется) */
.gg-home-seo { padding: 44px 0 90px; }
@media (max-width: 620px) { .gg-voice-stage .search-panel { display: none; } }
