﻿:root {
  --red: #e10600;
  --red-dark: #b30500;
  --red-soft: #fff1f0;
  --ink: #101820;
  --ink-2: #2e334d;
  --muted: #6b7280;
  --line: #eceef2;
  --line-strong: #d7dae1;
  --paper: #ffffff;
  --mist: #f7f8fa;
  --night: #101820;
  --night-2: #2e334d;
  --accent-2: #403a60;
  --gold: #c7902f;
  --sage: #2f7d67;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(18, 22, 34, 0.06);
  --shadow: 0 18px 44px rgba(18, 22, 34, 0.10);
  --shadow-lg: 0 30px 70px rgba(18, 22, 34, 0.16);

  --wrap: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(225, 6, 0, 0.18);
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--muted);
}

.site-error {
  text-align: center;
}

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

/* ---------------------------------------------------------------- header */

.topbar {
  width: var(--wrap);
  min-height: 74px;
  position: fixed;
  z-index: 50;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: none;
  border-radius: 999px;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 8px 30px rgba(16, 24, 32, 0.08);
  transition: top 240ms var(--ease), background 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 20%,
    rgba(20, 22, 31, 0.04) 40%, rgba(20, 22, 31, 0.04) 60%,
    rgba(20, 22, 31, 0.08) 80%, rgba(20, 22, 31, 0.12) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.topbar > * {
  position: relative;
  z-index: 2;
}

.topbar.is-scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75), 0 12px 36px rgba(16, 24, 32, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-right: 12px;
  line-height: 0;
}

.topbar .brand {
  min-height: 44px;
}

.brand-logo {
  display: block;
  width: clamp(172px, 15vw, 198px);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.brand-light .brand-logo {
  width: 158px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 160ms var(--ease);
}

.icon-button:hover {
  background: rgba(20, 22, 31, 0.06);
}

.icon-button.menu-toggle {
  display: none;
  flex: 0 0 44px;
  min-width: 44px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  font-size: 13.5px;
  font-weight: 600;
}

.topbar-actions {
  margin-left: auto;
}

.topbar-hours {
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(20, 22, 31, 0.05);
}

.nav a.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.topbar-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.topbar-actions a:hover {
  color: var(--ink);
  background: rgba(20, 22, 31, 0.05);
}

.topbar-actions .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.round-action {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  justify-content: center;
  color: #fff !important;
  background: var(--red) !important;
}

.round-action:hover {
  background: var(--red-dark) !important;
}

.round-action .icon {
  color: #fff;
}

.round-action[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 4;
  padding: 7px 10px;
  color: #fff;
  background: var(--night);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.round-action[data-tooltip]:hover::after,
.round-action[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

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

.hero {
  width: var(--wrap);
  margin: 100px auto 0;
  position: relative;
  color: #fff;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.88fr);
  gap: 20px;
  align-items: stretch;
}

.hero-media-card,
.hero-full-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  box-shadow: var(--shadow-lg);
}

.hero-media-card {
  min-height: 520px;
}

.hero-full-video {
  min-height: 560px;
}

.hero-video,
.hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-fallback {
  z-index: 0;
  background: var(--night);
  transform: scale(1.02);
}

.hero-video {
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(15, 17, 24, 0.92) 0%, rgba(15, 17, 24, 0.52) 46%, rgba(15, 17, 24, 0.22) 72%),
    linear-gradient(180deg, rgba(15, 17, 24, 0) 40%, rgba(15, 17, 24, 0.78));
}

.hero-media-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(560px, 100%);
  padding: 32px 40px 20px;
  margin-top: auto;
  animation: heroRise 700ms var(--ease) both;
}

