/* ==========================================================================
   Музей ретро-автомобилей «Артефакт 500» — Главная дизайн-система
   ========================================================================== */

/* ==========================================================================
   Локальные шрифты музея «Артефакт 500» (полная автономность, без внешних запросов)
   ========================================================================== */

/* Oswald */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Manrope */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* JetBrains Mono */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono/fonts/webfonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono/fonts/webfonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Arial Narrow */
@font-face {
  font-family: 'Arial Narrow';
  src: url('../fonts/Arial/ArialNarrow.woff') format('woff'),
    url('../fonts/Arial/ArialNarrow.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arial Narrow';
  src: url('../fonts/Arial/ArialNarrow-Bold.woff') format('woff'),
    url('../fonts/Arial/ArialNarrow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arial Narrow';
  src: url('../fonts/Arial/ArialNarrow-Italic.woff') format('woff'),
    url('../fonts/Arial/ArialNarrow-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Arial Narrow';
  src: url('../fonts/Arial/ArialNarrow-BoldItalic.woff') format('woff'),
    url('../fonts/Arial/ArialNarrow-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Arial */
@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial/ArialMT.woff') format('woff'),
    url('../fonts/Arial/ArialMT.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial/Arial-BoldMT.woff') format('woff'),
    url('../fonts/Arial/Arial-BoldMT.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial/Arial-ItalicMT.woff') format('woff'),
    url('../fonts/Arial/Arial-ItalicMT.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial/Arial-BoldItalicMT.woff') format('woff'),
    url('../fonts/Arial/Arial-BoldItalicMT.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial/Arial-Black.woff') format('woff'),
    url('../fonts/Arial/Arial-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Цветовая палитра */
  --asphalt: #0A0A0B;
  --graphite: #131316;
  --graphite-2: #1C1C21;
  --bone: #F0EDE4;
  --smoke: #9A958A;
  --brass: #D2A24C;
  --brass-dim: #8A6C33;
  --brass-light: #E3B665;
  --signal: #C8402E;
  --line: rgba(240, 237, 228, 0.10);
  --line-strong: rgba(240, 237, 228, 0.20);
  --veil-35: rgba(10, 10, 11, 0.35);
  --veil-55: rgba(10, 10, 11, 0.55);
  --veil-75: rgba(10, 10, 11, 0.75);
  --veil-85: rgba(10, 10, 11, 0.85);

  /* Типографика */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Размеры и скругления */
  --max-w-container: 1440px;
  --radius-card: 4px;
  --radius-btn: 2px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   Сброс и базовые элементы
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: clip;
}

body {
  background-color: var(--asphalt);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--brass);
  color: var(--asphalt);
}

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

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

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.05;
}

/* Плёночная зернистость */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 90;
  pointer-events: none;
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  animation: grain-shift 1s steps(8) infinite;
}

@keyframes grain-shift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  12.5% {
    transform: translate(-4%, -6%);
  }

  25% {
    transform: translate(3%, -8%);
  }

  37.5% {
    transform: translate(-6%, 3%);
  }

  50% {
    transform: translate(6%, 6%);
  }

  62.5% {
    transform: translate(-3%, 8%);
  }

  75% {
    transform: translate(8%, -3%);
  }

  87.5% {
    transform: translate(-8%, -4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Утилиты и типографика
   -------------------------------------------------------------------------- */
.container-museum {
  width: 100%;
  max-width: var(--max-w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container-museum {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1280px) {
  .container-museum {
    padding-left: 80px;
    padding-right: 80px;
  }
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
}

/* Акцентные слова в заголовках (чистый тег <span> без классов для удобства админки) */
h1 span:not([class]),
h2 span:not([class]),
h3 span:not([class]),
.mission-heading span:not([class]),
.restoration-heading span:not([class]),
.about-hero-title span:not([class]),
.events-features-title span:not([class]),
.roadmap-heading span:not([class]),
.zaly-heading span:not([class]),
.contacts-title span:not([class]) {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: var(--brass);
}

.text-brass {
  color: var(--brass);
}

a.text-brass {
  transition: color 0.2s ease;
}

a.text-brass:hover {
  color: var(--brass-light);
}

.text-brass-dim {
  color: var(--brass-dim);
}

.text-smoke {
  color: var(--smoke);
}

.text-bone {
  color: var(--bone);
}

.text-signal {
  color: var(--signal);
}

.underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.border-line {
  border-color: var(--line);
}

.border-t-line {
  border-top: 1px solid var(--line);
}

.border-b-line {
  border-bottom: 1px solid var(--line);
}

.border-y-line {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Универсальная система анимаций появления при скролле (Scroll Reveals)
   -------------------------------------------------------------------------- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

.reveal-fade-in.is-revealed {
  opacity: 1;
  will-change: auto;
}

.reveal-scale {
  opacity: 0;
  transform: scale(1.35) rotate(0deg);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 0.55;
  transform: scale(1) rotate(-12deg);
}

/* Задержки каскадного появления */
.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

.delay-5 {
  transition-delay: 0.40s;
}

.delay-6 {
  transition-delay: 0.48s;
}

/* Универсальная кинетическая типографика (.kinetic-line-*, .kinetic-word-*, .kinetic-char-*) */
.kinetic-line-wrap {
  display: block;
  overflow: hidden;
  line-height: inherit;
  padding-bottom: 0.08em;
}

.kinetic-line-inner {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
  will-change: transform, opacity;
}

.kinetic-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-right: 0.24em;
}

.kinetic-word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

.kinetic-char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}

.kinetic-char-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

/* Срабатывание при reveals (.is-revealed) или при hero (.hero-loaded) */
.is-revealed .kinetic-line-inner,
.is-revealed .kinetic-word-inner,
.is-revealed .kinetic-char-inner,
.hero-loaded .kinetic-line-inner,
.hero-loaded .kinetic-word-inner,
.hero-loaded .kinetic-char-inner {
  transform: translateY(0%) !important;
  opacity: 1 !important;
  will-change: auto !important;
}


.museum-photo {
  filter: saturate(0.9) contrast(1.05);
}

/* Кнопки */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius-btn);
  background-color: var(--brass);
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--asphalt);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--brass-light);
  transform: translateY(-2px);
  color: var(--asphalt);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius-btn);
  border: 1px solid var(--brass-dim);
  background-color: transparent;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--brass);
  background-color: rgba(210, 162, 76, 0.08);
  color: var(--brass);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 11px;
}

/* Блик фары */
.headlight-sweep {
  position: relative;
  overflow: hidden;
}

.headlight-sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(240, 237, 228, 0.16) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.headlight-sweep:hover::before {
  transform: translateX(100%);
}

/* Киноплёнка и эффекты */
.film-perforation {
  height: 10px;
  width: 100%;
  background-image: radial-gradient(circle, var(--asphalt) 2.5px, transparent 3px);
  background-size: 22px 10px;
  background-position: center;
  background-repeat: repeat-x;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse-dot-anim 1.6s ease-in-out infinite;
}

@keyframes pulse-dot-anim {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.25;
    transform: scale(0.85);
  }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background-color: var(--asphalt);
  height: 64px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--smoke);
  animation: ticker-anim 45s linear infinite;
}

.ticker-wrap.has-links:hover .ticker-track,
.ticker-wrap:has(a):hover .ticker-track {
  animation-play-state: paused;
}

.ticker-half {
  display: inline-flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
}

.ticker-name {
  padding: 0 18px;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ticker-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ticker-name a:hover,
.ticker-name a:focus-visible,
a.ticker-name:hover,
a.ticker-name:focus-visible {
  color: var(--brass);
}

.ticker-diamond {
  color: var(--brass);
  font-size: 10px;
}

@keyframes ticker-anim {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.road-line {
  position: relative;
  height: 1px;
  background: var(--line);
  width: 100%;
  margin-top: 56px;
}

.road-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 12px rgba(210, 162, 76, 0.85);
  animation: road-dot-anim 8s linear infinite;
}

@keyframes road-dot-anim {
  0% {
    left: 0;
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  94% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 6px);
    opacity: 0;
  }
}

@keyframes scroll-drop {
  0% {
    transform: translateY(-100%);
  }

  60%,
  100% {
    transform: translateY(100%);
  }
}

.animate-scroll-drop {
  animation: scroll-drop 2.2s ease-in-out infinite;
}

@keyframes scroll-chevron-pulse {

  0%,
  34% {
    transform: translateY(0);
    filter: none;
  }

  50%,
  64% {
    transform: translateY(2px);
    filter: drop-shadow(0 2px 8px rgba(210, 162, 76, 0.75)) drop-shadow(0 0 5px rgba(210, 162, 76, 0.40));
  }

  80% {
    transform: translateY(0.5px);
    filter: drop-shadow(0 1px 3px rgba(210, 162, 76, 0.25));
  }

  92%,
  100% {
    transform: translateY(0);
    filter: none;
  }
}

/* --------------------------------------------------------------------------
   Шапка (Header) и Мега-меню
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 50;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-diamond {
  display: block;
  width: 14px;
  height: 14px;
  background-color: var(--brass);
  transform: rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-logo:hover .logo-diamond {
  transform: rotate(135deg);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

.brand-logo-flame {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.brand-logo-flame-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo-flame:hover .brand-logo-flame-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(210, 162, 76, 0.45));
}

@media (max-width: 767px) {
  .brand-logo-flame-img {
    height: 42px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-list > li,
.nav-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-list > li > a,
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.desktop-nav .nav-list > li > a::after,
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brass);
  transition: width 0.3s ease;
}

.desktop-nav .nav-list > li > a:hover,
.desktop-nav .nav-list > li > a.active,
.desktop-nav .nav-list > li.active > a,
.nav-link:hover,
.nav-link.active,
.nav-item:hover > .nav-link {
  color: var(--brass);
}

.desktop-nav .nav-list > li > a:hover::after,
.desktop-nav .nav-list > li > a.active::after,
.desktop-nav .nav-list > li.active > a::after,
.nav-link:hover::after,
.nav-link.active::after,
.nav-item:hover > .nav-link::after {
  width: 100%;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  transform: translateY(10px);
  width: 760px;
  max-width: calc(100vw - 40px);
  background: rgba(19, 19, 22, 0.96);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
  margin-top: 12px;
}

.nav-item:hover .dropdown-menu,
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.dropdown-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.dropdown-all-link:hover {
  color: var(--brass);
}

.dropdown-all-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown-all-link:hover .dropdown-all-arrow {
  transform: translateX(3px);
}

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

.dropdown-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.dropdown-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.dropdown-card-num {
  width: 28px;
  flex-shrink: 0;
}

.dropdown-card-img {
  width: 96px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--graphite-2);
}

.dropdown-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.dropdown-card:hover .dropdown-card-img img {
  transform: scale(1.1);
  opacity: 1;
}

.dropdown-card-info {
  min-width: 0;
}

.dropdown-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.dropdown-card:hover .dropdown-card-title {
  color: var(--brass);
}

.dropdown-card-sub {
  font-size: 9px;
  margin-top: 2px;
}

.dropdown-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone);
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-card:hover .dropdown-card-title {
  color: var(--brass);
}

.dropdown-card-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--smoke);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta-btn {
  padding: 10px 22px;
  font-size: 12px;
  display: none;
}

@media (min-width: 640px) {
  .header-cta-btn {
    display: inline-flex;
  }
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
}

@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: var(--bone);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.active .burger-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger-btn.active .burger-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--asphalt);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 24px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list .level-0 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list .level-0 li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list .level-0 a,
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
  transition: color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.mobile-nav-list .level-0 a:hover,
.mobile-nav-list .level-0 a:active,
.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--brass);
}

.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-cta-btn {
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Главная: Hero секция и Кинетическая анимация
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  /*margin-top: -80px;*/
  padding-top: 120px;
  padding-bottom: 64px;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform-style: flat;
  transform-style: flat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateZ(0);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-loaded .hero-poster {
  transform: scale(1.0) translateZ(0);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.55) 60%, var(--asphalt) 100%);
  transform: translateZ(0);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 60%, rgba(210, 162, 76, 0.10), transparent 70%);
  transform: translateZ(0);
}

