/* ==========================================================================
   Шрифты
   ========================================================================== */

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

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

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

/* ==========================================================================
   Токены
   ========================================================================== */

:root {
  --white: #fff;
  --ink: #3a0d0d;
  --wine: #5d0b0b;
  --wine-2: #7a0f0f;
  --wine-3: #9a1414;
  --night: #1a0505;
  --gold: #d4a853;
  --gray: #3a3a3a;

  --gold-soft: rgba(212, 168, 83, 0.35);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.045);

  /* «Рисовая бумага»: светлые секции (текст на них - --ink) */
  --paper: #f4ecdf;
  --paper-2: #fbf7f0;
  --gold-deep: #8a5f17;
  --line-dark: rgba(58, 13, 13, 0.14);

  --font-serif: 'Heuristica-Regular_0', Georgia, serif;
  --font-sans: 'Montserrat-Regular', system-ui, -apple-system, sans-serif;
  --font-accent: 'Ezerovo-Regular', Georgia, serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 9vw, 112px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --header-h: 88px;
}

/* ==========================================================================
   База
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--night);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  background-color: var(--wine);
}

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

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

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

h1,
h2,
h3,
.logo {
  font-family: var(--font-serif);
  font-weight: normal;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Общие элементы
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* Заголовок секции с орнаментальными линиями по бокам */
.ornament-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  text-align: center;
}

.ornament-title::before,
.ornament-title::after {
  content: '';
  flex: 1 1 0;
  min-width: 20px;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--white);
  color: var(--wine);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--night);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Шапка
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  border-bottom: 1px solid rgba(58, 13, 13, 0.06);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.4s var(--ease);
}

.header.is-scrolled {
  --header-h: 68px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -12px rgba(26, 5, 5, 0.35);
}

/* Пункты панели всегда в одну строку */
.header-nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header-nav:first-child {
  justify-self: start;
}

.header-nav:last-child {
  justify-self: end;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: font-size 0.4s var(--ease);
}

.header.is-scrolled .logo {
  font-size: 26px;
}

.logo-icon {
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--wine-2);
  transition: transform 0.45s var(--ease), background 0.3s ease,
    box-shadow 0.3s ease;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header .logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 6px 16px -6px rgba(122, 15, 15, 0.6);
}

.logo:hover .logo-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--wine-3);
}

.header-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
  letter-spacing: 0.24em;
  transition: color 0.3s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--wine-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

/* Два пункта в одной панели */
.header-nav a + a {
  margin-left: 28px;
}

.header-nav a:hover,
.header-nav a[aria-current='page'] {
  color: var(--wine-2);
}

.header-nav a:hover::after,
.header-nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Телефон в шапке - кнопка-контур; на узких экранах его заменяет панель связи внизу */
.header-nav .header-call {
  padding: 8px 18px;
  border: 1px solid var(--wine-2);
  border-radius: 999px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease;
}

.header-nav .header-call::after {
  display: none;
}

.header-nav .header-call:hover {
  background: var(--wine-2);
  color: var(--white);
}

/* Уже 1150 px телефон не помещается при логотипе по центру; номер есть в подвале («Контакты») */
@media (max-width: 1150px) {
  .header-nav .header-call {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-photo-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, calc(92svh - var(--header-h)), 820px);
  padding: 80px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 22s var(--ease) both;
}

/* Затемнение, плавно перетекающее в цвет следующей секции */
.hero-photo-top::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(26, 5, 5, 0.25) 0%, rgba(26, 5, 5, 0.75) 75%),
    linear-gradient(180deg, rgba(26, 5, 5, 0.55) 0%, rgba(26, 5, 5, 0.35) 45%, var(--wine) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 920px;
  text-align: center;
}

.hero-title {
  position: relative;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 5vw, 56px);
  font-size: clamp(26px, 4.6vw, 54px);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(93, 11, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* Тонкая золотая рамка внутри плашки */
.hero-title::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-soft);
  border-radius: 2px;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Часы работы на первом экране */