.hero-content > * {
  animation: heroRise 700ms var(--ease) both;
}
.hero-content .eyebrow { animation-delay: 60ms; }
.hero-content h1 { animation-delay: 120ms; }
.hero-content .hero-copy { animation-delay: 200ms; }
.hero-content .hero-actions { animation-delay: 280ms; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-full-video .hero-content {
  padding: 210px 0 80px 48px;
}

.hero-play-badge {
  position: absolute;
  z-index: 3;
  top: 128px;
  left: 40px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.hero-full-video .hero-play-badge {
  top: 138px;
  left: 48px;
}

.hero-play-badge .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  stroke-width: 2.4;
}

.hero-feature-strip {
  position: relative;
  z-index: 3;
  margin: 4px 28px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-tiles {
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hero-tile {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
}

.hero-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.3);
  box-shadow: var(--shadow);
}

.hero-tile img {
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 24px 24px 8px;
  object-fit: contain;
  transition: transform 320ms var(--ease);
}

.hero-tile:hover img {
  transform: scale(1.05);
}

.hero-tile-glow { display: none; }

.hero-tile-content {
  position: relative;
  z-index: 2;
  padding: 0 18px 18px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.hero-tile-content strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hero-tile-content small {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tile-arrow {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.hero-tile:hover .hero-tile-arrow {
  transform: translateX(3px);
  background: var(--red-dark);
}

.hero-tile-arrow .icon {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------- type */

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.hero-copy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------------------------------------------------------------- buttons */

.button {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease),
    border-color 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
}

.button .icon {
  transition: transform 200ms var(--ease);
}

.button:hover .icon {
  transform: translateX(3px);
}

.button:focus-visible,
.icon-button:focus-visible,
.category-card:focus-visible,
.hero-tile:focus-visible,
.catalog-chip:focus-visible,
.topbar a:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(225, 6, 0, 0.4);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(225, 6, 0, 0.32);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(225, 6, 0, 0.4);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.button-secondary.dark {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
  backdrop-filter: none;
}

.button-secondary.dark:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------------------------------------------------------------- feature panel / strip */

.feature-panel {
  position: absolute;
  z-index: 3;
  right: 40px;
  top: 160px;
  width: 268px;
  display: grid;
  gap: 22px;
  padding: 36px 32px;
  background: rgba(31, 34, 44, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.feature-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
}

.feature-item img {
  width: 42px;
  height: 44px;
  object-fit: contain;
}

.feature-item strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
}

.feature-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-feature-strip .feature-item {
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(22, 24, 31, 0.55);
  backdrop-filter: blur(14px);
}

.hero-feature-strip .feature-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.feature-ico svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature-strip .feature-item strong {
  font-size: 16px;
}

.hero-feature-strip .feature-item span {
  font-size: 11px;
  line-height: 1.15;
}

/* ---------------------------------------------------------------- sections */

.section {
  width: var(--wrap);
  margin: 64px auto 0;
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.category-preview {
  margin-top: 56px;
}

.category-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.category-preview-head h2 {
  margin: 0;
}

.category-band,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-width: 0;
  min-height: 178px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 6px;
  padding: 14px 12px 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}

.category-card:hover {
  border-color: rgba(225, 6, 0, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.category-card img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  transition: transform 260ms var(--ease);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card small {
  min-height: 18px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-band .category-card > span {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.category-card-featured {
  min-height: 186px;
}

.category-card-featured img {
  height: 112px;
}

/* ---------------------------------------------------------------- catalog */

.catalog-section {
  padding-top: 0;
}

.catalog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.catalog-count {
  min-width: 150px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.catalog-tools {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 28px 0;
}

.catalog-tools-chips-only {
  grid-template-columns: 1fr;
}

.catalog-tools-chips-only .catalog-chips {
  justify-content: flex-start;
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink-2);
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: color 160ms var(--ease), background 160ms var(--ease),
    border-color 160ms var(--ease), transform 160ms var(--ease);
}

.catalog-chip:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.catalog-chip.is-active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.26);
}

.catalog-empty {
  margin: 28px 0 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- audience */

.audience-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card,
.news-card,
.facts-grid article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.audience-card {
  min-height: 200px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: var(--shadow);
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), #ff5a5f);
}

.audience-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(20, 22, 31, 0.08);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.audience-card h3,
.news-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.audience-card p,
.news-card p,
.split-section p,
.tenants-copy p,
.transport-section p,
.route-details p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ---------------------------------------------------------------- about */

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 60px;
  align-items: center;
  padding: 56px;
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.facts-grid article {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
}

.facts-grid strong {
  color: var(--red);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.facts-grid span {
  color: var(--muted);
  font-weight: 600;
}

/* ---------------------------------------------------------------- tenants */

.tenants-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 56px;
  color: #fff;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(225, 6, 0, 0.32), transparent 52%),
    var(--night);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tenants-copy h2 {
  color: #fff;
}

.tenants-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.check-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.check-list .icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 3px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--ink);
  background: var(--mist);
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease),
    background 160ms var(--ease);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.1);
}

.lead-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--red);
}

.form-status.is-success {
  color: var(--sage);
}

/* ---------------------------------------------------------------- transport */

.transport-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.transport-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.transport-icon img {
  width: 30px;
  height: 30px;
}

.transport-section h2 {
  font-size: 26px;
}

/* ---------------------------------------------------------------- route */

.route-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 22px;
}

.route-address {
  min-height: 200px;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 120% at 0% 0%, #ff4146, var(--red) 60%);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(225, 6, 0, 0.28);
}

.route-address .icon {
  width: 44px;
  height: 44px;
}

.route-address strong {
  max-width: 320px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
}

.route-details {
  display: grid;
  gap: 14px;
}

.route-details p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.route-details p:hover {
  border-color: rgba(225, 6, 0, 0.24);
  box-shadow: var(--shadow-sm);
}

.shuttle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shuttle-card,
.public-routes article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.shuttle-card h3,
.public-routes h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.shuttle-card p,
.public-routes p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.shuttle-card dl {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
}

.shuttle-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.shuttle-card dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.shuttle-card dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.public-routes {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 0.75fr));
  gap: 16px;
}

.route-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.route-map-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(225, 6, 0, 0.16);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.route-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-map-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.route-map-head .eyebrow {
  margin-bottom: 8px;
}

.route-map-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--red);
  background: var(--mist);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-map-placeholder {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 58% 54%, rgba(225, 6, 0, 0.12), rgba(225, 6, 0, 0) 26%),
    linear-gradient(135deg, #f7f9fb 0%, #eef3f7 46%, #f8fafc 100%);
}

.route-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.66;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

.route-map-line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.78);
  transform-origin: left center;
  box-shadow: 0 8px 24px rgba(225, 6, 0, 0.2);
}

.route-map-line-a {
  width: 42%;
  transform: rotate(-26deg);
}

.route-map-line-b {
  width: 38%;
  transform: rotate(42deg);
}

.route-map-line-c {
  width: 36%;
  transform: rotate(174deg);
}

.route-map-marker {
  position: absolute;
  z-index: 2;
  max-width: 128px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.12);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.route-map-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3);
}

.route-map-marker-main {
  left: 48%;
  top: 45%;
  display: grid;
  gap: 2px;
  color: #fff;
  background: var(--red);
  transform: translate(-50%, -50%);
}

.route-map-marker-main::before {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.route-map-marker-main small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
}

.route-map-marker-north { left: 63%; top: 18%; }
.route-map-marker-west { left: 16%; top: 38%; }
.route-map-marker-south { left: 48%; bottom: 24%; }
.route-map-marker-east { right: 8%; top: 56%; }

