/* ==========================================================
   АВТО108 v4 · Страница «Контакты»
   Порт прототипа Claude Design (_design_source/Страница контактов.zip).
   Карта — Яндекс (не Leaflet): popup→balloon, маркеры центрируются по точке.
   Токены (--accent / --line / --ink-* / --font-*) берутся из css/design.css.
   ========================================================== */

/* ---------- Hero (светлый, бренд-градиент, с typewriter) ---------- */
.ct-hero {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  margin-top: 14px;          /* отступ от хлебных крошек */
}
.ct-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 26px 24px 26px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative;
}
.ct-hero-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 12px;
}
.ct-hero-tw {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.03em;
  color: var(--ink-900); display: flex; align-items: center; min-height: 1.15em;
}
.ct-cursor {
  display: inline-block; width: 3px; height: 0.82em;
  background: var(--accent); margin-left: 4px; vertical-align: middle; flex-shrink: 0;
  animation: ct-blink 0.85s ease-in-out infinite;
}
@keyframes ct-blink { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }

/* hero nav chips */
.ct-hero-chips { display: flex; flex-direction: column; gap: 8px; min-width: 280px; }
.ct-hero-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 9px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 1px 2px rgba(11,15,20,0.04);
  transition: background 0.14s, border-color 0.14s, box-shadow 0.14s;
}
.ct-hero-chip:hover { box-shadow: 0 4px 14px rgba(11,15,20,0.08); }
.ct-hero-chip--main    { border-color: rgba(35,142,227,0.4); }
.ct-hero-chip--main:hover { border-color: var(--accent); background: var(--accent-soft); }
.ct-hero-chip--partner { border-color: oklch(0.82 0.09 55); }
.ct-hero-chip--partner:hover { border-color: oklch(0.65 0.16 55); background: oklch(0.97 0.04 55); }
.ct-hc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ct-hero-chip--main    .ct-hc-dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(35,142,227,0.22); }
.ct-hero-chip--partner .ct-hc-dot { background: oklch(0.65 0.16 55); box-shadow: 0 0 0 3px rgba(196,138,0,0.22); }
.ct-hero-chip > div { flex: 1; }
.ct-hero-chip b     { display: block; font-size: 13px; font-weight: 700; color: var(--ink-900); line-height: 1.2; }
.ct-hero-chip small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-500); letter-spacing: 0.04em; margin-top: 2px; }
.ct-hc-arr { font-size: 12px; color: var(--ink-400); flex-shrink: 0; transition: color 0.14s, transform 0.14s; }
.ct-hero-chip:hover .ct-hc-arr { color: var(--accent); transform: translateX(3px); }

/* ---------- Main map section ---------- */
.ct-main { max-width: 1280px; margin: 0 auto; padding: 24px 24px 56px; }
.ct-main-frame {
  display: grid; grid-template-columns: 400px 1fr;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff;
}

/* ---- list pane ---- */
.ct-list-pane { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.ct-list-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.ct-list-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ct-list-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; }
.ct-list-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-900); font-weight: 600; }
.ct-list-count em { color: var(--accent); font-style: normal; }

.ct-tabs {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--ink-100); padding: 3px; border-radius: 8px; gap: 2px;
}
.ct-tab {
  border: 0; background: transparent; cursor: pointer; padding: 7px 8px;
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--ink-600);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.12s, color 0.12s;
}
.ct-tab .n {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  background: var(--panel); border-radius: 4px; padding: 1px 5px;
  color: var(--ink-500); border: 1px solid var(--line);
}
.ct-tab:hover { color: var(--ink-900); }
.ct-tab.active { background: var(--panel); color: var(--ink-900); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.ct-tab.active .n { background: var(--accent); color: #fff; border-color: var(--accent); }

.ct-list { flex: 1; overflow-y: auto; max-height: 640px; scroll-behavior: smooth; }
.ct-list::-webkit-scrollbar { width: 6px; }
.ct-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.ct-list::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

.ct-card {
  display: block; padding: 16px 18px; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: background 0.12s; position: relative;
}
.ct-card:hover { background: oklch(0.98 0.01 240); }
.ct-card.is-selected { background: var(--accent-soft); }
.ct-card.is-selected::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent);
}

