/* Цирк Никулина — гастрольное шапито, cirk-shapito.ru */

@import url("https://fonts.googleapis.com/css2?family=Kelly+Slab&display=swap");

:root {
  --velvet: #16051f;
  --velvet-mid: #2a0f38;
  --crimson: #d12f4c;
  --crimson-deep: #9a1f36;
  --gold: #f0c85e;
  --gold-soft: #ffe7a8;
  --amber: #ff8c42;
  --cream: #fff8ef;
  --cream-muted: rgba(255, 248, 239, 0.78);
  --ink: #0c0610;
  --ring: rgba(240, 200, 94, 0.45);

  --font-display: Roboto, Arial, sans-serif;
  --font-ui: Roboto, Arial, sans-serif;
  --font-circus: "Kelly Slab", Georgia, "Times New Roman", serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 1.875rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --header-h: 64px;
  --container: min(1120px, calc(100% - 40px));
  --container-wide: min(1320px, calc(100% - 40px));

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
  --transition: 0.35s var(--ease-out);
}

@media (min-width: 1440px) {
  :root {
    --container: min(1200px, calc(100% - 80px));
    --container-wide: min(1280px, calc(100% - 80px));
  }
}

@media (min-width: 768px) {
  :root {
    --space-xs: 0.625rem;
    --space-sm: 0.875rem;
    --space-md: 1.25rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation: none !important;
  }

  .hero__scroll-icon::after {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.98rem + 0.18vw, 1.125rem);
  line-height: 1.65;
  color: var(--cream-muted);
  background: radial-gradient(1200px 800px at 10% -10%, #3a1a52 0%, transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(209, 47, 76, 0.2) 0%, transparent 50%),
    var(--velvet);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-md);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

main,
section,
div,
article,
figure,
header,
footer,
nav,
aside {
  min-width: 0;
}

code {
  font-size: 0.9em;
  color: var(--gold-soft);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(22, 5, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22, 5, 31, 0.94);
  }
}

.site-header__inner {
  position: relative;
  width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--header-h);
}

.site-header__spacer {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .site-header__spacer {
    display: none;
  }
}

.site-header__cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
  flex-shrink: 0;
  z-index: 56;
}

.site-header__cta {
  flex: 0 0 auto;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 767px) {
  .site-header__cta-group {
    order: 2;
  }

  .site-nav {
    order: 5;
  }

  .site-header__cta {
    padding: 0.42rem 0.55rem;
    font-size: 0.78rem;
    min-height: 40px;
    line-height: 1.2;
  }

  .site-header__cta--schedule {
    padding-inline: 0.48rem;
    font-size: 0.74rem;
  }
}

@media (min-width: 768px) {
  .site-header__cta--tickets {
    min-height: 44px;
    padding-inline: 1.15rem;
  }

  .site-header__cta--schedule {
    padding-inline: 0.95rem;
    font-size: 0.88rem;
    min-height: 44px;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.5rem);
  letter-spacing: 0.02em;
}

.logo__img {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.logo--footer .logo__img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-toggle {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  z-index: 55;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    max-height: min(calc(100dvh - var(--header-h)), 100vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(28, 10, 40, 0.99) 0%, rgba(14, 4, 22, 0.99) 100%);
    padding: var(--space-lg) var(--space-lg) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transform: translateY(-105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility 0s linear 0.35s;
    border-bottom: 1px solid rgba(240, 200, 94, 0.15);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    z-index: 92;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--transition), opacity var(--transition), visibility 0s linear 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .site-nav {
      transition: opacity 0.2s ease, visibility 0s linear 0.2s;
      transform: none;
    }

    .site-header.is-open .site-nav {
      transition: opacity 0.2s ease, visibility 0s linear 0s;
    }
  }

  .site-nav-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 91;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    background: rgba(4, 0, 10, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    touch-action: manipulation;
  }

  .site-header.is-open .site-nav-backdrop {
    display: block;
  }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-nav__list li {
  margin: 0;
  border-radius: var(--radius-md);
}

.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 1rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-nav__list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-nav__list a:active {
  background: rgba(255, 255, 255, 0.12);
}

.site-nav__list a[aria-current="page"] {
  color: var(--gold-soft);
  background: rgba(240, 200, 94, 0.1);
  border-color: rgba(240, 200, 94, 0.28);
}

.site-nav__list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav-backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  .site-nav {
    order: 0;
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    gap: clamp(0.35rem, 1.5vw, 1rem);
    z-index: auto;
  }

  .site-nav__list {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: clamp(0.15rem, 1vw, 0.65rem);
    row-gap: 0.35rem;
    padding-inline: var(--space-sm);
  }

  .site-nav__list a {
    min-height: 44px;
    padding: 0.4rem 0.65rem;
    font-size: 0.9rem;
    color: var(--cream-muted);
    border: none;
  }

  .site-nav__list a[aria-current="page"] {
    color: var(--gold-soft);
    background: rgba(240, 200, 94, 0.08);
  }

  .site-nav__list a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--cream);
  }
}

/* Главная: кнопки шапки только после прокрутки ниже hero */
body.has-front-hero .site-header:not(.site-header--past-hero) .site-header__cta-group {
  display: none;
}

/* Видимые «цели» морфинга без мелькания: для измерения rect в JS */
body.is-measuring-header-cta.has-front-hero .site-header .site-header__cta-group {
  display: flex !important;
}

