/* СИТИ Лифт — корпоративный B2B лендинг */
:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f5f5f7;
  --color-text: #111214;
  --color-text-muted: #62666d;
  /* --color-accent: #e6b800; */
  --color-accent: #ffd700;
  --color-accent-hover: #eecd13;
  --color-border: #d9dde3;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --section-space: clamp(3.25rem, 7vw, 5rem);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  /* padding: 0 20px; */
}

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

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--color-accent-hover);
}

.logo--brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  max-width: min(248px, 46vw);
}

.logo--brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.logo--brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.header__cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(1rem, 3vw, 2rem);
  min-width: 0;
  position: relative;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: #fff;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

.nav__toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #1b1d20;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #1b1d20;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    top 0.2s ease,
    opacity 0.2s ease;
}

.nav__toggle-icon::before {
  top: -6px;
}

.nav__toggle-icon::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav__mobile-phone {
  display: none;
}

.nav__list a:hover {
  color: var(--color-accent-hover);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

.header__phone {
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9375rem;
}

.header__phone:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 900px) {
  .header__inner {
    justify-content: center;
    position: relative;
  }

  .header__cluster {
    flex: 0 0 auto;
    position: static;
    gap: 0;
  }

  .logo--brand {
    max-width: min(200px, 62vw);
    margin: 0 auto;
  }

  .logo--brand img {
    max-height: 44px;
  }

  .nav__toggle {
    display: inline-flex;
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 10px;
    z-index: 140;
  }

  .nav__toggle[aria-expanded="true"] {
    left: auto;
    right: 10px;
  }

  .nav__list {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff;
    backdrop-filter: none;
    padding: calc(var(--header-h) + 52px) 20px 24px;
    gap: 1rem;
    z-index: 130;
    text-align: left;
  }

  .nav__list.is-open {
    display: flex !important;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__list a {
    color: #111214;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-block;
  }

  .nav__list a:hover {
    color: var(--color-accent);
    box-shadow: none;
  }

  .header__phone {
    display: none;
  }

  .nav__mobile-phone {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }

  .nav__mobile-phone a {
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 700;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: #111;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #111;
  box-shadow: 0 10px 24px rgba(230, 184, 0, 0.24);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: rgba(230, 184, 0, 0.12);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 640px);
  display: flex;
  align-items: center;
  padding: var(--section-space) 0;
  overflow: visible;
  background-color: var(--color-bg-muted);
}

.hero__bg {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 400px);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero__text {
  min-width: 0;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: none;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--color-text-muted);
  max-width: 42ch;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__aside {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* Лифт: современный панорамный стиль, цикл дверей; при hover / focus — открыты */
.hero-lift {
  --lift-door-cycle: 6s;
  /* Референс: темный металл + теплое дерево */
  --lift-chrome: linear-gradient(155deg, #3e3830 0%, #27221d 42%, #161311 100%);
  --lift-frame: #35261c;
  --lift-wall-cream: #dfd7cb;
  width: 100%;
  max-width: 392px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(
      120% 80% at 50% 8%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 58%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    url("../textures/metall.jpg") center / 170% 170% no-repeat,
    linear-gradient(165deg, #413b35 0%, #292520 48%, #161412 100%);
  box-shadow:
    0 24px 44px rgba(24, 18, 14, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(52, 40, 30, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  outline: none;
}

.hero-lift:focus-visible {
  box-shadow:
    0 36px 72px rgba(15, 18, 24, 0.28),
    0 0 0 2px var(--color-accent),
    0 0 0 4px #fff;
}

.hero-lift__header {
  padding: 12px 14px 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, transparent 44%),
    url("../textures/metall.jpg") center / 180% 180% no-repeat,
    linear-gradient(180deg, #403a34 0%, #25211d 100%);
  border-bottom: 1px solid rgba(22, 17, 13, 0.72);
}

.hero-lift__display--hall {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 10px 12px 11px;
  background:
    radial-gradient(
      ellipse 140% 90% at 50% 0%,
      rgba(76, 84, 94, 0.22) 0%,
      transparent 58%
    ),
    linear-gradient(165deg, #11151c 0%, #0a0d12 52%, #0d1117 100%);
  border: 1px solid rgba(0, 0, 0, 0.65);
  border-radius: 10px;
  box-shadow:
    inset 0 2px 24px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-lift__display-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-lift__display-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.hero-lift__brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
  max-width: min(158px, 58%);
  object-fit: contain;
  object-position: left center;
  opacity: 1;
}

.hero-lift__display-clock {
  font-size: 0.625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(218, 181, 122, 0.9);
  text-shadow: none;
}

.hero-lift__display-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 18px);
}

.hero-lift__display-floor {
  font-size: clamp(0.88rem, 2.5vw, 1.05rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 241, 248, 0.95);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.08);
  animation: none;
}

.hero-lift__display-dir {
  display: none;
}

.hero-lift__arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  opacity: 1;
  filter: none;
}

.hero-lift__arrow--up {
  border-bottom: 10px solid var(--color-accent);
  animation: hero-lift-arrow-pulse var(--lift-door-cycle)
    cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.hero-lift__arrow--down {
  border-top: 10px solid rgba(120, 128, 140, 0.55);
}

.hero-lift__arrow--dim {
  opacity: 0.35;
}

.hero-lift__display-floor--wide {
  font-size: clamp(1.625rem, 6vw, 2.25rem);
  letter-spacing: -0.04em;
}

.hero-lift__arrow--up.hero-lift__arrow--lit {
  animation: none;
  opacity: 1;
  border-bottom-color: var(--color-accent);
  filter: drop-shadow(0 0 10px rgba(230, 184, 0, 0.65));
}

.hero-lift__arrow--up.hero-lift__arrow--dim {
  animation: none;
  opacity: 0.35;
  filter: none;
  border-bottom-color: rgba(120, 128, 140, 0.55);
}

.hero-lift__arrow--down.hero-lift__arrow--lit {
  opacity: 1;
  border-top-color: var(--color-accent);
  filter: drop-shadow(0 0 10px rgba(230, 184, 0, 0.65));
}

.hero-lift__arrow--down.hero-lift__arrow--dim {
  opacity: 0.35;
  border-top-color: rgba(120, 128, 140, 0.55);
  filter: none;
}

.hero-lift--no-auto-cycle .hero-lift__door--left,
.hero-lift--no-auto-cycle .hero-lift__door--right {
  animation: none !important;
}

.hero-lift--no-auto-cycle .hero-lift__display-floor,
.hero-lift--no-auto-cycle .hero-lift__display-text,
.hero-lift--no-auto-cycle .hero-lift__cop-display {
  animation: none !important;
}

.hero-lift--no-auto-cycle .hero-lift__arrow--up {
  animation: none !important;
}

.hero-lift--trip .hero-lift__cop-pad {
  pointer-events: none;
}

button.hero-lift__cop-num {
  margin: 0;
  padding: 0;
  font: inherit;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button.hero-lift__cop-key--call {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button.hero-lift__cop-num:focus,
button.hero-lift__cop-key--call:focus {
  outline: none;
}

button.hero-lift__cop-num:focus-visible,
button.hero-lift__cop-key--call:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@keyframes hero-lift-floor-glow {
  0%,
  14% {
    opacity: 0.65;
    color: #9aa0ac;
    text-shadow: none;
  }

  38%,
  50% {
    opacity: 1;
    color: #f7f8fb;
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 48px rgba(230, 184, 0, 0.2);
  }

  74%,
  100% {
    opacity: 0.65;
    color: #9aa0ac;
    text-shadow: none;
  }
}

@keyframes hero-lift-arrow-pulse {
  0%,
  14% {
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(230, 184, 0, 0.2));
  }

  38%,
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(230, 184, 0, 0.65));
  }

  74%,
  100% {
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(230, 184, 0, 0.2));
  }
}

.hero-lift__display-text {
  margin: 0;
  text-align: center;
  font-size: clamp(0.625rem, 1.65vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: hero-lift-sign var(--lift-door-cycle)
    cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: opacity, filter;
}

/* Авто-цикл: табло синхронно с дверями; при наведении — те же тайминги в JS */
@keyframes hero-lift-sign {
  0%,
  14% {
    opacity: 0.18;
    color: #2a2418;
    text-shadow: none;
    filter: brightness(0.35) saturate(0.4);
  }

  38%,
  50% {
    opacity: 1;
    color: #ffeb7a;
    filter: none;
    text-shadow:
      0 0 6px rgba(230, 184, 0, 1),
      0 0 18px rgba(230, 184, 0, 0.55),
      0 0 28px rgba(255, 210, 100, 0.35);
  }

  74%,
  100% {
    opacity: 0.18;
    color: #2a2418;
    text-shadow: none;
    filter: brightness(0.35) saturate(0.4);
  }
}

/* Яркость табло при наведении синхронизируется с дверями в main.js */

.hero-lift__body {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  gap: 0;
  height: 468px;
  min-height: 468px;
  background:
    radial-gradient(
      120% 70% at 50% 0%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
    url("../textures/metall.jpg") center / 165% 165% no-repeat,
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 26%,
      transparent 74%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    var(--lift-chrome);
}

.hero-lift__jamb {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
    radial-gradient(
      120% 70% at 50% -10%,
      rgba(255, 210, 150, 0.06) 0%,
      transparent 52%
    ),
    url("../textures/wood.jpg") center / 180px auto repeat,
    linear-gradient(90deg, #6d4127 0%, #53311d 44%, #2f1c12 100%);
  box-shadow:
    inset 5px 0 10px rgba(26, 16, 10, 0.22),
    inset 1px 0 0 rgba(255, 235, 200, 0.15);
}

.hero-lift__jamb--right {
  box-shadow:
    inset -5px 0 12px rgba(0, 0, 0, 0.12),
    inset -1px 0 0 rgba(255, 255, 255, 0.26);
}

.hero-lift__well {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, transparent 42%),
    url("../textures/metall.jpg") center / 165% 165% no-repeat,
    linear-gradient(180deg, #4a4239 0%, #2f2924 52%, #1f1a17 100%);
  border-left: 1px solid rgba(22, 17, 13, 0.55);
  border-right: 1px solid rgba(22, 17, 13, 0.55);
  min-height: 0;
}

.hero-lift__lintel {
  height: 11px;
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    url("../textures/metall.jpg") center / 170% 170% no-repeat,
    linear-gradient(180deg, #534b41 0%, #383028 45%, #26211b 100%);
  border-bottom: 1px solid rgba(20, 16, 12, 0.62);
  box-shadow:
    0 2px 6px rgba(10, 8, 6, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-lift__bay {
  flex: 1;
  display: flex;
  min-height: 0;
  background: var(--lift-wall-cream);
}

.hero-lift__opening {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  background:
    url("../textures/marble-light.svg") center / 300px 300px repeat,
    linear-gradient(180deg, #f6f0e8 0%, #e9e0d3 56%, #ddd2c4 100%);
  overflow: hidden;
}

.hero-lift__opening-photo {
  position: absolute;
  inset: 6px 6px 8px;
  width: calc(100% - 12px);
  height: calc(100% - 14px);
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 6px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  filter: saturate(1.02) contrast(1.03);
  transform: translateZ(0);
  z-index: 0;
}

/* Автоподстановка фото лифта из папки assets/elevator */
[data-hero-lift-visual="photo"][data-elevator-photo="1"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator1.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="2"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator2.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="3"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator3.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="4"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator4.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="5"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator5.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="6"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator6.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="7"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator7.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="8"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator8.jpg");
}

[data-hero-lift-visual="photo"][data-elevator-photo="9"]
  .hero-lift__opening-photo {
  content: url("../elevator/elevator9.jpg");
}

[data-hero-lift-visual="photo"] .hero-lift__throat,
[data-hero-lift-visual="photo"] .hero-lift__cabin {
  display: none;
}

[data-hero-lift-visual="photo"] .hero-lift__opening {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #3f3933 0%, #2a2622 46%, #332f2c 90%);
}

/* В режиме фото: двери должны быть поверх изображения */
[data-hero-lift-visual="photo"] .hero-lift__door-track {
  position: absolute;
  inset: 6px 6px 8px;
  z-index: 3;
  pointer-events: none;
}

[data-hero-lift-visual="photo"] .hero-lift__door {
  z-index: 4;
}

.hero-lift__throat {
  position: absolute;
  inset: 6px 6px 8px;
  border-radius: 6px;
  border: 2px solid rgba(90, 72, 58, 0.55);
  background: linear-gradient(
    180deg,
    rgba(255, 252, 248, 0.35) 0%,
    rgba(210, 195, 180, 0.25) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 8px 24px rgba(80, 60, 45, 0.12);
  z-index: 0;
  pointer-events: none;
}

.hero-lift__cabin {
  position: absolute;
  inset: 12px 10px 14px;
  z-index: 1;
  container-type: size;
  container-name: lift-cabin;
  /* Рамка проёма; объём — внутри .hero-lift__cabin-scene */
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.035) 2px,
      rgba(255, 255, 255, 0.035) 3px
    ),
    linear-gradient(175deg, #2a2830 0%, #1a1820 38%, #121018 100%);
  border: 1px solid #0f1014;
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 8px 6px 10px;
  box-sizing: border-box;
  transition: background 0.55s ease;
}

/* Кабина: пять граней, перспектива вглубь (без декора и «примеров») */
.hero-lift__cabin-scene {
  flex: 1 1 auto;
  min-height: clamp(52px, 13.5cqh, 88px);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(
      ellipse 140% 90% at 50% 0%,
      rgba(255, 235, 190, 0.18) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 120% 90% at 50% 0%,
      rgba(80, 120, 180, 0.16) 0%,
      transparent 60%
    ),
    linear-gradient(165deg, #0d1018 0%, #06080d 55%, #050608 100%);
}

.hero-lift__cabin-pit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  transform: perspective(760px) rotateX(2.2deg);
}

.hero-lift__cabin-face {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/*
  Коробка в перспективе (стыковка по общим углам):
  - потолок: (0,0) → (30,18) → (70,18) → (100,0)
  - задняя стена: (30,18) → (70,18) → (70,66) → (30,66)
  - пол: (0,100) → (30,66) → (70,66) → (100,100)
  - стены: слева (0,0)-(30,18)-(30,66)-(0,100), справа (70,18)-(100,0)-(100,100)-(70,66)
*/

/* Задняя стенка */
.hero-lift__cabin-face--back {
  z-index: 1;
  clip-path: polygon(30% 18%, 70% 18%, 70% 66%, 30% 66%);
  background: linear-gradient(180deg, #434650 0%, #2a2c34 48%, #14161c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -24px 44px rgba(0, 0, 0, 0.5);
}

.hero-lift__cabin-face--back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 120% 70% at 50% 0%,
      rgba(255, 245, 220, 0.22) 0%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(255, 220, 160, 0.12) 0%,
      transparent 34%,
      transparent 68%,
      rgba(0, 0, 0, 0.22) 100%
    );
}

.hero-lift__cabin-face--back::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 19%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4d9df 0%, #8a9098 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0;
}

/* Пол — плоскость к дальней стене */
.hero-lift__cabin-face--floor {
  z-index: 3;
  clip-path: polygon(0% 100%, 30% 66%, 70% 66%, 100% 100%);
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.22) 42%,
      transparent 88%
    ),
    linear-gradient(175deg, #cfc6bd 0%, #8a8076 55%, #5c544c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-lift__cabin-face--floor::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Сетка пола: ярче спереди, гаснет к задней стене */
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.26) 0px,
      rgba(255, 255, 255, 0.26) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2) 0px,
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.22) 55%,
      rgba(0, 0, 0, 0.62) 100%
    );
  opacity: 0.82;
  pointer-events: none;
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  transform: perspective(320px) rotateX(46deg) translateY(6%);
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.65) 35%,
    rgba(0, 0, 0, 0.15) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Потолок */
.hero-lift__cabin-face--ceiling {
  z-index: 2;
  clip-path: polygon(0% 0%, 100% 0%, 70% 18%, 30% 18%);
  background: linear-gradient(180deg, #2a2628 0%, #121014 100%);
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.65),
    inset 0 -2px 0 rgba(255, 200, 140, 0.05);
}

.hero-lift__cabin-face--ceiling::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Сетка круглых светильников на плоскости потолка */
  background:
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.98) 0 34%,
        rgba(44, 36, 30, 0.9) 38% 53%,
        rgba(255, 223, 165, 0.18) 59%,
        transparent 73%
      )
      43% 4.8% / 5.6% 5.6% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.98) 0 34%,
        rgba(44, 36, 30, 0.9) 38% 53%,
        rgba(255, 223, 165, 0.18) 59%,
        transparent 73%
      )
      57% 4.8% / 5.6% 5.6% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.99) 0 35%,
        rgba(44, 36, 30, 0.92) 39% 55%,
        rgba(255, 223, 165, 0.22) 61%,
        transparent 76%
      )
      37% 9.7% / 7.4% 7.4% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.99) 0 35%,
        rgba(44, 36, 30, 0.92) 39% 55%,
        rgba(255, 223, 165, 0.24) 61%,
        transparent 76%
      )
      50% 9.7% / 7.6% 7.6% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.99) 0 35%,
        rgba(44, 36, 30, 0.92) 39% 55%,
        rgba(255, 223, 165, 0.22) 61%,
        transparent 76%
      )
      63% 9.7% / 7.4% 7.4% no-repeat;
  opacity: 0.98;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.32));
}

