/* ============================================================
   Adwesion — платформа цифровой наружной рекламы
   Палитра: «город ночью»
   ночь        #0B0E23
   поверхность #141838
   коралл LED  #FF5C8A
   янтарь LED  #FF9E2C
   неон-циан   #4DE1FF
   текст       #F2F3FA / приглушённый #9AA0C3
   ============================================================ */

:root {
  --night: #0B0E23;
  --surface: #141838;
  --surface-2: #1B2049;
  --line: rgba(154, 160, 195, 0.18);
  --coral: #FF5C8A;
  --amber: #FF9E2C;
  --cyan: #4DE1FF;
  --text: #F2F3FA;
  --muted: #9AA0C3;
  --grad: linear-gradient(92deg, var(--coral), var(--amber));
  --radius: 18px;
  --font-display: "Unbounded", "Manrope", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.container-narrow { width: min(820px, 100% - 48px); }

.mono { font-family: var(--font-mono); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- типографика ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; }

h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }

.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }

.section-sub { color: var(--muted); max-width: 60ch; margin-top: 14px; }

/* LED-бегущая строка — подпись секции, как уличное табло */

.ticker {
  max-width: 460px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 158, 44, 0.28);
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0 1px, transparent 1px 3px),
    #070918;
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(255, 158, 44, 0.08);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--amber);
  text-shadow:
    0 0 6px rgba(255, 158, 44, 0.9),
    0 0 22px rgba(255, 158, 44, 0.4);
  animation: ticker-run 20s linear infinite;
}

.ticker-track span { padding-right: 2.4em; }

@keyframes ticker-run { to { transform: translateX(-50%); } }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: #1A0710;
  box-shadow: 0 6px 24px rgba(255, 92, 138, 0.35);
}

.btn-primary:hover { box-shadow: 0 10px 32px rgba(255, 130, 80, 0.45); }

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(20, 24, 56, 0.5);
}

.btn-outline:hover { border-color: var(--cyan); }

.btn-ghost { color: var(--muted); padding-inline: 14px; }

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------- шапка-остров ---------- */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
  padding: 8px 10px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 14, 35, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.logo { display: inline-flex; align-items: center; }

.logo img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(255, 92, 138, 0.35));
}

.footer-brand .logo img { height: 32px; }