body.is-measuring-header-cta.has-front-hero .site-header .site-header__cta {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.hero-cta-morphing .hero__nikulin-btn--left .btn,
body.hero-cta-morphing .hero__nikulin-btn--right .btn {
  opacity: 0;
  pointer-events: none;
}

.hero-cta-morph-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.hero-cta-morph-root .hero-cta-morph {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: none;
  transition: none;
  will-change: transform, width, height;
}

@media (prefers-reduced-motion: reduce) {
  body.hero-cta-morphing .hero__nikulin-btn--left .btn,
  body.hero-cta-morphing .hero__nikulin-btn--right .btn {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 1200px) {
  .site-nav__list a {
    font-size: 0.95rem;
    padding-inline: 0.75rem;
  }
}

@media (min-width: 1440px) {
  .site-nav__list {
    column-gap: 0.85rem;
  }

  .site-nav__list a {
    font-size: 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #ffd889 50%, var(--amber) 100%);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(240, 200, 94, 0.35);
}

.btn--gold:hover {
  box-shadow: 0 16px 50px rgba(240, 200, 94, 0.5);
  color: var(--ink);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

/* Виджет InTickets (общая продажа; для города — data-tickets-widget-src на триггере) */
.tickets-widget {
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--velvet-mid);
  color: var(--cream);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(240, 200, 94, 0.2);
  overflow: hidden;
}

/* Явно скрываем закрытый dialog: свойство display:flex ломает UA-скрытие и оставляет шапку/кнопку на экране */
.tickets-widget:not([open]) {
  display: none !important;
}

.tickets-widget[open] {
  display: flex;
  flex-direction: column;
  width: min(960px, calc(100vw - 2rem));
  max-height: min(90dvh, 900px);
  margin: auto;
}

.tickets-widget::backdrop {
  background: rgba(8, 2, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tickets-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.tickets-widget__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.tickets-widget__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.tickets-widget__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tickets-widget__frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: min(72dvh, 720px);
  min-height: 360px;
  border: 0;
  background: #fff;
}

@media (max-width: 479px) {
  .tickets-widget[open] {
    width: 100vw;
    max-width: none;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    min-height: 100dvh;
  }

  .tickets-widget__frame {
    height: calc(100dvh - 52px);
    min-height: 280px;
  }
}

/* Hero */
.hero {
  --hero-pad-top: calc(var(--header-h) + var(--space-md));
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: start;
  align-content: start;
  padding: var(--hero-pad-top) var(--space-lg) var(--space-2xl);
  overflow-x: clip;
}

.hero__media,
.hero__content,
.hero__scroll {
  grid-column: 1;
  grid-row: 1;
}

/* На всю ширину вьюпорта; вверх на padding-top — кадр от верхнего края секции (под шапку), как слева */
.hero__media {
  position: absolute;
  top: calc(-1 * var(--hero-pad-top));
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -53vw;
  overflow: hidden;
  z-index: 0;
  background-color: #120610;
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  z-index: 0;
}

/* Видео-герой показывается и на мобильных (отдельный файл header-mobile.mp4 в разметке) */

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 6, 16, 0.22) 0%,
    rgba(22, 5, 31, 0.42) 45%,
    rgba(22, 5, 31, 0.62) 100%
  );
}

.hero__media:has(.hero__video) .hero__veil {
  display: none;
}

.hero__spotlights {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(50% 40% at 20% 15%, rgba(240, 200, 94, 0.18) 0%, transparent 55%),
    radial-gradient(45% 35% at 78% 10%, rgba(209, 47, 76, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: stretch;
  justify-self: center;
  width: min(var(--container-wide), 100%);
  max-width: 100%;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding-bottom: 3.75rem;
}

/* Равномерная вертикаль: отступы между блоками даёт space-evenly, не margin */
.hero__content > .hero__eyebrow,
.hero__content > .hero__title,
.hero__content > .hero__lead,
.hero__content > .hero__actions,
.hero__content > .hero__note {
  margin-bottom: 0;
}

.hero__content > .hero__aside {
  margin-top: 0;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw + 0.8rem, 4.5rem);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: block;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(90deg, var(--gold-soft), var(--amber), var(--crimson));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero__lead {
  max-width: 38rem;
  margin: 0 0 var(--space-lg);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--cream-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }

  .hero__cta-primary {
    width: 100%;
    text-align: center;
  }

  .hero__cta-secondary.btn--ghost {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.45rem 0;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 248, 239, 0.82);
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(255, 255, 255, 0.35);
  }

  .hero__cta-secondary.btn--ghost:hover {
    background: transparent;
    color: var(--gold-soft);
    text-decoration-color: rgba(240, 200, 94, 0.6);
  }
}

.hero__note {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

.hero__aside {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__aside--desktop {
  display: none;
}

.hero__aside--mobile {
  width: var(--container-wide);
  max-width: 100%;
  margin: 0 auto var(--space-lg);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .hero__aside--mobile {
    display: block;
    margin-top: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero__aside {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

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

  .hero__aside--mobile {
    display: none;
  }
}

.hero__stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.5rem;
  margin-bottom: var(--space-md);
  align-items: baseline;
}

.hero__stat-value {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-soft), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stat-unit {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.hero__stat-label {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.85rem;
  color: var(--cream-muted);
  line-height: 1.35;
}

.hero__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.hero__quote p {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.45;
}

.hero__quote footer {
  font-size: 0.8rem;
  color: var(--cream-muted);
}

.hero__scroll {
  align-self: end;
  justify-self: center;
  z-index: 2;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll:hover {
  color: var(--gold-soft);
}

.hero__scroll-icon {
  width: 22px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

@media (max-width: 767px) {
  .hero__scroll {
    margin-bottom: var(--space-md);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    opacity: 0.65;
  }

  .hero__scroll-text {
    display: none;
  }

  .hero__scroll-icon {
    width: 18px;
    height: 26px;
  }
}

@keyframes scroll-nudge {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@media (min-width: 768px) {
  .hero {
    --hero-pad-top: calc(var(--header-h) + var(--space-sm));
    align-items: start;
    align-content: start;
    padding-top: var(--hero-pad-top);
    padding-bottom: calc(var(--space-2xl) + 2rem);
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: repeat(5, auto);
    gap: var(--space-xl);
    align-items: start;
    align-content: space-evenly;
    justify-content: unset;
    flex-direction: unset;
  }

  .hero__title,
  .hero__eyebrow,
  .hero__lead,
  .hero__actions,
  .hero__note {
    grid-column: 1;
  }

  .hero__eyebrow {
    grid-row: 1;
  }

  .hero__title {
    grid-row: 2;
  }

  .hero__lead {
    grid-row: 3;
    max-width: 36rem;
  }

  .hero__actions {
    grid-row: 4;
  }

  .hero__note {
    grid-row: 5;
  }

  .hero__aside--desktop {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: end;
    max-width: 20rem;
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: var(--space-2xl);
  }

  .hero__title {
    font-size: clamp(3.5rem, 4vw + 2rem, 5.25rem);
  }
}

/* Marquee */
.marquee {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, var(--velvet-mid), #1f0f2e, var(--velvet-mid));
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  padding: 0.85rem 0;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-style: italic;
  color: rgba(255, 248, 239, 0.85);
  white-space: nowrap;
}

.marquee__track span {
  padding-inline: 1rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding-block: var(--space-2xl);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.35rem + 1vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__subtitle {
  margin: 0;
  max-width: 52ch;
  color: var(--cream-muted);
  font-size: 1rem;
}

.section__lead {
  margin: 0;
  max-width: 60ch;
  color: var(--cream-muted);
}

.section__head {
  margin-bottom: var(--space-xl);
}

.section__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: var(--space-2xl);
  }
}

@media (min-width: 1440px) {
  .section {
    padding-block: calc(var(--space-2xl) + 1rem);
  }
}

.section--show {
  background: radial-gradient(800px 500px at 100% 0%, rgba(209, 47, 76, 0.12) 0%, transparent 60%);
}

.section--video {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.section--program {
  background: radial-gradient(700px 480px at 0% 100%, rgba(240, 200, 94, 0.08) 0%, transparent 55%);
}

.section--gallery,
.section--visit {
  padding-bottom: var(--space-2xl);
}

/* Pillars */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

.pillars__item {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.pillars__icon {
  display: inline-block;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.pillars__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 var(--space-xs);
  color: var(--cream);
}

.pillars__text {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .pillars__item {
    padding: var(--space-md);
  }
}

@media (min-width: 1440px) {
  .pillars__item {
    padding: var(--space-lg);
  }
}

/* Video grid */
.video-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

.video-card {
  margin: 0;
}

.video-card__frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card__frame iframe,
.video-card__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #0a0608;
}

.video-card__caption {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--cream-muted);
  overflow-wrap: anywhere;
}

/* Program */
.program-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1440px) {
  .program-grid {
    gap: var(--space-xl);
  }
}

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--ring);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.program-card__visual {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #120818;
}

.program-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center 35%;
  display: block;
}

.program-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 5, 31, 0.5) 100%);
}

.program-card__body {
  padding: var(--space-lg);
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--cream);
}