/* Боковые стены */
.hero-lift__cabin-face--left {
  z-index: 2;
  clip-path: polygon(0% 0%, 30% 18%, 30% 66%, 0% 100%);
  background: linear-gradient(165deg, #3f414a 0%, #262832 55%, #1a1c22 100%);
  box-shadow:
    inset -10px 0 22px rgba(0, 0, 0, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.06);
}

.hero-lift__cabin-face--left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, transparent 28%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.25) 100%
    );
  pointer-events: none;
}

/* Псевдо‑перспектива текстуры: сжимает рисунок к дальней стене */
.hero-lift__cabin-face--left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform-origin: 50% 100%;
  transform: perspective(520px) rotateX(18deg) scaleY(1.08);
  opacity: 0.92;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-lift__cabin-face--right {
  z-index: 2;
  clip-path: polygon(70% 18%, 100% 0%, 100% 100%, 70% 66%);
  background: linear-gradient(165deg, #3b352f 0%, #2a241e 55%, #1a1612 100%);
  box-shadow:
    inset 10px 0 22px rgba(0, 0, 0, 0.38),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.hero-lift__cabin-face--right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.1) 0%, transparent 28%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.28) 100%
    );
  pointer-events: none;
}

/* Панель управления: рисуем прямо на правой стене (совпадает по наклону) */
.hero-lift__cabin-face--right::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  /* Верх/низ панели идут в направлении линий потолка/пола правой стены */
  clip-path: polygon(82.8% 36.5%, 91.8% 31.1%, 91.8% 84.8%, 82.8% 74.6%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 34%),
    linear-gradient(
      164deg,
      rgba(24, 30, 40, 0.95) 0%,
      rgba(10, 12, 18, 0.99) 100%
    ),
    linear-gradient(
        180deg,
        rgba(120, 180, 245, 0.32) 0%,
        rgba(8, 14, 26, 0.86) 100%
      )
      87.8% 45.2% / 5.8% 12.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      86.8% 60.6% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      90.2% 60.1% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      86.8% 67.1% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      90.2% 66.6% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      86.8% 73.6% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      90.2% 73.1% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      86.8% 79.8% / 3.9% 3.9% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 244, 198, 1) 0%,
        rgba(255, 226, 138, 0.95) 34%,
        rgba(12, 12, 14, 0.95) 48%,
        transparent 62%
      )
      90.2% 79.3% / 3.9% 3.9% no-repeat;
  border: 1px solid rgba(242, 216, 168, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 22px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0.99;
}