.hero-content {
  position: relative;
  z-index: 2;
  transform: translateZ(0);
}

.hero-offer-parallax {
  will-change: transform;
}

/* Кинетический заголовок H1 */
.kinetic-title {
  font-size: clamp(2.6rem, 10.5vw, 9.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--bone);
}

.hero-title .kinetic-char-wrap {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.06em;
  vertical-align: bottom;
}

.hero-title .kinetic-char-inner {
  display: inline-block;
  transform: translateY(110%) rotate(5deg);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

.hero-loaded .hero-title .kinetic-char-inner {
  transform: translateY(0%) rotate(0deg) !important;
  opacity: 1 !important;
}

/* Анимация появления элементов оффера */
.hero-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}

.hero-loaded .hero-top-meta {
  opacity: 1;
}

.hero-meta-loc {
  color: rgba(240, 237, 228, 0.85);
}

.hero-status-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-reveal-sub {
  transition-delay: 0.5s;
}

.hero-reveal-desc {
  transition-delay: 0.65s;
}

.hero-reveal-actions {
  transition-delay: 0.8s;
}

.hero-loaded .hero-reveal {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  margin-top: 14px;
}

.hero-desc {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.85);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.8s ease 1.4s;
}

.hero-loaded .hero-scroll-indicator {
  opacity: 1;
}

@media (min-width: 768px) {
  .hero-scroll-indicator {
    display: flex;
  }
}

.scroll-text {
  font-size: 10px;
  transform: rotate(90deg);
}

.scroll-drop-wrap {
  display: block;
  width: 4px;
  height: 64px;
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--line);
  margin-top: 5px;
}

.scroll-drop-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--brass);
  border-radius: 9999px;
}

.hero-scroll-chevron {
  display: block;
  margin-top: -10px;
  animation: scroll-chevron-pulse 2.2s ease-in-out infinite;
  will-change: transform, filter;
}

.hero-scroll-chevron path {
  stroke: #D2A24C;
  stroke-width: 3px;
}

/* --------------------------------------------------------------------------
   Одометры
   -------------------------------------------------------------------------- */
.odometers-section {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.odometers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.odometer-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 12px 36px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
}

.odometer-item.has-divider {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

@media (max-width: 1023px) {
  .odometer-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .odometers-grid {
    grid-template-columns: 1.1fr 1.1fr 1fr 1.35fr;
  }

  .about-odometers-grid,
  .border-y-line .odometers-grid {
    grid-template-columns: 1fr 1fr 1.5fr 1.1fr;
  }

  .odometer-item {
    border-bottom: none !important;
    padding: 56px 20px 56px 0;
    gap: 12px;
  }

  .odometer-item:not(:first-child) {
    border-left: 1px solid var(--line);
    padding-left: 28px;
  }

  .odometer-label {
    white-space: nowrap;
  }

  .about-odometers-grid .odometer-item:last-child .odometer-label,
  .border-y-line .odometer-item:last-child .odometer-label {
    white-space: normal;
    line-height: 1.35;
  }
}

.odometer-value {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--font-display);
  color: var(--brass);
  font-size: clamp(2.2rem, 4.4vw, 5rem);
  font-weight: 700;
  line-height: 1;
  max-width: 100%;
}

.odometer-char {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

.odometer-label {
  color: var(--smoke);
  font-size: 0.68rem;
  line-height: 1.35;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Страница «Коллекция» (12 залов)
   -------------------------------------------------------------------------- */
.collection-hero {
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 0;
}

.collection-tag {
  margin-top: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.collection-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.0;
  max-width: 16ch;
}

.collection-desc {
  margin-top: 24px;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.collection-hero + .zaly-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* --------------------------------------------------------------------------
   Сетка 12 залов (Категории на главной)
   -------------------------------------------------------------------------- */
.zaly-section {
  padding-top: clamp(96px, 14vh, 160px);
  padding-bottom: clamp(96px, 14vh, 160px);
}

.zaly-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .zaly-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.zaly-tag {
  margin-bottom: 16px;
}

.zaly-heading {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.05;
}

.zaly-desc {
  max-width: 400px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--smoke);
}

.zaly-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .zaly-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-card-featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .zaly-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card-link {
  position: relative;
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--graphite);
}

.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-card-link:hover .cat-card-img {
  transform: scale(1.07);
}

.cat-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.05) 30%, rgba(10, 10, 11, 0.55) 70%, rgba(10, 10, 11, 0.9) 100%);
}

.cat-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.cat-card-tag {
  background: rgba(10, 10, 11, 0.5);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}

.cat-card-en {
  color: rgba(240, 237, 228, 0.5);
  font-size: 10px;
}

.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px 24px;
}

.cat-card-title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.1;
}

.cat-card-line {
  display: block;
  height: 2px;
  width: 0;
  background: var(--brass);
  margin-top: 8px;
  transition: width 0.5s ease;
}

.cat-card-link:hover .cat-card-line {
  width: 100%;
}

.cat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 12px;
}

.cat-card-desc {
  font-size: 14px;
  line-height: 1.4;
  max-width: 70%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--smoke);
}

.cat-card-count {
  flex-shrink: 0;
}

.cat-card-action {
  margin-top: 12px;
  display: block;
  transform: translateY(8px);
  color: var(--brass);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cat-card-link:hover .cat-card-action {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Киноплёнка (CinemaStrip)
   -------------------------------------------------------------------------- */
.cinema-section {
  position: relative;
  overflow: hidden;
  background: rgba(19, 19, 22, 0.4);
}

.cinema-inner {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.cinema-header {
  margin-bottom: 40px;
}

.cinema-tag {
  margin-bottom: 16px;
}

.cinema-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
}

/* Мобильная версия (< 768px): нативный горизонтальный скролл свайпом */
.cinema-track {
  display: flex;
  gap: 24px;
  padding: 0 20px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.cinema-track::-webkit-scrollbar {
  display: none;
}

.cinema-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 85vw;
  max-width: 480px;
  /* height: 60vh; */
  min-height: 490px;
  max-height: 620px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--graphite);
  scroll-snap-align: center;
}

/* Десктопная версия (>= 768px): GSAP ScrollTrigger + плавный Drag */
@media (min-width: 768px) {
  .cinema-track {
    width: max-content;
    padding-left: 80px;
    padding-right: 80px;
    overflow: visible;
    scroll-snap-type: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .cinema-track img,
  .cinema-track a {
    -webkit-user-drag: none;
    user-drag: none;
  }

  .cinema-track.is-dragging {
    cursor: grabbing;
  }
}

.cinema-card .film-perforation {
  opacity: 0.6;
}

.cinema-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.cinema-card-num {
  font-size: 10px;
}

.cinema-card-rec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.cinema-card-rec .pulse-dot {
  width: 6px;
  height: 6px;
}

.cinema-card-img-wrap {
  position: relative;
  margin: 0 20px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
}

.cinema-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

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

.cinema-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, 0.75) 100%);
}

.cinema-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 10, 11, 0.6);
  padding: 4px 8px;
  font-size: 10px;
  backdrop-filter: blur(4px);
}

.cinema-card-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cinema-card-film {
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.2s;
}

.cinema-card:hover .cinema-card-film {
  color: var(--brass);
}

.cinema-card-car {
  margin-top: 6px;
  font-size: 10px;
}

.cinema-card-note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--smoke);
}

/* --------------------------------------------------------------------------
   Манифест
   -------------------------------------------------------------------------- */
.manifesto-section {
  padding-top: clamp(96px, 14vh, 160px);
  padding-bottom: clamp(96px, 14vh, 160px);
  text-align: center;
}

.manifesto-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-quote {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.35;
  color: var(--bone);
}

.manifesto-author {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   CTA Баннер «Открытие скоро»
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.72);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 96px 20px;
}

.cta-banner-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 0.95;
}

.cta-banner-desc {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(240, 237, 228, 0.85);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-form-wrap {
  max-width: 560px;
  margin: 40px auto 0;
}

.cta-quick-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .cta-quick-form {
    flex-direction: row;
  }
}

.cta-quick-input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 4px;
  color: var(--bone);
  outline: none;
  font-size: 16px;
  transition: border-color 0.3s;
}

.cta-quick-input:focus {
  border-bottom-color: var(--brass);
}

.cta-quick-submit {
  flex-shrink: 0;
}

.cta-success-seal {
  display: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 20px 32px;
  border: 2px solid var(--brass);
  background: rgba(10, 10, 11, 0.8);
  gap: 16px;
  align-items: center;
}

.cta-success-diamond {
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border: 2px solid var(--brass);
  flex-shrink: 0;
}

.cta-success-text {
  text-align: left;
}

.cta-success-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brass);
}

.cta-success-sub {
  display: block;
  font-size: 14px;
  color: rgba(240, 237, 228, 0.85);
}

.form-note {
  margin-top: 20px;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Страница «О Музее»
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--asphalt);
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
}

.about-hero-wordmark {
  position: absolute;
  left: 72%;
  top: 71%;
  transform: translate(-50%, -50%);
  user-select: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bone);
  opacity: 0.04;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.0;
  max-width: 14ch;
}

.about-hero-desc {
  margin-top: 32px;
  max-width: 640px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Анимация появления 5 строк в Hero на странице «О музее» (при загрузке)
   -------------------------------------------------------------------------- */
.about-hero-line-1 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.1s;
  will-change: opacity, transform;
}

.about-hero-line-4 .kinetic-line-inner {
  white-space: nowrap;
}

.about-hero-line-5 {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.58s;
  will-change: opacity, transform;
}

.hero-loaded .about-hero-line-1,
.hero-loaded .about-hero-line-5 {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.mission-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.mission-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 56px;
  line-height: 1.1;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.mission-card {
  border-top: 2px solid var(--line);
  padding-top: 32px;
}

.mission-card-num {
  display: inline-block;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-30px);
  will-change: opacity, transform;
}

.mission-card.is-revealed .mission-card-num {
  animation: missionNumIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.45s;
}

.mission-card.delay-1.is-revealed .mission-card-num {
  animation-delay: 0.45s;
}

.mission-card.delay-2.is-revealed .mission-card-num {
  animation-delay: 0.65s;
}

.mission-card.delay-3.is-revealed .mission-card-num {
  animation-delay: 0.85s;
}

@keyframes missionNumIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.mission-card-title {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 16px;
}

.mission-card-text {
  margin-top: 16px;
  line-height: 1.65;
}

.founders-section {
  padding-top: clamp(96px, 14vh, 160px);
  padding-bottom: clamp(96px, 14vh, 160px);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .founders-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: flex-start;
  }
}

.founder-photo-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--graphite);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card:hover .founder-photo {
  transform: scale(1.05);
}

.founder-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.4) 55%, transparent 100%);
  pointer-events: none;
}

.founder-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}

@media (min-width: 768px) {
  .founder-info {
    padding: 36px;
  }
}

.founder-name {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 12px;
  line-height: 1.2;
}

.founder-bio {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
}

/* Карточки сообществ АНО «ЭКА», «ЭМА» и Генерального партнёра */
.communities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 0px;
}

@media (min-width: 768px) {
  .communities-list {
    padding-top: 0px;
  }
}

.community-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px;
  transition: border-color 0.3s;
}

@media (min-width: 768px) {
  .community-card {
    padding: 34px;
  }
}

.community-card:hover {
  border-color: var(--line-strong);
}

.community-badge {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid rgba(210, 162, 76, 0.4);
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brass);
}

.community-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--bone);
}

.community-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--smoke);
}

.restoration-section {
  background: rgba(19, 19, 22, 0.4);
  padding: clamp(96px, 14vh, 160px) 0;
  position: relative;
}

.restoration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 1024px) {
  .restoration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: start;
  }
}

.restoration-sticky {
  position: static;
}

@media (min-width: 1024px) {
  .restoration-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
    z-index: 10;
  }
}

.restoration-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
}

.restoration-heading span {
  font-size: 0.9em;
}

.restoration-desc {
  margin-top: 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.2em);
  line-height: 1.6;
  max-width: 46ch;
}

.restoration-btn {
  margin-top: 40px;
}

.restoration-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.restoration-card {
  padding-bottom: 48px;
}

.restoration-card-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.restoration-num {
  font-size: 14px;
}