.program-card__role {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.program-card__text {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-mosaic {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(160px, auto);
}

.gallery-mosaic__cell {
  border-radius: var(--radius-md);
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #120818;
}

.gallery-mosaic__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(22, 5, 31, 0.1), rgba(22, 5, 31, 0.55));
  pointer-events: none;
}

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

@media (min-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 220px 220px;
    gap: var(--space-md);
  }

  .gallery-mosaic__cell--1 {
    grid-row: span 2;
    min-height: 100%;
  }

  .gallery-mosaic__cell--2 {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-mosaic__cell--3 {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-mosaic__cell--4 {
    display: none;
  }
}

@media (min-width: 1440px) {
  .gallery-mosaic {
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: var(--space-md);
  }

  .gallery-mosaic__cell--1 {
    grid-row: span 2;
    grid-column: 1;
  }

  .gallery-mosaic__cell--2 {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-mosaic__cell--3 {
    grid-column: 3;
    grid-row: 1;
  }

  .gallery-mosaic__cell--4 {
    display: block;
    grid-column: 2 / span 2;
    grid-row: 2;
    min-height: 100%;
  }
}

/* Visit */
.visit-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: stretch;
}

.visit-layout__panel {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.visit-layout__panel-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--space-sm);
  color: var(--cream);
}

.visit-layout__panel-text {
  margin: 0 0 var(--space-md);
  color: var(--cream-muted);
}

.visit-layout__fine {
  margin: var(--space-sm) 0 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

.checklist {
  margin: var(--space-md) 0 0;
  padding-left: 1.1rem;
  color: var(--cream-muted);
}

.checklist li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .visit-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
    align-items: center;
  }
}

@media (min-width: 1440px) {
  .visit-layout__panel {
    padding: calc(var(--space-xl) + 0.5rem);
  }
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: calc(var(--space-2xl) + 0.25rem) var(--space-lg) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(8, 3, 12, 0.97) 100%),
    radial-gradient(900px 320px at 50% -10%, rgba(240, 200, 94, 0.09) 0%, transparent 60%),
    radial-gradient(640px 240px at 100% 80%, rgba(209, 47, 76, 0.07) 0%, transparent 50%),
    var(--velvet);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 94, 0.28) 25%,
    rgba(209, 47, 76, 0.22) 60%,
    rgba(240, 200, 94, 0.28) 85%,
    transparent
  );
  pointer-events: none;
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer .logo--footer {
  margin-bottom: 0.15rem;
}