.hero-hours {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero-scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

/* Первый экран главной: светлое фото, текст прямо на фото слева, без плашки */
.hero-home {
  min-height: clamp(520px, calc(100svh - var(--header-h)), 860px);
}

.hero-home .hero-bg {
  object-position: 60% 50%;
}

/* Тень только под текстом слева, справа фото остаётся светлым */
.hero-home::before {
  background:
    linear-gradient(90deg, rgba(26, 5, 5, 0.78) 0%, rgba(26, 5, 5, 0.5) 36%, rgba(26, 5, 5, 0) 66%),
    linear-gradient(180deg, rgba(26, 5, 5, 0) 72%, var(--wine) 100%);
}

.hero-home .hero-content {
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  max-width: var(--container);
  text-align: left;
}

.hero-home .hero-title {
  max-width: 12em;
  padding: 0;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.hero-home .hero-title::after {
  content: none;
}

.hero-offer {
  max-width: 30em;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-home .hero-actions {
  justify-content: flex-start;
}

/* Телефон: фото сверху, текст внизу на тени */
@media (max-width: 600px) {
  .hero-home {
    align-items: flex-end;
  }

  .hero-home .hero-bg {
    object-position: 50% 50%;
  }

  .hero-home::before {
    background: linear-gradient(
      180deg,
      rgba(26, 5, 5, 0) 15%,
      rgba(26, 5, 5, 0.6) 45%,
      rgba(26, 5, 5, 0.88) 75%,
      var(--wine) 100%
    );
  }

  .hero-home .hero-content {
    gap: 18px;
  }

  /* Внизу экрана уже панель «Позвонить / Telegram», значок прокрутки уходит под неё */
  .hero-home .hero-scroll {
    display: none;
  }
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ==========================================================================
   О нас
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.about-media {
  position: relative;
  padding: 0 0 18px 18px;
}

/* Смещённая золотая рамка за фото */
.about-media::before {
  content: '';
  position: absolute;
  inset: 18px 18px 0 0;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-l);
}

.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease);
}

.about-media:hover .about-photo {
  transform: translate(-6px, 6px);
}

.about-text h2 {
  margin: 18px 0 28px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 24px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.about-list strong {
  font-weight: normal;
  color: var(--white);
}

/* ==========================================================================
   Что у нас есть
   ========================================================================== */

.features {
  position: relative;
  padding: var(--section-y) var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.features h2 {
  margin-bottom: clamp(40px, 6vw, 64px);
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Орнамент заголовка на светлом фоне: линии --gold-deep вместо --gold */
.features .ornament-title::before {
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}

.features .ornament-title::after {
  background: linear-gradient(90deg, var(--gold-deep), transparent);
}

/* Слева большая карточка кинозала, справа столбиком три текстовые */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  max-width: var(--container);
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 28px;
  text-align: left;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--gold-deep);
  box-shadow: 0 18px 40px -24px rgba(58, 13, 13, 0.35);
}

/* [data-reveal].is-visible сильнее по специфичности и гасил бы подъём и переходы */
.js .features .feature {
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease),
    border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.js .features .feature.is-visible:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

/* Карточка кинозала: фото сверху, занимает всю высоту трёх текстовых карточек */
.feature-kino {
  grid-row: span 3;
  padding: 14px 14px 28px;
}

.feature-media {
  position: relative;
  flex: 1 1 240px;
  min-height: 240px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius-s);
}

.feature-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9);
}

.feature:hover .feature-photo {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.05);
}

.features .feature-kino h3,
.features .feature-kino p,
.features .feature-kino .feature-more {
  margin-left: 14px;
  margin-right: 14px;
}

/* Маленький золотой ромб над заголовком текстовой карточки - как у .about-list li::before */
.feature-text::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-bottom: 18px;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}

.feature h3 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 16px;
  font-size: 22px;
  line-height: 1.3;
}

.feature h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--gold-deep);
  transition: width 0.5s var(--ease);
}

.feature:hover h3::after {
  width: 80px;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: rgba(58, 13, 13, 0.78);
}

/* Две ссылки в одной карточке - в строку, переносятся на узких экранах */
.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

/* Ссылки на светлом фоне: --gold-deep вместо --gold */
.features .feature-more {
  align-self: flex-start;
  margin: 18px 0 0;
  color: var(--gold-deep);
  border-bottom-color: rgba(138, 95, 23, 0.4);
}

.features .feature-more:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Eyebrow на светлых секциях */
.features .eyebrow,
.reviews .eyebrow {
  color: var(--gold-deep);
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  background: var(--night);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.footer-map {
  height: 220px;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: var(--radius-m);
  background: var(--gray);
  box-shadow: 0 0 0 6px rgba(212, 168, 83, 0.12);
}

.footer-map iframe {
  display: block;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 0.4s ease;
}

.footer-map:hover iframe {
  filter: none;
}

.footer-center {
  text-align: center;
}

.footer-center .logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 26px;
  letter-spacing: 0.14em;
}