.route-map-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px dashed rgba(225, 6, 0, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.route-map-note strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.route-map-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.route-map-card .button {
  width: 100%;
}

.route-board-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(150deg, rgba(225, 6, 0, 0.96), rgba(114, 6, 22, 0.92)),
    url("/photos/generated/shopping-complex-facade-4k.webp") center / cover;
  box-shadow: 0 20px 46px rgba(225, 6, 0, 0.22);
}

.route-board-aside .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.route-board-aside h3 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
}

.route-board-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.route-board-aside .button {
  width: fit-content;
  background: #fff;
  color: var(--red);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.16);
}

.route-board-aside .button .icon {
  color: var(--red);
}

.route-accordion {
  display: grid;
  gap: 10px;
}

.route-stop {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.route-stop[open] {
  border-color: rgba(225, 6, 0, 0.22);
  box-shadow: var(--shadow-sm);
}

.route-stop summary {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.44fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 62px;
  padding: 18px 56px 18px 22px;
  cursor: pointer;
}

.route-stop summary::-webkit-details-marker {
  display: none;
}

.route-stop summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--mist);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.route-stop[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--red);
}

.route-stop summary span {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.route-stop summary small {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.route-stop-body {
  display: grid;
  gap: 14px;
  padding: 0 22px 20px;
}

.route-stop-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.route-stop-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.route-stop-body dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.route-stop-body dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-stop-body dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- news */

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

.news-card {
  min-height: 210px;
  padding: 28px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 6, 0, 0.24);
  box-shadow: var(--shadow);
}

.news-card time {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 6px 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  background: var(--red-soft);
  border-radius: 999px;
}

/* новости в одну строку (главная) */
.news-grid-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.news-grid-row .news-thumb { aspect-ratio: 4 / 3; }
.news-grid-row .news-body { padding: 16px 16px 18px; }
.news-grid-row .news-card h3 { font-size: 16px; line-height: 1.25; }
@media (max-width: 1024px) {
  .news-grid-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .news-grid-row { grid-template-columns: 1fr; }
}

/* news card with photo */
.news-card.news-photo {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card.news-photo .news-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card.news-photo .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms var(--ease);
}

.news-card.news-photo:hover .news-thumb img {
  transform: scale(1.05);
}

.news-card.news-photo .news-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.news-card.news-photo time {
  margin-bottom: 6px;
  align-self: flex-start;
}

/* ---------------------------------------------------------------- footer */

.footer {
  width: var(--wrap);
  margin: 110px auto 36px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 160ms var(--ease), color 160ms var(--ease),
    background 160ms var(--ease);
}

.footer-links a:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}

.footer-links .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

/* ---------------------------------------------------------------- tablet */