.restoration-title {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone);
}

.restoration-text {
  margin-top: 16px;
  max-width: 52ch;
  line-height: 1.65;
}

.restoration-photo-wrap {
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  background: var(--graphite);
}

.restoration-photo {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
}

.hall-space-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.hall-space-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hall-space-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hall-space-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.65);
  z-index: 1;
}

.hall-space-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hall-space-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hall-space-section.is-revealed .hall-space-img {
  transform: scale(1);
}

.hall-space-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  max-width: 22ch;
  line-height: 1.05;
}

.hall-space-desc {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.85);
}

.quote-cta-section {
  padding: clamp(96px, 14vh, 160px) 0;
  text-align: center;
}

.quote-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-cta-text {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--bone);
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   Страница «События»
   -------------------------------------------------------------------------- */
.events-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
}

.events-hero-tag {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.events-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.events-hero-title span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: var(--brass);
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.05;
}

.events-hero-title-main {
  display: block;
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  letter-spacing: 0.02em;
}

.events-hero-title-sub {
  display: block;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.05;
}

.events-hero-desc {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.85);
}

/* Форма первого экрана — смещена строго влево */
.events-hero-form-wrap {
  max-width: 560px;
  margin-top: 40px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.events-hero-form-wrap .cta-quick-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.events-hero-form-wrap .cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .events-hero-form-wrap .cta-form-row {
    flex-direction: row;
    align-items: center;
  }
}

.events-hero-form-wrap .cta-quick-input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.events-hero-form-wrap .cta-quick-input:focus {
  border-bottom-color: var(--brass);
  box-shadow: 0 1px 0 var(--brass);
}

.events-hero-form-wrap .cta-quick-input::placeholder {
  color: var(--smoke);
}

.events-hero-form-wrap .cta-checkbox-label {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--smoke);
  line-height: 1.45;
  width: 100%;
  text-align: left;
}

.events-hero-form-wrap .cta-checkbox {
  margin-top: 2px;
}

.events-hero-note {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--smoke);
}

.events-features-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.events-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .events-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-feature-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--graphite);
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .event-feature-card {
    padding: 40px;
  }
}

.event-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* Фоновые автомобили, плавно проявляющиеся при наведении на карточки */
.event-feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 0.5s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.event-feature-card:hover .event-feature-card-bg {
  opacity: 0.65;
  transform: scale(1.06);
}

.event-feature-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0.35) 0%, rgba(14, 14, 17, 0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

.event-feature-card-content {
  position: relative;
  z-index: 4;
}

.event-feature-card-num {
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.event-feature-card:hover .event-feature-card-num {
  color: var(--brass);
  transform: translateX(4px);
}

.event-feature-card-title {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 20px;
  transition: color 0.3s ease;
}

.event-feature-card:hover .event-feature-card-title {
  color: #fff;
}

.event-feature-card-text {
  margin-top: 16px;
  line-height: 1.65;
}

.subscribe-agree-wrap {
  margin-top: 8px;
}

.subscribe-agree-wrap .cta-checkbox-label {
  justify-content: flex-start;
  text-align: left;
}

.roadmap-section {
  background: rgba(19, 19, 22, 0.4);
  padding: clamp(96px, 14vh, 160px) 0;
}

.roadmap-timeline {
  position: relative;
  max-width: 760px;
  padding-left: 40px;
}

@media (min-width: 768px) {
  .roadmap-timeline {
    padding-left: 56px;
  }
}

.roadmap-line {
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

@media (min-width: 768px) {
  .roadmap-line {
    left: 10px;
  }
}

.roadmap-line-active {
  position: absolute;
  left: 8px;
  top: 8px;
  height: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--brass) 0%, rgba(210, 162, 76, 0.35) 100%);
  box-shadow: 0 0 10px rgba(210, 162, 76, 0.5);
}

@media (min-width: 768px) {
  .roadmap-line-active {
    left: 10px;
  }
}

.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.roadmap-item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-item:hover {
  transform: translateX(6px);
}

.roadmap-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--asphalt);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

@media (min-width: 768px) {
  .roadmap-dot {
    left: -55px;
    width: 20px;
    height: 20px;
  }
}

.roadmap-item:hover .roadmap-dot {
  border-color: var(--brass-dim);
  transform: scale(1.15);
}

.roadmap-dot-active {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(210, 162, 76, 0.6);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .roadmap-dot-active {
    left: -55px;
    width: 20px;
    height: 20px;
  }
}

.roadmap-item:hover .roadmap-dot-active {
  transform: scale(1.2);
}

.roadmap-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--asphalt);
}

.roadmap-dot-pulse {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  background: var(--asphalt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .roadmap-dot-pulse {
    left: -55px;
    width: 20px;
    height: 20px;
  }
}

.roadmap-item:hover .roadmap-dot-pulse {
  transform: scale(1.2);
}

.roadmap-title {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 8px;
  transition: color 0.3s ease;
}

.roadmap-item:hover .roadmap-title {
  color: var(--brass);
}

.roadmap-text {
  margin-top: 12px;
  max-width: 52ch;
  line-height: 1.65;
}

.events-teasers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 12px 0;
}

@media (min-width: 768px) {
  .events-teasers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.teaser-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Исходный наклон убран */
.teaser-card.rotate-left .teaser-img-wrap,
.teaser-card.rotate-right .teaser-img-wrap {
  transform: none;
}

.teaser-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--graphite);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* При наведении: слегка приподнимаем карточку и подсвечиваем */
.teaser-card:hover .teaser-img-wrap {
  transform: translateY(-6px);
  border-color: var(--brass-dim);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

.teaser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.teaser-card:hover .teaser-img {
  transform: scale(1.07);
}

.teaser-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  transition: background 0.4s ease;
}

.teaser-card:hover .teaser-veil {
  background: rgba(10, 10, 11, 0.35);
}

.teaser-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 1px solid var(--brass-dim);
  background: rgba(10, 10, 11, 0.75);
  padding: 6px 12px;
  font-size: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-btn, 2px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.teaser-card:hover .teaser-badge {
  border-color: var(--brass);
  background: rgba(10, 10, 11, 0.9);
}

.teaser-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transition: transform 0.4s ease;
}

.teaser-card:hover .teaser-body {
  transform: translateY(-2px);
}

.teaser-title {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.3s ease;
}

.teaser-card:hover .teaser-title {
  color: #fff;
}

.teaser-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.75);
}

.subscribe-section {
  background: rgba(19, 19, 22, 0.4);
  padding: clamp(96px, 14vh, 160px) 0;
}

.subscribe-wrapper {
  max-width: 880px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 48px;
}

.subscribe-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 640px) {
  .subscribe-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.subscribe-label-text {
  display: block;
  margin-bottom: 8px;
}

.subscribe-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 4px;
  color: var(--bone);
  outline: none;
  font-size: 16px;
  transition: border-bottom-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-input:focus {
  border-bottom-color: var(--brass);
  box-shadow: 0 1px 0 var(--brass);
}

/* --------------------------------------------------------------------------
   Страница «Контакты»
   -------------------------------------------------------------------------- */
.contacts-header {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 64px;
}

.contacts-tag {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts-diamond {
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--brass);
}

.contacts-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.0;
  max-width: 16ch;
}

.contacts-desc {
  margin-top: 32px;
  max-width: 600px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
}

.contacts-grid {
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 5fr 7fr;
    gap: 40px;
  }
}

.contact-info-list {
  font-style: normal;
}

.contact-copy-btn {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.contact-copy-btn:hover {
  border-bottom-color: var(--brass-dim);
}

.contact-copy-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.contact-copy-hint {
  font-size: 10px;
  color: var(--brass-dim);
  transition: color 0.2s ease;
}

.contact-copy-btn:hover .contact-copy-hint {
  color: var(--brass);
}

.contact-copy-val {
  font-size: 18px;
  line-height: 1.6;
  color: var(--bone);
  transition: color 0.2s ease;
}

.contact-copy-btn:hover .contact-copy-val {
  color: var(--brass);
}

.contact-row {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.contact-row-last {
  padding: 28px 0;
}

.contact-email-val,
.contact-phone-val {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 8px;
  color: var(--brass);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.contact-email-val:hover,
.contact-phone-val:hover {
  color: var(--brass-light);
}

.contact-time-val {
  font-size: 18px;
  color: var(--bone);
}

.contact-time-num {
  font-family: var(--font-display);
  font-size: 20px;
}

.contact-time-note {
  font-size: 14px;
  margin-top: 4px;
  color: var(--smoke);
}

.contact-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(200, 64, 46, 0.5);
  background: rgba(200, 64, 46, 0.1);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--signal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-status-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(200, 64, 46, 0.2);
}

.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.map-wrap:hover {
  border-color: var(--brass-dim);
}

.map-img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-wrap:hover .map-img {
  transform: scale(1.03);
}

.map-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(10, 10, 11, 0.55) 100%);
  pointer-events: none;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--brass);
  animation: pulse-pin 2.2s ease-out infinite;
}

.map-pin-pulse.delay {
  border-width: 1px;
  animation-delay: 1.1s;
}

@keyframes pulse-pin {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.map-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--brass);
  box-shadow: 0 0 18px rgba(210, 162, 76, 0.9);
  transition: transform 0.3s ease;
}

.map-wrap:hover .map-pin-dot {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.15);
}

.map-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  border-radius: var(--radius-btn, 2px);
  background: rgba(10, 10, 11, 0.75);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brass);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Интерактивная карта музея (contacts2.html)
   -------------------------------------------------------------------------- */
.map-interactive-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #121215;
  aspect-ratio: 16/10;
  min-height: 400px;
  max-height: 520px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.map-interactive-wrap:hover {
  border-color: var(--brass-dim);
}

.map-interactive-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #121214;
}

/* Фильтр тёмной темы применяется именно к подложке карты Yandex (тайлам),
   как в обычном режиме, так и при открытии на весь экран (fullscreen),
   благодаря чему сам кастомный золотой маркер-ромбик и балун не инвертируются */
.map-interactive-wrap:not(.theme-normal) [class*="ground-pane"],
body:not(.map-theme-normal) [class*="fullscreen"] [class*="ground-pane"],
[class*="fullscreen"]:not(.theme-normal) [class*="ground-pane"],
body:not(.map-theme-normal) ymaps[class*="fullscreen"] [class*="ground-pane"] {
  filter: invert(90%) hue-rotate(180deg) contrast(120%) brightness(82%) saturate(70%) !important;
  transition: filter 0.4s ease;
}

.map-interactive-wrap.theme-normal [class*="ground-pane"],
body.map-theme-normal [class*="ground-pane"],
[class*="fullscreen"].theme-normal [class*="ground-pane"] {
  filter: none !important;
}

.map-interactive-wrap:not(.theme-normal) [class*="copyrights-pane"],
body:not(.map-theme-normal) [class*="fullscreen"] [class*="copyrights-pane"],
[class*="fullscreen"]:not(.theme-normal) [class*="copyrights-pane"] {
  opacity: 0.6;
  filter: invert(90%) hue-rotate(180deg);
  transition: filter 0.4s ease, opacity 0.3s ease;
}

.map-interactive-wrap.theme-normal [class*="copyrights-pane"],
body.map-theme-normal [class*="copyrights-pane"],
[class*="fullscreen"].theme-normal [class*="copyrights-pane"] {
  filter: none !important;
  opacity: 0.9;
}

.map-interactive-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid var(--line);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.map-interactive-status {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-interactive-addr {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--smoke);
  letter-spacing: 0.05em;
}

.map-theme-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  gap: 2px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-theme-btn {
  background: transparent;
  border: 0;
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 2px;
}

.map-theme-btn:hover {
  color: var(--bone);
}

.map-theme-btn.active {
  background: rgba(210, 162, 76, 0.2);
  color: var(--brass);
  font-weight: 600;
}

.map-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.map-actions-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.map-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 18, 0.7);
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  border-radius: 2px;
  cursor: pointer;
}

.map-action-link:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(210, 162, 76, 0.08);
}

.map-action-copy {
  position: relative;
}

.map-coords-hint {
  display: none;
  color: var(--brass);
  font-weight: 600;
}