.site-footer__tagline {
  margin: 0.55rem 0 0;
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs) var(--space-md);
  align-content: start;
}

.site-footer__nav > .site-footer__label {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: var(--space-xs);
}

.site-footer__nav > a:nth-of-type(1) {
  grid-row: 2;
  grid-column: 1;
}

.site-footer__nav > a:nth-of-type(2) {
  grid-row: 2;
  grid-column: 2;
}

.site-footer__nav > a:nth-of-type(3) {
  grid-row: 3;
  grid-column: 1;
}

.site-footer__nav > a:nth-of-type(4) {
  grid-row: 3;
  grid-column: 2;
}

.site-footer__nav > a:nth-of-type(5) {
  grid-row: 4;
  grid-column: 1;
}

.site-footer__nav > a:nth-of-type(6) {
  grid-row: 4;
  grid-column: 2;
}

.site-footer__nav > a:nth-of-type(7) {
  grid-row: 5;
  grid-column: 1;
}

.site-footer__nav > a:nth-of-type(8) {
  grid-row: 5;
  grid-column: 2;
}

.site-footer__nav a {
  display: inline-block;
  color: var(--cream-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-footer__nav a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.site-footer__social a:hover {
  background: rgba(240, 200, 94, 0.2);
  color: var(--gold-soft);
}

.site-footer__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.site-footer__col a {
  display: block;
  color: var(--cream-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-footer__col a:last-child {
  margin-bottom: 0;
}

.site-footer__col a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.81rem;
  line-height: 1.5;
  color: rgba(255, 248, 239, 0.48);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .site-footer__copy {
    text-align: left;
  }

  .site-footer__grid {
    grid-template-columns: 1.05fr 1.15fr 0.95fr 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-inline: 20px;
    padding-bottom: calc(20px + 2rem);
  }

  .site-header__inner {
    padding-inline: 20px;
  }

  .section {
    padding-block: 20px;
  }

  .section__head,
  .hero__actions,
  .visit-layout,
  .video-grid,
  .program-grid,
  .pillars,
  .gallery-mosaic,
  .site-footer__grid {
    gap: 20px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-footer__brand,
  .site-footer__copy {
    grid-column: 1 / -1;
  }

  .site-footer__nav {
    grid-column: 1;
    grid-row: 2 / span 2;
  }

  .site-footer__grid > .site-footer__col:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer__grid > .site-footer__col:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .pillars__item,
  .visit-layout__panel,
  .program-card__body {
    padding: 20px;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 40px;
  }

  .section__head,
  .video-grid,
  .program-grid,
  .visit-layout,
  .site-footer__grid {
    gap: 40px;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Цирк Никулина: герой, карусели, FAQ, внутренние страницы ——— */

.btn--gold-ghost {
  background: rgba(22, 5, 31, 0.45);
  border: 2px solid rgba(240, 200, 94, 0.65);
  color: var(--gold-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.btn--gold-ghost:hover {
  background: rgba(240, 200, 94, 0.15);
  color: #fff;
  border-color: var(--gold-soft);
}

.site-nav__list a[aria-current="page"] {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 767px) {
  .site-nav__list a[aria-current="page"] {
    background: rgba(240, 200, 94, 0.12);
    color: var(--cream);
    text-decoration: none;
  }
}

.hero--nikulin .hero__video {
  object-position: center top;
}

@media (min-width: 768px) {
  .hero--nikulin .hero__media {
    left: 50%;
    width: 100vw;
    margin-left: -51vw;
    height: 100svh;
    min-height: 100vh;
    bottom: auto;
  }

  .hero--nikulin .hero__video {
    object-fit: cover;
    object-position: right top;
  }
}

.hero__nikulin-shell {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: calc(var(--header-h) + var(--space-sm)) var(--space-lg) 4.5rem;
  box-sizing: border-box;
}

.hero__veil--nikulin {
  background: linear-gradient(
    180deg,
    rgba(12, 6, 16, 0.35) 0%,
    rgba(22, 5, 31, 0.55) 50%,
    rgba(22, 5, 31, 0.75) 100%
  );
}

.hero__nikulin-grid {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) minmax(0, 2.4fr) minmax(88px, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "logoL center logoR"
    "btnL . btnR";
  gap: var(--space-md) var(--space-lg);
  align-items: center;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

.hero__nikulin-btn--left {
  grid-area: btnL;
  align-self: start;
  justify-self: center;
  margin-top: 1rem;
}

.hero__nikulin-btn--right {
  grid-area: btnR;
  align-self: start;
  justify-self: center;
  margin-top: 1rem;
}

.hero__nikulin-center {
  grid-area: center;
  text-align: center;
  align-self: start;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(12, 6, 16, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__logo-side--left {
  grid-area: logoL;
  justify-self: center;
}

.hero__logo-side--right {
  grid-area: logoR;
  justify-self: center;
}

.hero__logo-side {
  width: 100%;
  max-width: min(200px, 22vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero__nikulin-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-circus);
  font-size: clamp(2.1rem, 4.2vw + 0.55rem, 3.85rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff8ef 0%, #ffe7a8 42%, #f0c85e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 0 rgba(154, 31, 54, 0.5)) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.hero__poster-line {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
  color: var(--cream-muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero__nikulin-grid {
    grid-template-areas:
      "logoL center logoR"
      "btnL . btnR";
    gap: var(--space-lg) var(--space-xl);
  }

  .hero__nikulin-btn--left,
  .hero__nikulin-btn--right {
    align-self: center;
    margin-top: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero__nikulin-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "logoL logoR"
      "btnL btnL"
      "btnR btnR";
    gap: var(--space-md);
  }

  .hero__logo-side {
    max-width: min(120px, 36vw);
  }

  .hero__logo-side--left,
  .hero__logo-side--right {
    margin-top: 10.5rem;
  }

  .hero__nikulin-btn--left,
  .hero__nikulin-btn--right {
    justify-self: stretch;
  }

  .hero__nikulin-btn .btn {
    width: 100%;
    justify-content: center;
  }
}

.section--welcome {
  position: relative;
  padding-block: calc(var(--space-2xl) + 0.75rem);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(240, 200, 94, 0.14) 0%, transparent 58%),
    radial-gradient(900px 500px at 100% 40%, rgba(209, 47, 76, 0.09) 0%, transparent 55%),
    radial-gradient(700px 480px at 0% 80%, rgba(58, 26, 82, 0.35) 0%, transparent 50%);
}

.section--welcome::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 94, 0.35) 20%,
    rgba(240, 200, 94, 0.45) 50%,
    rgba(240, 200, 94, 0.35) 80%,
    transparent
  );
  pointer-events: none;
}

.welcome-block {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.welcome-block__surface {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(12, 6, 16, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.14), 0 0 48px rgba(240, 200, 94, 0.06), var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.welcome-block__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.welcome-block__heading {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-md);
  width: 100%;
}

.welcome-block__heading::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--amber) 70%, transparent);
  opacity: 0.95;
}

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

.section__head--center {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__subtitle--center {
  margin-inline: auto;
  text-align: center;
}

.welcome-block__text {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.welcome-block__lead {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.68;
  color: var(--cream);
}

.welcome-block__text p:not(.welcome-block__lead) {
  margin-bottom: 0;
  line-height: 1.72;
  color: var(--cream-muted);
}

@media (min-width: 640px) {
  .welcome-block__surface {
    padding: var(--space-2xl) calc(var(--space-xl) + 0.25rem);
  }

  .prose--compact p {
    margin-left: auto;
    margin-right: auto;
    max-width: 54ch;
  }

  .welcome-block__lead {
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .section--welcome {
    padding-block: calc(var(--space-2xl) + 1.5rem);
  }

  .welcome-block__heading::after {
    width: 6rem;
  }
}

.welcome-block__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
}

.section__center-cta {
  text-align: center;
  margin-top: var(--space-xl);
  margin-bottom: 0;
}

.section--tours {
  position: relative;
  padding-block: calc(var(--space-2xl) + 0.75rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, transparent 40%),
    radial-gradient(ellipse 95% 60% at 15% 0%, rgba(240, 200, 94, 0.12) 0%, transparent 55%),
    radial-gradient(800px 480px at 100% 70%, rgba(209, 47, 76, 0.08) 0%, transparent 50%);
}

.section--tours::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(560px, 72%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 94, 0.35) 30%,
    rgba(255, 200, 120, 0.55) 50%,
    rgba(240, 200, 94, 0.35) 70%,
    transparent
  );
  pointer-events: none;
}

.tours__head {
  margin-bottom: var(--space-lg);
}

.tours__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.tours__title {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
}

.tours__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 25%, var(--gold) 45%, var(--crimson) 75%, transparent);
  opacity: 0.95;
}

.tours__lead {
  max-width: 48ch;
  margin-top: var(--space-md);
  line-height: 1.65;
}

.tours__surface {
  position: relative;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.065) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(12, 6, 16, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.1), 0 0 48px rgba(240, 200, 94, 0.05), var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tours__hint {
  margin: 0 0 var(--space-sm);
  padding-inline: var(--space-xs);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.45);
}

.tours__surface .carousel__track {
  padding-block: var(--space-xs) var(--space-sm);
}

.tours__surface .carousel__btn {
  border-color: rgba(240, 200, 94, 0.3);
  background: rgba(22, 5, 31, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.tours__surface .carousel__btn:hover {
  background: rgba(240, 200, 94, 0.2);
  border-color: var(--gold);
}

@media (min-width: 768px) {
  .tours__surface {
    padding: var(--space-xl) var(--space-lg);
  }

  .tours__title::after {
    width: 6rem;
  }
}

.section--home-gallery {
  position: relative;
  padding-block: calc(var(--space-2xl) + 0.75rem);
  background: radial-gradient(ellipse 110% 75% at 85% 5%, rgba(209, 47, 76, 0.14) 0%, transparent 58%),
    radial-gradient(900px 520px at 5% 55%, rgba(240, 200, 94, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(58, 26, 82, 0.32) 0%, transparent 48%);
}

.section--home-gallery::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(560px, 72%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(209, 47, 76, 0.3) 25%,
    rgba(240, 200, 94, 0.45) 50%,
    rgba(209, 47, 76, 0.3) 75%,
    transparent
  );
  pointer-events: none;
}

.home-gallery__head {
  margin-bottom: var(--space-lg);
}

.home-gallery__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.home-gallery__title {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
}

.home-gallery__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson) 20%, var(--gold) 50%, var(--amber) 80%, transparent);
  opacity: 0.95;
}

.home-gallery__lead {
  max-width: 48ch;
  margin-top: var(--space-md);
  line-height: 1.65;
}

.home-gallery__surface {
  position: relative;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.025) 40%,
    rgba(12, 6, 16, 0.42) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(209, 47, 76, 0.12), 0 0 56px rgba(209, 47, 76, 0.06), var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-gallery__hint {
  margin: 0 0 var(--space-sm);
  padding-inline: var(--space-xs);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.48);
}

.home-gallery__surface .carousel__track {
  padding-block: var(--space-xs) var(--space-sm);
}

.home-gallery__surface .carousel__btn {
  border-color: rgba(240, 200, 94, 0.32);
  background: rgba(22, 5, 31, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.home-gallery__surface .carousel__btn:hover {
  background: rgba(240, 200, 94, 0.22);
  border-color: var(--gold);
}

.home-gallery__cta {
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .home-gallery__surface {
    padding: var(--space-xl) var(--space-lg);
  }

  .home-gallery__title::after {
    width: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track--tiles .gallery-tile:hover {
    transform: none;
  }
}

.section--faq {
  position: relative;
  padding-block: calc(var(--space-2xl) + 0.75rem);
  padding-bottom: calc(var(--space-2xl) + 1.5rem);
  background: radial-gradient(ellipse 100% 72% at 50% 0%, rgba(58, 26, 82, 0.42) 0%, transparent 58%),
    radial-gradient(880px 460px at 95% 25%, rgba(240, 200, 94, 0.09) 0%, transparent 52%),
    radial-gradient(700px 400px at 5% 85%, rgba(209, 47, 76, 0.07) 0%, transparent 48%);
}

.section--faq::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(560px, 72%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 94, 0.3) 30%,
    rgba(255, 248, 239, 0.2) 50%,
    rgba(240, 200, 94, 0.3) 70%,
    transparent
  );
  pointer-events: none;
}

.faq__head {
  margin-bottom: var(--space-lg);
}

.faq__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.faq__title {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
}

.faq__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, var(--gold) 45%, var(--crimson) 78%, transparent);
  opacity: 0.95;
}

.faq__lead {
  max-width: 50ch;
  margin-top: var(--space-md);
  line-height: 1.65;
}

.faq__surface {
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(12, 6, 16, 0.48) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(58, 26, 82, 0.35), 0 0 52px rgba(0, 0, 0, 0.28), var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .faq__surface {
    padding: var(--space-xl) var(--space-lg);
  }

  .faq__title::after {
    width: 6rem;
  }
}

/* Карусель */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-sm);
  align-items: center;
}

