/* =========================================================
   ADSPACE Group — прототип главной страницы
   Дисплейный шрифт: Bahnschrift как временная замена «Магистрали».
   После получения лицензионных файлов заменить на @font-face.
   ========================================================= */

@font-face {
  font-family: "Manrope Local";
  src: url("assets/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Local";
  src: url("assets/Manrope-Medium.ttf") format("truetype");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --paper: #f4f3f0;
  --white: #ffffff;
  --surface: var(--white);
  --ink: #23252f;
  --muted: #5f6173;
  --line: #d5d3ce;
  --line-dark: #3a3c4b;
  --graphite: #22242f;
  --graphite-2: #2c2e3c;
  --red: #eb2246;
  --red-dark: #c71638;
  --pink: #ffd3dc;
  --pink-2: #ffb4c4;
  --sand: #e7e4dd;
  --radius: 4px;
  --shell: min(1440px, calc(100vw - 72px));
  --gutter: max(36px, calc((100vw - 1440px) / 2));
  --display: Bahnschrift, "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
  --text: "Manrope Local", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
}

/* тёмная тема — переключается кнопкой в шапке, независимо от ч/б-режима показа */
:root[data-theme="dark"] {
  --paper: #15161d;
  --surface: #1e1f28;
  --ink: #eef0f6;
  --muted: #9a9cae;
  --line: #34364a;
  --line-dark: #494c60;
  --graphite: #0e0f15;
  --graphite-2: #16171f;
  --sand: #202129;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

/* ── общие элементы ─────────────────────────────────────── */
.eyebrow {
  margin: 0 0 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.66);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(235, 34, 70, 0.14);
}

.button {
  min-height: 58px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: var(--red);
  color: var(--white);
}
.button--primary:hover {
  background: var(--red-dark);
}
.button--dark {
  background: var(--graphite);
  color: var(--white);
}
.button--dark:hover {
  background: #14161f;
}
.button--light {
  background: var(--surface);
  color: var(--ink);
}
.button--light:hover {
  background: var(--pink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  transition: gap 0.2s ease, color 0.2s ease;
}
.text-link:hover {
  gap: 16px;
}
.text-link--dark {
  color: var(--ink);
}
.text-link--dark:hover {
  color: var(--red);
}

.result-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── шапка ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  /* та же линия, что и у .section-shell */
  padding-inline: max(16px, calc((100% - var(--shell)) / 2));
  background: rgba(244, 243, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  flex: 0 0 auto;
  width: 234px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.brand img {
  width: 100%;
  height: auto;
}
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 14px;
  font-weight: 500;
}
.desktop-nav a {
  position: relative;
  padding: 6px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
/* переключатель светлой/тёмной темы: одна кнопка в шапке и в мобильном меню.
   Это визуальный тумблер-демо: положение переключается, но палитра сайта
   не меняется — полная тёмная версия дизайна впереди. */
.theme-toggle {
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  transition: color 0.2s ease;
}
.theme-toggle:hover {
  color: var(--red);
}
.theme-toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 46px;
  height: 24px;
  padding-inline: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: color 0.2s ease;
}
.theme-icon {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.theme-toggle:not([aria-pressed="true"]) .theme-icon--sun {
  opacity: 1;
}
.theme-toggle[aria-pressed="true"] .theme-icon--moon {
  opacity: 1;
}
.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.25s ease;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(22px);
}
.theme-toggle--mobile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
}

.header-side {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}
.header-phone:hover {
  color: var(--red);
}
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.menu-button span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.24s ease;
}
.menu-button span:first-child {
  transform: translateY(-4px);
}
.menu-button span:nth-child(2) {
  transform: translateY(4px);
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 59;
  inset: 88px 12px auto;
  padding: 12px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}
.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.mobile-menu a:last-child {
  border-bottom: 0;
}
.mobile-menu-phone {
  color: var(--red);
}