.map-action-copy.copied .js-coords-text {
  display: none;
}

.map-action-copy.copied .map-coords-hint {
  display: inline;
}

/* Кастомный интерактивный маркер-ромбик с пульсацией и балуном */
.map-pin-interactive {
  position: relative;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
}

.map-pin-interactive .map-pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--brass);
  animation: pulse-pin 2.2s ease-out infinite;
  pointer-events: none;
}

.map-pin-interactive .map-pin-pulse.delay {
  border-width: 1px;
  animation-delay: 1.1s;
}

.map-pin-interactive .map-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--brass);
  box-shadow: 0 0 20px rgba(210, 162, 76, 0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.map-pin-interactive:hover .map-pin-dot,
.map-pin-interactive.is-active .map-pin-dot {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.25);
  background: #fff;
  box-shadow: 0 0 28px rgba(210, 162, 76, 1);
}

/* Всплывающий балун/тултип при наведении или клике на ромбик */
.map-marker-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(10, 10, 11, 0.96);
  border: 1px solid var(--brass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 16px rgba(210, 162, 76, 0.25);
  padding: 10px 16px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 100;
  text-align: center;
}

.map-marker-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brass);
}

.map-marker-tooltip .tooltip-title {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone);
  margin-bottom: 3px;
}

.map-marker-tooltip .tooltip-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--brass);
  letter-spacing: 0.04em;
}

/* Показ балуна при наведении или клике (класс .is-active) */
.map-pin-interactive:hover .map-marker-tooltip,
.map-pin-interactive.is-active .map-marker-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.map-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--smoke);
}

.map-caption-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--brass-dim);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Форма «Хочу на открытие» (#form)
   -------------------------------------------------------------------------- */
.contacts-form-section {
  margin-top: clamp(96px, 14vh, 160px);
  background: var(--graphite);
  scroll-margin-top: 96px;
  padding: clamp(72px, 12vh, 130px) 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contacts-form-container {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

.contacts-form-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 auto;
}

.contacts-form-desc {
  text-align: center;
  margin: 20px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 440px;
  color: var(--smoke);
}

.contacts-main-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.contacts-main-form .form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ─── Плавающий label (Floating field) как в оригинале ─── */
.field-floating {
  position: relative;
  width: 100%;
}

.field-floating .form-field-input,
.field-floating .form-field-textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 32px 0 12px 0;
  color: var(--bone);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.field-floating-textarea .form-field-textarea {
  padding-top: 28px;
  resize: none;
}

.field-floating .form-field-input:focus,
.field-floating .form-field-textarea:focus {
  border-bottom-color: var(--brass);
}

.field-floating .form-field-label {
  position: absolute;
  left: 0;
  top: 30px;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #9A958A;
  pointer-events: none;
  margin-bottom: 0;
  transform-origin: left top;
  transition: top 0.25s ease-out, font-size 0.25s ease-out, letter-spacing 0.25s ease-out, color 0.25s ease-out;
}

.field-floating-textarea .form-field-label {
  top: 28px;
}

/* Анимация: при фокусе или наличии текста label уезжает вверх (top: 0), уменьшается до 0.72rem */
.field-floating .form-field-input:focus~.form-field-label,
.field-floating .form-field-input:not(:placeholder-shown)~.form-field-label,
.field-floating .form-field-textarea:focus~.form-field-label,
.field-floating .form-field-textarea:not(:placeholder-shown)~.form-field-label,
.field-floating.is-active .form-field-label,
.field-floating.is-focused .form-field-label {
  top: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #9A958A;
}

/* При активном фокусе label меняет цвет на латунный #D2A24C */
.field-floating .form-field-input:focus~.form-field-label,
.field-floating .form-field-textarea:focus~.form-field-label,
.field-floating.is-focused .form-field-label {
  color: #D2A24C;
}

/* Ошибка валидации: красная линия и красный label, без лишних боковых/верхних бордюров */
.field-floating .form-field-input.error,
.field-floating .form-field-textarea.error,
.field-floating .form-field-input.validetta-error,
.field-floating .form-field-textarea.validetta-error,
.field-floating.has-error .form-field-input,
.field-floating.has-error .form-field-textarea {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #C8402E !important;
  box-shadow: none !important;
  outline: none !important;
}

.field-floating .form-field-input.error~.form-field-label,
.field-floating .form-field-textarea.error~.form-field-label,
.field-floating .form-field-input.validetta-error~.form-field-label,
.field-floating .form-field-textarea.validetta-error~.form-field-label,
.field-floating.has-error .form-field-label {
  color: #C8402E !important;
}

.form-chips-label,
.contacts-main-form .form-chips-label {
  display: block;
  margin-bottom: 15px;
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.chip-btn {
  display: inline-block;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.chip-btn:hover {
  border-color: rgba(210, 162, 76, 0.45);
  color: var(--bone);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.chip-btn:active {
  transform: translateY(0);
}

.chip-btn.active {
  border-color: var(--brass);
  background: var(--brass);
  color: #111113;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(210, 162, 76, 0.25);
}

.form-group-agree {
  margin-top: 4px;
}

.form-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  position: relative;
  user-select: none;
}

.form-agree-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox {
  flex: 0 0 16px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin-top: 2px;
  padding: 0 !important;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box !important;
}

.form-agree-label:hover .custom-checkbox {
  border-color: var(--brass-dim);
}

.form-agree-checkbox:checked+.custom-checkbox {
  background: var(--brass);
  border-color: var(--brass);
}

.form-agree-checkbox:checked+.custom-checkbox::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: solid #111113;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.form-agree-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--smoke);
  max-width: 450px;
}

.agree-link,
.form-agree-text a,
.cta-checkbox-text a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.agree-link:hover,
.form-agree-text a:hover,
.cta-checkbox-text a:hover {
  color: var(--brass-light);
  text-decoration-color: var(--brass-light);
}

.form-submit-wrap {
  margin-top: 8px;
  width: 100%;
}

.contacts-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(154, 149, 138, 0.7);
}

@keyframes shakeField {

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

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.shake-anim {
  animation: shakeField 0.35s ease-in-out;
}

.field-error-msg,
.agree-error-msg {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--signal);
  margin-top: 8px;
  display: block;
  animation: errFadeIn 0.25s ease-out;
}

@keyframes errFadeIn {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Латунная печать (Success State) */
.contacts-success-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 40px 0;
  text-align: center;
  animation: stampEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stampEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-stamp-circle {
  position: relative;
  display: flex;
  width: 128px;
  height: 128px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--brass);
  animation: stampRotate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stampRotate {
  0% {
    transform: scale(1.3) rotate(-8deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.stamp-circle-inner {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
}

.stamp-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stamp-rhombus {
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--brass);
}

.stamp-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.stamp-status {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}

.stamp-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--bone);
}

.stamp-title span {
  color: var(--brass);
}

.stamp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.channels-section {
  padding-top: clamp(96px, 14vh, 160px);
  padding-bottom: clamp(96px, 14vh, 160px);
}

.channels-tag {
  margin-bottom: 40px;
}

.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.channels-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .channels-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.channels-block-about {
  margin-top: 64px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--graphite);
  padding: 28px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.channel-bottom span:last-child,
.channel-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.channel-card:hover .channel-bottom span:last-child,
.channel-card:hover .channel-arrow {
  transform: translateX(6px);
  color: var(--brass-light);
}

.channel-tag {
  display: block;
  margin-bottom: 16px;
}

.channel-desc {
  line-height: 1.6;
}

.channel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel-email {
  font-size: 10px;
}

.channel-arrow {
  color: var(--brass-dim);
  transition: transform 0.3s;
}

.channel-card:hover .channel-arrow {
  color: var(--brass);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Страницы Залов (Hall)
   -------------------------------------------------------------------------- */
.hall-header {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 64px;
}

.hall-breadcrumbs {
  font-size: 10px;
  margin-bottom: 40px;
}

.hall-breadcrumbs-sep {
  margin: 0 8px;
  color: var(--brass-dim);
}

.hall-tag {
  margin-bottom: 24px;
}

.hall-hero-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

@media (min-width: 1024px) {
  .hall-hero-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.hall-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.0;
}

.hall-desc {
  max-width: 460px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  flex-shrink: 0;
}

.pearl-hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: var(--asphalt);
  margin-bottom: 60px;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform-style: flat;
  transform-style: flat;
}

@media (min-width: 768px) {
  .pearl-hero {
    height: 100vh;
    min-height: 100vh;
    margin-bottom: 0;
  }

  /* На десктопе параллаксом управляет GSAP timeline — отключаем CSS transition */
  .pearl-hero .reveal-fade-up {
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

.pearl-photo {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.pearl-veil-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.15) 45%, rgba(10, 10, 11, 0.85) 100%);
}

.pearl-veil-solid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--asphalt);
  opacity: 0.35;
}

.pearl-fx-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.pearl-top-badge {
  position: absolute;
  top: 24px;
  left: 20px;
  z-index: 4;
}

@media (min-width: 768px) {
  .pearl-top-badge {
    left: 40px;
    top: 28px;
  }
}

@media (min-width: 1280px) {
  .pearl-top-badge {
    left: 80px;
    top: 36px;
  }
}

.pearl-badge-tag {
  border: 1px solid rgba(200, 64, 46, 0.4);
  background: rgba(10, 10, 11, 0.6);
  padding: 8px 12px;
  font-size: 10px;
  backdrop-filter: blur(4px);
}

.pearl-bottom-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 4;
  padding: 0 20px 40px;
}

@media (min-width: 768px) {
  .pearl-bottom-content {
    padding: 0 40px 56px;
  }
}

@media (min-width: 1280px) {
  .pearl-bottom-content {
    padding: 0 80px 56px;
  }
}

.pearl-content-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

@media (min-width: 768px) {
  .pearl-content-flex {
    flex-direction: row;
    align-items: flex-end;
  }
}

.pearl-left-info {
  max-width: 820px;
}

.pearl-name {
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 0.98;
}

.pearl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pearl-chip {
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.4);
  padding: 6px 10px;
  font-size: 10px;
  color: rgba(240, 237, 228, 0.85);
}

.pearl-btn-story {
  margin-top: 24px;
  padding: 12px 24px;
  font-size: 12px;
}

.pearl-desktop-story {
  display: none;
  width: 400px;
  max-width: 420px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 16px;
  border-left: 2px solid var(--brass);
  background: rgba(10, 10, 11, 0.55);
  padding: 24px;
  backdrop-filter: blur(6px);
}

@media (min-width: 768px) {
  .pearl-desktop-story {
    display: flex;
  }
}

.pearl-desktop-story p:not(.mono-label),
.pearl-desktop-story > p,
.pearl-story-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.85);
}

.stars-section {
  position: relative;
  z-index: 5;
  background: var(--asphalt);
  padding-top: clamp(48px, 6vh, 80px);
  padding-bottom: clamp(64px, 10vh, 120px);
}

.stars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .stars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.star-card {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--graphite);
}

.star-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.star-card-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.08) 35%, rgba(10, 10, 11, 0.5) 68%, rgba(10, 10, 11, 0.88) 100%);
}

.star-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.star-badge-tag {
  background: rgba(10, 10, 11, 0.5);
  padding: 4px 8px;
  font-size: 10px;
  backdrop-filter: blur(4px);
}

.star-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px 24px;
}

.star-body-inner {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.star-bar {
  display: block;
  width: 2px;
  background: var(--brass);
  flex-shrink: 0;
}

.star-text-col {
  flex: 1;
  min-width: 0;
}

.star-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.1;
}

.star-meta {
  color: rgba(240, 237, 228, 0.6);
  font-size: 10px;
  margin-top: 6px;
}

.star-note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.star-arrow {
  align-self: flex-end;
  font-size: 1.5rem;
}

.registry-section {
  padding-bottom: clamp(96px, 14vh, 160px);
}

