:root {
  --bg: #03060b;
  --text: #ffffff;
  --muted: #c6ccd7;
  --soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(8, 12, 20, 0.74);
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --blue: #2563eb;
  --glass-card-bg:
    radial-gradient(140% 100% at 8% 0%, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(139, 92, 246, 0.075) 56%, rgba(37, 99, 235, 0.045)),
    rgba(7, 10, 18, 0.5);
  --glass-card-border: rgba(255, 255, 255, 0.17);
  --glass-card-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(139, 92, 246, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset -1px -1px 0 rgba(255, 255, 255, 0.025);
  --font-ui: "Inter", Arial, Helvetica, sans-serif;
  --font-display: "Inter", Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.business-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.business-actions .button,
.company-board a {
  color: inherit;
  text-decoration: none;
}

.company-board a:hover {
  color: #c084fc;
}

@media (max-width: 760px) {
  .business-actions {
    justify-content: flex-start;
  }
}

/* Internal city catalog pages */
.city-page-body {
  min-height: 100%;
  overflow: auto;
}

.city-page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 96px clamp(20px, 4.4vw, 64px) 54px;
}

.city-page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.62) 48%, rgba(3, 6, 11, 0.84)),
    var(--city-bg, url("assets/project-media/locations.webp")) center/cover;
}

.city-page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 14%, rgba(139, 92, 246, 0.22), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(3, 6, 11, 0.72) 68%, #03060b 100%),
    repeating-linear-gradient(90deg, transparent 0 115px, rgba(255, 255, 255, 0.025) 116px 117px);
}