.carousel__viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(240, 200, 94, 0.4) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.carousel__track {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: var(--space-xs) 0 var(--space-sm);
}

.carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.carousel__track--posters .carousel__slide {
  width: min(380px, 88vw);
}

@media (min-width: 768px) {
  .carousel__track--posters .carousel__slide {
    width: min(400px, 72vw);
  }
}

.carousel__track--tiles .carousel__slide--tile {
  width: min(300px, 75vw);
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: transparent;
  border: none;
  box-shadow: none;
}

.carousel__track--tiles .gallery-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  background: #120818;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.carousel__track--tiles .gallery-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 94, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 200, 94, 0.12);
}

.carousel__track--tiles .gallery-tile__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #0a0608;
}

.carousel__track--tiles .gallery-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.carousel__track--tiles .gallery-tile__cap {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cream-muted);
  background: linear-gradient(180deg, rgba(18, 8, 24, 0.95), rgba(22, 5, 31, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Старые слайды: только img без figure */
.carousel__track--tiles .carousel__slide--tile > img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  background: #120818;
}

@media (min-width: 768px) {
  .carousel__track--tiles .carousel__slide--tile {
    width: min(340px, 62vw);
  }
}

.carousel__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel__btn:hover {
  background: rgba(240, 200, 94, 0.2);
  border-color: var(--ring);
}

.carousel__btn--prev::after,
.carousel__btn--next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.carousel__btn--prev::after {
  transform: rotate(45deg);
  margin-left: 4px;
}

.carousel__btn--next::after {
  transform: rotate(-135deg);
  margin-right: 4px;
}

@media (max-width: 480px) {
  .carousel__btn {
    width: 40px;
    height: 40px;
  }
}

/* Афиша гастролей: узкие карточки, на телефоне столбиком, на компьютере рядом */
.tour-posters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-inline: auto;
}