.registry-header {
  padding-top: 56px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.registry-desktop-list {
  display: none;
}

@media (min-width: 768px) {
  .registry-desktop-list {
    display: block;
  }
}

.registry-item {
  border-bottom: 1px solid var(--line);
}

.registry-row {
  display: flex;
  height: 72px;
  align-items: center;
  gap: 24px;
  padding: 0 8px;
  transition: background-color 0.2s;
}

.registry-row:hover {
  background: var(--graphite);
}

.registry-row-num {
  width: 32px;
  flex-shrink: 0;
}

.registry-row-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.registry-row:hover .registry-row-name {
  color: var(--brass);
}

.registry-row-year {
  width: 120px;
  flex-shrink: 0;
  text-align: right;
}

.registry-row-country {
  width: 160px;
  flex-shrink: 0;
  text-align: right;
}

.registry-row-arrow {
  font-size: 1.25rem;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.registry-row:hover .registry-row-arrow {
  opacity: 1;
}

.registry-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .registry-mobile-grid {
    display: none;
  }
}

.registry-mobile-card {
  display: block;
  border-radius: var(--radius-card);
  background: var(--graphite);
  overflow: hidden;
}

.registry-mobile-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.registry-mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.registry-mobile-info {
  padding: 12px;
}

.registry-mobile-name {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.registry-mobile-year {
  margin-top: 4px;
  font-size: 9px;
}

.registry-floating-preview {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  width: 240px;
  height: 150px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--graphite);
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hall-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hall-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hall-nav-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 56px 20px;
}

.hall-nav-card.prev-card {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .hall-nav-card.prev-card {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
}

.hall-nav-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hall-nav-card:hover .hall-nav-img {
  opacity: 0.35;
}

.hall-nav-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.4) 0%, rgba(10, 10, 11, 0.75) 100%);
}

.hall-nav-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hall-nav-card.prev-card .hall-nav-content {
  align-items: flex-start;
  text-align: left;
}

.hall-nav-card.next-card .hall-nav-content {
  align-items: flex-end;
  text-align: right;
}

.hall-nav-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bone);
  transition: color 0.3s;
}

.hall-nav-card:hover .hall-nav-title {
  color: var(--brass);
}

/* --------------------------------------------------------------------------
   Страница Экспоната (Car)
   -------------------------------------------------------------------------- */
.car-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 64px;
  padding-top: calc(var(--header-height) + 100px);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform-style: flat;
  transform-style: flat;
}

.car-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.car-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: carHeroZoom 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes carHeroZoom {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.0);
  }
}

.car-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.35) 50%, rgba(10, 10, 11, 0.55) 100%);
  box-shadow: inset 0 0 180px 60px rgba(10, 10, 11, 0.85);
  pointer-events: none;
  transform: translateZ(0);
}

.car-hero-content {
  position: relative;
  z-index: 2;
  transform: translateZ(0);
}

.car-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 10px;
  border-radius: var(--radius-btn);
}

.car-badge-pearl {
  border: 1px solid rgba(200, 64, 46, 0.6);
  background: rgba(200, 64, 46, 0.15);
  color: var(--signal);
}

.car-badge-regular {
  border: 1px solid rgba(210, 162, 76, 0.5);
  background: rgba(210, 162, 76, 0.1);
  color: var(--brass);
}

.car-hero-title {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 0.98;
  margin-top: 20px;
}

.car-hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.car-chip {
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.6);
  padding: 6px 12px;
  font-size: 10px;
  color: rgba(240, 237, 228, 0.85);
  backdrop-filter: blur(4px);
}

.car-chip-sep {
  display: none;
}

@media (min-width: 640px) {
  .car-chip-sep {
    display: inline;
  }
}

.car-story-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.car-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .car-story-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.car-story-sticky {
  position: static;
}

@media (min-width: 1024px) {
  .car-story-sticky {
    position: sticky;
    top: 140px;
    align-self: flex-start;
  }
}

.car-story-year {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  margin-top: 24px;
}

.car-story-country {
  margin-top: 16px;
}

.car-story-text {
  max-width: 640px;
}

.car-story-text h1,
.car-story-text h2,
.car-story-text h3,
.car-story-text h4,
.car-story-text h5,
.car-story-text h6 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--bone);
  line-height: 1.35;
  margin-top: 32px;
  margin-bottom: 20px;
}

.car-story-text h1:first-child,
.car-story-text h2:first-child,
.car-story-text h3:first-child,
.car-story-text h4:first-child,
.car-story-text h5:first-child,
.car-story-text h6:first-child {
  margin-top: 0;
}

.car-story-text h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
}

.car-story-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.car-story-text h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.car-story-text h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.car-story-text h5,
.car-story-text h6 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.car-story-text p,
.car-story-p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--smoke);
}

.car-story-text p + p,
.car-story-p.follow {
  margin-top: 24px;
}

.car-story-text p:first-of-type,
.car-story-text p:first-child,
.car-story-p.first {
  color: var(--bone);
}

.car-story-text strong,
.car-story-p strong {
  font-weight: 600;
  color: var(--bone);
}

.car-story-text blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  color: var(--bone);
  border-left: 2px solid var(--brass);
  padding-left: 20px;
  margin: 28px 0;
}

.car-story-text blockquote p {
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.car-cinema-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.car-cinema-card {
  border: 1px solid var(--line);
  background: var(--graphite);
}

.car-cinema-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .car-cinema-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 48px;
    gap: 48px;
  }
}

.car-cinema-photo-wrap {
  position: relative;
}

.car-cinema-photo {
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
}

.car-cinema-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 11, 0.8);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
  font-size: 10px;
}

.car-cinema-film {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 8px;
}

.car-cinema-years {
  margin-top: 8px;
}

.car-cinema-quote,
.car-cinema-body blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 22px;
  line-height: 1.35;
  margin-top: 20px;
}

.car-cinema-text,
.car-cinema-body p:not(.mono-label),
.car-cinema-body > p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--smoke);
}

.culture-code-box {
  max-width: 880px;
  margin: 0 auto;
}

.culture-code-box .mono-label {
  color: var(--brass);
  letter-spacing: 0.15em;
  font-size: 11px;
}

.culture-code-box blockquote,
.culture-code-box blockquote p,
.culture-code-box h3,
.culture-code-quote {
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  line-height: 1.35 !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.culture-code-box blockquote {
  margin-top: 24px;
  margin-bottom: 24px;
}

.culture-code-box blockquote p {
  margin: 0 !important;
}

.culture-code-box > p:not(.mono-label),
.culture-code-box p.culture-code-text,
.culture-code-text {
  color: var(--smoke);
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
}

.passport-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.passport-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid rgba(138, 108, 51, 0.7);
  background: var(--graphite);
  padding: clamp(32px, 6vw, 48px);
}

.corner-tl {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-left: 1px solid var(--brass);
  border-top: 1px solid var(--brass);
}

.corner-tr {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--brass);
  border-top: 1px solid var(--brass);
}

.corner-bl {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-left: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.corner-br {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.passport-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.passport-inv {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-top: 12px;
}

.passport-archival {
  max-width: 220px;
  text-align: right;
  font-size: 9px;
  line-height: 1.6;
}

.passport-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 40px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .passport-dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

.passport-item {
  padding-bottom: 16px;
}

.passport-item-full {
  padding-bottom: 16px;
  grid-column: 1 / -1;
}

.passport-dt {
  font-size: 11px;
}

.passport-dd {
  font-size: 15px;
  margin-top: 6px;
}

.passport-hall-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.passport-stamp-seal {
  position: absolute;
  bottom: -16px;
  right: 24px;
  width: 130px;
  height: 130px;
  color: var(--brass);
  opacity: 0.5;
  pointer-events: none;
}

.car-gallery-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.car-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.car-gallery-header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.car-gallery-counter {
  display: inline-block;
}

.car-gallery-arrows {
  display: flex;
  gap: 8px;
}

.car-gallery-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--graphite);
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.car-gallery-arrow:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(210, 162, 76, 0.08);
}

.car-gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brass-dim) rgba(255, 255, 255, 0.05);
  cursor: grab;
  user-select: none;
}

.car-gallery-track:active {
  cursor: grabbing;
}

.car-gallery-track::-webkit-scrollbar {
  height: 6px;
}

.car-gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.car-gallery-track::-webkit-scrollbar-thumb {
  background: var(--brass-dim);
  border-radius: 2px;
}

.car-gallery-track::-webkit-scrollbar-thumb:hover {
  background: var(--brass);
}

.car-gallery-item {
  position: relative;
  flex-shrink: 0;
  width: 80%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--graphite);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.car-gallery-item:first-child {
  width: 85%;
  max-width: 640px;
}

@media (min-width: 640px) {
  .car-gallery-item {
    width: 65%;
  }
}

@media (min-width: 1024px) {
  .car-gallery-item {
    width: 38%;
    max-width: 460px;
  }

  .car-gallery-item:first-child {
    width: 58%;
    max-width: 680px;
  }
}

.car-gallery-item:hover {
  border-color: rgba(210, 162, 76, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.car-gallery-img {
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.car-gallery-item:hover .car-gallery-img {
  transform: scale(1.05);
}

.car-gallery-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 10, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  font-size: 11px;
  color: rgba(240, 237, 228, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.car-gallery-item:hover .car-gallery-tag {
  border-color: var(--brass-dim);
  color: var(--brass);
}

.car-gallery-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.5) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Вертикальная фотолента экспоната (Stacked Gallery — одну под другой)
   -------------------------------------------------------------------------- */
.car-gallery-stacked {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.car-gallery-stack-item {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--graphite);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.car-gallery-stack-item:hover {
  border-color: rgba(210, 162, 76, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.car-gallery-stack-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-gallery-stack-item:hover .car-gallery-stack-img {
  transform: scale(1.025);
}

.car-gallery-stack-item .car-gallery-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.car-gallery-stack-item:hover .car-gallery-tag {
  border-color: var(--brass-dim);
  color: var(--brass);
}

@media (max-width: 767px) {
  .car-gallery-stacked {
    gap: 18px;
  }
  .car-gallery-stack-item .car-gallery-tag {
    bottom: 12px;
    left: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   Плёночная фотолента экспоната (Film Strip Gallery) — во всю ширину
   -------------------------------------------------------------------------- */
.car-film-section {
  position: relative;
  width: 100%;
  padding: clamp(80px, 12vh, 140px) 0;
  overflow: hidden;
  background: #0b0b0d;
}

.car-film-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.car-film-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.car-film-counter {
  display: inline-block;
  font-size: 11px;
}

.car-film-arrows {
  display: flex;
  gap: 8px;
}

.car-film-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--graphite);
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.car-film-arrow:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(210, 162, 76, 0.1);
}

.car-film-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.car-film-viewport.is-dragging {
  cursor: grabbing;
}

.car-film-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 10px max(24px, calc((100vw - 1440px) / 2 + 24px)) 24px;
  will-change: transform;
}

@media (max-width: 767px) {
  .car-film-track {
    gap: 16px;
    padding: 10px 16px 20px;
  }
}

.car-film-track img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.car-film-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 82vw;
  max-width: 580px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #111114;
  scroll-snap-align: start;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .car-film-card {
    width: 48vw;
    max-width: 580px;
  }
}

@media (min-width: 1280px) {
  .car-film-card {
    width: 36vw;
    max-width: 560px;
  }
}

.car-film-card:hover {
  /* border-color: rgba(210, 162, 76, 0.5); */
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7);
}

.car-film-card .film-perforation {
  height: 40px;
  width: 100%;
  background-color: #0b0b0e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Crect x='8' y='7' width='16' height='26' rx='4' ry='4' fill='%23222222' fill-opacity='0.92'/%3E%3C/svg%3E");
  background-size: 24px 19px;
  background-position: center;
  background-repeat: repeat-x;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.8;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.car-film-card:hover .film-perforation {
  opacity: 1;
  /* border-color: rgba(210, 162, 76, 0.35); */
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Crect x='8' y='7' width='16' height='26' rx='4' ry='4' fill='%23d2a24c' fill-opacity='0.92'/%3E%3C/svg%3E"); */
}

.car-film-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #09090b;
}

.car-film-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-film-card:hover .car-film-img {
  transform: scale(1.05);
}

.car-film-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.5) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Рамочка с названием кадра на самой фотографии в левом нижнем углу */
.car-film-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 10, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(245, 243, 236, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.car-film-card:hover .car-film-tag {
  border-color: var(--brass-dim);
  color: var(--brass);
  background: rgba(10, 10, 12, 0.94);
}

/* Иконка для просмотра в лайтбоксе в правом верхнем углу на фото */
.car-film-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--brass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.car-film-card:hover .car-film-zoom-badge {
  border-color: var(--brass);
  background: rgba(210, 162, 76, 0.2);
  transform: scale(1.08);
}

.car-neighbors-section {
  padding: clamp(96px, 14vh, 160px) 0;
}

.car-neighbors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.car-neighbors-header > div > .mono-label,
.car-gallery-header > div > .mono-label {
  margin-bottom: 15px;
}

.car-neighbors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 1024px) {
  .car-neighbors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.car-neighbor-card {
  display: block;
}

.car-neighbor-img-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--graphite);
}

.car-neighbor-img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.car-neighbor-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brass);
  transition: width 0.5s ease;
}