.audience-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.switch-item {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.switch-item:hover { color: var(--text); }

.switch-item.is-active {
  background: var(--grad);
  color: #1A0710;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  pointer-events: auto;
  flex-direction: column;
  gap: 4px;
  width: min(360px, calc(100% - 24px));
  margin: 10px auto 0;
  padding: 14px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(11, 14, 35, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

.mobile-menu a { padding: 10px 4px; font-weight: 600; color: var(--muted); }

.mobile-menu a.is-active, .mobile-menu a:hover { color: var(--text); }

.mobile-menu .btn-primary { color: #1A0710; margin-top: 8px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 7vw, 90px);
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 130%;
  background:
    radial-gradient(560px 420px at 78% 30%, rgba(255, 92, 138, 0.20), transparent 70%),
    radial-gradient(520px 380px at 12% 75%, rgba(77, 225, 255, 0.12), transparent 70%),
    radial-gradient(420px 320px at 88% 82%, rgba(255, 158, 44, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(154, 160, 195, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero h1 { margin-bottom: 20px; }

/* перелистывающееся слово в заголовке — как ячейка табло */

.flip-box {
  display: inline-flex;
  justify-content: center;
  padding: 0.02em 0.2em 0.08em;
  border: 2px solid transparent;
  border-radius: 0.24em;
  background:
    linear-gradient(var(--night), var(--night)) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 0 26px rgba(255, 92, 138, 0.35),
    inset 0 0 22px rgba(255, 158, 44, 0.12);
  transition: width 0.35s ease;
}

.flip-word {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.28s ease-in, opacity 0.28s ease-in;
}

.flip-word.flip-out {
  transform: perspective(400px) rotateX(88deg);
  opacity: 0;
}

.flip-word.flip-in {
  animation: flip-in 0.34s ease-out;
}

@keyframes flip-in {
  from { transform: perspective(400px) rotateX(-88deg); opacity: 0; }
  to { transform: perspective(400px) rotateX(0); opacity: 1; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 12px 34px;
  margin-top: 42px;
  justify-content: start;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats dd { font-size: 0.82rem; color: var(--muted); }

/* билборд-мокап */

.hero-billboard { justify-self: center; width: min(400px, 100%); }

.billboard-frame { position: relative; }

.billboard-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 6px solid #23284f;
  background: #05060f;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(154, 160, 195, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 92, 138, 0.18);
}

.billboard-legs {
  width: 12%;
  height: 46px;
  margin: 0 auto;
  background: linear-gradient(#23284f, #0e1129);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.ai-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 14, 35, 0.75);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}

.ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.billboard-slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  animation: slide-cycle 12s infinite;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.slide em { font-style: normal; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

.slide-1 { background: linear-gradient(160deg, #43217c, #ff5c8a); animation-delay: 0s; }
.slide-2 { background: linear-gradient(160deg, #0a3b63, #4de1ff); animation-delay: 4s; }
.slide-3 { background: linear-gradient(160deg, #6b2116, #ff9e2c); animation-delay: 8s; }

@keyframes slide-cycle {
  0%, 27% { opacity: 1; }
  33%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.billboard-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- цветные ленты ---------- */

.band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 15% 50%, rgba(255, 92, 138, 0.10), transparent 70%),
    var(--surface);
  padding: clamp(40px, 6vw, 72px) 0;
}

.band-inner { display: grid; gap: 20px; }

.band-title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

.band-text { color: var(--muted); max-width: 62ch; }

/* три пункта под заголовком «нельзя пролистнуть» */

.band-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 540px;
}

.band-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 14, 35, 0.55);
}

.band-points p { font-size: 0.95rem; color: var(--muted); }

.band-points strong { color: var(--text); font-weight: 700; }

.bp-ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.bp-ico svg { width: 21px; height: 21px; }

.bp-cyan {
  color: var(--cyan);
  background: rgba(77, 225, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(77, 225, 255, 0.35), 0 0 18px rgba(77, 225, 255, 0.12);
}

.bp-amber {
  color: var(--amber);
  background: rgba(255, 158, 44, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 158, 44, 0.35), 0 0 18px rgba(255, 158, 44, 0.12);
}

.bp-coral {
  color: var(--coral);
  background: rgba(255, 92, 138, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 138, 0.35), 0 0 18px rgba(255, 92, 138, 0.12);
}

.band-partner .band-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.band-context .band-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

/* видео в корпусе экрана — как макет в hero-секции */

.band-video video {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 6px solid #23284f;
  box-shadow:
    0 0 0 1px rgba(154, 160, 195, 0.25),
    0 26px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(77, 225, 255, 0.14);
  filter: saturate(0.9);
}

/* ---------- секции ---------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- фичи ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.feature-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(175deg, var(--surface), rgba(20, 24, 56, 0.4));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover { border-color: rgba(77, 225, 255, 0.45); transform: translateY(-3px); }

.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; }

.feature-card p { color: var(--muted); font-size: 0.97rem; }

.feature-visual {
  height: 150px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 35, 0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-highlight { border-color: rgba(255, 158, 44, 0.5); }

.highlight-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #1A0710;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* мини-визуал: ИИ-конструктор */

.ai-canvas {
  width: 72%;
  padding: 16px;
  border-radius: 10px;
  border: 1px dashed rgba(77, 225, 255, 0.4);
  position: relative;
}

.ai-line {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(77, 225, 255, 0.5), rgba(77, 225, 255, 0.15));
  margin-bottom: 10px;
  animation: ai-grow 3s ease-in-out infinite alternate;
  transform-origin: left;
}

.ai-line.w70 { width: 70%; }
.ai-line.w45 { width: 45%; animation-delay: 0.6s; }

.ai-swatch {
  width: 42px;
  height: 26px;
  border-radius: 6px;
  background: var(--grad);
}

.ai-cursor {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 10px;
  height: 16px;
  background: var(--cyan);
  animation: pulse-dot 1s steps(2) infinite;
}

@keyframes ai-grow {
  from { transform: scaleX(0.55); }
  to { transform: scaleX(1); }
}

/* мини-визуал: аудитория */

.aud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 18px;
}

.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip.on {
  border-color: transparent;
  background: var(--grad);
  color: #1A0710;
}

/* мини-визуал: локации */

.visual-locations { height: auto; min-height: 150px; padding: 20px 0; }

.loc-list { width: 84%; display: flex; flex-direction: column; gap: 10px; }

.loc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(20, 24, 56, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

.loc-row em { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--cyan); }

.loc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* мини-визуал: гео */

.geo-map {
  position: relative;
  width: 120px;
  height: 120px;
}

.geo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
}

.geo-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(255, 92, 138, 0.7);
  border-radius: 50%;
  animation: geo-spin 14s linear infinite;
}

.geo-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

.geo-pin.p1 { top: 24%; left: 30%; }
.geo-pin.p2 { top: 58%; left: 68%; animation-delay: 0.5s; }
.geo-pin.p3 { top: 68%; left: 34%; animation-delay: 1s; }

@keyframes geo-spin { to { transform: rotate(360deg); } }

/* мини-визуалы партнёрской страницы */

.income-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 70%;
}

.income-bars span {
  width: 18px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--amber), var(--coral));
  animation: bar-rise 1.2s ease both;
}

@keyframes bar-rise { from { transform: scaleY(0); transform-origin: bottom; } }

.cab-window {
  width: 72%;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.cab-bar { height: 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }

.cab-row {
  height: 9px;
  margin: 12px 14px;
  border-radius: 4px;
  background: rgba(154, 160, 195, 0.35);
}

.cab-row.w70 { width: 70%; }
.cab-row.w45 { width: 45%; background: var(--grad); }
.cab-row.w60 { width: 60%; }

.ana-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, var(--night) 78%, transparent 79% 100%),
    conic-gradient(var(--coral) 0deg, var(--amber) 300deg, rgba(154, 160, 195, 0.2) 300deg);
  font-size: 0.9rem;
  color: var(--text);
}

.share-bar {
  display: flex;
  width: 84%;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
}

.share-you {
  flex: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 225, 255, 0.16);
  color: var(--cyan);
}

.share-us {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #1A0710;
}

/* ---------- почему нас выбирают (бенто-сетка) ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.why-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(175deg, var(--surface), rgba(20, 24, 56, 0.4));
}

.why-card h3 { font-size: 1.15rem; }

.why-card p { color: var(--muted); font-size: 0.96rem; max-width: 46ch; }

.why-ai {
  grid-column: span 7;
  border-color: rgba(255, 92, 138, 0.45);
  background:
    radial-gradient(440px 260px at 88% -10%, rgba(255, 92, 138, 0.16), transparent 70%),
    linear-gradient(175deg, var(--surface), rgba(20, 24, 56, 0.4));
}

.why-ai .btn { margin-top: 14px; }

.why-geo {
  grid-column: span 5;
  min-height: 280px;
  justify-content: flex-end;
  /* сюда встанет картинка карты:
     background: linear-gradient(180deg, rgba(11,14,35,0) 0%, rgba(11,14,35,.9) 70%),
                 url('../img/geo-bg.jpg') center / cover no-repeat; */
  background:
    radial-gradient(rgba(77, 225, 255, 0.22) 1px, transparent 1.6px) 0 0 / 24px 24px,
    radial-gradient(420px 260px at 70% 10%, rgba(77, 225, 255, 0.10), transparent 70%),
    linear-gradient(175deg, var(--surface), rgba(20, 24, 56, 0.4));
}

.why-geo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(11, 14, 35, 0.55) 40%);
}

.why-support { grid-column: span 5; }

.why-big {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
}

.why-analytics {
  grid-column: span 7;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.why-analytics-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.why-bars {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
  margin-left: auto;
}

.why-bars span {
  width: 16px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--amber), var(--coral));
}

/* ---------- карта ---------- */

.section-map {
  background:
    radial-gradient(700px 400px at 70% 20%, rgba(77, 225, 255, 0.07), transparent 70%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin-top: 44px;
  align-items: stretch;
}

.city-map {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 320px at 50% 36%, rgba(255, 92, 138, 0.06), transparent 70%),
    #0A0D20;
}

.map-river {
  fill: none;
  stroke: rgba(77, 225, 255, 0.16);
  stroke-width: 26;
  stroke-linecap: round;
}

.map-roads path {
  stroke: rgba(154, 160, 195, 0.12);
  stroke-width: 2;
  fill: none;
}

.map-blocks rect { fill: rgba(154, 160, 195, 0.06); }

.fence-ring {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-dasharray: 6 7;
}

.fence-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  opacity: 0;
  animation: fence 3.4s ease-out infinite;
  transform-origin: 480px 200px;
}