/* Темы этажей: только материалы граней (без текста и панелей) */
.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    url("../textures/wood-vertical.svg") center / cover no-repeat,
    linear-gradient(165deg, #4f3b2e 0%, #2a211c 100%);
}

.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    url("../textures/leather-panel.svg") center / cover no-repeat,
    linear-gradient(180deg, #5c4838 0%, #2f241d 100%);
}

.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 62%),
    url("../textures/parquet.svg") center / cover no-repeat,
    linear-gradient(175deg, #c9beb0 0%, #7a6d5f 100%);
}

.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--ceiling {
  background: linear-gradient(180deg, #2d2a28 0%, #181613 100%);
}

.hero-lift__cabin[data-cabin-theme="g"] {
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.04) 2px,
      rgba(255, 255, 255, 0.04) 3px
    ),
    linear-gradient(175deg, #3a3428 0%, #221e18 100%);
}

.hero-lift__cabin[data-cabin-theme="g"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, transparent 65%),
    repeating-linear-gradient(
      90deg,
      #ebe4d8 0px,
      #ebe4d8 6px,
      #d8d0c4 6px,
      #d8d0c4 7px
    ),
    linear-gradient(175deg, #f5efe6 0%, #c8b8a8 100%);
}

.hero-lift__cabin[data-cabin-theme="g"] .hero-lift__cabin-face--back {
  background: linear-gradient(180deg, #5a5048 0%, #3a322c 50%, #221c18 100%);
}

.hero-lift__cabin[data-cabin-theme="2"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    url("../textures/plastic-soft.svg") center / cover no-repeat,
    linear-gradient(180deg, #3a3f48 0%, #151a22 100%);
}

.hero-lift__cabin[data-cabin-theme="2"] .hero-lift__cabin-face--left {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%),
    url("../textures/plastic-soft.svg") center / cover no-repeat,
    linear-gradient(165deg, #525b66 0%, #262d36 100%);
}

.hero-lift__cabin[data-cabin-theme="2"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%),
    url("../textures/plastic-soft.svg") center / cover no-repeat,
    linear-gradient(165deg, #454a52 0%, #1a1f28 100%);
}

.hero-lift__cabin[data-cabin-theme="2"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 62%),
    url("../textures/terrazzo.svg") center / cover no-repeat,
    linear-gradient(175deg, #d8d4cc 0%, #8f8c86 100%);
}

.hero-lift__cabin[data-cabin-theme="2"] .hero-lift__cabin-face--ceiling::after {
  opacity: 0.98;
}

.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--ceiling {
  background: linear-gradient(180deg, #2d251f 0%, #17120f 100%);
}

.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    url("../textures/fabric-weave.svg") center / cover no-repeat,
    linear-gradient(180deg, #4a3a30 0%, #241b15 100%);
}

.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%),
    url("../textures/wood-vertical.svg") center / cover no-repeat,
    linear-gradient(165deg, #4a3a30 0%, #241b15 100%);
}

.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%),
    url("../textures/tile-mosaic.svg") center / cover no-repeat,
    linear-gradient(175deg, #a9967f 0%, #4a3c2f 100%);
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
    url("../textures/metal-brushed.svg") center / cover no-repeat,
    linear-gradient(180deg, #4c535c 0%, #20262d 100%);
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    url("../textures/metal-brushed.svg") center / cover no-repeat,
    linear-gradient(165deg, #4c5560 0%, #1e242b 100%);
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 62%),
    url("../textures/marble-light.svg") center / cover no-repeat,
    linear-gradient(175deg, #b7bec8 0%, #6f7884 100%);
}

.hero-lift__cabin[data-cabin-theme="5"] {
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 3px
    ),
    linear-gradient(175deg, #e8e8ec 0%, #c8c8d0 100%);
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--back {
  background: linear-gradient(180deg, #ececee 0%, #d0d0d8 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 -12px 24px rgba(0, 0, 0, 0.08);
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.12) 0%, transparent 68%),
    url("../textures/marble-light.svg") center / cover no-repeat,
    linear-gradient(175deg, #ffffff 0%, #d8d8e0 100%);
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 36%),
    url("../textures/wood-vertical.svg") center / cover no-repeat,
    linear-gradient(165deg, #f2f2f4 0%, #c8c8d0 50%, #a8a8b0 100%);
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--ceiling {
  background: linear-gradient(180deg, #f8f8fa 0%, #e4e4e8 100%);
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--ceiling::after {
  /* Световая панель как в светлых референсах */
  background: radial-gradient(
    ellipse 30% 38% at 50% 10%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.65) 55%,
    transparent 78%
  );
  opacity: 0.95;
}

.hero-lift__cabin[data-cabin-theme="5"] .hero-lift__cabin-face--right::after {
  background-color: rgba(242, 244, 248, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--ceiling::after {
  opacity: 0.94;
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--right::after {
  border-color: rgba(210, 225, 245, 0.3);
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--ceiling::after {
  opacity: 0.93;
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--right::after {
  border-color: rgba(245, 210, 130, 0.34);
}

.hero-lift__cabin[data-cabin-theme="6"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    url("../textures/leather-panel.svg") center / cover no-repeat,
    linear-gradient(180deg, #5a4038 0%, #3a2820 60%, #1c1410 100%);
}

.hero-lift__cabin[data-cabin-theme="6"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 58%),
    url("../textures/parquet.svg") center / cover no-repeat,
    linear-gradient(175deg, #5a5048 0%, #2a2420 100%);
}

.hero-lift__cabin[data-cabin-theme="6"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="6"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 38%),
    url("../textures/wood-slats.svg") center / cover no-repeat,
    linear-gradient(165deg, #4a3a30 0%, #241b15 100%);
}

.hero-lift__cabin[data-cabin-theme="6"] .hero-lift__cabin-face--ceiling::after {
  opacity: 0.98;
}

.hero-lift__cabin[data-cabin-theme="7"] {
  background: linear-gradient(175deg, #2a2c30 0%, #181a1e 100%);
}

.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
    url("../textures/metal-ribbed.svg") center / cover no-repeat,
    linear-gradient(180deg, #2a2c30 0%, #111318 100%);
}

.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%),
    url("../textures/metal-ribbed.svg") center / cover no-repeat,
    linear-gradient(165deg, #2a2c30 0%, #121418 100%);
}

.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, transparent 58%),
    url("../textures/tile-mosaic.svg") center / cover no-repeat,
    linear-gradient(175deg, #4a4a50 0%, #14161c 100%);
}

.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--ceiling {
  background: linear-gradient(180deg, #2a2c30 0%, #0f1116 100%);
}

.hero-lift__cabin[data-cabin-theme="7"] .hero-lift__cabin-face--ceiling::after {
  opacity: 0.98;
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    url("../textures/leather-panel.svg") center / cover no-repeat,
    linear-gradient(180deg, #3a3842 0%, #1a1820 50%, #0e0c12 100%);
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%),
    url("../textures/pol3.jpg") center / cover no-repeat,
    linear-gradient(175deg, #1c1a22 0%, #0a0810 100%);
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--left,
.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--right {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 36%),
    url("../textures/wood-vertical.svg") center / cover no-repeat,
    linear-gradient(165deg, #4b4036 0%, #221a14 100%);
}

.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--ceiling::after {
  /* Контурный теплый свет */
  background:
    radial-gradient(
      ellipse 42% 46% at 50% 9%,
      rgba(255, 230, 176, 0.6) 0%,
      transparent 78%
    ),
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.98) 0 34%,
        rgba(44, 36, 30, 0.9) 38% 53%,
        rgba(255, 223, 165, 0.2) 59%,
        transparent 73%
      )
      43% 4.8% / 5.6% 5.6% no-repeat,
    radial-gradient(
        circle,
        rgba(255, 251, 238, 0.98) 0 34%,
        rgba(44, 36, 30, 0.9) 38% 53%,
        rgba(255, 223, 165, 0.2) 59%,
        transparent 73%
      )
      57% 4.8% / 5.6% 5.6% no-repeat;
  opacity: 0.96;
}

/* Перила в премиальных/классических темах */
.hero-lift__cabin[data-cabin-theme="1"] .hero-lift__cabin-face--back::before,
.hero-lift__cabin[data-cabin-theme="3"] .hero-lift__cabin-face--back::before,
.hero-lift__cabin[data-cabin-theme="8"] .hero-lift__cabin-face--back::before {
  opacity: 0.95;
}

/* Неоновые вертикальные линии в современных темах */
.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--left {
  box-shadow:
    inset -10px 0 22px rgba(0, 0, 0, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset 2px 0 0 rgba(148, 216, 255, 0.38);
}

.hero-lift__cabin[data-cabin-theme="4"] .hero-lift__cabin-face--right {
  box-shadow:
    inset 10px 0 22px rgba(0, 0, 0, 0.38),
    inset -1px 0 0 rgba(255, 255, 255, 0.05),
    inset -2px 0 0 rgba(148, 216, 255, 0.38);
}

.hero-lift__cabin[data-cabin-theme="-1"] .hero-lift__cabin-face--left {
  box-shadow:
    inset -10px 0 22px rgba(0, 0, 0, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset 2px 0 0 rgba(255, 238, 178, 0.35);
}

.hero-lift__cabin[data-cabin-theme="-1"] .hero-lift__cabin-face--right {
  box-shadow:
    inset 10px 0 22px rgba(0, 0, 0, 0.38),
    inset -1px 0 0 rgba(255, 255, 255, 0.05),
    inset -2px 0 0 rgba(255, 238, 178, 0.35);
}

.hero-lift__cabin[data-cabin-theme="9"] .hero-lift__cabin-face--back {
  background: linear-gradient(180deg, #5a5048 0%, #3a3028 50%, #201810 100%);
}

.hero-lift__cabin[data-cabin-theme="-1"] .hero-lift__cabin-face--back {
  background: linear-gradient(180deg, #4a6070 0%, #2a4050 50%, #152028 100%);
}

.hero-lift__cabin[data-cabin-theme="-1"] .hero-lift__cabin-face--floor {
  background:
    linear-gradient(to top, rgba(20, 50, 70, 0.25) 0%, transparent 62%),
    repeating-linear-gradient(
      90deg,
      #b8d0e4 0px,
      #b8d0e4 5px,
      #98b8d0 5px,
      #98b8d0 6px
    ),
    linear-gradient(175deg, #d8ecf8 0%, #88a8c0 100%);
}

.hero-lift__skirting {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: linear-gradient(180deg, #9a9a9e 0%, #5c5c62 100%);
  border-top: 1px solid #2a2a2e;
  z-index: 2;
}

/* Панель вызова: экран + сенсорная клавиатура */
.hero-lift__cop {
  width: 76px;
  flex-shrink: 0;
  padding: 8px 7px 10px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    radial-gradient(
      120% 68% at 50% -8%,
      rgba(255, 210, 150, 0.05) 0%,
      transparent 54%
    ),
    url("../textures/wood.jpg") center / 165px auto repeat,
    linear-gradient(180deg, #7b5d46 0%, #634935 54%, #4f392c 100%);
  border-left: 1px solid rgba(60, 42, 30, 0.45);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.16),
    -4px 0 12px rgba(45, 35, 28, 0.18);
  color: rgba(245, 245, 248, 0.92);
}

.hero-lift__cop-bezel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  min-height: auto;
  align-items: stretch;
  justify-content: flex-start;
}

.hero-lift__cop-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px 9px;
  border-radius: 8px;
  background:
    radial-gradient(
      ellipse 100% 90% at 50% 0%,
      rgba(255, 214, 95, 0.22) 0%,
      transparent 60%
    ),
    linear-gradient(165deg, #060a12 0%, #03060d 100%);
  border: 1px solid rgba(255, 214, 95, 0.28);
  box-shadow:
    inset 0 2px 18px rgba(0, 0, 0, 0.82),
    inset 0 0 0 1px rgba(255, 230, 140, 0.1);
}

.hero-lift__cop-screen-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 225, 130, 0.78);
  text-align: center;
}

.hero-lift__cop-screen-hint {
  font-size: 0.5rem;
  font-weight: 500;
  color: rgba(235, 210, 140, 0.86);
  text-align: center;
  line-height: 1.2;
}

.hero-lift__cop-display {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff2c4;
  text-shadow:
    0 0 12px rgba(255, 214, 95, 0.68),
    0 0 28px rgba(255, 214, 95, 0.35);
  animation: hero-lift-cop-readout var(--lift-door-cycle)
    cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes hero-lift-cop-readout {
  0%,
  14% {
    opacity: 0.45;
    color: #6a5c30;
    text-shadow: none;
  }

  38%,
  50% {
    opacity: 1;
    color: #fff7e0;
    text-shadow:
      0 0 12px rgba(230, 184, 0, 0.55),
      0 0 28px rgba(230, 184, 0, 0.25);
  }

  74%,
  100% {
    opacity: 0.45;
    color: #6a5c30;
    text-shadow: none;
  }
}

.hero-lift__cop-pad {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 2px;
  align-content: start;
  justify-items: stretch;
  min-height: auto;
  padding: 3px 2px 3px;
  border-radius: 7px;
  background:
    radial-gradient(
      ellipse 100% 90% at 50% 0%,
      rgba(98, 189, 255, 0.16) 0%,
      transparent 62%
    ),
    linear-gradient(165deg, #060a12 0%, #03060d 100%);
  border: 1px solid rgba(89, 164, 255, 0.2);
  box-shadow:
    inset 0 2px 14px rgba(0, 0, 0, 0.78),
    inset 0 0 0 1px rgba(144, 205, 255, 0.06);
}

.hero-lift__cop-num {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 20px;
  max-height: 20px;
  aspect-ratio: 1;
  font-size: 0.5625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff2c4;
  text-shadow: 0 0 8px rgba(255, 214, 95, 0.3);
  border-radius: 5px;
  background: linear-gradient(180deg, #1a2430 0%, #0f1720 100%);
  border: 1px solid rgba(255, 214, 95, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 168, 0.16),
    0 0 8px rgba(255, 214, 95, 0.22);
}

.hero-lift__cop-num--span2 {
  grid-column: span 2;
  aspect-ratio: auto;
  max-width: 100%;
}

.hero-lift__cop-num--accent {
  background: linear-gradient(180deg, #2f2212 0%, #21170a 100%);
  border-color: rgba(255, 211, 98, 0.55);
  color: #ffe7a9;
  text-shadow: 0 0 8px rgba(255, 204, 77, 0.35);
}

.hero-lift__cop-num--active {
  border-color: rgba(255, 214, 95, 0.9);
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 214, 95, 0.65);
  background: linear-gradient(180deg, #4b3a14 0%, #2e230c 100%);
  box-shadow:
    inset 0 0 14px rgba(255, 214, 95, 0.24),
    inset 0 1px 0 rgba(255, 242, 194, 0.22),
    0 0 0 1px rgba(255, 214, 95, 0.45),
    0 0 16px rgba(255, 214, 95, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-lift__cop-num--accent.hero-lift__cop-num--active {
  background: linear-gradient(180deg, #6e5318 0%, #48360f 100%);
  color: #ffffff;
  border-color: rgba(255, 214, 95, 0.95);
  box-shadow:
    inset 0 0 16px rgba(255, 211, 98, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 214, 95, 0.65),
    0 0 18px rgba(255, 214, 95, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-lift__cop-key {
  border-radius: 4px;
  background: linear-gradient(180deg, #243140 0%, #121d2a 100%);
  border: 1px solid rgba(255, 214, 95, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 236, 168, 0.12);
}

.hero-lift__cop-key--wide {
  grid-column: span 3;
  width: 100%;
  min-height: 7px;
  height: 7px;
  opacity: 0.95;
  border-radius: 3px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 214, 95, 0.15) 0%,
      rgba(255, 214, 95, 0.45) 50%,
      rgba(255, 214, 95, 0.15) 100%
    ),
    linear-gradient(180deg, #0e1825 0%, #08111a 100%);
  border-color: rgba(255, 214, 95, 0.35);
  box-shadow:
    inset 0 0 10px rgba(255, 214, 95, 0.25),
    0 0 8px rgba(255, 214, 95, 0.22);
}

.hero-lift__cop-key--call {
  grid-column: span 3;
  width: 100%;
  min-height: 8px;
  height: 8px;
  margin-top: 2px;
  border-radius: 3px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 214, 95, 0.15) 0%,
      rgba(255, 214, 95, 0.42) 50%,
      rgba(255, 214, 95, 0.15) 100%
    ),
    linear-gradient(180deg, #1c1a11 0%, #12100a 100%);
  border-color: rgba(255, 214, 95, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 168, 0.32),
    inset 0 0 10px rgba(255, 214, 95, 0.25),
    0 0 8px rgba(255, 214, 95, 0.2);
}

/* Двери: стекло в тонкой раме, панорамный вид */
.hero-lift__door-track {
  position: absolute;
  inset: 6px 6px 8px;
  z-index: 5;
  pointer-events: none;
}

.hero-lift__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  overflow: hidden;
  border-radius: 4px;
  backface-visibility: hidden;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.2) 0%, transparent 42%),
    linear-gradient(
      180deg,
      rgba(130, 124, 116, 0.18) 0%,
      rgba(62, 56, 50, 0.32) 100%
    ),
    url("../textures/metall.jpg") center / 160% 160% no-repeat,
    linear-gradient(98deg, #72695e 0%, #453f38 35%, #897f72 55%, #4b443d 100%);
  border: 1px solid rgba(18, 15, 12, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(34, 28, 22, 0.55),
    inset -6px 0 14px rgba(255, 255, 255, 0.03),
    inset 2px 0 10px rgba(0, 0, 0, 0.26),
    3px 0 12px rgba(0, 0, 0, 0.18);
}

.hero-lift__door::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 9%;
  bottom: 16px;
  border-radius: 2px;
  border: 1px solid rgba(22, 18, 14, 0.68);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.hero-lift__door::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 14px;
  width: 3px;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(180, 170, 156, 0.35),
    transparent
  );
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.08);
}

.hero-lift__door--left {
  left: 0;
  transform: translateX(0);
  transform-origin: right center;
  animation: hero-lift-door-l var(--lift-door-cycle)
    cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.hero-lift__door--left::after {
  right: -1px;
}

.hero-lift__door--right {
  right: 0;
  transform: translateX(0);
  transform-origin: left center;
  animation: hero-lift-door-r var(--lift-door-cycle)
    cubic-bezier(0.42, 0, 0.58, 1) infinite;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    inset 6px 0 14px rgba(255, 255, 255, 0.1),
    inset -2px 0 10px rgba(0, 0, 0, 0.08),
    -3px 0 12px rgba(0, 0, 0, 0.12);
}

.hero-lift__door--right::after {
  left: -1px;
}

/* Длинные фазы открытия/закрытия (~1.2 с каждая при цикле 6 с) + плавная кривая */
@keyframes hero-lift-door-l {
  0%,
  14% {
    transform: translateX(0);
  }

  38%,
  50% {
    transform: translateX(calc(-100% - 2px));
  }

  74%,
  100% {
    transform: translateX(0);
  }
}

@keyframes hero-lift-door-r {
  0%,
  14% {
    transform: translateX(0);
  }

  38%,
  50% {
    transform: translateX(calc(100% + 2px));
  }

  74%,
  100% {
    transform: translateX(0);
  }
}

/* Плавное открытие при наведении/фокусе — через JS (WAAPI), см. main.js */
.hero-lift__sill {
  flex-shrink: 0;
  height: 14px;
  background:
    url("../textures/marble-light.svg") center / cover no-repeat,
    linear-gradient(180deg, #e8ded0 0%, #cfbea8 46%, #b69f84 100%);
  border-top: 2px solid rgba(45, 35, 26, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-lift__footer {
  height: 12px;
  background:
    url("../textures/marble-light.svg") center / cover no-repeat,
    linear-gradient(180deg, #e7ddcf 0%, #cdbca6 100%);
  border-top: 1px solid rgba(52, 38, 26, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .hero-lift__door--left,
  .hero-lift__door--right {
    animation: none !important;
  }

  .hero-lift__door--left {
    transform: translateX(calc(-100% - 2px)) !important;
  }

  .hero-lift__door--right {
    transform: translateX(calc(100% + 2px)) !important;
  }

  .hero-lift__display-text,
  .hero-lift__display-floor,
  .hero-lift__cop-display {
    animation: none !important;
  }

  .hero-lift__arrow--up {
    animation: none !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 8px rgba(230, 184, 0, 0.5)) !important;
  }

  .hero-lift__display-text {
    opacity: 1 !important;
    color: #ffeb7a !important;
    filter: none !important;
    text-shadow:
      0 0 6px rgba(230, 184, 0, 1),
      0 0 18px rgba(230, 184, 0, 0.55),
      0 0 28px rgba(255, 210, 100, 0.35) !important;
  }

  .hero-lift__display-floor {
    opacity: 1 !important;
    color: #f7f8fb !important;
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 48px rgba(230, 184, 0, 0.2) !important;
  }

  .hero-lift__cop-display {
    opacity: 1 !important;
    color: #fff7e0 !important;
    text-shadow:
      0 0 12px rgba(230, 184, 0, 0.55),
      0 0 28px rgba(230, 184, 0, 0.25) !important;
  }

  .hero-lift__cabin-pit,
  .hero-lift__cabin-face--floor,
  .hero-lift__cabin-face--ceiling,
  .hero-lift__cabin-face--left,
  .hero-lift__cabin-face--right,
  .hero-lift__cabin-face--back {
    transform: none !important;
  }

  .hero-lift__cabin-scene {
    perspective: none;
  }

  .hero-lift__cabin-face--floor {
    clip-path: none;
    opacity: 0.92;
  }
}

@media (max-width: 1100px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    gap: 1.5rem;
  }

  .hero-lift {
    max-width: 360px;
  }

  .hero-lift__body {
    height: 420px;
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 1.05rem;
    border-radius: 18px;
  }

  .hero__aside {
    order: 1;
    justify-self: center;
    max-width: 400px;
    width: 100%;
  }

  .hero__text {
    order: 0;
  }

  .hero-lift {
    max-width: min(100%, 368px);
  }

  .hero-lift__body {
    height: 400px;
    min-height: 400px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 0;
    padding: 2rem 0 2.5rem;
  }

  .hero__content {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .hero h1 {
    margin-bottom: 0.875rem;
  }

  .hero__lead {
    margin-bottom: 1.25rem;
    max-width: none;
  }

  .hero-lift {
    max-width: min(100%, 340px);
  }

  .hero-lift__body {
    height: 372px;
    min-height: 372px;
  }
}

@media (max-width: 380px) {
  .hero-lift__body {
    grid-template-columns: 11px minmax(0, 1fr) 11px;
    height: 340px;
    min-height: 340px;
  }

  .hero-lift__cop {
    width: 62px;
    padding: 7px 5px 8px 6px;
  }

  .hero-lift__cop-num {
    min-height: 19px;
    max-height: 19px;
    font-size: 0.5rem;
  }

  .hero-lift__display-text {
    letter-spacing: 0.1em;
  }

  .hero-lift__cabin {
    padding: 6px 4px 12px;
  }

  .hero-lift__cabin-scene {
    min-height: 48px;
  }
}

/* Очень низкая высота вьюпорта (мобильный ландшафт) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-lift__body {
    height: 320px;
    min-height: 320px;
  }

  .hero-lift__cabin {
    padding: 6px 4px 30px;
  }

  .hero-lift__cabin-scene {
    min-height: 46px;
  }
}
/* Sections */
.section {
  padding: var(--section-space) 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

/* Diplomas */
.diploms-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.diplom-card {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 0.7rem;
  align-items: center;
  min-height: 138px;
  padding: 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.diplom-card:hover {
  border-color: var(--color-accent);
  box-shadow:
    0 0 0 1px var(--color-accent),
    0 12px 28px rgba(16, 24, 40, 0.08);
  transform: translateY(-2px);
}

.diplom-card__main {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  align-self: stretch;
}

.diplom-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 26px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111;
  background: var(--color-accent);
}

.diplom-card__title {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;
}

.diplom-card__hint {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.diplom-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: 78px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #eef1f5;
  box-shadow: none;
  pointer-events: none;
}

.diplom-card__preview object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .diploms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .diploms-grid {
    grid-template-columns: 1fr;
  }

  .diplom-card {
    grid-template-columns: 1fr 70px;
  }

  .diplom-card__preview {
    width: 70px;
    height: 96px;
  }
}

.section__head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: var(--color-accent);
}

.section__sub {
  margin: 0.85rem 0 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.section__head--light h2,
.section__head--light .section__sub {
  color: #fff;
}

.section__head--light .section__sub {
  opacity: 0.9;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: 2.5rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.about__geo {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about__geo h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.geo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.geo-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.geo-list li:last-child {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

/* Stats — визуальный акцент */
.section--stats {
  padding: 3rem 0;
  background: var(--color-text);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(230, 184, 0, 0.35);
  border-radius: var(--radius);
  position: relative;
  min-height: 138px;
}

.stats__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.stats__value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0.92;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Activity cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow:
    0 0 0 1px var(--color-accent),
    0 12px 28px rgba(16, 24, 40, 0.08);
  transform: translateY(-2px);
}

.card--icon {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  color: var(--color-text);
}

.card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Activity flip cards (same vibe as partner logo flip) */
.activity-flip {
  border-radius: var(--radius);
  perspective: 1000px;
}

.activity-card {
  width: 100%;
  min-height: 152px;
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 640ms ease-in-out;
  outline: none;
  will-change: transform;
}

.activity-card.is-flipped,
.activity-flip:hover .activity-card,
.activity-flip:focus-within .activity-card {
  transform: rotateY(180deg);
}

.activity-card__front,
.activity-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
  box-sizing: border-box;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.activity-card__front {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.activity-card__front h3 {
  margin: 0;
}

.activity-card__front .card__icon {
  margin-inline: auto;
}

.activity-card__back {
  transform: rotateY(180deg);
  gap: 0.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  text-align: left;
  align-items: flex-start;
  justify-content: center;
}

.activity-card__list {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.28;
  color: rgba(17, 17, 17, 0.78);
  overflow: visible;
  max-height: none;
  list-style: disc;
  list-style-position: outside;
}

.activity-card__list li {
  margin: 0 0 0.2rem;
}

.activity-card__list li:last-child {
  margin-bottom: 0;
}

.activity-card:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 214, 10, 0.26),
    0 10px 24px rgba(16, 24, 40, 0.12);
}

.activity-flip:hover .activity-card__front,
.activity-flip:hover .activity-card__back,
.activity-flip:focus-within .activity-card__front,
.activity-flip:focus-within .activity-card__back,
.activity-card.is-flipped .activity-card__front,
.activity-card.is-flipped .activity-card__back {
  border-color: var(--color-accent);
  box-shadow:
    0 0 0 1px var(--color-accent),
    0 12px 28px rgba(16, 24, 40, 0.08);
}

@media (max-width: 900px) {
  .cards--activity {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Factories carousel */
.logo-marquee {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0.8rem 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 120px);
  pointer-events: none;
  z-index: 2;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f5f5f7 0%, rgba(245, 245, 247, 0) 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f5f5f7 0%, rgba(245, 245, 247, 0) 100%);
}

.logo-marquee__lane {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 26s linear infinite;
}

.logo-marquee:hover .logo-marquee__lane {
  animation-play-state: paused;
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  margin: 0;
  padding: 0 clamp(1rem, 3vw, 1.6rem);
  list-style: none;
}

.logo-marquee__item {
  width: clamp(148px, 19vw, 228px);
  height: clamp(104px, 11vw, 132px);
  border-radius: 12px;
  perspective: 1000px;
  overflow: hidden;
}

.logo-marquee__item img {
  display: block;
  filter: none;
  opacity: 1;
}

/* Как раньше: логотип занимает карточку и масштабируется по contain */
.logo-card__front img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo-card {
  width: 100%;
  height: 100%;
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.logo-marquee__item:hover .logo-card,
.logo-marquee__item:focus-within .logo-card {
  transform: rotateY(180deg);
}

.logo-card__front,
.logo-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  backface-visibility: hidden;
  border-radius: 11px;
  border: 1px solid var(--color-border);
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.logo-card__front {
  background: #fff;
  /* чуть меньше поля — логотип визуально крупнее при той же карточке */
  padding: 0.5rem 0.72rem;
}

.logo-card__back {
  transform: rotateY(180deg);
  text-align: center;
  color: rgba(17, 17, 17, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  gap: 0.35rem;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0.7rem 0.85rem;
}

.logo-card__back strong {
  font-size: 0.94rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(17, 17, 17, 0.92);
  flex-shrink: 0;
}

.logo-card__back span {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: rgba(17, 17, 17, 0.78);
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.logo-card:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 214, 10, 0.26),
    0 10px 24px rgba(16, 24, 40, 0.12);
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.05rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
}

.timeline__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #111;
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(230, 184, 0, 0.36);
}

.timeline__body {
  padding-top: 0.2rem;
}

.timeline__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.timeline__body p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.section--muted .timeline__body {
  background: transparent;
}

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

/* Object grid */
.object-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.object-card {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  font: inherit;
  color: inherit;
}

.object-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.object-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.object-card__cap {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
}

.object-note {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .object-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Compare slider */
.compare {
  max-width: 900px;
  margin: 0 auto;
}

.compare__inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
  user-select: none;
  touch-action: none;
}

.compare__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare__img--under {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.compare__overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  max-width: 100%;
  z-index: 1;
}

.compare__overlay .compare__img--top {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.compare__handle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: var(--color-accent);
  cursor: ew-resize;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare__grip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.compare__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Advantages — минималистичные карточки с иконками */
.advantages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.advantage-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.advantage-card:hover {
  border-color: rgba(230, 184, 0, 0.45);
  box-shadow:
    0 8px 28px rgba(16, 24, 40, 0.07),
    0 0 0 1px rgba(230, 184, 0, 0.2);
  transform: translateY(-2px);
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(230, 184, 0, 0.12);
  color: #111214;
}

.advantage-card__icon svg {
  display: block;
}

.advantage-card__body {
  min-width: 0;
}

.advantage-card__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text);
}

.advantage-card__body p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.advantage-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .advantages {
    grid-template-columns: 1fr;
  }

  .advantage-card--wide {
    grid-column: auto;
  }
}

/* Нормативы и СРО */
.norms {
  max-width: 920px;
  margin: 0 auto;
}

.norms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.norms-card {
  margin: 0;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.05);
}

.norms-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--color-bg-muted);
  color: var(--color-text);
}

.norms-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.norms-card__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.norms-card__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text);
}

.norms-card__list li {
  margin-bottom: 0.5rem;
}

.norms-card__list li:last-child {
  margin-bottom: 0;
}

.norms-card--accent {
  background: linear-gradient(165deg, #fafafa 0%, #fff 45%);
  border-color: rgba(230, 184, 0, 0.35);
  box-shadow:
    0 8px 28px rgba(16, 24, 40, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.norms-card--accent .norms-card__icon {
  background: rgba(230, 184, 0, 0.18);
  color: #111214;
}

.norms-card__placeholder {
  margin: 0;
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border-radius: 10px;
  border: 1px dashed var(--color-border);
}

.norms-card__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .norms__grid {
    grid-template-columns: 1fr;
  }
}

/* Contacts */
.section--contacts {
  background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #eee;
  padding-bottom: 0;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacts__row {
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.contacts__row span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.contacts__row a {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.contacts__row a:hover {
  color: var(--color-accent);
}

.contacts__qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contacts__qr span {
  font-size: 0.8125rem;
  opacity: 0.8;
}

.section--contacts .btn--primary {
  margin-top: 0.5rem;
}

.form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.form__field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form__field span {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.form textarea[name="comment"] {
  resize: none;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  min-height: 5.5rem;
  max-height: 5.5rem;
  overflow-y: auto;
}

.form__note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  opacity: 0.65;
}

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

.form__status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.form__status.is-success {
  color: #b8f5c8;
}

.form__status.is-error {
  color: #ffc9c9;
}

@media (max-width: 768px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }
}

.map-wrap {
  margin: 0 -20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  aspect-ratio: 1280 / 448;
  max-height: 448px;
  overflow: hidden;
}

.map {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

/* Footer */
.footer {
  background: #111;
  color: #cfcfcf;
  padding: 1.25rem 0;
  font-size: 0.875rem;
}

.footer--mega {
  background: linear-gradient(160deg, #2a2a2a 0%, #141414 100%);
  color: #eee;
  padding: 2rem 0 1.25rem;
}

.footer__wrap {
  display: grid;
  gap: 1.25rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: stretch;
}

.footer__form {
  height: 100%;
}

.footer__form-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.footer__form-head h3 {
  margin: 0;
  text-align: center;
}

.footer__form-sub {
  margin: 0;
  opacity: 0.85;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
}

.footer__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  min-height: 360px;
}

.footer--mega .map {
  min-height: 360px;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 25% 20% 55%;
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__company {
  min-width: 0;
  margin: 0;
  justify-self: stretch;
}

.footer__company-row {
  margin: 0 0 0.35rem;
  display: flex;
  gap: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #d9d9d9;
}

.footer__company-row:last-child {
  margin-bottom: 0;
}

.footer__company-row span {
  opacity: 0.78;
}

.footer__company-row strong {
  font-weight: 600;
  color: #fff;
}

.footer__company-row--address {
  display: flex;
  gap: 0.45rem;
  white-space: nowrap;
}

.footer__contacts {
  display: grid;
  gap: 0.55rem;
  align-items: start;
  justify-items: start;
  min-width: 210px;
}

.footer__row {
  margin: 0;
  display: grid;
  gap: 0.2rem;
}

.footer__row span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.footer__strong {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: center;
}

.footer__logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  max-width: min(360px, 92vw);
}

.footer__logo-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
}

.footer__copy {
  margin: 0;
  grid-column: 1 / -1;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #b8b8b8;
  text-align: center;
}

.footer__phone {
  font-weight: 600;
  color: #ccc;
  white-space: nowrap;
}

.footer a {
  color: #e6e6e6;
}

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

@media (max-width: 980px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
  }
  .footer__contacts {
    justify-content: flex-start;
  }
  .footer__map,
  .footer--mega .map {
    min-height: 280px;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: min(90vh, 800px);
  overflow-y: auto;
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
}

.modal__close:hover {
  background: var(--color-accent);
}

.modal__title {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.25rem;
  padding-right: 2rem;
}

.modal__meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.modal__img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.modal__desc {
  margin: 0;
  font-size: 0.9375rem;
}

.modal__ba {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.modal__ba h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.modal-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-ba figure {
  margin: 0;
}

.modal-ba img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.modal-ba figcaption {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 520px) {
  .modal-ba {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero h1 {
    text-align: center;
  }

  .hero__lead {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .footer__wrap,
  .footer__top,
  .footer__bottom {
    min-width: 0;
    justify-items: center;
    text-align: center;
  }

  .footer__contacts {
    min-width: 0;
    justify-items: center;
    text-align: center;
  }

  .footer__row,
  .footer__company-row {
    min-width: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer__strong,
  .footer__company-row strong,
  .footer__company-row--address {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer__logo-link {
    max-width: min(300px, 100%);
    margin-inline: auto;
  }

  .footer__company,
  .footer__copy {
    text-align: center;
  }
}