.car-neighbor-card:hover .car-neighbor-line {
  width: 100%;
}

.car-neighbor-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.car-neighbor-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--bone);
  transition: color 0.2s;
}

.car-neighbor-card:hover .car-neighbor-name {
  color: var(--brass);
}

.car-neighbor-year {
  font-size: 10px;
  flex-shrink: 0;
}

.car-prev-next-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

@media (min-width: 640px) {
  .car-prev-next-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.car-prev-next-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--asphalt);
  padding: 32px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.car-prev-next-item.next {
  align-items: flex-end;
  text-align: right;
}

.car-prev-next-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.car-prev-next-item:hover .car-prev-next-img {
  opacity: 0.35;
  transform: scale(1.04);
}

.car-prev-next-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.4) 0%, rgba(10, 10, 11, 0.78) 100%);
  pointer-events: none;
  z-index: 2;
}

.car-prev-next-item > span {
  position: relative;
  z-index: 3;
}

.car-prev-next-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.3s ease;
}

.car-prev-next-item:hover .car-prev-next-name {
  color: var(--brass);
}

.car-cta-box {
  margin-top: 64px;
  border: 1px solid var(--line);
  background: var(--graphite);
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.car-cta-desc {
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Спецэффекты залов
   -------------------------------------------------------------------------- */
@keyframes proj-flicker {

  0%,
  100% {
    opacity: 0.015;
  }

  8% {
    opacity: 0.05;
  }

  9% {
    opacity: 0.01;
  }

  22% {
    opacity: 0.06;
  }

  23% {
    opacity: 0.02;
  }

  41% {
    opacity: 0.045;
  }

  55% {
    opacity: 0.012;
  }

  56% {
    opacity: 0.05;
  }

  74% {
    opacity: 0.02;
  }

  88% {
    opacity: 0.06;
  }

  89% {
    opacity: 0.025;
  }
}

@keyframes led-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes haze-drift {

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

  50% {
    transform: translateX(4%);
  }
}

.fx-flicker {
  position: absolute;
  inset: 0;
  background: var(--bone);
  animation: proj-flicker 1.7s linear infinite;
}

.fx-led-wrap {
  position: absolute;
  inset: 0;
}

.fx-led-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(140, 220, 255, 0.85), transparent);
  box-shadow: 0 0 18px rgba(140, 220, 255, 0.55);
  animation: led-pulse 3.2s ease-in-out infinite;
}

.fx-haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 62%, rgba(210, 162, 76, 0.15) 0%, transparent 70%);
  animation: haze-drift 14s ease-in-out infinite;
}

.fx-speed-lines {
  position: absolute;
  inset-y: 0;
  left: -50%;
  width: 200%;
  background: repeating-linear-gradient(180deg, transparent 0 30px, rgba(240, 237, 228, 0.05) 30px 31px);
}

.fx-beam {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg at 30% 85%, transparent 0deg, rgba(210, 162, 76, 0.12) 10deg, transparent 26deg);
}

/* --------------------------------------------------------------------------
   Барабан одометра
   -------------------------------------------------------------------------- */
.odometer-digit-col {
  display: inline-block;
  height: 1em;
  min-width: 0.6em;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
}

.odometer-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.odometer-strip span {
  display: flex;
  height: 1em;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Формы и плавающие метки
   -------------------------------------------------------------------------- */
.field-floating {
  position: relative;
  margin-top: 8px;
}

.field-floating-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 30px 0 10px 0;
  font-size: 16px;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
}

.field-floating-input:focus {
  border-bottom-color: var(--brass);
}

.field-floating-input.error {
  border-bottom-color: var(--signal);
}

.field-floating-label {
  position: absolute;
  left: 0;
  top: 30px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 14px;
  color: var(--smoke);
  pointer-events: none;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

.field-floating-input:focus~.field-floating-label,
.field-floating-input:not(:placeholder-shown)~.field-floating-label,
.field-floating.has-value .field-floating-label {
  top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brass);
}

.field-floating-input.error~.field-floating-label {
  color: var(--signal);
}

.error-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--signal);
  margin-top: 6px;
  display: none;
}

.field-floating-input.error~.error-text {
  display: block;
}

.shake-anim {
  animation: shake 0.35s ease-in-out;
}

@keyframes shake {

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

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smoke);
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--brass-dim);
  color: var(--bone);
}

.chip-btn.active {
  border-color: var(--brass);
  background-color: var(--brass);
  color: var(--asphalt);
  font-weight: 600;
}

.stamp-seal {
  position: relative;
  display: flex;
  width: 128px;
  height: 128px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--brass);
  color: var(--brass);
  margin: 0 auto;
  animation: stamp-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stamp-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--brass-dim);
}

@keyframes stamp-pop {
  0% {
    transform: scale(1.4) rotate(-8deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.success-stamp-box {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 40px 0;
  text-align: center;
}

.success-stamp-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Лайтбокс (Lightbox)
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  max-height: 90vh;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 90vw;
  border: 1px solid var(--line);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 11px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(19, 19, 22, 0.8);
  color: var(--bone);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(19, 19, 22, 0.85);
  color: var(--bone);
  cursor: pointer;
  z-index: 110;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(210, 162, 76, 0.12);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 640px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* --------------------------------------------------------------------------
   Подвал (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--asphalt);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-wordmark-wrap {
  padding-top: 56px;
}

.footer-wordmark {
  user-select: none;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: var(--bone);
  opacity: 0.9;
  transition: color 0.5s ease;
  display: block;
}

.footer-wordmark:hover {
  color: var(--brass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 767px) {
  .site-footer .container-museum {
    padding-left: 24px;
    padding-right: 24px;
  }
  .footer-wordmark-wrap {
    padding-top: 40px;
    padding-bottom: 8px;
  }
  .footer-grid {
    padding: 36px 0;
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 56px 0;
    gap: 40px;
  }
}

.footer-col-title {
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  padding: 0;
  font-size: 14px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
}

@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-link {
  color: var(--smoke);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--bone);
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-email-link,
.footer-phone-link {
  color: var(--bone);
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-email-link:hover,
.footer-phone-link:hover {
  color: var(--brass);
}

.footer-status-text {
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }

  .footer-bottom-left {
    justify-content: flex-start;
  }
}

.footer-copy {
  font-size: 10px;
  margin: 0;
}

.footer-legal-menu {
  display: inline-flex;
  align-items: center;
}

.footer-legal-menu .level-0,
.footer-legal-menu ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-menu a,
.footer-privacy-link {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-menu a:hover,
.footer-privacy-link:hover {
  color: var(--brass);
}

.footer-slogan {
  font-size: 10px;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--asphalt);
}

::-webkit-scrollbar-thumb {
  background: var(--graphite-2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brass-dim);
}

/* ==========================================================================
   Анимации появления элементов при скроле (Scroll Reveal System)
   ========================================================================== */
.reveal-span {
  display: inline-block;
  vertical-align: baseline;
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-card {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-card.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade-in.is-revealed {
  opacity: 1 !important;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Появление фотографий карточек (Fade + Scale-Up) */
.reveal-photo {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-photo.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Раскрытие фотографий шторкой слева направо (как в Restoration.tsx исходника) */
.reveal-curtain {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}

.reveal-curtain.is-revealed,
.restoration-card.is-revealed .reveal-curtain {
  clip-path: inset(0 0% 0 0) !important;
}

/* Кинетический зум фото внутри шторки */
.reveal-curtain img {
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-curtain.is-revealed img,
.restoration-card.is-revealed .reveal-curtain img {
  transform: scale(1) !important;
}

.restoration-card .reveal-curtain {
  transition-delay: 0.18s;
}

.restoration-card .reveal-curtain img {
  transition-delay: 0.18s;
}

/* Ступенчатые задержки (Stagger Delays) */
.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.26s;
}

.delay-3 {
  transition-delay: 0.40s;
}

.delay-4 {
  transition-delay: 0.54s;
}

.delay-5 {
  transition-delay: 0.68s;
}

.delay-6 {
  transition-delay: 0.82s;
}

.delay-7 {
  transition-delay: 0.96s;
}

.delay-8 {
  transition-delay: 1.10s;
}

.delay-9 {
  transition-delay: 0.54s;
}

.delay-10 {
  transition-delay: 0.60s;
}

.delay-11 {
  transition-delay: 0.66s;
}

.delay-12 {
  transition-delay: 0.72s;
}

.manifesto-author {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease 0.68s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.68s;
  will-change: opacity, transform;
}

.manifesto-quote.is-revealed~.manifesto-author,
.manifesto-section.is-revealed .manifesto-author,
.manifesto-wrap.is-revealed .manifesto-author,
.manifesto-author.is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* Логотип-пламя в футере */
.footer-wordmark-wrap {
  padding-top: 48px;
  padding-bottom: 24px;
  display: flex;
  justify-content: center;
}

.footer-logo-link {
  display: inline-block;
  max-width: 560px;
  width: 100%;
}

.footer-flame-logo {
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.5s ease, transform 0.5s ease;
  user-select: none;
}

.footer-flame-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ==========================================================================
   Страница «Все автомобили» (cars.html)
   ========================================================================== */
.cars-catalog-page {
  padding-top: 80px;
  padding-bottom: clamp(96px, 14vh, 160px);
}

.cars-catalog-header {
  margin-bottom: 48px;
}

.cars-catalog-title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.95;
  margin-top: 16px;
  margin-bottom: 24px;
}

.cars-catalog-sub {
  font-size: 13px;
}

.cars-search-wrap {
  margin-top: 40px;
}

.cars-search-input {
  width: 100%;
  max-width: 520px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
}

.cars-search-input:focus {
  border-color: var(--brass);
}

.cars-search-input::placeholder {
  color: var(--smoke);
  opacity: 0.7;
}

.cars-catalog-list {
  margin-top: 48px;
}

.cars-catalog-item {
  transition: background-color 0.2s ease;
}

.cars-catalog-item.hidden-by-filter,
.cars-catalog-row.hidden-by-filter {
  display: none !important;
}

.cars-catalog-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 8px;
  transition: background-color 0.25s ease;
}

.cars-catalog-row:hover {
  background-color: var(--graphite-2);
}

.cars-row-num {
  width: 36px;
  font-size: 11px;
}

.cars-row-thumb-wrap {
  width: 64px;
  height: 44px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--graphite);
  flex-shrink: 0;
}

.cars-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cars-row-main {
  flex: 1;
  min-width: 0;
}

.cars-row-name {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.cars-catalog-row:hover .cars-row-name {
  color: var(--brass);
}

.cars-row-cat-mobile {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}

.cars-row-cat {
  display: none;
  width: 220px;
  text-align: right;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}

.cars-row-year {
  width: 90px;
  text-align: right;
  font-size: 12px;
}

.cars-row-arrow {
  font-size: 18px;
  transform: translateX(-8px);
  opacity: 0;
  transition: all 0.3s ease;
  width: 24px;
  text-align: right;
}

.cars-catalog-row:hover .cars-row-arrow {
  transform: translateX(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .cars-row-cat-mobile {
    display: none;
  }

  .cars-row-cat {
    display: block;
  }
}

.cars-no-results {
  display: none;
  text-align: center;
  padding: 60px 0;
  font-size: 1.1rem;
}

.cars-no-results.active {
  display: block;
}

.hidden-by-filter {
  display: none !important;
}

.cars-load-more-wrap {
  margin-top: 48px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cars-load-more-btn {
  min-width: 240px;
  padding: 16px 36px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.cars-load-more-btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.cars-load-more-btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(210, 162, 76, 0.25);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: carsSpin 0.7s linear infinite;
}

.cars-load-more-btn.is-loading .btn-spinner {
  display: inline-block;
}

.cars-load-more-btn.is-loading .btn-text {
  opacity: 0.6;
}

@keyframes carsSpin {
  to { transform: rotate(360deg); }
}

.cars-load-counter {
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Шапка стандартной страницы (page_header блок)
   ========================================================================== */
.page-header-section {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: clamp(36px, 6vh, 64px);
  position: relative;
}

.page-header-content {
  margin-top: 24px;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-top: 16px;
  margin-bottom: 24px;
}

.page-header-title .font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.page-header-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 78ch;
}

/* ==========================================================================
   Текстовый документ / Статья / Политика (article_text блок)
   ========================================================================== */
.museum-article-section {
  padding-top: clamp(32px, 5vh, 48px);
  padding-bottom: clamp(80px, 12vh, 140px);
  position: relative;
}

.museum-article-wrap {
  display: flex;
  flex-direction: column;
}

.museum-article-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--smoke);
}

.museum-article-body h2,
.museum-article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--bone);
}

.museum-article-body h2:first-child,
.museum-article-body h3:first-child {
  margin-top: 0;
}

.museum-article-body p {
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}

.museum-article-body ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
}

.museum-article-body li {
  color: var(--smoke);
}

.museum-article-body a {
  color: var(--brass);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.museum-article-body a:hover {
  color: var(--bone);
}

/* ==========================================================================
   Страница «Политика конфиденциальности» (privacy.html)
   ========================================================================== */
.max-w-doc {
  max-width: 860px;
}

.privacy-page {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: clamp(96px, 14vh, 160px);
}

.privacy-header {
  margin-bottom: 56px;
}

.privacy-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.02;
  margin-top: 16px;
  margin-bottom: 24px;
}

.privacy-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 62ch;
}

.privacy-sections-list {
  display: flex;
  flex-direction: column;
}

.privacy-card {
  padding: 36px 0;
}

.privacy-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--bone);
}

