/* ==========================================================================
   Дельта-Пласт — основной стиль
   Дизайн-система «Architectural Precision» (см. DESIGN.md)
   Mobile-first: базовые стили — для телефона, далее расширение по брейкпоинтам
     576px  — большие телефоны
     768px  — планшеты
     1280px — десктоп («кокпит» на один экран, две колонки)
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  /* Поверхности */
  --c-surface: #0f141c;
  --c-surface-lowest: #090e16;
  --c-surface-low: #171c24;
  --c-surface-container: #1b2028;
  --c-surface-high: #252a33;
  --c-surface-highest: #30353e;

  /* Текст и линии */
  --c-on-surface: #dee2ee;
  --c-on-surface-variant: #bec8d2;
  --c-outline: #88929b;
  --c-outline-variant: #3e4850;

  /* Акценты */
  --c-primary: #89ceff;
  --c-primary-fixed: #c9e6ff;
  --c-primary-container: #0ea5e9;
  --c-on-primary-container: #003751;
  --c-secondary-container: #39485a;
  --c-tertiary: #ffb77d;

  /* Шрифты */
  --f-headline: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Отступы */
  --s-2xs: 0.25rem;
  --s-xs: 0.5rem;
  --s-sm: 0.75rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --page-x: 1rem;          /* боковой отступ страницы (на десктопе 2rem) */
  --header-h: 3.5rem;      /* высота шапки (на десктопе 4rem) */

  /* Скругления (как в исходнике: «machined edge») */
  --r-sm: 0.125rem;
  --r-md: 0.25rem;
  --r-pill: 0.75rem;

  /* Тени */
  --shadow-panel: 0 12px 28px -8px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --glow: 0 0 8px rgba(14, 165, 233, 0.8);
}

/* ---------- 2. База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  color: var(--c-on-surface);
  font-family: var(--f-body);
  font-size: 0.875rem;
  line-height: 1.375rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

::selection {
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:focus-visible {
  outline: 1px solid var(--c-primary-container);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

img,
svg {
  display: block;
}

/* ---------- 3. Типографика (классы из дизайн-системы) ---------- */
.t-headline-lg {
  font-family: var(--f-headline);
  font-size: 1.75rem;
  line-height: 2.25rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.t-headline-sm {
  font-family: var(--f-headline);
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.t-title-caps {
  font-family: var(--f-headline);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.t-body-md {
  font-family: var(--f-body);
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 400;
}

.t-body-sm {
  font-family: var(--f-body);
  font-size: 0.75rem;
  line-height: 1.125rem;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.t-mono {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  line-height: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.t-mono-sm {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  line-height: 1rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.t-upper { text-transform: uppercase; }

/* Цвета текста */
.c-primary { color: var(--c-primary); }
.c-tertiary { color: var(--c-tertiary); }
.c-on-surface { color: var(--c-on-surface); }
.c-variant { color: var(--c-on-surface-variant); }
.c-outline { color: var(--c-outline); }

/* ---------- 4. Иконки (SVG-спрайт Material Symbols Outlined) ---------- */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
}

.icon--xs { font-size: 0.75rem; }
.icon--sm { font-size: 0.875rem; }
.icon--md { font-size: 1rem; }
.icon--lg { font-size: 1.25rem; }

/* ---------- 5. Индикаторы-точки и анимации ---------- */
.dot {
  display: inline-block;
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--c-primary);
}

.dot--glow { box-shadow: 0 0 6px rgba(14, 165, 233, 0.9); }
.dot--pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.dot--ping {
  width: 0.5rem;
  height: 0.5rem;
  box-shadow: var(--glow);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
  50% { opacity: 0.5; }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot--pulse,
  .dot--ping,
  .map__pin-ring,
  .map__route {
    animation: none;
  }
}

/* ---------- 6. Мелкие элементы ---------- */
.chip {
  display: inline-block;
  padding: 0.125rem var(--s-xs);
  border-radius: var(--r-sm);
  background: var(--c-surface-high);
  white-space: nowrap;
}

.chip--accent {
  background: rgba(14, 165, 233, 0.2);
  color: var(--c-primary);
}

.status-pill {
  display: none; /* показывается только на широких экранах */
  align-items: center;
  gap: var(--s-xs);
  padding: var(--s-2xs) var(--s-sm);
  border-radius: var(--r-pill);
  background: var(--c-surface-high);
  color: var(--c-on-surface-variant);
  white-space: nowrap;
}

/* ---------- 7. Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(15, 20, 28, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
  height: var(--header-h);
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
}

.site-header__left,
.site-header__right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__left { gap: var(--s-lg); }
.site-header__right { gap: var(--s-md); flex-shrink: 0; }

.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.brand__tag {
  margin-top: 0.125rem;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-phone {
  display: none; /* полный номер — с 576px */
  align-items: center;
  gap: 0.375rem;
  color: var(--c-on-surface);
}

.header-phone .icon { color: var(--c-primary); }
.header-phone:hover { color: var(--c-primary); }

/* Кнопка-звонок для телефонов */
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 72, 80, 0.6);
  background: var(--c-surface-high);
  color: var(--c-primary);
}

.header-call:active { background: var(--c-surface-highest); }

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- 8. Основная область ---------- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
  padding-top: var(--header-h);
  background: var(--c-surface);
}