.tour-poster {
  --tour-poster-max: 294px;
  box-sizing: border-box;
  width: 100%;
  max-width: min(var(--tour-poster-max), 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  padding: 0.7rem 0.7rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(240, 200, 94, 0.42);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(18, 8, 24, 0.45) 48%,
    rgba(8, 2, 12, 0.55) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 248, 239, 0.08);
}

.tour-poster__place,
.tour-poster__zoom,
.tour-poster__schedule,
.tour-poster__promo,
.tour-poster__buy {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.tour-poster__place {
  width: 100%;
  text-align: center;
}

.tour-poster__place-city {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 0.75vw, 1.35rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tour-poster__place-addr {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 248, 239, 0.72);
}

.tour-poster__zoom {
  position: relative;
  display: block;
  align-self: center;
  margin-block: 0;
  margin-inline: auto;
  padding: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #120818;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(240, 200, 94, 0.08);
  cursor: zoom-in;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tour-poster__zoom:hover {
  border-color: rgba(240, 200, 94, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 200, 94, 0.15);
}

.tour-poster__zoom:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tour-poster__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
}

.tour-poster__zoom-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(8, 2, 12, 0.88));
  pointer-events: none;
}

.tour-poster__schedule {
  box-sizing: border-box;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tour-poster__dates {
  margin: 0 0 0.4rem;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.45;
}

.tour-poster__promo {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(240, 200, 94, 0.1);
  border: 1px solid rgba(240, 200, 94, 0.28);
}

.tour-poster__promo-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
}