.ct-card-tier {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px 3px 6px; border-radius: 4px;
}
.ct-card-tier .marker {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.ct-card.kind-main    .ct-card-tier { background: var(--accent); color: #fff; }
.ct-card.kind-main    .ct-card-tier .marker { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.ct-card.kind-partner .ct-card-tier { background: var(--ink-100); color: var(--ink-600); }
.ct-card.kind-partner .ct-card-tier .marker { background: transparent; border: 2px solid var(--ink-600); width: 10px; height: 10px; }

.ct-card-city { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.015em; color: var(--ink-900); margin-top: 8px; line-height: 1.1; }
.ct-card-city .arrow { float: right; color: var(--ink-400); font-weight: 400; }
.ct-card-name { font-size: 13px; color: var(--ink-800); margin-top: 3px; font-weight: 500; }
.ct-card-addr { font-size: 12.5px; color: var(--ink-500); margin-top: 6px; line-height: 1.4; display: flex; gap: 6px; align-items: flex-start; }
.ct-card-addr svg { color: var(--ink-400); flex-shrink: 0; margin-top: 2px; }
.ct-card-meta { display: flex; gap: 12px; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-600); flex-wrap: wrap; }
.ct-card-meta .v { color: var(--ink-900); font-weight: 600; }

/* ---- links / messengers row ---- */
.ct-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ct-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 7px; border-radius: 6px;
  background: var(--ink-100); color: var(--ink-700, var(--ink-600));
  font-size: 11.5px; font-weight: 600;
  text-decoration: none; line-height: 1;
  border: 1px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ct-link:hover { background: #fff; color: var(--ink-900); border-color: var(--line); }
.ct-link svg { flex-shrink: 0; color: var(--ink-500); }
.ct-link:hover svg { color: var(--ink-900); }
.ct-link-wa:hover { color: #128C7E; } .ct-link-wa:hover svg { color: #128C7E; }
.ct-link-tg:hover { color: #0088CC; } .ct-link-tg:hover svg { color: #0088CC; }
.ct-link-vk:hover { color: #0077FF; } .ct-link-vk:hover svg { color: #0077FF; }
.ct-link-site:hover { color: var(--accent); } .ct-link-site:hover svg { color: var(--accent); }

.ct-links-compact .ct-link {
  padding: 5px; width: 26px; height: 26px;
  justify-content: center; gap: 0;
}
.ct-links-compact .ct-link span { display: none; }

/* ---- map pane ---- */
.ct-map-pane { position: relative; min-height: 640px; background: #F4F6F8; }
.ct-map { position: absolute; inset: 0; }
.ct-map-overlay {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-600);
  letter-spacing: 0.04em; z-index: 400; pointer-events: none;
}
.ct-map-overlay b { color: var(--ink-900); font-weight: 700; }
.ct-map-overlay .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.ct-legend {
  position: absolute; right: 14px; bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px 12px 13px; display: flex; flex-direction: column; gap: 9px;
  z-index: 400; min-width: 200px;
  box-shadow: 0 4px 14px rgba(11,15,20,0.06);
}
.ct-legend-head {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500; margin-bottom: 2px;
}
.ct-legend-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-800); }
.ct-legend-row b { font-weight: 600; }
.ct-legend-row span.sm { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); }
.ct-lg-mk { width: 14px; height: 14px; display: inline-grid; place-items: center; }
.ct-lg-mk.main    { background: #238EE3; border-radius: 50%; box-shadow: 0 0 0 3px var(--accent-soft); }
.ct-lg-mk.partner { width: 12px; height: 12px; border-radius: 50%; background: #D89720; box-shadow: 0 0 0 3px oklch(0.96 0.05 55); border: 0; }

/* ---- кастомные Яндекс-маркеры: teardrop-пины с лого ---- */
.ct-map .mk-wrap { position: absolute; width: 0; height: 0; }
.mk-pin {
  position: absolute;
  filter: drop-shadow(0 4px 6px rgba(11,15,20,0.32));
}
.mk-pin svg { display: block; }
.mk-pin--main    { left: -20px; top: -48px; }   /* острие → геоточка (40×48) */
.mk-pin--partner { left: -16px; top: -40px; }   /* острие → геоточка (32×40) */

/* пульс вокруг головки главного пина (головка центрирована в SVG в (20,19)) */
.mk-pulse {
  position: absolute; left: -19px; top: -48px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); opacity: 0.22;
  animation: mk-pulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes mk-pulse {
  0%   { transform: scale(0.55); opacity: 0.42; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---- Yandex balloon (popup) overrides ---- */
.ct-map [class*="-balloon__layout"] { border-radius: 10px; box-shadow: 0 8px 24px rgba(11,15,20,0.12); }
.ct-map [class*="-balloon__content"] { margin: 0 !important; padding: 14px 16px 13px !important; font-family: var(--font-sans); }
.ct-map [class*="-balloon__content"] > ymaps { width: auto !important; height: auto !important; }
.ct-map [class*="-balloon__close-button"] { opacity: 0.5; }
.pop { min-width: 220px; max-width: 260px; }
.pop-tier { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.pop-tier.main { color: var(--accent); }
.pop-tier.partner { color: var(--ink-500); }
.pop-city { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.015em; color: var(--ink-900); margin-top: 6px; line-height: 1.1; }
.pop-name { font-size: 12.5px; color: var(--ink-700, var(--ink-600)); margin-top: 3px; }
.pop-addr { font-size: 12px; color: var(--ink-500); margin-top: 8px; }
.pop-meta { display: flex; gap: 10px; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-900); font-weight: 600; flex-wrap: wrap; }
.pop-act { display: flex; gap: 6px; margin-top: 12px; }
.pop-act a {
  flex: 1; padding: 7px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  text-decoration: none; text-align: center; border: 1px solid var(--line);
  color: var(--ink-900); background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.pop-act a.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.pop-act a:hover { background: var(--ink-100); }
.pop-act a.primary:hover { background: var(--accent-hover); }

/* ---------- Spotlight: main HQ ---------- */
.ct-spot { max-width: 1280px; margin: 0 auto; padding: 8px 24px 32px; }
.ct-spot-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 16px; flex-wrap: wrap; }
.ct-spot-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.025em; color: var(--ink-900); }
.ct-spot-head h2 .pd { color: var(--accent); }
.ct-spot-head .counter { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }

.ct-spot-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
}
.ct-spot-body { padding: 24px 30px; display: flex; flex-direction: column; }
.ct-spot-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px 5px 9px; border-radius: 5px;
}
.ct-spot-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.ct-spot-h {
  margin: 12px 0 4px; font-family: var(--font-display); font-weight: 800;
  font-size: 30px; letter-spacing: -0.03em; line-height: 1.02; color: var(--ink-900);
}
.ct-spot-h .pd { color: var(--accent); }
.ct-spot-sub { font-size: 13.5px; color: var(--ink-600); line-height: 1.45; max-width: 46ch; }

/* компактный список «метка → значение» */
.ct-spot-info { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.ct-spot-info-row { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 14px; }
.ct-spot-info-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.ct-spot-info-val { font-size: 14px; color: var(--ink-900); font-weight: 600; line-height: 1.35; }
.ct-spot-info-val a { color: var(--ink-900); text-decoration: none; }
.ct-spot-info-val a:hover { color: var(--accent); }
.ct-spot-info-val .ok { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); margin-right: 6px; vertical-align: middle; }

/* ---- подвал блока: иконки-соцсети + кнопки ---- */
.ct-spot-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.ct-spot-socials-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-spot-soc {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink-600); transition: border-color 0.12s, background 0.12s;
}
.ct-spot-soc svg { color: var(--ink-500); transition: color 0.12s; }
.ct-spot-soc:hover { border-color: var(--ink-400); }
.ct-spot-soc.phone:hover { border-color: var(--accent); } .ct-spot-soc.phone:hover svg { color: var(--accent); }
.ct-spot-soc.wa:hover { border-color: #128C7E; } .ct-spot-soc.wa:hover svg { color: #128C7E; }
.ct-spot-soc.tg:hover { border-color: #0088CC; } .ct-spot-soc.tg:hover svg { color: #0088CC; }
.ct-spot-soc.tgch:hover { border-color: #0088CC; } .ct-spot-soc.tgch:hover svg { color: #0088CC; }
.ct-spot-soc.vk:hover { border-color: #0077FF; } .ct-spot-soc.vk:hover svg { color: #0077FF; }
.ct-spot-soc.drive2:hover { border-color: #E30613; } .ct-spot-soc.drive2:hover svg { color: #E30613; }
.ct-spot-soc.site:hover { border-color: var(--accent); } .ct-spot-soc.site:hover svg { color: var(--accent); }
.ct-spot-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.ct-spot-visual {
  position: relative; background: linear-gradient(160deg, #0B0E14 0%, #142033 100%);
  min-height: 280px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px;
}
.ct-spot-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,121,196,0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0,121,196,0.18) 0%, transparent 45%);
  pointer-events: none;
}
.ct-spot-visual-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ct-spot-visual-tag {
  position: absolute; top: 20px; left: 22px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.ct-spot-visual-tag .live {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 3px rgba(31,164,99,0.25);
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* brand watermark, когда у точки нет фото */
.ct-spot-visual-mark {
  position: relative; z-index: 1; margin: auto;
  font-family: var(--font-display); font-weight: 800; font-size: 120px;
  color: rgba(255,255,255,0.08); letter-spacing: -0.04em; line-height: 1;
}
.ct-spot-visual-mark span { color: rgba(0,121,196,0.3); }

/* фото главного филиала (реальные из IBLOCK PHOTOS) — ландшафтный формат, в строку */
.ct-spot-photos {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.ct-spot-photo {
  position: relative; margin: 0; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; background: rgba(255,255,255,0.06);
}
.ct-spot-photo:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ct-spot-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-spot-photo figcaption {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 600;
  background: rgba(11,14,20,0.7); padding: 3px 8px; border-radius: 4px;
  backdrop-filter: blur(6px); pointer-events: none;
}

/* ---------- Partners ---------- */
.ct-partners { max-width: 1280px; margin: 0 auto; padding: 16px 24px 56px; }
.ct-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 28px 0 18px; gap: 18px; }
.ct-section-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.025em; color: var(--ink-900); }
.ct-section-head .sub { font-size: 13px; color: var(--ink-500); margin-top: 4px; max-width: 48ch; }

.ct-partner-note {
  border-radius: 10px; padding: 14px 18px 14px 14px;
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px;
  background: oklch(0.97 0.04 55); border: 1px solid oklch(0.88 0.08 55);
}
.ct-partner-note .ico {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 7px; background: oklch(0.62 0.16 55); color: #fff; flex-shrink: 0;
}
.ct-partner-note p { margin: 0; font-size: 13px; color: var(--ink-800); line-height: 1.55; }
.ct-partner-note p b { color: var(--ink-900); }

.ct-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.ct-partner {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background 0.12s;
  position: relative; cursor: pointer;
}
.ct-partner:hover { background: oklch(0.985 0.018 55); }
.ct-partner:nth-child(3n) { border-right: 0; }
.ct-partner-grid > .ct-partner:nth-last-child(-n+3) { border-bottom: 0; }
.ct-partner-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ct-partner-tier {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px 3px 6px; border-radius: 4px;
  background: oklch(0.96 0.05 55); color: oklch(0.48 0.14 55);
}
.ct-partner-tier .marker { width: 9px; height: 9px; border-radius: 50%; border: 2px solid oklch(0.65 0.16 55); background: oklch(0.65 0.16 55); }
.ct-partner-region { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); letter-spacing: 0.04em; text-align: right; }
.ct-partner-city { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.025em; color: var(--ink-900); line-height: 1.05; }
.ct-partner-name { font-size: 13.5px; color: var(--ink-700, var(--ink-600)); font-weight: 500; }
.ct-partner-addr { font-size: 12.5px; color: var(--ink-500); display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.ct-partner-addr svg { color: var(--ink-400); flex-shrink: 0; margin-top: 2px; }
.ct-partner-services { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.ct-partner-services .chip { font-size: 10.5px; padding: 3px 7px; }
.ct-partner-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-900); font-weight: 600;
}
.ct-partner-foot .show { color: oklch(0.62 0.16 55); display: flex; align-items: center; gap: 4px; }
.ct-partners .ct-section-head h2 > span { color: oklch(0.65 0.16 55) !important; }

/* ---------- Become a partner CTA ---------- */
.ct-becoming { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; }
.ct-becoming-inner {
  background: var(--ink-900); color: #fff; border-radius: 14px;
  padding: 32px 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.ct-becoming-inner::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,121,196,0.45) 0%, transparent 60%);
}
.ct-becoming-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500;
}
.ct-becoming h3 {
  margin: 10px 0 8px; font-family: var(--font-display); font-weight: 800;
  font-size: 32px; letter-spacing: -0.025em; line-height: 1.05;
}
.ct-becoming h3 em { font-style: normal; color: oklch(0.78 0.14 222); }
.ct-becoming p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.55; max-width: 50ch; }
.ct-becoming-actions { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.ct-becoming-actions .btn { justify-content: flex-start; padding: 14px 18px; font-size: 14px; }
.ct-becoming-actions .btn-primary { background: var(--accent); }
.ct-becoming-actions .btn-primary:hover { background: var(--accent-hover); }
.ct-becoming-actions .btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: #fff; }
.ct-becoming-actions .btn-ghost:hover { background: rgba(255,255,255,0.06); }
.ct-becoming-actions .btn .meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ct-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .ct-hero-chips { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .ct-hero-chip { flex: 1; min-width: 160px; }
  .ct-main-frame { grid-template-columns: 1fr; }
  .ct-list-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .ct-list { max-height: 380px; }
  .ct-map-pane { min-height: 520px; }
  .ct-spot-card { grid-template-columns: 1fr; }
  .ct-spot-visual { min-height: 240px; }
  .ct-partner-grid { grid-template-columns: 1fr 1fr; }
  .ct-partner:nth-child(3n) { border-right: 1px solid var(--line); }
  .ct-partner:nth-child(2n) { border-right: 0; }
  .ct-partner-grid > .ct-partner:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ct-partner-grid > .ct-partner:nth-last-child(-n+2) { border-bottom: 0; }
  .ct-becoming-inner { grid-template-columns: 1fr; gap: 18px; padding: 26px 24px; }
}
@media (max-width: 640px) {
  .ct-hero { padding: 0; }
  .ct-hero-inner { padding: 28px 16px 22px; }
  .ct-hero-chip { flex: 1 1 140px; }
  .ct-main { padding: 16px 16px 32px; }
  .ct-spot { padding: 0 16px 24px; }
  .ct-spot-body { padding: 22px 20px; }
  .ct-spot-h { font-size: 26px; }
  .ct-spot-info-row { grid-template-columns: 76px 1fr; gap: 12px; }
  .ct-partners, .ct-becoming { padding-left: 16px; padding-right: 16px; }
  .ct-partner-grid { grid-template-columns: 1fr; }
  .ct-partner { border-right: 0 !important; }
  .ct-partner-grid > .ct-partner { border-bottom: 1px solid var(--line); }
  .ct-partner-grid > .ct-partner:last-child { border-bottom: 0; }
  .ct-section-head h2 { font-size: 22px; }
  .ct-section-head { flex-wrap: wrap; }
  .ct-legend { left: 14px; right: 14px; bottom: 14px; }
}

/* Якорные переходы из hero-чипов: цель не должна прятаться под
   фиксированный preview-баннер (44px) + sticky .topbar. */
#ct-main-spot,
#ct-partners-sec { scroll-margin-top: 150px; }
