:root {
  --bg: #0b0a10;
  --bg-2: #13111b;
  --text: #f4f1ff;
  --muted: #9a94b0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9a3fd0;
  --accent-2: #bb4bd0;
  --accent-3: #e266c4;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  /* кнопки — исходный градиент: розовый → фиолетовый → голубой */
  --btn-grad: linear-gradient(100deg, #ff2e88 0%, #7b5cff 55%, #20e3ff 100%);
  --radius: 18px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--btn-grad);
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 10px 30px -10px rgba(255, 46, 136, 0.6);
}
.btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(123, 92, 255, 0.8);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--text); box-shadow: none; }
.btn--small { padding: 10px 20px; font-size: 12px; }
.btn--disabled {
  background: var(--bg-2);
  color: var(--muted);
  box-shadow: none;
  pointer-events: none;
}

/* ---------- Навигация ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  /* три колонки: лого | меню | кнопка — меню строго по центру экрана */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  transition: background 0.3s, padding 0.3s;
}
.nav.is-scrolled {
  background: rgba(11, 10, 16, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}
.nav__logo { justify-self: start; display: block; line-height: 0; }
.nav__logo img {
  height: 52px;
  width: auto;
}
.nav .btn { justify-self: end; }
.nav__links { display: flex; gap: 32px; font-weight: 600; font-size: 15px; }
.nav__links a { color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- Шапка ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 64px;
  overflow: hidden;
  isolation: isolate;
}
/* вечернее небо 2017-го: сиреневый сверху, розово-персиковый закат у горизонта */
.hero__bg {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(45% 25% at 50% 80%, rgba(255, 190, 110, 0.7), transparent 70%),
    radial-gradient(70% 35% at 50% 76%, rgba(255, 100, 150, 0.6), transparent 70%),
    radial-gradient(40% 40% at 80% 30%, rgba(160, 90, 255, 0.4), transparent 70%),
    linear-gradient(180deg, #2a1d5e 18%, #4e2a8f 36%, #8a3fae 52%, #d2579e 66%, #ff8f6b 78%, #c44f86 92%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-4%, 3%) rotate(8deg); }
}
/* фото панелек 2017-го поверх неба; фиолетовая вуаль — чтобы читался текст,
   снизу растворяется в фон следующей секции */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(20, 10, 45, 0.55) 0%, rgba(40, 18, 80, 0.35) 40%, rgba(20, 10, 40, 0.55) 75%, var(--bg) 100%),
    url("img/hero-panelki-3.webp") center 60% / cover no-repeat;
}

/* фиолетовые облака: три размытых слоя с рваными краями (SVG-фильтры в index.html) —
   тёмная толща сверху, сиреневое тело, снизу розово-персиковый отсвет заката */