@keyframes fence {
  0% { opacity: 0.55; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.16); }
}

.map-screens circle {
  fill: var(--cyan);
  animation: screen-blink 2.6s ease-in-out infinite;
}

.map-screens circle.in-zone { fill: var(--amber); }

@keyframes screen-blink {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.35; }
}

.map-canvas { position: relative; }

/* плашка активной гео-кампании над картой */

.map-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 138, 0.4);
  background: rgba(11, 14, 35, 0.85);
  backdrop-filter: blur(8px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 92, 138, 0.15);
}

.map-badge strong { display: block; font-size: 0.85rem; }

.map-badge .mono { font-size: 0.72rem; color: var(--muted); }

.map-badge-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px var(--coral);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.map-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--night);
}

.map-stat span { font-size: 1.5rem; font-weight: 600; display: block; }

.map-stat small { color: var(--muted); font-size: 0.82rem; }

.map-panel .btn { margin-top: auto; }

.map-note { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* ---------- шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(154, 160, 195, 0.5);
}

.step-time {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 225, 255, 0.4);
  color: var(--cyan);
  font-size: 0.74rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 10px; }

.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- скриншоты ---------- */

.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.shot-placeholder {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  border: 1px dashed rgba(154, 160, 195, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.07), rgba(77, 225, 255, 0.06)),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot figcaption { padding: 18px 6px 0; }