.tour-poster__promo-code {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.poster-lightbox:not([open]) {
  display: none !important;
}

.poster-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.poster-lightbox::backdrop {
  background: rgba(8, 2, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.poster-lightbox__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100vw, 560px);
  max-height: calc(100dvh - 2rem);
  margin: 1rem;
}

.poster-lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 2rem);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.poster-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(22, 5, 31, 0.9);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.poster-lightbox__close:hover {
  background: rgba(240, 200, 94, 0.2);
  border-color: var(--gold);
}

@media (min-width: 768px) {
  .poster-lightbox__panel {
    width: min(92vw, 640px);
  }
}

.tour-poster__buy {
  min-width: min(100%, 11.25rem);
  padding-inline: var(--space-lg);
  margin-top: auto;
}

.tours__surface:has(.tour-poster) {
  --tour-poster-surface-inset: var(--space-sm);
  display: block;
  padding: var(--space-md) var(--tour-poster-surface-inset);
}

@media (min-width: 768px) {
  .tour-posters {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
  }

  .tour-poster {
    --tour-poster-max: 322px;
    flex: 0 0 322px;
    width: 322px;
    max-width: 322px;
    padding: 0.75rem 0.75rem 0.9rem;
  }

  .tours__surface:has(.tour-poster) {
    --tour-poster-surface-inset: var(--space-md);
    padding: var(--space-lg) var(--tour-poster-surface-inset);
  }

  .tour-poster__schedule {
    padding: var(--space-md);
  }
}

/* Карточка города (архив) */
.tour-card {
  position: relative;
  height: 100%;
  padding: var(--space-lg);
  padding-top: calc(var(--space-lg) + 6px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(12, 6, 20, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tour-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson), var(--gold), var(--amber));
  opacity: 0.95;
}

.tour-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 200, 94, 0.35);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 200, 94, 0.12);
}

.tour-card__city {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.tour-card__desc {
  margin: 0;
  flex: 1;
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.tour-card__meta {
  margin: 0;
  display: grid;
  gap: var(--space-xs);
  font-size: 0.88rem;
}

.tour-card__meta-row {
  margin: 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tour-card__meta-row dt {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.tour-card__meta-row dd {
  margin: 0;
  color: var(--cream-muted);
  line-height: 1.5;
}

.tour-card__meta-row--dates {
  background: rgba(240, 200, 94, 0.08);
  border-color: rgba(240, 200, 94, 0.22);
}

.tour-card__meta-row--dates dt {
  color: var(--gold-soft);
}

.tour-card__meta-row--dates dd {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--cream);
  letter-spacing: 0.01em;
}

.tour-card__buy {
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .tour-card {
    transition: none;
  }

  .tour-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-soft);
  }
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:has(.faq-item__q[aria-expanded="true"]) {
  border-color: rgba(240, 200, 94, 0.3);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.08);
  background: rgba(240, 200, 94, 0.05);
}

.faq-item__q {
  width: 100%;
  min-width: 0;
  text-align: left;
  padding: var(--space-md) calc(var(--space-md) + 4px);
  padding-right: var(--space-xl);
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--cream);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  list-style: none;
  transition: background var(--transition), color var(--transition);
}

.faq-item__q:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item__q[aria-expanded="true"] {
  background: rgba(0, 0, 0, 0.14);
}

.faq-item__q::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -0.25rem;
  opacity: 0.95;
}

.faq-item__q[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.faq-item__a {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--cream-muted);
  font-size: 0.97rem;
  line-height: 1.68;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.02));
  box-shadow: inset 3px 0 0 0 rgba(240, 200, 94, 0.42);
}

.faq-item__a p {
  margin: 0;
}

.faq-item__a p + p {
  margin-top: var(--space-sm);
}

.faq-item__a a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-item__a a:hover {
  color: var(--gold);
}

.faq-item__a ul,
.faq-item__list {
  margin: var(--space-sm) 0 0;
  padding-left: 1.25rem;
}

.faq-item__a li + li,
.faq-item__list li + li {
  margin-top: 0.35rem;
}

.prose__closing {
  margin-top: var(--space-lg);
  font-size: 1.1rem;
  color: var(--cream);
  text-align: center;
}

.faq-more,
.faq__more {
  text-align: center;
  margin-top: var(--space-xl);
}

.faq__more a {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item__q::after {
    transition: none;
  }
}

/* Внутренние страницы */
.page .page-head {
  position: relative;
  text-align: center;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-lg) var(--space-2xl);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(209, 47, 76, 0.14) 0%, transparent 58%),
    radial-gradient(720px 380px at 12% 20%, rgba(240, 200, 94, 0.1) 0%, transparent 52%),
    radial-gradient(600px 360px at 92% 35%, rgba(123, 45, 108, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

.page .page-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(520px, 78%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 94, 0.35) 30%,
    rgba(255, 200, 120, 0.55) 50%,
    rgba(240, 200, 94, 0.35) 70%,
    transparent
  );
  pointer-events: none;
}

.page .page-head .container {
  position: relative;
  z-index: 1;
}

.page-head__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.page-head__title {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2vw, 2.75rem);
  color: var(--cream);
}

.page-head__title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin: var(--space-md) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 25%, var(--gold) 45%, var(--crimson) 75%, transparent);
  opacity: 0.95;
}