@media (max-width: 1024px) {
  .topbar .brand-logo {
    width: 180px;
  }

  .topbar .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .nav {
    display: none;
  }

  .icon-button.menu-toggle {
    display: inline-grid;
    order: -1;
  }

  .topbar-hours {
    display: none !important;
  }

  .topbar.is-open .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: navDrop 220ms var(--ease);
  }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .topbar.is-open .nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .topbar.is-open .nav a + a {
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .topbar-actions a:not(.round-action) span {
    display: none;
  }

  .topbar-actions a:not(.round-action) {
    padding: 9px;
  }

  .topbar-actions {
    flex: 0 0 94px;
    min-width: 94px;
    justify-content: flex-end;
  }

  .hero {
    margin-top: 104px;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-media-card {
    min-height: 560px;
  }

  .hero-tiles {
    min-height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-tile {
    min-height: 220px;
  }

  .hero-content {
    padding: 150px 32px 40px;
  }

  .feature-panel {
    right: 28px;
    width: 244px;
  }

  .category-band,
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-tools {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .catalog-chips {
    justify-content: flex-start;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .tenants-section,
  .route-layout,
  .route-board {
    grid-template-columns: 1fr;
  }

  .route-board-aside {
    position: static;
  }

  .route-map-card {
    position: static;
  }

  .split-section,
  .tenants-section {
    padding: 40px;
  }

  .transport-section {
    grid-template-columns: auto 1fr;
  }

  .transport-section .button {
    grid-column: 1 / -1;
  }

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

  .public-routes {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- mobile */

@media (max-width: 720px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .topbar {
    top: 14px;
    min-height: 62px;
    gap: 10px;
    padding: 8px 8px 8px 16px;
  }

  .topbar .brand {
    position: static;
    margin: 0 auto 0 0;
    transform: none;
  }

  .topbar .brand-logo {
    width: clamp(104px, 32vw, 150px);
  }

  .topbar-actions {
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
    margin-left: 0;
  }

  .topbar-route {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    justify-content: center;
  }

  .topbar-route span {
    display: none;
  }

  .hero {
    margin-top: 92px;
  }

  .hero-split,
  .hero-tiles {
    gap: 14px;
  }

  .hero-media-card,
  .hero-full-video {
    min-height: 320px;
  }

  .hero-full-video {
    min-height: 360px;
  }

  .hero-content {
    padding: 130px 24px 32px;
  }

  .hero-full-video .hero-content {
    padding: 130px 24px 32px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-feature-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 24px 24px;
  }

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

  .hero-tile {
    min-height: 188px;
    border-radius: var(--radius);
  }

  .hero-tile img {
    padding: 16px 14px 66px;
  }

  .hero-tile-content strong {
    font-size: 17px;
  }

  .feature-panel {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 0 24px 24px;
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 64px;
  }

  .shuttle-grid {
    grid-template-columns: 1fr;
  }

  .shuttle-card,
  .public-routes article {
    padding: 18px;
  }

  .shuttle-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-board {
    gap: 12px;
  }

  .route-board-aside {
    padding: 22px;
  }

  .route-map-card {
    order: -1;
    padding: 16px;
  }

  .route-board-aside .button {
    width: 100%;
  }

  .route-map-placeholder {
    min-height: 380px;
  }

  .route-map-head {
    align-items: stretch;
    flex-direction: column;
  }

  .route-map-head > span {
    width: fit-content;
  }

  .route-map-marker {
    max-width: 112px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .route-map-marker-west {
    left: 7%;
  }

  .route-map-marker-east {
    right: 4%;
  }

  .route-stop summary {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 52px 16px 18px;
  }

  .route-stop summary small {
    font-size: 12px;
  }

  .route-stop-body {
    padding: 0 18px 18px;
  }

  .route-stop-body dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .category-preview {
    margin-top: 56px;
  }

  .category-preview-head,
  .catalog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-count {
    width: 100%;
    text-align: left;
  }

  .category-band,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 192px;
  }

  .category-card img,
  .category-card-featured img {
    height: 120px;
  }

  .catalog-chip {
    flex: 1 1 auto;
  }

  .audience-grid,
  .news-grid,
  .facts-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .split-section,
  .tenants-section {
    padding: 32px 22px;
  }

  .transport-section {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .route-address {
    min-height: 160px;
  }

  .footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   Многостраничные компоненты
   ================================================================ */

/* --- Page hero (внутренние страницы) --- */
.page-hero {
  --page-hero-height: 460px;
  width: var(--wrap);
  margin: 116px auto 0;
  position: relative;
  overflow: hidden;
  height: var(--page-hero-height);
  min-height: var(--page-hero-height);
  display: flex;
  align-items: center;
  padding: 72px 48px 48px;
  color: #fff;
  border-radius: var(--radius-lg);
  background: var(--night);
  box-shadow: var(--shadow-lg);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(15, 17, 24, 0.92) 0%, rgba(15, 17, 24, 0.5) 50%, rgba(15, 17, 24, 0.2) 78%),
    linear-gradient(180deg, rgba(15, 17, 24, 0) 40%, rgba(15, 17, 24, 0.7));
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(16, 24, 32, 0.42);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero-lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.9vw, 19px);
  max-width: 640px;
}

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

/* --- breadcrumbs --- */
.crumbs {
  width: var(--wrap);
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--red);
}

.crumbs span {
  color: var(--muted);
}

/* --- prose (SEO-тексты) --- */
.prose {
  max-width: 820px;
}

.prose p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* --- галерея фото --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figure.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* --- FAQ аккордеон --- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  margin-left: auto;
  margin-right: auto;
}

/* двухколоночный FAQ: слева заголовок+помощь, справа аккордеон */
.faq-section .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
.faq-section .faq-aside { position: sticky; top: 110px; }
.faq-section .faq-aside .section-heading { margin-bottom: 22px; }
.faq-main { min-width: 0; }
.faq-help {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}
.faq-help h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.faq-help p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.faq-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-help-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.faq-help-call { color: #fff; background: var(--red); }
.faq-help-call:hover { background: var(--red-dark); }
.faq-help-write { color: var(--ink); border: 1px solid var(--line-strong); background: #fff; }
.faq-help-write:hover { border-color: var(--red); color: var(--red); }
.faq-help-actions .icon { width: 17px; height: 17px; }

@media (max-width: 860px) {
  .faq-section .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-section .faq-aside { position: static; }
}

.faq-list { max-width: none !important; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.faq-item.is-open {
  border-color: rgba(225, 6, 0, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-trigger .faq-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: transform 220ms var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- интерактивная схема --- */
.scheme-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.scheme-tabs {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.scheme-tabs-title {
  margin: 0 0 6px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 700;
  background: var(--mist);
  cursor: pointer;
  transition: color 160ms var(--ease), background 160ms var(--ease),
    border-color 160ms var(--ease);
}

.row-tab small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.row-tab:hover {
  border-color: rgba(225, 6, 0, 0.3);
  color: var(--red);
}

.row-tab.is-active {
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.26);
}

.row-tab.is-active small {
  color: rgba(255, 255, 255, 0.8);
}

.scheme-board {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.scheme-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.scheme-board-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.scheme-board-head span {
  color: var(--muted);
  font-size: 14px;
}

.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
}

.scheme-cell {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  background: var(--mist);
  cursor: pointer;
  transition: transform 140ms var(--ease), background 140ms var(--ease),
    color 140ms var(--ease), border-color 140ms var(--ease);
}

.scheme-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 6, 0, 0.4);
  color: var(--red);
  background: var(--red-soft);
}

.scheme-cell.is-selected {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.3);
}

.scheme-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.scheme-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scheme-legend i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid var(--line);
}

.scheme-legend i.free { background: var(--mist); }
.scheme-legend i.sel { background: var(--red); border-color: var(--red); }

/* --- отзывы --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #8c620f;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--red);
}

.review-author strong {
  display: block;
  font-size: 15px;
}

.review-author small {
  color: var(--muted);
  font-size: 13px;
}

/* --- расширенный футер --- */
.site-footer {
  margin-top: 88px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(64, 58, 96, 0.45), transparent 55%),
    radial-gradient(120% 100% at 100% 0%, rgba(225, 6, 0, 0.12), transparent 50%),
    var(--night);
}

.site-footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 46px 0 30px;
  display: grid;
  grid-template-columns: 260px 140px repeat(3, 170px);
  justify-content: start;
  column-gap: 22px;
}

.footer-brand + .footer-col {
  grid-column: 3;
}

.footer-brand img {
  width: 158px;
  height: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.45;
  max-width: 260px;
}

.footer-brand .footer-address {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-social a,
.footer-social span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  transition: background 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease), transform 160ms var(--ease);
}

.footer-social a:hover,
.footer-social span:hover {
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(1px);
}

.footer-social-max {
  font-size: 11px;
  font-weight: 800;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 160ms var(--ease), opacity 160ms var(--ease),
    transform 160ms var(--ease);
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.46);
  transform: translateX(2px);
}

.footer-contacts,
.footer-brand-contacts {
  display: grid;
  gap: 8px;
}

.footer-contacts .footer-line,
.footer-brand-contacts .footer-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.76);
}