.city-page-topbar {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.city-page-topbar .brand {
  width: auto;
  min-height: 46px;
  color: #fff;
  text-decoration: none;
}

.city-page-topbar .brand span {
  color: #fff;
}

.city-page-nav {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.36);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.city-page-nav a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.city-page-nav a:hover,
.city-page-nav a.is-active {
  background: rgba(139, 92, 246, 0.24);
  color: #fff;
}

.city-page-main {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.city-hero-card,
.city-locations-card {
  border: 1px solid var(--glass-card-border);
  border-radius: 28px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(103%);
  backdrop-filter: blur(18px) saturate(125%) contrast(103%);
}

.city-hero-card {
  height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 3vw, 42px);
}

.city-breadcrumb {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.city-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.city-locations-card .city-breadcrumb {
  margin-bottom: 10px;
}

.city-hero-card .eyebrow {
  margin-bottom: 18px;
}

.city-hero-card h1 {
  margin: 0;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.city-hero-card h1 span,
.city-page-title span {
  color: var(--violet);
}

.city-hero-card p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.45;
}

.city-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.city-metrics article {
  min-height: 100px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.city-metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.city-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.city-locations-card {
  height: calc(100vh - 150px);
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-page-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.city-map-container {
  flex-shrink: 0;
  height: 45%;
  min-height: 200px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.city-map-container > div {
  width: 100%;
  height: 100%;
}

.city-static-map-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 2vw, 28px);
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(246, 196, 83, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(5, 8, 14, 0.62);
}

.city-static-map-note b {
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.city-static-map-note span {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.city-static-map-note a {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.city-location-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.city-location-item {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(37, 99, 235, 0.055)),
    rgba(5, 8, 14, 0.48);
  color: #fff;
}

.city-location-item b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.city-location-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.city-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.city-page-actions .button {
  text-decoration: none;
}

.partnership-page-main {
  max-width: none;
  grid-template-columns: minmax(420px, 0.78fr) minmax(420px, 0.78fr) minmax(560px, 1fr);
}

.partnership-page-main > .city-hero-card {
  max-height: calc(100vh - 150px);
  overflow: hidden;
}

.hero-carousel {
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-carousel .city-page-title {
  flex-shrink: 0;
  margin: 0;
  padding: 14px clamp(14px, 2vw, 28px) 0;
}

.hero-carousel-track {
  display: flex;
  flex: 1;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.carousel-slide img {
  width: 100%;
  height: 45%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.carousel-slide div {
  flex: 1;
  padding: clamp(12px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.carousel-badge {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(139, 92, 246, 0.22);
  color: #c084fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.carousel-badge--green {
  background: rgba(132, 204, 22, 0.16);
  color: #a3e635;
}

.carousel-badge--orange {
  background: rgba(251, 146, 60, 0.16);
  color: #fb923c;
}

.carousel-slide b {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.1;
  margin: 0;
}

.carousel-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.carousel-slide ul {
  margin: 0;
  padding: 0 0 0 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.carousel-slide li {
  position: relative;
  padding-left: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.3;
}

.carousel-slide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.carousel-slide h4 {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-carousel .carousel-btn {
  position: absolute;
  top: 22.5%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(5, 8, 14, 0.54);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-carousel .carousel-btn:hover {
  background: rgba(139, 92, 246, 0.34);
  border-color: rgba(139, 92, 246, 0.5);
}

.hero-carousel-prev { left: 10px; }
.hero-carousel-next { right: 10px; }

.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-carousel-dots .dot.active {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  transform: scale(1.3);
}

.partnership-hero-card h1 span {
  color: var(--violet);
}

.partnership-hero-card h1 {
  font-size: clamp(46px, 5.2vw, 82px);
  overflow-wrap: anywhere;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.partnership-grid article,
.partnership-format-row article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(37, 99, 235, 0.055)),
    rgba(5, 8, 14, 0.48);
}

.partnership-grid article {
  min-height: 126px;
  padding: 18px;
}

.partnership-grid.compact article {
  min-height: 96px;
}

.partnership-grid b,
.partnership-format-row b {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.12;
}

.partnership-grid span,
.partnership-format-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.partnership-content-card {
  max-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.partnership-content-card .partnership-grid {
  overflow: auto;
  flex-shrink: 1;
  min-height: 0;
}

.partnership-subtitle {
  margin-top: 28px;
  flex-shrink: 0;
}

.partnership-format-row {
  max-width: 960px;
  margin: 28px auto 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.partnership-format-row article {
  min-width: 0;
  overflow: hidden;
}

.partnership-format-row img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.partnership-format-row div {
  padding: 18px;
}

.carousel-btn {
  flex-shrink: 0;
  align-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 8, 14, 0.56);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  background: rgba(139, 92, 246, 0.32);
  border-color: rgba(139, 92, 246, 0.55);
  transform: scale(1.08);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.carousel-prev { margin-right: 10px; }
.carousel-next { margin-left: 10px; }

@media (max-width: 920px) {
  .city-page-shell {
    padding: 78px 20px 28px;
  }

  .city-page-topbar {
    top: 12px;
    left: 16px;
    right: 16px;
  }

  .city-page-nav {
    display: none;
  }

  .city-page-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .city-hero-card,
  .city-locations-card {
    min-height: auto;
    border-radius: 22px;
  }

  .city-hero-card {
    padding: 24px;
  }

  .city-hero-card h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .city-hero-card p {
    font-size: 15px;
  }

  .city-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .city-metrics article {
    min-height: 76px;
    padding: 12px;
  }

  .city-metrics b {
    font-size: 24px;
  }

  .city-metrics span {
    font-size: 10px;
  }

  .city-location-grid {
    max-height: none;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .partnership-page-main,
  .partnership-grid {
    grid-template-columns: 1fr;
  }

  .partnership-format-row {
    max-width: 100%;
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .carousel-track {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track article {
    scroll-snap-align: start;
  }

  .carousel-btn {
    display: none;
  }

  .partnership-format-row img {
    height: 126px;
  }

  .carousel-prev,
  .carousel-next {
    margin: 0;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  font-feature-settings: "ss01" 1, "ss02" 1, "cv01" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.96) 0%, rgba(3, 6, 11, 0.58) 47%, rgba(3, 6, 11, 0.78) 100%),
    url("assets/hero-indoor-dooh.webp") center/cover;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 6, 11, 0.4) 68%, rgba(3, 6, 11, 0.96) 100%),
    repeating-linear-gradient(90deg, transparent 0 115px, rgba(255, 255, 255, 0.025) 116px 117px);
  pointer-events: none;
}

.tab-control,
.menu-control,
.city-control {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.app-shell {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr;
}

.home-background-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  filter: brightness(1.12) saturate(1.08) contrast(1.02);
}

#tab-home:checked ~ .app-shell .home-background-video {
  opacity: 1;
}

.section-backgrounds {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-background {
  position: absolute;
  inset: -2%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.025);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#tab-locations:checked ~ .app-shell .section-bg-locations {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.76), rgba(3, 6, 11, 0.31) 48%, rgba(3, 6, 11, 0.42)),
    url("assets/project-media/business-section.webp");
}

#tab-mall:checked ~ .app-shell .section-bg-mall {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.74), rgba(3, 6, 11, 0.28) 48%, rgba(3, 6, 11, 0.4)),
    url("assets/project-media/malls.webp");
}

#tab-business:checked ~ .app-shell .section-bg-business {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.76), rgba(3, 6, 11, 0.3) 48%, rgba(3, 6, 11, 0.43)),
    url("assets/project-media/locations.webp");
}

#tab-map:checked ~ .app-shell .section-bg-map {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.76), rgba(3, 6, 11, 0.36) 46%, rgba(3, 6, 11, 0.5)),
    url("assets/project-media/network-map.webp");
}

#tab-formats:checked ~ .app-shell .section-bg-formats {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.78), rgba(3, 6, 11, 0.3) 48%, rgba(3, 6, 11, 0.44)),
    url("assets/project-media/pylons.webp");
}

#tab-cases:checked ~ .app-shell .section-bg-cases {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.76), rgba(3, 6, 11, 0.3) 48%, rgba(3, 6, 11, 0.44)),
    url("assets/project-media/cases.webp");
}

#tab-agencies:checked ~ .app-shell .section-bg-agencies {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.78), rgba(3, 6, 11, 0.32) 48%, rgba(3, 6, 11, 0.46)),
    url("assets/project-media/agencies.webp");
}

#tab-company:checked ~ .app-shell .section-bg-company {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.8), rgba(3, 6, 11, 0.34) 48%, rgba(3, 6, 11, 0.48)),
    url("assets/project-media/office.webp");
}

.section-bg-contact-nsk,
.section-bg-contact-tomsk,
.section-bg-contact-tyumen,
.section-bg-contact-kemerovo {
  background-position: center;
}

#tab-contact:checked ~ #city-nsk:checked ~ .app-shell .section-bg-contact-nsk {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.84), rgba(3, 6, 11, 0.38) 50%, rgba(3, 6, 11, 0.5)),
    url("assets/project-media/novosibirsk.webp");
}

#tab-contact:checked ~ #city-tomsk:checked ~ .app-shell .section-bg-contact-tomsk {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.84), rgba(3, 6, 11, 0.38) 50%, rgba(3, 6, 11, 0.5)),
    url("assets/project-media/tomsk.webp");
}

#tab-contact:checked ~ #city-tyumen:checked ~ .app-shell .section-bg-contact-tyumen {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.84), rgba(3, 6, 11, 0.38) 50%, rgba(3, 6, 11, 0.5)),
    url("assets/project-media/tyumen.webp");
}

#tab-contact:checked ~ #city-kemerovo:checked ~ .app-shell .section-bg-contact-kemerovo {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 11, 0.84), rgba(3, 6, 11, 0.38) 50%, rgba(3, 6, 11, 0.5)),
    url("assets/project-media/kemerovo.webp");
}

#tab-locations:checked ~ .app-shell .section-bg-locations,
#tab-mall:checked ~ .app-shell .section-bg-mall,
#tab-business:checked ~ .app-shell .section-bg-business,
#tab-map:checked ~ .app-shell .section-bg-map,
#tab-formats:checked ~ .app-shell .section-bg-formats,
#tab-cases:checked ~ .app-shell .section-bg-cases,
#tab-agencies:checked ~ .app-shell .section-bg-agencies,
#tab-company:checked ~ .app-shell .section-bg-company,
#tab-contact:checked ~ #city-nsk:checked ~ .app-shell .section-bg-contact-nsk,
#tab-contact:checked ~ #city-tomsk:checked ~ .app-shell .section-bg-contact-tomsk,
#tab-contact:checked ~ #city-tyumen:checked ~ .app-shell .section-bg-contact-tyumen,
#tab-contact:checked ~ #city-kemerovo:checked ~ .app-shell .section-bg-contact-kemerovo {
  opacity: 1;
  transform: scale(1);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 140;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px 0;
  background: transparent;
  border: 0;
  pointer-events: none;
}

.liquid-nav-main,
.header-city-select {
  position: relative;
  z-index: 1;
  height: 56px;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.liquid-nav-main::before,
.header-city-select::before {
  display: none;
}

.liquid-nav-main::after,
.header-city-select::after {
  display: none;
}

.liquid-nav-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
}

.brand {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.brand img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.brand span {
  letter-spacing: 0;
}

.hamburger {
  display: none;
}

.tabs {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 56px;
  padding: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs label,
.button {
  cursor: pointer;
  user-select: none;
}

.tabs label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  border-radius: 23px;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tabs label:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: scale(1.015);
}

.nav-liquid-selection {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 1;
  width: var(--liquid-width, 0px);
  height: 46px;
  border-radius: 23px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(139, 92, 246, 0.23) 58%, rgba(37, 99, 235, 0.12)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 0 0 0.6px rgba(216, 180, 254, 0.24),
    0 0 24px rgba(139, 92, 246, 0.12);
  transform: translate3d(var(--liquid-x, 0px), 0, 0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition:
    width 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    scale 220ms ease;
}

.tabs.is-liquid-ready .nav-liquid-selection {
  opacity: 1;
}

.tabs.is-liquid-moving .nav-liquid-selection {
  scale: 1.055 0.94;
}

.header-city-select {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  min-height: 56px;
  padding: 0;
}

.header-city-select > * {
  position: relative;
  z-index: 4;
}

.city-dropdown {
  position: relative;
  width: 224px;
}

.city-dropdown-trigger {
  position: relative;
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 23px;
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(139, 92, 246, 0.1)),
    rgba(7, 10, 18, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 0.5px rgba(216, 180, 254, 0.08);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.city-dropdown-caption {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.city-dropdown-value {
  overflow: hidden;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-dropdown-trigger i {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.86);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.86);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms ease;
}

.city-dropdown.is-open .city-dropdown-trigger {
  border-color: rgba(192, 132, 252, 0.48);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.city-dropdown-trigger:focus-visible {
  outline: none;
  border-color: rgba(216, 180, 254, 0.56);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(139, 92, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.city-dropdown.is-open .city-dropdown-trigger i {
  transform: translateY(-25%) rotate(225deg);
}

.city-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 220;
  width: 100%;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 8% 0%, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(37, 99, 235, 0.035)),
    rgba(5, 8, 14, 0.92);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
  -webkit-backdrop-filter: blur(24px) saturate(128%);
  backdrop-filter: blur(24px) saturate(128%);
  transform-origin: top right;
  animation: city-dropdown-in 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.city-dropdown-menu[hidden] {
  display: none;
}

.city-dropdown-menu button {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: 600 13px/1 var(--font-ui);
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, padding-left 180ms ease;
}

.city-dropdown-menu button:hover,
.city-dropdown-menu button:focus-visible {
  padding-left: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.075);
}

.city-dropdown-menu button[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(37, 99, 235, 0.14));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.city-dropdown-menu button[aria-selected="true"]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.85);
}

@keyframes city-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.button {
  min-height: 46px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary {
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 12px 34px rgba(124, 58, 237, 0.36);
}

.button-blue {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.34);
}

.outline,
.dark {
  border: 1px solid rgba(168, 85, 247, 0.75);
  background: rgba(5, 8, 14, 0.52);
}

.stage {
  position: relative;
  z-index: 1;
  grid-row: 1;
  min-height: 0;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: none;
  padding: 110px 64px 36px;
  overflow: hidden;
}

#tab-home:checked ~ .app-shell .panel-home,
#tab-locations:checked ~ .app-shell .panel-locations,
#tab-mall:checked ~ .app-shell .panel-mall,
#tab-business:checked ~ .app-shell .panel-business,
#tab-map:checked ~ .app-shell .panel-map,
#tab-formats:checked ~ .app-shell .panel-formats,
#tab-cases:checked ~ .app-shell .panel-cases,
#tab-agencies:checked ~ .app-shell .panel-agencies,
#tab-company:checked ~ .app-shell .panel-company,
#tab-contact:checked ~ .app-shell .panel-contact {
  display: grid;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#tab-locations:checked ~ .app-shell label[for="tab-locations"],
#tab-mall:checked ~ .app-shell label[for="tab-mall"],
#tab-business:checked ~ .app-shell label[for="tab-business"],
#tab-map:checked ~ .app-shell label[for="tab-map"],
#tab-formats:checked ~ .app-shell label[for="tab-formats"],
#tab-cases:checked ~ .app-shell label[for="tab-cases"],
#tab-agencies:checked ~ .app-shell label[for="tab-agencies"],
#tab-company:checked ~ .app-shell label[for="tab-company"],
#tab-contact:checked ~ .app-shell label[for="tab-contact"] {
  color: #fff;
  border-color: transparent;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .city-dropdown-trigger,
  .city-dropdown-menu {
    background: rgba(12, 16, 26, 0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-background,
  .nav-liquid-selection,
  .tabs label,
  .hamburger span,
  .city-dropdown-trigger,
  .city-dropdown-trigger i,
  .city-dropdown-menu button {
    transition: none;
  }

  .city-dropdown-menu {
    animation: none;
  }
}

.panel-home {
  grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1.1fr);
  grid-template-rows: 1fr auto;
  gap: 30px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.7vw, 76px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy span,
h2 span {
  color: var(--violet);
}

.hero-word-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
  white-space: nowrap;
  isolation: isolate;
}

.hero-copy .hero-word {
  grid-area: 1 / 1;
  position: relative;
  display: inline-block;
  background: linear-gradient(112deg, #c4b5fd 0%, #a78bfa 26%, #8b5cf6 58%, #7c3aed 100%);
  background-size: 180% 100%;
  background-position: 42% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  filter: blur(8px) drop-shadow(0 0 28px rgba(139, 92, 246, 0.24));
  transform: translate3d(0, 0.18em, 0) scale(0.992);
  transform-origin: 50% 62%;
  will-change: opacity, transform, filter;
  animation: hero-word-cycle 18s linear infinite both;
}

.hero-word:nth-child(1) { animation-delay: 0s; }
.hero-word:nth-child(2) { animation-delay: -14.4s; }
.hero-word:nth-child(3) { animation-delay: -10.8s; }
.hero-word:nth-child(4) { animation-delay: -7.2s; }
.hero-word:nth-child(5) { animation-delay: -3.6s; }

@keyframes hero-word-cycle {
  0%,
  12% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 22px rgba(139, 92, 246, 0.18));
    transform: translate3d(0, 0, 0) scale(1);
    letter-spacing: 0;
    background-position: 42% 50%;
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }

  20% {
    opacity: 0;
    filter: blur(7px) drop-shadow(0 0 28px rgba(139, 92, 246, 0.24));
    transform: translate3d(0, -0.18em, 0) scale(0.992);
    letter-spacing: 0.012em;
    background-position: 66% 50%;
  }

  20.01%,
  92% {
    opacity: 0;
    filter: blur(8px) drop-shadow(0 0 28px rgba(139, 92, 246, 0.24));
    transform: translate3d(0, 0.18em, 0) scale(0.992);
    letter-spacing: 0.012em;
    background-position: 66% 50%;
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }

  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 22px rgba(139, 92, 246, 0.18));
    transform: translate3d(0, 0, 0) scale(1);
    letter-spacing: 0;
    background-position: 42% 50%;
  }
}

@keyframes hero-word-cycle-reduced {
  0%,
  12% {
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }

  20%,
  92% {
    opacity: 0;
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-word {
    filter: none;
    transform: none;
    animation-name: hero-word-cycle-reduced;
  }
}

.hero-copy p,
.section-copy p,
.proposal-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.map-card span,
.wide-map .pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 20px var(--violet);
}

.stats-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: visible;
  border: 0;
  background: transparent;
}