.stage {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: var(--s-sm) var(--page-x) var(--s-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

/* Полоса «телеметрии» под шапкой */
.telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xs);
  color: var(--c-on-surface-variant);
}

.telemetry__path,
.telemetry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2xs) var(--s-xs);
}

.telemetry__title {
  color: var(--c-primary);
  font-family: var(--f-headline);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.telemetry__sep { color: var(--c-outline); }
.telemetry__hub { color: var(--c-on-surface); }
.telemetry__coords { display: none; color: var(--c-outline); }

.telemetry .chip { color: var(--c-primary); white-space: normal; }

/* Сетка из двух колонок */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-md);
  align-items: stretch;
  flex: 1;
}

/* Панель («фрезерованный» модуль) */
.panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-md);
  border-radius: var(--r-md);
  background: rgba(23, 28, 36, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-panel);
  min-width: 0;
}

/* ---------- 9. Левая колонка ---------- */
.intro {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  align-self: flex-start;
  padding: var(--s-2xs) var(--s-sm);
  border-radius: var(--r-sm);
  background: rgba(57, 72, 90, 0.4);
  color: var(--c-primary);
}

.intro__title {
  color: var(--c-on-surface);
  font-size: 1.375rem;
  line-height: 1.8rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.intro__lead {
  max-width: 48rem;
  color: var(--c-on-surface-variant);
  line-height: 1.375;
}

/* Метрики */
.metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-xs);
}

.metric {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  padding: var(--s-sm);
  border-radius: var(--r-sm);
  background: rgba(27, 32, 40, 0.9);
  box-shadow: var(--shadow-sm);
}

.metric__value {
  flex: 0 0 6.5rem;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.metric__label {
  color: var(--c-on-surface-variant);
  text-transform: uppercase;
  line-height: 1.25;
}

/* Контактные карточки */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-xs);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-xs);
  padding: var(--s-sm);
  border-radius: var(--r-sm);
  background: rgba(37, 42, 51, 0.8);
  box-shadow: var(--shadow-sm);
}

.contact-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xs);
  color: var(--c-outline);
}

.contact-card__head .t-title-caps { letter-spacing: 0.05em; }
.contact-card__head .icon { color: var(--c-primary); }

.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2xs);
}

/* Строка «значение — подпись» */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 var(--s-sm);
  padding: 0.125rem 0;
}

.contact-row__label { color: var(--c-outline); }

a.contact-row:hover,
.contact-row a:hover { color: var(--c-primary); }

.contact-row--phone-main { color: var(--c-on-surface); }
.contact-row--phone-free { color: var(--c-primary); }
.contact-row--phone-free:hover { color: var(--c-primary-fixed); }
.contact-row--phone-free .contact-row__label { color: var(--c-on-surface-variant); }

.contact-row a { color: var(--c-on-surface); overflow-wrap: anywhere; }

.contact-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2xs) var(--s-xs);
  padding-top: var(--s-2xs);
  color: var(--c-outline);
}

.contact-card__foot--hours {
  justify-content: flex-start;
  color: var(--c-on-surface-variant);
}

/* Бренды */
.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xs);
  padding-top: var(--s-2xs);
  color: var(--c-on-surface-variant);
}

.brands__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
}

.brands__cert { display: none; color: var(--c-outline); }