/* ── 01 первый экран ────────────────────────────────────── */
.hero {
  padding-top: 34px;
}
.hero-banner {
  height: clamp(96px, 12vw, 176px);
  width: 100vw;
  /* полоса выходит за пределы .section-shell на всю ширину экрана */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--red);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.hero-banner-track img {
  height: clamp(52px, 6.8vw, 106px);
  width: auto;
  flex: 0 0 auto;
}
.hero-banner-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.5;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: 64px 0 56px;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
h1 {
  font-size: clamp(52px, 6.2vw, 104px);
  letter-spacing: -0.055em;
}
h1 strong {
  font-weight: 700;
  color: var(--red);
}
.hero-lead {
  max-width: 520px;
  margin: 30px 0 34px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-proof {
  width: 100%;
  margin-top: auto;
  padding-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-proof b {
  color: var(--red);
  margin-right: 6px;
}

/* медиаобласть */
.hero-stage {
  min-width: 0;
  min-height: 520px;
  padding: 20px;
  background: var(--sand);
  border-radius: 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(235, 34, 70, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(235, 34, 70, 0);
  }
}

.stage-screen {
  position: relative;
  min-height: 360px;
  border-radius: 6px;
  overflow: hidden;
  background: #dedbd4;
  transition: background 0.45s ease;
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}
.scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(20, 22, 30, 0.12);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chip--a {
  left: 22px;
  top: 22px;
}
.chip--b {
  right: 22px;
  bottom: 22px;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(35, 37, 47, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 37, 47, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(500px) rotateX(60deg) translateY(150px) scale(1.6);
}
.billboard {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 236px;
  transform: translate(-50%, -50%) rotate(-3deg);
}
.billboard-screen {
  height: 132px;
  padding: 16px 18px;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-size: 46px;
  line-height: 0.84;
  font-weight: 700;
  letter-spacing: -0.05em;
  box-shadow: 0 26px 44px rgba(20, 22, 30, 0.22);
}
.billboard-leg {
  width: 14px;
  height: 86px;
  margin: 0 auto;
  background: var(--graphite);
}

.scene--indoor {
  background: #d7d4e6;
}
.lift {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 250px;
  transform: translate(-50%, -50%);
  background: var(--graphite);
  border-radius: 4px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 12px;
}
.lift-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.lift-doors i {
  background: linear-gradient(180deg, #4a4d5e, #33364a);
}
.lift-panel {
  background: var(--surface);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--display);
  line-height: 1;
}
.lift-panel span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--red);
}
.lift-panel b {
  font-size: 19px;
  letter-spacing: -0.04em;
}

.scene--broadcast {
  background: var(--graphite);
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 150px;
}
.wave i {
  width: 5px;
  border-radius: 3px;
  background: var(--red);
  animation: bars 1.1s ease-in-out infinite alternate;
}
.wave i:nth-child(odd) {
  background: var(--pink-2);
}
.wave i:nth-child(3n) {
  animation-delay: 0.15s;
}
.wave i:nth-child(3n + 1) {
  animation-delay: 0.3s;
}
.wave i:nth-child(4n) {
  animation-delay: 0.45s;
}
@keyframes bars {
  from {
    height: 12px;
  }
  to {
    height: 120px;
  }
}
.tv-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130px;
  height: 84px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--white);
  border-radius: 4px;
  display: grid;
  place-content: center;
  background: rgba(34, 36, 47, 0.8);
  color: var(--white);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.scene--calc {
  background: var(--surface);
}
.calc-ui {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(300px, 80%);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.calc-row,
.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.calc-row span {
  color: var(--muted);
}
.calc-row b {
  font-weight: 600;
}
.calc-total {
  border-bottom: 0;
  background: var(--graphite);
  color: var(--white);
}
.calc-total b {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.scene--plan {
  background: var(--pink);
}
.plan-ui {
  position: absolute;
  inset: 42px 34px;
  display: grid;
  align-content: center;
  gap: 16px;
}
.plan-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-row i {
  height: 16px;
  margin-left: var(--s);
  width: var(--w);
  background: var(--graphite);
  border-radius: 2px;
  transform-origin: left;
  animation: growBar 0.7s var(--ease) both;
}
.plan-row:nth-child(2) i {
  background: var(--red);
  animation-delay: 0.08s;
}
.plan-row:nth-child(3) i {
  animation-delay: 0.16s;
}
.plan-row:nth-child(4) i {
  background: var(--red);
  animation-delay: 0.24s;
}
@keyframes growBar {
  from {
    transform: scaleX(0);
  }
}

.scene--booking {
  background: #dee2e8;
}
.booking-ui {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 84%);
  transform: translate(-50%, -50%);
  display: grid;
  gap: 8px;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 3px;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(20, 22, 30, 0.06);
}
.booking-row b {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.booking-row b.ok {
  color: #1c8a52;
}
.booking-row.is-taken {
  opacity: 0.55;
}
.booking-row.is-picked {
  outline: 2px solid var(--red);
}
.booking-row.is-picked b.ok {
  color: var(--red);
}

.stage-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.stage-caption strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.stage-dots {
  display: flex;
  gap: 7px;
}
.stage-dots button {
  position: relative;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(35, 37, 47, 0.2);
  transition: background 0.25s ease;
}
/* зона нажатия больше самой точки */
.stage-dots button::after {
  content: "";
  position: absolute;
  inset: -16px -4px;
}
.stage-dots button[aria-selected="true"] {
  background: var(--red);
}

/* полоса масштаба */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric-strip div {
  padding: 28px 24px 30px;
  border-right: 1px solid var(--line);
}
.metric-strip div:last-child {
  border-right: 0;
}
.metric-strip strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.metric-strip span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── заголовки секций ───────────────────────────────────── */
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-size: clamp(46px, 5.6vw, 92px);
}
.heading-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.heading-aside p {
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── 02 акции ───────────────────────────────────────────── */
.promos {
  padding-block: clamp(88px, 10vw, 140px);
}
.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.slider-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.slider-controls button:hover {
  background: var(--ink);
  color: var(--white);
}
.slider-counter {
  font-family: var(--display);
  font-size: 15px;
  color: var(--muted);
}
.slider-counter b {
  color: var(--ink);
}

.promo-track {
  display: flex;
  gap: 20px;
  /* поля совпадают с сеткой секции, поэтому карточки стоят по общей линии */
  padding-inline: max(16px, calc((100% - var(--shell)) / 2));
  scroll-padding-inline: max(16px, calc((100% - var(--shell)) / 2));
  padding-bottom: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.promo-track::-webkit-scrollbar {
  display: none;
}
.promo-card {
  flex: 0 0 min(740px, 84vw);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 380px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(20, 22, 30, 0.1);
}
.promo-art {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}
.promo-art--hotel {
  background: var(--pink);
}
.promo-art--stadium {
  background: var(--graphite);
  color: var(--white);
}
.promo-art--dev {
  background: var(--sand);
}
.promo-art--season {
  background: var(--red);
  color: var(--white);
}
.promo-art--federal {
  background: var(--pink-2);
}
.promo-figure {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 12px;
  font-family: var(--display);
  font-size: clamp(76px, 9vw, 118px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}
.art-caption {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.art-hotel {
  position: absolute;
  right: -20%;
  bottom: -14%;
  width: 78%;
  height: 68%;
  border: 18px solid var(--red);
  transform: skewY(-14deg);
}
.art-stadium {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 34px solid var(--red);
  border-radius: 50%;
}
.art-dev {
  position: absolute;
  right: 16px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.art-dev i {
  width: 34px;
  background: var(--graphite);
}
.art-dev i:nth-child(1) {
  height: 110px;
}
.art-dev i:nth-child(2) {
  height: 170px;
  background: var(--red);
}
.art-dev i:nth-child(3) {
  height: 78px;
}
.art-season {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 190px;
  height: 190px;
  border: 22px solid var(--white);
  transform: rotate(18deg);
}
.art-federal {
  position: absolute;
  inset: 0;
}
.art-federal i {
  position: absolute;
  height: 4px;
  background: var(--graphite);
}
.art-federal i:nth-child(1) {
  width: 62%;
  left: 20%;
  top: 58%;
  transform: rotate(-14deg);
}
.art-federal i:nth-child(2) {
  width: 54%;
  left: 12%;
  top: 76%;
  transform: rotate(11deg);
}

.promo-copy {
  padding: 32px 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.promo-tag {
  padding: 6px 10px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.promo-copy h3 {
  margin: 22px 0 12px;
  font-size: clamp(28px, 2.6vw, 40px);
}
.promo-copy > p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.promo-meta {
  width: 100%;
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.promo-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}
.promo-meta dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  align-self: center;
}
.promo-meta dd {
  font-weight: 600;
}
.promo-copy .text-link {
  margin-top: auto;
}

/* ── 03 конструктор ─────────────────────────────────────── */
.builder {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--graphite);
  color: var(--white);
}
.builder-heading h2 {
  font-size: clamp(38px, 4.6vw, 74px);
}
.builder-sub {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

.builder-form {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.field {
  display: block;
}
.field-label {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.builder-form select,
.builder-form input[type="range"] {
  width: 100%;
}
.builder-form select {
  height: 58px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 26px, calc(100% - 14px) 26px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.builder-form select:hover {
  border-color: var(--red);
}
.field--budget .field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.field--budget output {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: none;
}
.budget-track {
  height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
}
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--red);
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
}
.builder-submit {
  min-height: 58px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.builder-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.builder-result {
  margin-top: 20px;
  padding: 34px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  animation: openResult 0.45s var(--ease);
}
@keyframes openResult {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.result-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.result-head h3 {
  font-size: clamp(30px, 3.4vw, 50px);
}
.result-desc,
.result-head p {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}
[data-result-close] {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
[data-result-close]:hover {
  background: var(--ink);
  color: var(--white);
}

.result-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  padding: 28px 0;
}
[data-result-mix] {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.mix-item {
  display: grid;
  grid-template-columns: 132px 1fr 44px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.mix-item b {
  font-weight: 600;
}
.mix-item .mix-bar {
  height: 8px;
  background: var(--sand);
  border-radius: 4px;
  overflow: hidden;
}
.mix-item .mix-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--red);
  border-radius: 4px;
  transform-origin: left;
  animation: growBar 0.6s var(--ease) both;
}
.mix-item .mix-share {
  text-align: right;
  font-family: var(--display);
  font-size: 15px;
  color: var(--muted);
}
.result-facts dl {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.result-facts dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.result-facts dt {
  color: var(--muted);
}
.result-facts dd {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.result-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.result-note {
  max-width: 620px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.result-note span {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  vertical-align: -3px;
}

/* контакты внутри результата конструктора — без ухода на другую форму */
.result-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: end;
}
.result-contact-lead {
  grid-column: 1 / -1;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.result-contact .field-label {
  color: var(--muted);
}
.result-contact input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.result-contact input::placeholder {
  color: var(--muted);
}
.result-contact input:hover,
.result-contact input:focus {
  border-color: var(--red);
  outline: none;
}
.result-contact input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.result-contact .button {
  justify-self: start;
}
.result-contact-status {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
}

.process {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 20px;
  font-size: 14px;
  line-height: 1.4;
}
.process-step b {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--red);
}
.process-step--muted {
  color: rgba(255, 255, 255, 0.62);
}
.process-step--muted b {
  color: rgba(255, 255, 255, 0.45);
}

/* ── 04 решения ─────────────────────────────────────────── */
.solutions {
  padding-block: clamp(88px, 10vw, 140px);
}
.solutions-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.solution-preview {
  position: relative;
  position: sticky;
  top: 120px;
  padding: 20px;
  background: var(--sand);
  border-radius: 8px;
  transition: background 0.45s ease, color 0.45s ease;
}
.preview-canvas {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.45s ease;
}
.pv {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: grid;
  place-content: center;
}
.preview-canvas[data-kind="outdoor"] .pv--outdoor,
.preview-canvas[data-kind="digital"] .pv--digital,
.preview-canvas[data-kind="radio"] .pv--radio,
.preview-canvas[data-kind="tv"] .pv--tv,
.preview-canvas[data-kind="transit"] .pv--transit,
.preview-canvas[data-kind="indoor"] .pv--indoor,
.preview-canvas[data-kind="lift"] .pv--lift,
.preview-canvas[data-kind="production"] .pv--production {
  opacity: 1;
  transform: none;
}
.pv--outdoor span {
  display: block;
  padding: 22px 26px;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.pv--outdoor i {
  display: block;
  width: 12px;
  height: 66px;
  margin: 0 auto;
  background: var(--graphite);
}
.pv--digital {
  grid-auto-flow: column;
  gap: 10px;
  align-content: center;
}
.pv--digital i {
  width: 52px;
  height: 92px;
  background: var(--graphite);
  border-radius: 3px;
}
.pv--digital i:nth-child(2) {
  background: var(--red);
  height: 128px;
}
.pv--radio {
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
}
.pv--radio i {
  width: 8px;
  border-radius: 4px;
  background: var(--red);
  animation: bars 1.2s ease-in-out infinite alternate;
}
.pv--radio i:nth-child(2n) {
  background: var(--graphite);
  animation-delay: 0.2s;
}
.pv--radio i:nth-child(3n) {
  animation-delay: 0.4s;
}
.pv--tv span {
  display: grid;
  place-content: center;
  width: 190px;
  height: 118px;
  border: 8px solid var(--graphite);
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.03em;
}
.pv--transit {
  place-content: center;
}
.pv--transit i {
  display: block;
  width: 220px;
  height: 78px;
  border-radius: 8px 20px 8px 8px;
  background: var(--red);
}
.pv--transit b {
  position: absolute;
  bottom: 26%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--graphite);
}
.pv--transit b:nth-of-type(1) {
  left: 32%;
}
.pv--transit b:nth-of-type(2) {
  right: 32%;
}
.pv--indoor {
  grid-auto-flow: column;
  gap: 14px;
}
.pv--indoor i {
  width: 84px;
  height: 118px;
  background: var(--graphite);
  border-radius: 3px;
}
.pv--indoor i:first-child {
  background: var(--red);
  height: 150px;
}
.pv--lift {
  place-content: center;
}
.pv--lift i {
  display: block;
  width: 130px;
  height: 160px;
  background: var(--graphite);
  border-radius: 3px;
}
.pv--lift span {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  color: var(--red);
  font-size: 24px;
}
.pv--production {
  place-content: center;
}
.pv--production i {
  display: block;
  width: 170px;
  height: 110px;
  border: 8px solid var(--graphite);
  border-radius: 6px;
}
.pv--production b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 30px solid var(--red);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.preview-meta {
  padding-top: 22px;
}
.preview-index {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.preview-meta strong {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.preview-meta p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  min-height: 44px;
}
.preview-meta .text-link {
  margin-top: 8px;
}
.solution-list {
  border-top: 1px solid var(--ink);
}
.solution-list li {
  border-bottom: 1px solid var(--ink);
}
.solution-list button {
  width: 100%;
  padding: 22px 4px;
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: padding 0.3s var(--ease), color 0.3s ease;
}
.solution-list button strong {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.04em;
  transition: color 0.3s ease;
}
.sol-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.solution-list button i {
  font-style: normal;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.solution-list button.is-active {
  padding-left: 18px;
}
.solution-list button.is-active strong,
.solution-list button.is-active .sol-num {
  color: var(--red);
}
.solution-list button.is-active i {
  opacity: 1;
  transform: none;
  color: var(--red);
}
.sol-mobile-desc {
  display: none;
}

/* ── 05 точный расчёт ───────────────────────────────────── */
.accuracy {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--graphite);
  color: var(--white);
}
.accuracy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.accuracy h2 {
  font-size: clamp(46px, 5.6vw, 88px);
}
.accuracy-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

.geo-block {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.geo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.geo-head .result-label {
  color: rgba(255, 255, 255, 0.66);
}
.geo-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: stretch;
}
.geo-map {
  min-height: clamp(360px, 32vw, 520px);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  display: grid;
  place-content: center;
}
.geo-map span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.geo-stats {
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.geo-stats div {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
.geo-stats b {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.geo-stats span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.cost-card {
  padding: 30px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}
.cost-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cost-total {
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.cost-total small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cost-total strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.cost-lines {
  display: grid;
  gap: 18px;
}
.cost-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 13px;
}
.cost-line b {
  font-family: var(--display);
  font-size: 16px;
}
.cost-line i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  width: var(--w);
  transform-origin: left;
  animation: growBar 0.7s var(--ease) both;
}
.cost-line:nth-child(2) i {
  background: var(--graphite);
}
.cost-line:nth-child(3) i {
  background: #9a9cab;
}
.cost-line:nth-child(4) i {
  background: var(--pink-2);
}
.cost-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.cost-badge {
  padding: 6px 10px;
  background: var(--pink);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 12px;
}

/* ── 06 кейсы ───────────────────────────────────────────── */
.cases {
  padding-block: clamp(88px, 10vw, 140px);
}
.cases .section-heading {
  grid-template-columns: 1fr;
}
.cases-more {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(20, 22, 30, 0.1);
}
.case-card--wide {
  grid-row: span 2;
}
.case-visual {
  min-height: 230px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--ink);
}
.case-card--wide .case-visual {
  min-height: 400px;
}
.case-visual b {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 84px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.case-visual small {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.case-visual--dev {
  background: var(--graphite);
  color: var(--white);
}
.case-visual--retail {
  background: var(--pink);
}
.case-visual--auto {
  background: var(--sand);
}
.case-info {
  padding: 26px 30px 30px;
}
.case-meta {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.case-info h3 {
  margin: 12px 0 12px;
  font-size: clamp(24px, 2.2vw, 34px);
}
.case-task {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.case-formats {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-formats li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
}

.clients {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.client-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.client-row li {
  height: 86px;
  display: grid;
  place-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.client-row li:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ── 07 сегменты ────────────────────────────────────────── */
.segments {
  padding-bottom: clamp(88px, 10vw, 140px);
}
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.segment-grid li {
  padding: 28px 26px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  transition: background 0.25s ease;
}
.segment-grid li:hover {
  background: var(--surface);
}
.seg-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red);
}
.segment-grid h3 {
  font-size: 24px;
}
.segment-grid p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.seg-formats {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── 08 компания ────────────────────────────────────────── */
.company {
  padding-bottom: clamp(88px, 10vw, 140px);
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.company h2 {
  font-size: clamp(42px, 4.8vw, 76px);
}
.company-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 36px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}
.team-photo {
  margin: 0;
}
.team-frame {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(35, 37, 47, 0.03) 0 12px,
    transparent 12px 24px
  );
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
}
.team-label {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--muted);
}
.team-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── 09 платформа ───────────────────────────────────────── */
.platform {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--graphite);
  color: var(--white);
}
.platform-heading {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.platform h2 {
  font-size: clamp(40px, 4.6vw, 76px);
}
.platform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.platform-side {
  display: flex;
  flex-direction: column;
}
.platform-role {
  display: block;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.platform-side ul {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.platform-side li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}
.platform-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.platform-side .button {
  align-self: flex-start;
  margin-bottom: 28px;
}

/* заглушка под будущий скрин интерфейса рекламодателя */
.platform-visual {
  flex: 1;
  min-height: 220px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-content: center;
}
.platform-visual span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
/* ── 10 презентация ─────────────────────────────────────── */
.presentation {
  padding-block: clamp(80px, 9vw, 120px);
}
.presentation-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 36px;
  row-gap: 12px;
}
.presentation-card h2 {
  font-size: clamp(30px, 3.2vw, 48px);
}
.pres-copy p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.pres-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.pres-button {
  min-height: 62px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pres-button:hover {
  background: var(--red);
  transform: translateY(-2px);
}
.pres-meta {
  font-size: 12px;
  color: var(--muted);
}
.pres-status {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--red);
}
.pres-status:empty {
  display: none;
}

/* ── 11 контакты ────────────────────────────────────────── */
.contact {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--graphite);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
}
.contact h2 {
  font-size: clamp(46px, 5.6vw, 92px);
}
.contact h2 strong {
  font-weight: 700;
  color: var(--red);
}
.contact-lead {
  margin: 26px 0 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}
.contact-info {
  display: grid;
  gap: 18px;
  max-width: 380px;
}
.contact-info li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.contact-info small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.contact-info a,
.contact-info span {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.contact-info a:hover {
  color: var(--red);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
}
.contact-form-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.contact-form-tabs button {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.contact-form-tabs button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.contact-form .field-label {
  color: rgba(255, 255, 255, 0.62);
}
.field--wide {
  grid-column: 1 / -1;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 17px 18px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  transition: border-color 0.2s ease;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: none;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.contact-form .button {
  grid-column: 1 / -1;
  justify-content: space-between;
}
.contact-form input.is-invalid,
.result-contact input.is-invalid {
  border-color: var(--pink-2);
}
.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  font-size: 13px;
  color: var(--pink-2);
}
.form-legal {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.form-legal a {
  border-bottom: 1px solid currentColor;
}

/* ── подвал ─────────────────────────────────────────────── */
.site-footer {
  padding-block: 56px 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-grid small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-grid a {
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-grid a:hover {
  color: var(--red);
}
.footer-grid span {
  font-size: 13px;
  color: var(--muted);
}
.footer-brand img {
  width: 150px;
  height: auto;
}
.footer-brand p {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* ── появление блоков ───────────────────────────────────── */
/* прячем только если JS точно работает — иначе контент виден всегда */
.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── планшет ────────────────────────────────────────────── */
@media (max-width: 1180px) {
  :root {
    --shell: min(1440px, calc(100vw - 48px));
    --gutter: 24px;
  }
  .hero-grid,
  .accuracy-grid,
  .platform-split,
  .company-grid,
  .contact-grid,
  .solutions-grid,
  .geo-body {
    grid-template-columns: 1fr;
  }
  .platform-side + .platform-side {
    margin-top: 48px;
  }
  .geo-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .solution-preview {
    position: relative;
    top: 0;
    max-width: 560px;
  }
  .hero-stage {
    min-height: 460px;
  }
  .builder-form {
    grid-template-columns: 1fr 1fr;
  }
  .builder-submit {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .result-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 20px;
  }
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .presentation-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .promo-card {
    flex-basis: min(680px, 88vw);
  }
}

@media (max-width: 1180px) {
  /* при добавлении выбора города в шапку десктоп-навигации стало тесно
     раньше прежних 980px — сворачиваем её в то же окно, что и сетки */
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .header-phone {
    display: none;
  }
  .header-side {
    margin-left: auto;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-card--wide {
    grid-row: auto;
  }
  .case-card--wide .case-visual {
    min-height: 260px;
  }
}

/* ── мобильные ──────────────────────────────────────────── */
@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 32px);
    --gutter: 16px;
  }
  .site-header {
    height: 72px;
  }
  .brand {
    width: 172px;
  }
  .mobile-menu {
    inset: 72px 10px auto;
  }
  .hero {
    padding-top: 20px;
  }
  .hero-grid {
    padding: 40px 0 36px;
    gap: 36px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .button-row {
    width: 100%;
  }
  .button,
  .builder-submit,
  .pres-button {
    width: 100%;
    justify-content: space-between;
  }
  .hero-proof {
    padding-top: 32px;
    gap: 12px;
    flex-direction: column;
  }
  .hero-stage {
    min-height: 420px;
    padding: 14px;
  }
  .stage-screen {
    min-height: 260px;
  }
  .billboard {
    width: 190px;
  }
  .billboard-screen {
    height: 106px;
    font-size: 36px;
  }
  .lift {
    width: 190px;
    height: 200px;
  }
  .chip {
    font-size: 10px;
    padding: 6px 9px;
  }
  .metric-strip {
    grid-template-columns: 1fr 1fr;
  }
  .metric-strip div:nth-child(2n) {
    border-right: 0;
  }
  .metric-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .promo-card {
    flex-basis: min(420px, 86vw);
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .promo-art {
    height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .promo-figure {
    font-size: 68px;
  }
  .promo-copy {
    padding: 24px 22px 26px;
  }
  .builder-form {
    grid-template-columns: 1fr;
  }
  .builder-result {
    padding: 22px 18px;
  }
  .result-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .result-foot .button {
    width: 100%;
  }
  .result-contact {
    grid-template-columns: 1fr;
  }
  .result-contact .button {
    width: 100%;
    justify-self: stretch;
  }
  .mix-item {
    grid-template-columns: 96px 1fr 40px;
    gap: 10px;
    font-size: 12px;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-step {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .process-step b {
    font-size: 22px;
  }

  /* решения: на мобильном — аккордеон вместо hover */
  .solution-preview {
    display: none;
  }
  .solution-list button {
    grid-template-columns: 44px 1fr 28px;
    padding: 18px 2px;
  }
  .solution-list button i {
    opacity: 1;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
  .solution-list button.is-active i {
    transform: rotate(180deg);
  }
  .sol-mobile-desc {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-left: 44px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    transition: max-height 0.35s var(--ease), opacity 0.3s ease, padding 0.3s ease;
  }
  .solution-list button.is-active + .sol-mobile-desc {
    max-height: 160px;
    opacity: 1;
    padding-bottom: 20px;
  }

  .geo-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .geo-stats div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .cost-card {
    padding: 22px;
  }
  .segment-grid {
    grid-template-columns: 1fr;
  }
  .segment-grid li {
    min-height: 0;
  }
  .client-row {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .dash-nav {
    flex-direction: row;
    padding: 12px 16px;
  }
  .dash-nav b {
    margin-top: 0;
    margin-left: auto;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-info {
    max-width: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .text-link {
    padding-block: 6px 8px;
  }
  .footer-grid a {
    padding-block: 6px;
  }
  .contact-info a {
    padding-block: 4px;
  }
  .mobile-menu a {
    padding: 17px 0;
  }
  .partner-modal-panel {
    padding: 24px;
  }
}

/* ── попап «Стать партнёром» ─────────────────────────────── */
body.modal-open {
  overflow: hidden;
}
.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 16, 22, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.partner-modal[hidden] {
  display: none;
}
.partner-modal.is-visible {
  opacity: 1;
}
.partner-modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border-radius: var(--radius);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.partner-modal.is-visible .partner-modal-panel {
  transform: translateY(0);
}
.partner-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.partner-modal-close:hover {
  background: var(--ink);
  color: var(--white);
}
.partner-modal h3 {
  margin: 20px 0 10px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.partner-modal-lead {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.partner-form {
  display: grid;
  gap: 14px;
}
.partner-form .field-label {
  color: var(--muted);
}
.partner-form input,
.partner-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.partner-form textarea {
  resize: vertical;
}
.partner-form input::placeholder,
.partner-form textarea::placeholder {
  color: var(--muted);
}
.partner-form input:hover,
.partner-form input:focus,
.partner-form textarea:hover,
.partner-form textarea:focus {
  border-color: var(--red);
  outline: none;
}
.partner-form input:focus-visible,
.partner-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.partner-form input.is-invalid {
  border-color: var(--pink-2);
}
.partner-status {
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
}

/* ── уважение к настройкам движения ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-banner-track {
    animation: none;
  }
  .scene {
    transition: none;
  }
}