.footer-contacts .icon,
.footer-brand-contacts .icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--red);
}

.footer-contacts strong,
.footer-brand-contacts strong {
  color: rgba(255, 255, 255, 0.92);
}

.footer-callback {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.footer-callback input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.footer-callback input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-callback input:focus {
  border-color: var(--red);
}

.footer-callback button {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  transition: background 160ms var(--ease);
}

.footer-callback button:hover {
  background: var(--red-dark);
}

.footer-callback .form-status {
  display: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-bottom-inner a:hover {
  color: #fff;
}

.footer-contacts a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

/* --- двухколоночная текстовая секция с фото --- */
.text-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.text-media-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.text-media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* блок «О комплексе»: фото на всю высоту текста */
.text-media-about { align-items: stretch; }
.text-media-about .text-media-photo {
  aspect-ratio: 3 / 4;
  min-height: 420px;
}
.text-media-about .text-media-photo img { display: block; }
.text-media-about .prose { align-self: center; }

/* --- info-cards (преимущества/факты) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.info-card .info-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 800;
  background: var(--red);
  border-radius: 12px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

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

/* --- секция-CTA (карта/превью со ссылкой) --- */
.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 44px 48px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(225, 6, 0, 0.4), transparent 55%),
    var(--night);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
}

@media (max-width: 1024px) {
  .page-hero {
    --page-hero-height: 380px;
    margin-top: 104px;
    padding: 40px;
  }

  .gallery-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .scheme-layout {
    grid-template-columns: 1fr;
  }

  .scheme-tabs {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    display: grid;
  }

  .text-media {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    column-gap: 32px;
    row-gap: 28px;
  }

  .footer-col,
  .footer-brand + .footer-col {
    grid-column: auto;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-hero {
    --page-hero-height: 440px;
    margin-top: 92px;
    padding: 28px 22px;
    border-radius: var(--radius);
  }

  .gallery-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure.gallery-wide {
    grid-column: span 1;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0;
    padding: 44px 0 32px;
  }

  .footer-col,
  .footer-brand + .footer-col {
    grid-column: 1;
    min-width: 0;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner {
    padding: 32px 24px;
  }

  .scheme-grid {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  }
}

/* ================================================================
   ТЗ-компоненты
   ================================================================ */

/* текстовый логотип */
.brand-text {
  display: grid;
  line-height: 1.05;
}
.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-text-light strong { color: #fff; }
.brand-text-light small { color: rgba(255, 255, 255, 0.6); }

.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--ink-2);
  font-weight: 600;
}
.topbar-hours .icon { width: 18px; height: 18px; color: var(--red); }

/* блок «Для кого наш комплекс» — карточки со ссылкой */
.audience-card .audience-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}
.audience-card .audience-link::after { content: "+"; font-size: 18px; line-height: 1; }
.audience-card { justify-content: flex-start; }
.audience-card h3 { margin-top: 6px; }
.audience-card p { flex: 1; }