.stats-row div {
  min-height: 108px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-row div:last-child {
  border-right: 0;
}

.stats-row b {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.stats-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.section-copy {
  align-self: start;
}

.section-copy.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.business-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.business-copy .button {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.section-copy.inline label {
  color: #d8b4fe;
  cursor: pointer;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c084fc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 2.9vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h3,
p {
  margin-top: 0;
}

.panel-locations,
.panel-mall,
.panel-business,
.panel-formats,
.panel-cases,
.panel-agencies,
.panel-company,
.panel-contact {
  grid-template-rows: auto 1fr;
  gap: 26px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.filter-row button {
  min-height: 38px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 6px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(139, 92, 246, 0.14);
  font-weight: 700;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.1fr);
  gap: 28px;
  min-height: 0;
}

.map-card,
.wide-map {
  position: relative;
  min-height: 0;
  border: 1px solid rgba(139, 92, 246, 0.38);
  background:
    linear-gradient(rgba(6, 10, 18, 0.42), rgba(6, 10, 18, 0.86)),
    url("assets/project-media/network-map.webp") center/cover;
}

.map-card span:nth-child(1) { top: 24%; left: 22%; }
.map-card span:nth-child(2) { top: 36%; left: 46%; }
.map-card span:nth-child(3) { top: 58%; left: 34%; }
.map-card span:nth-child(4) { top: 50%; left: 65%; }
.map-card span:nth-child(5) { top: 70%; left: 76%; }
.map-card span:nth-child(6) { top: 76%; left: 18%; }

.place-cards,
.format-cards,
.case-cards,
.agency-grid,
.company-grid {
  display: grid;
  gap: 20px;
  min-height: 0;
}

.place-cards {
  grid-template-columns: repeat(3, 1fr);
}

.place-cards article,
.format-cards article,
.case-cards article,
.agency-grid article,
.company-grid article,
.form-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.place-cards img,
.case-cards img {
  width: 100%;
  height: 58%;
  min-height: 160px;
  display: block;
  object-fit: cover;
}

.place-cards h3,
.case-cards b {
  display: block;
  margin: 18px 18px 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.place-cards p,
.case-cards p,
.agency-grid span,
.company-grid span {
  margin: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.panel-locations {
  grid-template-rows: auto 1fr;
}

.top-locations-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.08fr);
  gap: 22px;
}

.location-feature {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(139, 92, 246, 0.42);
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.06), rgba(3, 6, 11, 0.9)),
    url("assets/project-media/gallery.webp") center/cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.location-feature::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.location-feature > * {
  position: relative;
}

.location-feature span,
.location-case-grid span {
  display: block;
  margin-bottom: 12px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-feature b {
  max-width: 560px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 56px);
  line-height: 0.98;
}

.location-feature p {
  max-width: 520px;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.48;
}

.location-feature div {
  display: flex;
  align-items: end;
  gap: 12px;
}

.location-feature strong {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.9;
}

.location-feature small {
  color: var(--muted);
  font-weight: 700;
}

.location-case-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.location-case-grid article {
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(37, 99, 235, 0.06)),
    rgba(5, 8, 14, 0.58);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.location-case-grid b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 27px);
  line-height: 1.08;
}

.location-case-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.panel-map {
  grid-template-columns: minmax(330px, 0.42fr) minmax(560px, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
}

.map-topline {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(330px, 0.42fr) minmax(560px, 1fr);
  gap: 26px;
  align-items: end;
}

.map-topline .section-copy h2 {
  margin-bottom: 0;
}

.locations-map-copy {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}

.map-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.map-metrics article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.map-metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.map-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.map-city-cards {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.map-city-cards.is-single {
  grid-template-columns: 1fr;
}

.map-city-card {
  position: relative;
  min-width: 0;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 100% at 8% 0%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(37, 99, 235, 0.055));
}

.map-city-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.26;
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
  transition:
    opacity 360ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.map-city-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.18), rgba(3, 6, 11, 0.66) 42%, rgba(3, 6, 11, 0.96) 100%),
    radial-gradient(100% 90% at 0% 0%, rgba(139, 92, 246, 0.34), transparent 54%);
}

.map-city-card__content {
  position: relative;
  z-index: 1;
}

.map-city-card:hover {
  transform: translateY(-4px);
}

.map-city-card:hover .map-city-card__bg {
  opacity: 1;
  transform: scale(1);
}

.map-city-card--nsk .map-city-card__bg { background-image: url("assets/cities/novosibirsk-bg.webp"); }
.map-city-card--chel .map-city-card__bg { background-image: url("assets/cities/chelyabinsk-bg.webp"); }
.map-city-card--krsk .map-city-card__bg { background-image: url("assets/cities/krasnoyarsk-bg.webp"); }
.map-city-card--tym .map-city-card__bg { background-image: url("assets/cities/tyumen-bg.webp"); }
.map-city-card--tomsk .map-city-card__bg { background-image: url("assets/cities/tomsk-bg.webp"); }

.map-city-card span {
  display: block;
  margin-bottom: 8px;
  color: #c084fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-city-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.map-city-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.map-city-card__stats div {
  min-width: 0;
}

.map-city-card__stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 0.95;
  white-space: nowrap;
}

.map-city-card__stats small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
}

.map-city-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.map-city-card a {
  display: inline-flex;
  margin-top: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.map-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(5, minmax(112px, 0.75fr));
  gap: 9px;
  min-width: 0;
}

.map-filters input,
.map-filters select,
.map-filters button {
  width: 100%;
  min-height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 700 12px/1 var(--font-ui);
  cursor: pointer;
}

.map-filters input {
  cursor: text;
}

.map-filters select {
  appearance: none;
  padding-right: 28px;
  background:
    linear-gradient(45deg, transparent 50%, #fff 50%) calc(100% - 15px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, #fff 50%, transparent 50%) calc(100% - 11px) 52% / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.06);
}

.map-filters option {
  background: #05080e;
  color: #fff;
}

.map-filters button {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(139, 92, 246, 0.14);
}

.map-filters button.is-active {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-color: rgba(255, 255, 255, 0.26);
}

.locations-map-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
}

.map-location-item {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(37, 99, 235, 0.055));
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.map-location-item span,
.map-location-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.map-location-item b {
  display: block;
  margin: 7px 0;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.15;
}

.map-device-legend {
  display: grid;
  gap: 10px;
}

.map-device-legend > strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.map-device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.map-device-item {
  min-width: 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(37, 99, 235, 0.055));
}

.map-device-item span,
.map-device-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-device-item b {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 0.95;
}

.map-device-item small {
  grid-column: 1 / -1;
}

.map-device-item.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-device-item.compact b {
  margin: 0;
  font-size: 21px;
}

.map-empty {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.locations-map-shell {
  min-width: 0;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(139, 92, 246, 0.42);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(37, 99, 235, 0.05)),
    rgba(3, 6, 11, 0.58);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.yandex-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.35), transparent 26%),
    linear-gradient(135deg, rgba(45, 98, 140, 0.4), rgba(3, 6, 11, 0.94));
}

.map-loader,
.yandex-map.is-fallback > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
}

.map-loader b,
.yandex-map.is-fallback b {
  font-family: var(--font-display);
  font-size: 24px;
}

.map-loader span,
.yandex-map.is-fallback span {
  color: var(--muted);
}

.yandex-map.is-ready .map-loader {
  display: none;
}

.panel-mall .segment-layout {
  grid-template-columns: 1fr minmax(150px, 0.5fr) 1fr;
}

.segment-mall-banner {
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
}

.banner-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  gap: 4px;
  scroll-behavior: smooth;
}

.banner-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
}

.banner-gallery::-webkit-scrollbar {
  width: 0;
}

.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.segment-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 1.08fr);
  gap: 24px;
  min-height: 0;
}

.segment-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(139, 92, 246, 0.42);
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.08), rgba(3, 6, 11, 0.88)),
    var(--segment-image) center/cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.segment-mall-hero {
  --segment-image: url("assets/project-media/gallery.webp");
}

.segment-business-hero {
  --segment-image: url("assets/project-media/business-awareness.webp");
}