.privacy-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-p {
  line-height: 1.75;
  font-size: 15px;
}

.privacy-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
}

.privacy-footer-note {
  padding-top: 40px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumb-nav {
  padding-top: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: inline;
}

.breadcrumb-sep {
  margin: 0 8px;
  display: inline;
}

.breadcrumb-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--brass);
}

/* --------------------------------------------------------------------------
   Cars Catalog Page (cars.html)
   -------------------------------------------------------------------------- */
.cars-catalog-page {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 80px;
}

.cars-catalog-header {
  margin-top: 24px;
}

.cars-catalog-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--bone);
  margin: 0;
}

.cars-catalog-subtitle {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cars-search-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 40px;
}

.cars-search-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 36px 14px 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
  text-transform: none;
  letter-spacing: normal;
}

.cars-search-input:focus {
  border-bottom-color: var(--brass);
}

.cars-search-input::placeholder {
  color: rgba(115, 113, 110, 0.7);
  text-transform: none;
  letter-spacing: normal;
}

.cars-search-spinner {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(210, 162, 76, 0.2);
  border-top-color: var(--brass);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cars-search-wrap.is-loading .cars-search-spinner {
  opacity: 1;
  visibility: visible;
  animation: carsSpin 0.7s linear infinite;
}

.cars-catalog-list.is-searching {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cars-catalog-list {
  margin-top: 48px;
}

.cars-catalog-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .cars-catalog-row {
    gap: 24px;
    padding: 12px 8px;
  }
}

.cars-catalog-row:hover {
  background: var(--graphite);
}

.cars-row-num {
  width: 32px;
  flex-shrink: 0;
  text-align: left;
}

.cars-row-thumb {
  position: relative;
  width: 96px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--graphite-2, #1a1a1a);
  display: none;
}

@media (min-width: 640px) {
  .cars-row-thumb {
    display: block;
  }
}

.cars-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease, opacity 0.5s ease;
  font-size: 0;
  /* hide alt text when image missing */
  color: transparent;
  /* hide alt text when image missing */
}

.cars-catalog-row:hover .cars-row-thumb img {
  transform: scale(1.1);
  opacity: 1;
}

.cars-row-info {
  min-width: 0;
  flex: 1;
}

.cars-row-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .cars-row-name {
    font-size: 20px;
  }
}

.cars-catalog-row:hover .cars-row-name {
  color: var(--brass);
}

.cars-row-cat-mobile {
  display: block;
  margin-top: 2px;
  font-size: 10px;
}

@media (min-width: 1024px) {
  .cars-row-cat-mobile {
    display: none;
  }
}

.cars-row-cat {
  display: none;
  width: 240px;
  max-width: 280px;
  flex-shrink: 0;
  text-align: right;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
  word-wrap: break-word;
}

@media (min-width: 1024px) {
  .cars-row-cat {
    display: block;
  }
}

.cars-row-year {
  width: 96px;
  flex-shrink: 0;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cars-row-arrow {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cars-catalog-row:hover .cars-row-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cars-no-results {
  display: none;
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
}

.hidden-by-filter {
  display: none !important;
}

/* --------------------------------------------------------------------------
   CTA Баннер «Открытие скоро»
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--asphalt);
}

.cta-banner-bg {
  position: absolute;
  top: -4rem;
  bottom: -4rem;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100% + 8rem);
  pointer-events: none;
}

.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-banner-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(1px);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 96px 20px;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 6.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--bone);
  margin: 0 auto;
  letter-spacing: 0.02em;
  white-space: normal !important;
  word-break: normal;
  text-align: center;
}

.cta-word {
  display: inline-block;
  white-space: nowrap;
  margin: 0 0.18em;
}

.cta-banner-title .kinetic-char-inner {
  transform: translateY(125%) rotate(5deg);
}

.cta-title-wrap.is-revealed .kinetic-char-inner,
.cta-banner-title.is-revealed .kinetic-char-inner,
.cta-banner.is-revealed .kinetic-char-inner {
  transform: translateY(0%) rotate(0deg) !important;
  opacity: 1 !important;
}

.cta-banner-desc {
  margin: 24px auto 0;
  max-width: 520px;
  font-size: 18px;
  color: rgba(240, 237, 228, 0.8);
  line-height: 1.5;
}

.cta-banner-form-wrap {
  margin: 40px auto 0;
  max-width: 560px;
  width: 100%;
}

.cta-quick-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-form-row {
    flex-direction: row;
    align-items: center;
  }
}

.cta-quick-input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 14px 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-quick-input:focus {
  border-bottom-color: var(--brass);
}

.cta-quick-input::placeholder {
  color: var(--smoke);
}

.cta-checkbox-label {
  display: flex;
  cursor: pointer;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 4px;
}

.cta-checkbox {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 2px;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  flex: 0 0 16px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box !important;
  display: inline-block;
}

.cta-checkbox:hover {
  border-color: var(--brass);
}

.cta-checkbox:checked {
  background-color: var(--brass);
  border-color: var(--brass);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23111113' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-checkbox:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

.cta-checkbox-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--smoke);
}

.cta-quick-input.error,
.cta-quick-input.validetta-error,
.subscribe-input.error,
.subscribe-input.validetta-error {
  border-bottom-color: var(--signal, #C8402E) !important;
}

.cta-checkbox.error,
.cta-checkbox.validetta-error,
.form-group.has-error .cta-checkbox,
.cta-checkbox-label.has-error .cta-checkbox {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  border: 1px solid var(--signal, #C8402E) !important;
  border-color: var(--signal, #C8402E) !important;
  border-width: 1px !important;
  box-sizing: border-box !important;
  flex: 0 0 16px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

.cta-quick-form .field-error-msg,
.cta-quick-form .validetta-inline {
  width: 100%;
  text-align: left;
  margin-top: -6px;
  margin-bottom: 2px;
}

.subscribe-form .field-error-msg,
.subscribe-form .validetta-inline {
  width: 100%;
  text-align: left;
  margin-top: 8px;
}

.cta-bottom-note {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* Формы успешной отправки - скрыты по умолчанию */
.js-form-success,
.js-opening-success,
.js-subscribe-success {
  display: none;
}

.cta-success-seal {
  display: none;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--brass);
  background: rgba(10, 10, 11, 0.75);
  padding: 20px 32px;
  backdrop-filter: blur(8px);
  margin: 24px auto 0;
  text-align: left;
  max-width: 520px;
  box-sizing: border-box;
  animation: cta-seal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cta-seal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-success-diamond {
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border: 2px solid var(--brass);
  flex-shrink: 0;
}

.cta-success-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-success-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.cta-success-sub {
  font-size: 14px;
  color: rgba(240, 237, 228, 0.8);
  line-height: 1.4;
}

/* Печать в паспорте экспоната (удар штампом: из увеличенного состояния в нормальный оттиск) */
.passport-stamp-seal {
  transform: scale(1.6) rotate(-22deg);
  transform-origin: center center;
  opacity: 0;
  transition: transform 0.48s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s, opacity 0.3s ease 0.35s;
  will-change: transform, opacity;
}

.passport-stamp-seal.is-revealed {
  transform: scale(1) rotate(-12deg);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Опросный лист экспоната (Car QA / 2 Аккордеона)
   -------------------------------------------------------------------------- */
.car-qa-section {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
  background-color: var(--graphite);
}

.car-qa-heading {
  margin-top: 16px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--bone);
  max-width: 24ch;
}

.car-qa-lead {
  margin-top: 20px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--smoke);
}

/* Табы-переключатель уровней (Зритель / Эксперт) */
.car-qa-switch-wrap {
  margin-top: 36px;
  margin-bottom: 24px;
}

.car-qa-tabs {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 4px;
  gap: 4px;
}

.car-qa-tab {
  border: none;
  background: transparent;
  color: var(--smoke);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 10px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .car-qa-tabs {
    display: flex;
    width: 100%;
    justify-content: stretch;
  }

  .car-qa-tab {
    flex: 1;
    text-align: center;
    letter-spacing: 0.05em;
    padding: 10px 16px;
    font-size: 10.5px;
  }
}

.car-qa-tab:hover {
  color: var(--bone);
}

.car-qa-tab.active {
  background-color: var(--brass);
  color: var(--graphite);
  box-shadow: 0 2px 12px rgba(200, 169, 110, 0.25);
}

/* Аккордеоны */
.car-qa-accordion {
  transition: opacity 0.3s ease;
}

.car-qa-list {
  display: flex;
  flex-direction: column;
}

.car-qa-item {
  position: relative;
  transition: background-color 0.25s ease;
}

.car-qa-item:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.car-qa-trigger {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.car-qa-num {
  width: 32px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--brass-dim);
}

.car-qa-q {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--bone);
  transition: color 0.25s ease;
}

.car-qa-trigger:hover .car-qa-q {
  color: var(--signal);
}

.car-qa-icon {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--brass);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  user-select: none;
}

.car-qa-trigger[aria-expanded="true"] .car-qa-icon {
  transform: rotate(45deg);
}

/* Раскрывающаяся панель ответа */
.car-qa-panel {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.car-qa-content {
  padding-bottom: 26px;
  padding-left: 52px;
  padding-right: 12px;
}

@media (max-width: 640px) {
  .car-qa-content {
    padding-left: 0;
  }
}

.car-qa-answer {
  max-width: 76ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--smoke);
}

.car-qa-note {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--brass-dim);
}

/* Адаптация для пользователей с prefers-reduced-motion (без жесткого блокирования шрифтовых анимаций) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Ход реставрации (Restoration Progress — вертикальная лента без рамок и фона под текстом)
   -------------------------------------------------------------------------- */
.car-restoration-section {
  position: relative;
  width: 100%;
  padding: clamp(96px, 14vh, 160px) 0;
}

.car-restoration-img-btn {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--graphite);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  margin-top: clamp(36px, 5vh, 56px);
  margin-bottom: 24px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.car-restoration-img-btn:first-child,
.car-restoration-content > .car-restoration-img-btn:first-child,
.car-restoration-stacked > .car-restoration-img-btn:first-child {
  margin-top: 0;
}