.footer-center .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-center .address {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-hours {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.85);
}

.footer-route {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0 1px;
  transition: background-size 0.45s var(--ease);
}

.footer-route:hover {
  background-size: 100% 1px;
}

.footer-right {
  text-align: right;
}

.footer-socials {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.footer-socials a:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(212, 168, 83, 0.6);
}

.footer-phone {
  font-size: 18px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.footer-phone a {
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0 1px;
  transition: color 0.3s ease, background-size 0.45s var(--ease);
}

.footer-phone a:hover {
  color: var(--gold);
  background-size: 100% 1px;
}

/* ==========================================================================
   Плавающая панель связи (только телефон, включается в медиазапросе ≤600px)
   ========================================================================== */

.contact-bar {
  display: none;
}

/* ==========================================================================
   Появление при прокрутке (только при включённом JS)
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Первый экран: виден сразу, без ожидания JS - только лёгкий подъём на CSS */
[data-intro] {
  animation: intro-rise 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

@keyframes intro-rise {
  from {
    transform: translateY(16px);
  }
  to {
    transform: none;
  }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

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

  .about-media {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .about-photo {
    aspect-ratio: 4 / 3;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  /* Одна колонка: кинозал первым, фото с фиксированной пропорцией */
  .feature-kino {
    grid-row: auto;
  }

  .feature-media {
    flex: none;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-map {
    order: 3;
  }

  .footer-right {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .header.is-scrolled {
    --header-h: 56px;
  }

  /* Логотип слева, пункты справа; цели для пальца не ниже 44 px */
  .header {
    display: flex;
    gap: 2px;
  }

  .header .logo {
    order: -1;
    margin-right: auto;
    min-height: 44px;
  }

  .header .logo,
  .header.is-scrolled .logo {
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .header .logo-word {
    display: none;
  }

  .header .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .header-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .header-nav a::after {
    left: 6px;
    width: calc(100% - 12px);
    bottom: 10px;
  }

  .header-nav a + a {
    margin-left: 0;
  }

  .header-nav .header-call {
    display: none;
  }

  .hero-photo-top {
    padding-bottom: 100px;
  }

  .hero-title {
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .footer-center .logo {
    font-size: 20px;
  }

  /* Панель связи: ниже шапки (z-index 100) и окна чая (1000) */
  .contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 5, 5, 0.94);
    border-top: 1px solid var(--gold-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .contact-bar-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
  }

  .contact-bar-btn--tg {
    background: var(--white);
  }

  /* Нижний отступ, чтобы панель не закрывала подвал */
  .footer {
    padding-bottom: calc(44px + 20px + 24px + env(safe-area-inset-bottom, 0px));
  }
}

/* Узкие экраны (до 400 px): от логотипа остаётся значок */
@media (max-width: 400px) {
  .header .logo,
  .header.is-scrolled .logo {
    font-size: 0;
  }

  .header-nav a {
    padding: 0 5px;
  }

  .header-nav a::after {
    left: 5px;
    width: calc(100% - 10px);
  }
}

/* Совсем узкие экраны (320 px) */
@media (max-width: 340px) {
  .header-nav a {
    font-size: 11px;
    letter-spacing: 0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Страница кинозала (kinozal.html)
   ========================================================================== */

/* Шапка: по два пункта с каждой стороны - колонки по содержимому,
   иначе при 1fr auto 1fr шапка шире экрана (601-940 px; ≤600 - в блоке выше) */
@media (max-width: 940px) {
  .header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }
}

@media (min-width: 601px) and (max-width: 940px) {
  .header .logo,
  .header.is-scrolled .logo {
    gap: 12px;
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .header .logo-icon {
    width: 40px;
    height: 40px;
  }

  .header-nav a {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .header-nav a + a {
    margin-left: 20px;
  }
}

/* Первый экран: то же фото-герой, что на главной, но ниже */
.kino-hero {
  min-height: clamp(440px, calc(80svh - var(--header-h)), 700px);
  padding-bottom: 100px;
}

.kino-lead {
  max-width: 560px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(26, 5, 5, 0.8);
}

/* Секции под первым экраном */
.kino-section {
  padding: var(--section-y) var(--gutter);
}

.kino-section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(154, 20, 20, 0.45), transparent 70%),
    var(--wine);
}

.kino-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.kino-section h2 {
  margin-bottom: clamp(32px, 5vw, 56px);
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* «Что внутри»: список в две колонки с золотыми маркерами */
.kino-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 4vw, 56px);
  max-width: 880px;
  margin: 0 auto;
  list-style: none;
}

.kino-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.kino-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 25px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* «Для чего»: четыре карточки */
.kino-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.kino-card {
  padding: 32px 22px 30px;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}

.kino-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.kino-card h3 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 16px;
  font-size: 22px;
  line-height: 1.3;
}

.kino-card h3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 1px;
  margin-left: -20px;
  background: var(--gold);
}

.kino-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* «Цена» */
.kino-price {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.kino-price-main {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.2;
  color: var(--gold);
}

.kino-price-note {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.kino-price .btn {
  margin-top: 28px;
}

/* Акция: оформление как .promo в menu.css (там же она подключена только на menu.html) */
.kino-promo {
  margin-top: 36px;
  padding: 36px 28px 32px;
  text-align: center;
  text-wrap: balance;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-l);
  background:
    radial-gradient(ellipse at top, rgba(212, 168, 83, 0.16), transparent 70%),
    rgba(26, 5, 5, 0.2);
}

.kino-promo strong {
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 4px 18px;
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
}

/* Галерея: 2 колонки на широком экране, 1 на телефоне */
.kino-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 960px;
  margin: 0 auto;
}

.kino-gallery picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
}

.kino-gallery img {
  width: 100%;
  height: auto;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.kino-gallery picture:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* «Как забронировать» */
.kino-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.kino-book p {
  font-size: 17px;
  line-height: 1.6;
}

.kino-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Ссылка «Подробнее о кинозале» в карточке на главной */
.feature-more {
  align-self: center;
  margin: 18px 12px 0;
  padding-bottom: 2px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.feature-more:hover {
  color: var(--white);
  border-color: var(--white);
}

/* «Первый раз?» и «События» на главной: вступление слева, список справа */
.faq,
.events {
  padding: var(--section-y) var(--gutter);
}

.faq-inner,
.events-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
}

.faq-intro h2,
.events-intro h2 {
  margin: 14px 0 18px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.faq-intro p,
.events-intro p {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.6;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Плюс, который поворачивается в крестик при раскрытии */
.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 6px;
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--gold);
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.faq-list details p {
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.faq-list details a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Виды событий: строки с золотым ромбом, как пункты «О нас» */
.events-list {
  list-style: none;
}

.events-list li {
  position: relative;
  padding: 20px 0 20px 30px;
  font-size: clamp(18px, 2vw, 21px);
  border-bottom: 1px solid var(--line);
}

.events-list li:first-child {
  border-top: 1px solid var(--line);
}

.events-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

/* Отзывы на главной: значок рейтинга Яндекса и ссылки на карточки в картах */
.reviews {
  padding: var(--section-y) var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.reviews-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.reviews-inner h2 {
  margin: 14px 0 28px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.reviews-badge {
  display: block;
  border: 0;
  border-radius: var(--radius-s);
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 880px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
}

.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* Кавычка-«ёлочка» перед цитатой */
.review blockquote::before {
  content: '«';
  margin-right: 2px;
  color: var(--gold-deep);
}

.review blockquote::after {
  content: '»';
  margin-left: 2px;
  color: var(--gold-deep);
}

.review-author {
  font-size: 14px;
  color: var(--gold-deep);
}

.review-author span {
  color: rgba(58, 13, 13, 0.7);
}

.reviews-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* Кнопки .btn рассчитаны на тёмный фон - на бумаге меняем цвета */
.reviews .btn-primary {
  background: var(--wine);
  color: var(--white);
}

.reviews .btn-primary:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.reviews .btn-ghost {
  border-color: rgba(58, 13, 13, 0.45);
  color: var(--ink);
  backdrop-filter: none;
}

.reviews .btn-ghost:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

/* Название «Кинозал» в меню - ссылка на страницу, вид как у остального текста */
.tea-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.tea-link:hover {
  color: var(--gold);
  text-decoration-color: currentColor;
}

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

  .faq-inner,
  .events-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .kino-hero {
    padding-bottom: 80px;
  }

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

  .kino-section h2 {
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .kino-list,
  .kino-cards,
  .kino-gallery {
    grid-template-columns: 1fr;
  }

  .kino-promo {
    padding: 30px 20px 26px;
    font-size: 16px;
  }

  .kino-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  /* Узкая разрядка и поля, чтобы «Забронировать в Telegram» уместилось в строку */
  .kino-actions .btn,
  .kino-hero .hero-actions .btn {
    width: 100%;
    padding: 0 16px;
    letter-spacing: 0.1em;
  }
}