.segment-hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.segment-hero span {
  position: relative;
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(139, 92, 246, 0.28);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.segment-hero b {
  position: relative;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.08;
}

.segment-hero p {
  position: relative;
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.segment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
}

.segment-cards article {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.segment-cards img {
  width: 100%;
  height: 62%;
  min-height: 210px;
  display: block;
  object-fit: cover;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 18px 0;
}

.card-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 85, 247, 0.38);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(139, 92, 246, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.segment-cards b {
  display: block;
  margin: 16px 20px 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.18;
}

.segment-cards p {
  margin: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.format-select-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.format-select-card .eyebrow {
  margin: 0 0 6px;
}

.format-select-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.1;
}

.format-select-card h3 span {
  color: var(--violet);
}

.format-select-sub {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}

.format-select-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
}

.format-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.format-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.format-step:first-child {
  padding-top: 0;
}

.step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-num--green {
  background: rgba(132, 204, 22, 0.14);
  color: #a3e635;
}

.step-num--orange {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.format-step b {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.format-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.mall-slider {
  --mall-card-content-height: 150px;
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
}

.mall-slider-track {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mall-slider-track::-webkit-scrollbar {
  display: none;
}

.mall-slider-track article {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.mall-slider-track small {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 6, 11, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.mall-slider-arrow {
  position: absolute;
  top: calc((100% - var(--mall-card-content-height)) / 2);
  z-index: 4;
  width: 44px;
  height: 64px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(168, 85, 247, 0.48);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 85, 247, 0.34), transparent 55%),
    rgba(3, 6, 11, 0.76);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.mall-slider-prev {
  left: 12px;
}

.mall-slider-next {
  right: 12px;
}

.mall-slider-arrow:hover {
  border-color: rgba(168, 85, 247, 0.9);
  background: rgba(139, 92, 246, 0.32);
}

.wide-map {
  min-height: 0;
}

.wide-map .pin.trc { top: 30%; left: 18%; }
.wide-map .pin.bc { top: 42%; left: 35%; }
.wide-map .pin.premium { top: 28%; left: 56%; }
.wide-map .pin:nth-child(4) { top: 62%; left: 48%; }
.wide-map .pin:nth-child(5) { top: 72%; left: 74%; }
.wide-map .pin:nth-child(6) { top: 50%; left: 83%; }
.wide-map .pin:nth-child(7) { top: 76%; left: 24%; }

.legend {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  gap: 12px;
}

.legend b {
  padding: 11px 14px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(5, 8, 14, 0.68);
}

.panel-formats .format-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.format-cards {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 920px) {
  .format-cards {
    grid-template-columns: 1fr;
  }
}

.format-cards article {
  position: relative;
  min-height: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.format-cards article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(3, 6, 11, 0) 0%, rgba(3, 6, 11, 0.16) 42%, rgba(3, 6, 11, 0.92) 74%);
  pointer-events: none;
}

.format-image {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  width: 100%;
  height: 64%;
  display: block;
  object-fit: cover;
}

.format-count {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  min-height: 40px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(3, 6, 11, 0.68);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.format-cards span {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.52);
  color: #fff;
  font-size: 22px;
}

.format-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.format-cards h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.format-cards p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  color: #fff;
  line-height: 1.45;
}

.format-trc {
  background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/pylons.webp");
}

.format-bc {
  background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/large-screens.webp");
}

.format-premium {
  background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/unique-media.webp");
}

.format-card-slider {
  position: relative;
  background-image: none;
}

.format-slider-track {
  display: flex;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.format-slider-track .format-image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: static;
}

.format-card-slider .carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 8, 14, 0.5);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 180ms ease;
}

.format-card-slider .carousel-btn:hover {
  background: rgba(139, 92, 246, 0.35);
}

.format-slider-prev { left: 8px; }
.format-slider-next { right: 8px; }

.format-slider-dots {
  position: absolute;
  bottom: 60%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.format-slider-dots .dot {
  width: 6px;
  height: 6px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 180ms ease;
}

.format-slider-dots .dot.active {
  background: #fff;
}

.panel-cases {
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
}

.brand-marquee,
.cases-marquee {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-marquee {
  min-height: 64px;
}

.cases-marquee {
  min-height: 0;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 14px;
  will-change: transform;
  animation: marquee-left 165s linear infinite;
  animation-delay: 2.5s;
}

.case-track {
  gap: 18px;
  animation-duration: 117s;
}

.brand-marquee:hover .marquee-track,
.cases-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.brand-card {
  flex: 0 0 auto;
  min-width: 168px;
  min-height: 56px;
  padding: 12px 20px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-card img {
  width: auto;
  max-width: 138px;
  max-height: 42px;
  display: block;
  object-fit: contain;
  opacity: 0.9;
}

.cases-slogan {
  max-width: 980px;
  margin: -4px auto 2px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  letter-spacing: -0.04em;
}

.cases-effectiveness {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(480px, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--glass-card-border);
  border-radius: 22px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(103%);
  backdrop-filter: blur(18px) saturate(125%) contrast(103%);
}

.cases-effectiveness__head {
  min-width: 0;
}

.cases-effectiveness__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.cases-effectiveness__head h3 span {
  color: var(--violet);
}

.cases-effectiveness__head > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.cases-effectiveness__grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cases-effectiveness__grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.cases-effectiveness__grid b {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.cases-effectiveness__grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.24;
}

.cases-effectiveness__sources {
  display: grid;
  align-content: center;
  gap: 8px;
}

.cases-effectiveness__sources a {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(168, 85, 247, 0.42);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.case-track article {
  flex: 0 0 330px;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.case-track img {
  width: 100%;
  height: 168px;
  display: block;
  object-fit: cover;
}

.case-track b {
  display: block;
  margin: 18px 18px 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.case-track span {
  display: block;
  margin: 0 18px 14px;
  color: #c084fc;
  font-weight: 700;
}

.case-track p {
  margin: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.agency-grid,
.company-grid {
  grid-template-columns: repeat(4, 1fr);
}

.company-board {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
}

.company-board article {
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 14, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.company-board .company-mission {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.24), rgba(5, 8, 14, 0.82)),
    url("assets/project-media/office.webp") center/cover;
}

.company-board span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-board b {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.12;
}

.company-board .company-mission b {
  font-size: clamp(28px, 2.6vw, 46px);
}

.company-board p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.company-board .company-mission p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.agency-grid article,
.company-grid article {
  padding: 28px;
}

.agency-grid b,
.company-grid b {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.12;
}

.agency-grid span,
.company-grid span {
  margin: 0;
}

.agency-num {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 0.8;
  background: linear-gradient(135deg, #c084fc, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.agency-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.agency-features {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agency-features li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.agency-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--violet);
  transform: rotate(45deg);
}

.agency-tagline {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: #c084fc;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.agency-card {
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.agency-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(139, 92, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.panel-contact {
  grid-template-columns: 1fr 1fr 1.5fr;
  grid-template-rows: 1fr;
  gap: 24px;
  align-items: end;
  padding-top: 0;
  transform: translateY(-200px);
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 2.9vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-heading h2 span {
  color: var(--violet);
}

.contact-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-quick-actions .button {
  min-height: 42px;
  padding-inline: 18px;
}

.contact-office-card {
  padding: 26px;
  border: 1px solid var(--glass-card-border);
  border-radius: 18px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.contact-office-card > span {
  display: block;
  margin-bottom: 18px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.contact-info-row.compact {
  gap: 14px;
  min-height: 28px;
  font-size: 13px;
}

.contact-info-row a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.contact-info-row a:hover {
  color: #c084fc;
}

.contact-icon {
  flex-shrink: 0;
  opacity: 0.5;
}

.contact-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.06);
}

.contact-maps-card {
  padding: 26px;
  border: 1px solid var(--glass-card-border);
  border-radius: 18px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.contact-maps-card > span {
  display: block;
  margin-bottom: 16px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-maps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.contact-maps-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-maps-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
}

.maps-icon {
  width: 20px;
  height: 20px;
  opacity: 0.4;
  filter: grayscale(1);
}

.contact-right {
  grid-column: 2 / -1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-main-area {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 16px;
  min-height: 0;
  flex: 1;
}

.contact-cols {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.contact-cols > * {
  flex: 1;
}

.city-card {
  position: relative;
  padding: 29px;
  border: 1px solid var(--glass-card-border);
  border-radius: 18px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.city-card > span {
  display: block;
  margin-bottom: 4px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.city-card > b {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.12;
}

.city-card-illustration {
  position: absolute;
  top: 29px;
  right: 29px;
  width: 80px;
  height: 60px;
  object-fit: contain;
  opacity: 0.15;
}

.city-card-foot {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.city-card-foot span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-card-foot b {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.25;
}

.contact-social-card-new {
  padding: 29px;
  border: 1px solid var(--glass-card-border);
  border-radius: 18px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.contact-social-card-new > span {
  display: block;
  margin-bottom: 16px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-social-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-social-btns a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.contact-social-btns a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
}

.contact-social-btns img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.2);
}

.contact-social-tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.city-switch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.city-switch label {
  min-height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.city-switch label:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

#city-nsk:checked ~ .app-shell .city-switch label[for="city-nsk"],
#city-tomsk:checked ~ .app-shell .city-switch label[for="city-tomsk"],
#city-tyumen:checked ~ .app-shell .city-switch label[for="city-tyumen"],
#city-kemerovo:checked ~ .app-shell .city-switch label[for="city-kemerovo"] {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

#city-nsk:checked ~ .app-shell .city-card-nsk,
#city-tomsk:checked ~ .app-shell .city-card-tomsk,
#city-tyumen:checked ~ .app-shell .city-card-tyumen,
#city-kemerovo:checked ~ .app-shell .city-card-kemerovo {
  display: block;
}

.city-card-nsk,
.city-card-tomsk,
.city-card-tyumen,
.city-card-kemerovo {
  display: none;
}

#city-nsk:checked ~ .app-shell .city-card-nsk { display: block; }
#city-tomsk:checked ~ .app-shell .city-card-tomsk { display: block; }
#city-tyumen:checked ~ .app-shell .city-card-tyumen { display: block; }
#city-kemerovo:checked ~ .app-shell .city-card-kemerovo { display: block; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 36px 34px 26px;
  border: 1px solid var(--glass-card-border);
  border-radius: 18px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  align-content: start;
  height: fit-content;
}

.lead-form-title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form-subtitle {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.6vw, 28px);
  font-weight: 700;
  color: #fff;
}

.lead-form-desc {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

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

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lead-field-wide {
  grid-column: 1 / -1;
}

.lead-field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: 600 13px var(--font-ui);
  transition: border-color 180ms ease;
}

.lead-form input::placeholder,
.lead-form select::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
}

.lead-form textarea {
  grid-column: 1 / -1;
  min-height: 80px;
  resize: vertical;
}

.lead-form-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lead-form-benefits span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.lead-form select {
  appearance: none;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.lead-form .button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.lead-form-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.lead-form-status:empty {
  display: none;
}

.lead-form-status[data-type="success"] {
  color: #86efac;
}

.lead-form-status[data-type="error"] {
  color: #fca5a5;
}

.lead-form-status[data-type="pending"] {
  color: #c4b5fd;
}

.lead-form-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  text-align: center;
}

.lead-form-note::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -1px;
  background: currentColor;
  color: rgba(255, 255, 255, 0.72);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm3 8.73V18h-2v-2.27a2 2 0 1 1 2 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (min-width: 1181px) {
  .panel-contact {
    grid-template-columns: 30.5% 29.5% minmax(0, 40%);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px 22px;
    align-items: start;
    padding: 72px 38px 44px;
    transform: none;
  }

  .contact-left {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: end;
    gap: 16px;
    padding-top: 94px;
  }

  .contact-heading h2 {
    max-width: 430px;
    font-size: clamp(54px, 4.1vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .contact-heading p {
    max-width: 470px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.5;
  }

  .contact-office-card,
  .contact-maps-card,
  .city-card,
  .contact-social-card-new,
  .lead-form {
    border-radius: 18px;
    background:
      radial-gradient(120% 90% at 6% 0%, rgba(255, 255, 255, 0.1), transparent 34%),
      linear-gradient(135deg, rgba(22, 17, 31, 0.78), rgba(8, 10, 18, 0.72));
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .contact-left .contact-office-card {
    min-height: 228px;
    padding: 29px 28px;
  }

  .contact-left .contact-office-card > span,
  .contact-maps-card > span,
  .city-card > span,
  .contact-social-card-new > span,
  .lead-form-title {
    color: #c084fc;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .contact-left .contact-info-row {
    gap: 18px;
    min-height: 34px;
    font-size: 19px;
    font-weight: 700;
  }

  .contact-left .contact-office-card .contact-info-row:first-of-type span {
    max-width: 360px;
    font-size: 21px;
    line-height: 1.28;
  }

  .contact-divider {
    margin: 19px 0;
  }

  .contact-icon {
    opacity: 1;
    stroke: #a855f7;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.35));
  }

  .contact-maps-card {
    min-height: 176px;
    padding: 28px;
  }

  .contact-maps-grid,
  .contact-social-btns {
    gap: 10px;
  }

  .contact-maps-grid a,
  .contact-social-btns a {
    min-height: 82px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .maps-icon,
  .contact-social-btns img {
    width: 30px;
    height: 30px;
    opacity: 1;
    filter: none;
  }

  .contact-right {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    grid-template-rows: 54px minmax(0, 1fr);
    gap: 16px 12px;
  }

  .city-switch {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .city-switch label {
    min-height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    font-size: 14px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 18px 50px rgba(0, 0, 0, 0.18);
  }

  #city-nsk:checked ~ .app-shell .city-switch label[for="city-nsk"],
  #city-tomsk:checked ~ .app-shell .city-switch label[for="city-tomsk"],
  #city-tyumen:checked ~ .app-shell .city-switch label[for="city-tyumen"],
  #city-kemerovo:checked ~ .app-shell .city-switch label[for="city-kemerovo"] {
    background:
      radial-gradient(circle at 26% 0%, rgba(216, 180, 254, 0.3), transparent 42%),
      linear-gradient(135deg, rgba(168, 85, 247, 0.55), rgba(255, 255, 255, 0.08));
  }

  .contact-main-area {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 12px;
  }

  .contact-cols {
    gap: 10px;
  }

  .city-card {
    min-height: 342px;
    padding: 32px 30px;
  }

  .city-card > b {
    margin-bottom: 28px;
    font-size: 25px;
  }

  .city-card-illustration {
    top: 42px;
    right: 30px;
    width: 108px;
    height: 78px;
    opacity: 0.5;
    filter: hue-rotate(235deg) saturate(2.2) brightness(1.2);
  }

  .contact-info-row.compact {
    align-items: flex-start;
    gap: 18px;
    min-height: 52px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.35;
  }

  .contact-info-row.compact em {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.58);
    font-style: normal;
    font-size: 12px;
  }

  .contact-social-card-new {
    min-height: 240px;
    padding: 30px;
  }

  .contact-social-tagline {
    max-width: 380px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
  }

  .lead-form {
    min-height: 592px;
    padding: 31px 30px 25px;
    gap: 14px 12px;
    align-content: start;
  }

  .lead-form-subtitle {
    font-size: 27px;
    letter-spacing: -0.035em;
  }

  .lead-form-desc {
    max-width: 470px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.5;
  }

  .lead-label {
    margin-bottom: 7px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.84);
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    min-height: 42px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 13px;
  }

  .lead-form textarea {
    min-height: 75px;
  }

  .lead-form .button {
    min-height: 50px;
    margin-top: 6px;
    border-radius: 9px;
    box-shadow:
      0 0 34px rgba(139, 92, 246, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .lead-form-note {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
  }
}


/* Unified liquid-glass surfaces */
.map-card,
.wide-map,
.location-feature,
.locations-map-shell,
.segment-hero,
.format-cards article,
.company-board .company-mission {
  border: 1px solid var(--glass-card-border);
  border-radius: 26px;
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(103%);
  backdrop-filter: blur(18px) saturate(125%) contrast(103%);
}

.location-case-grid article,
.place-cards article,
.case-cards article,
.segment-cards article,
.mall-slider-track article,
.map-metrics article,
.map-location-item,
.map-device-item,
.map-empty,
.case-track article,
.agency-grid article,
.company-grid article,
.company-board article:not(.company-mission),
.contact-main,
.contact-links-card,
.city-card,
.map-city-card,
.form-card {
  border: 1px solid var(--glass-card-border);
  border-radius: 20px;
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(103%);
  backdrop-filter: blur(18px) saturate(125%) contrast(103%);
}

.location-case-grid article,
.place-cards article,
.case-cards article,
.segment-cards article,
.mall-slider-track article,
.map-metrics article,
.map-city-card,
.map-location-item,
.map-device-item,
.case-track article,
.agency-grid article,
.company-grid article,
.company-board article,
.format-cards article,
.city-switch label,
.contact-link-grid a,
.button,
.filter-row button,
.mall-slider-arrow {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 320ms ease,
    background-color 240ms ease;
}

.location-case-grid article:hover,
.place-cards article:hover,
.case-cards article:hover,
.segment-cards article:hover,
.mall-slider-track article:hover,
.map-metrics article:hover,
.map-city-card:hover,
.map-location-item:hover,
.map-device-item:hover,
.case-track article:hover,
.agency-grid article:hover,
.company-grid article:hover,
.company-board article:hover,
.format-cards article:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 180, 254, 0.34);
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.07),
    inset -1px -1px 0 rgba(255, 255, 255, 0.03);
}

.stat-counter {
  min-width: 4ch;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 8px 30px rgba(139, 92, 246, 0.16);
}

.location-feature {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.02), rgba(3, 6, 11, 0.88)),
    url("assets/project-media/gallery.webp") center/cover;
}

.location-feature::before,
.segment-hero::before {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.locations-map-shell {
  padding: 10px;
  background: var(--glass-card-bg);
}

.yandex-map {
  border-radius: 18px;
}

.segment-hero {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.03), rgba(3, 6, 11, 0.88)),
    var(--segment-image) center/cover;
}

.mall-slider-track article {
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto auto auto;
  align-content: stretch;
  background: var(--glass-card-bg);
}

.mall-slider-track article > img {
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mall-slider-track article > .card-tags {
  align-self: start;
  margin: 16px 18px 0;
}

.mall-slider-track article > b {
  display: block;
  margin: 14px 20px 7px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.18;
}

.mall-slider-track article > p {
  min-height: 2.9em;
  margin: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.mall-slider-track .mall-demand-card {
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 10%, rgba(168, 85, 247, 0.28), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(34, 197, 94, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(16, 23, 42, 0.96), rgba(3, 6, 11, 0.82));
}

.mall-slider-track .mall-demand-card small {
  position: static;
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
}

.mall-demand-card b {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.mall-demand-card b span {
  display: block;
  background: linear-gradient(120deg, #ffffff 8%, #d8b4fe 48%, #86efac 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mall-slider-track .mall-demand-card p {
  min-height: 0;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.52;
}

.mall-demand-chart {
  width: 100%;
  align-self: end;
  overflow: visible;
}

.mall-demand-chart line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.mall-demand-chart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mall-demand-area {
  fill: rgba(34, 197, 94, 0.14);
  stroke: none;
}

.mall-demand-slow {
  stroke: #38bdf8;
  stroke-width: 3;
}

.mall-demand-fast {
  stroke: #a3e635;
  stroke-width: 4;
  filter: drop-shadow(0 0 12px rgba(163, 230, 53, 0.36));
}

.mall-demand-chart circle {
  fill: #07111f;
  stroke: #a3e635;
  stroke-width: 3;
}

.mall-demand-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mall-demand-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mall-demand-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
}

.mall-demand-legend span:nth-child(2) i {
  background: #a3e635;
}

.mall-slider-track article:hover {
  transform: none;
}

.segment-hero span,
.format-count,
.mall-slider-track small,
.legend b {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(139, 92, 246, 0.15)),
    rgba(3, 6, 11, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.format-cards article {
  overflow: hidden;
}

.format-cards article::after {
  background:
    radial-gradient(120% 80% at 8% 0%, rgba(255, 255, 255, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.02) 0%, rgba(3, 6, 11, 0.16) 42%, rgba(3, 6, 11, 0.9) 74%);
}

.brand-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(139, 92, 246, 0.055)),
    rgba(7, 10, 18, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.contact-main,
.city-card {
  background:
    radial-gradient(120% 110% at 8% 0%, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(37, 99, 235, 0.055)),
    rgba(7, 10, 18, 0.52);
}

.city-switch label,
.filter-row button,
.map-filters input,
.map-filters select,
.map-filters button,
input,
select,
textarea,
.outline,
.dark {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.map-filters select {
  background:
    linear-gradient(45deg, transparent 50%, #fff 50%) calc(100% - 15px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, #fff 50%, transparent 50%) calc(100% - 11px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(139, 92, 246, 0.07)),
    rgba(7, 10, 18, 0.52);
}

.city-switch label:hover,
.filter-row button:hover,
.map-filters button:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 180, 254, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(139, 92, 246, 0.1);
}

.primary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(135deg, #7138de, #9b4def);
  box-shadow:
    0 14px 38px rgba(124, 58, 237, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .location-case-grid article,
  .place-cards article,
  .case-cards article,
  .segment-cards article,
  .mall-slider-track article,
  .map-metrics article,
  .map-city-card,
  .map-location-item,
  .map-device-item,
  .map-empty,
  .locations-map-shell,
  .case-track article,
  .agency-grid article,
  .company-grid article,
  .company-board article:not(.company-mission),
  .contact-main,
  .city-card,
  .form-card {
    background-color: rgba(12, 16, 26, 0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-case-grid article,
  .place-cards article,
  .case-cards article,
  .segment-cards article,
  .mall-slider-track article,
  .map-metrics article,
  .map-location-item,
  .map-device-item,
  .case-track article,
  .agency-grid article,
  .company-grid article,
  .company-board article,
  .format-cards article,
  .city-switch label,
  .button,
  .filter-row button,
  .mall-slider-arrow {
    transition: none;
  }

  .location-case-grid article:hover,
  .place-cards article:hover,
  .case-cards article:hover,
  .segment-cards article:hover,
  .mall-slider-track article:hover,
  .map-metrics article:hover,
  .map-city-card:hover,
  .map-location-item:hover,
  .map-device-item:hover,
  .case-track article:hover,
  .agency-grid article:hover,
  .company-grid article:hover,
  .company-board article:hover,
  .format-cards article:hover,
  .city-switch label:hover,
  .filter-row button:hover,
  .map-filters button:hover,
  .button:hover {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .topbar {
    padding: 10px 12px;
    gap: 8px;
  }

  .liquid-nav-main {
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .brand {
    padding-inline: 12px;
    font-size: 20px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .tabs {
    justify-content: flex-start;
    gap: 0;
  }

  .tabs label {
    padding-inline: 10px;
    font-size: 12px;
  }

  .header-city-select {
    min-height: 56px;
    padding: 0;
  }

  .city-dropdown {
    width: 196px;
  }

  .city-dropdown-value {
    font-size: 11px;
  }

  .panel {
    padding: 30px 28px 24px;
  }

  .panel-home {
    grid-template-columns: 1fr 0.95fr;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 4.4vw, 54px);
  }

  .location-layout,
  .segment-layout,
  .panel-contact {
    grid-template-columns: 1fr;
  }

  .panel-map {
    grid-template-columns: minmax(300px, 0.45fr) minmax(420px, 1fr);
  }

  .map-topline {
    grid-template-columns: minmax(300px, 0.45fr) minmax(420px, 1fr);
  }

  .map-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-filters input {
    grid-column: 1 / -1;
  }

  .top-locations-grid {
    grid-template-columns: 1fr;
  }

  .place-cards,
  .segment-cards,
  .case-cards,
  .agency-grid,
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) {
  .panel-contact {
    grid-template-columns: 31% 29% minmax(0, 40%);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px 22px;
    align-items: start;
    padding: 72px 38px 44px;
    transform: none;
  }

  .contact-left {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: end;
    gap: 16px;
    padding-top: 94px;
  }

  .contact-right {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    grid-template-rows: 54px minmax(0, 1fr);
    gap: 16px 12px;
  }

  .city-switch {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-main-area {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 12px;
  }

  .lead-form {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .contact-cols {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
}

@media (min-width: 761px) {
  .panel-contact {
    grid-template-columns: 31% 29% minmax(0, 40%);
    grid-template-rows: 54px minmax(400px, 40vh) minmax(274px, 27vh);
    row-gap: 16px;
  }

  .contact-left {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    padding-top: clamp(56px, 8vh, 84px);
  }

  .contact-right,
  .contact-main-area {
    display: contents;
  }

  .city-switch {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  .contact-cols {
    grid-column: 2;
    grid-row: 2 / 4;
    display: grid;
    grid-template-rows: minmax(400px, 40vh) minmax(274px, 27vh);
    gap: 10px;
    min-height: 0;
    overflow: hidden;
  }

  .contact-left .contact-office-card {
    min-height: 248px;
    overflow: hidden;
    padding: 34px 32px;
  }

  .contact-cols > * {
    min-height: 0;
  }

  .city-card {
    min-height: 0;
    height: 100%;
  }

  .contact-social-card-new {
    min-height: 0;
    height: 100%;
    max-height: none;
    overflow: hidden;
    padding: 32px 30px 26px;
  }

  .lead-form {
    display: grid !important;
    grid-column: 3;
    grid-row: 2 / 4;
    width: 100%;
    min-height: 0;
    height: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 12px;
    padding: 34px 32px 26px;
    overflow: hidden;
    align-content: space-between;
  }

  .lead-form-title,
  .lead-form-subtitle,
  .lead-form-desc,
  .lead-field-wide,
  .lead-form .button,
  .lead-form-note {
    grid-column: 1 / -1;
  }

  .lead-form .lead-field:not(.lead-field-wide):not(.lead-field-trap) {
    grid-column: auto !important;
  }

  .lead-form textarea {
    min-height: 58px;
  }

  .contact-info-row.compact {
    margin-top: 7px;
  }

  .city-card-foot {
    margin-top: 30px;
  }

  .contact-social-tagline {
    margin-top: 26px;
  }

  .lead-form-benefits span {
    min-height: 36px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-rows: 62px 1fr;
  }

  .topbar {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 7px;
    gap: 5px;
  }

  .liquid-nav-main,
  .header-city-select {
    height: 48px;
    border-radius: 24px;
  }

  .liquid-nav-main {
    display: flex;
    align-items: center;
    overflow: visible;
  }

  .brand {
    height: 48px;
    padding: 0 10px;
    font-size: 20px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .tabs {
    position: absolute;
    top: 55px;
    left: 0;
    right: auto;
    z-index: 120;
    width: calc(100vw - 14px);
    height: auto;
    max-height: calc(100vh - 69px);
    padding: 16px 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow-y: auto;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(139, 92, 246, 0.08)),
      rgba(3, 6, 11, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(115%);
    backdrop-filter: blur(24px) saturate(115%);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .tabs label {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 15px;
  }

  .nav-liquid-selection {
    display: none;
  }

  #tab-locations:checked ~ .app-shell .tabs label[for="tab-locations"],
  #tab-mall:checked ~ .app-shell .tabs label[for="tab-mall"],
  #tab-business:checked ~ .app-shell .tabs label[for="tab-business"],
  #tab-map:checked ~ .app-shell .tabs label[for="tab-map"],
  #tab-formats:checked ~ .app-shell .tabs label[for="tab-formats"],
  #tab-cases:checked ~ .app-shell .tabs label[for="tab-cases"],
  #tab-agencies:checked ~ .app-shell .tabs label[for="tab-agencies"],
  #tab-company:checked ~ .app-shell .tabs label[for="tab-company"],
  #tab-contact:checked ~ .app-shell .tabs label[for="tab-contact"] {
    border-color: rgba(216, 180, 254, 0.34);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(139, 92, 246, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .topbar .button {
    margin-left: auto;
    min-height: 38px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .header-city-select {
    width: 116px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    justify-content: center;
  }

  .city-dropdown {
    width: 116px;
  }

  .city-dropdown-caption {
    display: none;
  }

  .city-dropdown-trigger {
    min-height: 44px;
    padding: 0 32px 0 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-radius: 22px;
  }

  .city-dropdown-value {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .city-dropdown-trigger i {
    right: 14px;
    width: 7px;
    height: 7px;
  }

  .city-dropdown-menu {
    width: 188px;
    border-radius: 16px;
  }

  .hamburger {
    order: 2;
    width: 42px;
    height: 38px;
    margin: 0 5px 0 auto;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(168, 85, 247, 0.65);
    border-radius: 6px;
    background: rgba(5, 8, 14, 0.56);
    cursor: pointer;
    position: relative;
    z-index: 130;
  }

  .hamburger span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .menu-control:checked ~ .app-shell .tabs {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-control:checked ~ .app-shell .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-control:checked ~ .app-shell .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-control:checked ~ .app-shell .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .panel {
    padding: 18px 20px 86px;
    min-width: 0;
  }

  .panel-home,
  .panel-locations,
  .panel-mall,
  .panel-business,
  .panel-map,
  .panel-formats,
  .panel-cases,
  .panel-agencies,
  .panel-company,
  .panel-contact {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
  }

  .panel-home {
    display: flex;
    flex-direction: column;
  }

  .business-copy {
    display: block;
  }

  .business-copy .button {
    width: max-content;
    min-height: 40px;
    margin-top: 10px;
    padding: 11px 16px;
  }

  .panel-business .business-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
  }

  .panel-business .business-copy > div {
    grid-column: 1 / -1;
  }

  .panel-business .business-copy .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .panel-business .segment-cards article {
    overflow: visible;
  }

  .panel-business .format-select-card {
    min-height: 0;
    padding: 18px 28px;
  }

  .panel-business .format-select-card .eyebrow,
  .panel-business .format-select-sub {
    display: none;
  }

  .panel-business .format-select-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .panel-business .format-select-items {
    gap: 8px;
    justify-content: flex-start;
  }

  .panel-business .format-step {
    gap: 10px;
    padding: 0 0 8px;
  }

  .panel-business .format-step b {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .panel-business .format-step span:not(.step-num) {
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panel-home > * {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1;
    margin-bottom: 12px;
  }

  .hero-copy p,
  .section-copy p,
  .proposal-copy p {
    font-size: 15px;
    line-height: 1.42;
    max-width: 100%;
  }

  .actions {
    margin-top: 14px;
    gap: 10px;
  }

  .button {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .stats-row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    flex: 0 0 auto;
    width: 100vw;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    z-index: 30;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .stats-row div {
    min-width: 0;
    min-height: 68px;
    padding: 12px 8px;
  }

  .stats-row b {
    font-size: 22px;
  }

  .stats-row span {
    font-size: 9px;
    line-height: 1.25;
  }

  h2 {
    font-size: 28px;
  }

  .location-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .panel-locations {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .panel-map {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .map-topline {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .locations-map-copy {
    gap: 10px;
  }

  .map-city-cards {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .map-city-cards.is-single {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-city-card {
    flex: 0 0 88%;
    padding: 12px;
  }

  .map-city-cards.is-single .map-city-card {
    flex-basis: auto;
  }

  .map-city-card b {
    font-size: 18px;
  }

  .map-city-card__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
  }

  .map-city-card__stats strong {
    font-size: 17px;
  }

  .map-city-card p {
    display: none;
  }

  .panel-map .section-copy p {
    display: none;
  }

  .top-locations-grid,
  .location-case-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .location-feature {
    min-height: 220px;
    padding: 22px;
  }

  .location-feature::before {
    inset: 12px;
  }

  .location-feature b {
    font-size: 28px;
  }

  .location-feature p {
    margin: 10px 0 14px;
    font-size: 12px;
    line-height: 1.35;
  }

  .location-feature strong {
    font-size: 30px;
  }

  .location-case-grid article {
    padding: 14px 15px;
  }

  .location-case-grid article:nth-child(n+4) {
    display: none;
  }

  .location-case-grid b {
    font-size: 17px;
  }

  .location-case-grid p {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .map-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .map-metrics article {
    padding: 10px 8px;
  }

  .map-metrics b {
    font-size: 19px;
  }

  .map-metrics span {
    margin-top: 5px;
    font-size: 9px;
  }

  .map-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .map-filters input {
    min-height: 34px;
  }

  .map-filters select,
  .map-filters button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .locations-map-list {
    display: none;
  }

  .locations-map-shell {
    padding: 6px;
  }

  .yandex-map {
    min-height: 260px;
  }

  .segment-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-card,
  .wide-map {
    min-height: 170px;
  }

  .segment-hero {
    min-height: 176px;
    padding: 22px;
  }

  .segment-hero::before {
    inset: 12px;
  }

  .segment-hero span {
    margin-bottom: 10px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .segment-hero b {
    font-size: 20px;
  }

  .segment-hero p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .place-cards,
  .segment-cards,
  .format-cards,
  .case-cards,
  .agency-grid,
  .company-grid,
  .company-board,
  .contact-links,
  .contact-side,
  .lead-form {
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: hidden;
  }

  .panel-contact {
    grid-template-rows: auto 1fr;
    gap: 10px;
  }

  .contact-right {
    grid-column: auto;
    width: 100%;
    gap: 10px;
  }

  .contact-main-area {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-cols {
    gap: 10px;
  }

  .panel-contact .lead-form {
    display: grid;
    padding: 18px 16px;
  }

  .panel-contact .proposal-copy h2 {
    margin-bottom: 10px;
    font-size: 31px;
    line-height: 1.05;
  }

  .panel-contact .proposal-copy p {
    font-size: 14px;
  }

  .contact-main {
    margin-top: 10px;
    padding: 12px 15px;
  }

  .contact-main strong,
  .city-card b {
    font-size: 16px;
  }

  .contact-main a,
  .city-card a {
    margin: 8px 10px 0 0;
    font-size: 12px;
  }

  .contact-side {
    grid-template-rows: auto auto;
  }

  .city-switch {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .city-switch label {
    min-height: 34px;
    font-size: 12px;
  }

  .city-card {
    padding: 13px 14px;
  }

  .city-card p {
    margin-top: 6px;
    font-size: 12px;
  }

  .contact-side .city-cards {
    display: none;
  }

  .contact-links {
    gap: 8px;
  }

  .contact-links-card {
    padding: 12px;
  }

  .contact-links-card span {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .contact-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .contact-link-grid a {
    min-height: 32px;
    padding: 6px;
    font-size: 10px;
  }

  .place-cards article:nth-child(n+3) {
    display: none;
  }

  .place-cards img,
  .segment-cards img {
    height: 88px;
    min-height: 88px;
  }

  .mall-slider-track article > img {
    height: 100%;
    min-height: 0;
  }

  .mall-slider-track {
    gap: 10px;
  }

  .mall-slider-track article {
    flex-basis: 224px;
    height: auto;
    align-self: start;
    grid-template-rows: 118px auto auto auto;
  }

  .mall-slider-track .mall-demand-card {
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 14px;
  }

  .mall-slider-track small {
    top: 8px;
    right: 8px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .mall-slider-track .mall-demand-card small {
    position: static;
    margin-bottom: 10px;
  }

  .mall-demand-card b {
    font-size: 27px;
  }

  .mall-slider-track .mall-demand-card p {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.36;
  }

  .mall-demand-chart {
    max-height: 86px;
  }

  .mall-demand-legend {
    gap: 8px;
    font-size: 8px;
  }

  .mall-slider-arrow {
    top: 59px;
    width: 34px;
    height: 50px;
    font-size: 28px;
  }

  .mall-slider-prev {
    left: 8px;
  }

  .mall-slider-next {
    right: 8px;
  }

  .brand-marquee {
    min-height: 48px;
  }

  .brand-card {
    min-width: 118px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .brand-card img {
    max-width: 94px;
    max-height: 28px;
  }

  .cases-slogan {
    max-width: 320px;
    margin: -2px auto 0;
    font-size: 20px;
    line-height: 1.08;
  }

  .cases-effectiveness {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
    border-radius: 18px;
  }

  .cases-effectiveness__head h3 {
    font-size: 23px;
  }

  .cases-effectiveness__head > p:last-child {
    font-size: 11px;
  }

  .cases-effectiveness__grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cases-effectiveness__grid article {
    flex: 0 0 156px;
    padding: 10px;
  }

  .cases-effectiveness__grid b {
    font-size: 25px;
  }

  .cases-effectiveness__grid span {
    font-size: 10px;
  }

  .cases-effectiveness__sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-effectiveness__sources a {
    min-height: 30px;
    padding: 7px;
    font-size: 9px;
  }

  .case-track article {
    flex-basis: 238px;
    min-height: 244px;
  }

  .case-track img {
    height: 128px;
  }

  .case-track b {
    margin: 12px 14px 6px;
    font-size: 16px;
  }

  .case-track span {
    margin: 0 14px 8px;
    font-size: 12px;
  }

  .case-track p {
    margin: 0 14px 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .segment-cards b {
    margin: 12px 14px 6px;
    font-size: 14px;
  }

  .mall-slider-track article > b {
    margin: 12px 14px 6px;
    font-size: 14px;
  }

  .mall-slider-track article > p {
    min-height: 3.8em;
    margin: 0 14px 12px;
    font-size: 11px;
  }

  .mall-slider-track article > .card-tags {
    margin: 9px 12px 0;
  }

  .segment-cards p {
    margin: 0 14px 12px;
    font-size: 11px;
  }

  .card-tags {
    gap: 5px;
    margin: 9px 12px 0;
  }

  .card-tags span {
    min-height: 22px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .format-cards article,
  .agency-grid article,
  .company-grid article,
  .form-card {
    padding: 16px;
  }

  .agency-grid article:nth-child(n+3),
  .company-grid article:nth-child(n+3),
  .company-board article:nth-child(n+4) {
    display: none;
  }

  .company-board {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .company-board .company-mission {
    grid-row: auto;
  }

  .company-board article {
    padding: 13px 15px;
  }

  .company-board b,
  .company-board .company-mission b {
    margin-bottom: 6px;
    font-size: 17px;
  }

  .company-board p,
  .company-board .company-mission p {
    font-size: 11px;
    line-height: 1.3;
  }

  .company-board span {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .company-board article:not(.company-mission) p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .proposal-copy ul {
    display: none;
  }

  .form-card:nth-child(2) {
    display: none;
  }
}

.button-blue {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow:
    0 14px 38px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@media (max-width: 760px) {
  .panel-business .business-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
  }

  .panel-business .business-copy > div {
    grid-column: 1 / -1;
  }

  .panel-business .business-copy .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .panel-business .segment-cards {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(92px, 0.9fr) auto;
    gap: 10px;
  }

  .panel-business .segment-cards article:first-child {
    min-height: 92px;
  }

  .panel-business .segment-cards article:first-child img {
    height: 100%;
    min-height: 0;
  }

  .panel-business .segment-cards article:first-child .card-tags,
  .panel-business .segment-cards article:first-child b,
  .panel-business .segment-cards article:first-child p {
    display: none;
  }

  .panel-business .format-select-card {
    min-height: 0;
    padding: 14px 16px;
    overflow: hidden;
  }

  .panel-business .format-select-card .eyebrow,
  .panel-business .format-select-sub {
    display: none;
  }

  .panel-business .format-select-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .panel-business .format-select-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .panel-business .format-step {
    display: block;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }

  .panel-business .step-num {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
    border-radius: 7px;
    font-size: 11px;
  }

  .panel-business .format-step b {
    margin: 0;
    font-size: 11px;
    line-height: 1.16;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panel-business .format-step span:not(.step-num) {
    display: none;
  }
}

@media (max-width: 380px) {
  .panel-business .segment-cards {
    grid-template-rows: 0 auto;
  }

  .panel-business .segment-cards article:first-child {
    display: none;
  }

  .panel-business .format-select-card {
    padding: 13px 15px;
  }

  .panel-business .format-select-card h3 {
    font-size: 18px;
  }

  .panel-business .format-select-items {
    display: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  body {
    overscroll-behavior-y: contain;
  }

  .app-shell {
    min-height: 100svh;
    height: auto;
    grid-template-rows: 62px auto;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 150;
  }

  .stage {
    min-height: calc(100svh - 62px);
    overflow: visible;
  }

  .panel {
    position: absolute;
    inset: 0;
    min-height: calc(100svh - 62px);
    height: auto;
    overflow: visible;
    pointer-events: none;
  }

  #tab-home:checked ~ .app-shell .panel-home,
  #tab-locations:checked ~ .app-shell .panel-locations,
  #tab-mall:checked ~ .app-shell .panel-mall,
  #tab-business:checked ~ .app-shell .panel-business,
  #tab-map:checked ~ .app-shell .panel-map,
  #tab-formats:checked ~ .app-shell .panel-formats,
  #tab-cases:checked ~ .app-shell .panel-cases,
  #tab-agencies:checked ~ .app-shell .panel-agencies,
  #tab-company:checked ~ .app-shell .panel-company,
  #tab-contact:checked ~ .app-shell .panel-contact {
    position: relative;
    pointer-events: auto;
  }

  .tabs {
    max-height: calc(100svh - 76px);
  }

  .panel-map {
    min-height: max(980px, calc(100svh - 62px));
  }

  .panel-contact {
    min-height: max(980px, calc(100svh - 62px));
  }

  .panel-formats,
  .panel-cases,
  .panel-company {
    min-height: max(880px, calc(100svh - 62px));
  }

  .panel-formats .format-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }

  .panel-formats .format-card-slider {
    min-height: 420px;
    overflow: hidden;
  }

  .panel-formats .format-slider-track {
    width: 100%;
  }

  .panel-formats .format-slider-track .format-image {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 760px) {
  .stage {
    display: block !important;
    min-height: calc(100svh - 62px);
    overflow: visible !important;
  }

  .panel {
    display: none !important;
    position: static !important;
    inset: auto !important;
    width: 100%;
    min-height: calc(100svh - 62px);
    height: auto !important;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    overflow: visible !important;
    pointer-events: none;
  }

  #tab-home:checked ~ .app-shell .panel-home,
  #tab-locations:checked ~ .app-shell .panel-locations,
  #tab-mall:checked ~ .app-shell .panel-mall,
  #tab-business:checked ~ .app-shell .panel-business,
  #tab-map:checked ~ .app-shell .panel-map,
  #tab-formats:checked ~ .app-shell .panel-formats,
  #tab-cases:checked ~ .app-shell .panel-cases,
  #tab-agencies:checked ~ .app-shell .panel-agencies,
  #tab-company:checked ~ .app-shell .panel-company,
  #tab-contact:checked ~ .app-shell .panel-contact {
    display: grid !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #tab-home:checked ~ .app-shell .panel-home {
    display: flex !important;
  }

  .panel-map,
  .panel-contact,
  .panel-formats,
  .panel-cases,
  .panel-company {
    min-height: auto;
  }

  #tab-map:checked ~ .app-shell .panel-map,
  #tab-contact:checked ~ .app-shell .panel-contact {
    min-height: 980px;
  }

  #tab-formats:checked ~ .app-shell .panel-formats,
  #tab-cases:checked ~ .app-shell .panel-cases,
  #tab-company:checked ~ .app-shell .panel-company {
    min-height: 880px;
  }

  #tab-mall:checked ~ .app-shell .panel-mall {
    min-height: 1180px;
  }

  .panel-mall .segment-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px !important;
    min-height: 0 !important;
  }

  .panel-mall .segment-mall-banner {
    display: none !important;
  }

  .panel-mall .segment-mall-hero {
    min-height: 250px;
    padding: 24px;
  }

  .panel-mall .mall-slider {
    width: 100%;
    min-height: 390px;
    height: 390px;
    overflow: hidden !important;
    border-radius: 24px;
  }

  .panel-mall .mall-slider-track {
    height: 100% !important;
    display: flex !important;
    gap: 12px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
  }

  .panel-mall .mall-slider-track article {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
    grid-template-rows: 165px auto auto auto !important;
  }

  .panel-mall .mall-slider-track article > img {
    width: 100%;
    height: 165px !important;
    min-height: 0 !important;
    object-fit: cover;
  }

  .panel-mall .mall-slider-arrow {
    top: 82px;
  }

  .panel-map #map-city-filter,
  .panel-map #map-status-filter,
  .panel-map #map-heat-toggle {
    display: none !important;
  }

  .panel-map .map-filters {
    grid-template-columns: 1fr 1fr;
  }

  .panel-map .map-filters input {
    grid-column: 1 / -1;
  }

  .panel-map .map-city-card {
    min-height: 218px;
    padding: 18px;
  }

  .panel-map .map-city-card p {
    display: block;
    margin-top: 12px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panel-map .map-city-cards {
    gap: 0;
    overflow: hidden !important;
    touch-action: pan-y;
    scroll-behavior: smooth;
  }

  .panel-map .map-city-cards.is-single {
    display: flex;
  }

  .panel-map .map-city-card {
    flex: 0 0 100%;
    width: 100%;
    margin-right: 0;
  }

  #tab-cases:checked ~ .app-shell .panel-cases {
    min-height: 1320px;
    gap: 24px;
    padding-bottom: 120px;
  }

  .panel-cases .section-copy.inline {
    display: block;
  }

  .panel-cases .section-copy.inline label {
    display: inline-flex;
    margin-top: 14px;
  }

  .panel-cases .brand-marquee {
    min-height: 86px;
    margin: 8px 0 4px;
  }

  .panel-cases .brand-card {
    min-width: 188px;
    min-height: 70px;
    padding: 16px 24px;
  }

  .panel-cases .cases-slogan {
    max-width: 350px;
    margin: 8px auto 6px;
    font-size: 25px;
    line-height: 1.12;
  }

  .panel-cases .cases-effectiveness {
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
  }

  .panel-cases .cases-effectiveness__grid {
    gap: 12px;
  }

  .panel-cases .cases-effectiveness__grid article {
    flex: 0 0 190px;
    padding: 16px;
    border-radius: 18px;
  }

  .panel-cases .cases-marquee {
    min-height: 360px;
    margin-top: 8px;
  }

  .panel-cases .case-track {
    gap: 24px;
  }

  .panel-cases .case-track article {
    flex-basis: 292px;
    min-height: 336px;
    border-radius: 24px;
  }

  .panel-cases .case-track img {
    height: 172px;
  }

  .panel-cases .case-track b {
    margin: 18px 20px 8px;
    font-size: 20px;
  }

  .panel-cases .case-track span {
    margin: 0 20px 10px;
    font-size: 13px;
  }

  .panel-cases .case-track p {
    margin: 0 20px 20px;
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 760px) {
  .panel {
    gap: 24px !important;
    padding: 24px 20px 118px !important;
  }

  .section-copy,
  .section-copy.inline,
  .business-copy,
  .locations-map-copy,
  .contact-left,
  .contact-right,
  .contact-main-area,
  .contact-cols {
    gap: 18px !important;
  }

  .section-copy p,
  .business-copy p,
  .hero-copy p,
  .segment-hero p,
  .location-feature p,
  .location-case-grid p,
  .agency-grid p,
  .agency-tagline,
  .company-board p,
  .contact-heading p,
  .lead-form-desc,
  .lead-form-note {
    line-height: 1.55 !important;
  }

  .actions,
  .business-actions,
  .city-switch,
  .lead-form-benefits,
  .contact-social-btns,
  .contact-maps-grid {
    gap: 12px !important;
  }

  .button,
  .filter-row button,
  .map-filters button,
  .map-filters select,
  .map-filters input {
    min-height: 44px !important;
  }

  #tab-locations:checked ~ .app-shell .panel-locations {
    min-height: 1280px;
  }

  .panel-locations .top-locations-grid,
  .panel-locations .location-case-grid {
    gap: 18px !important;
  }

  .panel-locations .location-feature {
    min-height: 340px;
    padding: 28px;
    border-radius: 28px;
  }

  .panel-locations .location-case-grid article {
    display: block !important;
    min-height: 190px;
    padding: 22px;
    border-radius: 24px;
  }

  .panel-locations .location-case-grid b {
    margin-top: 10px;
    font-size: 20px;
  }

  .panel-locations .location-case-grid p {
    margin-top: 10px;
    font-size: 14px;
  }

  #tab-mall:checked ~ .app-shell .panel-mall {
    min-height: 1280px;
  }

  .panel-mall .segment-layout,
  .panel-business .segment-layout {
    gap: 18px !important;
  }

  .panel-mall .segment-mall-hero,
  .panel-business .segment-business-hero {
    min-height: 310px;
    padding: 28px;
    border-radius: 28px;
  }

  .panel-mall .mall-slider {
    height: 440px;
    min-height: 440px;
  }

  .panel-mall .mall-slider-track article {
    grid-template-rows: 190px auto auto auto !important;
    border-radius: 26px;
  }

  .panel-mall .mall-slider-track article > img {
    height: 190px !important;
  }

  .panel-mall .mall-slider-arrow {
    top: 96px;
  }

  #tab-business:checked ~ .app-shell .panel-business {
    min-height: 1060px;
  }

  .panel-business .segment-cards {
    gap: 16px !important;
  }

  .panel-business .segment-cards article {
    min-height: 150px;
    border-radius: 26px;
  }

  .panel-business .format-select-card {
    min-height: 178px;
    padding: 22px;
  }

  #tab-map:checked ~ .app-shell .panel-map {
    min-height: 1120px;
  }

  .panel-map .map-metrics {
    gap: 12px;
  }

  .panel-map .map-metrics article {
    min-height: 72px;
    padding: 14px;
    border-radius: 18px;
  }

  .panel-map .map-city-card {
    min-height: 245px;
    padding: 22px;
    border-radius: 28px;
  }

  #tab-formats:checked ~ .app-shell .panel-formats {
    min-height: 1660px;
  }

  .panel-formats .format-cards {
    gap: 22px;
  }

  .panel-formats .format-card-slider {
    min-height: 460px;
    border-radius: 28px;
  }

  .panel-formats .format-cards h3 {
    font-size: 27px;
  }

  .panel-formats .format-cards p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.48;
  }

  #tab-agencies:checked ~ .app-shell .panel-agencies {
    min-height: 1780px;
  }

  .panel-agencies .agency-grid {
    gap: 18px !important;
  }

  .panel-agencies .agency-grid article {
    display: block !important;
    min-height: 320px;
    padding: 24px;
    border-radius: 26px;
  }

  .panel-agencies .agency-grid b {
    font-size: 22px;
    line-height: 1.15;
  }

  .panel-agencies .agency-features {
    margin-top: 16px;
    gap: 8px;
  }

  #tab-company:checked ~ .app-shell .panel-company {
    min-height: 1720px;
  }

  .panel-company .company-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px !important;
    grid-template-rows: none !important;
  }

  .panel-company .company-board article {
    display: block !important;
    min-height: 190px;
    padding: 24px;
    border-radius: 26px;
  }

  .panel-company .company-board .company-mission {
    min-height: 250px;
  }

  .panel-company .company-board b,
  .panel-company .company-board .company-mission b {
    font-size: 22px;
    line-height: 1.16;
  }

  .panel-company .company-board p,
  .panel-company .company-board .company-mission p,
  .panel-company .company-board article:not(.company-mission) p {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  #tab-contact:checked ~ .app-shell .panel-contact {
    min-height: 2580px;
  }

  .panel-contact .contact-office-card,
  .panel-contact .contact-maps-card,
  .panel-contact .city-card,
  .panel-contact .contact-social-card-new,
  .panel-contact .lead-form {
    padding: 24px;
    border-radius: 26px;
  }

  .panel-contact .city-card {
    min-height: 220px;
  }

  .panel-contact .city-card > b {
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.12;
  }

  .panel-contact .city-card p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
  }

  .panel-contact .contact-office-card,
  .panel-contact .contact-maps-card {
    margin-bottom: 18px;
  }

  .panel-contact .city-switch label {
    min-height: 48px;
  }

  .panel-contact .lead-form {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .home-background-video {
    display: none;
  }

  .panel-home {
    background:
      linear-gradient(90deg, rgba(3, 6, 11, 0.98), rgba(3, 6, 11, 0.58) 54%, rgba(3, 6, 11, 0.9)),
      url("assets/hero-indoor-dooh-mobile.webp") center/cover;
  }

  .section-bg-business {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/business-section-mobile.webp");
  }

  .section-bg-mall {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/malls-mobile.webp");
  }

  .section-bg-locations {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/locations-mobile.webp");
  }

  .section-bg-map {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/network-map-mobile.webp");
  }

  .section-bg-formats {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/pylons-mobile.webp");
  }

  .section-bg-cases {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/cases-mobile.webp");
  }

  .section-bg-agencies {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/agencies-mobile.webp");
  }

  .section-bg-company {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.5) 48%, rgba(3, 6, 11, 0.88)),
      url("assets/project-media/office-mobile.webp");
  }

  .section-bg-contact-nsk {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.88), rgba(3, 6, 11, 0.44), rgba(3, 6, 11, 0.9)),
      url("assets/project-media/novosibirsk-mobile.webp");
  }

  .section-bg-contact-tomsk {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.88), rgba(3, 6, 11, 0.44), rgba(3, 6, 11, 0.9)),
      url("assets/project-media/tomsk-mobile.webp");
  }

  .section-bg-contact-tyumen {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.88), rgba(3, 6, 11, 0.44), rgba(3, 6, 11, 0.9)),
      url("assets/project-media/tyumen-mobile.webp");
  }

  .section-bg-contact-kemerovo {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 11, 0.88), rgba(3, 6, 11, 0.44), rgba(3, 6, 11, 0.9)),
      url("assets/project-media/kemerovo-mobile.webp");
  }

  .network-preview {
    background:
      linear-gradient(rgba(5, 8, 14, 0.16), rgba(5, 8, 14, 0.88)),
      url("assets/project-media/network-map-mobile.webp") center/cover;
  }

  .location-feature {
    background:
      linear-gradient(rgba(5, 8, 14, 0.08), rgba(5, 8, 14, 0.84)),
      url("assets/project-media/gallery-mobile.webp") center/cover;
  }

  .segment-mall-hero {
    --segment-image: url("assets/project-media/gallery-mobile.webp");
  }

  .segment-business-hero {
    --segment-image: url("assets/project-media/business-awareness-mobile.webp");
  }

  .format-trc {
    background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/pylons-mobile.webp");
  }

  .format-bc {
    background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/large-screens-mobile.webp");
  }

  .format-premium {
    background-image: linear-gradient(rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.86)), url("assets/project-media/unique-media-mobile.webp");
  }

  .contact-hero-card,
  .city-card {
    background-image:
      linear-gradient(135deg, rgba(20, 15, 28, 0.84), rgba(7, 10, 18, 0.68)),
      url("assets/project-media/novosibirsk-mobile.webp");
  }

  .map-city-card--nsk .map-city-card__bg { background-image: url("assets/cities/novosibirsk-bg-mobile.webp"); }
  .map-city-card--chel .map-city-card__bg { background-image: url("assets/cities/chelyabinsk-bg-mobile.webp"); }
  .map-city-card--krsk .map-city-card__bg { background-image: url("assets/cities/krasnoyarsk-bg-mobile.webp"); }
  .map-city-card--tym .map-city-card__bg { background-image: url("assets/cities/tyumen-bg-mobile.webp"); }
  .map-city-card--tomsk .map-city-card__bg { background-image: url("assets/cities/tomsk-bg-mobile.webp"); }
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  .home-background-video {
    display: none;
  }
}

@media (min-width: 761px) {
  #tab-contact:checked ~ .app-shell .panel-contact {
    transform: none;
  }

  #tab-contact:checked ~ .app-shell .panel-contact > .contact-left,
  #tab-contact:checked ~ .app-shell .panel-contact .city-switch,
  #tab-contact:checked ~ .app-shell .panel-contact .contact-cols,
  #tab-contact:checked ~ .app-shell .panel-contact .lead-form {
    transform: translateY(150px);
  }
}

@media (max-width: 760px) {
  #tab-contact:checked ~ .app-shell .panel-contact {
    display: flex !important;
    flex-direction: column;
    min-height: 1500px;
  }

  .panel-contact .contact-left,
  .panel-contact .contact-right,
  .panel-contact .contact-main-area {
    display: contents;
  }

  .panel-contact .contact-heading {
    order: 1;
  }

  .panel-contact .lead-form {
    order: 2;
    margin-top: 0;
  }

  .panel-contact .contact-office-card {
    order: 3;
  }

  .panel-contact .contact-maps-card {
    order: 4;
  }

  .panel-contact .city-switch {
    order: 5;
  }

  .panel-contact .contact-cols {
    order: 6;
  }

  .panel-contact .contact-social-card-new {
    order: 7;
  }

  .contact-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .contact-quick-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .contact-maps-grid,
  .contact-social-btns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-maps-grid a,
  .contact-social-btns a {
    min-height: 58px;
    font-size: 11px;
  }

  #tab-map:checked ~ .app-shell .panel-map {
    min-height: 960px;
  }

  .panel-map .section-copy.inline {
    gap: 12px;
  }

  .panel-map .map-filters {
    gap: 8px;
  }

  .panel-map .map-metrics {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .panel-map .map-metrics article {
    flex: 0 0 31%;
    min-width: 104px;
    min-height: 58px;
    scroll-snap-align: start;
  }

  .panel-map .map-city-card {
    min-height: 190px;
  }

  .panel-map .map-city-card p {
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  #tab-agencies:checked ~ .app-shell .panel-agencies,
  #tab-company:checked ~ .app-shell .panel-company {
    min-height: 1180px;
  }

  .panel-agencies .agency-grid,
  .panel-company .company-board {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .panel-agencies .agency-grid article,
  .panel-company .company-board article {
    flex: 0 0 86%;
    min-height: 360px;
    scroll-snap-align: start;
  }

  .panel-company .company-board .company-mission {
    min-height: 360px;
  }
}