.cloud-filters { position: absolute; width: 0; height: 0; }
.cloud {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.cloud__body {
  position: relative;
  width: 100%;
  aspect-ratio: 2.6;
  opacity: var(--alpha, 0.85);
  will-change: transform;
  animation: cloud-drift var(--drift, 26s) ease-in-out infinite alternate;
}
.cloud__body > div {
  position: absolute;
  border-radius: 50%;
}
.cloud__back {
  inset: 0 4% 18% 0;
  background: rgba(62, 38, 110, 0.75);
  filter: url(#cloud-back);
}
.cloud__mid {
  inset: 16% 10% 12% 8%;
  background: rgba(150, 110, 200, 0.6);
  filter: url(#cloud-mid);
}
.cloud__front {
  inset: 52% 18% 4% 16%;
  background: rgba(255, 160, 175, 0.5);
  filter: url(#cloud-front);
}
@keyframes cloud-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--dx, 40px)); }
}
.cloud--1 { width: 760px; top: 12%; left: -16%; --dx: 50px; }
.cloud--2 { width: 700px; top: 10%; right: -14%; --dx: -45px; --drift: 30s; }
.cloud--2 .cloud__body { transform: scaleX(-1); animation-name: cloud-drift-flip; }
.cloud--3 { width: 480px; top: 6%; left: 18%; --alpha: 0.5; --dx: 35px; --drift: 34s; }
.cloud--4 { width: 520px; top: 4%; right: 14%; --alpha: 0.6; --dx: -30px; --drift: 22s; }
@keyframes cloud-drift-flip {
  from { transform: scaleX(-1) translateX(0); }
  to   { transform: scaleX(-1) translateX(calc(var(--dx, 40px) * -1)); }
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__kicker {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* компенсация letter-spacing для центровки */
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.hero__content { position: relative; z-index: 1; will-change: transform, opacity; transform-origin: 50% 30%; }
.hero__logo {
  /* по ширине и по высоте экрана, чтобы кнопки помещались на первом экране;
     1.88 — пропорции логотипа, 550px — всё остальное в шапке */
  width: clamp(240px, min(92vw, (100vh - 550px) * 1.88), 820px);
  width: clamp(240px, min(92vw, (100svh - 550px) * 1.88), 820px);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(255, 61, 31, 0.35));
  animation: glitch 6s infinite;
}
/* логотип из двух картинок; на исходнике «ZHARACREW» стоит на 26px из 1400 правее центра —
   сдвигаем обратно, чтобы обе надписи были точно по центру */
.hero__logo img { display: block; width: 100%; height: auto; }
.hero__logo-crew { transform: translateX(-1.86%); }
.hero__title-sub {
  display: block;
  margin-top: 4px;
  font-size: clamp(28px, min(7vw, 8vh), 84px);
  letter-spacing: 0.4em;
  padding-left: 0.4em; /* компенсация letter-spacing для центровки */
  color: #6dff5c;
  text-shadow: 0 0 18px rgba(109, 255, 92, 0.45), 0 2px 10px rgba(20, 40, 10, 0.5);
}
@keyframes glitch {
  0%, 92%, 100% { transform: translate(0); }
  93% { transform: translate(-3px, 1px); filter: drop-shadow(0 20px 40px rgba(255, 61, 31, 0.35)) hue-rotate(-25deg); }
  95% { transform: translate(3px, -1px); filter: drop-shadow(0 20px 40px rgba(255, 61, 31, 0.35)) hue-rotate(25deg); }
  97% { transform: translate(-1px, 0); }
}
.hero__lead {
  max-width: 520px;
  text-shadow: 0 1px 14px rgba(40, 10, 60, 0.6);
  margin: 20px auto 22px;
  font-size: 19px;
  color: #e6def5;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* на светлом закате прозрачной кнопке нужна подложка */
.hero .btn--ghost {
  background: rgba(30, 12, 60, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
/* отступ у каждого элемента, а не gap — так две половины ленты равны и стык не дёргается */
.marquee__track span { padding-right: 40px; }
.marquee__track span:nth-child(even) { color: var(--accent-3); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Секции ---------- */
.section { padding: 120px 0; }
.section__title {
  margin: 0 0 48px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section__head .section__title { margin: 0; }
.section__note { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- О туре ---------- */
.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about::before {
  /* затемнение поверх видео, чтобы текст читался */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 10, 16, 0.55) 25%, rgba(11, 10, 16, 0.55) 75%, var(--bg-2) 100%),
    rgba(11, 10, 16, 0.35);
}
.about__text p { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.about__grid .section__title { margin: 0; }
.about__text p { margin: 0 0 20px; color: #cfc9e2; }
.about__text .about__lead {
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  font-weight: 600;
}
.about__grid--org {
  grid-template-columns: 1.2fr 1fr;
  margin-top: 72px;
}
.about__grid--org .about__text p:last-child { margin-bottom: 0; }
/* «организаторов» — длинное слово, поэтому заголовок мельче, чем «Про 2017» */
.about__grid--org .section__title {
  text-align: right;
  font-size: clamp(28px, 3.9vw, 54px);
}

/* ---------- Даты ---------- */
.dates { background: var(--bg-2); }
.dates__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.date-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}
.date-row:hover {
  background: linear-gradient(90deg, rgba(154, 63, 208, 0.12), transparent 70%);
  padding-left: 20px;
}
.date-row__date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
}
.date-row__date small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.date-row__city {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.date-row__venue { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.date-row__right { display: flex; align-items: center; gap: 16px; }
.tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tag--few { background: rgba(154, 63, 208, 0.2); color: var(--accent-3); }
.tag--soldout { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.date-row--soldout .date-row__city,
.date-row--soldout .date-row__date { opacity: 0.4; text-decoration: line-through; }

/* ---------- Медиа ---------- */
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  background:
    linear-gradient(135deg, rgba(154, 63, 208, 0.15), rgba(226, 102, 196, 0.15)),
    var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.placeholder span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense; /* заполняет пустые клетки на узких экранах */
  gap: 16px;
}
.gallery__item { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* чтобы при обрезке оставалось лицо */
  transition: transform 0.5s;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__more {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px;
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff;
  cursor: pointer;
  transition: background-position 0.5s;
}
.gallery__more:hover { background-position: 100% 100%; }
.gallery__more-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}
.gallery__more-link { font-weight: 700; }

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 88px;
  background: rgba(5, 5, 8, 0.94);
  cursor: zoom-out;
  touch-action: pan-y;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  cursor: default;
  transition: opacity 0.2s;
  user-select: none;
}
.lightbox__btn,
.lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 400 34px/1 var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__btn { top: 50%; width: 56px; height: 56px; transform: translateY(-50%); }
.lightbox__btn--prev { left: 20px; }
.lightbox__btn--next { right: 20px; }
.lightbox__btn:hover,
.lightbox__close:hover { background: var(--accent); }
.lightbox__close { top: 18px; right: 20px; width: 46px; height: 46px; font-size: 30px; }
.lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Обратный отсчёт в шапке */
.countdown { margin: 0 auto 28px; }
.countdown[hidden] { display: none; }
.countdown__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #efe6ff;
  text-shadow: 0 1px 10px rgba(40, 10, 60, 0.6);
}
.countdown__timer { display: flex; justify-content: center; gap: 10px; }
.countdown__cell {
  min-width: 76px;
  padding: 8px 10px 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(30, 12, 60, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.countdown__cell span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown__cell small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6def5;
}

/* ---------- Декор: предметы 2017-го ---------- */
/* обёртка двигается параллаксом (script.js), картинка внутри — парит */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.deco img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
  animation: float 7s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(0) rotate(var(--r, 0deg)); }
  to   { transform: translateY(-18px) rotate(calc(var(--r, 0deg) + 4deg)); }
}
.deco--fiji         { width: 130px; top: 16%; right: 9%; --r: 12deg; }
.deco--arizona      { width: 150px; bottom: 12%; left: 7%; --r: -10deg; }
.deco--arizona img  { animation-duration: 8s; animation-delay: -3s; }
.deco--spinner-red  { width: 120px; bottom: 16%; right: 12%; }
.deco--spinner-blue { width: 90px; top: 20%; left: 12%; }
/* спиннеры крутит script.js от прокрутки;
   transform-origin — центр кнопки спиннера, а не середина картинки */
.deco--spinner-red img,
.deco--spinner-blue img { animation: none; }
.deco--spinner-red img  { transform-origin: 37.9% 41.8%; }
.deco--spinner-blue img { transform-origin: 40.7% 53.6%; }

.dates { position: relative; overflow: hidden; isolation: isolate; }
.dates .container { position: relative; z-index: 1; }
.deco--skate { width: 200px; top: 24px; right: max(24px, calc(50% - 560px)); --r: 8deg; }
.deco--skate img { opacity: 0.9; }


/* ---------- CTA ---------- */
.cta {
  padding: 140px 0;
  text-align: center;
  background:
    radial-gradient(45% 55% at 50% 55%, rgba(154, 63, 208, 0.25), transparent 70%),
    var(--bg);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* ---------- Футер ---------- */
/* футер — закатное небо как в шапке: контакты на небе, панельки внизу */
.footer {
  padding: 24px 0 205px;
  font-size: 15px;
  background:
    url("img/panelki.svg") center bottom / auto 200px repeat-x,
    radial-gradient(40% 30% at 50% 100%, rgba(255, 190, 110, 0.75), transparent 70%),
    radial-gradient(70% 45% at 50% 95%, rgba(255, 100, 150, 0.55), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #2a1d5e 22%, #4e2a8f 40%, #8a3fae 56%, #d2579e 72%, #ff8f6b 90%);
}
.footer__inner { text-shadow: 0 1px 10px rgba(30, 10, 60, 0.5); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
/* лого чёрное — инвертируем в белое под тёмный фон */
.footer__logo img { width: 110px; height: auto; filter: invert(1); opacity: 0.9; transition: opacity 0.2s; }
.footer__logo:hover img { opacity: 1; }
.footer__socials { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__socials a, .footer__contacts { color: rgba(244, 241, 255, 0.8); }
.footer__socials a:hover, .footer__contacts a:hover { color: var(--text); }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__grid--org { margin-top: 56px; }
  .about__grid--org .section__title { order: -1; text-align: left; font-size: clamp(26px, 7.6vw, 40px); }
  /* высота ряда от ширины экрана, чтобы вертикальные фото не сплющивались */
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc(37vw - 30px); }

  .deco--fiji         { width: 100px; top: 12%; right: 5%; }
  .deco--arizona      { width: 110px; bottom: 8%; left: 4%; }
  .deco--spinner-red  { width: 90px; right: 6%; bottom: 10%; }
  .deco--spinner-blue { width: 70px; top: 14%; left: 6%; }
  .deco--skate        { width: 170px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { padding: 14px 16px; }
  .nav.is-scrolled { padding: 10px 16px; }
  .nav__logo img { height: 42px; }
  .nav { display: flex; justify-content: space-between; }
  .nav__links { display: none; }
  .section { padding: 80px 0; }
  .section__title { margin-bottom: 32px; }
  .hero { padding: 100px 16px 80px; }
  .hero__lead { font-size: 17px; }
  .countdown__label { font-size: 11px; letter-spacing: 0.12em; }
  .countdown__timer { gap: 6px; }
  .countdown__cell { min-width: 0; flex: 1; max-width: 76px; padding: 7px 4px 6px; }
  .countdown__cell span { font-size: 21px; }
  .countdown__cell small { font-size: 9px; letter-spacing: 0.02em; }
  .lightbox { padding: 64px 12px; }
  .lightbox__btn { top: auto; bottom: 14px; width: 46px; height: 46px; transform: none; }
  .lightbox__btn--prev { left: 16px; }
  .lightbox__btn--next { right: 16px; }
  .lightbox__close { top: 12px; right: 12px; }

  .deco--fiji         { width: 64px; top: 11%; right: 4%; }
  .deco--arizona      { width: 70px; bottom: 5%; left: 3%; }
  .deco--spinner-red  { width: 60px; bottom: 6%; right: 5%; }
  .deco--spinner-blue { width: 46px; top: 13%; left: 5%; }
  .deco--skate        { width: 120px; top: 50px; right: 12px; }
  .cloud--1 { width: 420px; top: 12%; left: -34%; }
  .cloud--2 { width: 380px; top: 14%; right: -32%; }
  .cloud--3 { width: 280px; top: 4%; left: -10%; }
  .cloud--4 { width: 300px; top: 8%; right: -22%; }

  .date-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date right"
      "city city";
    gap: 10px 16px;
    padding: 22px 4px;
  }
  .date-row:hover { padding-left: 4px; }
  .date-row__date { grid-area: date; font-size: 18px; }
  .date-row__date small { display: inline; margin: 0 0 0 8px; }
  .date-row__info { grid-area: city; }
  .date-row__right { grid-area: right; gap: 10px; }
  .date-row .btn { padding: 10px 18px; font-size: 11px; }
  .date-row .tag { display: none; }

  .gallery { gap: 10px; }

  .cta { padding: 100px 0; }
  .footer { padding: 24px 0 145px; background-size: auto 140px, auto, auto, auto; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__contacts { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* бегущую строку и предметы-декор оставляем всегда — они медленные и спокойные */
  .marquee__track { animation: marquee 30s linear infinite !important; }
  .deco img { animation: float 7s ease-in-out infinite alternate !important; }
  .deco--spinner-red img,
  .deco--spinner-blue img { animation: none !important; }
}