.page-head__lead {
  margin: var(--space-md) auto 0;
  max-width: 50ch;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.68;
  color: var(--cream-muted);
}

.page-body {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--space-lg) * -0.35);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) var(--space-lg) calc(var(--space-2xl) + 0.25rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.065) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(12, 6, 16, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.1), 0 0 48px rgba(240, 200, 94, 0.05), var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .page-head__title::after {
    width: 6rem;
  }
}

@media (max-width: 480px) {
  .page-body {
    padding-inline: var(--space-md);
  }
}

.prose__section {
  margin-bottom: var(--space-xl);
}

.prose__section h2 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.35rem;
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(240, 200, 94, 0.22);
}

.prose__section p,
.prose p {
  margin: 0 0 var(--space-md);
  color: var(--cream-muted);
}

.prose__lead-strong {
  font-size: 1.08rem;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.prose__h2 {
  font-family: var(--font-display);
  color: var(--cream);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(240, 200, 94, 0.22);
}

.prose__note {
  margin-top: var(--space-xl);
  font-size: 0.95rem;
}

.prose__h3 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.1rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.prose__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: var(--cream-muted);
}

.prose__list li + li {
  margin-top: 0.35rem;
}

.page-body.prose a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-body.prose a:hover {
  color: var(--gold);
}

.program-list {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--cream-muted);
}

.program-list__item {
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(12, 6, 16, 0.25) 55%,
    rgba(209, 47, 76, 0.06) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.program-list__item p {
  margin: 0;
  text-align: left;
}

@media (max-width: 479px) {
  .program-list__item {
    padding: var(--space-sm) var(--space-md);
  }
}

.program-grid--page {
  margin-top: var(--space-2xl);
}

.legal-code {
  font-size: 0.9em;
  color: var(--gold-soft);
}

.contact-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
  max-width: 720px;
  margin-inline: auto;
}

.contact-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-card__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}

.contact-card__value {
  margin: 0 0 var(--space-xs);
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-card__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cream-muted);
}

.rekvizity-list {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: var(--space-sm) var(--space-lg);
  max-width: 720px;
  margin-inline: auto;
  color: var(--cream-muted);
}

.rekvizity-list dt {
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.rekvizity-list dd {
  margin: 0 0 var(--space-md);
}

@media (max-width: 560px) {
  .rekvizity-list {
    grid-template-columns: 1fr;
  }
}

.reviews-shots {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

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

.reviews-shots__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.07), 0 12px 36px rgba(0, 0, 0, 0.25);
  aspect-ratio: 5 / 3;
}

.reviews-shots__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.reviews-yandex .section__title {
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(240, 200, 94, 0.22);
  margin-bottom: var(--space-md);
}

.reviews-yandex__hint {
  color: var(--cream-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

.reviews-yandex__placeholder {
  margin-top: var(--space-md);
  min-height: 200px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(240, 200, 94, 0.28);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.22) 0%, rgba(255, 255, 255, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  padding: var(--space-lg);
  text-align: center;
}

.reviews-vk-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Страница галереи */
.gallery-page__featured {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--space-lg);
}

.gallery-page__grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

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

@media (min-width: 768px) {
  .gallery-page__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.gallery-page__card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #120818;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(240, 200, 94, 0.06), 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.gallery-page__card:hover,
.gallery-page__card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 94, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 200, 94, 0.12);
  outline: none;
}

.gallery-page__card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-page__card--landscape {
  aspect-ratio: 3 / 2;
}

.gallery-page__card--portrait {
  aspect-ratio: 3 / 4;
}

.gallery-page__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-page__card--portrait img {
  object-position: center 30%;
}

.gallery-page__hint {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(22, 5, 31, 0.78);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-page__card:hover .gallery-page__hint,
.gallery-page__card:focus-visible .gallery-page__hint {
  opacity: 1;
}

.carousel__track--tiles .carousel__slide--tile-landscape {
  width: min(420px, 88vw);
}

.carousel__slide--tile-landscape img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
}

/* Лайтбокс галереи */
.gallery-lightbox:not([open]) {
  display: none !important;
}

.gallery-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(8, 2, 12, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-sm);
  width: min(96vw, 1120px);
  max-height: calc(100dvh - 2rem);
  margin: 1rem;
}

.gallery-lightbox__figure {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.gallery-lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 6rem);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox__caption {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-muted);
  line-height: 1.4;
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(22, 5, 31, 0.92);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.gallery-lightbox__close:hover {
  background: rgba(240, 200, 94, 0.2);
  border-color: var(--gold);
}

.gallery-lightbox__nav {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
}

.gallery-lightbox__nav:hover {
  background: rgba(240, 200, 94, 0.2);
  border-color: var(--ring);
}

.gallery-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.gallery-lightbox__nav--prev::after,
.gallery-lightbox__nav--next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.gallery-lightbox__nav--prev::after {
  transform: rotate(45deg);
  margin-left: 6px;
}

.gallery-lightbox__nav--next::after {
  transform: rotate(-135deg);
  margin-right: 6px;
}

@media (max-width: 640px) {
  .gallery-lightbox__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100vw;
    margin: 0.5rem;
  }

  .gallery-lightbox__nav--prev {
    grid-row: 3;
    grid-column: 1;
    justify-self: start;
  }

  .gallery-lightbox__nav--next {
    grid-row: 3;
    grid-column: 1;
    justify-self: end;
  }

  .gallery-lightbox__figure {
    grid-row: 2;
    grid-column: 1;
  }

  .gallery-lightbox__close {
    top: 0;
    right: 0;
  }
}