/* блок «Карта комплекса» с левой панелью линий */
.map-block {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.map-side { display: grid; gap: 12px; align-content: start; }
.map-search { position: relative; display: flex; align-items: center; }
.map-search .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.map-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 42px;
  background: #fff;
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.map-search input:focus { border-color: rgba(225,6,0,0.5); box-shadow: 0 0 0 4px rgba(225,6,0,0.1); }
.map-empty { margin: 0; padding: 14px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.map-access { display: flex; flex-wrap: wrap; gap: 14px; }
.map-access span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.map-access .icon { width: 18px; height: 18px; color: var(--red); }

.map-lines {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-height: 400px;
  overflow: auto;
}
.map-line {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 600;
  background: var(--mist);
  cursor: pointer;
  transition: color 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.map-line:hover { border-color: rgba(225, 6, 0, 0.3); color: var(--red); }
.map-line.is-active { color: #fff; background: var(--red); box-shadow: 0 8px 18px rgba(225, 6, 0, 0.26); }

.map-canvas {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-sm);
}
.map-canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* интерактивный SVG-план */
.map-plan {
  flex: 1;
  display: flex;
  padding: 16px;
  background:
    radial-gradient(120% 120% at 0% 0%, #ffffff, var(--mist) 70%);
}
.plan-svg {
  width: 100%;
  height: auto;
  display: block;
}
.plan-bg { fill: var(--mist); stroke: var(--line); stroke-width: 1.5; }
.plan-building { fill: #fff; stroke: var(--line-strong); stroke-width: 2; }

/* ячейки-павильоны */
.plan-cell { fill: #f1f3f7; stroke: var(--line-strong); stroke-width: 0.6; }

/* метка ряда */
.plan-line-label { fill: #eef0f4; stroke: var(--line-strong); stroke-width: 1; transition: fill 160ms var(--ease), stroke 160ms var(--ease); }
.plan-line-text { fill: var(--ink-2); font-size: 11px; font-weight: 800; pointer-events: none; }

/* интерактивные ряды (привязаны к категории) */
.plan-line-int { cursor: pointer; }
.plan-line-int .plan-line-label { fill: #fde3e2; stroke: var(--red); }
.plan-line-int:hover .plan-cell { fill: #fde3e2; }
.plan-line-int:hover .plan-line-label { fill: var(--red); }
.plan-line-int:hover .plan-line-text { fill: #fff; }
.plan-line-int:focus-visible { outline: none; }
.plan-line-int:focus-visible .plan-line-label { stroke-width: 2.5; }
.plan-line-int.is-active .plan-line-label { fill: var(--red); stroke: var(--red); }
.plan-line-int.is-active .plan-line-text { fill: #fff; }
.plan-line-int.is-active .plan-cell { fill: #ffd9d7; stroke: rgba(225,6,0,0.4); }

/* входы */
.plan-entry circle { fill: var(--night); }
.plan-entry text { fill: #fff; font-size: 9px; font-weight: 800; }

.map-canvas-overlay {
  position: relative;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.map-canvas-overlay h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--ink); }
.map-canvas-overlay p { margin: 0; color: var(--muted); font-size: 14px; }

.map-block-pixel {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  --site-map-max-width: 540px;
}

.map-block-pixel .map-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}

.map-block-pixel .map-lines {
  min-height: 0;
  max-height: 310px;
  padding: 10px;
  overflow: auto;
}

.map-block-pixel .map-canvas {
  min-height: 0;
  height: 100%;
  background:
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.site-clean-map-wrap {
  flex: 1;
  display: grid;
  min-height: 0;
  padding: 10px;
}

.site-clean-map {
  align-self: center;
  justify-self: center;
  width: min(100%, var(--site-map-max-width));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.76);
}

.map-block-pixel .clean-map__tooltip {
  font-family: inherit;
  font-weight: 700;
}

.map-block-pixel .map-line[data-map-filter]:not(.is-active) {
  background: #fff;
  border-color: var(--line);
}

.map-block-pixel .map-line[data-map-zone] {
  font-size: 14px;
}

.map-block-pixel .map-line {
  padding: 7px 10px;
  font-size: 13px;
}

.map-block-pixel .map-canvas-overlay {
  padding: 9px 14px;
}

.map-block-pixel .map-canvas-overlay h3 {
  font-size: 16px;
}

.map-block-pixel .map-canvas-overlay p {
  display: none;
}

.map-block-home .map-canvas {
  --site-map-max-width: 620px;
}

.home-map-section .map-canvas-overlay {
  display: none;
}

.home-map-section .site-clean-map-wrap {
  padding: 6px;
}

.home-map-section .section-heading,
.scheme-map-section .section-heading {
  max-width: none;
  margin-bottom: 14px;
}

.home-map-section {
  position: relative;
}

.scheme-map-section {
  position: relative;
}

.home-map-section > .page-hero-actions {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0 !important;
}

.scheme-map-section .scheme-actions {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
}

.scheme-map-section .scheme-actions .button {
  min-height: 42px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.scheme-map-section .scheme-legend {
  margin-top: 12px;
}

@media (min-width: 1025px) {
  .home-map-section .section-heading {
    display: grid;
    grid-template-columns: 300px minmax(0, 620px);
    align-items: end;
    gap: 20px;
  }
  .home-map-section .section-heading h2,
  .scheme-map-section .section-heading h2 {
    font-size: clamp(28px, 2.7vw, 34px);
  }
  .home-map-section .section-heading p {
    margin: 0;
    font-size: 15px;
    line-height: 1.42;
  }
  .scheme-map-section .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (min-width: 1025px) and (max-height: 700px) {
  .home-map-section .section-heading,
  .scheme-map-section .section-heading {
    margin-bottom: 10px;
  }
  .home-map-section .section-heading {
    grid-template-columns: 380px minmax(0, 1fr);
  }
  .home-map-section .section-heading p {
    display: none;
  }
  .map-block-pixel {
    --site-map-max-width: 560px;
  }
  .map-block-home .map-canvas {
    --site-map-max-width: 560px;
  }
  .map-block-pixel .map-lines {
    max-height: 220px;
  }
  .map-block-pixel .map-canvas-overlay {
    padding: 8px 12px;
  }
  .scheme-map-section .scheme-legend {
    display: none;
  }
}

/* отзывы по ТЗ: дата + звёзды + ссылка */
.review-card .review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-card .review-date { color: var(--muted); font-size: 13px; }
.review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}
.review-link::after { content: "+"; font-size: 18px; }
.review-link-static {
  color: var(--muted);
  cursor: default;
}
.review-link-static::after {
  content: none;
}
.section-head-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head-link .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}
.section-head-link .link-more::after { content: "+"; font-size: 18px; }

/* число павильонов в карточке категории */
.category-card .cat-count {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* форма «Есть вопрос?» в футере */
.footer-callback { margin-top: 18px; display: block; }
.footer-callback-title { margin: 0 0 4px; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; }
.footer-callback-text { margin: 0 0 12px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer-callback-row { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-callback-row input {
  flex: 1 1 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.footer-callback-row input::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer-callback-row input:focus { border-color: var(--red); }
.footer-callback-row button {
  flex: 1 1 auto;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  color: #fff;
  font-weight: 700;
  background: var(--red);
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.footer-callback-row button:hover { background: var(--red-dark); }
.footer-callback .form-status { display: block; color: rgba(255,255,255,0.8); margin-top: 8px; }
.footer-callback .form-status.is-success { color: #7fe0c0; }
.footer-callback .form-status.is-error { color: #ff9a9a; }
.footer-legal-links a:hover { color: #fff; }

/* чекбокс согласия в формах */
.consent-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--ink-2) !important;
}
.consent-field input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--red); }

/* cookie-плашка */
.cookie-bar {
  position: fixed;
  z-index: 60;
  left: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(22, 24, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.cookie-bar p { margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.cookie-bar button {
  flex: 0 0 auto;
  align-self: stretch;
  border: 0;
  border-radius: 999px;
  padding: 11px 24px;
  color: #fff;
  font-weight: 700;
  background: var(--red);
  cursor: pointer;
}
.cookie-bar button:hover { background: var(--red-dark); }

/* правовые страницы */
.legal-prose { max-width: 820px; }
.legal-prose h2 { margin: 32px 0 12px; font-size: 22px; font-weight: 800; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.7; }
.legal-prose ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); line-height: 1.7; }

/* детальная новость */
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .map-block { grid-template-columns: 1fr; }
  .map-lines { max-height: none; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 1024px) {
  .map-block-pixel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .map-block-pixel .map-side {
    gap: 10px;
  }
  .map-block-pixel .map-lines {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    max-height: 220px;
    overflow: auto;
  }
  .map-block-pixel .map-access {
    gap: 10px;
  }
  .map-block-pixel .map-canvas {
    min-height: 0;
  }
  .map-block-pixel .site-clean-map-wrap {
    padding: 12px;
  }
  .map-block-pixel .map-canvas-overlay {
    padding: 12px 16px;
  }
}
@media (max-width: 720px) {
  .home-map-section {
    margin-top: 48px;
  }
  .home-map-section .section-heading {
    margin-bottom: 16px;
  }
  .home-map-section > .page-hero-actions {
    display: none;
  }
  .scheme-map-section .scheme-actions {
    display: none;
  }
  .scheme-map-section .scheme-legend {
    display: none;
  }
  .home-map-section .section-heading h2 {
    font-size: 28px;
    line-height: 1.05;
  }
  .home-map-section .section-heading p {
    display: none;
  }
  .map-block-pixel {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .map-block-pixel .map-canvas {
    order: 1;
  }
  .map-block-pixel .map-side {
    order: 2;
    display: grid;
    gap: 10px;
  }
  .map-block-pixel .site-clean-map-wrap {
    padding: 8px;
  }
  .map-block-pixel .site-clean-map {
    width: min(100%, 350px);
  }
  .map-block-pixel .map-canvas-overlay {
    padding: 10px 12px;
  }
  .map-block-pixel .map-canvas-overlay h3 {
    font-size: 16px;
  }
  .map-block-pixel .map-canvas-overlay p {
    display: none;
  }
  .map-block-pixel .map-search input {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .map-block-pixel .map-lines {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-columns: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 7px;
    scroll-snap-type: x proximity;
  }
  .map-block-pixel .map-line {
    width: max-content;
    max-width: 230px;
    min-height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    scroll-snap-align: start;
  }
  .map-block-pixel .map-access {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .map-block-pixel .map-lines {
    grid-auto-columns: max-content;
  }
  .map-block-pixel .map-line {
    padding: 8px 10px;
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; }
}

/* защита от переполнения колонок футера длинными строками */
.footer-contacts,
.footer-col,
.footer-brand,
.footer-callback { min-width: 0; }
.footer-contacts .footer-line span,
.footer-contacts .footer-line a { overflow-wrap: anywhere; min-width: 0; }

/* ================================================================
   Reveal-анимация секций при скролле
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}
.hero.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-content, .hero-content > * { animation: none !important; }
}

/* ================================================================
   Шапка страницы категории
   ================================================================ */
.cat-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.cat-head-icon {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.cat-head-icon img { width: 64px; height: 64px; object-fit: contain; }
.cat-head-info h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.cat-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.cat-chip-trade { color: var(--red); background: var(--red-soft); border-color: transparent; text-transform: capitalize; }

@media (max-width: 720px) {
  .cat-head { gap: 16px; }
  .cat-head-icon { width: 72px; height: 72px; }
  .cat-head-icon img { width: 48px; height: 48px; }
}

/* ================================================================
   Sticky mobile CTA
   ================================================================ */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed;
    z-index: 55;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(16, 24, 32, 0.08);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    color: var(--ink-2);
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-sm);
  }
  .mobile-bar a:active { background: var(--mist); }
  .mobile-bar .icon { width: 19px; height: 19px; color: var(--red); }
  /* отступ снизу, чтобы панель не перекрывала футер/cookie */
  .site-footer { margin-bottom: 64px; }
  .cookie-bar { bottom: 76px; }
}

/* honeypot — скрытое поле-ловушка для ботов */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/* согласие в футер-форме */
.footer-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}
.footer-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--red); }
.footer-consent a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.footer-consent a:hover { color: #fff; }
.consent-field a { color: var(--red); text-decoration: underline; }

/* ================================================================
   Полоса фактов (доверие) на главной
   ================================================================ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.stats-band .stat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.stats-band .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 6, 0, 0.25);
  box-shadow: var(--shadow);
}
.stats-band .stat strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.stats-band .nav-card-ico {
  flex: 0 0 auto;
}
.stats-band .nav-card-text {
  flex: 1;
  min-width: 0;
}
@media (max-width: 860px) {
  .stats-band { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .stats-band { grid-template-columns: 1fr; }
}

/* ================================================================
   Страница контактов
   ================================================================ */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}
.contacts-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
}
.contact-ico .icon { width: 22px; height: 22px; color: #fff; }
.contact-card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.contact-card a { color: var(--ink); font-weight: 700; }
.contact-card a:hover { color: var(--red); }
.contacts-map {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.contacts-map iframe { width: 100%; flex: 1; min-height: 320px; border: 0; display: block; }

@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contacts-cards { grid-template-columns: 1fr; }
}

/* ================================================================
   Hero: плитки ключевых разделов (вместо категорий)
   ================================================================ */
.hero-tiles-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  min-height: 520px;
}
.hero-sect {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 18px 22px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0) 0%, rgba(16, 24, 32, 0) 72%, rgba(16, 24, 32, 0.42) 84%, rgba(16, 24, 32, 0.86) 100%),
    var(--tile-bg, url("/photos/generated/shopping-complex-facade-4k.webp")) center / cover;
  color: #fff;
  border: 1px solid rgba(16, 24, 32, 0.10);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.hero-sect::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--red);
  pointer-events: none;
  z-index: 2;
}
.hero-sect::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(100% - 30px) 34px, rgba(16, 24, 32, 0.14), rgba(16, 24, 32, 0) 66px),
    linear-gradient(180deg, rgba(16, 24, 32, 0) 0%, rgba(16, 24, 32, 0) 72%, rgba(16, 24, 32, 0.42) 84%, rgba(16, 24, 32, 0.88) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-sect > * {
  position: relative;
  z-index: 3;
}
.hero-sect:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.28);
  box-shadow: var(--shadow);
}
.hero-sect-retail { --tile-bg: url("/photos/generated/assortment-shelves-4k.webp"); }
.hero-sect-wholesale { --tile-bg: url("/photos/generated/logistics-zone-4k.webp"); }
.hero-sect-tenants { --tile-bg: url("/photos/generated/tenant-facade-4k.webp"); }
.hero-sect-bus { --tile-bg: url("/photos/bus-station-hall.webp"); }
.hero-sect-num {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
  text-shadow: none;
}
.hero-sect-text {
  display: grid;
  z-index: 4;
}
.hero-sect-text strong {
  display: block;
  max-width: 100%;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(16, 24, 32, 0.78), 0 0 2px rgba(16, 24, 32, 0.58);
}

@media (max-width: 1024px) {
  .hero-tiles-sections { min-height: auto; grid-auto-rows: auto; }
  .hero-sect { padding: 18px 16px; min-height: 130px; }
}
@media (max-width: 480px) {
  .hero-tiles-sections { grid-template-columns: repeat(2, 1fr); }
  .hero-sect-num {
    top: 12px;
    right: 12px;
    bottom: auto;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.30);
  }

  .hero-sect-text strong {
    font-size: clamp(16px, 4.2vw, 18px);
  }
}

/* ================================================================
   Карточка каталога: бейдж, мета, действие
   ================================================================ */
.category-card { position: relative; padding-top: 18px; }
.cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
}
.category-card .cat-name {
  display: block;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.cat-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  transition: max-height 220ms var(--ease), opacity 220ms var(--ease), margin-top 220ms var(--ease);
}
.cat-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.category-card:hover .cat-action,
.category-card:focus-visible .cat-action { max-height: 30px; opacity: 1; }
@media (hover: none) {
  .cat-action { max-height: 30px; opacity: 1; margin-top: 8px; }
}

/* layout карточки каталога v2 (переопределение старой grid-сетки) */
.catalog-grid .category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 0;
}
.catalog-grid .category-card img { height: 92px; margin-top: 4px; }
.catalog-grid .category-card .cat-name { min-height: 0; margin-top: 2px; }

/* фикс высоты карточки каталога — компактнее */
.catalog-grid .category-card { min-height: 0 !important; height: auto; padding: 18px 12px 16px; justify-content: flex-start; }
.catalog-grid .category-card img { height: 84px; }

/* фикс растяжения детей карточки в flex */
.catalog-grid .category-card > * { flex: 0 0 auto; }
.catalog-grid .cat-badge { position: absolute; align-self: auto; }
/* ================================================================
   Футер-аккордеон на мобильном
   ================================================================ */
@media (max-width: 720px) {
  .footer-col h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    user-select: none;
  }
  .footer-col h4::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--red);
    transition: transform 200ms var(--ease);
  }
  .footer-col.is-open h4::after { content: "−"; }
  .footer-col ul {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 240ms var(--ease);
    margin: 0;
  }
  .footer-col ul > li { overflow: hidden; }
  .footer-col.is-open ul { grid-template-rows: 1fr; }
  .footer-col ul { overflow: hidden; }
  .footer-col.is-open ul { padding-top: 10px; }
}

/* надёжный футер-аккордеон через max-height */
@media (max-width: 720px) {
  .footer-col ul {
    display: block;
    grid-template-rows: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms var(--ease), padding-top 260ms var(--ease);
    padding-top: 0;
  }
  .footer-col.is-open ul { max-height: 320px; padding-top: 10px; }
}

@media (max-width: 720px) {
  .footer-col.is-open ul { max-height: 360px !important; padding-top: 10px; }
  .footer-col ul > li { overflow: visible; }
}

/* схема: легенда + кнопки действий */
.scheme-legend .legend-item { font-weight: 600; }
.scheme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
@media (max-width: 480px) {
  .scheme-actions .button { width: 100%; }
}

/* ================================================================
   Услуги и сервисы
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(225,6,0,0.22); }
.service-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
}
.service-ico .icon { width: 24px; height: 24px; color: #fff; }
.service-card h3 { margin: 0; font-size: 17px; font-weight: 800; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}
.service-link::after { content: "→"; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ================================================================
   Видео в hero
   ================================================================ */
.hero-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-play {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  transform: translateY(17px);
}
.hero-play-btn {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.hero-play-btn svg {
  display: block;
  width: 34px;
  height: 34px;
  margin-left: 1px;
  fill: #fff;
}
.hero-play-label { color: #fff; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }

/* featured-карточки категорий без подзаголовка — центрируем название */
.category-card-featured { grid-template-rows: minmax(0,1fr) auto; }
.category-card-featured span { min-height: 0; }

/* акцент в полосе фактов: только цифры/первое слово красным, подпись серым (уже так) */

/* ================================================================
   Блок «Всё для поездки» — ключевые разделы
   ================================================================ */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(225,6,0,0.25); }
.nav-card-ico {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--red);
}
.nav-card-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-card-text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.nav-card-text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.nav-card-text small { font-size: 13px; color: var(--muted); }
.nav-card-arrow { flex: 0 0 auto; width: 22px; height: 22px; color: var(--red); transition: transform 200ms var(--ease); }
.nav-card:hover .nav-card-arrow { transform: translateX(4px); }
@media (max-width: 860px) { .nav-grid { grid-template-columns: 1fr; } }