/* ---------- 10. Правая колонка ---------- */
.hub {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}

.hub__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-xs);
}

.hub__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2xs);
  min-width: 0;
  flex: 1 1 16rem;
}

.hub__title-wrap .icon { color: var(--c-primary); margin-top: 0.25rem; }

.hub__title {
  color: var(--c-on-surface);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2xs);
  padding: var(--s-xs);
  border-radius: var(--r-sm);
  background: rgba(37, 42, 51, 0.6);
}

.address .icon { color: var(--c-tertiary); margin-top: 0.25rem; }

.address__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.address__main {
  color: var(--c-on-surface);
  font-family: var(--f-headline);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.address__sub { color: var(--c-on-surface-variant); }

/* Карта (стилизованный CAD-вектор) */
.map {
  position: relative;
  width: 100%;
  /* Пропорции как у viewBox (480×256): карта обрезается только по бокам,
     поэтому метка всегда совпадает с терминалом */
  aspect-ratio: 15 / 8;
  min-height: 16rem;
  border-radius: var(--r-sm);
  background: var(--c-surface-lowest);
  overflow: hidden;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

/* Подложка */
.map__grid-line { fill: none; stroke: rgba(62, 72, 80, 0.3); stroke-width: 0.7; }
.map__grid-dot { fill: rgba(137, 206, 255, 0.25); }
.map__hatch-line { stroke: rgba(62, 72, 80, 0.55); stroke-width: 1; }
.map__glow-stop { stop-color: #0ea5e9; }
.map__glow-stop--start { stop-opacity: 0.3; }
.map__glow-stop--end { stop-opacity: 0; }

/* Территории */
.map__field { fill: #111720; stroke: rgba(62, 72, 80, 0.45); stroke-width: 0.6; }
.map__wood { fill: url(#cad-hatch); stroke: rgba(62, 72, 80, 0.7); stroke-width: 0.6; }
.map__zone { fill: #161c25; stroke: #3e4850; stroke-width: 0.8; stroke-dasharray: 3 2; }
.map__site { fill: none; stroke: rgba(255, 183, 125, 0.28); stroke-width: 0.8; stroke-dasharray: 2 3; }
.map__block { fill: #1b2028; stroke: #3e4850; stroke-width: 0.6; }
.map__treerow { fill: none; stroke: rgba(62, 72, 80, 0.9); stroke-width: 2; stroke-dasharray: 1 2; stroke-linecap: round; }

/* Дороги */
.map__service { fill: none; stroke: #252a33; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__track { fill: none; stroke: #3e4850; stroke-width: 1; stroke-dasharray: 2 2; }
.map__planned { fill: none; stroke: #3e4850; stroke-width: 1.4; stroke-dasharray: 4 3; }
.map__street { fill: none; stroke: #30353e; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.map__secondary-edge { fill: none; stroke: #1b2028; stroke-width: 8; stroke-linejoin: round; }
.map__secondary { fill: none; stroke: #39485a; stroke-width: 5; stroke-linejoin: round; }
.map__link { fill: none; stroke: #39485a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.map__road-edge { fill: none; stroke: #1b2028; stroke-width: 14; stroke-linejoin: round; }
.map__road { fill: none; stroke: #39485a; stroke-width: 8; stroke-linejoin: round; }
.map__road-marking { fill: none; stroke: #89ceff; stroke-width: 0.8; stroke-dasharray: 8 10; opacity: 0.6; }

/* Маршрут подъезда */
.map__route {
  fill: none;
  stroke: #0ea5e9;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 4;
  animation: route-flow 1.2s linear infinite;
}

@keyframes route-flow {
  to { stroke-dashoffset: -10; }
}

/* Здания */
.map__building { fill: #1b2028; stroke: #3e4850; stroke-width: 0.6; }
.map__terminal { fill: rgba(14, 165, 233, 0.25); stroke: #0ea5e9; stroke-width: 1.5; }

/* Подписи на карте */
.map__label {
  fill: var(--c-outline);
  font-family: var(--f-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

/* Метка склада: точка ровно в координатах, подпись — над ней.
   Центр метки = центр viewBox по X (50%) и 195/256 по Y */
.map__pin {
  position: absolute;
  top: 76.17%;
  left: 50%;
  width: 0;
  height: 0;
  cursor: pointer;
}

.map__pin-dot-wrap {
  position: absolute;
  left: -0.875rem;
  top: -0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
}

.map__pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-primary-container);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map__pin-dot {
  position: relative;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 12px #0ea5e9;
}

.map__pin-label {
  position: absolute;
  bottom: 1.125rem;
  left: 0;
  transform: translateX(-50%);
  width: max-content;
  max-width: 15rem;
  padding: 0.125rem var(--s-xs);
  border-radius: var(--r-sm);
  background: rgba(48, 53, 62, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--c-on-surface);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.map__hud {
  position: absolute;
  padding: var(--s-2xs) var(--s-xs);
  border-radius: var(--r-sm);
  background: rgba(9, 14, 22, 0.8);
  color: var(--c-outline);
}

.map__hud--tl { top: var(--s-xs); left: var(--s-xs); right: var(--s-xs); }
.map__hud--br {
  bottom: var(--s-xs);
  right: var(--s-xs);
  display: flex;
  align-items: center;
  gap: var(--s-2xs);
}

.map__hud--br .icon { color: var(--c-primary); }
a.map__hud:hover { color: var(--c-primary); }

/* Логистические преимущества */
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2xs);
  text-align: center;
}

.perk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-2xs) var(--s-2xs);
  border-radius: var(--r-sm);
  background: rgba(27, 32, 40, 0.6);
}

.perk .t-mono-sm { color: var(--c-on-surface-variant); }

/* Плитки КПП / документы */
.gates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-xs);
}

.gate {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  padding: var(--s-xs) var(--s-sm);
  border-radius: var(--r-sm);
  background: rgba(37, 42, 51, 0.6);
  border: 1px solid rgba(62, 72, 80, 0.3);
}

.gate .icon { color: var(--c-primary); }

.gate__body {
  display: flex;
  flex-direction: column;
}

.gate__title {
  color: var(--c-on-surface);
  font-family: var(--f-headline);
  font-weight: 600;
}

/* ---------- 11. Подвал ---------- */
.site-footer {
  width: 100%;
  padding: var(--s-sm) 0;
  background: var(--c-surface-lowest);
  box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.5);
}

.site-footer__inner {
  padding: 0 var(--page-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-xs);
  color: var(--c-outline);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2xs) var(--s-md);
}

.site-footer__copy { color: var(--c-on-surface); }
.site-footer__gost { display: none; color: var(--c-on-surface-variant); }
.site-footer__version { display: none; }

/* ==========================================================================
   Брейкпоинты
   ========================================================================== */

/* ---------- < 576px: телефоны ---------- */
@media (max-width: 575.98px) {
  .map__hud-extra { display: none; }
}

/* ---------- < 400px: узкие телефоны ---------- */
@media (max-width: 399.98px) {
  .perk .t-mono-sm {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
}

/* ---------- ≥ 576px: большие телефоны / маленькие планшеты ---------- */
@media (min-width: 576px) {
  .header-phone { display: flex; }
  .header-call { display: none; }

  .telemetry__coords { display: inline; }

  .intro__title {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }

  /* Метрики — три карточки в ряд, как в оригинале */
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .metric {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--s-2xs);
  }

  .metric__value {
    flex: none;
    font-size: 1.75rem;
  }

  .perk { padding: var(--s-2xs) var(--s-xs); }

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

  .map__hud--tl { right: auto; }

  .map__pin-label { max-width: none; white-space: nowrap; }

  .site-footer__version { display: inline; }
}

/* ---------- ≥ 768px: планшеты ---------- */
@media (min-width: 768px) {
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .brands__cert { display: inline; }

  .panel { gap: var(--s-sm); }


  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .site-footer__gost { display: inline; }
}

/* ---------- ≥ 1280px: десктоп, «кокпит» на один экран ---------- */
@media (min-width: 1280px) {
  :root {
    --page-x: 2rem;
    --header-h: 4rem;
  }

  .status-pill { display: flex; }

  .stage {
    padding-bottom: var(--s-sm);
    min-height: calc(100vh - 6.75rem);
    justify-content: space-between;
  }

  .bento { grid-template-columns: 7fr 5fr; }

}

/* На невысоких десктопах не растягиваем «кокпит» во весь экран */
@media (min-width: 1280px) and (max-height: 700px) {
  .stage { min-height: 0; }
}