.car-restoration-img-btn:hover {
  border-color: rgba(210, 162, 76, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.car-restoration-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-restoration-img-btn:hover .car-restoration-img {
  transform: scale(1.025);
}

.car-restoration-img-btn .car-gallery-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.car-restoration-img-btn:hover .car-gallery-tag {
  border-color: var(--brass-dim);
  color: var(--brass);
}

.car-restoration-content h3 {
  font-family: var(--font-display, Oswald, sans-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bone);
  line-height: 1.35;
  margin: 0 0 14px;
}

.car-restoration-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--smoke);
  margin: 0 0 16px;
  max-width: 82ch;
}

@media (max-width: 767px) {
  .car-restoration-img-btn {
    margin-top: 28px;
    margin-bottom: 16px;
  }
  .car-restoration-img-btn .car-gallery-tag {
    bottom: 12px;
    left: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   Блок Генерального Партнёра (ГК «Развитие»)
   -------------------------------------------------------------------------- */
.community-card-partner {
  border-color: rgba(200, 150, 62, 0.35);
  background: linear-gradient(145deg, rgba(200, 150, 62, 0.06) 0%, rgba(20, 20, 24, 0.85) 100%);
  position: relative;
  overflow: hidden;
}

/*
.community-card-partner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
*/

.community-badge-partner {
  background: rgba(200, 150, 62, 0.15);
  color: var(--brass);
  border: 1px solid rgba(200, 150, 62, 0.4);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  color: var(--brass);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.community-partner-link:hover {
  color: var(--bone);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Блок «Коллекционерам» — Общие стили и Варианты
   -------------------------------------------------------------------------- */
.collectors-section {
  padding: 100px 0;
  background: var(--asphalt);
  position: relative;
}

@media (max-width: 767px) {
  .collectors-section {
    padding: 60px 0;
  }
}

/* --- ВАРИАНТ 1: Архивный паспорт доверия --- */
.collectors-passport-card {
  position: relative;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid var(--border-color);
  padding: 56px 64px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

@media (max-width: 991px) {
  .collectors-passport-card {
    padding: 36px 24px 44px;
  }
}

@media (max-width: 576px) {
  .collectors-passport-card {
    padding: 28px 18px 36px;
  }
}

.collectors-passport-main {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.collectors-passport-main .mission-heading {
  margin-top: 12px;
  margin-bottom: 24px;
}

.collectors-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bone);
  margin-bottom: 16px;
  max-width: 64ch;
}

.collectors-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--smoke);
  margin-bottom: 28px;
  max-width: 64ch;
}

.collectors-action-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.collectors-email-link {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 16px;
  font-weight: 600;
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.collectors-email-link:hover {
  color: var(--bone);
}

.collectors-stamp-pos {
  position: absolute;
  top: calc(50% - 110px);
  right: 70px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1199px) {
  .collectors-stamp-pos {
    right: 36px;
    width: 180px;
    height: 180px;
    top: calc(50% - 90px);
  }
}

@media (max-width: 991px) {
  .collectors-stamp-pos {
    top: auto;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .collectors-stamp-pos {
    bottom: 14px;
    right: 14px;
    width: 105px;
    height: 105px;
  }
}

/* --- ВАРИАНТ 2: 3 гарантии (Сетка 01/02/03) --- */
.collectors-grid-header {
  margin-bottom: 40px;
}

.collectors-grid-header .mission-heading {
  margin-top: 10px;
  margin-bottom: 16px;
}

.collectors-grid-header .collectors-subhead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--smoke);
  max-width: 74ch;
}

.collectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .collectors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.collectors-card {
  background: rgba(18, 18, 22, 0.7);
  border: 1px solid var(--border-color);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.collectors-card:hover {
  border-color: var(--brass-dim);
  transform: translateY(-4px);
}

.collectors-card-num {
  font-size: 13px;
  margin-bottom: 18px;
  color: var(--brass);
}

.collectors-card-title {
  font-family: var(--font-display, Oswald, sans-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bone);
  margin: 0 0 12px;
}

.collectors-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--smoke);
  margin: 0;
}

.collectors-cta-center {
  text-align: center;
  margin-top: 48px;
}

.collectors-cta-center-text {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--smoke);
  margin: 0;
  line-height: 1.6;
}

.collectors-cta-center-text .collectors-email-link {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.collectors-cta-center-text .collectors-email-link:hover {
  color: var(--bone);
}

/* --- ВАРИАНТ 3: Кинематографичный баннер --- */
.collectors-cinema-banner {
  position: relative;
  background: radial-gradient(circle at 80% 50%, rgba(200, 150, 62, 0.12) 0%, rgba(14, 14, 17, 0.95) 70%);
  border: 1px solid rgba(200, 150, 62, 0.3);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
  .collectors-cinema-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }
}

.collectors-cinema-title {
  font-family: var(--font-display, Oswald, sans-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--bone);
  margin: 14px 0 18px;
}

.collectors-cinema-title span {
  color: var(--brass);
}

.collectors-cinema-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--smoke);
  max-width: 50ch;
  margin: 0;
}

.collectors-cinema-card {
  background: rgba(10, 10, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.collectors-cinema-features li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--smoke);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.collectors-cinema-contacts {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collectors-cinema-email {
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.collectors-cinema-btn {
  margin-top: 12px;
  align-self: flex-start;
}

/* ==========================================================================
   Сетка преимуществ и карточек (Cards Grid / Advantages)
   ========================================================================== */
.advantages-section {
  padding-top: var(--section-padding, 90px);
  padding-bottom: var(--section-padding, 90px);
}

.advantages-header {
  margin-bottom: 48px;
}

.advantages-header .zaly-tag {
  margin-bottom: 12px;
}

.advantages-header .mission-heading {
  margin-bottom: 16px;
}

.advantages-subhead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--smoke, #8e8e93);
  max-width: 65ch;
  margin: 0;
}

.advantages-grid,
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .advantages-grid,
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .advantages-grid,
  .cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.advantages-card {
  background: var(--carbon-card, #111113);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  padding: 36px 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.advantages-card:hover {
  border-color: var(--brass-dim, #8f6c2c);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.advantages-card-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brass, #c8963e);
  margin-bottom: 18px;
}

.advantages-card-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bone, #f5f2eb);
  margin: 0 0 14px;
  line-height: 1.25;
}

.advantages-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--smoke, #8e8e93);
  margin: 0;
}

/* ==========================================================================
   Вопросы и ответы (FAQ / Car QA Accordion)
   ========================================================================== */
.car-qa-section {
  padding-top: var(--section-padding, 90px);
  padding-bottom: var(--section-padding, 90px);
}

.car-qa-heading {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bone, #f5f2eb);
  margin: 14px 0 16px;
  line-height: 1.15;
}

.car-qa-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--smoke, #8e8e93);
  max-width: 65ch;
  margin: 0 0 36px;
}

.car-qa-list {
  display: flex;
  flex-direction: column;
}

.car-qa-item {
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.car-qa-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  color: var(--bone, #f5f2eb);
  transition: color 0.2s ease;
}

.car-qa-trigger:hover .car-qa-q {
  color: var(--brass, #c8963e);
}

.car-qa-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 14px;
  color: var(--brass, #c8963e);
  flex-shrink: 0;
  min-width: 32px;
}

.car-qa-q {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-grow: 1;
  color: var(--bone, #f5f2eb);
  transition: color 0.2s ease;
}

.car-qa-icon {
  font-family: var(--font-mono, monospace);
  font-size: 26px;
  line-height: 1;
  color: var(--brass, #c8963e);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  user-select: none;
}

.car-qa-trigger[aria-expanded="true"] .car-qa-icon {
  transform: rotate(45deg);
  color: var(--bone, #f5f2eb);
}

.car-qa-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.car-qa-trigger[aria-expanded="true"] + .car-qa-panel {
  opacity: 1;
}

.car-qa-content {
  padding-bottom: 24px;
  padding-left: 52px;
}

@media (max-width: 640px) {
  .car-qa-content {
    padding-left: 0;
  }
}

.car-qa-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--smoke, #8e8e93);
  margin: 0 0 12px;
}

.car-qa-note {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass-dim, #8f6c2c);
}

/* ==========================================================================
   Museum Content Section (Universal text with media block)
   ========================================================================== */
.museum-content-section {
  padding: 90px 0;
  background-color: var(--carbon);
  position: relative;
}

.museum-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.museum-content-grid.img-left {
  grid-template-columns: 0.85fr 1.15fr;
}

.museum-content-grid.img-left .museum-content-text {
  order: 2;
}

.museum-content-grid.img-left .museum-content-media {
  order: 1;
}

.museum-content-solo {
  max-width: 860px;
  margin: 0 auto;
}

.museum-content-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.museum-content-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bone, #f5f2eb);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.museum-content-title span {
  color: var(--brass, #ca8a04);
}

.museum-content-body {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.75;
  color: var(--smoke, #8e8e93);
}

.museum-content-body p + p {
  margin-top: 16px;
}

.museum-content-media-inner {
  position: relative;
  border-radius: var(--radius-sm, 2px);
  overflow: hidden;
  border: 1px solid var(--charcoal, #26262b);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.museum-content-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.museum-content-media-inner:hover .museum-content-img {
  transform: scale(1.03);
}

.museum-content-media-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(202, 138, 4, 0.15);
  pointer-events: none;
}

/* ==========================================================================
   Museum CTA Banner Section (Universal CTA Card)
   ========================================================================== */
.museum-cta-banner-section {
  padding: 80px 0;
  background-color: var(--asphalt, #161618);
  position: relative;
}

.museum-cta-banner-card {
  position: relative;
  background-color: #111113;
  border: 1px solid rgba(202, 138, 4, 0.25);
  border-radius: var(--radius-sm, 2px);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.museum-cta-banner-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.08) 0%, rgba(202, 138, 4, 0) 70%);
  pointer-events: none;
}

.museum-cta-banner-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.museum-cta-banner-tag {
  margin-bottom: 12px;
  display: inline-block;
}

.museum-cta-banner-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bone, #f5f2eb);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.museum-cta-banner-desc {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--smoke, #8e8e93);
  margin: 0;
}

.museum-cta-banner-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.museum-cta-banner-btn {
  padding: 16px 36px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
}

@media (max-width: 991px) {
  .museum-content-grid,
  .museum-content-grid.img-left {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .museum-content-grid.img-left .museum-content-text {
    order: 1;
  }
  .museum-content-grid.img-left .museum-content-media {
    order: 2;
  }
  .museum-cta-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

/* ==========================================================================
   Museum Article / Document Section (Clean WYSIWYG)
   ========================================================================== */
.museum-article-section {
  padding: 80px 0 100px;
  background-color: var(--carbon, #0c0c0e);
  position: relative;
}

.museum-article-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.museum-article-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.museum-article-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bone, #f5f2eb);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.museum-article-body {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--smoke, #8e8e93);
}

.museum-article-body h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--bone, #f5f2eb);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 36px 0 16px;
}

.museum-article-body h3 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--bone, #f5f2eb);
  margin: 28px 0 12px;
}

.museum-article-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--bone, #f5f2eb);
  margin: 20px 0 10px;
}

.museum-article-body p {
  margin-bottom: 18px;
}

.museum-article-body strong,
.museum-article-body b {
  color: var(--bone, #f5f2eb);
  font-weight: 600;
}

.museum-article-body a {
  color: var(--brass, #ca8a04);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.museum-article-body a:hover {
  color: var(--bone, #f5f2eb);
}

.museum-article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0 24px;
}

.museum-article-body ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 16px 0 24px;
}

.museum-article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.museum-article-body blockquote {
  border-left: 3px solid var(--brass, #ca8a04);
  padding: 12px 20px;
  margin: 24px 0;
  background-color: var(--asphalt, #161618);
  font-style: italic;
  color: var(--bone, #f5f2eb);
}

.museum-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}

.museum-article-body th,
.museum-article-body td {
  border: 1px solid var(--charcoal, #26262b);
  padding: 12px 16px;
  text-align: left;
}

.museum-article-body th {
  background-color: var(--asphalt, #161618);
  color: var(--bone, #f5f2eb);
  font-weight: 600;
}