.shot h3 { font-size: 1rem; margin-bottom: 6px; }

.shot p { color: var(--muted); font-size: 0.92rem; }

/* ---------- сценарии (партнёры) ---------- */

.section-scenarios {
  background:
    radial-gradient(600px 340px at 85% 10%, rgba(255, 158, 44, 0.08), transparent 70%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.scenario-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--night);
}

.scenario-label { font-size: 0.74rem; color: var(--amber); letter-spacing: 0.14em; }

.scenario-card h3 { font-size: 1.2rem; margin: 14px 0 12px; }

.scenario-card p { color: var(--muted); font-size: 0.97rem; }

.scenario-card ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }

.scenario-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
}

.scenario-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg) scale(0.9);
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: 40px; display: grid; gap: 12px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- форма заявки ---------- */

.section-lead {
  background:
    radial-gradient(640px 420px at 20% 30%, rgba(255, 92, 138, 0.12), transparent 70%),
    radial-gradient(520px 360px at 85% 75%, rgba(77, 225, 255, 0.09), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
}

.lead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.lead-copy > p { color: var(--muted); margin-top: 16px; max-width: 48ch; }

.lead-points { list-style: none; margin-top: 24px; display: grid; gap: 12px; }

.lead-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  font-size: 0.98rem;
}

.lead-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg) scale(0.9);
}

.lead-form {
  padding: 34px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--night);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 18px;
  position: relative;
}

.lead-form h3 { font-size: 1.1rem; }

.lead-form label { display: grid; gap: 8px; font-size: 0.88rem; font-weight: 600; }

.lead-form label span { color: var(--muted); }

.lead-form input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.18s ease;
}

.lead-form input::placeholder { color: rgba(154, 160, 195, 0.55); }

.lead-form input:focus { outline: none; border-color: var(--cyan); }

.lead-form input.invalid { border-color: var(--coral); }

.form-hint { font-size: 0.74rem; color: var(--muted); line-height: 1.5; }

.form-success[hidden] { display: none; }

.form-success {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
}

.form-success strong { font-family: var(--font-display); font-size: 1.2rem; }

.form-success p { color: var(--muted); max-width: 34ch; }

/* ---------- подвал ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; max-width: 34ch; }

.footer-nav { display: grid; gap: 10px; font-size: 0.92rem; color: var(--muted); align-content: start; }

.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: rgba(154, 160, 195, 0.6);
}

/* ---------- появление при скролле ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */

@media (max-width: 880px) {
  .audience-switch, .header-actions { display: none; }
  .header-inner { gap: 24px; padding: 8px 10px 8px 20px; }
  .burger { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-billboard { width: min(340px, 100%); }
  .hero-stats { grid-template-columns: repeat(2, auto); }

  .features-grid, .scenario-grid { grid-template-columns: minmax(0, 1fr); }
  .steps, .shots-grid { grid-template-columns: minmax(0, 1fr); }

  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-card { grid-column: auto; }
  .why-analytics { flex-direction: column; align-items: flex-start; }
  .why-bars { margin-left: 0; height: 100px; }

  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .map-panel { flex-direction: column; }

  .band-partner .band-inner { grid-template-columns: minmax(0, 1fr); }
  .band-context .band-inner { grid-template-columns: minmax(0, 1fr); }

  .lead-inner { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- узкие мобильные ---------- */

@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }

  .hero h1 { font-size: clamp(1.55rem, 7vw, 1.95rem); }

  .lead { font-size: 1rem; }

  .ticker { max-width: 100%; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    margin-top: 34px;
  }
  .hero-stats dt { font-size: 1.15rem; }

  .hero-billboard { width: 100%; }

  .why-card, .feature-card, .scenario-card { padding: 24px 20px; }

  .map-badge { top: 10px; left: 10px; padding: 8px 12px; }
  .map-badge strong { font-size: 0.78rem; }
  .map-badge .mono { font-size: 0.64rem; }

  .lead-form { padding: 26px 20px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .slide { opacity: 0; }
  .slide-1 { opacity: 1; }

  .ticker-track { animation: none; }

  .reveal { opacity: 1; transform: none; }
}
